v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13195274.7 KB
organizations

Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.

post/v1/{+name}:acknowledge

Path parameters

namestring required

Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

Request body

commentstring

Required. Business justification explaining the need for violation acknowledgement

nonCompliantOrgPolicystring

Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}

acknowledgeType'ACKNOWLEDGE_TYPE_UNSPECIFIED' | 'SINGLE_VIOLATION' | 'EXISTING_CHILD_RESOURCE_VIOLATIONS'

Optional. Acknowledge type of specified violation.

Response

Successful response