Skip to content

Commit

Permalink
add trivyignore config
Browse files Browse the repository at this point in the history
  • Loading branch information
pgvishnuram committed Jan 25, 2023
1 parent d473961 commit c798a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ commands:
- run:
name: Scan the local image with trivy
command: |
trivy --cache-dir /tmp/workspace/trivy-cache image --ignore-unfixed -s HIGH,CRITICAL --exit-code 1 --no-progress << parameters.image_name >>
trivy --cache-dir /tmp/workspace/trivy-cache image --ignore-unfixed -s HIGH,CRITICAL --ignorefile .trivyignore --exit-code 1 --no-progress << parameters.image_name >>
- save_cache:
key: trivy-cache
paths:
Expand Down
2 changes: 2 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

CVE-2022-40897

0 comments on commit c798a79

Please sign in to comment.