Update trivy-scan.yml

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

View File

@ -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