DELETE request to /api/sessions to wipe log data from one or more SIEM indexes. ThreatLab clears the data from each target SIEM and automatically re-fires any noise jobs configured to repopulate the SIEM after a wipe.
Method: DELETEPath:
/api/sessionsAuth: Session cookie with
manage_exercises capability
Query Parameters
The SIEM name to wipe, exactly as configured in Admin > Resources. Repeat the parameter to wipe multiple SIEMs simultaneously:
?siem=Splunk&siem=ElasticWipe Behavior per Driver
ThreatLab handles each driver type differently during a wipe:| Driver | Wipe Mechanism |
|---|---|
splunk_hec | Runs search index=<name> | delete via the Splunk management API |
elastic_bulk | Runs _delete_by_query against the configured index |
syslog_tcp | Skipped — no wipe mechanism exists for raw TCP destinations |
skipped array of the response rather than the wiped array.
Noise Job Re-fire
After wiping, ThreatLab automatically re-fires any noise jobs that havepropagate_on_wipe = true and target one or more of the wiped SIEMs. This repopulates background noise data so the SIEM is not left empty after the wipe. Re-fired job IDs are returned per SIEM in the re_fired array.
Response Fields
true on success.List of SIEM names that were successfully wiped.
List of SIEM names that were skipped (for example,
syslog_tcp destinations with no wipe mechanism).Array of objects describing noise jobs re-fired after the wipe.
Array of error messages for any noise jobs that failed to re-fire. An empty array means all re-fires succeeded.