Upload scan results to github security tab

This commit is contained in:
Neil Hanlon 2022-03-15 08:48:59 -04:00
parent 81905fbe8a
commit c2281fce84
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -1,4 +1,4 @@
name: scan
name: Scan images using trivy
on:
workflow_dispatch:
schedule:
@ -6,6 +6,9 @@ on:
jobs:
scan:
permissions:
contents: read
security-events: write # allow github/codeql-action/upload-sarif
name: Scan for Security Vulnerabilities
runs-on: ubuntu-18.04
steps: