Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .trivyignore.rego
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Ignore all findings for these npm packages. Not vulnerable.
# See: UID2-8233, UID2-8234, UID2-8235, UID2-8236, UID2-8237, UID2-8238
package trivy

import rego.v1

default ignore := false

ignored_packages := {"joi", "node-forge"}

ignore if {
input.PkgName in ignored_packages
startswith(input.PkgIdentifier.PURL, "pkg:npm/")
}
Loading