Skip to content

Commit

Permalink
Add Trivy IaC security scan
Browse files Browse the repository at this point in the history
Enhance build security by integrating Trivy IaC static code analysis
tool.
  • Loading branch information
sbreker committed May 6, 2024
1 parent 43d3b68 commit f54cab5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/checkov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,17 @@ jobs:
with:
framework: dockerfile
quiet: true
trivy:
name: Run Trivy for IaC Security Analysis
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: "fs"
ignore-unfixed: true
env:
TRIVY_MISCONFIG_SCANNERS: dockerfile

0 comments on commit f54cab5

Please sign in to comment.