Class VulnerabilityHelper
- java.lang.Object
-
- org.palladiosimulator.pcm.confidentiality.attacker.helper.VulnerabilityHelper
-
public final class VulnerabilityHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Vulnerability
checkAttack(ContextSet credentials, List<ContextSet> policies, List<Vulnerability> vulnerabilities, List<Attack> attacks, AttackVector vector)
Checks whether an attack is possible and returns theVulnerability
with the highest impact on Confidentiality.static List<Vulnerability>
getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, MethodSpecification methodSpecification)
static List<Vulnerability>
getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
static List<Vulnerability>
getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
static List<Vulnerability>
getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
static List<Vulnerability>
getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, MethodSpecification methodSpecification)
static List<Vulnerability>
getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
static List<Vulnerability>
getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
static List<Vulnerability>
getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
-
-
-
Method Detail
-
checkAttack
public static Vulnerability checkAttack(ContextSet credentials, List<ContextSet> policies, List<Vulnerability> vulnerabilities, List<Attack> attacks, AttackVector vector)
Checks whether an attack is possible and returns theVulnerability
with the highest impact on Confidentiality. If the vulnerabilities contain multiple vulnerabilities with highest impact it returns any vulnerbility of it- Parameters:
credentials
-policies
-vulnerabilities
-attacks
-vector
-- Returns:
Vulnerability
with the highest ConfidentialityImpact if no attack is possible null
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, MethodSpecification methodSpecification)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, MethodSpecification methodSpecification)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(VulnerabilitySystemSpecification vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<SystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
-
-