MCPcopy Index your code

hub / github.com/dependency-check/DependencyCheck / functions

Functions3,473 in github.com/dependency-check/DependencyCheck

↓ 8 callersMethodgetProductVersion
Get the value of productVersion. @return the value of productVersion
core/src/main/java/org/owasp/dependencycheck/xml/assembly/AssemblyData.java:150
↓ 8 callersMethodgetRemoveVendor
Get the value of removeVendor. @return the value of removeVendor
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:221
↓ 8 callersMethodgetRemoveVersion
Get the value of removeVersion. @return the value of removeVersion
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:261
↓ 8 callersMethodgetType
Get the value of type. @return the value of type
core/src/main/java/org/owasp/dependencycheck/dependency/IncludedByReference.java:73
↓ 8 callersMethodisEmpty
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 callersMethodisFailOnError
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 callersMethodisH2Connection
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 callersMethodisKeyword
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 callersMethodlibraryName
()
core/src/main/java/org/owasp/dependencycheck/analyzer/RetireJsAnalyzer.java:342
↓ 8 callersMethodparse
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 callersMethodread
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 callersMethodsearch
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 callersMethodsetDescription
Set the value of description. @param description new value of description
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:162
↓ 8 callersMethodshouldUpdate
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 callersMethodaddCvssBelow
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 callersMethodaddStringEvidence
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 callersMethodaddToEvidence
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 callersMethodbuildSecureValidatingXmlReader
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 callersMethodclose
Properly cleans up resources allocated during analysis.
core/src/main/java/org/owasp/dependencycheck/Engine.java:200
↓ 7 callersMethodequals
(Object obj)
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftware.java:167
↓ 7 callersMethodfetchAndHandle
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 callersMethodfirstPathIsShortest
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 callersMethodgetAddVersion
Get the value of addVersion. @return the value of addVersion
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintRule.java:179
↓ 7 callersMethodgetAnalyzers
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 callersMethodgetDependencies
Gets the list of dependencies. @return the list of dependencies
core/src/main/java/org/owasp/dependencycheck/data/composer/ComposerLockParser.java:133
↓ 7 callersMethodgetFileExtension
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 callersMethodgetFileNames
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 callersMethodgetHintRules
Returns the hint rules. @return the hint rules
core/src/main/java/org/owasp/dependencycheck/xml/hints/HintParser.java:93
↓ 7 callersMethodgetHost
Get the host. @return the host
maven/src/main/java/org/owasp/dependencycheck/maven/ProxyConfig.java:46
↓ 7 callersMethodgetPrintableValue
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 callersMethodgetReferences
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:229
↓ 7 callersMethodgetReferences
Get the value of references. @return the value of references
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:207
↓ 7 callersMethodgetSha256sum
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 callersMethodgetTempFile
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 callersMethodgetVendorDuplicatingHintRules
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 callersMethodnewClientFor
(OssindexClientConfiguration config, Transport transport, Marshaller marshaller)
core/src/main/java/org/owasp/dependencycheck/data/ossindex/OssIndexClientProvider.java:118
↓ 7 callersMethodnvdSearchUrlFor
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 callersMethodsetCache
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 callersMethodsetDescription
Set the value of description. @param description new value of description
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:198
↓ 7 callersMethodsetPackagePath
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 callersMethodsetUpdateToVersion
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 callersMethodversionEndIncluding
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 callersMethodversionStartIncluding
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 callersMethodaddDescription
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 callersMethodappendEscapedLuceneQuery
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 callersMethodasCve
(String description)
core/src/test/java/org/owasp/dependencycheck/data/nvd/ecosystem/DescriptionEcosystemMapperTest.java:101
↓ 6 callersMethodbuildSecureDocumentBuilder
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 callersMethodcallDetermineCPE_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 callersMethodcheckUnusedRules
(boolean shouldFail, int expectedCount, boolean withSuppressionRules, boolean matching, Dependency ... dep
core/src/test/java/org/owasp/dependencycheck/analyzer/UnusedSuppressionRuleAnalyzerTest.java:87
↓ 6 callersMethodclearCache
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 callersMethodcreateParentFolder
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 callersMethoddetermineCPE
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 callersMethoddetermineEvidence
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 callersMethoddoUpdates
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 callersMethodexecuteBatch
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 callersMethodgetCwes
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:253
↓ 6 callersMethodgetEcosystem
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 callersMethodgetFileDescription
Get the value of fileDescription. @return the value of fileDescription
core/src/main/java/org/owasp/dependencycheck/xml/assembly/AssemblyData.java:186
↓ 6 callersMethodgetHex
<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 callersMethodgetId
Gets the id. @return the id
core/src/main/java/org/owasp/dependencycheck/data/nuget/NugetPackageReference.java:54
↓ 6 callersMethodgetIntegerValue
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 callersMethodgetLeft
Get the value of left. @return the value of left
core/src/main/java/org/owasp/dependencycheck/utils/Pair.java:67
↓ 6 callersMethodgetLicenses
Returns the list of licenses. @return the list of licenses
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:279
↓ 6 callersMethodgetModuleName
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:189
↓ 6 callersMethodgetOutput
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 callersMethodgetPrettyParseExceptionInfo
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 callersMethodgetProperties
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 callersMethodgetRelatedDependencies
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 callersMethodgetRight
Get the value of right. @return the value of right
core/src/main/java/org/owasp/dependencycheck/utils/Pair.java:85
↓ 6 callersMethodgetVulnerability
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 callersMethodhasObject
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 callersMethodintepolationFailCheck
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 callersMethodisUrl
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 callersMethodisWhiteSpace
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 callersMethodmergeProperties
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 callersMethodparseHints
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 callersMethodparseWithoutDocTypeCleanup
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 callersMethodpopulateSettings
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 callersMethodprocessAllFrom
(String input)
core/src/test/java/org/owasp/dependencycheck/data/lucene/BaseTokenFilterTest.java:44
↓ 6 callersMethodreset
{@inheritDoc}
core/src/main/java/org/owasp/dependencycheck/data/lucene/AlphaNumericFilter.java:101
↓ 6 callersMethodretrieveUntil
(ZonedDateTime until)
core/src/test/java/org/owasp/dependencycheck/data/update/NvdApiDataSourceTest.java:210
↓ 6 callersMethodsend
(Settings settings)
utils/src/main/java/org/owasp/dependencycheck/utils/scarf/TelemetryCollector.java:40
↓ 6 callersMethodsetBooleanOrNull
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 callersMethodsetPomEvidence
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 callersMethodsetSonatypeGuideCredentials
(final Settings settings)
core/src/test/java/org/owasp/dependencycheck/data/ossindex/OssIndexHelper.java:13
↓ 6 callersMethodsetUrl
Set the value of URL. @param url the value of URL
core/src/main/java/org/owasp/dependencycheck/dependency/naming/Identifier.java:58
↓ 6 callersMethodshouldProcess
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 callersMethodshouldSkipDependency
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 callersMethodtestMSBuildProjectAnalysisWithImport
(String path, String nodaVersion, String humanizerVersion)
core/src/test/java/org/owasp/dependencycheck/analyzer/MSBuildProjectAnalyzerTest.java:146
↓ 6 callersMethodversionEndExcluding
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 callersMethodwithPattern
(Function<Optional<String>, String> patternTransformer)
core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java:665
↓ 6 callersMethodwithinDateRange
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 callersMethodaddAllProjectReferences
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 callersMethodaddCwe
Adds a CWE to the set. @param cwe new CWE to add
core/src/main/java/org/owasp/dependencycheck/dependency/CweSet.java:60
↓ 5 callersMethodaddReference
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 callersMethodcallAnalyzeDependency
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 callersMethodcompareTo
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 callersMethodcompileAssignPattern
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 callersMethodcreateCvssV3
(double score, String severity)
core/src/test/java/org/owasp/dependencycheck/dependency/VulnerabilityTest.java:152
↓ 5 callersMethodexecute
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
← previousnext →301–400 of 3,473, ranked by callers