PromucFlow_constructor/scripts
Sagar Khalasi 6660bd9917
chore: New schema change for vulnerabilities test (#37204)
## Description
optimise the view for large number of records 


Fixes #`37036`  

## Automation

/ok-to-test tags="@tag.IDE"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11677745846>
> Commit: 083266c8bdd82c3ff2aa0d58c1acb57d974cd46d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11677745846&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.IDE`
> Spec:
> <hr>Tue, 05 Nov 2024 05:12:55 UTC
<!-- 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 error handling and functionality in vulnerability data
scripts.
- Introduced a new function for inserting vulnerabilities into the
database, improving data management.
  
- **Bug Fixes**
- Improved reliability of database insertion and handling of existing
records.
- Streamlined installation processes for Docker Scout and Trivy with
increased retry attempts.

- **Refactor**
- Simplified scripts by removing old vulnerability comparisons and
unnecessary comments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-05 12:11:51 +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: increment minor number for snapshot versions (#30487) 2024-01-22 10:02:57 +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 feat: Make images adaptable to support both Postgres and MongoDB uris (#36424) 2024-09-19 21:45:46 +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: New schema change for vulnerabilities test (#37204) 2024-11-05 12:11:51 +05:30
trivy_vulnerabilities_data.sh chore: New schema change for vulnerabilities test (#37204) 2024-11-05 12:11:51 +05:30