Skip to content

Commit 307d8f1

Browse files
committed
removed dupliocate risk functionality in
detection_Tags
1 parent 1ed3494 commit 307d8f1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

contentctl/objects/detection_tags.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,6 @@ def severity(self)->RiskSeverity:
7777
required_fields: list[str] = Field(min_length=1)
7878
throttling: Optional[Throttling] = None
7979
security_domain: SecurityDomain = Field(...)
80-
81-
@computed_field
82-
@property
83-
def risk_severity(self) -> RiskSeverity:
84-
if self.risk_score >= 80:
85-
return RiskSeverity('high')
86-
elif (self.risk_score >= 50 and self.risk_score <= 79):
87-
return RiskSeverity('medium')
88-
else:
89-
return RiskSeverity('low')
90-
9180
cve: List[CVE_TYPE] = []
9281
atomic_guid: List[AtomicTest] = []
9382
drilldown_search: Optional[str] = None

0 commit comments

Comments
 (0)