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

ArtifactGuardPolicy

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

Represents an artifact guard policy.

interface ArtifactGuardPolicy {
failureReason?: string;
policyId?: string;
type?: "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED" | "VULNERABILITY";
}

§Properties

§
failureReason?: string
[src]

The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".

§
policyId?: string
[src]

The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".

§
type?: "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED" | "VULNERABILITY"
[src]

The type of the policy evaluation.