-
Notifications
You must be signed in to change notification settings - Fork 1
Importing and Exporting Attack Trees
Attack Tree Designer allows users to export/import their models into XML Files.
You can import a tree or a package of trees from XML saved file or from a directory containing XML files. Each tree is represented by an XML file and each package is represented by a directory. To import a tree or a package, simply right click the destination package that you want to import your trees in, then select "Import a package" or "Import a tree" and finally select the path of the file or directory from the dialog as it is illustrated in Figure 1.
Figure 1 : Import a package containing attack trees
You can export an attack tree or a package containing attack trees by simply right clicking the element you want to export and then indicate where you want to export the model in your File System by using the dialog as illustrated by Figure 2.
Figure 2 : Export a package containing attack trees
The XML format of the attack trees follows a specific schema that is described by the XSD file: AttackTree-V0.5.xsd.
Here is a sample of an XML file representing the export of the model of an Attack Tree : Tree.xml.
- Overview of the modelling environment
- Diagram Palette Tools
- Attack Tree Commands
- Attack Tree Property Page
- Create an "Attack Tree" Diagram
- Create a new "Attack" element
- Create "Connections" between "Attacks"
- Create a "Counter Measure"
- Create a "Reference" to other attack trees
- Auto-Layout Attack Tree Diagram
- Attack Tags
- Masking and Unmasking sub trees
- Importing and Exporting Attack Trees
- Create Threat Analysis Dependency