Skip to content

Commit

Permalink
P4ADEV-1377 update trivy action version
Browse files Browse the repository at this point in the history
  • Loading branch information
antocalo committed Nov 14, 2024
1 parent e5151d1 commit bb0e0b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: docker build . --file Dockerfile --tag localbuild/testimage:latest
- name: Run the Trivy scan action itself with GitHub Advanced Security code scanning integration enabled
id: scan
uses: aquasecurity/trivy-action@0.24.0 #v0.24.0
uses: aquasecurity/trivy-action@0.28.0 #v0.28.0
with:
trivy-config: 'config/trivy.yaml'
image-ref: "localbuild/testimage:latest"
Expand All @@ -62,7 +62,7 @@ jobs:
SendSlackNotification:
needs: BuildAndScan
uses: ./.github/workflows/send-notification.yml
if: always() && (needs.BuildAndScan.outputs.CVE_HIGH > 0 || needs.BuildAndScan.outputs.CVE_CRITICAL > 0)
if: always() && needs.BuildAndScan.result == 'failure'
with:
CVE_CRITICAL: ${{needs.BuildAndScan.outputs.CVE_CRITICAL}}
CVE_HIGH: ${{needs.BuildAndScan.outputs.CVE_HIGH}}
Expand Down

0 comments on commit bb0e0b2

Please sign in to comment.