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

DiscoveryNote

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

A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A Discovery occurrence is created in a consumer's project at the start of analysis.

interface DiscoveryNote {
analysisKind?:
| "NOTE_KIND_UNSPECIFIED"
| "VULNERABILITY"
| "BUILD"
| "IMAGE"
| "PACKAGE"
| "DEPLOYMENT"
| "DISCOVERY"
| "ATTESTATION"
| "UPGRADE"
| "COMPLIANCE"
| "DSSE_ATTESTATION"
| "VULNERABILITY_ASSESSMENT"
| "SBOM_REFERENCE";
}

§Properties

§
analysisKind?: "NOTE_KIND_UNSPECIFIED" | "VULNERABILITY" | "BUILD" | "IMAGE" | "PACKAGE" | "DEPLOYMENT" | "DISCOVERY" | "ATTESTATION" | "UPGRADE" | "COMPLIANCE" | "DSSE_ATTESTATION" | "VULNERABILITY_ASSESSMENT" | "SBOM_REFERENCE"
[src]

Required. Immutable. The kind of analysis that is handled by this discovery.