Class Violation (0.1.0)

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

Details of resource Violation

Attributes

NameDescription
name str
Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
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.
state google.cloud.cloudcontrolspartner_v1.types.Violation.State
Output only. State of the violation
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}
folder_id int
The folder_id of the violation
remediation google.cloud.cloudcontrolspartner_v1.types.Violation.Remediation
Output only. Compliance violation remediation

Classes

Remediation

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

Represents remediation guidance to resolve compliance violation for AssuredWorkload

State

State(value)

Violation State Values

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