Update trivy-scan.yml
This commit is contained in:
parent
a7bfc16513
commit
d4184ef8e9
|
@ -29,9 +29,9 @@ jobs:
|
||||||
format: 'table' # Table output mode as next step will report in security tab
|
format: 'table' # Table output mode as next step will report in security tab
|
||||||
severity: 'CRITICAL' # Error only on critical vulnerabilities
|
severity: 'CRITICAL' # Error only on critical vulnerabilities
|
||||||
exit-code: '1' # Fail the job if a critical vulnerability with fix available is found
|
exit-code: '1' # Fail the job if a critical vulnerability with fix available is found
|
||||||
run: |
|
- run: |
|
||||||
echo "This table contains the vulnerabilities that failed the job."
|
echo "This table contains the vulnerabilities that failed the job."
|
||||||
echo "Vulnerabilities lower than critical are reported in the security tab."
|
echo "Vulnerabilities lower than critical are reported in the security tab."
|
||||||
|
|
||||||
# Run Trivy reporting all vulnerabilities to the security tab
|
# Run Trivy reporting all vulnerabilities to the security tab
|
||||||
- name: Run Trivy
|
- name: Run Trivy
|
||||||
|
|
Loading…
Reference in New Issue