MCPcopy Index your code

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

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

↓ 31 callersMethodparseVersion
<p> A utility class to extract version numbers from file names (or other strings containing version numbers.</p> <pre> Example: Give the file name: li
core/src/main/java/org/owasp/dependencycheck/utils/DependencyVersionUtil.java:75
↓ 31 callersMethodsetVersion
Set the value of version. @param version new value of version
core/src/main/java/org/owasp/dependencycheck/xml/pom/Model.java:216
↓ 30 callersMethodfilter
(SuppressionRule rule)
core/src/main/java/org/owasp/dependencycheck/analyzer/CpeSuppressionAnalyzer.java:83
↓ 30 callersMethodsetName
@param name the name to set
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:723
↓ 29 callersMethodgetCvssV2
Get the CVSS V2 scoring information. @return the CVSS V2 scoring information
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:334
↓ 29 callersMethodgetSHA1Checksum
Calculates the SHA1 checksum of a specified file. @param file the file to generate the MD5 checksum @return the hex representation of the SHA1 hash @
utils/src/main/java/org/owasp/dependencycheck/utils/Checksum.java:147
↓ 29 callersMethodsetDisplayFileName
Sets the file name to display in reports. @param displayName the name to display
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:341
↓ 28 callersMethodclear
Resets the filter. This must be manually called between searching and indexing. Unable to rely on `reset` as it appears to be called between terms. @
core/src/main/java/org/owasp/dependencycheck/data/lucene/TokenPairConcatenatingFilter.java:115
↓ 27 callersMethodgetPreparedStatement
Creates a prepared statement from the given key. The SQL is stored in a properties file and the key is used to lookup the specific query. @param conn
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:357
↓ 27 callersMethodisEmpty
Returns whether or not any properties are set. @return whether or not any properties are set
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseProperties.java:101
↓ 27 callersMethodscan
Scans an array of files or directories. If a directory is specified, it will be scanned recursively. Any dependencies identified are added to the depe
core/src/main/java/org/owasp/dependencycheck/Engine.java:318
↓ 27 callersMethodsetVersion
@param version the version to set
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:1039
↓ 26 callersMethodgetConnection
Constructs a new database connection object per the database configuration. @return a database connection object @throws DatabaseException thrown if
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java:574
↓ 26 callersMethodparse
Parses the arguments passed in and captures the results for later use. @param args the command line arguments @throws FileNotFoundException is thrown
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:85
↓ 25 callersMethodfilter
Filters a given iterator. @param iterator the iterator to filter @return the filtered iterator
core/src/main/java/org/owasp/dependencycheck/utils/Filter.java:36
↓ 25 callersMethodgetConfidence
Get the value of confidence. @return the value of confidence
core/src/main/java/org/owasp/dependencycheck/dependency/naming/Identifier.java:37
↓ 25 callersMethodgetCvssV3
()
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/Advisory.java:269
↓ 25 callersMethodgetSettings
Returns the settings for the test cases. @return
cli/src/test/java/org/owasp/dependencycheck/BaseTest.java:54
↓ 25 callersMethodgetVulnerabilities
Retrieves the vulnerabilities associated with the specified CPE. @param cpe the CPE to retrieve vulnerabilities for @return a list of Vulnerabilities
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:615
↓ 25 callersMethodremoveDependency
Removes the dependency. @param dependency the dependency to remove.
core/src/main/java/org/owasp/dependencycheck/Engine.java:280
↓ 25 callersMethodtask
()
ant/src/main/java/org/owasp/dependencycheck/ant/logging/AntLoggerAdapter.java:56
↓ 24 callersMethodaddFilenames
Add to the set of filenames to accept for analysis. Case-sensitivity is assumed. @param names one or more filenames to accept for analysis @return th
core/src/main/java/org/owasp/dependencycheck/utils/FileFilterBuilder.java:78
↓ 24 callersMethodgetCvssV4
Get the CVSS V3 scoring information. @return the CVSS V3 scoring information
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:370
↓ 24 callersMethodgetMD5Checksum
Calculates the MD5 checksum of a specified file. @param file the file to generate the MD5 checksum @return the hex representation of the MD5 hash @th
utils/src/main/java/org/owasp/dependencycheck/utils/Checksum.java:134
↓ 24 callersMethodgetVulnerabilities
Get the unmodifiable sorted set of vulnerabilities. @return the unmodifiable sorted set of vulnerabilities
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:614
↓ 24 callersMethoditerator
Retrieves an iterator for the version parts. @return an iterator for the version parts
core/src/main/java/org/owasp/dependencycheck/utils/DependencyVersion.java:116
↓ 24 callersMethodsetFileName
Sets the file name of the dependency. @param fileName the file name of the dependency
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:275
↓ 23 callersMethodcreate
Constructs a new OSS Index Client. @param settings the configured settings @return a new OSS Index Client
core/src/main/java/org/owasp/dependencycheck/data/ossindex/OssIndexClientProvider.java:75
↓ 23 callersMethodgetId
Get the value of id. @return the value of id
core/src/main/java/org/owasp/dependencycheck/xml/pom/Developer.java:63
↓ 23 callersMethodgetSource
Get the value of source. @return the value of source
core/src/main/java/org/owasp/dependencycheck/dependency/Evidence.java:125
↓ 23 callersMethodisVirtual
Returns whether or not this dependency is virtual or not. Virtual dependencies are specified during object constructor. No setter. @return true if De
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:938
↓ 22 callersMethodaddExtensions
Add to the set of file extensions to accept for analysis. Case-insensitivity is assumed. @param extensions one or more file extensions to accept for
core/src/main/java/org/owasp/dependencycheck/utils/FileFilterBuilder.java:89
↓ 22 callersMethodbuild
Builds an npm audit API payload. @param lockJson the package-lock.json @param packageJson the package.json @param dependencyMap a collection of modul
core/src/main/java/org/owasp/dependencycheck/data/nodeaudit/NpmPayloadBuilder.java:61
↓ 22 callersMethodgetResource
(String resource)
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DatabaseManager.java:394
↓ 22 callersMethodgetSHA256Checksum
Calculates the SH256 checksum of a specified file. @param file the file to generate the MD5 checksum @return the hex representation of the SHA1 hash
utils/src/main/java/org/owasp/dependencycheck/utils/Checksum.java:160
↓ 22 callersMethodgetSha1sum
Returns the SHA1 Checksum of the dependency. @return the SHA1 Checksum
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:395
↓ 22 callersMethodsetFilePath
Sets the file path of the dependency. @param filePath the file path of the dependency
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:364
↓ 21 callersMethodgetPomUrl
Get the value of pomUrl. @return the value of pomUrl
core/src/main/java/org/owasp/dependencycheck/data/nexus/MavenArtifact.java:212
↓ 21 callersMethodgetResourceAsStream
Returns the given resource as an InputStream using the object's class loader. @param o the object used to obtain a reference to the class loader @par
core/src/test/java/org/owasp/dependencycheck/BaseTest.java:74
↓ 21 callersMethodgetTempDirectory
Returns the temporary directory. @return the temporary directory @throws java.io.IOException if any.
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1360
↓ 21 callersMethodisDebugEnabled
()
ant/src/main/java/org/owasp/dependencycheck/ant/logging/AntLoggerAdapter.java:142
↓ 21 callersMethodtoString
Standard implementation of toString(). @return the String representation of the object
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DriverShim.java:208
↓ 21 callersMethodupdate
Determines if an update to the current data store is needed, if it is the new data is downloaded from the Internet and imported into the current cache
core/src/main/java/org/owasp/dependencycheck/data/update/CachedWebDataSource.java:41
↓ 20 callersMethodload
Loads the specified class using the system class loader and registers the driver with the driver manager. @param className the fully qualified name o
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/DriverLoader.java:81
↓ 20 callersMethodnormalizeForComparison
Normalizes null and empty strings to null for consistent comparison. @param s the string to normalize @return null if s is null or empty, otherwise s
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftware.java:132
↓ 20 callersMethodsetName
Set the value of name @param name new value of name
core/src/main/java/org/owasp/dependencycheck/analyzer/JarAnalyzer.java:1415
↓ 19 callersMethodaccept
Determines if the file can be analyzed by the analyzer. If the npm analyzer are enabled the archive analyzer will skip the node_modules and bower_modu
core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java:250
↓ 19 callersMethodanalyzeDependency
The HintAnalyzer uses knowledge about a dependency to add additional information to help in identification of identifiers or vulnerabilities. @param
core/src/main/java/org/owasp/dependencycheck/analyzer/VersionFilterAnalyzer.java:163
↓ 19 callersMethodgetUrl
Get the value of URL. @return the value of URL
core/src/main/java/org/owasp/dependencycheck/dependency/naming/Identifier.java:51
↓ 19 callersMethodsetIntIfNotNull
Sets a property value only if the value is not null. @param key the key for the property @param value the value for the property
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1212
↓ 19 callersMethodtoString
()
src/site/resources/js/package-url.js:59
↓ 18 callersMethodcompareTo
Implementation of the comparable interface. @param o the evidence being compared @return an integer indicating the ordering of the two objects
core/src/main/java/org/owasp/dependencycheck/dependency/Evidence.java:237
↓ 18 callersMethodinitialize
Initializes the analyzer with the configured settings. @param settings the configured settings to use
core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java:148
↓ 18 callersMethodsearchSha1
Searches the configured Nexus repository for the given sha1 hash. If the artifact is found, a <code>MavenArtifact</code> is populated with the coordin
core/src/main/java/org/owasp/dependencycheck/data/nexus/NexusSearch.java:33
↓ 18 callersMethodstart
Starts the processing of the `process`.
utils/src/main/java/org/owasp/dependencycheck/utils/processing/ProcessReader.java:112
↓ 16 callersMethodestimateCvssV2
Estimates the CVSS V2 Score based on a given severity. The implementation will default to 3.9 if no recognized "severity" level is given (critical, hi
core/src/main/java/org/owasp/dependencycheck/utils/SeverityUtil.java:66
↓ 16 callersMethodgetArtifactId
Gets the artifactId. @return the artifactId
core/src/main/java/org/owasp/dependencycheck/data/nexus/MavenArtifact.java:158
↓ 16 callersMethodgetError
Get the value of error. @return the value of error
core/src/main/java/org/owasp/dependencycheck/xml/assembly/AssemblyData.java:96
↓ 16 callersMethodgetFile
Returns a value from the properties file as a File object. If the value was specified as a system property or passed in via the -Dprop=value argument
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1280
↓ 16 callersMethodgetName
Get the value of name. @return the value of name
core/src/main/java/org/owasp/dependencycheck/dependency/Evidence.java:107
↓ 16 callersMethodgetObject
Retrieve an object from the objects collection. @param key the key to retrieve the object @return the object
core/src/main/java/org/owasp/dependencycheck/Engine.java:1083
↓ 16 callersMethodgetProject
Returns a reference to the current project. This method is used instead of auto-binding the project via component annotation in concrete implementatio
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java:2834
↓ 16 callersMethodgetUnscoredSeverity
Retrieves the severity a {@link Source} has assigned for which a CVSS score is not available. Severity could be anything ranging from 'critical', 'hig
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:409
↓ 16 callersMethodopenDatabase
<p> This method is only public for unit/integration testing. This method should not be called by any integration that uses dependency-check-core.</p>
core/src/main/java/org/owasp/dependencycheck/Engine.java:964
↓ 16 callersMethodparse
(File file)
core/src/main/java/org/owasp/dependencycheck/utils/PEParser.java:45
↓ 16 callersMethodprocess
Processes a given dependency to determine if any CPE, CVE, CWE, or CVSS scores should be suppressed. If any should be, they are removed from the depen
core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java:563
↓ 16 callersMethodversion
()
core/src/main/java/org/owasp/dependencycheck/analyzer/RetireJsAnalyzer.java:346
↓ 15 callersMethodanalyzeDependencies
Runs the analyzers against all of the dependencies. Since the mutable dependencies list is exposed via {@link #getDependencies()}, this method iterate
core/src/main/java/org/owasp/dependencycheck/Engine.java:616
↓ 15 callersMethodbuildSearch
<p> Builds a Lucene search string by properly escaping data and constructing a valid search query.</p> <p> If either the possibleVendor or possiblePr
core/src/main/java/org/owasp/dependencycheck/analyzer/CPEAnalyzer.java:483
↓ 15 callersMethodequals
(Object obj)
core/src/main/java/org/owasp/dependencycheck/data/cpe/IndexEntry.java:169
↓ 15 callersMethodgetDataDirectory
Get the value of dataDirectory. @return the value of dataDirectory
core/src/main/java/org/owasp/dependencycheck/agent/DependencyCheckScanAgent.java:298
↓ 15 callersMethodgetGroupId
Gets the groupId. @return the groupId
core/src/main/java/org/owasp/dependencycheck/data/nexus/MavenArtifact.java:140
↓ 15 callersMethodgetValue
Returns the value. @return the value
core/src/main/java/org/owasp/dependencycheck/data/nvd/ecosystem/EcosystemHint.java:41
↓ 15 callersMethodgetValue
Get the value of value. @return the value of value
core/src/main/java/org/owasp/dependencycheck/dependency/Evidence.java:143
↓ 15 callersMethodinterpolate
<p> A utility function that will interpolate strings based on values given in the properties file. It will also interpolate the strings contained with
core/src/main/java/org/owasp/dependencycheck/utils/InterpolationUtil.java:63
↓ 15 callersMethodsetCaseSensitive
Sets the value of the caseSensitive property. @param value whether the value is case sensitive
core/src/main/java/org/owasp/dependencycheck/xml/suppression/PropertyType.java:100
↓ 15 callersMethodsetInt
Sets a property value. @param key the key for the property @param value the value for the property
utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java:1201
↓ 15 callersMethodtoString
Standard implementation of toString showing vendor and product. @return the string representation of the object
core/src/main/java/org/owasp/dependencycheck/data/cpe/IndexEntry.java:189
↓ 14 callersMethodaddVulnerableSoftwareIdentifier
Adds an entry to the list of detected vulnerable software identifiers for the dependency file. @param identifier a reference to the identifier to add
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:526
↓ 14 callersMethodconfigure
Initialize the Downloader from the settings. Extracts the configured proxy- and credential information from the settings and system properties and cac
utils/src/main/java/org/owasp/dependencycheck/utils/Downloader.java:183
↓ 14 callersMethodcontains
Determines if the given file contains the given regular expression. @param file the file to test @param pattern the pattern used to test the file @re
utils/src/main/java/org/owasp/dependencycheck/utils/search/FileContentSearch.java:52
↓ 14 callersMethodcvssV4ScoreToSeverity
(double baseScore)
core/src/main/java/org/owasp/dependencycheck/utils/CvssUtil.java:232
↓ 14 callersMethoddateToSeconds
Converts a date in the form of yyyy-MM-dd into the epoch milliseconds. @param date a date in the format of yyyy-MM-dd @return seconds
core/src/test/java/org/owasp/dependencycheck/data/update/EngineVersionCheckTest.java:145
↓ 14 callersMethodgetName
Get the value of name. @return the value of name
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:171
↓ 14 callersMethodhasNext
Returns whether there is another item. @return <code>true</code> if there is another item; otherwise <code>false</code>.
core/src/main/java/org/owasp/dependencycheck/data/update/nvd/api/CveItemSource.java:32
↓ 14 callersMethodmergeDependencies
Adds the relatedDependency to the dependency's related dependencies. @param dependency the main dependency @param relatedDependency a collection of d
core/src/main/java/org/owasp/dependencycheck/analyzer/DependencyMergingAnalyzer.java:150
↓ 14 callersMethodparseBoolean
Converts an attribute value representing an xsd:boolean value to a boolean using the rules as stated in the XML specification. @param lexicalXSDBoole
utils/src/main/java/org/owasp/dependencycheck/utils/XmlUtils.java:125
↓ 14 callersMethodreadAll
Reads the standard output and standard error from the process and waits for the process to complete. @throws InterruptedException thrown if the proce
utils/src/main/java/org/owasp/dependencycheck/utils/processing/ProcessReader.java:104
↓ 14 callersMethodsetLicense
Set the value of license. @param license new value of license
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java:709
↓ 14 callersMethodsetRegex
Sets whether the value property is a regex. @param value true if the value is a regex, otherwise false
core/src/main/java/org/owasp/dependencycheck/xml/suppression/PropertyType.java:82
↓ 13 callersMethodaddNullableStringParameter
Helper method to add a nullable string parameter. @param ps the prepared statement @param pos the position of the parameter @param value the value of
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:1927
↓ 13 callersMethodcompareVersionRange
Evaluates the target against the version and version range checks: versionEndExcluding, versionStartExcluding versionEndIncluding, and versionStartInc
core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftware.java:392
↓ 13 callersMethodcvssV3ScoreToSeverity
Determines the severity from the score. @param score the score @return the severity
core/src/main/java/org/owasp/dependencycheck/utils/CvssUtil.java:166
↓ 13 callersMethodexecute
Executes the dependency-check and generates the report. @return a reference to the engine used to perform the scan. @throws org.owasp.dependencycheck
core/src/main/java/org/owasp/dependencycheck/agent/DependencyCheckScanAgent.java:990
↓ 13 callersMethodgetMatchingSoftware
Determines if the given identifiedVersion is affected by the given cpeId and previous version flag. A non-null, non-empty string passed to the previou
core/src/main/java/org/owasp/dependencycheck/data/nvdcve/CveDB.java:1832
↓ 13 callersMethodgetProject
Get the project. @return the project
core/src/main/java/org/owasp/dependencycheck/data/composer/ComposerDependency.java:75
↓ 13 callersMethodisRegex
Returns whether or not the value is a regex. @return true if the value is a regex, otherwise false
core/src/main/java/org/owasp/dependencycheck/xml/suppression/PropertyType.java:73
↓ 13 callersMethodisRunScan
Determines if the 'scan' command line argument was passed in. @return whether or not the 'scan' command line argument was passed in
cli/src/main/java/org/owasp/dependencycheck/CliParser.java:611
↓ 13 callersMethodremove
()
core/src/main/java/org/owasp/dependencycheck/utils/Filter.java:75
↓ 13 callersMethodsetCvssV2
Sets the CVSS V2 scoring information. @param cvssV2 the CVSS V2 scoring information
core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java:343
← previousnext →101–200 of 3,473, ranked by callers