The analyzer configuration extension. Any value not configured will use the dependency-check-core defaults.
| Type | Name and description |
|---|---|
java.lang.Boolean |
archiveEnabledSets whether the Archive Analyzer will be used. |
ArtifactoryExtension |
artifactoryThe configuration extension for artifactory settings. |
java.lang.Boolean |
assemblyEnabledSets whether or not the .NET Assembly Analyzer should be used. |
java.lang.Boolean |
autoconfEnabledSets whether or not the autoconf Analyzer should be used. |
java.lang.Boolean |
bundleAuditEnabledSets whether or not the Ruby Bundle Audit analyzer is enabled; requires running bundle audit. |
java.lang.Boolean |
centralEnabledSets whether Central Analyzer will be used. |
java.lang.Boolean |
cmakeEnabledSets whether or not the CMake Analyzer should be used. |
java.lang.Boolean |
cocoapodsEnabledSets whether or not the cocoapods analyzer is enabled. |
java.lang.Boolean |
composerEnabledSets whether or not the PHP Composer Lock File Analyzer should be used. |
java.lang.Boolean |
experimentalEnabledSets whether the experimental analyzers will be used. |
java.lang.Boolean |
golangDepEnabledSets whether the Golang Dependency analyzer is enabled. |
java.lang.Boolean |
golangModEnabledSets whether Golang Module Analyzer is enabled; this requires `go` to be installed. |
java.lang.Boolean |
jarEnabledSets whether Jar Analyzer will be used. |
java.lang.Boolean |
nexusEnabledSets whether Nexus Analyzer will be used. |
java.lang.String |
nexusUrlDefines the Nexus Server's web service end point (example http://domain.enterprise/service/local/). |
java.lang.Boolean |
nexusUsesProxyWhether or not the defined proxy should be used when connecting to Nexus. |
NodeAuditExtension |
nodeAuditThe configuration extension for the node audit settings. |
java.lang.Boolean |
nodeAuditEnabledSets whether or not the NSP Analyzer should be used. |
java.lang.Boolean |
nodeEnabledSets whether or not the Node.js Analyzer should be used. |
java.lang.Boolean |
nugetconfEnabledSets whether or not the Nuget packages.config Configuration Analyzer should be used. |
java.lang.Boolean |
nuspecEnabledSets whether or not the .NET Nuget Nuspec Analyzer will be used. |
java.lang.Boolean |
opensslEnabledSets whether or not the openssl Analyzer should be used. |
OssIndexExtension |
ossIndexThe configuration extension for artifactory settings. |
java.lang.Boolean |
ossIndexEnabledSets whether or not the OSS Index Analyzer should be used. |
java.lang.String |
pathToBundleAuditThe path to Ruby's bundle audit. |
java.lang.String |
pathToDotnetThe path to dotnet core - used to analyze dot net assemblies. |
java.lang.String |
pathToGoThe path to `go` - used to analyze go modules via `go mod`. |
org.gradle.api.Project |
project |
java.lang.Boolean |
pyDistributionEnabledSets whether the Python Distribution Analyzer will be used. |
java.lang.Boolean |
pyPackageEnabledSets whether the Python Package Analyzer will be used. |
RetireJSExtension |
retirejsThe configuration extension for retirejs settings. |
java.lang.Boolean |
rubygemsEnabledSets whether the Ruby Gemspec Analyzer will be used. |
java.lang.Boolean |
swiftEnabledSets whether or not the swift package manager is enabled. |
java.lang.String |
zipExtensionsA comma-separated list of additional file extensions to be treated like a ZIP file, the contents will be extracted and analyzed. |
| Constructor and description |
|---|
AnalyzerExtension
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
artifactory(groovy.lang.Closure configClosure)Allows programmatic configuration of the artifactory extension |
|
java.lang.Object |
nodeAudit(groovy.lang.Closure configClosure)Allows programmatic configuration of the nodeAudit extension |
|
java.lang.Object |
ossIndex(groovy.lang.Closure configClosure)Allows programmatic configuration of the ossIndex extension |
|
java.lang.Object |
retirejs(groovy.lang.Closure configClosure)Allows programmatic configuration of the retirejs extension |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Sets whether the Archive Analyzer will be used.
The configuration extension for artifactory settings.
Sets whether or not the .NET Assembly Analyzer should be used.
Sets whether or not the autoconf Analyzer should be used.
Sets whether or not the Ruby Bundle Audit analyzer is enabled; requires running bundle audit.
Sets whether Central Analyzer will be used. If this analyzer is being disabled there is a good chance you also want to disable the Nexus Analyzer (see below).
Sets whether or not the CMake Analyzer should be used.
Sets whether or not the cocoapods analyzer is enabled.
Sets whether or not the PHP Composer Lock File Analyzer should be used.
Sets whether the experimental analyzers will be used.
Sets whether the Golang Dependency analyzer is enabled. Default is true.
Sets whether Golang Module Analyzer is enabled; this requires `go` to be installed. Default is true.
Sets whether Jar Analyzer will be used.
Sets whether Nexus Analyzer will be used. This analyzer is superceded by the Central Analyzer; however, you can configure this to run against a Nexus Pro installation.
Defines the Nexus Server's web service end point (example http://domain.enterprise/service/local/). If not set the Nexus Analyzer will be disabled.
Whether or not the defined proxy should be used when connecting to Nexus.
The configuration extension for the node audit settings.
Sets whether or not the NSP Analyzer should be used.
Sets whether or not the Node.js Analyzer should be used.
Sets whether or not the Nuget packages.config Configuration Analyzer should be used.
Sets whether or not the .NET Nuget Nuspec Analyzer will be used.
Sets whether or not the openssl Analyzer should be used.
The configuration extension for artifactory settings.
Sets whether or not the OSS Index Analyzer should be used.
The path to Ruby's bundle audit.
The path to dotnet core - used to analyze dot net assemblies.
The path to `go` - used to analyze go modules via `go mod`.
Sets whether the Python Distribution Analyzer will be used.
Sets whether the Python Package Analyzer will be used.
The configuration extension for retirejs settings.
Sets whether the Ruby Gemspec Analyzer will be used.
Sets whether or not the swift package manager is enabled.
A comma-separated list of additional file extensions to be treated like a ZIP file, the contents will be extracted and analyzed.
Allows programmatic configuration of the artifactory extension
configClosure - the closure to configure the artifactory extensionAllows programmatic configuration of the nodeAudit extension
configClosure - the closure to configure the ossIndex extensionAllows programmatic configuration of the ossIndex extension
configClosure - the closure to configure the ossIndex extensionAllows programmatic configuration of the retirejs extension
configClosure - the closure to configure the retirejs extensionGroovy Documentation