fix: correct XML/JSON report CVSS field & HTML report URL mappings#8156
Merged
jeremylong merged 8 commits intodependency-check:mainfrom Nov 30, 2025
Merged
Conversation
Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
… field Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
fixes dependency-check#8155 - Vulnerable System CIA, Subsequent System CIA, Modified Vulnerable System CIA and Modified Subsequent System CIA were mapped incorrectly Also corrects mapping the requirement fields if populated. Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
…y/impact/obtainprivilege etc fields Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
chadlwilson
commented
Nov 28, 2025
1 task
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
Fixes a number of mapping issues with the Velocity report templates by adding IDE type checking and resolving the resultant issues highlighted.
Related issues
fixes #8155
Have test cases been added to cover the new functionality?
N/A
I assume that the existing XML and JSON schemas for these fields are defined correctly, and that the to string for the enums correctly serialise values as required by the formats, as done for existing fields that are mapping correctly.