This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
Added document category #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trivy Scan | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
jobs: | |
trivy-scan: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run Trivy scaner | |
uses: aquasecurity/trivy-action@master | |
with: | |
scan-type: 'fs' | |
exit-code: '1' | |
ignore-unfixed: true | |
severity: 'CRITICAL,HIGH,MEDIUM,LOW' | |
skip-dirs: 'deployment/certs' |