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
↓ 8 callers
Method
getProductVersion
Get the value of productVersion. @return the value of productVersion
core/src/main/java/org/owasp/dependencycheck/xml/assembly/AssemblyData.java:150
↓ 8 callers
Method
getRemoveVendor
Get the value of removeVendor. @return the value of removeVendor
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:221
↓ 8 callers
Method
getRemoveVersion
Get the value of removeVersion. @return the value of removeVersion
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:261
↓ 8 callers
Method
getType
Get the value of type. @return the value of type
core/src/main/java/org/owasp/dependencycheck/dependency/IncludedByReference.java:73
↓ 8 callers
Method
isEmpty
Returns <code>true</code> if the ecosystem cache is empty; otherwise <code>false</code>. @return <code>true</code> if the ecosystem cache is empty; o
core/src/main/java/org/owasp/dependencycheck/data/update/cpe/CpeEcosystemCache.java:115
↓ 8 callers
Method
isFailOnError
Returns if the mojo should fail the build if an exception occurs. @return whether or not the mojo should fail the build
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:1318
↓ 8 callers
Method
isH2Connection
Determines if the connection string is for an H2 database. @return true if the connection string is for an H2 database
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java:322
↓ 8 callers
Method
isKeyword
Determines if the given term is a Lucene keyword (e.g. AND, OR, NOT). @param term the term to test @return <code>true</code>if the term is a keyword;
core/src/main/java/org/owasp/dependencycheck/data/lucene/LuceneUtils.java:46
↓ 8 callers
Method
libraryName
()
core/src/main/java/org/owasp/dependencycheck/analyzer/RetireJsAnalyzer.java:342
↓ 8 callers
Method
parse
Parses the given xml file and returns a Model object containing only the fields dependency-check requires. An attempt is made to remove any doctype de
core/src/main/java/org/owasp/dependencycheck/xml/pom/PomParser.java:64
↓ 8 callers
Method
read
Read n characters. @param n the number of characters to read @return the characters read @throws IOException thrown when an error occurs
core/src/main/java/org/owasp/dependencycheck/xml/XmlInputStream.java:88
↓ 8 callers
Method
search
Searches the index using the given search string. @param searchString the query text @param maxQueryResults the maximum number of documents to return
core/src/main/java/org/owasp/dependencycheck/data/cpe/MemoryIndex.java:77
↓ 8 callers
Method
setDescription
Set the value of description. @param description new value of description
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:162
↓ 8 callers
Method
shouldUpdate
Determines if a new version of the dependency-check engine has been released. @param lastChecked the epoch time of the last version check @param now
core/src/main/java/org/owasp/dependencycheck/data/update/EngineVersionCheck.java:171
↓ 7 callers
Method
addCvssBelow
Adds the CVSS to the cvssBelow list. @param cvss the CVSS to add
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:264
↓ 7 callers
Method
addStringEvidence
Adds the specified evidence to the given evidence collection. @param dependency the dependency being analyzed @param type the type of evidence to add
core/src/main/java/org/owasp/dependencycheck/analyzer/RubyGemspecAnalyzer.java:225
↓ 7 callers
Method
addToEvidence
Adds information to an evidence collection from the node json configuration. @param dep the dependency to add the evidence @param t the type of evide
core/src/main/java/org/owasp/dependencycheck/analyzer/AbstractNpmAnalyzer.java:238
↓ 7 callers
Method
buildSecureValidatingXmlReader
Constructs a validating secure SAX XMLReader that can validate against schemas maintained locally. @param schemas One or more schemas with the schema
utils/src/main/java/org/owasp/dependencycheck/utils/XmlUtils.java:82
↓ 7 callers
Method
close
Properly cleans up resources allocated during analysis.
core/src/main/java/org/owasp/dependencycheck/Engine.java:200
↓ 7 callers
Method
equals
(Object obj)
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftware.java:167
↓ 7 callers
Method
fetchAndHandle
Download a resource from the given URL and have its content handled by the given ResponseHandler. @param url The url of the resource @par
utils/src/main/java/org/owasp/dependencycheck/utils/Downloader.java:651
↓ 7 callers
Method
firstPathIsShortest
Determines which path is shortest; if path lengths are equal then we use compareTo of the string method to determine if the first path is smaller. @p
core/src/main/java/org/owasp/dependencycheck/analyzer/DependencyBundlingAnalyzer.java:531
↓ 7 callers
Method
getAddVersion
Get the value of addVersion. @return the value of addVersion
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:179
↓ 7 callers
Method
getAnalyzers
Returns a list of all instances of the Analyzer interface. @return a list of Analyzers.
core/src/main/java/org/owasp/dependencycheck/analyzer/AnalyzerService.java:73
↓ 7 callers
Method
getDependencies
Gets the list of dependencies. @return the list of dependencies
core/src/main/java/org/owasp/dependencycheck/data/composer/ComposerLockParser.java:133
↓ 7 callers
Method
getFileExtension
Returns the (lowercase) file extension for a specified file. @param fileName the file name to retrieve the file extension from. @return the file exte
utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java:74
↓ 7 callers
Method
getFileNames
Returns the list of fileName evidence to match against. @return the list of fileName evidence to match against
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:93
↓ 7 callers
Method
getHintRules
Returns the hint rules. @return the hint rules
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintParser.java:93
↓ 7 callers
Method
getHost
Get the host. @return the host
maven/src/main/java/org/owasp/dependencycheck/maven/ProxyConfig.java:46
↓ 7 callers
Method
getPrintableValue
Obtains the printable/loggable value for a given key/value pair. This will mask some values so as to not leak sensitive information. @param key the p
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1044
↓ 7 callers
Method
getReferences
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:229
↓ 7 callers
Method
getReferences
Get the value of references. @return the value of references
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:207
↓ 7 callers
Method
getSha256sum
Returns the SHA256 Checksum of the dependency. @return the SHA256 Checksum of the dependency
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:416
↓ 7 callers
Method
getTempFile
Generates a new temporary file name that is guaranteed to be unique. @param prefix the prefix for the file name to generate @param extension the exte
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1650
↓ 7 callers
Method
getVendorDuplicatingHintRules
Returns the vendor duplicating hint rules. @return the vendor duplicating hint rules
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintParser.java:103
↓ 7 callers
Method
newClientFor
(OssindexClientConfiguration config, Transport transport, Marshaller marshaller)
core/src/main/java/org/owasp/dependencycheck/data/ossindex/OssIndexClientProvider.java:118
↓ 7 callers
Method
nvdSearchUrlFor
Produces an NVD search URL for a given CPE to find all applicable vulnerabilities, including all populated parts of the given CPE. <p/> The opened lin
core/src/main/java/org/owasp/dependencycheck/dependency/naming/CpeIdentifier.java:216
↓ 7 callers
Method
setCache
Sets the ecosystem cache and resets the changed map. @param cache the new CPE to ecosystem mapping
core/src/main/java/org/owasp/dependencycheck/data/update/cpe/CpeEcosystemCache.java:94
↓ 7 callers
Method
setDescription
Set the value of description. @param description new value of description
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:198
↓ 7 callers
Method
setPackagePath
Sets the package path on the given dependency. @param dep the dependency to update
core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java:290
↓ 7 callers
Method
setUpdateToVersion
Setter for updateToVersion - only used for testing. Represents the version retrieved from the database. @param version the version to test
core/src/main/java/org/owasp/dependencycheck/data/update/EngineVersionCheck.java:105
↓ 7 callers
Method
versionEndIncluding
The ending range, including the specified version, for matching vulnerable software. @param versionEndIncluding the version range @return a reference
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:124
↓ 7 callers
Method
versionStartIncluding
The starting range, including the specified version, for matching vulnerable software. @param versionStartIncluding the version range @return a refer
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:148
↓ 6 callers
Method
addDescription
Adds a description to the given dependency. If the description contains one of the following strings beyond 100 characters, then the description used
core/src/main/java/org/owasp/dependencycheck/analyzer/JarAnalyzer.java:1037
↓ 6 callers
Method
appendEscapedLuceneQuery
Appends the text to the supplied StringBuilder escaping Lucene control characters in the process. @param buf a StringBuilder to append the escaped te
core/src/main/java/org/owasp/dependencycheck/data/lucene/LuceneUtils.java:68
↓ 6 callers
Method
asCve
(String description)
core/src/test/java/org/owasp/dependencycheck/data/nvd/ecosystem/DescriptionEcosystemMapperTest.java:101
↓ 6 callers
Method
buildSecureDocumentBuilder
Constructs a new document builder with security features enabled. @return a new document builder @throws javax.xml.parsers.ParserConfigurationExcepti
utils/src/main/java/org/owasp/dependencycheck/utils/XmlUtils.java:181
↓ 6 callers
Method
callDetermineCPE_full
Test of determineCPE method, of class CPEAnalyzer. @param depName dependency name @param expResult expected results @param cpeAnalyzer the CPE analyz
core/src/test/java/org/owasp/dependencycheck/analyzer/CPEAnalyzerIT.java:136
↓ 6 callers
Method
checkUnusedRules
(boolean shouldFail, int expectedCount, boolean withSuppressionRules, boolean matching, Dependency ... dep
core/src/test/java/org/owasp/dependencycheck/analyzer/UnusedSuppressionRuleAnalyzerTest.java:87
↓ 6 callers
Method
clearCache
Clears cache. Should be called whenever something is modified. While this is not the optimal cache eviction strategy, this is good enough for typical
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:604
↓ 6 callers
Method
createParentFolder
create the parent folder if doesn't exist @param file the file @return true if all fine ?
core/src/test/java/org/owasp/dependencycheck/reporting/ReportGeneratorIT.java:216
↓ 6 callers
Method
determineCPE
Searches the data store of CPE entries, trying to identify the CPE for the given dependency based on the evidence contained within. The dependency pas
core/src/main/java/org/owasp/dependencycheck/analyzer/CPEAnalyzer.java:242
↓ 6 callers
Method
determineEvidence
Extracts evidence from the contents and adds it to the given evidence collection. @param contents the text to extract evidence from @param blockVaria
core/src/main/java/org/owasp/dependencycheck/analyzer/CocoaPodsAnalyzer.java:313
↓ 6 callers
Method
doUpdates
Cycles through the cached web data sources and calls update on all of them. @throws UpdateException thrown if the operation fails @throws DatabaseExc
core/src/main/java/org/owasp/dependencycheck/Engine.java:858
↓ 6 callers
Method
executeBatch
Executes batch inserts of vulnerabilities when property database.batchinsert.maxsize is reached. @param vulnId the vulnerability ID @param statement
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:1710
↓ 6 callers
Method
getCwes
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:253
↓ 6 callers
Method
getEcosystem
Returns the ecosystem if identified by English description from the CVE data. @param cve the CVE data @return the ecosystem if identified
core/src/main/java/org/owasp/dependencycheck/data/nvd/ecosystem/DescriptionEcosystemMapper.java:180
↓ 6 callers
Method
getFileDescription
Get the value of fileDescription. @return the value of fileDescription
core/src/main/java/org/owasp/dependencycheck/xml/assembly/AssemblyData.java:186
↓ 6 callers
Method
getHex
<p> Converts a byte array into a hex string.</p> <p> This method was copied from <a href="http://www.rgagnon.com/javadetails/java-0596.html">http://w
utils/src/main/java/org/owasp/dependencycheck/utils/Checksum.java:227
↓ 6 callers
Method
getId
Gets the id. @return the id
core/src/main/java/org/owasp/dependencycheck/data/nuget/NugetPackageReference.java:54
↓ 6 callers
Method
getIntegerValue
Returns the argument value. @param argument the argument @return the value of the argument
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:939
↓ 6 callers
Method
getLeft
Get the value of left. @return the value of left
core/src/main/java/org/owasp/dependencycheck/utils/Pair.java:67
↓ 6 callers
Method
getLicenses
Returns the list of licenses. @return the list of licenses
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:279
↓ 6 callers
Method
getModuleName
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:189
↓ 6 callers
Method
getOutput
Returns the output from standard out from the process. @return the output from standard out from the process
utils/src/main/java/org/owasp/dependencycheck/utils/processing/ProcessReader.java:92
↓ 6 callers
Method
getPrettyParseExceptionInfo
Builds a prettier exception message. @param ex the SAXParseException @return an easier to read exception message
utils/src/main/java/org/owasp/dependencycheck/utils/XmlUtils.java:195
↓ 6 callers
Method
getProperties
Loads all key/value pairs from PyPA metadata specifications¶. @param file The Wheel metadata of a Python package as a File @return The metad
core/src/main/java/org/owasp/dependencycheck/utils/PyPACoreMetadataParser.java:69
↓ 6 callers
Method
getRelatedDependencies
Get the unmodifiable set of {@link #relatedDependencies}. This field is used to collect other dependencies which really represent the same dependency,
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:784
↓ 6 callers
Method
getRight
Get the value of right. @return the value of right
core/src/main/java/org/owasp/dependencycheck/utils/Pair.java:85
↓ 6 callers
Method
getVulnerability
Gets a vulnerability for the provided CVE. @param cve the CVE to lookup @return a vulnerability object @throws DatabaseException if an exception occu
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:694
↓ 6 callers
Method
hasObject
Verifies if the object exists in the object store. @param key the key to retrieve the object @return <code>true</code> if the object exists; otherwis
core/src/main/java/org/owasp/dependencycheck/Engine.java:1104
↓ 6 callers
Method
intepolationFailCheck
Returns null if the value starts with `${` and ends with `}`. @param value the value to check @return the correct value which may be null
core/src/main/java/org/owasp/dependencycheck/analyzer/JarAnalyzer.java:1296
↓ 6 callers
Method
isUrl
Tests if the given text is url. @param text the string to test @return returns true if the text is a url, otherwise false
core/src/main/java/org/owasp/dependencycheck/utils/UrlStringUtils.java:76
↓ 6 callers
Method
isWhiteSpace
Tests if the byte passed in is a white space character. @param c the byte representing the character to test @return <code>true</code> if the byte is
utils/src/main/java/org/owasp/dependencycheck/utils/JsonArrayFixingInputStream.java:262
↓ 6 callers
Method
mergeProperties
Merges a new properties file into the current properties. This method allows for the loading of a user provided properties file.<br><br> <b>Note</b>:
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1230
↓ 6 callers
Method
parseHints
Parses the given XML file and returns a list of the hints contained. @param file an XML file containing hints @throws HintParseException thrown if th
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintParser.java:113
↓ 6 callers
Method
parseWithoutDocTypeCleanup
Parses the given xml file and returns a Model object containing only the fields dependency-check requires. No attempt is made to remove doctype defini
core/src/main/java/org/owasp/dependencycheck/xml/pom/PomParser.java:86
↓ 6 callers
Method
populateSettings
Updates the global Settings. @param cli a reference to the CLI Parser that contains the command line arguments used to set the corresponding settings
cli/src/main/java/org/owasp/dependencycheck/App.java:458
↓ 6 callers
Method
processAllFrom
(String input)
core/src/test/java/org/owasp/dependencycheck/data/lucene/BaseTokenFilterTest.java:44
↓ 6 callers
Method
reset
{@inheritDoc}
core/src/main/java/org/owasp/dependencycheck/data/lucene/AlphaNumericFilter.java:101
↓ 6 callers
Method
retrieveUntil
(ZonedDateTime until)
core/src/test/java/org/owasp/dependencycheck/data/update/NvdApiDataSourceTest.java:210
↓ 6 callers
Method
send
(Settings settings)
utils/src/main/java/org/owasp/dependencycheck/utils/scarf/TelemetryCollector.java:40
↓ 6 callers
Method
setBooleanOrNull
Sets a parameter value on a prepared statement with null checks. @param ps the prepared statement @param i the parameter index @param value the value
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/H2Functions.java:549
↓ 6 callers
Method
setPomEvidence
Sets evidence from the pom on the supplied dependency. @param dependency the dependency to set data on @param pom the information from the pom @param
core/src/main/java/org/owasp/dependencycheck/analyzer/JarAnalyzer.java:588
↓ 6 callers
Method
setSonatypeGuideCredentials
(final Settings settings)
core/src/test/java/org/owasp/dependencycheck/data/ossindex/OssIndexHelper.java:13
↓ 6 callers
Method
setUrl
Set the value of URL. @param url the value of URL
core/src/main/java/org/owasp/dependencycheck/dependency/naming/Identifier.java:58
↓ 6 callers
Method
shouldProcess
Determines if the path contains "/node_modules/" or "/bower_components/" (i.e. it is a child module). This analyzer does not scan child modules. @par
core/src/main/java/org/owasp/dependencycheck/analyzer/AbstractNpmAnalyzer.java:126
↓ 6 callers
Method
shouldSkipDependency
should process the dependency ? Will return true if you need to skip it . (e.g. dependency can't be read, or if npm audit doesn't handle it) @param n
core/src/main/java/org/owasp/dependencycheck/analyzer/NodePackageAnalyzer.java:289
↓ 6 callers
Method
testMSBuildProjectAnalysisWithImport
(String path, String nodaVersion, String humanizerVersion)
core/src/test/java/org/owasp/dependencycheck/analyzer/MSBuildProjectAnalyzerTest.java:146
↓ 6 callers
Method
versionEndExcluding
The ending range, excluding the specified version, for matching vulnerable software. @param versionEndExcluding the version range @return a reference
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftwareBuilder.java:112
↓ 6 callers
Method
withPattern
(Function<Optional<String>, String> patternTransformer)
core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java:665
↓ 6 callers
Method
withinDateRange
Determines if the epoch date is within the range specified of the compareTo epoch time. This takes the (compareTo-date)/1000/60/60/24 to get the numbe
core/src/main/java/org/owasp/dependencycheck/utils/DateUtil.java:78
↓ 5 callers
Method
addAllProjectReferences
Add a collection of project reference. @param projectReferences a set of project references
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:877
↓ 5 callers
Method
addCwe
Adds a CWE to the set. @param cwe new CWE to add
core/src/main/java/org/owasp/dependencycheck/dependency/CweSet.java:60
↓ 5 callers
Method
addReference
Adds a reference to the references collection. @param ref a reference for the vulnerability
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:240
↓ 5 callers
Method
callAnalyzeDependency
Executes the test call against AnalyzeDependency. @param vendor @param product @param version @param expectedCpe @param cpeAnalyzer @param engine @th
core/src/test/java/org/owasp/dependencycheck/analyzer/CPEAnalyzerIT.java:329
↓ 5 callers
Method
compareTo
Standard implementation of compareTo that compares identifier confidence, evidence confidence, and then the identifier. @param o the IdentifierMatch
core/src/main/java/org/owasp/dependencycheck/analyzer/CPEAnalyzer.java:1279
↓ 5 callers
Method
compileAssignPattern
Utility function to create a regex pattern matcher. @param name the value to use when constructing the assignment pattern @return the compiled Patter
core/src/main/java/org/owasp/dependencycheck/analyzer/PythonPackageAnalyzer.java:188
↓ 5 callers
Method
createCvssV3
(double score, String severity)
core/src/test/java/org/owasp/dependencycheck/dependency/VulnerabilityTest.java:152
↓ 5 callers
Method
execute
Sets the {@link Thread#getContextClassLoader() Thread Context Class Loader} to the one for this class, and then calls {@link #executeWithContextClassl
ant/src/main/java/org/owasp/dependencycheck/taskdefs/Purge.java:114
← previous
next →
301–400 of 3,473, ranked by callers