Skip to content

Instantly share code, notes, and snippets.

@hgomez
Last active August 29, 2015 13:59
Show Gist options
  • Save hgomez/10986454 to your computer and use it in GitHub Desktop.
Save hgomez/10986454 to your computer and use it in GitHub Desktop.
OWASP Dependency Check

DC Maven Samples : http://jeremylong.github.io/DependencyCheck/dependency-check-maven/usage.html

Start DC check outside pom (non intrusive)

mvn org.owasp:dependency-check-maven:check

Start DC check outside pom (non intrusive) with CVE urls

mvn org.owasp:dependency-check-maven:check \
    -DcveUrl12Modified=http://internal-mirror.mycorp.com/downloads/nist/nvdcve-modified.xml \
    -DcveUrl20Modified=http://internal-mirror.mycorp.com/downloads/nist/nvdcve-2.0-modified.xml \
    -DcveUrl12Base=http://internal-mirror.mycorp.com/downloads/nist/nvdcve-%d.xml \
    -DcveUrl20Base=http://internal-mirror.mycorp.com/downloads/nist/nvdcve-2.0-%d.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment