Guide: Building Your Own Detection Rules
The Five Building Blocks
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ SOURCE │ → │ FILTER │ → │ AGGREGATE │ → │ EVALUATE │ → │ FINGERPRINT │
│ │ │ │ │ │ │ │ │ │
│ What data │ │ Which │ │ How to │ │ When to │ │ How to │
│ to query │ │ records │ │ summarize │ │ trigger │ │ identify │
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘Step 1: Choose Your Data Source
Integration
Available Objects
Step 2: Add Filters
Operator
Meaning
Example
Rule
Filter Logic
Step 3: Configure Aggregation
Function
What It Does
Use When
Window
Duration
Best For
Approach
Result
Use When
Rule
Function
Window
Grouped By
Step 4: Set the Evaluation Threshold
Operator
Meaning
Example
Scenario
Recommended Threshold
Rule
Threshold
Reasoning
Step 5: Configure Fingerprinting
Mode
Behavior
Use When
Rule
Mode
Fields
Result
Putting It All Together: A Custom Rule Example
Quick Reference: Common Rule Patterns
Rule Categories Explained
Category
What It Covers
Severity Levels
Level
When to Use
Response Time
Best Practices
Last updated
Was this helpful?