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

Request

  • Base URL: https://assuredworkloads.googleapis.com
  • URL: https://assuredworkloads.googleapis.com/v1/{+name}:acknowledge
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

namestring required

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

Request body

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

Optional. Acknowledge type of specified violation.

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}

view'VIOLATION_VIEW_UNSPECIFIED' | 'VIOLATION_VIEW_ASSURED_WORKLOADS' | 'VIOLATION_VIEW_DATA_BOUNDARY'

Optional. Specifies the violation view (AssuredWorkloads or DataBoundary) for acknowledging violations.

Response

Successful response

Changes