How do I test a single detection with panther_analysis_tool
(PAT)? By default the tool tests all of the detections in my path, but I just want to test one.
To do this, use the --filter
option, and filter for the RuleID
or DisplayName
of the detection. For example:
% panther_analysis_tool test --filter RuleID="Name of Detection Here"
# or
% panther_analysis_tool test --filter DisplayName="Name of Detection Here"
For more information about filtering with PAT, check out the readme here.