Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Violation

import type { Violation } from "https://googleapis.deno.dev/v1/cloudcontrolspartner:v1.ts";

Details of resource Violation

interface Violation {
readonly beginTime?: Date;
readonly category?: string;
readonly description?: string;
folderId?: bigint;
name?: string;
readonly nonCompliantOrgPolicy?: string;
readonly remediation?: Remediation;
readonly resolveTime?: Date;
readonly state?:
| "STATE_UNSPECIFIED"
| "RESOLVED"
| "UNRESOLVED"
| "EXCEPTION";
readonly updateTime?: Date;
}

§Properties

§
readonly beginTime?: Date
[src]

Output only. Time of the event which triggered the Violation.

§
readonly category?: string
[src]

Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.

§
readonly description?: string
[src]

Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.

§
folderId?: bigint
[src]

The folder_id of the violation

§
name?: string
[src]

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}

§
readonly nonCompliantOrgPolicy?: string
[src]

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}

§
readonly remediation?: Remediation
[src]

Output only. Compliance violation remediation

§
readonly resolveTime?: Date
[src]

Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.

§
readonly state?: "STATE_UNSPECIFIED" | "RESOLVED" | "UNRESOLVED" | "EXCEPTION"
[src]

Output only. State of the violation

§
readonly updateTime?: Date
[src]

Output only. The last time when the Violation record was updated.