feat: add new suppression xsd allowing grouping of suppressions#7957
Merged
jeremylong merged 2 commits intodependency-check:mainfrom Nov 12, 2025
Merged
Conversation
…dency-check#7898). This introduces the optional suppressionGroup element, with which suppressions can be grouped. Attributes can be set on group level and be used as default values for child suppressions. suppresionGroup element is optional. suppressions.xml files that adhere to schema version 1.3 will be valid in schema 1.4 as well.
…hen part of a SuppressionGroup. Minor changes in comments. (dependency-check#7898)
95cbedb to
6028428
Compare
Collaborator
|
praise: thanks for your time on this proposal and your patience! I'm sure people will find it useful! |
Collaborator
|
chore: our false-positives documentation displays references to the 1.3.xsd version. The page is located in src/site/markdown/general/suppression.md`. We could upgrade the reference to 1.4 in order to have a documentation being up to date. suggestion(non-blocking): it could also be interesting to add an explanation about the |
jeremylong
approved these changes
Nov 12, 2025
jeremylong
pushed a commit
that referenced
this pull request
Nov 18, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description of Change
Added new version (1.4) of suppression xsd. This allows the grouping of suppressions and metadata about the groupings. Groupings are optional. Suppression xml can be used as earlier. See issue for reasoning.
Related issues
Issue 7898
Have test cases been added to cover the new functionality?
yes