From 376c59347723e202cf60c9406122a9ea8e5404d8 Mon Sep 17 00:00:00 2001 From: ConfluentSemaphore <40306929+ConfluentSemaphore@users.noreply.github.com> Date: Sun, 10 Nov 2024 02:37:29 +0000 Subject: [PATCH] chore: update repo semaphore config --- .semaphore/semaphore.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index f8693723e..358d2e781 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -39,7 +39,13 @@ blocks: commands: - . sem-pint - mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate - - cve-scan + - export TRIVY_DISABLE_VEX_NOTICE=true + - trivy version + - echo "Check go/connector-dev-vuln-remediation for fixing or suppressing vulnerabilities found by trivy" + - 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 + .trivyignore --exit-code 1 --severity CRITICAL target/components/packages + - 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 + .trivyignore --severity HIGH,LOW,MEDIUM target/components/packages - . cache-maven store epilogue: always: