You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: layers/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,10 @@ This folder contains modules and scripts for working with ATT&CK Navigator layer
30
30
|[matrix_gen](exporters/matrix_gen.py)| Provides a means by which to generate a matrix from raw data, either from the ATT&CK TAXII server or from a local STIX Bundle. |
31
31
|[svg_templates](exporters/svg_templates.py)| Provides a means by which to convert a layer file into a marked up svg file. |
32
32
|[svg_objects](exporters/svg_objects.py)| Provides raw templates and supporting functionality for generating svg objects. |
33
-
##### Command LIne Tools
33
+
##### Command Line Tools
34
34
| script | description |
35
35
|:-------|:------------|
36
-
|[cmdline.py](cmdline.py)| A commandline utility to export Layer files to excel or svg formats using the exporter tools. Run with `-h` for usage. |
36
+
|[layerExporter_cli.py](layerExporter_cli.py)| A commandline utility to export Layer files to excel or svg formats using the exporter tools. Run with `-h` for usage. |
37
37
38
38
## Layer
39
39
The Layer class provides format validation and read/write capabilities to aid in working with ATT&CK Navigator Layers in python. It is the primary interface through which other Layer-related classes defined in the core module should be used. The Layer class API and a usage example are below.
@@ -177,7 +177,7 @@ tells the exporter what data source to use when building the output matrix. Vali
177
177
178
178
##### ToSVG()
179
179
```python
180
-
x =ToSVG(domain='enterprise', source='taxii', local=None)
180
+
x =ToSvg(domain='enterprise', source='taxii', local=None)
181
181
```
182
182
The ToSVG constructor, just like the ToExcel constructor, takes domain, server, and local arguments during instantiation. The domain can be either `enterprise` or `mobile`, and can be pulled directly from a layer file as `layer.domain`. The source argument tells the matrix generation tool which data source to use when building the matrix. `taxii` indicates that the tool should utilize the `cti-taxii` server when building the matrix, while the `local` option indicates that it should use a local bundle respectively. The local argument is only required if the source is set to `local`, in which case it should be a path to a local stix bundle.
183
183
@@ -191,14 +191,14 @@ The to_svg method exports the layer file referenced as `layer`, as an excel file
0 commit comments