@ThreadSafe public class KnownExploitedVulnerabilityAnalyzer extends AbstractAnalyzer
| Constructor and Description |
|---|
KnownExploitedVulnerabilityAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Adds information about the known exploited vulnerabilities to the
analysis.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase that the analyzer is intended to run in.
|
protected java.lang.String |
getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
|
java.lang.String |
getName()
Returns the name of the analyzer.
|
void |
prepareAnalyzer(Engine engine)
The prepare method does nothing for this Analyzer.
|
analyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, setEnabled, supportsParallelProcessingpublic java.lang.String getName()
public AnalysisPhase getAnalysisPhase()
protected java.lang.String getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
getAnalyzerEnabledSettingKey in class AbstractAnalyzerpublic void prepareAnalyzer(Engine engine) throws InitializationException
prepareAnalyzer in class AbstractAnalyzerengine - a reference the dependency-check engineInitializationException - thrown if there is an exceptionprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency in class AbstractAnalyzerdependency - The dependency being analyzedengine - The scanning engineAnalysisException - is thrown if there is an exception analyzing
the dependency.Copyright© 2012-21 Jeremy Long. All Rights Reserved.