mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
added documentation per issue https://github.com/jeremylong/dependency-check-gradle/issues/38
This commit is contained in:
@@ -9,6 +9,11 @@ dependencyCheckPurge | Deletes the local copy of
|
||||
|
||||
Configuration: dependencyCheckPurge
|
||||
====================
|
||||
The following properties can be configured for the dependencyCheckPurge task:
|
||||
|
||||
Property | Description | Default Value
|
||||
---------------------|------------------------------------|------------------
|
||||
failOnError | Fails the build if an error occurs during the dependency-check analysis. | true
|
||||
|
||||
#### Example
|
||||
```groovy
|
||||
|
||||
@@ -14,6 +14,7 @@ The following properties can be configured for the dependencyCheckUpdate task:
|
||||
Property | Description | Default Value
|
||||
---------------------|------------------------------------|------------------
|
||||
cveValidForHours | Sets the number of hours to wait before checking for new updates from the NVD. | 4
|
||||
failOnError | Fails the build if an error occurs during the dependency-check analysis. | true
|
||||
|
||||
#### Example
|
||||
```groovy
|
||||
|
||||
@@ -15,6 +15,7 @@ Property | Description | Default Value
|
||||
---------------------|------------------------------------|------------------
|
||||
autoUpdate | Sets whether auto-updating of the NVD CVE/CPE data is enabled. It is not recommended that this be turned to false. | true
|
||||
cveValidForHours | Sets the number of hours to wait before checking for new updates from the NVD. | 4
|
||||
failOnError | Fails the build if an error occurs during the dependency-check analysis. | true
|
||||
failBuildOnCVSS | Specifies if the build should be failed if a CVSS score above a specified level is identified. The default is 11; since the CVSS scores are 0-10, by default the build will never fail. | 11
|
||||
format | The report format to be generated (HTML, XML, VULN, ALL). | HTML
|
||||
outputDirectory | The location to write the report(s). This directory will be located in the build directory. | build/reports
|
||||
|
||||
Reference in New Issue
Block a user