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

OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance

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

Compliance data for an OS policy resource.

interface OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance {
complianceState?: "UNKNOWN" | "COMPLIANT" | "NON_COMPLIANT";
complianceStateReason?: string;
osPolicyResourceId?: string;
}

§Properties

§
complianceState?: "UNKNOWN" | "COMPLIANT" | "NON_COMPLIANT"
[src]

The compliance state of the resource.

§
complianceStateReason?: string
[src]

A reason for the resource to be in the given compliance state. This field is always populated when compliance_state is UNKNOWN. The following values are supported when compliance_state == UNKNOWN * execution-errors: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. * execution-skipped-by-agent: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. * os-policy-execution-attempt-failed: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.

§

Ordered list of configuration completed by the agent for the OS policy resource.

§
osPolicyResourceId?: string
[src]

The ID of the OS policy resource.