Skip to content

Commit 3605586

Browse files
committed
Merge branch 'release_v4.2.0' of https://github.com/splunk/contentctl into release_v4.2.0
2 parents 8e27224 + 35ad3c5 commit 3605586

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

contentctl/actions/detection_testing/infrastructures/DetectionTestingInfrastructure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def configure_imported_roles(
287287
return
288288
except Exception as e:
289289
self.pbar.write(
290-
f"The follwoing roles do not exist:'{enterprise_security_roles}: {str(e)}"
290+
f"The following role(s) do not exist:'{enterprise_security_roles}: {str(e)}"
291291
)
292292

293293
self.get_conn().roles.post(

contentctl/objects/detection_tags.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from contentctl.objects.mitre_attack_enrichment import MitreAttackEnrichment
2424
from contentctl.objects.constants import ATTACK_TACTICS_KILLCHAIN_MAPPING
2525
from contentctl.objects.observable import Observable
26-
from contentctl.objects.enums import Cis18Value, AssetType, SecurityDomain, RiskSeverity, KillChainPhase, NistCategory, SecurityContentProductName
2726
from contentctl.objects.enums import (
2827
Cis18Value,
2928
AssetType,

contentctl/objects/enums.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -410,13 +410,13 @@ class NistCategory(str, enum.Enum):
410410
class RiskSeverity(str,enum.Enum):
411411
# Levels taken from the following documentation link
412412
# https://docs.splunk.com/Documentation/ES/7.3.2/User/RiskScoring
413-
# 20 - Info (0-20 for us)
414-
# 40 - Low (21-40 for us)
415-
# 60 - Medium (41-60 for us)
416-
# 80 - High (61-80 for us)
417-
# 100 - Critical (81 - 100 for us)
418-
INFO = "Info"
419-
LOW = "Low"
420-
MEDIUM = "Medium"
421-
HIGH = "High"
422-
CRITICAL = "Critical"
413+
# 20 - info (0-20 for us)
414+
# 40 - low (21-40 for us)
415+
# 60 - medium (41-60 for us)
416+
# 80 - high (61-80 for us)
417+
# 100 - critical (81 - 100 for us)
418+
INFO = "info"
419+
LOW = "low"
420+
MEDIUM = "medium"
421+
HIGH = "high"
422+
CRITICAL = "critical"

0 commit comments

Comments
 (0)