From e0a7466075ed557d4ff04897151f15482c4ff3a5 Mon Sep 17 00:00:00 2001 From: Conor Richard Date: Thu, 25 Aug 2022 22:28:41 -0400 Subject: [PATCH] Fixing legend values to match new color value range of 1 to 10+ (#2098) * Adding changes to address issue #1141: Improving the ATT&CK Layer to make it a one stop shop * Generated new example files with updates. * Revert "Adding changes to address issue #1141: Improving the ATT&CK Layer to make it a one stop shop" This reverts commit aa474653db79112d58cc4f5bb12d4f70cf6811cd. Reverting to remove the generated example files. * Reverting JSON files * Changed color gradient back to two colors and set min to 0 and max to 10 * Fixed the legend to reflect the new color and scale of 1 to 10. --- bin/generate-atomic-docs.rb | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/bin/generate-atomic-docs.rb b/bin/generate-atomic-docs.rb index 4cbbe9a9..2fc350de 100755 --- a/bin/generate-atomic-docs.rb +++ b/bin/generate-atomic-docs.rb @@ -223,24 +223,12 @@ class AtomicRedTeamDocs }, "legendItems" => [ { - "label" => "81 to 100 tests", + "label" => "10 or more tests", "color" => "#ce232e" }, { - "label" => "61 to 80 tests", - "color" => "#d2464a" - }, - { - "label" => "41 to 60 tests", - "color" => "#d46164" - }, - { - "label" => "21 to 40 tests", - "color" => "#d2797d" - }, - { - "label" => "1 to 20 tests", - "color" => "#ce9094" + "label" => "1 or more tests", + "color" => "#ffffff" } ], "techniques" => techniques