Create an attack configuration
POST/attack
Records an attack configuration in the caller's organization, owned by the caller. The SDK records one for each attack of a campaign before it creates the attack's run (POST /run/{id}/children). A cloud run's token may create configurations for its run's agent only. 403 when the caller has no organization.
Request
Responses
- 201
- 400
- 401
- 403
- 429
Created
Validation error: the request is invalid and nothing was changed.
Missing, invalid, expired or revoked credential, or a credential this endpoint does not accept.
The credential may not do this (for example a run token outside its own run, or a caller without an organization), or the installation is read-only because its license is not valid (code: license_read_only).
Rate limited: retry after the number of seconds in the Retry-After header.