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
1 changed files with 4 additions and 1 deletions

View File

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