-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DSEC-718][trivy] Add Trivy action (#313)
* [trivy] Add Trivy action * [trivy] Change context * Update requirements.txt * Add trivy * Trivy action --------- Co-authored-by: dsp-fieldeng-bot <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
6 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,14 @@ | ||
name: dsp-appsec-trivy | ||
on: [pull_request] | ||
|
||
jobs: | ||
appsec-trivy: | ||
# Parse Dockerfile and build, scan image if a "blessed" base image is not used | ||
name: DSP AppSec Trivy check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: broadinstitute/dsp-appsec-trivy-action@v1 | ||
with: | ||
context: ./orchestration | ||
dockerfile: Dockerfile |
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