Class ThreatMetadata
java.lang.Object
be.kuleuven.cs.distrinet.sparta.io.ThreatMetadata
Export formatting of a threat's context, used as extra export columns, see
ThreatExportColumns.withMetadata(). The facts themselves come from core: the
structure from DfdStructure, and the mitigating solutions from
Threat.getMitigations(), i.e. exactly the countermeasures the risk calculation
applied.-
Method Summary
Modifier and TypeMethodDescriptionsolutionNames(Threat threat) The distinct solutions whose countermeasures the risk calculation applied to the threat.static StringsolutionNames(be.kuleuven.cs.distrinet.sparta.core.model.Threat)joined with", ".static StringtrustBoundaryPath(EObject element) The enclosing trust boundaries' names, outermost first, joined with" > ".
-
Method Details
-
trustBoundaryPath
The enclosing trust boundaries' names, outermost first, joined with" > ". -
solutionNames
The distinct solutions whose countermeasures the risk calculation applied to the threat. Each solution is reported by the name of its solution type, falling back to the solution's own name when no type is set. -
solutions
solutionNames(be.kuleuven.cs.distrinet.sparta.core.model.Threat)joined with", ".
-