Attack profiles let you pass custom arguments to target programs during assaults. Profiles are JSON or YAML and can supply common arguments, axis-specific arguments, and probe mode.
Ambush runs also accept profiles. The arguments are forwarded to the target program while the ambient stressors run in parallel.
common_args: list of arguments added to every attack invocation.axes: map of axis names to argument lists.probe_mode:auto,always, ornever.
Axis keys: cpu, memory, disk, network, concurrency, time.
{
"common_args": ["--config", "cfg.toml"],
"axes": {
"cpu": ["--iterations", "5000"],
"memory": ["--allocate-mb", "512"]
},
"probe_mode": "always"
}
common_args:
- --config
- cfg.toml
axes:
cpu:
- --iterations
- "5000"
memory:
- --allocate-mb
- "512"
probe_mode: always
panic-attack assault ./my-program --profile profiles/attack-profile.example.json
panic-attack assault ./my-program --arg --config --arg cfg.toml
panic-attack assault ./my-program --axis-arg cpu=--iterations --axis-arg cpu=5000
panic-attack assault ./my-program --probe always