Skip to content

Commit aa99df8

Browse files
committed
remove duplicate in list
1 parent 9856df5 commit aa99df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contentctl/actions/new_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def buildDetection(self) -> tuple[dict[str, Any], str]:
101101
],
102102
}
103103

104-
if answers["detection_type"] not in ["TTP", "Correlation", "Anomaly", "TTP"]:
104+
if answers["detection_type"] not in ["TTP", "Anomaly", "Correlation"]:
105105
del output_file_answers["drilldown_searches"]
106106

107107
return output_file_answers, answers['detection_kind']

0 commit comments

Comments
 (0)