mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-05 03:12:14 +00:00
chore(security): migrate suppressions to .trivyignore.yaml (PROWLER-2327) (#12314)
This commit is contained in:
@@ -64,6 +64,8 @@ runs:
|
||||
scanners: 'vuln'
|
||||
timeout: '5m'
|
||||
version: 'v0.71.2'
|
||||
# Explicit: Trivy only auto-loads the classic .trivyignore, never the YAML one.
|
||||
trivyignores: '.trivyignore.yaml'
|
||||
|
||||
- name: Run Trivy vulnerability scan (SARIF)
|
||||
if: inputs.upload-sarif == 'true' && github.event_name == 'push'
|
||||
@@ -77,6 +79,8 @@ runs:
|
||||
scanners: 'vuln'
|
||||
timeout: '5m'
|
||||
version: 'v0.71.2'
|
||||
# Explicit: Trivy only auto-loads the classic .trivyignore, never the YAML one.
|
||||
trivyignores: '.trivyignore.yaml'
|
||||
|
||||
- name: Upload Trivy results to GitHub Security tab
|
||||
if: inputs.upload-sarif == 'true' && github.event_name == 'push'
|
||||
|
||||
Reference in New Issue
Block a user