Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dependency-check/DependencyCheck
/ functions
Functions
3,473 in github.com/dependency-check/DependencyCheck
⨍
Functions
3,473
◇
Types & classes
508
↓ 3 callers
Method
getReportFormat
Returns the output format specified on the command line. Defaults to HTML if no format was specified. @return the output format name.
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:870
↓ 3 callers
Method
getResult
(int[] values)
core/src/main/java/org/owasp/dependencycheck/data/nvd/ecosystem/DescriptionEcosystemMapper.java:246
↓ 3 callers
Method
getRuleCount
Returns the number of suppression rules currently loaded in the engine. @param engine a reference to the ODC engine @return the count of rules loaded
core/src/main/java/org/owasp/dependencycheck/analyzer/AbstractSuppressionAnalyzer.java:449
↓ 3 callers
Method
getScanFiles
Retrieves the file command line parameter(s) specified for the 'scan' argument. @return the file paths specified on the command line for scan
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:815
↓ 3 callers
Method
getSearcher
Returns the node audit search utility. @return the node audit search utility
core/src/main/java/org/owasp/dependencycheck/analyzer/AbstractNpmAnalyzer.java:527
↓ 3 callers
Method
getSettings
Returns the configured settings. @return the configured settings
core/src/main/java/org/owasp/dependencycheck/Engine.java:1073
↓ 3 callers
Method
getSeverity
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:245
↓ 3 callers
Method
getSha256
()
core/src/main/java/org/owasp/dependencycheck/data/artifactory/ChecksumsImpl.java:34
↓ 3 callers
Method
getShortDescription
Get the short description. @return the short description
core/src/main/java/org/owasp/dependencycheck/reporting/SarifRule.java:745
↓ 3 callers
Method
getUnusedSuppressionRuleCount
@return the count of unused suppression rules.
core/src/main/java/org/owasp/dependencycheck/analyzer/UnusedSuppressionRuleAnalyzer.java:135
↓ 3 callers
Method
hasCvssV2Below
Returns whether or not this suppression rule has CVSS v2 suppression criteria. @return whether or not this suppression rule has CVSS v2 suppression c
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:309
↓ 3 callers
Method
hasCvssV3Below
Returns whether or not this suppression rule has CVSS v3 suppression criteria. @return whether or not this suppression rule has CVSS v3 suppression c
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:345
↓ 3 callers
Method
hasCvssV4Below
Returns whether or not this suppression rule has CVSS v4 suppression criteria. @return whether or not this suppression rule has CVSS v4 suppression c
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:381
↓ 3 callers
Method
hasMatchingEvidence
Determine if there is matching evidence. @param evidences the evidence to test @param criterion the criteria for a match @return true if the evidence
core/src/main/java/org/owasp/dependencycheck/analyzer/HintAnalyzer.java:217
↓ 3 callers
Method
hash
Calculates the checksum for the given file. @param file the source for the checksum @return the string representation of the checksum @throws IOExcep
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:1078
↓ 3 callers
Method
html
HTML Encodes the provided text. @param text the text to encode @return the HTML encoded text
core/src/main/java/org/owasp/dependencycheck/reporting/EscapeTool.java:55
↓ 3 callers
Method
initMaskedKeys
Initializes the masked keys collection. This is done outside of the {@link #initialize(java.lang.String)} method because a caller may use the {@link #
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1058
↓ 3 callers
Method
instance
Returns a reference to the instance. @return a reference to the instance
core/src/main/java/org/owasp/dependencycheck/data/cpe/AbstractMemoryIndex.java:119
↓ 3 callers
Method
isEnabled
Determine whether to enable this analyzer or not. @return whether the analyzer should be enabled
core/src/main/java/org/owasp/dependencycheck/analyzer/NexusAnalyzer.java:158
↓ 3 callers
Method
isEnabled
Get the value of enabled. @return the value of enabled
core/src/main/java/org/owasp/dependencycheck/analyzer/AbstractAnalyzer.java:58
↓ 3 callers
Method
isEqualOrNull
Compares two strings for equality; if both strings are null they are considered equal. @param left the first string to compare @param right the secon
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:1272
↓ 3 callers
Method
isSameRubyGem
Bundling Ruby gems that are identified from different .gemspec files but denote the same package path. This happens when Ruby bundler installs an appl
core/src/main/java/org/owasp/dependencycheck/analyzer/DependencyMergingAnalyzer.java:179
↓ 3 callers
Method
isSameSwiftPackage
Bundling same swift dependencies with the same packagePath but identified by different file type analyzers. @param dependency1 dependency to test @pa
core/src/main/java/org/owasp/dependencycheck/analyzer/DependencyMergingAnalyzer.java:231
↓ 3 callers
Method
json
JSON Encodes the provided text. @param text the text to encode @return the JSON encoded text
core/src/main/java/org/owasp/dependencycheck/reporting/EscapeTool.java:89
↓ 3 callers
Method
language
(LogicalValue language)
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:236
↓ 3 callers
Method
locateDirectoryBuildFile
Walk the current directory up to find `Directory.Build.props`. @param name the name of the build file to load. @param directory the directory to begi
core/src/main/java/org/owasp/dependencycheck/analyzer/MSBuildProjectAnalyzer.java:251
↓ 3 callers
Method
logProperties
Logs the properties. This will not log any properties that contain 'password' in the key. @param header the header to print with the log message @par
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1076
↓ 3 callers
Method
newOptionGroup
Builds a new option group so that an option can be specified multiple times on the command line. @param option the option to add to the group @return
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:1055
↓ 3 callers
Method
newResolveArtifactProjectBuildingRequest
@param project The target project to create a building request for. @param repos the artifact repositories to use. @return Returns a new ProjectBuildi
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:2067
↓ 3 callers
Method
nvdProductSearchUrlFor
Produces an NVD search URL for a given CPE to find all applicable vulnerabilities, including only the part, vendor, and product of the given CPE (if p
core/src/main/java/org/owasp/dependencycheck/dependency/naming/CpeIdentifier.java:239
↓ 3 callers
Method
other
(LogicalValue other)
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:216
↓ 3 callers
Method
populateSettings
Takes the properties supplied and updates the dependency-check settings. Additionally, this sets the system properties required to change the proxy UR
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:2310
↓ 3 callers
Method
process
Process the input stream to create the list of dependencies.
core/src/main/java/org/owasp/dependencycheck/data/composer/ComposerLockParser.java:76
↓ 3 callers
Method
process
Process the input stream to create the list of dependencies. @param inputStream the InputStream to parse @return the list of dependencies @throws Ana
core/src/main/java/org/owasp/dependencycheck/data/golang/GoModJsonParser.java:64
↓ 3 callers
Method
process
Process the input stream to create the list of dependencies. @throws AnalysisException thrown when there is an error parsing the results of `mix_audi
core/src/main/java/org/owasp/dependencycheck/data/elixir/MixAuditJsonParser.java:100
↓ 3 callers
Method
processProperties
Process the Maven properties file and interpolate all properties. @param properties new value of properties
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:333
↓ 3 callers
Method
processResults
Processes the advisories creating the appropriate dependency objects and adding the resulting vulnerabilities. @param advisories a collection of advi
core/src/main/java/org/owasp/dependencycheck/analyzer/AbstractNpmAnalyzer.java:450
↓ 3 callers
Method
removeBadMatches
Removes bad CPE matches for a dependency. Unfortunately, right now these are hard-coded patches for specific problems identified when testing this on
core/src/main/java/org/owasp/dependencycheck/analyzer/FalsePositiveAnalyzer.java:241
↓ 3 callers
Method
removeMatchingEvidences
Removes any matching evidence from the dependency. @param dependency the dependency to update @param type the type of evidence to inspect and possibl
core/src/main/java/org/owasp/dependencycheck/analyzer/HintAnalyzer.java:233
↓ 3 callers
Method
removeProperty
Removes a property from the local properties collection. This is mainly used in test cases. @param key the property key to remove
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1412
↓ 3 callers
Method
removeSelfReferences
This method prevents to generate an infinite loop when variables are initialized by other variables and end up forming an unresolvable chain. <p>This
core/src/main/java/org/owasp/dependencycheck/analyzer/CMakeAnalyzer.java:357
↓ 3 callers
Method
reset
(SearchFieldAnalyzer searchAnalyzerProduct, SearchFieldAnalyzer searchAnalyzerVendor)
core/src/test/java/org/owasp/dependencycheck/data/lucene/FieldAnalyzerTest.java:130
↓ 3 callers
Method
resetAnalyzers
Common method to reset the searching analyzers. @throws IOException thrown if there is an index error
core/src/main/java/org/owasp/dependencycheck/data/cpe/AbstractMemoryIndex.java:359
↓ 3 callers
Method
resolveRelative
(String path)
ant/src/main/java/org/owasp/dependencycheck/taskdefs/Check.java:580
↓ 3 callers
Method
scanArtifacts
Scans the project's artifacts and adds them to the engine's dependency list. @param project the project to scan the dependencies of @param engine the
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:1388
↓ 3 callers
Method
scanDependencyNode
(DependencyNode dependencyNode, DependencyNode root, Engine
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:2989
↓ 3 callers
Method
searchCPE
<p> Searches the Lucene CPE index to identify possible CPE entries associated with the supplied vendor, product, and version.</p> <p> If either the v
core/src/main/java/org/owasp/dependencycheck/analyzer/CPEAnalyzer.java:419
↓ 3 callers
Method
setCentralSearch
Method used by unit tests to setup the analyzer. @param searcher the Central Search object to use.
core/src/main/java/org/owasp/dependencycheck/analyzer/CentralAnalyzer.java:388
↓ 3 callers
Method
setConfidence
Set the value of confidence. @param confidence the value of confidence
core/src/main/java/org/owasp/dependencycheck/dependency/naming/Identifier.java:44
↓ 3 callers
Method
setFilePath
Set the value of filePath. @param filePath new value of filePath
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:174
↓ 3 callers
Method
setId
Sets the id. @param id the id
core/src/main/java/org/owasp/dependencycheck/data/nuget/NugetPackageReference.java:45
↓ 3 callers
Method
setPackageUrl
Set the value of Package URL. @param purl new value of package URL
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:525
↓ 3 callers
Method
setParentArtifactId
Set the value of parentArtifactId. @param parentArtifactId new value of parentArtifactId
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:252
↓ 3 callers
Method
setParentGroupId
Set the value of parentGroupId. @param parentGroupId new value of parentGroupId
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:234
↓ 3 callers
Method
setParentVersion
Set the value of parentVersion. @param parentVersion new value of parentVersion
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:270
↓ 3 callers
Method
setProxyServerSysPropsFromMavenProxy
(Proxy mavenProxy, String protocol)
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:2660
↓ 3 callers
Method
setSha1
Set the value of SHA1. @param sha1 new value of SHA1
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:192
↓ 3 callers
Method
setTimestamp
Stores a timestamp in the properties file. @param properties the properties to store the timestamp @param key the property key @param timestamp the z
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseProperties.java:205
↓ 3 callers
Method
setVersion
Sets the version. @param version the version
core/src/main/java/org/owasp/dependencycheck/data/nuget/NugetPackageReference.java:63
↓ 3 callers
Method
showSummary
Generates a warning message listing a summary of dependencies and their associated CPE and CVE entries. @param dependencies a list of dependency obje
core/src/main/java/org/owasp/dependencycheck/agent/DependencyCheckScanAgent.java:1083
↓ 3 callers
Method
skip
(long n)
utils/src/main/java/org/owasp/dependencycheck/utils/JsonArrayFixingInputStream.java:225
↓ 3 callers
Method
startProcessor
Starts the process in its own thread and collects the threads so `join` can be called later to ensure the thread finishes. @param p a reference to th
utils/src/main/java/org/owasp/dependencycheck/utils/processing/ProcessReader.java:130
↓ 3 callers
Method
stringToBytes
Converts the given text into bytes. @param text the text to convert @return the bytes
utils/src/main/java/org/owasp/dependencycheck/utils/Checksum.java:212
↓ 3 callers
Method
stripLeadingNonNumeric
Strips leading non-numeric values from the start of the string. If no numbers are present this will return null. @param str the string to modify @ret
core/src/main/java/org/owasp/dependencycheck/analyzer/DependencyBundlingAnalyzer.java:670
↓ 3 callers
Method
submitPackage
Submits the package.json file to the Node Audit API and returns a list of zero or more Advisories. @param packageJson the package.json file retrieved
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/NodeAuditSearch.java:124
↓ 3 callers
Method
supportsParallelProcessing
Returns whether multiple instances of the same type of analyzer can run in parallel. Note that running analyzers of different types in parallel is not
core/src/main/java/org/owasp/dependencycheck/analyzer/Analyzer.java:106
↓ 3 callers
Method
swEdition
(LogicalValue swEdition)
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:231
↓ 3 callers
Method
targetHw
(LogicalValue targetHw)
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:221
↓ 3 callers
Method
testCveCpeStartWithFilter
Tests the CVE's CPE entries against the starts with filter. In general this limits the CVEs imported to just application level vulnerabilities. @para
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveItemOperator.java:221
↓ 3 callers
Method
throwingOssIndex
(Exception exception1)
core/src/test/java/org/owasp/dependencycheck/analyzer/OssIndexAnalyzerTest.java:341
↓ 3 callers
Method
toSuffixedUrl
(String suffix)
core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java:681
↓ 3 callers
Method
update
Downloads the current RetireJS data source. @param engine a reference to the ODC Engine @return returns false as no updates are made to the database
core/src/main/java/org/owasp/dependencycheck/data/update/RetireJSDataSource.java:75
↓ 3 callers
Method
updateCveDb
(CveItemSource<DefCveItem> itemSource)
core/src/main/java/org/owasp/dependencycheck/data/update/nvd/api/NvdApiProcessor.java:115
↓ 3 callers
Method
url
URL Encodes the provided text. @param text the text to encode @return the URL encoded text
core/src/main/java/org/owasp/dependencycheck/reporting/EscapeTool.java:42
↓ 3 callers
Method
vulnerabilities
(KnownCveProvider knownCveProvider)
core/src/main/java/org/owasp/dependencycheck/analyzer/RetireJsAnalyzer.java:365
↓ 3 callers
Method
vulnerable
A flag indicating whether this represents a vulnerable software object. @param vulnerable whether or not this VulnerableSoftware object represents an
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:160
↓ 3 callers
Method
warnIfDeprecatedParamUsed
Checks if the deprecated (aka aliased) parameter is used in the plugin configuration and logs a warning if so. @param currentName the name of the cur
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:3266
↓ 3 callers
Method
withEofSwallowing
(IOExceptionThrower throwingRunnable, String errorContext)
core/src/main/java/org/owasp/dependencycheck/utils/PEParser.java:121
↓ 3 callers
Method
withSkipRuntimeScope
(final boolean skipRuntimeScope)
maven/src/test/java/org/owasp/dependencycheck/maven/ArtifactScopeExcludedTest.java:102
↓ 2 callers
Function
_get_queryset
Returns a QuerySet from a Model, Manager, or QuerySet. Created to make get_object_or_404 and get_list_or_404 more DRY. Raises a ValueErr
core/src/test/resources/python/site-packages/django/shortcuts.py:77
↓ 2 callers
Method
addAdvancedOptions
Adds the advanced command line options to the given options collection. These are split out for purposes of being able to display two different help m
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:360
↓ 2 callers
Method
addAllIncludedBy
Adds a set of project references. @param includedBy a set of project references
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:841
↓ 2 callers
Method
addAvailableVersion
Adds a version to the available version list. @param version the version to add to the list
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:928
↓ 2 callers
Method
addConstantElements
Adds the constant data elements to the npm audit API payload. @param payloadBuilder a reference to the npm audit API payload builder
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/NpmPayloadBuilder.java:229
↓ 2 callers
Method
addDoc
(IndexWriter w, String field1, String text1, String field2, String text2)
core/src/test/java/org/owasp/dependencycheck/data/lucene/FieldAnalyzerTest.java:123
↓ 2 callers
Method
addPluginToDependencies
(MavenProject project, Engine engine, Artifact artifact, String parent, ExceptionCollection exCollection)
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:1483
↓ 2 callers
Method
addProjectInfo
Adds the project name and version to the npm audit API payload. @param packageJson a reference to the package-lock.json @param payloadBuilder a refer
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/NpmPayloadBuilder.java:213
↓ 2 callers
Method
addReactorDependency
Checks if the current artifact is actually in the reactor projects that have not yet been built. If true a virtual dependency is created based on the
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:1931
↓ 2 callers
Method
addRelatedDependency
Adds a related dependency. @param dependency a reference to the related dependency
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:886
↓ 2 callers
Method
addShutdownHook
Adds the shutdown hook to the JVM.
core/src/main/java/org/owasp/dependencycheck/utils/WriteLock.java:303
↓ 2 callers
Method
addStandardOptions
Adds the standard command line options to the given options collection. @param options a collection of command line arguments
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:318
↓ 2 callers
Method
addSummaryInfo
Adds summary information to the dependency @param dependency the dependency being analyzed @param pattern the pattern used to perform analysis @param
core/src/main/java/org/owasp/dependencycheck/analyzer/PythonPackageAnalyzer.java:295
↓ 2 callers
Method
addTerm
Adds a term, if one exists, from the tokens collection. @return whether or not a new term was added
core/src/main/java/org/owasp/dependencycheck/data/lucene/AbstractTokenizingFilter.java:88
↓ 2 callers
Method
addVirtualDependencyFromReactor
Checks if the current artifact is actually in the reactor projects. If true a virtual dependency is created based on the evidence in the project. @pa
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:1950
↓ 2 callers
Method
addYamlDependenciesToEngine
(Iterator<Map.Entry<String, JsonNode>> dependencies, File file, Engine engine)
core/src/main/java/org/owasp/dependencycheck/analyzer/DartAnalyzer.java:210
↓ 2 callers
Method
allRulesNotMarkedAsBase
(List<SuppressionRule> baseRules)
core/src/test/java/org/owasp/dependencycheck/analyzer/AbstractSuppressionAnalyzerTest.java:203
↓ 2 callers
Method
analyzeDependency
Loads a specified JAR file and collects information from the manifest and checksums to identify the correct CPE information. @param dependency the de
core/src/main/java/org/owasp/dependencycheck/analyzer/JarAnalyzer.java:306
↓ 2 callers
Method
analyzeDependency
(Dependency dependency, Engine engine)
core/src/main/java/org/owasp/dependencycheck/analyzer/UnusedSuppressionRuleAnalyzer.java:68
↓ 2 callers
Method
analyzePOM
Reads in the pom file and adds elements as evidence to the given dependency. @param dependency the dependency being analyzed @param pomFile the pom f
core/src/main/java/org/owasp/dependencycheck/xml/pom/PomUtils.java:154
↓ 2 callers
Method
appendWeightedSearch
This method constructs a Lucene query for a given field. The searchText is split into separate words and if the word is within the list of weighted wo
core/src/main/java/org/owasp/dependencycheck/analyzer/CPEAnalyzer.java:512
← previous
next →
601–700 of 3,473, ranked by callers