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(boolean authenticated, List<Vulnerability> vulnerabilities, List<Attack> attacks, AttackVector vector, List<Role> roles)
Checks whether an attack is possible and returns theVulnerability
with the highest impact on Confidentiality.static List<RoleSystemIntegration>
getRoles(AttackerSystemSpecificationContainer vulnerabilityspecification)
static List<Vulnerability>
getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, MethodSpecification methodSpecification)
static List<Vulnerability>
getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
static List<Vulnerability>
getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
static List<Vulnerability>
getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
static List<Vulnerability>
getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, MethodSpecification methodSpecification)
static List<Vulnerability>
getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
static List<Vulnerability>
getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
static List<Vulnerability>
getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
-
-
-
Method Detail
-
checkAttack
public static Vulnerability checkAttack(boolean authenticated, List<Vulnerability> vulnerabilities, List<Attack> attacks, AttackVector vector, List<Role> roles)
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 vulnerability 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(AttackerSystemSpecificationContainer vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
-
getRoles
public static List<RoleSystemIntegration> getRoles(AttackerSystemSpecificationContainer vulnerabilityspecification)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resource)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, MethodSpecification methodSpecification)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, MethodSpecification methodSpecification)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.core.composition.AssemblyContext component)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(AttackerSystemSpecificationContainer vulnerabilityspecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
-
getVulnerabilities
public static List<Vulnerability> getVulnerabilities(List<VulnerabilitySystemIntegration> vulnerabilitySpecification, org.palladiosimulator.pcm.resourceenvironment.LinkingResource resource)
-
-