Class ThreatExportColumns
java.lang.Object
be.kuleuven.cs.distrinet.sparta.io.ThreatExportColumns
The column sets shared by the tabular threat exports (
ThreatCSVWriter,
ThreatXlsxOutputStream, ...), so that the CSV and XLSX exports have equivalent
content. Each call returns a fresh, mutable, ordered map.-
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedHashMap<String, Function<Threat, ? extends Object>> defaults()The default columns: threat, location, flow and risk.static LinkedHashMap<String, Function<Threat, ? extends Object>> Thedefaultcolumns followed by structural metadata fromDfdStructure(trust-boundary crossing and nesting depth, the parents and enclosing trust boundaries of both flow endpoints) and the solution types whose countermeasures the risk calculation applied, formatted byThreatMetadata.
-
Method Details
-
defaults
The default columns: threat, location, flow and risk. -
withMetadata
Thedefaultcolumns followed by structural metadata fromDfdStructure(trust-boundary crossing and nesting depth, the parents and enclosing trust boundaries of both flow endpoints) and the solution types whose countermeasures the risk calculation applied, formatted byThreatMetadata.
-