mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 18:41:44 +01:00
schema changes are added with global schema
This commit is contained in:
@@ -141,8 +141,6 @@ public class ReportGenerator {
|
|||||||
public List<Dependency> addNotesToReport(List<Dependency> dependencies){
|
public List<Dependency> addNotesToReport(List<Dependency> dependencies){
|
||||||
final String suppressionFilePath = Settings.getString(Settings.KEYS.SUPPRESSION_FILE);
|
final String suppressionFilePath = Settings.getString(Settings.KEYS.SUPPRESSION_FILE);
|
||||||
|
|
||||||
LOGGER.info("Settings.KEYS.SUPPRESSION_FILE"+Settings.KEYS.SUPPRESSION_FILE);
|
|
||||||
|
|
||||||
if(StringUtils.isBlank(suppressionFilePath)){
|
if(StringUtils.isBlank(suppressionFilePath)){
|
||||||
return dependencies;
|
return dependencies;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,7 +168,6 @@
|
|||||||
<xs:element name="severity" type="xs:string" minOccurs="1" maxOccurs="1" />
|
<xs:element name="severity" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="cwe" type="xs:string" minOccurs="0" maxOccurs="1" />
|
<xs:element name="cwe" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||||
<xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" />
|
<xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="notes" type="xs:string" minOccurs="1" maxOccurs="1" />
|
|
||||||
<xs:element name="references" minOccurs="0" maxOccurs="1">
|
<xs:element name="references" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
@@ -212,6 +211,7 @@
|
|||||||
<xs:element name="severity" type="xs:string" minOccurs="1" maxOccurs="1" />
|
<xs:element name="severity" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="cwe" type="xs:string" minOccurs="0" maxOccurs="1" />
|
<xs:element name="cwe" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||||
<xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" />
|
<xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||||
|
<xs:element name="notes" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="references" minOccurs="0" maxOccurs="1">
|
<xs:element name="references" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
|
|||||||
Reference in New Issue
Block a user