Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/trivy-close-legacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close legacy trivy alerts
on: workflow_dispatch
permissions:
security-events: write
contents: read
jobs:
reset:
runs-on: ubuntu-latest
steps:
- run: |
cat > clean.sarif <<'EOF'
{
"version": "2.1.0",
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
"runs": [{ "tool": { "driver": { "name": "Trivy" } }, "results": [] }]
}
EOF
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: clean.sarif
category: .github/workflows/trivy-scan.yml:trivy
Comment thread
lukeheath marked this conversation as resolved.
Comment thread
lukeheath marked this conversation as resolved.
Loading