mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 16:24:11 +01:00
updated to use markdown syntax rather then HTML (fixing vm/md interaction)
Former-commit-id: bde9d01fb7a656bd115ec23994bc474c82bfcf74
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
Installation & Usage
|
Installation & Usage
|
||||||
--------------------
|
====================
|
||||||
Download the dependency-check command line tool [here](http://dl.bintray.com/jeremy-long/owasp/dependency-check-${project.version}-release.zip).
|
Download the dependency-check command line tool [here](http://dl.bintray.com/jeremy-long/owasp/dependency-check-${project.version}-release.zip).
|
||||||
Extract the zip file to a location on your computer and put the 'bin' directory into the
|
Extract the zip file to a location on your computer and put the 'bin' directory into the
|
||||||
path environment variable. On \*nix systems you will likely need to make the shell
|
path environment variable. On \*nix systems you will likely need to make the shell
|
||||||
@@ -9,15 +9,19 @@ script executable:
|
|||||||
|
|
||||||
To scan a folder on the system you can run:
|
To scan a folder on the system you can run:
|
||||||
|
|
||||||
<h3>Windows</h3>
|
Windows
|
||||||
|
-------
|
||||||
dependency-check.bat --app "My App Name" --scan "c:\java\application\lib"
|
dependency-check.bat --app "My App Name" --scan "c:\java\application\lib"
|
||||||
|
|
||||||
<h3>\*nix</h3>
|
\*nix
|
||||||
|
-------
|
||||||
dependency-check.sh --app "My App Name" --scan "/java/application/lib"
|
dependency-check.sh --app "My App Name" --scan "/java/application/lib"
|
||||||
|
|
||||||
To view the command line arguments, see the <a href="arguments.html">arguments page</a>, or you can run:
|
To view the command line arguments, see the <a href="arguments.html">arguments page</a>, or you can run:
|
||||||
<h3>Windows</h3>
|
Windows
|
||||||
|
-------
|
||||||
dependency-check.bat --help
|
dependency-check.bat --help
|
||||||
|
|
||||||
<h3>\*nix</h3>
|
\*nix
|
||||||
|
-------
|
||||||
dependency-check.sh --help
|
dependency-check.sh --help
|
||||||
@@ -10,7 +10,9 @@ Vulnerability Database (NVD) hosted by NIST: https://nvd.nist.gov
|
|||||||
After the first batch download, as long as the plugin is executed at least once every
|
After the first batch download, as long as the plugin is executed at least once every
|
||||||
seven days the update will only take a few seconds.
|
seven days the update will only take a few seconds.
|
||||||
|
|
||||||
<h3>Create the DependencyCheck-report.html in the target directory</h3>
|
Example 1:
|
||||||
|
---------------------
|
||||||
|
Create the DependencyCheck-report.html in the target directory
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<project>
|
<project>
|
||||||
@@ -37,7 +39,9 @@ seven days the update will only take a few seconds.
|
|||||||
</project>
|
</project>
|
||||||
```
|
```
|
||||||
|
|
||||||
<h3>Create the DependencyCheck-report.html and fail the build for CVSS greater then 8</h3>
|
Example 2:
|
||||||
|
---------------------
|
||||||
|
Create the DependencyCheck-report.html and fail the build for CVSS greater then 8
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<project>
|
<project>
|
||||||
@@ -67,7 +71,9 @@ seven days the update will only take a few seconds.
|
|||||||
</project>
|
</project>
|
||||||
```
|
```
|
||||||
|
|
||||||
<h3>Create the dependency-check report within the site</h3>
|
Example 3:
|
||||||
|
---------------------
|
||||||
|
Create the dependency-check report within the site
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<project>
|
<project>
|
||||||
|
|||||||
Reference in New Issue
Block a user