View Source GoogleApi.CloudControlsPartner.V1.Model.Violation (google_api_cloud_controls_partner v0.3.3)

Details of resource Violation

Attributes

  • beginTime (type: DateTime.t, default: nil) - Output only. Time of the event which triggered the Violation.
  • category (type: String.t, default: nil) - Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
  • description (type: String.t, default: nil) - Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
  • folderId (type: String.t, default: nil) - The folder_id of the violation
  • name (type: String.t, default: nil) - Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
  • nonCompliantOrgPolicy (type: String.t, default: nil) - 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 (type: GoogleApi.CloudControlsPartner.V1.Model.Remediation.t, default: nil) - Output only. Compliance violation remediation
  • resolveTime (type: DateTime.t, default: nil) - Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
  • state (type: String.t, default: nil) - Output only. State of the violation
  • updateTime (type: DateTime.t, default: nil) - Output only. The last time when the Violation record was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudControlsPartner.V1.Model.Violation{
  beginTime: DateTime.t() | nil,
  category: String.t() | nil,
  description: String.t() | nil,
  folderId: String.t() | nil,
  name: String.t() | nil,
  nonCompliantOrgPolicy: String.t() | nil,
  remediation: GoogleApi.CloudControlsPartner.V1.Model.Remediation.t() | nil,
  resolveTime: DateTime.t() | nil,
  state: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.