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

Commit dfaa2d3

Browse files
author
clittle
committed
Updated readme to explain v4 targeting
1 parent 73eb254 commit dfaa2d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

layers/README.md

Lines changed: 3 additions & 3 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 3.0](https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv3.md).
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.0](https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv4.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.
44

55
#### Core Modules
66
| script | description |
@@ -50,7 +50,7 @@ The Layer class provides format validation and read/write capabilities to aid in
5050
#### Example Usage
5151

5252
```python
53-
example_layer_dict = {
53+
example_layer3_dict = {
5454
"name": "example layer",
5555
"version": "3.0",
5656
"domain": "mitre-enterprise"
@@ -70,7 +70,7 @@ example_layer_out_location = "/path/to/new/layer/file.json"
7070

7171
from layers.core import Layer
7272

73-
layer1 = Layer(example_layer_dict) # Create a new layer and load existing data
73+
layer1 = Layer(example_layer3_dict) # Create a new layer and load existing data
7474
layer1.to_file(example_layer_out_location) # Write out the loaded layer to the specified file
7575

7676
layer2 = Layer() # Create a new layer object

0 commit comments

Comments
 (0)