Compare commits

...

7 Commits

Author SHA1 Message Date
Jeremy Long
e204971a6c version 1.3.3 2015-12-10 19:44:38 -05:00
Jeremy Long
d5b3a118bc minor site tweaks 2015-12-10 19:44:26 -05:00
Jeremy Long
3396cb2887 fix for issue #416 2015-12-10 18:33:31 -05:00
Jeremy Long
3c5beea218 1.3.3-SNAPSHOT 2015-12-02 09:17:28 -05:00
Jeremy Long
e544384dd5 1.3.3-SNAPSHOT 2015-12-02 05:46:28 -05:00
Jeremy Long
0e90f460f4 reverted change, using the undocumented SERIALIZED file lock mode 2015-12-02 05:46:06 -05:00
Jeremy Long
921efc4d2b updated documentation 2015-11-30 06:50:15 -05:00
12 changed files with 30 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ Copyright (c) 2013 - Jeremy Long. All Rights Reserved.
<parent> <parent>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-parent</artifactId> <artifactId>dependency-check-parent</artifactId>
<version>1.3.2</version> <version>1.3.3</version>
</parent> </parent>
<artifactId>dependency-check-ant</artifactId> <artifactId>dependency-check-ant</artifactId>

View File

@@ -1,2 +1,2 @@
# the path to the data directory # the path to the data directory
data.directory=data data.directory=data/3.0

View File

@@ -20,7 +20,7 @@ Copyright (c) 2012 - Jeremy Long. All Rights Reserved.
<parent> <parent>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-parent</artifactId> <artifactId>dependency-check-parent</artifactId>
<version>1.3.2</version> <version>1.3.3</version>
</parent> </parent>
<artifactId>dependency-check-cli</artifactId> <artifactId>dependency-check-cli</artifactId>

View File

@@ -20,7 +20,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
<parent> <parent>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-parent</artifactId> <artifactId>dependency-check-parent</artifactId>
<version>1.3.2</version> <version>1.3.3</version>
</parent> </parent>
<artifactId>dependency-check-core</artifactId> <artifactId>dependency-check-core</artifactId>

View File

@@ -18,8 +18,13 @@ engine.version.url=http://jeremylong.github.io/DependencyCheck/current.txt
data.directory=[JAR]/data data.directory=[JAR]/data
#if the filename has a %s it will be replaced with the current expected version #if the filename has a %s it will be replaced with the current expected version
data.file_name=dc.h2.db data.file_name=dc.h2.db
### if you increment the DB version then you must increment the database file path
### in the mojo.properties, task.properties (maven and ant respectively), and
### the gradle PurgeDataExtension.
data.version=3.0 data.version=3.0
data.connection_string=jdbc:h2:file:%s;FILE_LOCK=FS;AUTOCOMMIT=ON;
data.connection_string=jdbc:h2:file:%s;FILE_LOCK=SERIALIZED;AUTOCOMMIT=ON;
#data.connection_string=jdbc:mysql://localhost:3306/dependencycheck #data.connection_string=jdbc:mysql://localhost:3306/dependencycheck
# user name and password for the database connection. The inherent case is to use H2. # user name and password for the database connection. The inherent case is to use H2.

View File

@@ -20,7 +20,7 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved.
<parent> <parent>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-parent</artifactId> <artifactId>dependency-check-parent</artifactId>
<version>1.3.2</version> <version>1.3.3</version>
</parent> </parent>
<artifactId>dependency-check-maven</artifactId> <artifactId>dependency-check-maven</artifactId>

View File

@@ -1,2 +1,2 @@
# the path to the data directory # the path to the data directory
data.directory=[JAR]/../../dependency-check-data data.directory=[JAR]/../../dependency-check-data/3.0

View File

@@ -20,7 +20,7 @@ Copyright (c) 2014 - Jeremy Long. All Rights Reserved.
<parent> <parent>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-parent</artifactId> <artifactId>dependency-check-parent</artifactId>
<version>1.3.2</version> <version>1.3.3</version>
</parent> </parent>
<artifactId>dependency-check-utils</artifactId> <artifactId>dependency-check-utils</artifactId>

View File

@@ -20,7 +20,7 @@ Copyright (c) 2012 - Jeremy Long
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-parent</artifactId> <artifactId>dependency-check-parent</artifactId>
<version>1.3.2</version> <version>1.3.3</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>

View File

