policies

Update Controls From Templates Route

Changed on

Give each policy its template's current controls and reasons. A policy copies them when it is made, so a library change reaches it only this way. Each change is its own policy version and audit event; a policy already up to date is left alone. The rule does not change.

post/api/v1/policies/controls-from-templates

Request

  • Base URL
    https://cp.xenovia.io (the document declares no server; this is the origin it was published from)
  • URL
    https://cp.xenovia.io/api/v1/policies/controls-from-templates
  • Auth
    none declared

Headers

Authorizationstring nullable
X-Request-IDstring nullable

Request body

policy_idsstring[] required

Response

Successful Response

idstring uuid required
agent_idstring uuid nullable required
org_idstring uuid required
owner_idstring uuid nullable required
namestring required
categorystring required
summarystring required
regostring required
enabledboolean required
stagestring required
enforcement_modestring
response_body_modestring
template_idstring nullable
template_versioninteger nullable
framework_tagsstring[] nullable
parameter_valuesobject nullable
versioninteger
baseline_targetobject nullable
created_atstring date-time required
updated_atstring date-time required
warningsstring[] required
groupstring required
template_controls_outdatedboolean required

Changes