PromucFlow_constructor/scripts
Sagar Khalasi 8da8e454d5
CI: Update Trivy DB (#38397)
## Description
Update trivy db download failure. 


Fixes #
https://app.zenhub.com/workspaces/stability-pod-6690c4814e31602e25cab7fd/issues/gh/appsmithorg/appsmith/38398


Tested: https://github.com/appsmithorg/appsmith/actions/runs/12543112349

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced script to automatically download Trivy vulnerability database
if not present
- Added capability to create and manage temporary database download
directory

- **Chores**
	- Cleaned up script by removing unnecessary line

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-30 12:54:27 +05:30
..
build_dp_from_branch.sh ci: Use default CS URL for DPs (#25938) 2023-08-16 17:29:10 +05:30
cleanup_dp.sh fix cleanup of dps (#27159) 2023-09-11 16:37:27 +05:30
deploy_preview.sh fix failing dps (#34625) 2024-07-02 12:36:40 +05:30
generate_info_json.sh chore: Add version input for generate info json script (#38025) 2024-12-06 17:28:30 +05:30
health_check.sh ci: docDB int test wait for appsmith health before cypress (#26655) 2023-08-25 15:27:48 +05:30
local_testing.sh fix: Add password based auth for postgres (#37068) 2024-12-06 10:49:27 +05:30
prepare_server_artifacts.sh feat: Make images adaptable to support both Postgres and MongoDB uris (#36424) 2024-09-19 21:45:46 +05:30
regen-baseline.sh chore: Add mover script for Mongo to postgres migration (#36458) 2024-09-25 15:22:02 +05:30
scout_vulnerabilities_data.sh chore: Adding step for install (#37276) 2024-11-07 15:39:33 +05:30
trivy_vulnerabilities_data.sh CI: Update Trivy DB (#38397) 2024-12-30 12:54:27 +05:30