Atomic Red Team: run and clean up a detection test
Run and clean up a detection test.
1. Run the example
Download the Atomic Red Team example. Extract it, install httpx, set your API URL and token, then run python client.py. The client uploads the included inputs, submits the command, and saves the result under results/RUN_ID.
2. Check the result
Read report.txt and execution.csv for the executed test and cleanup result.
Read the native exit code and cleanup status printed by the client. Read results and save reports explains the returned files.
3. Use your own inputs
Edit example.json to change the command arguments, requested outputs or deadline. Replace the files under inputs/ with your own data, keeping the staged paths aligned with the command. The client creates the artifact IDs for you; illustrative IDs shown here must not be copied into a live request.
Files used by this example
run.ps1
The example uses supplied files or the disposable execution environment. Nothing from the environment carries into a later run unless you request and reuse its output.
Commands, version and prerequisites
Qualified version: 2026.11.06-a0e3f9bc. Commands: pwsh.
- Atomic definitions are under /opt/atomic-red-team/atomics. Supply PowerShell scripts using Invoke-AtomicRedTeam. Platform-specific and privileged tests require their declared prerequisites.
Inspect GET /v1/tools/atomic-red-team for the current installed version and readiness. The published snapshot has 2 functional case(s), plus timeout and cancellation checks. These examples demonstrate the native path; other flags and inputs are supported within the tool’s runtime limits.