Skip to content

Commit

Permalink
Merge pull request #107 from stacklok/minder_add_trivy_repository_sca…
Browse files Browse the repository at this point in the history
…n_configuration

Add Trivy repository scan configuration
  • Loading branch information
JAORMX authored May 8, 2024
2 parents c549f50 + 7d7c3b6 commit 8a1d454
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 8a1d454

Please sign in to comment.