Class SnykVulnerabilityDatabase
- java.lang.Object
-
- org.palladiosimulator.pcm.confidentiality.reverseengineering.staticcodeanalysis.parts.SnykVulnerabilityDatabase
-
- All Implemented Interfaces:
IVulnerabilityDatabase
public class SnykVulnerabilityDatabase extends Object implements IVulnerabilityDatabase
-
-
Constructor Summary
Constructors Constructor Description SnykVulnerabilityDatabase(SnykDatabaseParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CVEVulnerability
getCVEVulnerability(URI path)
Returns a CVEVulnerability for the given pathorg.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CWEVulnerability
getCWEVulnerability(URI path)
Returns a CWEVulnerability for the given path
-
-
-
Constructor Detail
-
SnykVulnerabilityDatabase
public SnykVulnerabilityDatabase(SnykDatabaseParser parser)
-
-
Method Detail
-
getCWEVulnerability
public org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CWEVulnerability getCWEVulnerability(URI path)
Description copied from interface:IVulnerabilityDatabase
Returns a CWEVulnerability for the given path- Specified by:
getCWEVulnerability
in interfaceIVulnerabilityDatabase
- Parameters:
path
- to the vulnerability database entry- Returns:
- vulnerability
-
getCVEVulnerability
public org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.CVEVulnerability getCVEVulnerability(URI path)
Description copied from interface:IVulnerabilityDatabase
Returns a CVEVulnerability for the given path- Specified by:
getCVEVulnerability
in interfaceIVulnerabilityDatabase
- Parameters:
path
- to the vulnerability database entry- Returns:
- vulnerability
-
-