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

Note

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

A type of analysis that can be done for a resource.

interface Note {
attestation?: AttestationNote;
build?: BuildNote;
compliance?: ComplianceNote;
createTime?: Date;
deployment?: DeploymentNote;
discovery?: DiscoveryNote;
dsseAttestation?: DSSEAttestationNote;
expirationTime?: Date;
image?: ImageNote;
kind?:
| "NOTE_KIND_UNSPECIFIED"
| "VULNERABILITY"
| "BUILD"
| "IMAGE"
| "PACKAGE"
| "DEPLOYMENT"
| "DISCOVERY"
| "ATTESTATION"
| "UPGRADE"
| "COMPLIANCE"
| "DSSE_ATTESTATION"
| "VULNERABILITY_ASSESSMENT"
| "SBOM_REFERENCE";
longDescription?: string;
name?: string;
package?: PackageNote;
relatedNoteNames?: string[];
relatedUrl?: RelatedUrl[];
sbomReference?: SBOMReferenceNote;
shortDescription?: string;
updateTime?: Date;
upgrade?: UpgradeNote;
vulnerability?: VulnerabilityNote;
vulnerabilityAssessment?: VulnerabilityAssessmentNote;
}

§Properties

§
attestation?: AttestationNote
[src]

A note describing an attestation role.

§

A note describing build provenance for a verifiable build.

§
compliance?: ComplianceNote
[src]

A note describing a compliance check.

§
createTime?: Date
[src]

Output only. The time this note was created. This field can be used as a filter in list requests.

§
deployment?: DeploymentNote
[src]

A note describing something that can be deployed.

§
discovery?: DiscoveryNote
[src]

A note describing the initial analysis of a resource.

§
dsseAttestation?: DSSEAttestationNote
[src]

A note describing a dsse attestation note.

§
expirationTime?: Date
[src]

Time of expiration for this note. Empty if note does not expire.

§

A note describing a base image.

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

Output only. The type of analysis. This field can be used as a filter in list requests.

§
longDescription?: string
[src]

A detailed description of this note.

§
name?: string
[src]

Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

§

A note describing a package hosted by various package managers.

§
relatedNoteNames?: string[]
[src]

Other notes related to this note.

§
relatedUrl?: RelatedUrl[]
[src]

URLs associated with this note.

§
sbomReference?: SBOMReferenceNote
[src]

A note describing an SBOM reference.

§
shortDescription?: string
[src]

A one sentence description of this note.

§
updateTime?: Date
[src]

Output only. The time this note was last updated. This field can be used as a filter in list requests.

§

A note describing available package upgrades.

§
vulnerability?: VulnerabilityNote
[src]

A note describing a package vulnerability.

§
vulnerabilityAssessment?: VulnerabilityAssessmentNote
[src]

A note describing a vulnerability assessment.