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

GoogleCloudAssuredworkloadsV1Violation

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

Workload monitoring Violation.

interface GoogleCloudAssuredworkloadsV1Violation {
acknowledged?: boolean;
acknowledgementTime?: Date;
readonly associatedOrgPolicyViolationId?: string;
readonly auditLogLink?: string;
readonly beginTime?: Date;
readonly category?: string;
readonly description?: string;
readonly exceptionAuditLogLink?: string;
readonly name?: string;
readonly nonCompliantOrgPolicy?: string;
readonly orgPolicyConstraint?: string;
readonly parentProjectNumber?: string;
readonly resolveTime?: Date;
readonly resourceName?: string;
readonly resourceType?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "RESOLVED"
| "UNRESOLVED"
| "EXCEPTION";
readonly updateTime?: Date;
readonly violationType?: "VIOLATION_TYPE_UNSPECIFIED" | "ORG_POLICY" | "RESOURCE";
}

§Properties

§
acknowledged?: boolean
[src]

A boolean that indicates if the violation is acknowledged

§
acknowledgementTime?: Date
[src]

Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.

§
readonly associatedOrgPolicyViolationId?: string
[src]

Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.

§
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.

§

Output only. List of all the exception detail added for the violation.

§
readonly name?: string
[src]

Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}

§
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 orgPolicyConstraint?: string
[src]

Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.

§
readonly parentProjectNumber?: string
[src]

Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.

§

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 resourceName?: string
[src]

Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.

§
readonly resourceType?: string
[src]

Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.

§
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.

§
readonly violationType?: "VIOLATION_TYPE_UNSPECIFIED" | "ORG_POLICY" | "RESOURCE"
[src]

Output only. Type of the violation