Skip to content

Commit c9d2874

Browse files
authored
fix(reports): Correct XML report attribute denoting matched status for a suppressed vulnerability (#8487)
Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
1 parent da04023 commit c9d2874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/resources/templates/xmlReport.vsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ Copyright (c) 2018 Jeremy Long. All Rights Reserved.
617617
</references>
618618
<vulnerableSoftware>
619619
#foreach($vs in $vuln.getVulnerableSoftware(true))
620-
<software#if($vs == $vuln.matchedVulnerableSoftware) matched="true"#end
620+
<software#if($vs == $vuln.matchedVulnerableSoftware) vulnerabilityIdMatched="true"#end
621621
#if($vs.versionStartIncluding) versionStartIncluding="$enc.xml($vs.versionStartIncluding)"#end
622622
#if($vs.versionStartExcluding) versionStartExcluding="$enc.xml($vs.versionStartExcluding)"#end
623623
#if($vs.versionEndIncluding) versionEndIncluding="$enc.xml($vs.versionEndIncluding)"#end

0 commit comments

Comments
 (0)