@@ -45,17 +45,14 @@ jobs:
4545 INVENTORY_FILE : ${{ github.event.inputs.inventory_file || '' }}
4646 PROCESS_FINDINGS : ${{ github.event.inputs.process_findings || 'true' }}
4747 FLEET_SUPERVISED_REPOS_FILE : ${{ github.event.inputs.inventory_file || '' }}
48- # GITHUB_TOKEN is required for Hypatia's DependabotAlerts
48+ # FLEET_SCAN_PAT is required for Hypatia's DependabotAlerts
4949 # rule (DA001-DA004) to query per-repo Dependabot alerts via
50- # the GitHub REST API. The built-in secrets.GITHUB_TOKEN
51- # only has scope for the gitbot-fleet repo itself — for
52- # cross-repo scanning across the estate, promote this to a
53- # PAT secret (FLEET_SCAN_PAT) with `security_events` scope
54- # on every target repo. Without a valid token, the rule
55- # silently returns no findings and Dependabot alerts are
56- # missed. See
50+ # the GitHub REST API. This PAT must have `security_events: read`
51+ # scope on ALL target repos. Without it, cross-repo alerts will
52+ # be MISSING. The built-in GITHUB_TOKEN is insufficient for
53+ # estate-wide scanning. See:
5754 # 007-lang/audits/audit-dependabot-automation-gap-2026-04-17.md.
58- GITHUB_TOKEN : ${{ secrets.FLEET_SCAN_PAT || secrets.GITHUB_TOKEN }}
55+ GITHUB_TOKEN : ${{ secrets.FLEET_SCAN_PAT }}
5956 # HYPATIA_SEVERITY=low surfaces low-severity findings from
6057 # every rule module. The Hypatia CLI's default threshold is
6158 # "medium"; without this override, low-severity findings
0 commit comments