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
Thanks for opening a request! You are right. There is a bug in the code used to expand the subtechniques in the SVG. We do plan to address this issue. As a workaround, I suggest you follow the steps below -
Open the layer in ATT&CK navigator
Select expand sub-techniques in the navigator toolbar
Download the layer
Then you can create the SVG using the new layer file and the mitreattack-python library
Alternatively, if you want to strictly make use of the mitreattack-python library, ensure that ALL techniques have been included in the layer file with showSubtechniques: true.
Expected Behavior
Expanded sub techniques in SVG
Actual Behavior
SVG is not showing sub techniques, while the attack navigator does
Steps to Reproduce the Problem
layout: "expandedSubtechniques": "all"
techniques "showSubtechniques": True
"selectSubtechniquesWithParent": True
layout: "expandedSubtechniques": "all"
techniques: "showSubtechniques": true
"selectSubtechniquesWithParent": true
exporter = ToSvg(domain='enterprise', source='local', resource=resource_path, config=svgconf)
exporter.to_svg(layerInit=layer, filepath="Coverage.svg")
Possible Solution
Review > mitreattack.navlayers.exporters.to_svg
The text was updated successfully, but these errors were encountered: