Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
# findings the change introduces. The existing backlog never blocks anyone.
name: Cerberus

# Least privilege at the top level: Checkov (CKV2_GHA_1) flags a workflow that
# leaves it unset, and the scan job only ever reads.
permissions:
contents: read
packages: read

on:
workflow_call:
inputs:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ include:
**GitHub** — call the reusable workflow:

```yaml
permissions:
contents: read
packages: read

jobs:
security:
uses: startmatter/cerberus/.github/workflows/scan.yml@main
Expand Down
Loading