policies

Create Policy Route

post/api/v1/policies

Headers

Authorizationstring nullable
X-Request-IDstring nullable

Request body

namestring required
categorystring required
summarystring required
regostring required
stagestring
enforcement_mode'enforce' | 'monitor'
response_body_mode'none' | 'streamed'

Response

Successful Response

idstring uuid required
proxy_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
created_atstring date-time required
updated_atstring date-time required

Changes

Changed in 1 of the 6 revisions of this API.4

    • added the new optional request property enforcement_mode

      new-optional-request-property

    • added the new optional request property response_body_mode

      new-optional-request-property

    • added the optional property enforcement_mode to the response with the 201 status

      response-optional-property-added

    • added the optional property response_body_mode to the response with the 201 status

      response-optional-property-added