You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(security): add top-level permissions to 5 reusable workflows (#790)
Adds `permissions: contents: read` (least-privilege default) to the
top of five workflow files that had no top-level permissions
declaration:
- .github/workflows/_build.yaml (Scorecard #513)
- .github/workflows/_docker.yaml (Scorecard #514)
- .github/workflows/_init.yaml (Scorecard #515)
- .github/workflows/_release.yaml (Scorecard #516)
- .github/workflows/sync-models.yml (Scorecard #605)
Existing job-level `permissions:` blocks within these files are
unaffected; the top-level acts as a default ceiling that individual
jobs can raise where they actually need write access (Docker push,
release tag push, etc.).
Stage 1 of 3 in cleaning up TokenPermissionsID findings:
Stage 1 (this PR): no top-level permissions -> 5 alerts
Stage 2 (separate): broad top-level writes -> 3 alerts
Stage 3 (separate): job-level writes for -> 7 alerts
legitimate release ops
SOC2 CC7.1 vulnerability management — mechanical batch resolution
following SECURITY.md disposition framework (Fix).
Fixes#789
Co-authored-by: Anand Ray <anand.ray@rocketride.ai>
0 commit comments