Merge pull request #1412 from arjundashrath/patch-4

Add token permissions for code-scanning/prisma.yml
This commit is contained in:
Nick Fyson
2022-02-27 14:23:29 +00:00
committed by GitHub
+6
View File
@@ -21,8 +21,14 @@ on:
schedule: schedule:
- cron: $cron-weekly - cron: $cron-weekly
permissions:
contents: read
jobs: jobs:
prisma_cloud_iac_scan: prisma_cloud_iac_scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Run Prisma Cloud IaC Scan to check name: Run Prisma Cloud IaC Scan to check
steps: steps: