forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a GitHub Workflow for the Trivy security scanner (gravitational#2…
…3084) * Add a GitHub Workflow for the Trivy security scanner * Add initial ignore statements for Trivy This accepts all the current latent findings in the repository, while still enabling Trivy to flag new findings.
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Trivy | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- branch/* | ||
pull_request: | ||
merge_group: | ||
|
||
jobs: | ||
trivy: | ||
uses: gravitational/shared-workflows/.github/workflows/trivy.yaml@main | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Dockerfiles and Kubernetes YAMLs don't support inline ignores with Trivy, so | ||
# we have to set a global ignore for these for now. | ||
AVD-DS-0002 | ||
AVD-KSV-0109 | ||
AVD-KSV-0110 | ||
DS001 | ||
DS013 | ||
DS026 | ||
KSV001 | ||
KSV003 | ||
KSV009 | ||
KSV011 | ||
KSV012 | ||
KSV013 | ||
KSV014 | ||
KSV015 | ||
KSV016 | ||
KSV018 | ||
KSV020 | ||
KSV021 | ||
KSV030 | ||
KSV047 | ||
KSV106 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters