Class Violation (1.12.2)

Violation(mapping=None, *, ignore_unknown_fields=False, **kwargs)


name str
Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
description str
Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
begin_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time of the event which triggered the Violation.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last time when the Violation record was updated.
resolve_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
category str
Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
Output only. State of the violation
org_policy_constraint str
Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
audit_log_link str
Output only. Immutable. Audit Log Link for violated resource Format:;query={logName}{protoPayload.resourceName}{timeRange}{folder}
non_compliant_org_policy str
Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
Output only. Compliance violation remediation
acknowledged bool
Output only. A boolean that indicates if the violation is acknowledged
acknowledgement_time google.protobuf.timestamp_pb2.Timestamp
Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false. This field is a member of oneof_ _acknowledgement_time.
exception_audit_log_link str
Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format:;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}



Remediation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents remediation guidance to resolve compliance violation for AssuredWorkload



Violation State Values

Values: STATE_UNSPECIFIED (0): Unspecified state. RESOLVED (2): Violation is resolved. UNRESOLVED (3): Violation is Unresolved EXCEPTION (4): Violation is Exception