The usual flow
- Create a rulePOST/policies Create a new policy
- Preview the changePOST/policies
/{id} Generate plan diff for policy/plan /diff - Apply itPOST/policies
/{id} Apply policy changes/apply - Follow the jobGET/apply-runs List apply runsGET/admin
/jobs Get job by ID/{id}
Operations
17 operations
Rules9
- GETList policies/policies
- POSTCreate a new policy usual flow/policies
- POSTEnsure policy exists/policies
/ensure - GETGet policy list facets/policies
/facets - GETGet policy by ID/policies
/{id} - PUTUpdate a policy/policies
/{id} - DELETEDelete a policy/policies
/{id} - POSTDetach a policy from its template/policies
/{id} /detach-template - GETList members inheriting a policy, with the members another rule excludes/policies
/{id} /inherited-members
Plan and apply6
- POSTGenerate plan diff for policy usual flow/policies
/{id} /plan /diff - POSTGenerate execution plan for policy/policies
/{id} /plan - POSTPreview policy plan/policies
/plan-preview - POSTApply policy changes usual flow/policies
/{id} /apply - POSTApply a cached plan preview/policies
/apply-plan - GETGet the account the last apply of a rule was refused for, to adopt it/policies
/{id} /account-to-adopt
SSH hosts2
No operation matches the filter.
Console rules use /policies in the API. Apply, delete and SSH retry run asynchronously (202). See Rules and templates, Plan and apply and Temporary access.