Class RiskAssessmentLoopConfiguration

java.lang.Object
be.kuleuven.cs.distrinet.sparta.core.analysis.RiskAssessmentLoopConfiguration

public class RiskAssessmentLoopConfiguration extends Object
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 Details

    • getInstance

      public static RiskAssessmentLoopConfiguration getInstance()
      Returns:
      RiskAssessmentLoopConfiguration instance
    • setUpLoopParameters

      public void setUpLoopParameters(Engine engine)
      Use the provided ViatraQueryEngine to query a model for attacker profile, datatypes and dfd elements to support the risk calculation.
      Parameters:
      engine - ViatraQueryEngine to use
    • getAttackerProfiles

      public Set<AttackerProfile> getAttackerProfiles()
      Get the set of attacker profiles to consider
      Returns:
      the set of attacker profiles to take into account
    • getDataSubjectTypes

      public Set<DataSubjectType> getDataSubjectTypes()
      Get the set of data subject types to consider
      Returns:
      the set of data subject types
    • getPersonalDataTypes

      public Set<PersonalDataType> getPersonalDataTypes()
      Get the set of personal data types to consider
      Returns:
      the set of personal data types
    • getDfdElements

      public Set<DFDElement> getDfdElements()
      Get the set of dfd elements in the model.
      Returns:
      the dfd elements
    • getDfdDataTypes

      public Map<DFDElement,Set<PersonalDataType>> 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