mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 09:31:32 +01:00
updated to support changes from #682
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"reportSchema": "1.0",
|
||||||
"analysis": {
|
"analysis": {
|
||||||
"scanInfo": {
|
"scanInfo": {
|
||||||
"engineVersion": "$version",
|
"engineVersion": "$version",
|
||||||
@@ -13,6 +14,9 @@
|
|||||||
},
|
},
|
||||||
"projectInfo": {
|
"projectInfo": {
|
||||||
"name": "$enc.json($applicationName)",
|
"name": "$enc.json($applicationName)",
|
||||||
|
#if($groupID)"groupID":"$enc.json($groupID)",#end
|
||||||
|
#if($artifactID)"artifactID":"$enc.json($artifactID)",#end
|
||||||
|
#if($version)"version":"$enc.json($version)",#end
|
||||||
"reportDate": "$scanDateXML",
|
"reportDate": "$scanDateXML",
|
||||||
"credits": "This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov"
|
"credits": "This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov"
|
||||||
},
|
},
|
||||||
@@ -46,9 +50,7 @@
|
|||||||
#end
|
#end
|
||||||
]
|
]
|
||||||
#end
|
#end
|
||||||
|
|
||||||
,"evidenceCollected": {
|
,"evidenceCollected": {
|
||||||
|
|
||||||
"vendorEvidence": [
|
"vendorEvidence": [
|
||||||
#foreach($evidence in $dependency.getVendorEvidence())
|
#foreach($evidence in $dependency.getVendorEvidence())
|
||||||
#if($foreach.count > 1),#end{
|
#if($foreach.count > 1),#end{
|
||||||
@@ -82,7 +84,6 @@
|
|||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
]
|
]
|
||||||
|
|
||||||
},
|
},
|
||||||
"identifiers": [
|
"identifiers": [
|
||||||
#foreach($id in $dependency.getIdentifiers())#if($foreach.count > 1),#end{
|
#foreach($id in $dependency.getIdentifiers())#if($foreach.count > 1),#end{
|
||||||
@@ -107,7 +108,6 @@
|
|||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
]
|
]
|
||||||
|
|
||||||
#if($dependency.getVulnerabilities().size()>0 || $dependency.getSuppressedVulnerabilities().size()>0)
|
#if($dependency.getVulnerabilities().size()>0 || $dependency.getSuppressedVulnerabilities().size()>0)
|
||||||
,"vulnerabilities": [
|
,"vulnerabilities": [
|
||||||
#foreach($vuln in $dependency.getVulnerabilities())
|
#foreach($vuln in $dependency.getVulnerabilities())
|
||||||
|
|||||||
Reference in New Issue
Block a user