File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,20 @@ blocks:
3232 dependencies : []
3333 run :
3434 # don't run the tests on non-functional changes...
35- when : " change_in('/', {exclude: ['/.deployed-versions/', '.github/']})"
35+ when : " change_in('/', {exclude: ['/.deployed-versions/', '.github/'], default_branch: 'master' })"
3636 task :
3737 jobs :
3838 - name : Test
3939 commands :
4040 - . sem-pint
4141 - mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
42- - cve-scan
42+ - export TRIVY_DISABLE_VEX_NOTICE=true
43+ - trivy version
44+ - echo "Check go/connector-dev-vuln-remediation for fixing or suppressing vulnerabilities found by trivy"
45+ - trivy --skip-files "*.zip" rootfs --scanners vuln --db-repository public.ecr.aws/aquasecurity/trivy-db --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db --ignore-unfixed --ignorefile
46+ .trivyignore --exit-code 1 --severity CRITICAL target/components/packages
47+ - trivy --skip-files "*.zip" rootfs --scanners vuln --db-repository public.ecr.aws/aquasecurity/trivy-db --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db --ignore-unfixed --ignorefile
48+ .trivyignore --severity HIGH,LOW,MEDIUM target/components/packages
4349 - . cache-maven store
4450 epilogue :
4551 always :
@@ -73,7 +79,7 @@ after_pipeline:
7379 task :
7480 agent :
7581 machine :
76- type : s1-prod-ubuntu24-04-amd64 -0
82+ type : s1-prod-ubuntu24-04-arm64 -0
7783 jobs :
7884 - name : Metrics
7985 commands :
You can’t perform that action at this time.
0 commit comments