Prove it fires, and stays quiet
Give the detection an event it must fire on and one it must not, have Splunk run it over them, see why a replay cannot prove a Splunk-only detection yet, and commit it.
Goal
The detection fires on the Task Scheduler event and stays quiet on the same command started from cmd.exe, and it is committed.
Before you start
Open the Testing tab. On the detection's page, press Testing. Read Golden Event Tests: Sample events with expected verdicts. On every change-request validation Splunk runs this detection's Splunk query over these events alone, reading none of your data. Positive events must fire, negative events must not. It reads No golden events yet.
Add an event that must fire. Press Add Golden Event. Name it
Task Scheduler starts encoded PowerShell, leave Expectation on Must fire (positive sample), and paste the fields of the WS-031 event into Event (JSON), with the encoded command cut short:{ "EventCode": "1", "Image": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "CommandLine": "powershell.exe -nop -w hidden -e SQBFAFgA", "ParentImage": "C:\\Windows\\System32\\svchost.exe", "ParentCommandLine": "C:\\Windows\\system32\\svchost.exe -k netsvcs -p -s Schedule", "User": "ACME\\j.morgan", "host": "WS-031.acme.internal" }Press Add Event. A toast reads Detection updated. The dialog's own line speaks of Sigma; for a Splunk detection it is Splunk that runs the query, as the section says.
Add one that must not. Press Add Golden Event again. Name it
cmd.exe starts the same PowerShell, set Expectation to Must not fire (negative sample), and paste the Word document's run: the same command, started bycmd.exe.{ "EventCode": "1", "Image": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "CommandLine": "powershell.exe -nop -w hidden -enc SQBFAFgA", "ParentImage": "C:\\Windows\\System32\\cmd.exe", "ParentCommandLine": "cmd.exe /c powershell.exe -nop -w hidden -enc SQBFAFgA", "User": "ACME\\j.morgan", "host": "WS-031.acme.internal" }Press Add Event. The starter hunt catches this one. This detection is about the Task Scheduler, so it must not.

Try a replay. Under Threat Simulation, press Run simulation. The dialog, Run a replay, opens on Recorded replay (attack_data) — Splunk. Open Provider: In-house (Sigma engine) — no SIEM, and the two other providers that run in Studio, read (needs a Sigma rule) and can't be picked. Studio's own engine reads Sigma, and this detection is Splunk's own language. The Splunk provider, Recorded replay (attack_data) — Splunk, needs recorded attack data in the detection's file and a Splunk connection marked as a test target to write it to. Ask Claw for attack data, at the top of the tab, copies it from the content library, and needs an AI provider. Until the detection has its own attack data, the golden events here and the backtest in the next lesson are its evidence. Press Cancel.

Commit it. The branch button still reads main with 1: the golden events went into the same file. Press it and choose Pending changes. One file is staged,
Talon/detections/T1053.005_powershell-started-by-a-scheduled-task.yaml, named after its first technique. Further down the file, undertests, are your two golden events, and an emptyattack_data. Type a commit message, such as Add a detection for PowerShell started by a scheduled task, and press Commit (1). A toast reads Committed 1 change.

You should now see
The detection in Forge → Detections reads Validated: the commit ran a readiness check against your SIEM. On its Testing tab, Validation History reads Ready, and your replay is listed under Threat Simulation as error. Splunk runs the golden events again on every change-request validation, so a later edit to the query is held to both.
Quick check
Go deeper
- Detections, for the Testing tab and what each check proves.
- Simulation, for the replay providers and what each needs.
