mitre-attack / attack-navigator

Web app that provides basic navigation and annotation of ATT&CK matrices
https://mitre-attack.github.io/attack-navigator
Apache License 2.0
2.01k stars 593 forks source link

Is there a way to programmatically download from Navigator? #549

Closed metalshanked closed 1 year ago

metalshanked commented 1 year ago

Hi,

Is there a way to programmatically download JSON from Navigator? Since currently the download is via an internal JS call. Is there a URL/Parameter option to call to download the JSON?

image

clemiller commented 1 year ago

Hi @metalshanked,

ATT&CK Navigator is a client-side only application and does not have an API available to download a layer programmatically. However, there are some additional tools available in the mitreattack-python library that can replicate some of the features of Navigator programmatically. Our navlayers module has functionality to generate, manipulate, and export Layer files in a similar way Navigator can. I'd recommend checking it out to see if this library may be able to help you accomplish your goal.