Repository navigation
Add configurable Severity Threshold for Dev Assist realtime scanners (AST-197154) - #297
Open
cx-aniket-shinde wants to merge 10 commits into
Open
cx-aniket-shinde wants to merge 10 commits into
cx-aniket-shinde wants to merge 10 commits into
Conversation
…(AST-197154) - New Severity Threshold preference (Critical/High/Medium/Low/Info, default High) below the container management tool, passed to the CLI --severity-threshold flag - Rescan open files and files that had findings when the threshold changes; OSS reuses the scan-all-manifests flow; cleared findings republish as empty - Ignored findings are filtered in the UI by threshold only, never deleted - Ignore-upkeep scans stay unfiltered (incl. ASCA) so ignore entries are kept - Use java wrapper dev build from wrapper main (bundles CLI from ast-cli main) - Unit tests for SeverityThreshold and WrapperProvider overloads Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cx-rakesh-kadu
requested changes
Dec 3, 2026
Use the VS Code description text for the Severity Threshold setting. The hint line below the drop-down is kept. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- ASCA: run the unfiltered ignore-upkeep scan only when an ignored entry is below the threshold - Rescan: skip files open in an editor; the workspace scan rescans them from the live buffer - Include the severity threshold in the scan-state hash so a threshold change invalidates the cache Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…T-195881) - Drop INFO from SeverityThreshold; Info-severity findings are never shown - Severity threshold hint gets a blue info glyph in a light, theme-aware box - Update SeverityThresholdTest Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… show new results Cancel running scans, snapshot files with findings, clear results/markers/ decorations, rescan and restore earlier findings when a rescan fails. Add unit tests for the snapshot and restore rules. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a configurable Severity Threshold for the Dev Assist realtime scanners (epic AST-195881, task AST-197154), mirroring the JetBrains implementation (ast-jetbrains-plugin#480).
--severity-thresholdfor OSS, Secrets, IaC, Containers and ASCA. Malicious / OK / Unknown are never filtered (the CLI keeps them).main(ast-cli-java-wrapper-dev.jar, bundling the CLI built from ast-climain) in place of2.4.33. Existing wrapper overloads are unchanged.Tests
SeverityThresholdTestandWrapperProviderTestoverload tests; 35 tests pass in Tycho.Notes
🤖 Generated with Claude Code