Skip to content

Commit dde564b

Browse files
authored
Merge pull request #293 from splunk/add_detection_type_list
Add type_list to annotations
2 parents a199c72 + 506bbaf commit dde564b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contentctl/objects/abstract_security_content_objects/detection_abstract.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ def annotations(self) -> dict[str, Union[List[str], int, str]]:
285285
annotations_dict["cve"] = self.tags.cve
286286
annotations_dict["impact"] = self.tags.impact
287287
annotations_dict["type"] = self.type
288+
annotations_dict["type_list"] = [self.type]
288289
# annotations_dict["version"] = self.version
289290

290291
annotations_dict["data_source"] = self.data_source

0 commit comments

Comments
 (0)