We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed3494 commit 307d8f1Copy full SHA for 307d8f1
contentctl/objects/detection_tags.py
@@ -77,17 +77,6 @@ def severity(self)->RiskSeverity:
77
required_fields: list[str] = Field(min_length=1)
78
throttling: Optional[Throttling] = None
79
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
91
cve: List[CVE_TYPE] = []
92
atomic_guid: List[AtomicTest] = []
93
drilldown_search: Optional[str] = None
0 commit comments