Skip to content

Commit

Permalink
Merge pull request #3 from stacklok/minder_add_trivy_repository_scan_…
Browse files Browse the repository at this point in the history
…configuration

Add Trivy repository scan configuration
  • Loading branch information
JAORMX authored May 8, 2024
2 parents 8cc0d9c + c9f7548 commit 764c6d4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Trivy Scan

on:
pull_request:

jobs:
trivy-code-security-scan:
runs-on: ubuntu-latest
name: Trivy
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Security Scan
uses: aquasecurity/trivy-action@d43c1f16c00cfd3978dde6c07f4bbcf9eb6993ca # 0.16.1
with:
scan-type: 'fs'
scanners: vuln,secret
exit-code: 1
ignore-unfixed: true

0 comments on commit 764c6d4

Please sign in to comment.