@NotThreadSafe public class Check extends Update
| Modifier and Type | Class and Description |
|---|---|
static class |
Check.ReportFormats
An enumeration of supported report formats: "ALL", "HTML", "XML", "CSV",
"JSON", "JUNIT", "SARIF", etc..
|
| Constructor and Description |
|---|
Check()
Construct a new DependencyCheckTask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.tools.ant.types.ResourceCollection rc)
Add an arbitrary ResourceCollection.
|
void |
addConfiguredRetirejsFilter(RetirejsFilter retirejsFilter)
Add a regular expression to the set of retire JS content filters.
|
void |
addConfiguredSuppressionFile(SuppressionFile suppressionFile)
Add a suppression file.
|
void |
execute()
Executes the update by initializing the settings, downloads the NVD XML
data, and then processes the data storing it in the local database.
|
String |
getArtifactoryAnalyzerApiToken()
Returns the value of artifactoryAnalyzerApiToken.
|
String |
getArtifactoryAnalyzerBearerToken()
Returns the value of artifactoryAnalyzerBearerToken.
|
Boolean |
getArtifactoryAnalyzerEnabled()
Returns the value of artifactoryAnalyzerEnabled.
|
Boolean |
getArtifactoryAnalyzerParallelAnalysis()
Returns the value of artifactoryAnalyzerParallelAnalysis.
|
String |
getArtifactoryAnalyzerUrl()
Returns the value of artifactoryAnalyzerUrl.
|
Boolean |
getArtifactoryAnalyzerUseProxy()
Returns the value of artifactoryAnalyzerUseProxy.
|
String |
getArtifactoryAnalyzerUsername()
Returns the value of artifactoryAnalyzerUsername.
|
String |
getBundleAuditPath()
Returns the path to the bundle audit executable.
|
String |
getBundleAuditWorkingDirectory()
Returns the path to the working directory that the bundle audit
executable should be executed from.
|
float |
getFailBuildOnCVSS()
Get the value of failBuildOnCVSS.
|
String |
getHintsFile()
Get the value of hintsFile.
|
float |
getJunitFailOnCVSS()
Get the value of junitFailOnCVSS.
|
Boolean |
getMixAuditAnalyzerEnabled()
Get the value of mixAuditAnalyzerEnabled.
|
String |
getNexusPassword()
Get the value of nexusPassword.
|
String |
getNexusUrl()
Get the value of nexusUrl.
|
String |
getNexusUser()
Get the value of nexusUser.
|
String |
getOssindexAnalyzerPassword()
Get value of
ossindexAnalyzerPassword. |
String |
getOssindexAnalyzerUrl()
Get value of
ossindexAnalyzerUrl. |
String |
getOssindexAnalyzerUsername()
Get value of
ossindexAnalyzerUsername. |
String |
getPathToDotnetCore()
Get the value of pathToCore.
|
String |
getPathToGo()
Get the value of pathToCore.
|
String |
getPathToYarn()
Get the value of pathToYarn.
|
String |
getProjectName()
Get the value of projectName.
|
List<String> |
getReportFormats()
Get the value of reportFormats.
|
String |
getReportOutputDirectory()
Get the value of reportOutputDirectory.
|
List<String> |
getRetirejsFilters()
Gets retire JS Analyzers file content filters.
|
String |
getRetireJsUrl()
Get the value of Retire JS repository URL.
|
List<String> |
getSuppressionFiles()
Gets suppression file paths.
|
String |
getZipExtensions()
Get the value of zipExtensions.
|
Boolean |
isArchiveAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
Boolean |
isAssemblyAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
Boolean |
isAutoconfAnalyzerEnabled()
Get the value of autoconfAnalyzerEnabled.
|
Boolean |
isAutoUpdate()
Get the value of autoUpdate.
|
Boolean |
isBundleAuditAnalyzerEnabled()
Returns if the Bundle Audit Analyzer is enabled.
|
Boolean |
isCentralAnalyzerEnabled()
Get the value of centralAnalyzerEnabled.
|
Boolean |
isCentralAnalyzerUseCache()
Get the value of centralAnalyzerUseCache.
|
Boolean |
isCmakeAnalyzerEnabled()
Get the value of cmakeAnalyzerEnabled.
|
boolean |
isCocoapodsAnalyzerEnabled()
Returns if the cocoapods analyzer is enabled.
|
Boolean |
isComposerAnalyzerEnabled()
Get the value of composerAnalyzerEnabled.
|
Boolean |
isEnableExperimental()
Get the value of enableExperimental.
|
Boolean |
isEnableRetired()
Get the value of enableRetired.
|
Boolean |
isGolangDepEnabled()
Get the value of golangDepEnabled.
|
Boolean |
isGoModDepEnabled()
Get the value of golangModEnabled.
|
Boolean |
isJarAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
Boolean |
isMSBuildAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
Boolean |
isNexusAnalyzerEnabled()
Get the value of nexusAnalyzerEnabled.
|
Boolean |
isNexusUsesProxy()
Get the value of nexusUsesProxy.
|
Boolean |
isNodeAnalyzerEnabled()
Get the value of nodeAnalyzerEnabled.
|
Boolean |
isNodeAuditAnalyzerEnabled()
Get the value of nodeAuditAnalyzerEnabled.
|
Boolean |
isNodeAuditAnalyzerSkipDevDependencies()
Get the value of nodeAuditSkipDevDependencies.
|
Boolean |
isNodeAuditAnalyzerUseCache()
Get the value of nodeAuditAnalyzerUseCache.
|
Boolean |
isNugetconfAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
Boolean |
isNuspecAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
Boolean |
isOpensslAnalyzerEnabled()
Get the value of opensslAnalyzerEnabled.
|
Boolean |
isOssindexAnalyzerEnabled()
Get value of
ossindexAnalyzerEnabled. |
Boolean |
isOssindexAnalyzerUseCache()
Get value of
ossindexAnalyzerUseCache. |
Boolean |
isPipAnalyzerEnabled()
Get the value of pipAnalyzerEnabled.
|
Boolean |
isPipfileAnalyzerEnabled()
Get the value of pipfileAnalyzerEnabled.
|
Boolean |
isPrettyPrint()
Get the value of prettyPrint.
|
Boolean |
isPyDistributionAnalyzerEnabled()
Get the value of pyDistributionAnalyzerEnabled.
|
Boolean |
isPyPackageAnalyzerEnabled()
Get the value of pyPackageAnalyzerEnabled.
|
boolean |
isReference()
Learn whether the refId attribute of this element been set.
|
Boolean |
isRetireJsAnalyzerEnabled()
Get the value of retireJsAnalyzerEnabled.
|
Boolean |
isRetireJsAnalyzerForceUpdate()
Get the value of retireJsAnalyzerEnabled.
|
Boolean |
isRetirejsFilterNonVulnerable()
Get the value of retirejsFilterNonVulnerable.
|
Boolean |
isRubygemsAnalyzerEnabled()
Get the value of rubygemsAnalyzerEnabled.
|
boolean |
isShowSummary()
Get the value of showSummary.
|
Boolean |
isSwiftPackageManagerAnalyzerEnabled()
Returns whether or not the Swift package Analyzer is enabled.
|
Boolean |
isYarnAuditAnalyzerEnabled()
Get the value of yarnAuditAnalyzerEnabled.
|
protected void |
populateSettings()
Takes the properties supplied and updates the dependency-check settings.
|
void |
setArchiveAnalyzerEnabled(Boolean archiveAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setArtifactoryAnalyzerApiToken(String artifactoryAnalyzerApiToken)
Set the value of artifactoryAnalyzerApiToken.
|
void |
setArtifactoryAnalyzerBearerToken(String artifactoryAnalyzerBearerToken)
Set the value of artifactoryAnalyzerBearerToken.
|
void |
setArtifactoryAnalyzerEnabled(Boolean artifactoryAnalyzerEnabled)
Set the value of artifactoryAnalyzerEnabled.
|
void |
setArtifactoryAnalyzerParallelAnalysis(Boolean artifactoryAnalyzerParallelAnalysis)
Set the value of artifactoryAnalyzerParallelAnalysis.
|
void |
setArtifactoryAnalyzerUrl(String artifactoryAnalyzerUrl)
Set the value of artifactoryAnalyzerUrl.
|
void |
setArtifactoryAnalyzerUseProxy(Boolean artifactoryAnalyzerUseProxy)
Set the value of artifactoryAnalyzerUseProxy.
|
void |
setArtifactoryAnalyzerUsername(String artifactoryAnalyzerUsername)
Set the value of artifactoryAnalyzerUsername.
|
void |
setAssemblyAnalyzerEnabled(Boolean assemblyAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setAutoconfAnalyzerEnabled(Boolean autoconfAnalyzerEnabled)
Set the value of autoconfAnalyzerEnabled.
|
void |
setAutoUpdate(Boolean autoUpdate)
Set the value of autoUpdate.
|
void |
setBundleAuditAnalyzerEnabled(Boolean bundleAuditAnalyzerEnabled)
Sets if the Bundle Audit Analyzer is enabled.
|
void |
setBundleAuditPath(String bundleAuditPath)
Sets the path to the bundle audit executable.
|
void |
setBundleAuditWorkingDirectory(String bundleAuditWorkingDirectory)
Sets the path to the working directory that the bundle audit executable
should be executed from.
|
void |
setCentralAnalyzerEnabled(Boolean centralAnalyzerEnabled)
Set the value of centralAnalyzerEnabled.
|
void |
setCentralAnalyzerUseCache(Boolean centralAnalyzerUseCache)
Set the value of centralAnalyzerUseCache.
|
void |
setCmakeAnalyzerEnabled(Boolean cmakeAnalyzerEnabled)
Set the value of cmakeAnalyzerEnabled.
|
void |
setCocoapodsAnalyzerEnabled(Boolean cocoapodsAnalyzerEnabled)
Sets whether or not the cocoapods analyzer is enabled.
|
void |
setComposerAnalyzerEnabled(Boolean composerAnalyzerEnabled)
Set the value of composerAnalyzerEnabled.
|
void |
setEnableExperimental(Boolean enableExperimental)
Set the value of enableExperimental.
|
void |
setEnableRetired(Boolean enableRetired)
Set the value of enableRetired.
|
void |
setFailBuildOnCVSS(float failBuildOnCVSS)
Set the value of failBuildOnCVSS.
|
void |
setGolangDepEnabled(Boolean golangDepEnabled)
Set the value of golangDepEnabled.
|
void |
setGolangModEnabled(Boolean golangModEnabled)
Set the value of golangModEnabled.
|
void |
setHintsFile(String hintsFile)
Set the value of hintsFile.
|
void |
setJarAnalyzerEnabled(Boolean jarAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setJunitFailOnCVSS(float junitFailOnCVSS)
Set the value of junitFailOnCVSS.
|
void |
setMixAuditAnalyzerEnabled(Boolean mixAuditAnalyzerEnabled)
Set the value of mixAuditAnalyzerEnabled.
|
void |
setMSBuildAnalyzerEnabled(Boolean msbuildAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setNexusAnalyzerEnabled(Boolean nexusAnalyzerEnabled)
Set the value of nexusAnalyzerEnabled.
|
void |
setNexusPassword(String nexusPassword)
Set the value of nexusPassword.
|
void |
setNexusUrl(String nexusUrl)
Set the value of nexusUrl.
|
void |
setNexusUser(String nexusUser)
Set the value of nexusUser.
|
void |
setNexusUsesProxy(Boolean nexusUsesProxy)
Set the value of nexusUsesProxy.
|
void |
setNodeAnalyzerEnabled(Boolean nodeAnalyzerEnabled)
Set the value of nodeAnalyzerEnabled.
|
void |
setNodeAuditAnalyzerEnabled(Boolean nodeAuditAnalyzerEnabled)
Set the value of nodeAuditAnalyzerEnabled.
|
void |
setNodeAuditAnalyzerUseCache(Boolean nodeAuditAnalyzerUseCache)
Set the value of nodeAuditAnalyzerUseCache.
|
void |
setNodeAuditSkipDevDependencies(Boolean nodeAuditSkipDevDependencies)
Set the value of nodeAuditSkipDevDependencies.
|
void |
setNugetconfAnalyzerEnabled(Boolean nugetconfAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setNuspecAnalyzerEnabled(Boolean nuspecAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setOpensslAnalyzerEnabled(Boolean opensslAnalyzerEnabled)
Set the value of opensslAnalyzerEnabled.
|
void |
setOssindexAnalyzerEnabled(Boolean ossindexAnalyzerEnabled)
Set value of
ossindexAnalyzerEnabled. |
void |
setOssindexAnalyzerPassword(String ossindexAnalyzerPassword)
Set value of
ossindexAnalyzerPassword. |
void |
setOssindexAnalyzerUrl(String ossindexAnalyzerUrl)
Set value of
ossindexAnalyzerUrl. |
void |
setOssindexAnalyzerUseCache(Boolean ossindexAnalyzerUseCache)
Set value of
ossindexAnalyzerUseCache. |
void |
setOssindexAnalyzerUsername(String ossindexAnalyzerUsername)
Set value of
ossindexAnalyzerUsername. |
void |
setPathToDotnetCore(String pathToCore)
Set the value of pathToCore.
|
void |
setPathToGo(String pathToGo)
Set the value of pathToGo.
|
void |
setPathToYarn(String pathToYarn)
Set the value of pathToYarn.
|
void |
setPipAnalyzerEnabled(Boolean pipAnalyzerEnabled)
Set the value of pipAnalyzerEnabled.
|
void |
setPipfileAnalyzerEnabled(Boolean pipfileAnalyzerEnabled)
Set the value of pipfileAnalyzerEnabled.
|
void |
setPrettyPrint(boolean prettyPrint)
Set the value of prettyPrint.
|
void |
setProjectName(String projectName)
Set the value of projectName.
|
void |
setPyDistributionAnalyzerEnabled(Boolean pyDistributionAnalyzerEnabled)
Set the value of pyDistributionAnalyzerEnabled.
|
void |
setPyPackageAnalyzerEnabled(Boolean pyPackageAnalyzerEnabled)
Set the value of pyPackageAnalyzerEnabled.
|
void |
setRefId(org.apache.tools.ant.types.Reference r)
Add a reference to a Path, FileSet, DirSet, or FileList defined
elsewhere.
|
void |
setReportFormat(Check.ReportFormats reportFormat)
Set the value of reportFormat.
|
void |
setReportOutputDirectory(String reportOutputDirectory)
Set the value of reportOutputDirectory.
|
void |
setRetireJsAnalyzerEnabled(Boolean retireJsAnalyzerEnabled)
Set the value of retireJsAnalyzerEnabled.
|
void |
setRetireJsAnalyzerForceUpdate(Boolean retireJsAnalyzerForceUpdate)
Set the value of retireJsAnalyzerForceUpdate.
|
void |
setRetirejsFilterNonVulnerable(Boolean retirejsFilterNonVulnerable)
Set the value of retirejsFilterNonVulnerable.
|
void |
setRetireJsUrl(String retireJsUrl)
Set the value of the Retire JS repository URL.
|
void |
setRubygemsAnalyzerEnabled(Boolean rubygemsAnalyzerEnabled)
Set the value of rubygemsAnalyzerEnabled.
|
void |
setShowSummary(boolean showSummary)
Set the value of showSummary.
|
void |
setSuppressionFile(String suppressionFile)
Set the value of suppressionFile.
|
void |
setSwiftPackageManagerAnalyzerEnabled(Boolean swiftPackageManagerAnalyzerEnabled)
Sets the enabled state of the swift package manager analyzer.
|
void |
setYarnAuditAnalyzerEnabled(Boolean yarnAuditAnalyzerEnabled)
Set the value of yarnAuditAnalyzerEnabled.
|
void |
setZipExtensions(String zipExtensions)
Set the value of zipExtensions.
|
getConnectionString, getConnectionTimeout, getCveUrlBase, getCveUrlModified, getCveValidForHours, getDatabaseDriverName, getDatabaseDriverPath, getDatabasePassword, getDatabaseUser, getNonProxyHosts, getProxyPassword, getProxyPort, getProxyServer, getProxyUsername, setConnectionString, setConnectionTimeout, setCveUrlBase, setCveUrlModified, setCveValidForHours, setDatabaseDriverName, setDatabaseDriverPath, setDatabasePassword, setDatabaseUser, setNonProxyHosts, setProxyPassword, setProxyPort, setProxyServer, setProxyUsernamegetDataDirectory, getSettings, isFailOnError, setDataDirectory, setFailOnErrorbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void add(org.apache.tools.ant.types.ResourceCollection rc)
rc - the ResourceCollection to add.public void addConfiguredSuppressionFile(SuppressionFile suppressionFile)
This is called by Ant with the configured SuppressionFile.
suppressionFile - the suppression file to add.public boolean isReference()
public void setRefId(org.apache.tools.ant.types.Reference r)
r - the reference to a path, fileset, dirset or filelist.public String getProjectName()
public void setProjectName(String projectName)
projectName - new value of projectNamepublic String getReportOutputDirectory()
public void setReportOutputDirectory(String reportOutputDirectory)
reportOutputDirectory - new value of reportOutputDirectorypublic float getFailBuildOnCVSS()
public void setFailBuildOnCVSS(float failBuildOnCVSS)
failBuildOnCVSS - new value of failBuildOnCVSSpublic float getJunitFailOnCVSS()
public void setJunitFailOnCVSS(float junitFailOnCVSS)
junitFailOnCVSS - new value of junitFailOnCVSSpublic Boolean isAutoUpdate()
public void setAutoUpdate(Boolean autoUpdate)
autoUpdate - new value of autoUpdatepublic Boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
prettyPrint - new value of prettyPrintpublic void setReportFormat(Check.ReportFormats reportFormat)
reportFormat - new value of reportFormatpublic List<String> getReportFormats()
public List<String> getSuppressionFiles()
public void setSuppressionFile(String suppressionFile)
suppressionFile - new value of suppressionFilepublic String getHintsFile()
public void setHintsFile(String hintsFile)
hintsFile - new value of hintsFilepublic boolean isShowSummary()
public void setShowSummary(boolean showSummary)
showSummary - new value of showSummarypublic Boolean isEnableExperimental()
public void setEnableExperimental(Boolean enableExperimental)
enableExperimental - new value of enableExperimentalpublic Boolean isEnableRetired()
public void setEnableRetired(Boolean enableRetired)
enableRetired - new value of enableRetiredpublic Boolean isJarAnalyzerEnabled()
public void setJarAnalyzerEnabled(Boolean jarAnalyzerEnabled)
jarAnalyzerEnabled - the value of the new settingpublic Boolean isArchiveAnalyzerEnabled()
public void setArchiveAnalyzerEnabled(Boolean archiveAnalyzerEnabled)
archiveAnalyzerEnabled - the value of the new settingpublic Boolean isAssemblyAnalyzerEnabled()
public void setAssemblyAnalyzerEnabled(Boolean assemblyAnalyzerEnabled)
assemblyAnalyzerEnabled - the value of the new settingpublic Boolean isMSBuildAnalyzerEnabled()
public void setMSBuildAnalyzerEnabled(Boolean msbuildAnalyzerEnabled)
msbuildAnalyzerEnabled - the value of the new settingpublic Boolean isNuspecAnalyzerEnabled()
public Boolean isNugetconfAnalyzerEnabled()
public void setNuspecAnalyzerEnabled(Boolean nuspecAnalyzerEnabled)
nuspecAnalyzerEnabled - the value of the new settingpublic void setNugetconfAnalyzerEnabled(Boolean nugetconfAnalyzerEnabled)
nugetconfAnalyzerEnabled - the value of the new settingpublic Boolean isComposerAnalyzerEnabled()
public void setComposerAnalyzerEnabled(Boolean composerAnalyzerEnabled)
composerAnalyzerEnabled - new value of composerAnalyzerEnabledpublic Boolean isAutoconfAnalyzerEnabled()
public void setAutoconfAnalyzerEnabled(Boolean autoconfAnalyzerEnabled)
autoconfAnalyzerEnabled - new value of autoconfAnalyzerEnabledpublic Boolean isPipAnalyzerEnabled()
public void setPipAnalyzerEnabled(Boolean pipAnalyzerEnabled)
pipAnalyzerEnabled - new value of pipAnalyzerEnabledpublic Boolean isPipfileAnalyzerEnabled()
public void setPipfileAnalyzerEnabled(Boolean pipfileAnalyzerEnabled)
pipfileAnalyzerEnabled - new value of pipfileAnalyzerEnabledpublic Boolean isBundleAuditAnalyzerEnabled()
public void setBundleAuditAnalyzerEnabled(Boolean bundleAuditAnalyzerEnabled)
bundleAuditAnalyzerEnabled - whether or not the analyzer should be
enabledpublic String getBundleAuditPath()
public void setBundleAuditPath(String bundleAuditPath)
bundleAuditPath - the path to the bundle audit executablepublic void setBundleAuditWorkingDirectory(String bundleAuditWorkingDirectory)
bundleAuditWorkingDirectory - the path to the working directory that
the bundle audit executable should be executed from.public String getBundleAuditWorkingDirectory()
public boolean isCocoapodsAnalyzerEnabled()
public void setCocoapodsAnalyzerEnabled(Boolean cocoapodsAnalyzerEnabled)
cocoapodsAnalyzerEnabled - the state of the cocoapods analyzerpublic Boolean isSwiftPackageManagerAnalyzerEnabled()
public void setSwiftPackageManagerAnalyzerEnabled(Boolean swiftPackageManagerAnalyzerEnabled)
swiftPackageManagerAnalyzerEnabled - the enabled state of the swift
package managerpublic Boolean isOpensslAnalyzerEnabled()
public void setOpensslAnalyzerEnabled(Boolean opensslAnalyzerEnabled)
opensslAnalyzerEnabled - new value of opensslAnalyzerEnabledpublic Boolean isNodeAnalyzerEnabled()
public void setNodeAnalyzerEnabled(Boolean nodeAnalyzerEnabled)
nodeAnalyzerEnabled - new value of nodeAnalyzerEnabledpublic Boolean isNodeAuditAnalyzerEnabled()
public void setNodeAuditAnalyzerEnabled(Boolean nodeAuditAnalyzerEnabled)
nodeAuditAnalyzerEnabled - new value of nodeAuditAnalyzerEnabledpublic Boolean isYarnAuditAnalyzerEnabled()
public void setYarnAuditAnalyzerEnabled(Boolean yarnAuditAnalyzerEnabled)
yarnAuditAnalyzerEnabled - new value of yarnAuditAnalyzerEnabledpublic Boolean isNodeAuditAnalyzerUseCache()
public void setNodeAuditAnalyzerUseCache(Boolean nodeAuditAnalyzerUseCache)
nodeAuditAnalyzerUseCache - new value of nodeAuditAnalyzerUseCachepublic Boolean isNodeAuditAnalyzerSkipDevDependencies()
public void setNodeAuditSkipDevDependencies(Boolean nodeAuditSkipDevDependencies)
nodeAuditSkipDevDependencies - new value of
nodeAuditSkipDevDependenciespublic Boolean isRetireJsAnalyzerEnabled()
public void setRetireJsAnalyzerEnabled(Boolean retireJsAnalyzerEnabled)
retireJsAnalyzerEnabled - new value of retireJsAnalyzerEnabledpublic String getRetireJsUrl()
public void setRetireJsUrl(String retireJsUrl)
retireJsUrl - new value of retireJsUrlpublic Boolean isRetireJsAnalyzerForceUpdate()
public void setRetireJsAnalyzerForceUpdate(Boolean retireJsAnalyzerForceUpdate)
retireJsAnalyzerForceUpdate - new value of
retireJsAnalyzerForceUpdatepublic Boolean isRetirejsFilterNonVulnerable()
public void setRetirejsFilterNonVulnerable(Boolean retirejsFilterNonVulnerable)
retirejsFilterNonVulnerable - new value of
retirejsFilterNonVulnerablepublic List<String> getRetirejsFilters()
public void addConfiguredRetirejsFilter(RetirejsFilter retirejsFilter)
This is called by Ant.
retirejsFilter - the regular expression used to filter based on file
contentpublic Boolean isRubygemsAnalyzerEnabled()
public void setRubygemsAnalyzerEnabled(Boolean rubygemsAnalyzerEnabled)
rubygemsAnalyzerEnabled - new value of rubygemsAnalyzerEnabledpublic Boolean isPyPackageAnalyzerEnabled()
public void setPyPackageAnalyzerEnabled(Boolean pyPackageAnalyzerEnabled)
pyPackageAnalyzerEnabled - new value of pyPackageAnalyzerEnabledpublic Boolean isPyDistributionAnalyzerEnabled()
public void setPyDistributionAnalyzerEnabled(Boolean pyDistributionAnalyzerEnabled)
pyDistributionAnalyzerEnabled - new value of
pyDistributionAnalyzerEnabledpublic Boolean getMixAuditAnalyzerEnabled()
public void setMixAuditAnalyzerEnabled(Boolean mixAuditAnalyzerEnabled)
mixAuditAnalyzerEnabled - new value of mixAuditAnalyzerEnabledpublic Boolean isCentralAnalyzerEnabled()
public void setCentralAnalyzerEnabled(Boolean centralAnalyzerEnabled)
centralAnalyzerEnabled - new value of centralAnalyzerEnabledpublic Boolean isCentralAnalyzerUseCache()
public void setCentralAnalyzerUseCache(Boolean centralAnalyzerUseCache)
centralAnalyzerUseCache - new value of centralAnalyzerUseCachepublic Boolean isNexusAnalyzerEnabled()
public void setNexusAnalyzerEnabled(Boolean nexusAnalyzerEnabled)
nexusAnalyzerEnabled - new value of nexusAnalyzerEnabledpublic Boolean isGolangDepEnabled()
public void setGolangDepEnabled(Boolean golangDepEnabled)
golangDepEnabled - new value of golangDepEnabledpublic Boolean isGoModDepEnabled()
public void setGolangModEnabled(Boolean golangModEnabled)
golangModEnabled - new value of golangModEnabledpublic String getPathToYarn()
public void setPathToYarn(String pathToYarn)
pathToYarn - new value of pathToYarnpublic String getPathToGo()
public void setPathToGo(String pathToGo)
pathToGo - new value of pathToGopublic String getNexusUrl()
public void setNexusUrl(String nexusUrl)
nexusUrl - new value of nexusUrlpublic String getNexusUser()
public void setNexusUser(String nexusUser)
nexusUser - new value of nexusUserpublic String getNexusPassword()
public void setNexusPassword(String nexusPassword)
nexusPassword - new value of nexusPasswordpublic Boolean isNexusUsesProxy()
public void setNexusUsesProxy(Boolean nexusUsesProxy)
nexusUsesProxy - new value of nexusUsesProxypublic String getZipExtensions()
public void setZipExtensions(String zipExtensions)
zipExtensions - new value of zipExtensionspublic String getPathToDotnetCore()
public void setPathToDotnetCore(String pathToCore)
pathToCore - new value of pathToCorepublic Boolean isOssindexAnalyzerEnabled()
ossindexAnalyzerEnabled.public void setOssindexAnalyzerEnabled(Boolean ossindexAnalyzerEnabled)
ossindexAnalyzerEnabled.ossindexAnalyzerEnabled - new value of ossindexAnalyzerEnabledpublic Boolean isOssindexAnalyzerUseCache()
ossindexAnalyzerUseCache.public void setOssindexAnalyzerUseCache(Boolean ossindexAnalyzerUseCache)
ossindexAnalyzerUseCache.ossindexAnalyzerUseCache - new value of ossindexAnalyzerUseCachepublic String getOssindexAnalyzerUrl()
ossindexAnalyzerUrl.public void setOssindexAnalyzerUrl(String ossindexAnalyzerUrl)
ossindexAnalyzerUrl.ossindexAnalyzerUrl - new value of ossindexAnalyzerUrlpublic String getOssindexAnalyzerUsername()
ossindexAnalyzerUsername.public void setOssindexAnalyzerUsername(String ossindexAnalyzerUsername)
ossindexAnalyzerUsername.ossindexAnalyzerUsername - new value of ossindexAnalyzerUsernamepublic String getOssindexAnalyzerPassword()
ossindexAnalyzerPassword.public void setOssindexAnalyzerPassword(String ossindexAnalyzerPassword)
ossindexAnalyzerPassword.ossindexAnalyzerPassword - new value of ossindexAnalyzerPasswordpublic Boolean isCmakeAnalyzerEnabled()
public void setCmakeAnalyzerEnabled(Boolean cmakeAnalyzerEnabled)
cmakeAnalyzerEnabled - new value of cmakeAnalyzerEnabledpublic Boolean getArtifactoryAnalyzerEnabled()
public void setArtifactoryAnalyzerEnabled(Boolean artifactoryAnalyzerEnabled)
artifactoryAnalyzerEnabled - new value of artifactoryAnalyzerEnabledpublic String getArtifactoryAnalyzerUrl()
public void setArtifactoryAnalyzerUrl(String artifactoryAnalyzerUrl)
artifactoryAnalyzerUrl - new value of artifactoryAnalyzerUrlpublic Boolean getArtifactoryAnalyzerUseProxy()
public void setArtifactoryAnalyzerUseProxy(Boolean artifactoryAnalyzerUseProxy)
artifactoryAnalyzerUseProxy - new value of
artifactoryAnalyzerUseProxypublic Boolean getArtifactoryAnalyzerParallelAnalysis()
public void setArtifactoryAnalyzerParallelAnalysis(Boolean artifactoryAnalyzerParallelAnalysis)
artifactoryAnalyzerParallelAnalysis - new value of
artifactoryAnalyzerParallelAnalysispublic String getArtifactoryAnalyzerUsername()
public void setArtifactoryAnalyzerUsername(String artifactoryAnalyzerUsername)
artifactoryAnalyzerUsername - new value of
artifactoryAnalyzerUsernamepublic String getArtifactoryAnalyzerApiToken()
public void setArtifactoryAnalyzerApiToken(String artifactoryAnalyzerApiToken)
artifactoryAnalyzerApiToken - new value of
artifactoryAnalyzerApiTokenpublic String getArtifactoryAnalyzerBearerToken()
public void setArtifactoryAnalyzerBearerToken(String artifactoryAnalyzerBearerToken)
artifactoryAnalyzerBearerToken - new value of
artifactoryAnalyzerBearerTokenpublic void execute()
throws org.apache.tools.ant.BuildException
Updateprotected void populateSettings()
throws org.apache.tools.ant.BuildException
populateSettings in class Updateorg.apache.tools.ant.BuildException - thrown when an invalid setting is configured.Copyright © 2012–2021 OWASP. All rights reserved.