Violation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Workload monitoring Violation.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
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. |
state |
google.cloud.assuredworkloads_v1.types.Violation.State
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: https://console.cloud.google.com/logs/query;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} |
remediation |
google.cloud.assuredworkloads_v1.types.Violation.Remediation
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: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization} |
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