Create a command plan
POST/api/v1/GennixCommandPlan
Creates a command plan, with its command sets, commands and result actions, on a platform. The platform must be a custom platform created from a base platform.
Permission required: Administrator role or application role. The session must have completed multifactor authentication.
Caution: The new plan and the commands in it are saved immediately, and the commands can later run against the systems that use the platform.
Request
Responses
- 200
- 204
- 400
The plan was created. The response body is the created command plan.
The platform is missing or is not a custom platform created from a base platform. Nothing is created and the response has no body.
The body is missing, a plan with the same ID already exists, a command script was rejected by the malware scan, or the plan could not be created. The response text explains why.