diff --git a/dependency-check-cli/src/site/markdown/installation.md.vm b/dependency-check-cli/src/site/markdown/installation.md.vm index 8e50a142b..1f9a8f1e0 100644 --- a/dependency-check-cli/src/site/markdown/installation.md.vm +++ b/dependency-check-cli/src/site/markdown/installation.md.vm @@ -1,5 +1,5 @@ Installation & Usage --------------------- +==================== 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 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: -

Windows

+Windows +------- dependency-check.bat --app "My App Name" --scan "c:\java\application\lib" -

\*nix

+\*nix +------- dependency-check.sh --app "My App Name" --scan "/java/application/lib" To view the command line arguments, see the arguments page, or you can run: -

Windows

+Windows +------- dependency-check.bat --help -

\*nix

+\*nix +------- dependency-check.sh --help \ No newline at end of file diff --git a/dependency-check-maven/src/site/markdown/usage.md.vm b/dependency-check-maven/src/site/markdown/usage.md.vm index 68220d59f..03ee81e6d 100644 --- a/dependency-check-maven/src/site/markdown/usage.md.vm +++ b/dependency-check-maven/src/site/markdown/usage.md.vm @@ -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 seven days the update will only take a few seconds. -

Create the DependencyCheck-report.html in the target directory

+Example 1: +--------------------- +Create the DependencyCheck-report.html in the target directory ```xml @@ -37,7 +39,9 @@ seven days the update will only take a few seconds. ``` -

Create the DependencyCheck-report.html and fail the build for CVSS greater then 8

+Example 2: +--------------------- +Create the DependencyCheck-report.html and fail the build for CVSS greater then 8 ```xml @@ -67,7 +71,9 @@ seven days the update will only take a few seconds. ``` -

Create the dependency-check report within the site

+Example 3: +--------------------- +Create the dependency-check report within the site ```xml