Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 4b85035

Browse files
author
clittle
committed
Updated Readme, patched bug in conf system
1 parent 6b48670 commit 4b85035

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

layers/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# layers
22

3-
This folder contains modules and scripts for working with ATT&CK Navigator layers. ATT&CK Navigator Layers are a set of annotations overlayed on top of the ATT&CK Matrix. For more about ATT&CK Navigator layers, visit the ATT&CK Navigator repository. The core module allows users to load, validate, manipulate, and save ATT&CK layers. A brief overview of the components can be found below. All scripts adhere to the MITRE ATT&CK Navigator Layer file format, [version 4.1](https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv4_1.md), but will accept legacy [version 3.0](https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv3.md) layers, upgrading them to version 4.1.
3+
This folder contains modules and scripts for working with ATT&CK Navigator layers. ATT&CK Navigator Layers are a set of annotations overlaid on top of the ATT&CK Matrix. For more about ATT&CK Navigator layers, visit the ATT&CK Navigator repository. The core module allows users to load, validate, manipulate, and save ATT&CK layers. A brief overview of the components can be found below. All scripts adhere to the MITRE ATT&CK Navigator Layer file format, [version 4.1](https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv4_1.md), but will accept legacy [version 3.0](https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv3.md) layers, upgrading them to version 4.1.
44

55
#### Core Modules
66
| script | description |
@@ -57,10 +57,11 @@ example_layer3_dict = {
5757
}
5858

5959
example_layer4_dict = {
60-
"name": "layer v4 example",
60+
"name": "layer v4.1 example",
6161
"versions" : {
62-
"layer" : "4.0",
63-
"navigator": "4.0"
62+
"attack": "8",
63+
"layer" : "4.1",
64+
"navigator": "4.1"
6465
},
6566
"domain": "enterprise-attack"
6667
}
@@ -216,7 +217,7 @@ The SVGConfig object is used to configure how an SVG export behaves. The default
216217
| legendHeight | Height of the legend if not docked | number | 1 |
217218
| showLegend | Whether or not to show the legend | bool | True |
218219
| showFilters | Whether or not to show the Filter Header Block | bool | True |
219-
| showDomain | Whether or not to show the Domain and Version Header Block | bool | True
220+
| showDomain | Whether or not to show the Domain and Version Header Block | bool | True |
220221
| showAbout | Whether or not to show the About Header Block | bool | True |
221222
| border | What default border width to use | number | 0.104 |
222223

layers/exporters/to_svg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(self, width=d_width, height=d_height, headerHeight=d_headerHeight,
9191
self.legendY = legendY
9292
self.legendWidth = legendWidth
9393
self.legendHeight = legendHeight
94-
self.d_showDomain = showDomain
94+
self.showDomain = showDomain
9595
self.showLegend = showLegend
9696
self.showFilters = showFilters
9797
self.showAbout = showAbout

0 commit comments

Comments
 (0)