Skip to content

Commit

Permalink
test trivy severity through env
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Nara committed Nov 13, 2024
1 parent 6204722 commit e832136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/vulnerability_scan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ runs:
format: 'table'
exit-code: '1'
ignore-unfixed: true
severity: ${{ inputs.failure_severity }}
severity: HIGH,CRITICAL
hide-progress: true
env:
TRIVY_SKIP_DB_UPDATE: true
TRIVY_SKIP_JAVA_DB_UPDATE: true
TRIVY_SEVERITY: ${{ inputs.failure_severity }}
TRIVY_SEVERITY: HIGH,CRITICAL

0 comments on commit e832136

Please sign in to comment.