Octopus Tentacle Image #18
Workflow file for this run
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
#Use this action if we want these alerts to show up in the Github Security Alerts https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#inputs | |
name: trivy | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
trivy: | |
name: trivy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run Trivy vulnerability scanner | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: 'fs' | |
scan-ref: 'ops/' | |
scanners: 'vuln,secret,config' | |
ignore-unfixed: false | |
exit-code: '1' | |
format: 'table' | |
severity: 'CRITICAL,HIGH' |