Class CliParser.ARGUMENT
java.lang.Object
org.owasp.dependencycheck.CliParser.ARGUMENT
- Enclosing class:
CliParser
A collection of static final strings that represent the possible command
line arguments.
- Author:
- Jeremy Long
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CLI argument name for setting extra extensions.static final StringThe long CLI argument name asking for advanced help.static final StringThe CLI argument for indicating the Artifactory API token.static final StringThe CLI argument for indicating the Artifactory bearer token.static final StringThe CLI argument for indicating if the Artifactory analyzer should be enabled.static final StringThe CLI argument for indicating if the Artifactory analyzer should use the parallel analysis.static final StringThe CLI argument for indicating if the Artifactory analyzer should use the proxy.static final StringThe CLI argument for indicating the Artifactory username.static final StringThe CLI argument for indicating if the Artifactory analyzer should use the proxy.static final StringThe token for bearer authentication to the alternative Maven Central Search.static final StringThe password for basic authentication to the alternative Maven Central Search.static final StringThe alternative URL for Maven Central Search.static final StringThe username for basic authentication to the alternative Maven Central Search.static final StringWhether the PHP Composer Analyzer skips dev packages.static final StringThe CLI argument name indicating the connection read timeout.static final StringThe CLI argument name for setting the connection string.static final StringThe CLI argument name indicating the connection timeout.static final StringThe short CLI argument name indicating the connection timeout.static final StringThe CLI argument name for setting the location of the data directory.static final StringThe short CLI argument name for setting the location of the data directory.static final StringThe CLI argument name for setting the database driver name.static final StringThe CLI argument name for setting the path to the database driver; in case it is not on the class path.static final StringThe CLI argument name for setting the database user name.static final StringThe CLI argument name for setting the database password.static final StringDisables the Archive Analyzer.static final StringDisables the Assembly Analyzer.static final StringThe long CLI argument name specifying that the CPE/CVE/etc. data should not be automatically updated.static final StringThe short CLI argument name specifying that the CPE/CVE/etc. data should not be automatically updated.static final StringDisables the Autoconf Analyzer.static final StringDisables the Ruby Bundler Audit Analyzer.static final StringDisables the Carthage analyzer.static final StringDisables the Central Analyzer.static final StringDisables the Central Analyzer's ability to cache results locally.static final StringDisables the Cmake Analyzer.static final StringDisables the cocoapods analyzer.static final StringDisables the PHP Composer Analyzer.static final StringDisables the Perl CPAN File Analyzer.static final StringDisables the Dart Analyzer.static final StringDisables the File Name Analyzer.static final StringDisables the Golang Dependency Analyzer.static final StringDisables the Golang Mod Analyzer.static final StringThe CLI argument to set the number of hours to wait before re-checking hosted suppressions file for updates.static final StringDisables the Jar Analyzer.static final StringDisables the Known Exploited Analyzer.static final StringDisables the Maven install Analyzer.static final StringDisables the Elixir mix audit Analyzer.static final StringDisable the MS Build Analyzer.static final StringDisables the Node Audit Analyzer.static final StringDisables the Node Audit Analyzer's ability to cache results locally.static final StringConfigures the Node Audit Analyzer to skip the dev dependencies.static final StringDisables the Node.js Package Analyzer.static final StringDisables the Nuget packages.config Analyzer.static final StringDisables the Nuspec Analyzer.static final StringDisables the OpenSSL Analyzer.static final StringDisables the Sonatype OSS Index Analyzer.static final StringDisables the Sonatype OSS Index Analyzer's ability to cache results locally.static final StringDisables the PE Analyzer.static final StringDisables the pip Analyzer.static final StringDisables the Pipfile Analyzer.static final StringDisables the Pnpm Audit Analyzer.static final StringDisables the Poetry Analyzer.static final StringDisables the Python Distribution Analyzer.static final StringDisables the Python Package Analyzer.static final StringDisables the RetireJS Analyzer.static final StringDeprecated.static final StringDisables the Ruby Gemspec Analyzer.static final StringDisables the swift package manager analyzer.static final StringDisables the swift package resolved analyzer.static final StringThe long CLI argument name specifying that the version check should not be performed.static final StringDisables the Yarn Audit Analyzer.static final StringDisables the Nexus Analyzer.static final StringExclude path argument.static final StringThe CLI argument to enable the experimental analyzers.static final StringThe CLI argument to set the threshold that is considered a failure when generating the JUNIT report format.static final StringThe CLI argument to configure when the execution should be considered a failure.static final StringThe long CLI argument name asking for help.static final StringThe short CLI argument name asking for help.static final StringThe CLI argument name for setting the location of the hint file.static final StringThe toke for bearer auth to a mirrored hosted suppressions file.static final StringThe CLI argument to set Whether the hosted suppressions file will update regardless of the `noupdate` argument.static final StringThe passwored for basic auth to a mirrored hosted suppressions file.static final StringThe CLI argument to set the location of a mirrored hosted suppressions file .static final StringThe username for basic auth to a mirrored hosted suppressions file.static final StringThe CLI argument to set the number of hours to wait before re-checking hosted suppressions file for updates.static final StringThe token for bearer auth towards a CISA Known Exploited Vulnerability JSON datafeed mirror.static final StringThe password for basic auth towards a CISA Known Exploited Vulnerability JSON datafeed mirror.static final StringThe URL to the CISA Known Exploited Vulnerability JSON datafeed.static final StringThe user for basic auth towards a CISA Known Exploited Vulnerability JSON datafeed mirror.static final StringThe password for the nexus server.static final StringThe URL of the nexus server.static final StringThe username for the nexus server.static final StringWhether or not the defined proxy should be used when connecting to Nexus.static final StringSkips dev dependencies in Node Package Analyzer.static final StringThe CLI argument name indicating the proxy proxy exclusion list.static final StringThe token for bearer auth to the CVE data.static final StringThe password for basic auth to the CVE data.static final StringThe CLI argument name for the NVD API Data Feed URL.static final StringThe username for basic auth to the CVE data.static final StringThe time in milliseconds to wait between downloading NVD API data.static final StringThe CLI argument name for setting the URL for the NVD API Endpoint.static final StringThe CLI argument name for setting the URL for the NVD API Key.static final StringThe CLI argument name for setting the maximum number of retry requests for a single call to the NVD API.static final StringThe number records for a single page from NVD API.static final StringThe CLI argument name for setting the number of hours to wait before checking for new updates from the NVD.static final StringThe password for the Sonatype OSS Index.static final StringThe alternative URL for the Sonatype OSS Index.static final StringThe username for the Sonatype OSS Index.static final StringThe password for the Sonatype OSS Index.static final StringThe long CLI argument name specifying the directory to write the reports to.static final StringThe short CLI argument name specifying the directory to write the reports to.static final StringThe long CLI argument name specifying the output format to write the reports to.static final StringThe short CLI argument name specifying the output format to write the reports to.static final StringThe CLI argument name for setting the path to bundle-audit for Ruby bundle analysis.static final StringThe CLI argument name for setting the path that should be used as the working directory that the bundle-audit command used for Ruby bundle analysis should be executed from.static final StringThe CLI argument name for setting the path to dotnet core.static final StringThe CLI argument name for setting the path to `go`.static final StringThe CLI argument name for setting the path to mix_audit for Elixir analysis.static final StringThe CLI argument name for setting the path to `pnpm`.static final StringThe CLI argument name for setting the path to `yarn`.static final StringThe CLI argument to configure if the XML and JSON reports should be pretty printed.static final StringThe long CLI argument name specifying the name of the project to be scanned.static final StringThe CLI argument name for setting the location of an additional properties file.static final StringThe short CLI argument name for setting the location of an additional properties file.static final StringThe CLI argument name indicating the proxy password.static final StringThe CLI argument name indicating the proxy port.static final StringThe CLI argument name indicating the proxy server.static final StringThe CLI argument name indicating the proxy username.static final StringThe long CLI argument name specifying that only the update phase should be executed; no scan should be run.static final StringThe CLI argument for the retire JS content filter for non-vulnerable.static final StringThe CLI argument for the retire JS content filters.static final StringWhether the RetireJS Analyzer will update regardless of the `autoupdate` setting.static final StringThe CLI argument to enable the retired analyzers.static final StringDeprecated.UseRETIRE_JS_FILTER_NON_VULNERABLEinstead.static final StringDeprecated.UseRETIRE_JS_FILTERSinstead.static final StringThe URL to the retire JS repository.static final StringThe token for bearer auth to the retire JS repository.static final StringThe password for basic auth to the retire JS repository.static final StringThe username for basic auth to the retire JS repository.static final StringThe long CLI argument name specifying the directory/file to scan.static final StringThe short CLI argument name specifying the directory/file to scan.static final StringThe toke for bearer auth to web-hosted suppression files.static final StringThe passwored for basic auth to web-hosted suppression files.static final StringThe username for basic auth to web-hosted suppression files.static final StringThe CLI argument name for setting the location of the suppression file(s).static final StringThe CLI argument name for setting the depth of symbolic links that will be followed.static final StringThe long CLI argument name specifying that only the update phase should be executed; no scan should be run.static final StringThe CLI argument name for setting the location of the data directory.static final StringThe short CLI argument name for setting the location of the data directory.static final StringThe short CLI argument name asking for the version.static final StringThe long CLI argument name asking for the version. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SCAN
The long CLI argument name specifying the directory/file to scan.- See Also:
-
SCAN_SHORT
The short CLI argument name specifying the directory/file to scan.- See Also:
-
DISABLE_AUTO_UPDATE
The long CLI argument name specifying that the CPE/CVE/etc. data should not be automatically updated.- See Also:
-
DISABLE_VERSION_CHECK
The long CLI argument name specifying that the version check should not be performed.- See Also:
-
DISABLE_AUTO_UPDATE_SHORT
The short CLI argument name specifying that the CPE/CVE/etc. data should not be automatically updated.- See Also:
-
UPDATE_ONLY
The long CLI argument name specifying that only the update phase should be executed; no scan should be run.- See Also:
-
PURGE_NVD
The long CLI argument name specifying that only the update phase should be executed; no scan should be run.- See Also:
-
OUT
The long CLI argument name specifying the directory to write the reports to.- See Also:
-
OUT_SHORT
The short CLI argument name specifying the directory to write the reports to.- See Also:
-
OUTPUT_FORMAT
The long CLI argument name specifying the output format to write the reports to.- See Also:
-
OUTPUT_FORMAT_SHORT
The short CLI argument name specifying the output format to write the reports to.- See Also:
-
PROJECT
The long CLI argument name specifying the name of the project to be scanned.- See Also:
-
HELP
-
ADVANCED_HELP
The long CLI argument name asking for advanced help.- See Also:
-
HELP_SHORT
-
VERSION_SHORT
The long CLI argument name asking for the version.- See Also:
-
VERSION
-
PROXY_PORT
-
PROXY_SERVER
The CLI argument name indicating the proxy server.- See Also:
-
PROXY_USERNAME
The CLI argument name indicating the proxy username.- See Also:
-
PROXY_PASSWORD
The CLI argument name indicating the proxy password.- See Also:
-
NON_PROXY_HOSTS
The CLI argument name indicating the proxy proxy exclusion list.- See Also:
-
CONNECTION_TIMEOUT_SHORT
The short CLI argument name indicating the connection timeout.- See Also:
-
CONNECTION_TIMEOUT
The CLI argument name indicating the connection timeout.- See Also:
-
CONNECTION_READ_TIMEOUT
The CLI argument name indicating the connection read timeout.- See Also:
-
PROP_SHORT
The short CLI argument name for setting the location of an additional properties file.- See Also:
-
PROP
The CLI argument name for setting the location of an additional properties file.- See Also:
-
DATA_DIRECTORY
The CLI argument name for setting the location of the data directory.- See Also:
-
NVD_API_ENDPOINT
The CLI argument name for setting the URL for the NVD API Endpoint.- See Also:
-
NVD_API_KEY
The CLI argument name for setting the URL for the NVD API Key.- See Also:
-
NVD_API_MAX_RETRY_COUNT
The CLI argument name for setting the maximum number of retry requests for a single call to the NVD API.- See Also:
-
NVD_API_VALID_FOR_HOURS
The CLI argument name for setting the number of hours to wait before checking for new updates from the NVD.- See Also:
-
NVD_API_DATAFEED_URL
The CLI argument name for the NVD API Data Feed URL.- See Also:
-
NVD_API_DATAFEED_USER
The username for basic auth to the CVE data.- See Also:
-
NVD_API_DATAFEED_PASSWORD
The password for basic auth to the CVE data.- See Also:
-
NVD_API_DATAFEED_BEARER_TOKEN
The token for bearer auth to the CVE data.- See Also:
-
SUPPRESSION_FILE_USER
The username for basic auth to web-hosted suppression files.- See Also:
-
SUPPRESSION_FILE_PASSWORD
The passwored for basic auth to web-hosted suppression files.- See Also:
-
SUPPRESSION_FILE_BEARER_TOKEN
The toke for bearer auth to web-hosted suppression files.- See Also:
-
NVD_API_DELAY
The time in milliseconds to wait between downloading NVD API data.- See Also:
-
NVD_API_RESULTS_PER_PAGE
The number records for a single page from NVD API.- See Also:
-
DATA_DIRECTORY_SHORT
The short CLI argument name for setting the location of the data directory.- See Also:
-
VERBOSE_LOG
The CLI argument name for setting the location of the data directory.- See Also:
-
VERBOSE_LOG_SHORT
The short CLI argument name for setting the location of the data directory.- See Also:
-
SYM_LINK_DEPTH
The CLI argument name for setting the depth of symbolic links that will be followed.- See Also:
-
SUPPRESSION_FILES
The CLI argument name for setting the location of the suppression file(s).- See Also:
-
HINTS_FILE
The CLI argument name for setting the location of the hint file.- See Also:
-
DISABLE_JAR
-
DISABLE_MSBUILD
-
DISABLE_ARCHIVE
-
DISABLE_KEV
-
KEV_URL
The URL to the CISA Known Exploited Vulnerability JSON datafeed.- See Also:
-
KEV_USER
The user for basic auth towards a CISA Known Exploited Vulnerability JSON datafeed mirror.- See Also:
-
KEV_PASSWORD
The password for basic auth towards a CISA Known Exploited Vulnerability JSON datafeed mirror.- See Also:
-
KEV_BEARER_TOKEN
The token for bearer auth towards a CISA Known Exploited Vulnerability JSON datafeed mirror.- See Also:
-
DISABLE_PY_DIST
-
DISABLE_PY_PKG
-
DISABLE_MIX_AUDIT
-
DISABLE_GO_DEP
-
DISABLE_COMPOSER
-
COMPOSER_LOCK_SKIP_DEV
Whether the PHP Composer Analyzer skips dev packages.- See Also:
-
DISABLE_CPAN
-
DISABLE_GOLANG_MOD
-
DISABLE_DART
-
PATH_TO_GO
-
PATH_TO_YARN
The CLI argument name for setting the path to `yarn`.- See Also:
-
PATH_TO_PNPM
The CLI argument name for setting the path to `pnpm`.- See Also:
-
DISABLE_RUBYGEMS
-
DISABLE_AUTOCONF
-
DISABLE_MAVEN_INSTALL
-
DISABLE_PIP
-
DISABLE_PIPFILE
-
DISABLE_POETRY
-
DISABLE_CMAKE
-
DISABLE_COCOAPODS
-
DISABLE_CARTHAGE
-
DISABLE_SWIFT
-
DISABLE_SWIFT_RESOLVED
Disables the swift package resolved analyzer.- See Also:
-
DISABLE_ASSEMBLY
-
DISABLE_PE
-
DISABLE_BUNDLE_AUDIT
-
DISABLE_FILENAME
-
DISABLE_NUSPEC
-
DISABLE_NUGETCONF
-
DISABLE_CENTRAL
-
DISABLE_CENTRAL_CACHE
Disables the Central Analyzer's ability to cache results locally.- See Also:
-
CENTRAL_URL
-
CENTRAL_USERNAME
The username for basic authentication to the alternative Maven Central Search.- See Also:
-
CENTRAL_PASSWORD
The password for basic authentication to the alternative Maven Central Search.- See Also:
-
CENTRAL_BEARER_TOKEN
The token for bearer authentication to the alternative Maven Central Search.- See Also:
-
ENABLE_NEXUS
-
DISABLE_OSSINDEX
-
DISABLE_OSSINDEX_CACHE
Disables the Sonatype OSS Index Analyzer's ability to cache results locally.- See Also:
-
OSSINDEX_URL
-
OSSINDEX_USERNAME
-
OSSINDEX_PASSWORD
-
OSSINDEX_WARN_ONLY_ON_REMOTE_ERRORS
The password for the Sonatype OSS Index.- See Also:
-
DISABLE_OPENSSL
-
DISABLE_NODE_JS
-
NODE_PACKAGE_SKIP_DEV_DEPENDENCIES
Skips dev dependencies in Node Package Analyzer.- See Also:
-
DISABLE_NODE_AUDIT
-
DISABLE_YARN_AUDIT
-
DISABLE_PNPM_AUDIT
-
DISABLE_NODE_AUDIT_CACHE
Disables the Node Audit Analyzer's ability to cache results locally.- See Also:
-
DISABLE_NODE_AUDIT_SKIPDEV
Configures the Node Audit Analyzer to skip the dev dependencies.- See Also:
-
DISABLE_RETIREJS_DEPRECATED
-
DISABLE_RETIRE_JS
-
RETIRE_JS_FORCEUPDATE
Whether the RetireJS Analyzer will update regardless of the `autoupdate` setting.- See Also:
-
RETIREJS_URL
-
RETIREJS_URL_USER
The username for basic auth to the retire JS repository.- See Also:
-
RETIREJS_URL_PASSWORD
The password for basic auth to the retire JS repository.- See Also:
-
RETIREJS_URL_BEARER_TOKEN
The token for bearer auth to the retire JS repository.- See Also:
-
NEXUS_URL
-
NEXUS_USERNAME
-
NEXUS_PASSWORD
-
NEXUS_USES_PROXY
Whether or not the defined proxy should be used when connecting to Nexus.- See Also:
-
CONNECTION_STRING
The CLI argument name for setting the connection string.- See Also:
-
DB_NAME
The CLI argument name for setting the database user name.- See Also:
-
DB_PASSWORD
The CLI argument name for setting the database password.- See Also:
-
DB_DRIVER
The CLI argument name for setting the database driver name.- See Also:
-
DB_DRIVER_PATH
The CLI argument name for setting the path to the database driver; in case it is not on the class path.- See Also:
-
PATH_TO_CORE
The CLI argument name for setting the path to dotnet core.- See Also:
-
ADDITIONAL_ZIP_EXTENSIONS
The CLI argument name for setting extra extensions.- See Also:
-
EXCLUDE
-
PATH_TO_BUNDLE_AUDIT
The CLI argument name for setting the path to bundle-audit for Ruby bundle analysis.- See Also:
-
PATH_TO_BUNDLE_AUDIT_WORKING_DIRECTORY
The CLI argument name for setting the path that should be used as the working directory that the bundle-audit command used for Ruby bundle analysis should be executed from. This will allow for the usage of rbenv- See Also:
-
PATH_TO_MIX_AUDIT
The CLI argument name for setting the path to mix_audit for Elixir analysis.- See Also:
-
EXPERIMENTAL
The CLI argument to enable the experimental analyzers.- See Also:
-
RETIRED
-
RETIREJS_FILTERS_DEPRECATED
Deprecated.UseRETIRE_JS_FILTERSinstead.The CLI argument for the retire js content filters.- See Also:
-
RETIRE_JS_FILTERS
The CLI argument for the retire JS content filters.- See Also:
-
RETIREJS_FILTER_NON_VULNERABLE_DEPRECATED
Deprecated.UseRETIRE_JS_FILTER_NON_VULNERABLEinstead.The CLI argument for the retire js content filters.- See Also:
-
RETIRE_JS_FILTER_NON_VULNERABLE
The CLI argument for the retire JS content filter for non-vulnerable.- See Also:
-
ARTIFACTORY_ENABLED
The CLI argument for indicating if the Artifactory analyzer should be enabled.- See Also:
-
ARTIFACTORY_URL
The CLI argument for indicating if the Artifactory analyzer should use the proxy.- See Also:
-
ARTIFACTORY_USERNAME
The CLI argument for indicating the Artifactory username.- See Also:
-
ARTIFACTORY_API_TOKEN
The CLI argument for indicating the Artifactory API token.- See Also:
-
ARTIFACTORY_BEARER_TOKEN
The CLI argument for indicating the Artifactory bearer token.- See Also:
-
ARTIFACTORY_USES_PROXY
The CLI argument for indicating if the Artifactory analyzer should use the proxy.- See Also:
-
ARTIFACTORY_PARALLEL_ANALYSIS
The CLI argument for indicating if the Artifactory analyzer should use the parallel analysis.- See Also:
-
FAIL_ON_CVSS
The CLI argument to configure when the execution should be considered a failure.- See Also:
-
PRETTY_PRINT
The CLI argument to configure if the XML and JSON reports should be pretty printed.- See Also:
-
FAIL_JUNIT_ON_CVSS
The CLI argument to set the threshold that is considered a failure when generating the JUNIT report format.- See Also:
-
DISABLE_HOSTED_SUPPRESSIONS
The CLI argument to set the number of hours to wait before re-checking hosted suppressions file for updates.- See Also:
-
HOSTED_SUPPRESSIONS_VALID_FOR_HOURS
The CLI argument to set the number of hours to wait before re-checking hosted suppressions file for updates.- See Also:
-
HOSTED_SUPPRESSIONS_FORCEUPDATE
The CLI argument to set Whether the hosted suppressions file will update regardless of the `noupdate` argument.- See Also:
-
HOSTED_SUPPRESSIONS_URL
The CLI argument to set the location of a mirrored hosted suppressions file .- See Also:
-
HOSTED_SUPPRESSIONS_USER
The username for basic auth to a mirrored hosted suppressions file.- See Also:
-
HOSTED_SUPPRESSIONS_PASSWORD
The passwored for basic auth to a mirrored hosted suppressions file.- See Also:
-
HOSTED_SUPPRESSIONS_BEARER_TOKEN
The toke for bearer auth to a mirrored hosted suppressions file.- See Also:
-
-
Constructor Details
-
ARGUMENT
public ARGUMENT()
-
DISABLE_RETIRE_JSinstead.