Skip to content

Commit e832136

Browse files
committed
test trivy severity through env
1 parent 6204722 commit e832136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/vulnerability_scan/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ runs:
120120
format: 'table'
121121
exit-code: '1'
122122
ignore-unfixed: true
123-
severity: ${{ inputs.failure_severity }}
123+
severity: HIGH,CRITICAL
124124
hide-progress: true
125125
env:
126126
TRIVY_SKIP_DB_UPDATE: true
127127
TRIVY_SKIP_JAVA_DB_UPDATE: true
128-
TRIVY_SEVERITY: ${{ inputs.failure_severity }}
128+
TRIVY_SEVERITY: HIGH,CRITICAL

0 commit comments

Comments
 (0)