We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ef728 commit 7abbf7bCopy full SHA for 7abbf7b
python/sdk/prelude_sdk/models/codes.py
@@ -191,6 +191,7 @@ class Control(Enum, metaclass=MissingItem):
191
CROWDSTRIKE_VULN = 31
192
DEFENDER_VULN = 32
193
NETSKOPE = 33
194
+ CUSTOM = 34
195
196
@classmethod
197
def _missing_(cls, value):
@@ -329,6 +330,13 @@ class ControlCategory(Enum, metaclass=MissingItem):
329
330
331
return ControlCategory.INVALID
332
333
+ @property
334
+ def scm_category(self):
335
+ for k, v in SCMCategory.category_mapping().items():
336
+ if self in v:
337
+ return k
338
+ return SCMCategory.NONE
339
+
340
341
def mapping(cls):
342
return {
0 commit comments