Using the Simple Detection Builder
Create and edit detections without code
Overview
You can use the Simple Detection builder in the Panther Console to create and edit rules using drop-down fields. The builder lets you manage detections without writing code, but retains the benefits of detections-as-code, e.g., expressiveness, testability, CI/CD integration, and reusability.
The Simple Detection builder is part of the Simple Detections feature set, which promotes collaboration among team members with all levels of technical skill. Simple Detections constructed in the CLI workflow in YAML, then uploaded to Panther, will be viewable and editable in the Simple Detection builder in the Console.
Rules created in the Simple Detection builder can be used in detection derivation.
See step-by-step instructions on how to create rules using the Simple Detection builder below, in How to create a rule in the Simple Detection builder.
If your team uses the CLI workflow to manage detection content, the changes made to detections using the Simple Detection builder in the Console will be overwritten on next upload (except for Inline Filters created in the Console, which will be preserved).
If you create or edit detections using the Simple Detection builder in the Console, copy the resulting YAML representation and include it in your local detections files, in order to prevent the changes from being overwritten on next upload.
Video overview
How to access the Simple Detection builder
To access the Simple Detection builder in the Panther console:
In the left-hand navigation bar of your Panther Console, click Detections.
Click Create New.
In the Select Detection Type modal, choose Rule.
On the create page, fill in the Name and ID for your detection:
Name: Enter a descriptive name for the rule.
ID (optional): Click the pen icon and enter a unique ID for your rule.
The no-code detection builder will appear. The Rule Builder option will be pre-selected.
References to "the Simple Detection builder" in this documentation are to the builder visible when Rule Builder is selected. The Limitations of the Simple Detection builder, for example, do not apply to the Text Editor.
How to create a rule in the Simple Detection builder
You can create rules in the Simple Detection builder in the Panther Console. Learn more about rules on Rules and Scheduled Rules.
If your team uses the CLI workflow to manage detection content, the changes made to detections using the Simple Detection builder in the Console will be overwritten on next upload (except for Inline Filters created in the Console, which will be preserved).
If you create or edit detections using the Simple Detection builder in the Console, copy the resulting YAML representation and include it in your local detections files, in order to prevent the changes from being overwritten on next upload.
Limitations of the Simple Detection builder
The Simple Detection builder in the Console cannot render certain YAML expressions. If you locally write and upload Simple Detections using any of the below expressions, they will not be visible in the Simple Detection builder in the Console—they will be shown in raw YAML.
Below are the limitations of the Simple Detection builder:
Only rules (not scheduled rules nor policies) can be created and/or rendered in the Simple Detection builder.
Absolute, multi-key, list comprehension, and enrichment match expressions cannot be rendered in the Simple Detection builder.
The no-code builder can render key/value and key/values match expressions.
The
OnlyOne
andNone
combinators cannot be rendered in the Simple Detection builder.The Simple Detection builder can render the
All
andAny
combinators.
In the Alert Context field, event fields of type JSON cannot be used.
Many
Condition
values cannot be rendered in the Simple Detection builder. Only the following values may be used:Equals
DoesNotEqual
IsGreaterThan
IsGreaterThanOrEquals
IsLessThan
IsLessThanOrEquals
Contains
DoesNotContain
StartsWith
EndsWith
IsIPAddressInCIDR
IsIPAddressNotInCIDR
CIDRContainsIPAddresses
CIDRDoesNotContainIPAddresses
IsIn
IsNotIn
IsIPAddressPublic
IsIPAddressPrivate
IsNullOrEmpty
IsNotNullOrEmpty
Last updated