mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
110 lines
4.3 KiB
Markdown
110 lines
4.3 KiB
Markdown
Dependency-Check
|
|
================
|
|
|
|
Dependency-Check is a utility that attempts to detect publicly disclosed vulnerabilities contained within project dependencies. It does this by determining if there is a Common Platform Enumeration (CPE) identifier for a given dependency. If found, it will generate a report linking to the associated CVE entries.
|
|
|
|
Documentation and links to production binary releases can be found on the [github pages](http://jeremylong.github.io/DependencyCheck/). Additionally, more information about the architecture and ways to extend dependency-check can be found on the [wiki].
|
|
|
|
Current Releases
|
|
-------------
|
|
### Jenkins Plugin
|
|
|
|
For instructions on the use of the Jenkins plugin please see the [Jenkins dependency-check page](http://wiki.jenkins-ci.org/x/CwDgAQ).
|
|
|
|
### Command Line
|
|
|
|
More detailed instructions can be found on the [dependency-check github pages](http://jeremylong.github.io/DependencyCheck/dependency-check-cli/installation.html).
|
|
The latest CLI can be downloaded from bintray's [dependency-check page](https://bintray.com/jeremy-long/owasp/dependency-check).
|
|
|
|
On *nix
|
|
```
|
|
$ ./bin/dependency-check.sh -h
|
|
$ ./bin/dependency-check.sh --app Testing --out . --scan [path to jar files to be scanned]
|
|
```
|
|
On Windows
|
|
```
|
|
> bin/dependency-check.bat -h
|
|
> bin/dependency-check.bat --app Testing --out . --scan [path to jar files to be scanned]
|
|
```
|
|
|
|
### Maven Plugin
|
|
|
|
More detailed instructions can be found on the [dependency-check-maven github pages](http://jeremylong.github.io/DependencyCheck/dependency-check-maven/installation.html).
|
|
The plugin can be configured using the following:
|
|
|
|
```xml
|
|
<project>
|
|
<build>
|
|
<plugins>
|
|
...
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>1.0.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
...
|
|
</plugins>
|
|
...
|
|
</build>
|
|
...
|
|
</project>
|
|
```
|
|
|
|
### Ant Task
|
|
|
|
For instructions on the use of the Ant Task, please see the [dependency-check-ant github page](http://jeremylong.github.io/DependencyCheck/dependency-check-maven/installation.html).
|
|
|
|
Development Usage
|
|
-------------
|
|
The following instructions outline how to compile and use the current snapshot. While every intention is to maintain a stable snapshot it is recommended
|
|
that the release versions listed above be used.
|
|
|
|
Note, currently the install goal may take a long time to execute the integration tests. However, if this takes more then 30 minutes it is likely that the
|
|
download of data from the NVD is having an issue. This issue is still being researched and a solution should be published soon.
|
|
|
|
On *nix
|
|
```
|
|
$ mvn install
|
|
$ ./dependency-check-cli/target/release/bin/dependency-check.sh -h
|
|
$ ./dependency-check-cli/target/release/bin/dependency-check.sh --app Testing --out . --scan ./src/test/resources
|
|
```
|
|
On Windows
|
|
```
|
|
> mvn install
|
|
> dependency-check-cli/target/release/bin/dependency-check.bat -h
|
|
> dependency-check-cli/target/release/bin/dependency-check.bat --app Testing --out . --scan ./src/test/resources
|
|
```
|
|
|
|
Then load the resulting 'DependencyCheck-Report.html' into your favourite browser.
|
|
|
|
Mailing List
|
|
------------
|
|
|
|
Subscribe: [dependency-check+subscribe@googlegroups.com] [subscribe]
|
|
|
|
Post: [dependency-check@googlegroups.com] [post]
|
|
|
|
Archive: [google group](https://groups.google.com/forum/#!forum/dependency-check)
|
|
|
|
Copyright & License
|
|
-
|
|
|
|
Dependency-Check is Copyright (c) 2012-2013 Jeremy Long. All Rights Reserved.
|
|
|
|
Permission to modify and redistribute is granted under the terms of the GPLv3 license. See the [LICENSE.txt] [GPLv3] file for the full license.
|
|
|
|
Dependency-Check makes use of several other open source libraries. Please see the [NOTICE.txt] [notices] file for more information.
|
|
|
|
|
|
[wiki]: https://github.com/jeremylong/DependencyCheck/wiki
|
|
[subscribe]: mailto:dependency-check+subscribe@googlegroups.com
|
|
[post]: mailto:dependency-check@googlegroups.com
|
|
[GPLv3]: https://github.com/jeremylong/DependencyCheck/blob/master/LICENSE.txt
|
|
[notices]: https://github.com/jeremylong/DependencyCheck/blob/master/NOTICES.txt |