Skip to content

Commit

Permalink
Trivy ignore file is working
Browse files Browse the repository at this point in the history
To exclude CVEs from trivy scan, add a .trivyignore file to the
workspace.
The workspace is mounted to the docker container and therefore the
.trivyignore file is integrated into the scan process, if it exists
  • Loading branch information
robertauer committed Nov 25, 2024
1 parent c933342 commit 7777d4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/com/cloudogu/ces/cesbuildlib/Trivy.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class Trivy implements Serializable {
default:
script.error("Error during trivy scan; exit code: " + exitCode)
}
// TODO: Include .trivyignore file, if existent. Do not fail if .trivyignore file does not exist.
}

/**
Expand Down

0 comments on commit 7777d4d

Please sign in to comment.