Guardrails
Update Policy
Update Policy details if required after creation using the api, the update by a user depends on the scope of the policy created check create policy docs for more details on the scope
put/governance/guardrails/{tenant_id}/policies/{policy_id}
Path parameters
tenant_idstring required
Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.
policy_idstring required
Specify the policy id to execute, policy id can be obtained from the list policy api
Request body
Example request
{
"engine_type": "corestack_policy",
"cloud": [
"AWS"
],
"scope": "private",
"content_type": "git",
"severity": "high"
}Response
Updated
boolean required