Repository navigation
False positives by component: choice of components, one kind, whole project removed - #112
Merged
Merged
Conversation
…s, one kind - Scope is the component (every version): "Set as false positive (whole project)" removed (too broad); statements set before are still read. - An entry counts for nothing only when every component it matches is covered; otherwise it stays and its reason names the covered ones. A row with several components asks which one (or all). A keyword hit without component: a KeywordOnly statement, valid while the CVE matches no component. - metascraper.ps1 applies the same rule (build 2026-12-03b). - The Workbench VEX state false_positive sets and lifts the same project false positive. - VEX export: keyword hits / entries without component are left out (they would apply to every component in Dependency-Track). - Choice dialogs wrap many or long buttons (the nine VEX justifications). - Tests: tests/false-positives.ps1 (12), smoke falsepositives (21) and vexexport (23) incl. screenshots of both dialogs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019kjGYYNvsfXvLhePqaNsL3
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.
Changes
False positives: the component is the scope
Set as false positive (whole project) hid the CVE at every component, including components added later. That was too broad, so it is removed. Statements set that way before are still read and still apply.
KeywordOnlyand covers the entry only while the CVE matches no component.metascraper.ps1applies the same rule (build2026-12-03b).project_vex.json).VEX export
Keyword hits and Workbench entries without a component are left out, and the summary counts them. As a statement for the whole project, Dependency-Track would apply them to every component with that CVE, even as in triage.
Choice dialogs
Many or long buttons now wrap. Before, the nine VEX justifications of Not affected... ran past the dialog edge.
Docs
README (false positives, VEX export) and CHANGELOG are updated.
Tests
tests/false-positives.ps1: 12 checks, 3 of them new:falsepositives(21 checks), covering:vexexport(23 checks): the Workbench VEX state false positive sets and lifts the project false positive, and the justification dialog is screenshotted.Generated by Claude Code