mitre-attack/attack-navigator

show/hide disabled techniques is not working as expected

deborahlwatson opened this issue · 1 comments

When you disable techniques only some of them actually hide when you click on show/hide.
To reproduce, create new empty layer in V11. Select Recon, toggle state. Click on show/hide disabled.

Thank you!

Hi @deborahlwatson,

Do you have the "select sub-techniques with parent" selection behavior enabled?

image

Disabled techniques with enabled sub-techniques will not be hidden when you click on show/hide. Since the "select sub-techniques with parent" behavior is disabled by default, my guess is that when you select and toggle the state of techniques under Recon, only the parent techniques are included in the selection and the state of the sub-techniques have not been toggled. Example:

image

If you enable the selection behavior to select sub-techniques along with the parent technique, select Recon, and then toggle the state, they should all be hidden when you click show/hide.