Update trivy-scan.yml

This commit is contained in:
silas 2022-01-08 10:23:36 +00:00 committed by GitHub
parent d4184ef8e9
commit 8314b0375a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

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