Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions src/sarif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ const DOMAINS: [&str; 18] = [
"observability",
"source_coverage",
];
// code-categories-v1 and the four deterministic CODE diff rule categories.
const CODE_DOMAINS: [&str; 10] = [
// code-categories-v2, the three deterministic CODE diff rule categories, and
// committed_secret, which the reviewer no longer produces but recorded
// findings keep.
const CODE_DOMAINS: [&str; 11] = [
"logic",
"edge_case",
"error_handling",
"state_transition",
"concurrency",
"resource_lifecycle",
"credential_exposure",
"test_marker",
"removed_assertion",
"debug_residue",
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/risk-domains.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"state_transition",
"concurrency",
"resource_lifecycle",
"credential_exposure",
"test_marker",
"removed_assertion",
"debug_residue",
Expand Down
Loading