Class NistVulnerabilityDatabase
java.lang.Object
org.palladiosimulator.retriever.vulnerability.core.NistVulnerabilityDatabase
- All Implemented Interfaces:
IVulnerabilityDatabase
A wrapper for the NIST National Vulnerability Database.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.confidentiality.attackerSpecification.CategorySpecification
Returns a CategorySpecification containing all AttackCategories (CVEs and CWEs) recorded until now.org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CVEVulnerability
getCVEVulnerability
(String identifier, List<Integer> cweIdentifiers) Returns a CVEVulnerability for the given identifier.
-
Constructor Details
-
NistVulnerabilityDatabase
public NistVulnerabilityDatabase() -
NistVulnerabilityDatabase
-
-
Method Details
-
getCVEVulnerability
public org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CVEVulnerability getCVEVulnerability(String identifier, List<Integer> cweIdentifiers) throws VulnerabilityDatabaseException Description copied from interface:IVulnerabilityDatabase
Returns a CVEVulnerability for the given identifier.- Specified by:
getCVEVulnerability
in interfaceIVulnerabilityDatabase
- Parameters:
identifier
- of the vulnerability database entry- Returns:
- vulnerability
- Throws:
VulnerabilityDatabaseException
- iff the access to the database failed
-
getCategorySpecification
public org.palladiosimulator.pcm.confidentiality.attackerSpecification.CategorySpecification getCategorySpecification()Description copied from interface:IVulnerabilityDatabase
Returns a CategorySpecification containing all AttackCategories (CVEs and CWEs) recorded until now.- Specified by:
getCategorySpecification
in interfaceIVulnerabilityDatabase
- Returns:
- categorySpecification
-