v1

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

Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation.

post/v1/{+parent}/violations:batchAcknowledgeViolations

Path parameters

parentstring required

Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload}

Request body

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

Optional. Acknowledge type of specified violations.

namesstring[]

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

commentstring

Required. Business justification explaining the need for violations acknowledgement

Response

Successful response