Skip to content

Commit

Permalink
Trivy gh actions (#17145)
Browse files Browse the repository at this point in the history
* Adding basic implementation to be refined

* trivy action:

* Updates

---------

Co-authored-by: matts <22215332+devopsmatt@users.noreply.github.com>
  • Loading branch information
bethbeza and devopsmatt authored Jan 28, 2025
1 parent 126c308 commit 5c62cbb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/actions/trivy/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: image
image-ref: ${{ github.repository }}/${{ steps.parse_tag.outputs.image }}:test
format: table
exit-code: 1
ignore-unfixed: true
vuln-type: os,library
severity: LOW,MEDIUM,HIGH,CRITICAL
#MOVED LOCATION

0 comments on commit 5c62cbb

Please sign in to comment.