Interface IVulnerabilityDatabase
- All Known Implementing Classes:
NistVulnerabilityDatabase
public interface IVulnerabilityDatabase
Interface for communication with a vulnerability database.
-
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.
-
Method Details
-
getCVEVulnerability
org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CVEVulnerability getCVEVulnerability(String identifier, List<Integer> cweIdentifiers) throws VulnerabilityDatabaseException Returns a CVEVulnerability for the given identifier.- Parameters:
identifier
- of the vulnerability database entry- Returns:
- vulnerability
- Throws:
VulnerabilityDatabaseException
- iff the access to the database failed
-
getCategorySpecification
org.palladiosimulator.pcm.confidentiality.attackerSpecification.CategorySpecification getCategorySpecification()Returns a CategorySpecification containing all AttackCategories (CVEs and CWEs) recorded until now.- Returns:
- categorySpecification
-