Skip to content

Commit

Permalink
Add skip-dirs configuration for trivy
Browse files Browse the repository at this point in the history
This way it will not check for our test data.

Signed-off-by: Juan Antonio Osorio <[email protected]>
  • Loading branch information
JAORMX committed Jan 13, 2025
1 parent c7c71dc commit 61c5d5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
exit-code: 1
ignore-unfixed: true
severity: 'CRITICAL'
skip-dirs: "./rule-types,./profiles,./data-sources"
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_USERNAME: ${{ github.actor }}
Expand Down

0 comments on commit 61c5d5e

Please sign in to comment.