center-for-threat-informed-defense / sensor-mappings-to-attack

Sensor Mappings to ATT&CK is a collection of resources to assist cyber defenders with understanding which sensors and events can help detect real-world adversary behaviors in their environments.
https://center-for-threat-informed-defense.github.io/sensor-mappings-to-attack/
Apache License 2.0
45 stars 2 forks source link

Development Hotfix: Adding colors to techniques in Navigator layers #12

Closed tleef42 closed 10 months ago

tleef42 commented 10 months ago

This PR adds color functionality to the generation of navigator layers, rather than defaulting to the gradient.

Colors are picked through the random library - while trying to keep the green value under a certain value to reduce probability of greens (since the gradient is in shades of green). The ATT&CK Navigation layer that compares sensor visibility will retain a sensor's color for events associated to a single sensor.

An argument was added to include mappings to sub-techniques. Added a README for the mappings folder to explain what each folder holds.