Custom Detections
Write your own custom detections
Custom Detections
You can use advanced queries to create custom detections for your environment. Wirespeed highly recommends researching solutions that can be implemented in your source detection systems first, as properly configuring your posture can prevent the need for custom detections. To write a custom detection, create an advanced query, select the 3-dot menu and select “Create Custom Detection”.
How it works
- An advanced query is constructed with the appropriate filters and columns
- The query is run every 15 minutes
- Each row returned from the query is processed as a detection
- Columns are extracted from the query and used to automatically associate users and endpoints from your environment to the detection
- Detections will be automatically processed and escalated as cases if needed 🎉
Requirements
Return data
For Wirespeed to be able to automatically process your detections, you must return relevant data for us to process. You may return one or more of the following columns to be extracted from your detection:
time
src_endpoint
dst_endpoint
actor
device
http_request
user.email_addr
user.uid
observables
Each row returned from your query will be processed as a detection. If you return multiple rows, each row will be processed as a separate detection. Any detections returning >100 rows will trigger an error.
Filtering by time
Custom detections run once every 15 minutes. Since these detections will be running repeatedly, you must have a time filter on your query. Wirespeed automatically provides the startTime
and endTime
variables for you, which you can use in your query.
Variables
You can use the following variables in your query:
startTime
- The start time of the query windowendTime
- The end time of the query window