From 02e64df1b5f3e418f19af0c53fdc56fc5787afd7 Mon Sep 17 00:00:00 2001 From: pyth0n1c Date: Wed, 18 Sep 2024 16:03:45 -0700 Subject: [PATCH] cleanup capitalization --- contentctl/objects/detection_tags.py | 1 - contentctl/objects/enums.py | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/contentctl/objects/detection_tags.py b/contentctl/objects/detection_tags.py index d57b38f0..71925a22 100644 --- a/contentctl/objects/detection_tags.py +++ b/contentctl/objects/detection_tags.py @@ -23,7 +23,6 @@ from contentctl.objects.mitre_attack_enrichment import MitreAttackEnrichment from contentctl.objects.constants import ATTACK_TACTICS_KILLCHAIN_MAPPING from contentctl.objects.observable import Observable -from contentctl.objects.enums import Cis18Value, AssetType, SecurityDomain, RiskSeverity, KillChainPhase, NistCategory, SecurityContentProductName from contentctl.objects.enums import ( Cis18Value, AssetType, diff --git a/contentctl/objects/enums.py b/contentctl/objects/enums.py index 6d4cb12e..74d3ee7d 100644 --- a/contentctl/objects/enums.py +++ b/contentctl/objects/enums.py @@ -410,13 +410,13 @@ class NistCategory(str, enum.Enum): class RiskSeverity(str,enum.Enum): # Levels taken from the following documentation link # https://docs.splunk.com/Documentation/ES/7.3.2/User/RiskScoring - # 20 - Info (0-20 for us) - # 40 - Low (21-40 for us) - # 60 - Medium (41-60 for us) - # 80 - High (61-80 for us) - # 100 - Critical (81 - 100 for us) - INFO = "Info" - LOW = "Low" - MEDIUM = "Medium" - HIGH = "High" - CRITICAL = "Critical" + # 20 - info (0-20 for us) + # 40 - low (21-40 for us) + # 60 - medium (41-60 for us) + # 80 - high (61-80 for us) + # 100 - critical (81 - 100 for us) + INFO = "info" + LOW = "low" + MEDIUM = "medium" + HIGH = "high" + CRITICAL = "critical"