Skip to content

Commit

Permalink
remove duplicate in list
Browse files Browse the repository at this point in the history
  • Loading branch information
pyth0n1c committed Nov 20, 2024
1 parent 9856df5 commit aa99df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentctl/actions/new_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def buildDetection(self) -> tuple[dict[str, Any], str]:
],
}

if answers["detection_type"] not in ["TTP", "Correlation", "Anomaly", "TTP"]:
if answers["detection_type"] not in ["TTP", "Anomaly", "Correlation"]:
del output_file_answers["drilldown_searches"]

return output_file_answers, answers['detection_kind']
Expand Down

0 comments on commit aa99df8

Please sign in to comment.