You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c5749d9
Browse filesBrowse the repository at this point in the historyBrowse files
Duplicate code, dismissed/FP markers, and issue overrides in scans (0.5.8)
The VS Code panel and agents read scan findings through these fetchers,
which dropped the backend's dismissed / false-positive markers for IaC
and dead code, had no duplicate-code type, and hid SCA dismissals.
- Add duplicate_code (fetchDuplicateCodeResults, scans results --types).
- Keep is_dismissed / reason / comment / is_false_positive when IaC and
dead-code findings are flattened; normalized findings expose them as
metadata.dismissed / metadata.false_positive.
- Add scans overrides, codeant_scans_overrides and the
codeant-cli/scans/issue-overrides export for the new
/extension/scans2/change-issue-details/get endpoint.
- scans dismissed accepts every analysis type (sast/anti_patterns map to
the stored names) and keeps SCA / duplicate-code keys.
- SCA severity comes from ratings[0] instead of defaulting to medium.
- Extra dead-code paths drop the trailing result file name.
- Remove the debug dump of full fetch-results responses to stderr.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: findings.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,9 @@ codeant findings repo \
49
49
--output codeant.sarif
50
50
```
51
51
52
-
Supported repo types are `sast`, `sca`, `secrets`, `iac`, `dead_code`, `sbom`, `anti_patterns`, `docstring`, and `complex_functions`. Use `--types all` for all of them. Formats are `json`, `sarif`, `csv`, `md`, and `table`; JSON is the default.
52
+
Supported repo types are `sast`, `sca`, `secrets`, `iac`, `dead_code`, `duplicate_code`, `sbom`, `anti_patterns`, `docstring`, and `complex_functions`. Use `--types all` for all of them. Formats are `json`, `sarif`, `csv`, `md`, and `table`; JSON is the default.
53
53
54
-
Use `--filter-dismissed` to exclude dismissed findings and `--no-false-positives` to exclude false positives. `--path`, `--check`, `--limit`, and `--offset` support agent-friendly filtering and pagination.
54
+
Use `--filter-dismissed` to exclude dismissed findings and `--no-false-positives` to exclude false positives, including ones users marked in the app. Without those flags, such findings are returned with `metadata.dismissed` or `metadata.false_positive`. `--path`, `--check`, `--limit`, and `--offset` support agent-friendly filtering and pagination.
List the per-finding overrides users set in the CodeAnt app: Mark/Unmark false positive (`security`, `iac`), secrets confidence (`secrets`), and Change Severity (`security`, `sca`). `scans results` already applies them.
0 commit comments