Skip to content

Commit 6c84411

Browse files
Merge branch 'main' into findings-submissions
2 parents 50a6fe0 + fcc670a commit 6c84411

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/hypatia-dispatch-intake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- hypatia-general-findings
1212

1313
permissions:
14-
contents: write
14+
contents: read
1515

1616
jobs:
1717
intake:

.github/workflows/supervised-fleet-scan.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

tests/e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ for bot in rhodibot echidnabot panicbot cipherbot; do
203203
if [ -f "$CARGO" ]; then
204204
OUTPUT=$(cat "$CARGO")
205205
check "$bot Cargo.toml has package name" "name.*$bot\|name.*\"$bot\"" "$OUTPUT"
206-
check "$bot Cargo.toml has PMPL license" "PMPL\|pmpl" "$OUTPUT"
206+
check "$bot Cargo.toml has MPL-2.0 license" "MPL-2\.0\|MPL 2\.0\|mpl-2\.0" "$OUTPUT"
207207
else
208208
skip_test "$bot Cargo.toml" "file not found"
209209
fi

0 commit comments

Comments
 (0)