ActionScope can upload findings to GitHub's Security tab via SARIF.
- uses: r12habh/ActionScope@v0
with:
upload-sarif: true
fail-on: highThis posts findings to the GitHub Security → Code Scanning Alerts tab.
| Rule ID | Finding | Severity |
|---|---|---|
| AS001 | AWS blast radius detected | Error/Warning |
| AS002 | Privilege escalation path | Error |
| AS003 | iam:PassRole detected | Error |
| AS004 | Dangerous GITHUB_TOKEN permission | Warning |
| AS005 | Static AWS credentials used | Warning |
| AS006 | Unpinned GitHub Action | Warning |
The workflow using ActionScope must have:
permissions:
security-events: write # required for SARIF upload
contents: read