Skip to content

Commit

Permalink
Merge branch 'release_v4.2.0' of https://github.com/splunk/contentctl
Browse files Browse the repository at this point in the history
…into release_v4.2.0
  • Loading branch information
pyth0n1c committed Sep 19, 2024
2 parents 8e27224 + 35ad3c5 commit 3605586
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def configure_imported_roles(
return
except Exception as e:
self.pbar.write(
f"The follwoing roles do not exist:'{enterprise_security_roles}: {str(e)}"
f"The following role(s) do not exist:'{enterprise_security_roles}: {str(e)}"
)

self.get_conn().roles.post(
Expand Down
1 change: 0 additions & 1 deletion contentctl/objects/detection_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
20 changes: 10 additions & 10 deletions contentctl/objects/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 3605586

Please sign in to comment.