@@ -17,7 +17,7 @@ autoUpdate | Sets whether auto-updating of the NVD CVE/CPE data is ena
cveValidForHours | Sets the number of hours to wait before checking for new updates from the NVD. | 4 cveValidForHours | Sets the number of hours to wait before checking for new updates from the NVD. | 4
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 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 format | The report format to be generated (HTML, XML, VULN, ALL). | HTML
reportsDirName | The location to write the report(s). This directory will be located in the build directory. | reports outputDirectory | The location to write the report(s). This directory will be located in the build directory. | build/reports
skipTestGroups | When set to true (the default) all dependency groups that being with 'test' will be skipped. | true skipTestGroups | When set to true (the default) all dependency groups that being with 'test' will be skipped. | true
suppressionFile | The file path to the XML suppression file \- used to suppress [false positives](../general/suppression.html) | &nbsp; suppressionFile | The file path to the XML suppression file \- used to suppress [false positives](../general/suppression.html) | &nbsp;
@@ -81,7 +81,7 @@ dependencyCheck {
### Analyzer Configuration ### Analyzer Configuration
In addition to the above, the dependencyCheck plugin can be configured to enable or disable specific In addition to the above, the dependencyCheck plugin can be configured to enable or disable specific
analyzers by configuring the `analyzer` section. Note, specific file type analyzers will automatically analyzers by configuring the `analyzers` section. Note, specific file type analyzers will automatically
disable themselves if no file types that they support are detected - so specifically disabling the disable themselves if no file types that they support are detected - so specifically disabling the
analyzers is likely not needed. analyzers is likely not needed.
@@ -109,7 +109,7 @@ pathToMono | The path to Mono for .NET assembly analysis on non-windo
#### Example #### Example
```groovy ```groovy
dependencyCheck { dependencyCheck {
analyzer { analyzers {
assemblyEnabled=false assemblyEnabled=false
} }
} }

View File

@@ -12,6 +12,8 @@ seven days the update will only take a few seconds.
#set( $H = '#' ) #set( $H = '#' )
$H$H Quick Start
$H$H$H Step 1, Apply dependency-check-gradle plugin $H$H$H Step 1, Apply dependency-check-gradle plugin
Install from Maven central repo Install from Maven central repo
@@ -25,7 +27,7 @@ buildscript {
} }
} }
apply plugin: 'dependencyCheck' apply plugin: 'org.owasp.dependencycheck'
``` ```
$H$H$H Step 2, Run the dependencyCheck task $H$H$H Step 2, Run the dependencyCheck task
@@ -36,9 +38,14 @@ Once gradle plugin applied, run following gradle task to check dependencies:
gradle dependencyCheck --info gradle dependencyCheck --info
``` ```
The reports will be generated automatically under `buildDir/reports` folder. The reports will be generated automatically under `build/reports` folder.
$H$H Task Configuration
The OWASP dependency-check-gradle plugin contains three tasks: [dependencyCheck](configuration.html),
[dependencyCheckUpdate](configuration-update.html), and [dependencyCheckPurge](configuration-purge.html).
Please see each tasks configuration page for more information.
Mailing List Mailing List
------------ ------------

View File

@@ -74,7 +74,7 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved.
</breadcrumbs> </breadcrumbs>
<menu name="OWASP dependency-check"> <menu name="OWASP dependency-check">
<item collapse="false" name="General" href="./index.html"> <item collapse="true" name="General" href="./index.html">
<item name="How it Works" href="./general/internals.html"> <item name="How it Works" href="./general/internals.html">
<description>How does dependency-check work?</description> <description>How does dependency-check work?</description>
</item> </item>
@@ -156,9 +156,9 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved.
</item> </item>
<item collapse="true" name="Gradle Plugin" href="./dependency-check-gradle/index.html"> <item collapse="true" name="Gradle Plugin" href="./dependency-check-gradle/index.html">
<description>Gradle plugin for OWASP dependency-check.</description> <description>Gradle plugin for OWASP dependency-check.</description>
<item name="dependencyCheck" href="./dependency-check-gradle/configuration.html" /> <item name="Check Task" href="./dependency-check-gradle/configuration.html" />
<item name="dependencyCheckUpdate" href="./dependency-check-gradle/configuration-update.html" /> <item name="Update Task" href="./dependency-check-gradle/configuration-update.html" />
<item name="dependencyCheckPurge" href="./dependency-check-gradle/configuration-purge.html" /> <item name="Purge Task" href="./dependency-check-gradle/configuration-purge.html" />
</item> </item>
<item name="Jenkins Plugin" href="./dependency-check-jenkins/index.html"> <item name="Jenkins Plugin" href="./dependency-check-jenkins/index.html">
<description>A Jenkins plugin for OWASP dependency-check.</description> <description>A Jenkins plugin for OWASP dependency-check.</description>