Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/security-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
path: scorecard-results.sarif
retention-days: 5
# Full Scorecard still publishes to scorecard.dev. These checks cannot
# reach 10 on a one-maintainer template (second human reviewer, CII badge
# signup, historical CI/SAST coverage, fuzzing). Strip them from the
# GitHub code-scanning upload so weekly runs do not reopen accepted risk.
# reach 10 on a one-maintainer org (no second reviewer, CII badge signup,
# historical CI/SAST coverage, fuzzing). Strip them from the GitHub
# code-scanning upload so weekly runs do not reopen accepted risk.
- name: Filter residual Scorecard rules from code scanning
run: |
jq '
.runs |= map(
.results |= map(
select(
.ruleId as $id
| ["CodeReviewID", "CIIBestPracticesID", "SASTID", "CITestsID", "FuzzingID"]
| ["CodeReviewID", "CIIBestPracticesID", "SASTID", "CITestsID", "FuzzingID", "BranchProtectionID"]
| index($id)
| not
)
Expand Down