Skip to content

Commit

Permalink
cleanup capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
pyth0n1c committed Sep 18, 2024
1 parent 0466d16 commit 02e64df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
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 02e64df

Please sign in to comment.