fix(sast): run only our own semgrep rules, no registry rules or metrics (#441)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 4m35s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit was merged in pull request #441.
This commit is contained in:
sharangandClaude Opus 5.5 committed 2026-10-05 13:03:43 +00:00
1 parent 260d07c783
commit a66b7a5991
61 files changed
+417 -319

No files matched your search

+5 -4
View File
@@ -292,8 +292,8 @@ mod tests {
let s = ControlMap::cra().unwrap().summary();
assert!(s.covered > 0);
assert!(s.not_code_checkable > 0);
// needs_tooling is now empty: every code-checkable control is either
// tool-covered or covered by the grounded surface pass.
// needs_tooling is empty: every code-checkable control is either
// covered by our own rules and tools or by the grounded surface pass.
assert_eq!(s.needs_tooling, 0);
}
@@ -329,8 +329,9 @@ mod tests {
#[test]
fn coverage_after_grounded_promotion() {
let s = ControlMap::cra().unwrap().summary();
// 9 off-the-shelf + 4 custom-semgrep + 8 grounded surface controls (promoted
// after the grounded path was validated live).
// Our own semgrep rules, gitleaks, cppcheck, syft/OSV and 8 grounded
// surface controls (promoted after the grounded path was validated
// live).
assert_eq!(s.covered, 21);
// Nothing left as needs_tooling — every code-checkable control is covered.
assert_eq!(s.needs_tooling, 0);