Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2023.2

...

The OWASP Dependency-Check Pack is a separate tool and must connect to DTP to send results to your DTP project. Specify the following settings in the settings.properties file file located in the installation directory:.

dtp.serverSpecifies the host name of the DTP server.
dtp.portSpecifies the DTP port number. Default is 8443.
dtp.userSpecifies the username for DTP authentication.
dtp.password

Specifies the user password for DTP authentication. You can encode your DTP password by running the dependency.sh or dependency.bat with the -encodepass parameter. For example:

./dependencycheck.sh -encodepass=<MYPASSWORD>

dtp.project

Specifies the name of the existing DTP project that you want to link to. 

build.id

Specifies the build that the data should be associated with. For accurate results, the build ID should match the build ID configured in your static analysis tool. 

Usage

If you have not already done so, execute OWASP Dependency-Check. The results should be output to an XML file. To send these results to Parasoft DTP using OWASP Dependency-Check Pack:

  1. Open a command prompt and navigate to the OWASP Dependency-Check Pack installation directory.
  2. Execute the .BAT or .SH script with specifying the OWASP Dependency-Check results using the -results.file parameter, for example:

    No Format
    ./dependencycheck.sh -results.file="/Users/admin/Desktop/dependency_check.xml"

    The -results.file is the only required parameter, but you can pass the following optional parameters:

    -parasoft.local.storage.dir: This setting specifies the location for generated log files. The recommended location is ${project.base.dir}/.dependencycheck. For example:

    -parasoft.local.storage.dir=.dependencycheck

    -settings: By default, the OWASP Dependency-Check Pack will reference the settings.properties file in the installation directory, but you can use this setting to point to alternate configuration files. Example:

    -settings=C:\my-team-configs\my-settings.properties

...