@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.
|
java.lang.String |
getArtifactoryAnalyzerApiToken()
Returns the value of artifactoryAnalyzerApiToken.
|
java.lang.String |
getArtifactoryAnalyzerBearerToken()
Returns the value of artifactoryAnalyzerBearerToken.
|
java.lang.Boolean |
getArtifactoryAnalyzerEnabled()
Returns the value of artifactoryAnalyzerEnabled.
|
java.lang.Boolean |
getArtifactoryAnalyzerParallelAnalysis()
Returns the value of artifactoryAnalyzerParallelAnalysis.
|
java.lang.String |
getArtifactoryAnalyzerUrl()
Returns the value of artifactoryAnalyzerUrl.
|
java.lang.Boolean |
getArtifactoryAnalyzerUseProxy()
Returns the value of artifactoryAnalyzerUseProxy.
|
java.lang.String |
getArtifactoryAnalyzerUsername()
Returns the value of artifactoryAnalyzerUsername.
|
java.lang.String |
getBundleAuditPath()
Returns the path to the bundle audit executable.
|
java.lang.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.
|
java.lang.String |
getHintsFile()
Get the value of hintsFile.
|
float |
getJunitFailOnCVSS()
Get the value of junitFailOnCVSS.
|
java.lang.Boolean |
getMixAuditAnalyzerEnabled()
Get the value of mixAuditAnalyzerEnabled.
|
java.lang.String |
getNexusPassword()
Get the value of nexusPassword.
|
java.lang.String |
getNexusUrl()
Get the value of nexusUrl.
|
java.lang.String |
getNexusUser()
Get the value of nexusUser.
|
java.lang.String |
getOssindexAnalyzerPassword()
Get value of
ossindexAnalyzerPassword. |
java.lang.String |
getOssindexAnalyzerUrl()
Get value of
ossindexAnalyzerUrl. |
java.lang.String |
getOssindexAnalyzerUsername()
Get value of
ossindexAnalyzerUsername. |
java.lang.Boolean |
getOssIndexWarnOnlyOnRemoteErrors()
Get value of
ossIndexAnalyzerWarnOnlyOnRemoteErrors. |
java.lang.String |
getPathToDotnetCore()
Get the value of pathToCore.
|
java.lang.String |
getPathToGo()
Get the value of pathToCore.
|
java.lang.String |
getPathToPnpm()
Get the value of pathToPnpm.
|
java.lang.String |
getPathToYarn()
Get the value of pathToYarn.
|
java.lang.String |
getProjectName()
Get the value of projectName.
|
java.util.List<java.lang.String> |
getReportFormats()
Get the value of reportFormats.
|
java.lang.String |
getReportOutputDirectory()
Get the value of reportOutputDirectory.
|
java.util.List<java.lang.String> |
getRetirejsFilters()
Gets retire JS Analyzers file content filters.
|
java.lang.String |
getRetireJsUrl()
Get the value of Retire JS repository URL.
|
java.util.List<java.lang.String> |
getSuppressionFiles()
Gets suppression file paths.
|
java.lang.String |
getZipExtensions()
Get the value of zipExtensions.
|
java.lang.Boolean |
isArchiveAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
java.lang.Boolean |
isAssemblyAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
java.lang.Boolean |
isAutoconfAnalyzerEnabled()
Get the value of autoconfAnalyzerEnabled.
|
java.lang.Boolean |
isAutoUpdate()
Get the value of autoUpdate.
|
java.lang.Boolean |
isBundleAuditAnalyzerEnabled()
Returns if the Bundle Audit Analyzer is enabled.
|
java.lang.Boolean |
isCentralAnalyzerEnabled()
Get the value of centralAnalyzerEnabled.
|
java.lang.Boolean |
isCentralAnalyzerUseCache()
Get the value of centralAnalyzerUseCache.
|
java.lang.Boolean |
isCmakeAnalyzerEnabled()
Get the value of cmakeAnalyzerEnabled.
|
boolean |
isCocoapodsAnalyzerEnabled()
Returns if the cocoapods analyzer is enabled.
|
java.lang.Boolean |
isComposerAnalyzerEnabled()
Get the value of composerAnalyzerEnabled.
|
java.lang.Boolean |
isCpanfileAnalyzerEnabled()
Get the value of cpanfileAnalyzerEnabled.
|
java.lang.Boolean |
isEnableExperimental()
Get the value of enableExperimental.
|
java.lang.Boolean |
isEnableRetired()
Get the value of enableRetired.
|
java.lang.Boolean |
isGolangDepEnabled()
Get the value of golangDepEnabled.
|
java.lang.Boolean |
isGoModDepEnabled()
Get the value of golangModEnabled.
|
java.lang.Boolean |
isJarAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
java.lang.Boolean |
isMSBuildAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
java.lang.Boolean |
isNexusAnalyzerEnabled()
Get the value of nexusAnalyzerEnabled.
|
java.lang.Boolean |
isNexusUsesProxy()
Get the value of nexusUsesProxy.
|
java.lang.Boolean |
isNodeAnalyzerEnabled()
Get the value of nodeAnalyzerEnabled.
|
java.lang.Boolean |
isNodeAuditAnalyzerEnabled()
Get the value of nodeAuditAnalyzerEnabled.
|
java.lang.Boolean |
isNodeAuditAnalyzerSkipDevDependencies()
Get the value of nodeAuditSkipDevDependencies.
|
java.lang.Boolean |
isNodeAuditAnalyzerUseCache()
Get the value of nodeAuditAnalyzerUseCache.
|
java.lang.Boolean |
isNodePackageAnalyzerSkipDevDependencies()
Get the value of nodePackageSkipDevDependencies.
|
java.lang.Boolean |
isNugetconfAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
java.lang.Boolean |
isNuspecAnalyzerEnabled()
Returns whether or not the analyzer is enabled.
|
java.lang.Boolean |
isOpensslAnalyzerEnabled()
Get the value of opensslAnalyzerEnabled.
|
java.lang.Boolean |
isOssindexAnalyzerEnabled()
Get value of
ossindexAnalyzerEnabled. |
java.lang.Boolean |
isOssindexAnalyzerUseCache()
Get value of
ossindexAnalyzerUseCache. |
java.lang.Boolean |
isPipAnalyzerEnabled()
Get the value of pipAnalyzerEnabled.
|
java.lang.Boolean |
isPipfileAnalyzerEnabled()
Get the value of pipfileAnalyzerEnabled.
|
java.lang.Boolean |
isPnpmAuditAnalyzerEnabled()
Get the value of pnpmAuditAnalyzerEnabled.
|
java.lang.Boolean |
isPrettyPrint()
Get the value of prettyPrint.
|
java.lang.Boolean |
isPyDistributionAnalyzerEnabled()
Get the value of pyDistributionAnalyzerEnabled.
|
java.lang.Boolean |
isPyPackageAnalyzerEnabled()
Get the value of pyPackageAnalyzerEnabled.
|
boolean |
isReference()
Learn whether the refId attribute of this element been set.
|
java.lang.Boolean |
isRetireJsAnalyzerEnabled()
Get the value of retireJsAnalyzerEnabled.
|
java.lang.Boolean |
isRetireJsAnalyzerForceUpdate()
Get the value of retireJsAnalyzerEnabled.
|
java.lang.Boolean |
isRetirejsFilterNonVulnerable()
Get the value of retirejsFilterNonVulnerable.
|
java.lang.Boolean |
isRubygemsAnalyzerEnabled()
Get the value of rubygemsAnalyzerEnabled.
|
boolean |
isShowSummary()
Get the value of showSummary.
|
java.lang.Boolean |
isSwiftPackageManagerAnalyzerEnabled()
Returns whether or not the Swift package Analyzer is enabled.
|
java.lang.Boolean |
isSwiftPackageResolvedAnalyzerEnabled()
Returns whether or not the Swift package resolved Analyzer is enabled.
|
java.lang.Boolean |
isYarnAuditAnalyzerEnabled()
Get the value of yarnAuditAnalyzerEnabled.
|
protected void |
populateSettings()
Takes the properties supplied and updates the dependency-check settings.
|
void |
setArchiveAnalyzerEnabled(java.lang.Boolean archiveAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setArtifactoryAnalyzerApiToken(java.lang.String artifactoryAnalyzerApiToken)
Set the value of artifactoryAnalyzerApiToken.
|
void |
setArtifactoryAnalyzerBearerToken(java.lang.String artifactoryAnalyzerBearerToken)
Set the value of artifactoryAnalyzerBearerToken.
|
void |
setArtifactoryAnalyzerEnabled(java.lang.Boolean artifactoryAnalyzerEnabled)
Set the value of artifactoryAnalyzerEnabled.
|
void |
setArtifactoryAnalyzerParallelAnalysis(java.lang.Boolean artifactoryAnalyzerParallelAnalysis)
Set the value of artifactoryAnalyzerParallelAnalysis.
|
void |
setArtifactoryAnalyzerUrl(java.lang.String artifactoryAnalyzerUrl)
Set the value of artifactoryAnalyzerUrl.
|
void |
setArtifactoryAnalyzerUseProxy(java.lang.Boolean artifactoryAnalyzerUseProxy)
Set the value of artifactoryAnalyzerUseProxy.
|
void |
setArtifactoryAnalyzerUsername(java.lang.String artifactoryAnalyzerUsername)
Set the value of artifactoryAnalyzerUsername.
|
void |
setAssemblyAnalyzerEnabled(java.lang.Boolean assemblyAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setAutoconfAnalyzerEnabled(java.lang.Boolean autoconfAnalyzerEnabled)
Set the value of autoconfAnalyzerEnabled.
|
void |
setAutoUpdate(java.lang.Boolean autoUpdate)
Set the value of autoUpdate.
|
void |
setBundleAuditAnalyzerEnabled(java.lang.Boolean bundleAuditAnalyzerEnabled)
Sets if the Bundle Audit Analyzer is enabled.
|
void |
setBundleAuditPath(java.lang.String bundleAuditPath)
Sets the path to the bundle audit executable.
|
void |
setBundleAuditWorkingDirectory(java.lang.String bundleAuditWorkingDirectory)
Sets the path to the working directory that the bundle audit executable
should be executed from.
|
void |
setCentralAnalyzerEnabled(java.lang.Boolean centralAnalyzerEnabled)
Set the value of centralAnalyzerEnabled.
|
void |
setCentralAnalyzerUseCache(java.lang.Boolean centralAnalyzerUseCache)
Set the value of centralAnalyzerUseCache.
|
void |
setCmakeAnalyzerEnabled(java.lang.Boolean cmakeAnalyzerEnabled)
Set the value of cmakeAnalyzerEnabled.
|
void |
setCocoapodsAnalyzerEnabled(java.lang.Boolean cocoapodsAnalyzerEnabled)
Sets whether or not the cocoapods analyzer is enabled.
|
void |
setComposerAnalyzerEnabled(java.lang.Boolean composerAnalyzerEnabled)
Set the value of composerAnalyzerEnabled.
|
void |
setCpanfileAnalyzerEnabled(java.lang.Boolean cpanfileAnalyzerEnabled)
Set the value of cpanfileAnalyzerEnabled.
|
void |
setEnableExperimental(java.lang.Boolean enableExperimental)
Set the value of enableExperimental.
|
void |
setEnableRetired(java.lang.Boolean enableRetired)
Set the value of enableRetired.
|
void |
setFailBuildOnCVSS(float failBuildOnCVSS)
Set the value of failBuildOnCVSS.
|
void |
setGolangDepEnabled(java.lang.Boolean golangDepEnabled)
Set the value of golangDepEnabled.
|
void |
setGolangModEnabled(java.lang.Boolean golangModEnabled)
Set the value of golangModEnabled.
|
void |
setHintsFile(java.lang.String hintsFile)
Set the value of hintsFile.
|
void |
setJarAnalyzerEnabled(java.lang.Boolean jarAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setJunitFailOnCVSS(float junitFailOnCVSS)
Set the value of junitFailOnCVSS.
|
void |
setMixAuditAnalyzerEnabled(java.lang.Boolean mixAuditAnalyzerEnabled)
Set the value of mixAuditAnalyzerEnabled.
|
void |
setMSBuildAnalyzerEnabled(java.lang.Boolean msbuildAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setNexusAnalyzerEnabled(java.lang.Boolean nexusAnalyzerEnabled)
Set the value of nexusAnalyzerEnabled.
|
void |
setNexusPassword(java.lang.String nexusPassword)
Set the value of nexusPassword.
|
void |
setNexusUrl(java.lang.String nexusUrl)
Set the value of nexusUrl.
|
void |
setNexusUser(java.lang.String nexusUser)
Set the value of nexusUser.
|
void |
setNexusUsesProxy(java.lang.Boolean nexusUsesProxy)
Set the value of nexusUsesProxy.
|
void |
setNodeAnalyzerEnabled(java.lang.Boolean nodeAnalyzerEnabled)
Set the value of nodeAnalyzerEnabled.
|
void |
setNodeAuditAnalyzerEnabled(java.lang.Boolean nodeAuditAnalyzerEnabled)
Set the value of nodeAuditAnalyzerEnabled.
|
void |
setNodeAuditAnalyzerUseCache(java.lang.Boolean nodeAuditAnalyzerUseCache)
Set the value of nodeAuditAnalyzerUseCache.
|
void |
setNodeAuditSkipDevDependencies(java.lang.Boolean nodeAuditSkipDevDependencies)
Set the value of nodeAuditSkipDevDependencies.
|
void |
setNodePackageSkipDevDependencies(java.lang.Boolean nodePackageSkipDevDependencies)
Set the value of nodePackageSkipDevDependencies.
|
void |
setNugetconfAnalyzerEnabled(java.lang.Boolean nugetconfAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setNuspecAnalyzerEnabled(java.lang.Boolean nuspecAnalyzerEnabled)
Sets whether or not the analyzer is enabled.
|
void |
setOpensslAnalyzerEnabled(java.lang.Boolean opensslAnalyzerEnabled)
Set the value of opensslAnalyzerEnabled.
|
void |
setOssindexAnalyzerEnabled(java.lang.Boolean ossindexAnalyzerEnabled)
Set value of
ossindexAnalyzerEnabled. |
void |
setOssindexAnalyzerPassword(java.lang.String ossindexAnalyzerPassword)
Set value of
ossindexAnalyzerPassword. |
void |
setOssindexAnalyzerUrl(java.lang.String ossindexAnalyzerUrl)
Set value of
ossindexAnalyzerUrl. |
void |
setOssindexAnalyzerUseCache(java.lang.Boolean ossindexAnalyzerUseCache)
Set value of
ossindexAnalyzerUseCache. |
void |
setOssindexAnalyzerUsername(java.lang.String ossindexAnalyzerUsername)
Set value of
ossindexAnalyzerUsername. |
void |
setOssIndexWarnOnlyOnRemoteErrors(java.lang.Boolean ossIndexWarnOnlyOnRemoteErrors)
Set value of
ossIndexAnalyzerWarnOnlyOnRemoteErrors. |
void |
setPathToDotnetCore(java.lang.String pathToCore)
Set the value of pathToCore.
|
void |
setPathToGo(java.lang.String pathToGo)
Set the value of pathToGo.
|
void |
setPathToPnpm(java.lang.String pathToPnpm)
Set the value of pathToPnpm.
|
void |
setPathToYarn(java.lang.String pathToYarn)
Set the value of pathToYarn.
|
void |
setPipAnalyzerEnabled(java.lang.Boolean pipAnalyzerEnabled)
Set the value of pipAnalyzerEnabled.
|
void |
setPipfileAnalyzerEnabled(java.lang.Boolean pipfileAnalyzerEnabled)
Set the value of pipfileAnalyzerEnabled.
|
void |
setPnpmAuditAnalyzerEnabled(java.lang.Boolean pnpmAuditAnalyzerEnabled)
Set the value of pnpmAuditAnalyzerEnabled.
|
void |
setPrettyPrint(boolean prettyPrint)
Set the value of prettyPrint.
|
void |
setProjectName(java.lang.String projectName)
Set the value of projectName.
|
void |
setPyDistributionAnalyzerEnabled(java.lang.Boolean pyDistributionAnalyzerEnabled)
Set the value of pyDistributionAnalyzerEnabled.
|
void |
setPyPackageAnalyzerEnabled(java.lang.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(java.lang.String reportOutputDirectory)
Set the value of reportOutputDirectory.
|
void |
setRetireJsAnalyzerEnabled(java.lang.Boolean retireJsAnalyzerEnabled)
Set the value of retireJsAnalyzerEnabled.
|
void |
setRetireJsAnalyzerForceUpdate(java.lang.Boolean retireJsAnalyzerForceUpdate)
Set the value of retireJsAnalyzerForceUpdate.
|
void |
setRetirejsFilterNonVulnerable(java.lang.Boolean retirejsFilterNonVulnerable)
Set the value of retirejsFilterNonVulnerable.
|
void |
setRetireJsUrl(java.lang.String retireJsUrl)
Set the value of the Retire JS repository URL.
|
void |
setRubygemsAnalyzerEnabled(java.lang.Boolean rubygemsAnalyzerEnabled)
Set the value of rubygemsAnalyzerEnabled.
|
void |
setShowSummary(boolean showSummary)
Set the value of showSummary.
|
void |
setSuppressionFile(java.lang.String suppressionFile)
Set the value of suppressionFile.
|
void |
setSwiftPackageManagerAnalyzerEnabled(java.lang.Boolean swiftPackageManagerAnalyzerEnabled)
Sets the enabled state of the swift package manager analyzer.
|
void |
setSwiftPackageResolvedAnalyzerEnabled(java.lang.Boolean swiftPackageResolvedAnalyzerEnabled)
Sets the enabled state of the swift package manager analyzer.
|
void |
setYarnAuditAnalyzerEnabled(java.lang.Boolean yarnAuditAnalyzerEnabled)
Set the value of yarnAuditAnalyzerEnabled.
|
void |
setZipExtensions(java.lang.String zipExtensions)
Set the value of zipExtensions.
|
getConnectionString, getConnectionTimeout, getCveStartYear, getCveUrlBase, getCveUrlModified, getCveValidForHours, getCveWaitTime, getDatabaseDriverName, getDatabaseDriverPath, getDatabasePassword, getDatabaseUser, getNonProxyHosts, getProxyPassword, getProxyPort, getProxyServer, getProxyUsername, setConnectionString, setConnectionTimeout, setCveStartYear, setCveUrlBase, setCveUrlModified, setCveValidForHours, setCveWaitTime, 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 java.lang.String getProjectName()
public void setProjectName(java.lang.String projectName)
projectName - new value of projectNamepublic java.lang.String getReportOutputDirectory()
public void setReportOutputDirectory(java.lang.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 java.lang.Boolean isAutoUpdate()
public void setAutoUpdate(java.lang.Boolean autoUpdate)
autoUpdate - new value of autoUpdatepublic java.lang.Boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
prettyPrint - new value of prettyPrintpublic void setReportFormat(Check.ReportFormats reportFormat)
reportFormat - new value of reportFormatpublic java.util.List<java.lang.String> getReportFormats()
public java.util.List<java.lang.String> getSuppressionFiles()
public void setSuppressionFile(java.lang.String suppressionFile)
suppressionFile - new value of suppressionFilepublic java.lang.String getHintsFile()
public void setHintsFile(java.lang.String hintsFile)
hintsFile - new value of hintsFilepublic boolean isShowSummary()
public void setShowSummary(boolean showSummary)
showSummary - new value of showSummarypublic java.lang.Boolean isEnableExperimental()
public void setEnableExperimental(java.lang.Boolean enableExperimental)
enableExperimental - new value of enableExperimentalpublic java.lang.Boolean isEnableRetired()
public void setEnableRetired(java.lang.Boolean enableRetired)
enableRetired - new value of enableRetiredpublic java.lang.Boolean isJarAnalyzerEnabled()
public void setJarAnalyzerEnabled(java.lang.Boolean jarAnalyzerEnabled)
jarAnalyzerEnabled - the value of the new settingpublic java.lang.Boolean isArchiveAnalyzerEnabled()
public void setArchiveAnalyzerEnabled(java.lang.Boolean archiveAnalyzerEnabled)
archiveAnalyzerEnabled - the value of the new settingpublic java.lang.Boolean isAssemblyAnalyzerEnabled()
public void setAssemblyAnalyzerEnabled(java.lang.Boolean assemblyAnalyzerEnabled)
assemblyAnalyzerEnabled - the value of the new settingpublic java.lang.Boolean isMSBuildAnalyzerEnabled()
public void setMSBuildAnalyzerEnabled(java.lang.Boolean msbuildAnalyzerEnabled)
msbuildAnalyzerEnabled - the value of the new settingpublic java.lang.Boolean isNuspecAnalyzerEnabled()
public java.lang.Boolean isNugetconfAnalyzerEnabled()
public void setNuspecAnalyzerEnabled(java.lang.Boolean nuspecAnalyzerEnabled)
nuspecAnalyzerEnabled - the value of the new settingpublic void setNugetconfAnalyzerEnabled(java.lang.Boolean nugetconfAnalyzerEnabled)
nugetconfAnalyzerEnabled - the value of the new settingpublic java.lang.Boolean isComposerAnalyzerEnabled()
public void setComposerAnalyzerEnabled(java.lang.Boolean composerAnalyzerEnabled)
composerAnalyzerEnabled - new value of composerAnalyzerEnabledpublic java.lang.Boolean isCpanfileAnalyzerEnabled()
public void setCpanfileAnalyzerEnabled(java.lang.Boolean cpanfileAnalyzerEnabled)
cpanfileAnalyzerEnabled - new value of cpanfileAnalyzerEnabledpublic java.lang.Boolean isAutoconfAnalyzerEnabled()
public void setAutoconfAnalyzerEnabled(java.lang.Boolean autoconfAnalyzerEnabled)
autoconfAnalyzerEnabled - new value of autoconfAnalyzerEnabledpublic java.lang.Boolean isPipAnalyzerEnabled()
public void setPipAnalyzerEnabled(java.lang.Boolean pipAnalyzerEnabled)
pipAnalyzerEnabled - new value of pipAnalyzerEnabledpublic java.lang.Boolean isPipfileAnalyzerEnabled()
public void setPipfileAnalyzerEnabled(java.lang.Boolean pipfileAnalyzerEnabled)
pipfileAnalyzerEnabled - new value of pipfileAnalyzerEnabledpublic java.lang.Boolean isBundleAuditAnalyzerEnabled()
public void setBundleAuditAnalyzerEnabled(java.lang.Boolean bundleAuditAnalyzerEnabled)
bundleAuditAnalyzerEnabled - whether or not the analyzer should be
enabledpublic java.lang.String getBundleAuditPath()
public void setBundleAuditPath(java.lang.String bundleAuditPath)
bundleAuditPath - the path to the bundle audit executablepublic void setBundleAuditWorkingDirectory(java.lang.String bundleAuditWorkingDirectory)
bundleAuditWorkingDirectory - the path to the working directory that
the bundle audit executable should be executed from.public java.lang.String getBundleAuditWorkingDirectory()
public boolean isCocoapodsAnalyzerEnabled()
public void setCocoapodsAnalyzerEnabled(java.lang.Boolean cocoapodsAnalyzerEnabled)
cocoapodsAnalyzerEnabled - the state of the cocoapods analyzerpublic java.lang.Boolean isSwiftPackageManagerAnalyzerEnabled()
public void setSwiftPackageManagerAnalyzerEnabled(java.lang.Boolean swiftPackageManagerAnalyzerEnabled)
swiftPackageManagerAnalyzerEnabled - the enabled state of the swift
package managerpublic java.lang.Boolean isSwiftPackageResolvedAnalyzerEnabled()
public void setSwiftPackageResolvedAnalyzerEnabled(java.lang.Boolean swiftPackageResolvedAnalyzerEnabled)
swiftPackageResolvedAnalyzerEnabled - the enabled state of the swift
package resolved analyzerpublic java.lang.Boolean isOpensslAnalyzerEnabled()
public void setOpensslAnalyzerEnabled(java.lang.Boolean opensslAnalyzerEnabled)
opensslAnalyzerEnabled - new value of opensslAnalyzerEnabledpublic java.lang.Boolean isNodeAnalyzerEnabled()
public void setNodeAnalyzerEnabled(java.lang.Boolean nodeAnalyzerEnabled)
nodeAnalyzerEnabled - new value of nodeAnalyzerEnabledpublic java.lang.Boolean isNodeAuditAnalyzerEnabled()
public void setNodeAuditAnalyzerEnabled(java.lang.Boolean nodeAuditAnalyzerEnabled)
nodeAuditAnalyzerEnabled - new value of nodeAuditAnalyzerEnabledpublic java.lang.Boolean isYarnAuditAnalyzerEnabled()
public void setYarnAuditAnalyzerEnabled(java.lang.Boolean yarnAuditAnalyzerEnabled)
yarnAuditAnalyzerEnabled - new value of yarnAuditAnalyzerEnabledpublic java.lang.Boolean isPnpmAuditAnalyzerEnabled()
public void setPnpmAuditAnalyzerEnabled(java.lang.Boolean pnpmAuditAnalyzerEnabled)
pnpmAuditAnalyzerEnabled - new value of pnpmAuditAnalyzerEnabledpublic java.lang.Boolean isNodeAuditAnalyzerUseCache()
public void setNodeAuditAnalyzerUseCache(java.lang.Boolean nodeAuditAnalyzerUseCache)
nodeAuditAnalyzerUseCache - new value of nodeAuditAnalyzerUseCachepublic java.lang.Boolean isNodePackageAnalyzerSkipDevDependencies()
public void setNodePackageSkipDevDependencies(java.lang.Boolean nodePackageSkipDevDependencies)
nodePackageSkipDevDependencies - new value of
nodePackageSkipDevDependenciespublic java.lang.Boolean isNodeAuditAnalyzerSkipDevDependencies()
public void setNodeAuditSkipDevDependencies(java.lang.Boolean nodeAuditSkipDevDependencies)
nodeAuditSkipDevDependencies - new value of
nodeAuditSkipDevDependenciespublic java.lang.Boolean isRetireJsAnalyzerEnabled()
public void setRetireJsAnalyzerEnabled(java.lang.Boolean retireJsAnalyzerEnabled)
retireJsAnalyzerEnabled - new value of retireJsAnalyzerEnabledpublic java.lang.String getRetireJsUrl()
public void setRetireJsUrl(java.lang.String retireJsUrl)
retireJsUrl - new value of retireJsUrlpublic java.lang.Boolean isRetireJsAnalyzerForceUpdate()
public void setRetireJsAnalyzerForceUpdate(java.lang.Boolean retireJsAnalyzerForceUpdate)
retireJsAnalyzerForceUpdate - new value of
retireJsAnalyzerForceUpdatepublic java.lang.Boolean isRetirejsFilterNonVulnerable()
public void setRetirejsFilterNonVulnerable(java.lang.Boolean retirejsFilterNonVulnerable)
retirejsFilterNonVulnerable - new value of
retirejsFilterNonVulnerablepublic java.util.List<java.lang.String> getRetirejsFilters()
public void addConfiguredRetirejsFilter(RetirejsFilter retirejsFilter)
This is called by Ant.
retirejsFilter - the regular expression used to filter based on file
contentpublic java.lang.Boolean isRubygemsAnalyzerEnabled()
public void setRubygemsAnalyzerEnabled(java.lang.Boolean rubygemsAnalyzerEnabled)
rubygemsAnalyzerEnabled - new value of rubygemsAnalyzerEnabledpublic java.lang.Boolean isPyPackageAnalyzerEnabled()
public void setPyPackageAnalyzerEnabled(java.lang.Boolean pyPackageAnalyzerEnabled)
pyPackageAnalyzerEnabled - new value of pyPackageAnalyzerEnabledpublic java.lang.Boolean isPyDistributionAnalyzerEnabled()
public void setPyDistributionAnalyzerEnabled(java.lang.Boolean pyDistributionAnalyzerEnabled)
pyDistributionAnalyzerEnabled - new value of
pyDistributionAnalyzerEnabledpublic java.lang.Boolean getMixAuditAnalyzerEnabled()
public void setMixAuditAnalyzerEnabled(java.lang.Boolean mixAuditAnalyzerEnabled)
mixAuditAnalyzerEnabled - new value of mixAuditAnalyzerEnabledpublic java.lang.Boolean isCentralAnalyzerEnabled()
public void setCentralAnalyzerEnabled(java.lang.Boolean centralAnalyzerEnabled)
centralAnalyzerEnabled - new value of centralAnalyzerEnabledpublic java.lang.Boolean isCentralAnalyzerUseCache()
public void setCentralAnalyzerUseCache(java.lang.Boolean centralAnalyzerUseCache)
centralAnalyzerUseCache - new value of centralAnalyzerUseCachepublic java.lang.Boolean isNexusAnalyzerEnabled()
public void setNexusAnalyzerEnabled(java.lang.Boolean nexusAnalyzerEnabled)
nexusAnalyzerEnabled - new value of nexusAnalyzerEnabledpublic java.lang.Boolean isGolangDepEnabled()
public void setGolangDepEnabled(java.lang.Boolean golangDepEnabled)
golangDepEnabled - new value of golangDepEnabledpublic java.lang.Boolean isGoModDepEnabled()
public void setGolangModEnabled(java.lang.Boolean golangModEnabled)
golangModEnabled - new value of golangModEnabledpublic java.lang.String getPathToYarn()
public void setPathToYarn(java.lang.String pathToYarn)
pathToYarn - new value of pathToYarnpublic java.lang.String getPathToPnpm()
public void setPathToPnpm(java.lang.String pathToPnpm)
pathToPnpm - new value of pathToPnpmpublic java.lang.String getPathToGo()
public void setPathToGo(java.lang.String pathToGo)
pathToGo - new value of pathToGopublic java.lang.String getNexusUrl()
public void setNexusUrl(java.lang.String nexusUrl)
nexusUrl - new value of nexusUrlpublic java.lang.String getNexusUser()
public void setNexusUser(java.lang.String nexusUser)
nexusUser - new value of nexusUserpublic java.lang.String getNexusPassword()
public void setNexusPassword(java.lang.String nexusPassword)
nexusPassword - new value of nexusPasswordpublic java.lang.Boolean isNexusUsesProxy()
public void setNexusUsesProxy(java.lang.Boolean nexusUsesProxy)
nexusUsesProxy - new value of nexusUsesProxypublic java.lang.String getZipExtensions()
public void setZipExtensions(java.lang.String zipExtensions)
zipExtensions - new value of zipExtensionspublic java.lang.String getPathToDotnetCore()
public void setPathToDotnetCore(java.lang.String pathToCore)
pathToCore - new value of pathToCorepublic java.lang.Boolean isOssindexAnalyzerEnabled()
ossindexAnalyzerEnabled.public void setOssindexAnalyzerEnabled(java.lang.Boolean ossindexAnalyzerEnabled)
ossindexAnalyzerEnabled.ossindexAnalyzerEnabled - new value of ossindexAnalyzerEnabledpublic java.lang.Boolean isOssindexAnalyzerUseCache()
ossindexAnalyzerUseCache.public void setOssindexAnalyzerUseCache(java.lang.Boolean ossindexAnalyzerUseCache)
ossindexAnalyzerUseCache.ossindexAnalyzerUseCache - new value of ossindexAnalyzerUseCachepublic java.lang.String getOssindexAnalyzerUrl()
ossindexAnalyzerUrl.public void setOssindexAnalyzerUrl(java.lang.String ossindexAnalyzerUrl)
ossindexAnalyzerUrl.ossindexAnalyzerUrl - new value of ossindexAnalyzerUrlpublic java.lang.String getOssindexAnalyzerUsername()
ossindexAnalyzerUsername.public void setOssindexAnalyzerUsername(java.lang.String ossindexAnalyzerUsername)
ossindexAnalyzerUsername.ossindexAnalyzerUsername - new value of ossindexAnalyzerUsernamepublic java.lang.String getOssindexAnalyzerPassword()
ossindexAnalyzerPassword.public void setOssindexAnalyzerPassword(java.lang.String ossindexAnalyzerPassword)
ossindexAnalyzerPassword.ossindexAnalyzerPassword - new value of ossindexAnalyzerPasswordpublic java.lang.Boolean getOssIndexWarnOnlyOnRemoteErrors()
ossIndexAnalyzerWarnOnlyOnRemoteErrors.public void setOssIndexWarnOnlyOnRemoteErrors(java.lang.Boolean ossIndexWarnOnlyOnRemoteErrors)
ossIndexAnalyzerWarnOnlyOnRemoteErrors.ossIndexWarnOnlyOnRemoteErrors - the value of ossIndexWarnOnlyOnRemoteErrorspublic java.lang.Boolean isCmakeAnalyzerEnabled()
public void setCmakeAnalyzerEnabled(java.lang.Boolean cmakeAnalyzerEnabled)
cmakeAnalyzerEnabled - new value of cmakeAnalyzerEnabledpublic java.lang.Boolean getArtifactoryAnalyzerEnabled()
public void setArtifactoryAnalyzerEnabled(java.lang.Boolean artifactoryAnalyzerEnabled)
artifactoryAnalyzerEnabled - new value of artifactoryAnalyzerEnabledpublic java.lang.String getArtifactoryAnalyzerUrl()
public void setArtifactoryAnalyzerUrl(java.lang.String artifactoryAnalyzerUrl)
artifactoryAnalyzerUrl - new value of artifactoryAnalyzerUrlpublic java.lang.Boolean getArtifactoryAnalyzerUseProxy()
public void setArtifactoryAnalyzerUseProxy(java.lang.Boolean artifactoryAnalyzerUseProxy)
artifactoryAnalyzerUseProxy - new value of
artifactoryAnalyzerUseProxypublic java.lang.Boolean getArtifactoryAnalyzerParallelAnalysis()
public void setArtifactoryAnalyzerParallelAnalysis(java.lang.Boolean artifactoryAnalyzerParallelAnalysis)
artifactoryAnalyzerParallelAnalysis - new value of
artifactoryAnalyzerParallelAnalysispublic java.lang.String getArtifactoryAnalyzerUsername()
public void setArtifactoryAnalyzerUsername(java.lang.String artifactoryAnalyzerUsername)
artifactoryAnalyzerUsername - new value of
artifactoryAnalyzerUsernamepublic java.lang.String getArtifactoryAnalyzerApiToken()
public void setArtifactoryAnalyzerApiToken(java.lang.String artifactoryAnalyzerApiToken)
artifactoryAnalyzerApiToken - new value of
artifactoryAnalyzerApiTokenpublic java.lang.String getArtifactoryAnalyzerBearerToken()
public void setArtifactoryAnalyzerBearerToken(java.lang.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-21 Jeremy Long. All Rights Reserved.