Skip to content

Commit

Permalink
add trivy checks
Browse files Browse the repository at this point in the history
acloudsecninja committed Jun 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2e862b2 commit 33ad92f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trivy-ci-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: trivy-ci-checks
on:
push:
branches:
- main
pull_request:
jobs:
trivy-ci-checks:
name: trivy-ci-checks
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: trivy-ci-checks.yml

0 comments on commit 33ad92f

Please sign in to comment.