Skip to content

Commit 5d2e356

Browse files
add trivy-ignore
1 parent 77a43b7 commit 5d2e356

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

ci/trivy-ignore.rego

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package trivy
2+
3+
default ignore = false
4+
5+
ignore_cve_ids := {
6+
# opt/cf-cli-7.5.0/cf7 (gobinary)
7+
"CVE-2017-11468",
8+
# opt/cf-cli-8.4.0/cf8 (gobinary)
9+
"CVE-2021-43565"
10+
}
11+
12+
ignore {
13+
input.VulnerabilityID == ignore_cve_ids[_]
14+
}

0 commit comments

Comments
 (0)