Class RiskAssessmentLoopConfiguration
java.lang.Object
be.kuleuven.cs.distrinet.sparta.core.analysis.RiskAssessmentLoopConfiguration
This class is used to manage the different loops as part of the risk assessment.
This includes the different DFDElements, attacker profiles, personal data types, etc. over which the risk analysis has to iterate.
-
Method Summary
Modifier and TypeMethodDescriptionGet the set of attacker profiles to considerGet the set of data subject types to considerGet the map of dfd elements and the associated personal data types linked to those elements.Get the set of dfd elements in the model.GetRiskAssessmentLoopConfigurationinstance.Get the set of personal data types to considervoidsetUpLoopParameters(Engine engine) Use the providedViatraQueryEngineto query a model for attacker profile, datatypes and dfd elements to support the risk calculation.
-
Method Details
-
getInstance
GetRiskAssessmentLoopConfigurationinstance.- Returns:
RiskAssessmentLoopConfigurationinstance
-
setUpLoopParameters
Use the providedViatraQueryEngineto query a model for attacker profile, datatypes and dfd elements to support the risk calculation.- Parameters:
engine-ViatraQueryEngineto use
-
getAttackerProfiles
Get the set of attacker profiles to consider- Returns:
- the set of attacker profiles to take into account
-
getDataSubjectTypes
Get the set of data subject types to consider- Returns:
- the set of data subject types
-
getPersonalDataTypes
Get the set of personal data types to consider- Returns:
- the set of personal data types
-
getDfdElements
Get the set of dfd elements in the model.- Returns:
- the dfd elements
-
getDfdDataTypes
Get the map of dfd elements and the associated personal data types linked to those elements.- Returns:
- map of dfd elements and their associated personal data types
-