Class Check
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.owasp.dependencycheck.taskdefs.Purge
-
- org.owasp.dependencycheck.taskdefs.Update
-
- org.owasp.dependencycheck.taskdefs.Check
-
- All Implemented Interfaces:
java.lang.Cloneable
@NotThreadSafe public class Check extends Update
An Ant task definition to execute dependency-check during an Ant build.- Author:
- Jeremy Long
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Check.ReportFormat
A class for Ant to represent the<reportFormat format="<format>"/>
nested element to define multiple report formats for the ant-task.static class
Check.ReportFormats
An enumeration of supported report formats: "ALL", "HTML", "XML", "CSV", "JSON", "JUNIT", "SARIF", 'JENkINS', etc..
-
Constructor Summary
Constructors Constructor Description Check()
Construct a new DependencyCheckTask.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(org.apache.tools.ant.types.ResourceCollection rc)
Add an arbitrary ResourceCollection.void
addConfiguredReportFormat(Check.ReportFormat reportFormat)
Add a report format.void
addConfiguredRetirejsFilter(RetirejsFilter retirejsFilter)
Add a regular expression to the set of retire JS content filters.void
addConfiguredSuppressionFile(SuppressionFile suppressionFile)
Add a suppression file.protected void
executeWithContextClassloader()
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.String
getKnownExploitedUrl()
Returns the knownExploitedUrl.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 ofossindexAnalyzerPassword
.java.lang.String
getOssindexAnalyzerUrl()
Get value ofossindexAnalyzerUrl
.java.lang.String
getOssindexAnalyzerUsername()
Get value ofossindexAnalyzerUsername
.java.lang.Boolean
getOssIndexWarnOnlyOnRemoteErrors()
Get value ofossIndexAnalyzerWarnOnlyOnRemoteErrors
.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.lang.String
getRetireJsUrlPassword()
Get the value of Password Retire JS repository URL.java.lang.String
getRetireJsUrlUser()
Get the value of User Retire JS repository URL.java.util.List<java.lang.String>
getSuppressionFiles()
Gets suppression file paths.java.lang.Boolean
getVersionCheckEnabled()
Returns whether the version check is enabled.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.boolean
isCarthageAnalyzerEnabled()
Returns if the Carthage 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
isComposerAnalyzerSkipDev()
Get the value of composerAnalyzerSkipDev.java.lang.Boolean
isCpanfileAnalyzerEnabled()
Get the value of cpanfileAnalyzerEnabled.java.lang.Boolean
isDartAnalyzerEnabled()
Get the value of dartAnalyzerEnabled.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
isKnownExploitedEnabled()
Returns whether the analyzer is enabled.java.lang.Boolean
isLibmanAnalyzerEnabled()
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 ofossindexAnalyzerEnabled
.java.lang.Boolean
isOssindexAnalyzerUseCache()
Get value ofossindexAnalyzerUseCache
.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
isPoetryAnalyzerEnabled()
Get the value of poetryAnalyzerEnabled.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 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
setCarthageAnalyzerEnabled(java.lang.Boolean carthageAnalyzerEnabled)
Sets whether or not the Carthage analyzer is enabled.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
setComposerAnalyzerSkipDev(java.lang.Boolean composerAnalyzerSkipDev)
Set the value of composerAnalyzerSkipDev.void
setCpanfileAnalyzerEnabled(java.lang.Boolean cpanfileAnalyzerEnabled)
Set the value of cpanfileAnalyzerEnabled.void
setDartAnalyzerEnabled(java.lang.Boolean dartAnalyzerEnabled)
Set the value of dartAnalyzerEnabled.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
setKnownExploitedEnabled(java.lang.Boolean knownExploitedEnabled)
Sets whether the analyzer is enabled.void
setKnownExploitedUrl(java.lang.String knownExploitedUrl)
Sets the the knownExploitedUrl.void
setLibmanAnalyzerEnabled(java.lang.Boolean libmanAnalyzerEnabled)
Sets whether or not the analyzer is enabled.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 ofossindexAnalyzerEnabled
.void
setOssindexAnalyzerPassword(java.lang.String ossindexAnalyzerPassword)
Set value ofossindexAnalyzerPassword
.void
setOssindexAnalyzerUrl(java.lang.String ossindexAnalyzerUrl)
Set value ofossindexAnalyzerUrl
.void
setOssindexAnalyzerUseCache(java.lang.Boolean ossindexAnalyzerUseCache)
Set value ofossindexAnalyzerUseCache
.void
setOssindexAnalyzerUsername(java.lang.String ossindexAnalyzerUsername)
Set value ofossindexAnalyzerUsername
.void
setOssIndexWarnOnlyOnRemoteErrors(java.lang.Boolean ossIndexWarnOnlyOnRemoteErrors)
Set value ofossIndexAnalyzerWarnOnlyOnRemoteErrors
.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
setPoetryAnalyzerEnabled(java.lang.Boolean poetryAnalyzerEnabled)
Set the value of poetryAnalyzerEnabled.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
setRetireJsUrlPassword(java.lang.String retireJsUrlPassword)
Set the value of the Password Retire JS repository URL.void
setRetireJsUrlUser(java.lang.String retireJsUrlUser)
Set the value of the User 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
setVersionCheckEnabled(java.lang.Boolean versionCheckEnabled)
Sets whether the version check is enabled.void
setYarnAuditAnalyzerEnabled(java.lang.Boolean yarnAuditAnalyzerEnabled)
Set the value of yarnAuditAnalyzerEnabled.void
setZipExtensions(java.lang.String zipExtensions)
Set the value of zipExtensions.-
Methods inherited from class org.owasp.dependencycheck.taskdefs.Update
getConnectionString, getConnectionTimeout, getDatabaseDriverName, getDatabaseDriverPath, getDatabasePassword, getDatabaseUser, getHostedSuppressionsValidForHours, getNonProxyHosts, getNvdApiDelay, getNvdApiEndpoint, getNvdApiKey, getNvdApiResultsPerPage, getNvdDatafeedUrl, getNvdMaxRetryCounts, getNvdPassword, getNvdUser, getNvdValidForHours, getProxyPassword, getProxyPort, getProxyServer, getProxyUsername, getReadTimeout, isHostedSuppressionsEnabled, isHostedSuppressionsForceUpdate, setApiResultsPerPage, setConnectionString, setConnectionTimeout, setDatabaseDriverName, setDatabaseDriverPath, setDatabasePassword, setDatabaseUser, setHostedSuppressionsEnabled, setHostedSuppressionsForceUpdate, setHostedSuppressionsValidForHours, setNonProxyHosts, setNvdApiDelay, setNvdApiEndpoint, setNvdApiKey, setNvdDatafeedUrl, setNvdMaxRetryCount, setNvdPassword, setNvdUser, setNvdValidForHours, setProxyPassword, setProxyPort, setProxyServer, setProxyUsername, setReadTimeout
-
Methods inherited from class org.owasp.dependencycheck.taskdefs.Purge
execute, getDataDirectory, getHostedSuppressionsUrl, getSettings, isFailOnError, setDataDirectory, setFailOnError, setHostedSuppressionsUrl
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
getVersionCheckEnabled
public java.lang.Boolean getVersionCheckEnabled()
Returns whether the version check is enabled.- Returns:
- true if the version check is enabled; otherwise false.
-
setVersionCheckEnabled
public void setVersionCheckEnabled(java.lang.Boolean versionCheckEnabled)
Sets whether the version check is enabled.- Parameters:
versionCheckEnabled
- a Boolean indicating if the version check is enabled.
-
add
public void add(org.apache.tools.ant.types.ResourceCollection rc)
Add an arbitrary ResourceCollection.- Parameters:
rc
- the ResourceCollection to add.- Since:
- Ant 1.7
-
addConfiguredSuppressionFile
public void addConfiguredSuppressionFile(SuppressionFile suppressionFile)
Add a suppression file.This is called by Ant with the configured
SuppressionFile
.- Parameters:
suppressionFile
- the suppression file to add.
-
addConfiguredReportFormat
public void addConfiguredReportFormat(Check.ReportFormat reportFormat)
Add a report format.This is called by Ant with the configured
Check.ReportFormat
.- Parameters:
reportFormat
- the reportFormat to add.
-
isReference
public boolean isReference()
Learn whether the refId attribute of this element been set.- Returns:
- true if refId is valid.
-
setRefId
public void setRefId(org.apache.tools.ant.types.Reference r)
Add a reference to a Path, FileSet, DirSet, or FileList defined elsewhere.- Parameters:
r
- the reference to a path, fileset, dirset or filelist.
-
getProjectName
public java.lang.String getProjectName()
Get the value of projectName.- Returns:
- the value of projectName
-
setProjectName
public void setProjectName(java.lang.String projectName)
Set the value of projectName.- Parameters:
projectName
- new value of projectName
-
getReportOutputDirectory
public java.lang.String getReportOutputDirectory()
Get the value of reportOutputDirectory.- Returns:
- the value of reportOutputDirectory
-
setReportOutputDirectory
public void setReportOutputDirectory(java.lang.String reportOutputDirectory)
Set the value of reportOutputDirectory.- Parameters:
reportOutputDirectory
- new value of reportOutputDirectory
-
getFailBuildOnCVSS
public float getFailBuildOnCVSS()
Get the value of failBuildOnCVSS.- Returns:
- the value of failBuildOnCVSS
-
setFailBuildOnCVSS
public void setFailBuildOnCVSS(float failBuildOnCVSS)
Set the value of failBuildOnCVSS.- Parameters:
failBuildOnCVSS
- new value of failBuildOnCVSS
-
getJunitFailOnCVSS
public float getJunitFailOnCVSS()
Get the value of junitFailOnCVSS.- Returns:
- the value of junitFailOnCVSS
-
setJunitFailOnCVSS
public void setJunitFailOnCVSS(float junitFailOnCVSS)
Set the value of junitFailOnCVSS.- Parameters:
junitFailOnCVSS
- new value of junitFailOnCVSS
-
isAutoUpdate
public java.lang.Boolean isAutoUpdate()
Get the value of autoUpdate.- Returns:
- the value of autoUpdate
-
setAutoUpdate
public void setAutoUpdate(java.lang.Boolean autoUpdate)
Set the value of autoUpdate.- Parameters:
autoUpdate
- new value of autoUpdate
-
isPrettyPrint
public java.lang.Boolean isPrettyPrint()
Get the value of prettyPrint.- Returns:
- the value of prettyPrint
-
setPrettyPrint
public void setPrettyPrint(boolean prettyPrint)
Set the value of prettyPrint.- Parameters:
prettyPrint
- new value of prettyPrint
-
setReportFormat
public void setReportFormat(Check.ReportFormats reportFormat)
Set the value of reportFormat.- Parameters:
reportFormat
- new value of reportFormat
-
getReportFormats
public java.util.List<java.lang.String> getReportFormats()
Get the value of reportFormats.- Returns:
- the value of reportFormats
-
getSuppressionFiles
public java.util.List<java.lang.String> getSuppressionFiles()
Gets suppression file paths.- Returns:
- the suppression files.
-
setSuppressionFile
public void setSuppressionFile(java.lang.String suppressionFile)
Set the value of suppressionFile.- Parameters:
suppressionFile
- new value of suppressionFile
-
getHintsFile
public java.lang.String getHintsFile()
Get the value of hintsFile.- Returns:
- the value of hintsFile
-
setHintsFile
public void setHintsFile(java.lang.String hintsFile)
Set the value of hintsFile.- Parameters:
hintsFile
- new value of hintsFile
-
isShowSummary
public boolean isShowSummary()
Get the value of showSummary.- Returns:
- the value of showSummary
-
setShowSummary
public void setShowSummary(boolean showSummary)
Set the value of showSummary.- Parameters:
showSummary
- new value of showSummary
-
isEnableExperimental
public java.lang.Boolean isEnableExperimental()
Get the value of enableExperimental.- Returns:
- the value of enableExperimental
-
setEnableExperimental
public void setEnableExperimental(java.lang.Boolean enableExperimental)
Set the value of enableExperimental.- Parameters:
enableExperimental
- new value of enableExperimental
-
isEnableRetired
public java.lang.Boolean isEnableRetired()
Get the value of enableRetired.- Returns:
- the value of enableRetired
-
setEnableRetired
public void setEnableRetired(java.lang.Boolean enableRetired)
Set the value of enableRetired.- Parameters:
enableRetired
- new value of enableRetired
-
isJarAnalyzerEnabled
public java.lang.Boolean isJarAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setJarAnalyzerEnabled
public void setJarAnalyzerEnabled(java.lang.Boolean jarAnalyzerEnabled)
Sets whether or not the analyzer is enabled.- Parameters:
jarAnalyzerEnabled
- the value of the new setting
-
isArchiveAnalyzerEnabled
public java.lang.Boolean isArchiveAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setArchiveAnalyzerEnabled
public void setArchiveAnalyzerEnabled(java.lang.Boolean archiveAnalyzerEnabled)
Sets whether the analyzer is enabled.- Parameters:
archiveAnalyzerEnabled
- the value of the new setting
-
isKnownExploitedEnabled
public java.lang.Boolean isKnownExploitedEnabled()
Returns whether the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setKnownExploitedEnabled
public void setKnownExploitedEnabled(java.lang.Boolean knownExploitedEnabled)
Sets whether the analyzer is enabled.- Parameters:
knownExploitedEnabled
- the value of the new setting
-
getKnownExploitedUrl
public java.lang.String getKnownExploitedUrl()
Returns the knownExploitedUrl.- Returns:
- the knownExploitedUrl
-
setKnownExploitedUrl
public void setKnownExploitedUrl(java.lang.String knownExploitedUrl)
Sets the the knownExploitedUrl.- Parameters:
knownExploitedUrl
- the URL
-
isAssemblyAnalyzerEnabled
public java.lang.Boolean isAssemblyAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setAssemblyAnalyzerEnabled
public void setAssemblyAnalyzerEnabled(java.lang.Boolean assemblyAnalyzerEnabled)
Sets whether or not the analyzer is enabled.- Parameters:
assemblyAnalyzerEnabled
- the value of the new setting
-
isMSBuildAnalyzerEnabled
public java.lang.Boolean isMSBuildAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setMSBuildAnalyzerEnabled
public void setMSBuildAnalyzerEnabled(java.lang.Boolean msbuildAnalyzerEnabled)
Sets whether or not the analyzer is enabled.- Parameters:
msbuildAnalyzerEnabled
- the value of the new setting
-
isNuspecAnalyzerEnabled
public java.lang.Boolean isNuspecAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
isNugetconfAnalyzerEnabled
public java.lang.Boolean isNugetconfAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setNuspecAnalyzerEnabled
public void setNuspecAnalyzerEnabled(java.lang.Boolean nuspecAnalyzerEnabled)
Sets whether or not the analyzer is enabled.- Parameters:
nuspecAnalyzerEnabled
- the value of the new setting
-
setNugetconfAnalyzerEnabled
public void setNugetconfAnalyzerEnabled(java.lang.Boolean nugetconfAnalyzerEnabled)
Sets whether or not the analyzer is enabled.- Parameters:
nugetconfAnalyzerEnabled
- the value of the new setting
-
isLibmanAnalyzerEnabled
public java.lang.Boolean isLibmanAnalyzerEnabled()
Returns whether or not the analyzer is enabled.- Returns:
- true if the analyzer is enabled
-
setLibmanAnalyzerEnabled
public void setLibmanAnalyzerEnabled(java.lang.Boolean libmanAnalyzerEnabled)
Sets whether or not the analyzer is enabled.- Parameters:
libmanAnalyzerEnabled
- the value of the new setting
-
isComposerAnalyzerEnabled
public java.lang.Boolean isComposerAnalyzerEnabled()
Get the value of composerAnalyzerEnabled.- Returns:
- the value of composerAnalyzerEnabled
-
setComposerAnalyzerEnabled
public void setComposerAnalyzerEnabled(java.lang.Boolean composerAnalyzerEnabled)
Set the value of composerAnalyzerEnabled.- Parameters:
composerAnalyzerEnabled
- new value of composerAnalyzerEnabled
-
isComposerAnalyzerSkipDev
public java.lang.Boolean isComposerAnalyzerSkipDev()
Get the value of composerAnalyzerSkipDev.- Returns:
- the value of composerAnalyzerSkipDev
-
setComposerAnalyzerSkipDev
public void setComposerAnalyzerSkipDev(java.lang.Boolean composerAnalyzerSkipDev)
Set the value of composerAnalyzerSkipDev.- Parameters:
composerAnalyzerSkipDev
- new value of composerAnalyzerSkipDev
-
isCpanfileAnalyzerEnabled
public java.lang.Boolean isCpanfileAnalyzerEnabled()
Get the value of cpanfileAnalyzerEnabled.- Returns:
- the value of cpanfileAnalyzerEnabled
-
setCpanfileAnalyzerEnabled
public void setCpanfileAnalyzerEnabled(java.lang.Boolean cpanfileAnalyzerEnabled)
Set the value of cpanfileAnalyzerEnabled.- Parameters:
cpanfileAnalyzerEnabled
- new value of cpanfileAnalyzerEnabled
-
isAutoconfAnalyzerEnabled
public java.lang.Boolean isAutoconfAnalyzerEnabled()
Get the value of autoconfAnalyzerEnabled.- Returns:
- the value of autoconfAnalyzerEnabled
-
setAutoconfAnalyzerEnabled
public void setAutoconfAnalyzerEnabled(java.lang.Boolean autoconfAnalyzerEnabled)
Set the value of autoconfAnalyzerEnabled.- Parameters:
autoconfAnalyzerEnabled
- new value of autoconfAnalyzerEnabled
-
isPipAnalyzerEnabled
public java.lang.Boolean isPipAnalyzerEnabled()
Get the value of pipAnalyzerEnabled.- Returns:
- the value of pipAnalyzerEnabled
-
setPipAnalyzerEnabled
public void setPipAnalyzerEnabled(java.lang.Boolean pipAnalyzerEnabled)
Set the value of pipAnalyzerEnabled.- Parameters:
pipAnalyzerEnabled
- new value of pipAnalyzerEnabled
-
isPipfileAnalyzerEnabled
public java.lang.Boolean isPipfileAnalyzerEnabled()
Get the value of pipfileAnalyzerEnabled.- Returns:
- the value of pipfileAnalyzerEnabled
-
setPipfileAnalyzerEnabled
public void setPipfileAnalyzerEnabled(java.lang.Boolean pipfileAnalyzerEnabled)
Set the value of pipfileAnalyzerEnabled.- Parameters:
pipfileAnalyzerEnabled
- new value of pipfileAnalyzerEnabled
-
isPoetryAnalyzerEnabled
public java.lang.Boolean isPoetryAnalyzerEnabled()
Get the value of poetryAnalyzerEnabled.- Returns:
- the value of poetryAnalyzerEnabled
-
setPoetryAnalyzerEnabled
public void setPoetryAnalyzerEnabled(java.lang.Boolean poetryAnalyzerEnabled)
Set the value of poetryAnalyzerEnabled.- Parameters:
poetryAnalyzerEnabled
- new value of poetryAnalyzerEnabled
-
isBundleAuditAnalyzerEnabled
public java.lang.Boolean isBundleAuditAnalyzerEnabled()
Returns if the Bundle Audit Analyzer is enabled.- Returns:
- if the Bundle Audit Analyzer is enabled.
-
setBundleAuditAnalyzerEnabled
public void setBundleAuditAnalyzerEnabled(java.lang.Boolean bundleAuditAnalyzerEnabled)
Sets if the Bundle Audit Analyzer is enabled.- Parameters:
bundleAuditAnalyzerEnabled
- whether or not the analyzer should be enabled
-
getBundleAuditPath
public java.lang.String getBundleAuditPath()
Returns the path to the bundle audit executable.- Returns:
- the path to the bundle audit executable
-
setBundleAuditPath
public void setBundleAuditPath(java.lang.String bundleAuditPath)
Sets the path to the bundle audit executable.- Parameters:
bundleAuditPath
- the path to the bundle audit executable
-
setBundleAuditWorkingDirectory
public void setBundleAuditWorkingDirectory(java.lang.String bundleAuditWorkingDirectory)
Sets the path to the working directory that the bundle audit executable should be executed from.- Parameters:
bundleAuditWorkingDirectory
- the path to the working directory that the bundle audit executable should be executed from.
-
getBundleAuditWorkingDirectory
public java.lang.String getBundleAuditWorkingDirectory()
Returns the path to the working directory that the bundle audit executable should be executed from.- Returns:
- the path to the working directory that the bundle audit executable should be executed from.
-
isCocoapodsAnalyzerEnabled
public boolean isCocoapodsAnalyzerEnabled()
Returns if the cocoapods analyzer is enabled.- Returns:
- if the cocoapods analyzer is enabled
-
setCocoapodsAnalyzerEnabled
public void setCocoapodsAnalyzerEnabled(java.lang.Boolean cocoapodsAnalyzerEnabled)
Sets whether or not the cocoapods analyzer is enabled.- Parameters:
cocoapodsAnalyzerEnabled
- the state of the cocoapods analyzer
-
isCarthageAnalyzerEnabled
public boolean isCarthageAnalyzerEnabled()
Returns if the Carthage analyzer is enabled.- Returns:
- if the Carthage analyzer is enabled
-
setCarthageAnalyzerEnabled
public void setCarthageAnalyzerEnabled(java.lang.Boolean carthageAnalyzerEnabled)
Sets whether or not the Carthage analyzer is enabled.- Parameters:
carthageAnalyzerEnabled
- the state of the Carthage analyzer
-
isSwiftPackageManagerAnalyzerEnabled
public java.lang.Boolean isSwiftPackageManagerAnalyzerEnabled()
Returns whether or not the Swift package Analyzer is enabled.- Returns:
- whether or not the Swift package Analyzer is enabled
-
setSwiftPackageManagerAnalyzerEnabled
public void setSwiftPackageManagerAnalyzerEnabled(java.lang.Boolean swiftPackageManagerAnalyzerEnabled)
Sets the enabled state of the swift package manager analyzer.- Parameters:
swiftPackageManagerAnalyzerEnabled
- the enabled state of the swift package manager
-
isSwiftPackageResolvedAnalyzerEnabled
public java.lang.Boolean isSwiftPackageResolvedAnalyzerEnabled()
Returns whether or not the Swift package resolved Analyzer is enabled.- Returns:
- whether or not the Swift package resolved Analyzer is enabled
-
setSwiftPackageResolvedAnalyzerEnabled
public void setSwiftPackageResolvedAnalyzerEnabled(java.lang.Boolean swiftPackageResolvedAnalyzerEnabled)
Sets the enabled state of the swift package manager analyzer.- Parameters:
swiftPackageResolvedAnalyzerEnabled
- the enabled state of the swift package resolved analyzer
-
isOpensslAnalyzerEnabled
public java.lang.Boolean isOpensslAnalyzerEnabled()
Get the value of opensslAnalyzerEnabled.- Returns:
- the value of opensslAnalyzerEnabled
-
setOpensslAnalyzerEnabled
public void setOpensslAnalyzerEnabled(java.lang.Boolean opensslAnalyzerEnabled)
Set the value of opensslAnalyzerEnabled.- Parameters:
opensslAnalyzerEnabled
- new value of opensslAnalyzerEnabled
-
isNodeAnalyzerEnabled
public java.lang.Boolean isNodeAnalyzerEnabled()
Get the value of nodeAnalyzerEnabled.- Returns:
- the value of nodeAnalyzerEnabled
-
setNodeAnalyzerEnabled
public void setNodeAnalyzerEnabled(java.lang.Boolean nodeAnalyzerEnabled)
Set the value of nodeAnalyzerEnabled.- Parameters:
nodeAnalyzerEnabled
- new value of nodeAnalyzerEnabled
-
isNodeAuditAnalyzerEnabled
public java.lang.Boolean isNodeAuditAnalyzerEnabled()
Get the value of nodeAuditAnalyzerEnabled.- Returns:
- the value of nodeAuditAnalyzerEnabled
-
setNodeAuditAnalyzerEnabled
public void setNodeAuditAnalyzerEnabled(java.lang.Boolean nodeAuditAnalyzerEnabled)
Set the value of nodeAuditAnalyzerEnabled.- Parameters:
nodeAuditAnalyzerEnabled
- new value of nodeAuditAnalyzerEnabled
-
isYarnAuditAnalyzerEnabled
public java.lang.Boolean isYarnAuditAnalyzerEnabled()
Get the value of yarnAuditAnalyzerEnabled.- Returns:
- the value of yarnAuditAnalyzerEnabled
-
setYarnAuditAnalyzerEnabled
public void setYarnAuditAnalyzerEnabled(java.lang.Boolean yarnAuditAnalyzerEnabled)
Set the value of yarnAuditAnalyzerEnabled.- Parameters:
yarnAuditAnalyzerEnabled
- new value of yarnAuditAnalyzerEnabled
-
isPnpmAuditAnalyzerEnabled
public java.lang.Boolean isPnpmAuditAnalyzerEnabled()
Get the value of pnpmAuditAnalyzerEnabled.- Returns:
- the value of pnpmAuditAnalyzerEnabled
-
setPnpmAuditAnalyzerEnabled
public void setPnpmAuditAnalyzerEnabled(java.lang.Boolean pnpmAuditAnalyzerEnabled)
Set the value of pnpmAuditAnalyzerEnabled.- Parameters:
pnpmAuditAnalyzerEnabled
- new value of pnpmAuditAnalyzerEnabled
-
isNodeAuditAnalyzerUseCache
public java.lang.Boolean isNodeAuditAnalyzerUseCache()
Get the value of nodeAuditAnalyzerUseCache.- Returns:
- the value of nodeAuditAnalyzerUseCache
-
setNodeAuditAnalyzerUseCache
public void setNodeAuditAnalyzerUseCache(java.lang.Boolean nodeAuditAnalyzerUseCache)
Set the value of nodeAuditAnalyzerUseCache.- Parameters:
nodeAuditAnalyzerUseCache
- new value of nodeAuditAnalyzerUseCache
-
isNodePackageAnalyzerSkipDevDependencies
public java.lang.Boolean isNodePackageAnalyzerSkipDevDependencies()
Get the value of nodePackageSkipDevDependencies.- Returns:
- the value of nodePackageSkipDevDependencies
-
setNodePackageSkipDevDependencies
public void setNodePackageSkipDevDependencies(java.lang.Boolean nodePackageSkipDevDependencies)
Set the value of nodePackageSkipDevDependencies.- Parameters:
nodePackageSkipDevDependencies
- new value of nodePackageSkipDevDependencies
-
isNodeAuditAnalyzerSkipDevDependencies
public java.lang.Boolean isNodeAuditAnalyzerSkipDevDependencies()
Get the value of nodeAuditSkipDevDependencies.- Returns:
- the value of nodeAuditSkipDevDependencies
-
setNodeAuditSkipDevDependencies
public void setNodeAuditSkipDevDependencies(java.lang.Boolean nodeAuditSkipDevDependencies)
Set the value of nodeAuditSkipDevDependencies.- Parameters:
nodeAuditSkipDevDependencies
- new value of nodeAuditSkipDevDependencies
-
isRetireJsAnalyzerEnabled
public java.lang.Boolean isRetireJsAnalyzerEnabled()
Get the value of retireJsAnalyzerEnabled.- Returns:
- the value of retireJsAnalyzerEnabled
-
setRetireJsAnalyzerEnabled
public void setRetireJsAnalyzerEnabled(java.lang.Boolean retireJsAnalyzerEnabled)
Set the value of retireJsAnalyzerEnabled.- Parameters:
retireJsAnalyzerEnabled
- new value of retireJsAnalyzerEnabled
-
getRetireJsUrl
public java.lang.String getRetireJsUrl()
Get the value of Retire JS repository URL.- Returns:
- the value of retireJsUrl
-
setRetireJsUrl
public void setRetireJsUrl(java.lang.String retireJsUrl)
Set the value of the Retire JS repository URL.- Parameters:
retireJsUrl
- new value of retireJsUrl
-
getRetireJsUrlUser
public java.lang.String getRetireJsUrlUser()
Get the value of User Retire JS repository URL.- Returns:
- the value of retireJsUrlUser
-
setRetireJsUrlUser
public void setRetireJsUrlUser(java.lang.String retireJsUrlUser)
Set the value of the User Retire JS repository URL.- Parameters:
retireJsUrlUser
- new value of retireJsUrlUser
-
getRetireJsUrlPassword
public java.lang.String getRetireJsUrlPassword()
Get the value of Password Retire JS repository URL.- Returns:
- the value of retireJsUrlPassword
-
setRetireJsUrlPassword
public void setRetireJsUrlPassword(java.lang.String retireJsUrlPassword)
Set the value of the Password Retire JS repository URL.- Parameters:
retireJsUrlPassword
- new value of retireJsUrlPassword
-
isRetireJsAnalyzerForceUpdate
public java.lang.Boolean isRetireJsAnalyzerForceUpdate()
Get the value of retireJsAnalyzerEnabled.- Returns:
- the value of retireJsAnalyzerEnabled
-
setRetireJsAnalyzerForceUpdate
public void setRetireJsAnalyzerForceUpdate(java.lang.Boolean retireJsAnalyzerForceUpdate)
Set the value of retireJsAnalyzerForceUpdate.- Parameters:
retireJsAnalyzerForceUpdate
- new value of retireJsAnalyzerForceUpdate
-
isRetirejsFilterNonVulnerable
public java.lang.Boolean isRetirejsFilterNonVulnerable()
Get the value of retirejsFilterNonVulnerable.- Returns:
- the value of retirejsFilterNonVulnerable
-
setRetirejsFilterNonVulnerable
public void setRetirejsFilterNonVulnerable(java.lang.Boolean retirejsFilterNonVulnerable)
Set the value of retirejsFilterNonVulnerable.- Parameters:
retirejsFilterNonVulnerable
- new value of retirejsFilterNonVulnerable
-
getRetirejsFilters
public java.util.List<java.lang.String> getRetirejsFilters()
Gets retire JS Analyzers file content filters.- Returns:
- retire JS Analyzers file content filters
-
addConfiguredRetirejsFilter
public void addConfiguredRetirejsFilter(RetirejsFilter retirejsFilter)
Add a regular expression to the set of retire JS content filters.This is called by Ant.
- Parameters:
retirejsFilter
- the regular expression used to filter based on file content
-
isRubygemsAnalyzerEnabled
public java.lang.Boolean isRubygemsAnalyzerEnabled()
Get the value of rubygemsAnalyzerEnabled.- Returns:
- the value of rubygemsAnalyzerEnabled
-
setRubygemsAnalyzerEnabled
public void setRubygemsAnalyzerEnabled(java.lang.Boolean rubygemsAnalyzerEnabled)
Set the value of rubygemsAnalyzerEnabled.- Parameters:
rubygemsAnalyzerEnabled
- new value of rubygemsAnalyzerEnabled
-
isPyPackageAnalyzerEnabled
public java.lang.Boolean isPyPackageAnalyzerEnabled()
Get the value of pyPackageAnalyzerEnabled.- Returns:
- the value of pyPackageAnalyzerEnabled
-
setPyPackageAnalyzerEnabled
public void setPyPackageAnalyzerEnabled(java.lang.Boolean pyPackageAnalyzerEnabled)
Set the value of pyPackageAnalyzerEnabled.- Parameters:
pyPackageAnalyzerEnabled
- new value of pyPackageAnalyzerEnabled
-
isPyDistributionAnalyzerEnabled
public java.lang.Boolean isPyDistributionAnalyzerEnabled()
Get the value of pyDistributionAnalyzerEnabled.- Returns:
- the value of pyDistributionAnalyzerEnabled
-
setPyDistributionAnalyzerEnabled
public void setPyDistributionAnalyzerEnabled(java.lang.Boolean pyDistributionAnalyzerEnabled)
Set the value of pyDistributionAnalyzerEnabled.- Parameters:
pyDistributionAnalyzerEnabled
- new value of pyDistributionAnalyzerEnabled
-
getMixAuditAnalyzerEnabled
public java.lang.Boolean getMixAuditAnalyzerEnabled()
Get the value of mixAuditAnalyzerEnabled.- Returns:
- the value of mixAuditAnalyzerEnabled
-
setMixAuditAnalyzerEnabled
public void setMixAuditAnalyzerEnabled(java.lang.Boolean mixAuditAnalyzerEnabled)
Set the value of mixAuditAnalyzerEnabled.- Parameters:
mixAuditAnalyzerEnabled
- new value of mixAuditAnalyzerEnabled
-
isCentralAnalyzerEnabled
public java.lang.Boolean isCentralAnalyzerEnabled()
Get the value of centralAnalyzerEnabled.- Returns:
- the value of centralAnalyzerEnabled
-
setCentralAnalyzerEnabled
public void setCentralAnalyzerEnabled(java.lang.Boolean centralAnalyzerEnabled)
Set the value of centralAnalyzerEnabled.- Parameters:
centralAnalyzerEnabled
- new value of centralAnalyzerEnabled
-
isCentralAnalyzerUseCache
public java.lang.Boolean isCentralAnalyzerUseCache()
Get the value of centralAnalyzerUseCache.- Returns:
- the value of centralAnalyzerUseCache
-
setCentralAnalyzerUseCache
public void setCentralAnalyzerUseCache(java.lang.Boolean centralAnalyzerUseCache)
Set the value of centralAnalyzerUseCache.- Parameters:
centralAnalyzerUseCache
- new value of centralAnalyzerUseCache
-
isNexusAnalyzerEnabled
public java.lang.Boolean isNexusAnalyzerEnabled()
Get the value of nexusAnalyzerEnabled.- Returns:
- the value of nexusAnalyzerEnabled
-
setNexusAnalyzerEnabled
public void setNexusAnalyzerEnabled(java.lang.Boolean nexusAnalyzerEnabled)
Set the value of nexusAnalyzerEnabled.- Parameters:
nexusAnalyzerEnabled
- new value of nexusAnalyzerEnabled
-
isGolangDepEnabled
public java.lang.Boolean isGolangDepEnabled()
Get the value of golangDepEnabled.- Returns:
- the value of golangDepEnabled
-
setGolangDepEnabled
public void setGolangDepEnabled(java.lang.Boolean golangDepEnabled)
Set the value of golangDepEnabled.- Parameters:
golangDepEnabled
- new value of golangDepEnabled
-
isGoModDepEnabled
public java.lang.Boolean isGoModDepEnabled()
Get the value of golangModEnabled.- Returns:
- the value of golangModEnabled
-
setGolangModEnabled
public void setGolangModEnabled(java.lang.Boolean golangModEnabled)
Set the value of golangModEnabled.- Parameters:
golangModEnabled
- new value of golangModEnabled
-
isDartAnalyzerEnabled
public java.lang.Boolean isDartAnalyzerEnabled()
Get the value of dartAnalyzerEnabled.- Returns:
- the value of dartAnalyzerEnabled
-
setDartAnalyzerEnabled
public void setDartAnalyzerEnabled(java.lang.Boolean dartAnalyzerEnabled)
Set the value of dartAnalyzerEnabled.- Parameters:
dartAnalyzerEnabled
- new value of dartAnalyzerEnabled
-
getPathToYarn
public java.lang.String getPathToYarn()
Get the value of pathToYarn.- Returns:
- the value of pathToYarn
-
setPathToYarn
public void setPathToYarn(java.lang.String pathToYarn)
Set the value of pathToYarn.- Parameters:
pathToYarn
- new value of pathToYarn
-
getPathToPnpm
public java.lang.String getPathToPnpm()
Get the value of pathToPnpm.- Returns:
- the value of pathToPnpm
-
setPathToPnpm
public void setPathToPnpm(java.lang.String pathToPnpm)
Set the value of pathToPnpm.- Parameters:
pathToPnpm
- new value of pathToPnpm
-
getPathToGo
public java.lang.String getPathToGo()
Get the value of pathToCore.- Returns:
- the value of pathToCore
-
setPathToGo
public void setPathToGo(java.lang.String pathToGo)
Set the value of pathToGo.- Parameters:
pathToGo
- new value of pathToGo
-
getNexusUrl
public java.lang.String getNexusUrl()
Get the value of nexusUrl.- Returns:
- the value of nexusUrl
-
setNexusUrl
public void setNexusUrl(java.lang.String nexusUrl)
Set the value of nexusUrl.- Parameters:
nexusUrl
- new value of nexusUrl
-
getNexusUser
public java.lang.String getNexusUser()
Get the value of nexusUser.- Returns:
- the value of nexusUser
-
setNexusUser
public void setNexusUser(java.lang.String nexusUser)
Set the value of nexusUser.- Parameters:
nexusUser
- new value of nexusUser
-
getNexusPassword
public java.lang.String getNexusPassword()
Get the value of nexusPassword.- Returns:
- the value of nexusPassword
-
setNexusPassword
public void setNexusPassword(java.lang.String nexusPassword)
Set the value of nexusPassword.- Parameters:
nexusPassword
- new value of nexusPassword
-
isNexusUsesProxy
public java.lang.Boolean isNexusUsesProxy()
Get the value of nexusUsesProxy.- Returns:
- the value of nexusUsesProxy
-
setNexusUsesProxy
public void setNexusUsesProxy(java.lang.Boolean nexusUsesProxy)
Set the value of nexusUsesProxy.- Parameters:
nexusUsesProxy
- new value of nexusUsesProxy
-
getZipExtensions
public java.lang.String getZipExtensions()
Get the value of zipExtensions.- Returns:
- the value of zipExtensions
-
setZipExtensions
public void setZipExtensions(java.lang.String zipExtensions)
Set the value of zipExtensions.- Parameters:
zipExtensions
- new value of zipExtensions
-
getPathToDotnetCore
public java.lang.String getPathToDotnetCore()
Get the value of pathToCore.- Returns:
- the value of pathToCore
-
setPathToDotnetCore
public void setPathToDotnetCore(java.lang.String pathToCore)
Set the value of pathToCore.- Parameters:
pathToCore
- new value of pathToCore
-
isOssindexAnalyzerEnabled
public java.lang.Boolean isOssindexAnalyzerEnabled()
Get value ofossindexAnalyzerEnabled
.- Returns:
- the value of ossindexAnalyzerEnabled
-
setOssindexAnalyzerEnabled
public void setOssindexAnalyzerEnabled(java.lang.Boolean ossindexAnalyzerEnabled)
Set value ofossindexAnalyzerEnabled
.- Parameters:
ossindexAnalyzerEnabled
- new value of ossindexAnalyzerEnabled
-
isOssindexAnalyzerUseCache
public java.lang.Boolean isOssindexAnalyzerUseCache()
Get value ofossindexAnalyzerUseCache
.- Returns:
- the value of ossindexAnalyzerUseCache
-
setOssindexAnalyzerUseCache
public void setOssindexAnalyzerUseCache(java.lang.Boolean ossindexAnalyzerUseCache)
Set value ofossindexAnalyzerUseCache
.- Parameters:
ossindexAnalyzerUseCache
- new value of ossindexAnalyzerUseCache
-
getOssindexAnalyzerUrl
public java.lang.String getOssindexAnalyzerUrl()
Get value ofossindexAnalyzerUrl
.- Returns:
- the value of ossindexAnalyzerUrl
-
setOssindexAnalyzerUrl
public void setOssindexAnalyzerUrl(java.lang.String ossindexAnalyzerUrl)
Set value ofossindexAnalyzerUrl
.- Parameters:
ossindexAnalyzerUrl
- new value of ossindexAnalyzerUrl
-
getOssindexAnalyzerUsername
public java.lang.String getOssindexAnalyzerUsername()
Get value ofossindexAnalyzerUsername
.- Returns:
- the value of ossindexAnalyzerUsername
-
setOssindexAnalyzerUsername
public void setOssindexAnalyzerUsername(java.lang.String ossindexAnalyzerUsername)
Set value ofossindexAnalyzerUsername
.- Parameters:
ossindexAnalyzerUsername
- new value of ossindexAnalyzerUsername
-
getOssindexAnalyzerPassword
public java.lang.String getOssindexAnalyzerPassword()
Get value ofossindexAnalyzerPassword
.- Returns:
- the value of ossindexAnalyzerPassword
-
setOssindexAnalyzerPassword
public void setOssindexAnalyzerPassword(java.lang.String ossindexAnalyzerPassword)
Set value ofossindexAnalyzerPassword
.- Parameters:
ossindexAnalyzerPassword
- new value of ossindexAnalyzerPassword
-
getOssIndexWarnOnlyOnRemoteErrors
public java.lang.Boolean getOssIndexWarnOnlyOnRemoteErrors()
Get value ofossIndexAnalyzerWarnOnlyOnRemoteErrors
.- Returns:
- the value of ossIndexWarnOnlyOnRemoteErrors
-
setOssIndexWarnOnlyOnRemoteErrors
public void setOssIndexWarnOnlyOnRemoteErrors(java.lang.Boolean ossIndexWarnOnlyOnRemoteErrors)
Set value ofossIndexAnalyzerWarnOnlyOnRemoteErrors
.- Parameters:
ossIndexWarnOnlyOnRemoteErrors
- the value of ossIndexWarnOnlyOnRemoteErrors
-
isCmakeAnalyzerEnabled
public java.lang.Boolean isCmakeAnalyzerEnabled()
Get the value of cmakeAnalyzerEnabled.- Returns:
- the value of cmakeAnalyzerEnabled
-
setCmakeAnalyzerEnabled
public void setCmakeAnalyzerEnabled(java.lang.Boolean cmakeAnalyzerEnabled)
Set the value of cmakeAnalyzerEnabled.- Parameters:
cmakeAnalyzerEnabled
- new value of cmakeAnalyzerEnabled
-
getArtifactoryAnalyzerEnabled
public java.lang.Boolean getArtifactoryAnalyzerEnabled()
Returns the value of artifactoryAnalyzerEnabled.- Returns:
- the value of artifactoryAnalyzerEnabled
-
setArtifactoryAnalyzerEnabled
public void setArtifactoryAnalyzerEnabled(java.lang.Boolean artifactoryAnalyzerEnabled)
Set the value of artifactoryAnalyzerEnabled.- Parameters:
artifactoryAnalyzerEnabled
- new value of artifactoryAnalyzerEnabled
-
getArtifactoryAnalyzerUrl
public java.lang.String getArtifactoryAnalyzerUrl()
Returns the value of artifactoryAnalyzerUrl.- Returns:
- the value of artifactoryAnalyzerUrl
-
setArtifactoryAnalyzerUrl
public void setArtifactoryAnalyzerUrl(java.lang.String artifactoryAnalyzerUrl)
Set the value of artifactoryAnalyzerUrl.- Parameters:
artifactoryAnalyzerUrl
- new value of artifactoryAnalyzerUrl
-
getArtifactoryAnalyzerUseProxy
public java.lang.Boolean getArtifactoryAnalyzerUseProxy()
Returns the value of artifactoryAnalyzerUseProxy.- Returns:
- the value of artifactoryAnalyzerUseProxy
-
setArtifactoryAnalyzerUseProxy
public void setArtifactoryAnalyzerUseProxy(java.lang.Boolean artifactoryAnalyzerUseProxy)
Set the value of artifactoryAnalyzerUseProxy.- Parameters:
artifactoryAnalyzerUseProxy
- new value of artifactoryAnalyzerUseProxy
-
getArtifactoryAnalyzerParallelAnalysis
public java.lang.Boolean getArtifactoryAnalyzerParallelAnalysis()
Returns the value of artifactoryAnalyzerParallelAnalysis.- Returns:
- the value of artifactoryAnalyzerParallelAnalysis
-
setArtifactoryAnalyzerParallelAnalysis
public void setArtifactoryAnalyzerParallelAnalysis(java.lang.Boolean artifactoryAnalyzerParallelAnalysis)
Set the value of artifactoryAnalyzerParallelAnalysis.- Parameters:
artifactoryAnalyzerParallelAnalysis
- new value of artifactoryAnalyzerParallelAnalysis
-
getArtifactoryAnalyzerUsername
public java.lang.String getArtifactoryAnalyzerUsername()
Returns the value of artifactoryAnalyzerUsername.- Returns:
- the value of artifactoryAnalyzerUsername
-
setArtifactoryAnalyzerUsername
public void setArtifactoryAnalyzerUsername(java.lang.String artifactoryAnalyzerUsername)
Set the value of artifactoryAnalyzerUsername.- Parameters:
artifactoryAnalyzerUsername
- new value of artifactoryAnalyzerUsername
-
getArtifactoryAnalyzerApiToken
public java.lang.String getArtifactoryAnalyzerApiToken()
Returns the value of artifactoryAnalyzerApiToken.- Returns:
- the value of artifactoryAnalyzerApiToken
-
setArtifactoryAnalyzerApiToken
public void setArtifactoryAnalyzerApiToken(java.lang.String artifactoryAnalyzerApiToken)
Set the value of artifactoryAnalyzerApiToken.- Parameters:
artifactoryAnalyzerApiToken
- new value of artifactoryAnalyzerApiToken
-
getArtifactoryAnalyzerBearerToken
public java.lang.String getArtifactoryAnalyzerBearerToken()
Returns the value of artifactoryAnalyzerBearerToken.- Returns:
- the value of artifactoryAnalyzerBearerToken
-
setArtifactoryAnalyzerBearerToken
public void setArtifactoryAnalyzerBearerToken(java.lang.String artifactoryAnalyzerBearerToken)
Set the value of artifactoryAnalyzerBearerToken.- Parameters:
artifactoryAnalyzerBearerToken
- new value of artifactoryAnalyzerBearerToken
-
executeWithContextClassloader
protected void executeWithContextClassloader() throws org.apache.tools.ant.BuildException
Description copied from class:Update
Executes the update by initializing the settings, downloads the NVD XML data, and then processes the data storing it in the local database.- Overrides:
executeWithContextClassloader
in classUpdate
- Throws:
org.apache.tools.ant.BuildException
- thrown if a connection to the local database cannot be made.
-
populateSettings
protected void populateSettings() throws org.apache.tools.ant.BuildException
Takes the properties supplied and updates the dependency-check settings. Additionally, this sets the system properties required to change the proxy server, port, and connection timeout.- Overrides:
populateSettings
in classUpdate
- Throws:
org.apache.tools.ant.BuildException
- thrown when an invalid setting is configured.
-
-