Class KnownExploitedVulnerabilityAnalyzer
java.lang.Object
org.owasp.dependencycheck.analyzer.AbstractAnalyzer
org.owasp.dependencycheck.analyzer.KnownExploitedVulnerabilityAnalyzer
- All Implemented Interfaces:
Analyzer
This analyzer adds information about known exploited vulnerabilities.
- Author:
- Jeremy Long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidanalyzeDependency(Dependency dependency, Engine engine) Adds information about the known exploited vulnerabilities to the analysis.Returns the phase that the analyzer is intended to run in.protected StringReturns the setting key to determine if the analyzer is enabled.getName()Returns the name of the analyzer.voidprepareAnalyzer(Engine engine) The prepare method does nothing for this Analyzer.Methods inherited from class AbstractAnalyzer
analyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessing
-
Constructor Details
-
KnownExploitedVulnerabilityAnalyzer
public KnownExploitedVulnerabilityAnalyzer()
-
-
Method Details
-
getName
-
getAnalysisPhase
Returns the phase that the analyzer is intended to run in.- Returns:
- the phase that the analyzer is intended to run in.
-
getAnalyzerEnabledSettingKey
Returns the setting key to determine if the analyzer is enabled.
- Specified by:
getAnalyzerEnabledSettingKeyin classAbstractAnalyzer- Returns:
- the key for the analyzer's enabled property
-
prepareAnalyzer
The prepare method does nothing for this Analyzer.- Overrides:
prepareAnalyzerin classAbstractAnalyzer- Parameters:
engine- a reference the dependency-check engine- Throws:
InitializationException- thrown if there is an exception
-
analyzeDependency
Adds information about the known exploited vulnerabilities to the analysis.- Specified by:
analyzeDependencyin classAbstractAnalyzer- Parameters:
dependency- The dependency being analyzedengine- The scanning engine- Throws:
AnalysisException- is thrown if there is an exception analyzing the dependency.
-