You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
autoUpdate | Sets whether auto-updating of the NVD CVE/CPE data is enabled. It is not recommended that this be turned to false. | true
36
-
failOnError | Whether the build should fail if there is an error executing the dependency-check analysis | true
37
-
failBuildOnCVSS | Specifies if the build should be failed if a CVSS score equal to or above a specified level is identified. The default is 11 which means since the CVSS scores are 0-10, by default the build will never fail. More information on CVSS scores can be found at the [NVD](https://nvd.nist.gov/vuln-metrics/cvss)| 11
38
-
junitFailOnCVSS | If using the JUNIT report format the junitFailOnCVSS sets the CVSS score threshold that is considered a failure. | 0
39
-
prettyPrint | Whether the XML and JSON formatted reports should be pretty printed. | false
40
-
projectName | The name of the project being scanned. | Dependency-Check
41
-
reportFormat | The report format to be generated (HTML, XML, CSV, JSON, JUNIT, SARIF, JENKINS, GITLAB, ALL). | HTML
42
-
reportOutputDirectory | The location to write the report(s). Note, this is not used if generating the report as part of a `mvn site` build | 'target'
43
-
hintsFile | The file path to the XML hints file \- used to resolve [false negatives](../general/hints.html) |
44
-
proxyServer | The Proxy Server; see the [proxy configuration](../data/proxy.html) page for more information. |
45
-
proxyPort | The Proxy Port. |
46
-
proxyUsername | Defines the proxy user name. |
47
-
proxyPassword | Defines the proxy password. |
48
-
nonProxyHosts | Defines the hosts that will not be proxied. |
49
-
connectionTimeout | The URL Connection Timeout. |
50
-
enableExperimental | Enable the [experimental analyzers](../analyzers/index.html). If not enabled the experimental analyzers (see below) will not be loaded or used. | false
51
-
enableRetired | Enable the [retired analyzers](../analyzers/index.html). If not enabled the retired analyzers (see below) will not be loaded or used. | false
52
-
suppressionFile | The file path to the XML suppression file \- used to suppress [false positives](../general/suppression.html). The parameter value can be a local file path, a URL to a suppression file, or even a reference to a file on the class path (see https://github.com/jeremylong/DependencyCheck/issues/1878#issuecomment-487533799) |
53
-
junitFailOnCVSS | If using the JUNIT report format the junitFailOnCVSS sets the CVSS score threshold that is considered a failure. | 0
autoUpdate | Sets whether auto-updating of the NVD CVE/CPE data is enabled. It is not recommended that this be turned to false. | true
36
+
failOnError | Whether the build should fail if there is an error executing the dependency-check analysis | true
37
+
failBuildOnCVSS | Specifies if the build should be failed if a CVSS score equal to or above a specified level is identified. The default is 11 which means since the CVSS scores are 0-10, by default the build will never fail. More information on CVSS scores can be found at the [NVD](https://nvd.nist.gov/vuln-metrics/cvss)| 11
38
+
junitFailOnCVSS | If using the JUNIT report format the junitFailOnCVSS sets the CVSS score threshold that is considered a failure. | 0
39
+
prettyPrint | Whether the XML and JSON formatted reports should be pretty printed. | false
40
+
projectName | The name of the project being scanned. | Dependency-Check
41
+
reportFormat | The report format to be generated (HTML, XML, CSV, JSON, JUNIT, SARIF, JENKINS, GITLAB, ALL). | HTML
42
+
reportOutputDirectory | The location to write the report(s). Note, this is not used if generating the report as part of a `mvn site` build | 'target'
43
+
hintsFile | The file path to the XML hints file \- used to resolve [false negatives](../general/hints.html) |
44
+
proxyServer | The Proxy Server; see the [proxy configuration](../data/proxy.html) page for more information. |
45
+
proxyPort | The Proxy Port. |
46
+
proxyUsername | Defines the proxy user name. |
47
+
proxyPassword | Defines the proxy password. |
48
+
nonProxyHosts | Defines the hosts that will not be proxied. |
49
+
connectionTimeout | The URL Connection Timeout. |
50
+
enableExperimental | Enable the [experimental analyzers](../analyzers/index.html). If not enabled the experimental analyzers (see below) will not be loaded or used. | false
51
+
enableRetired | Enable the [retired analyzers](../analyzers/index.html). If not enabled the retired analyzers (see below) will not be loaded or used. | false
52
+
suppressionFile | The file path to the XML suppression file \- used to suppress [false positives](../general/suppression.html). The parameter value can be a local file path, a URL to a suppression file, or even a reference to a file on the class path (see https://github.com/jeremylong/DependencyCheck/issues/1878#issuecomment-487533799) |
53
+
junitFailOnCVSS | If using the JUNIT report format the junitFailOnCVSS sets the CVSS score threshold that is considered a failure. | 0
54
+
failBuildOnUnusedSuppressionRule | Specifies that if any unused suppression rule is found, the build will fail. | false
54
55
55
56
The following nested elements can be set on the dependency-check task.
0 commit comments