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

PolicyDetails

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

Details of a policy that was violated.

interface PolicyDetails {
complianceStandards?: string[];
constraint?: string;
constraintType?:
| "CONSTRAINT_TYPE_UNSPECIFIED"
| "SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE"
| "ORG_POLICY_CUSTOM"
| "SECURITY_HEALTH_ANALYTICS_MODULE"
| "ORG_POLICY"
| "REGO_POLICY";
description?: string;
}

§Properties

§
complianceStandards?: string[]
[src]

The compliance standards that the policy maps to. For example, CIS-2.0 1.15.

§
constraint?: string
[src]

Information about the constraint that was violated. The format of this information can change at any time without prior notice. Your application must not depend on this information in any way.

§
constraintType?: "CONSTRAINT_TYPE_UNSPECIFIED" | "SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE" | "ORG_POLICY_CUSTOM" | "SECURITY_HEALTH_ANALYTICS_MODULE" | "ORG_POLICY" | "REGO_POLICY"
[src]

The type of constraint that was violated.

§
description?: string
[src]

A description of the policy.