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

DiscoveryOccurrence

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

Provides information about the analysis status of a discovered resource.

interface DiscoveryOccurrence {
analysisCompleted?: AnalysisCompleted;
analysisError?: Status[];
analysisStatus?:
| "ANALYSIS_STATUS_UNSPECIFIED"
| "PENDING"
| "SCANNING"
| "FINISHED_SUCCESS"
| "COMPLETE"
| "FINISHED_FAILED"
| "FINISHED_UNSUPPORTED";
analysisStatusError?: Status;
readonly archiveTime?: Date;
continuousAnalysis?: "CONTINUOUS_ANALYSIS_UNSPECIFIED" | "ACTIVE" | "INACTIVE";
cpe?: string;
lastScanTime?: Date;
sbomStatus?: SBOMStatus;
}

§Properties

§
analysisCompleted?: AnalysisCompleted
[src]
§
analysisError?: Status[]
[src]

Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.

§
analysisStatus?: "ANALYSIS_STATUS_UNSPECIFIED" | "PENDING" | "SCANNING" | "FINISHED_SUCCESS" | "COMPLETE" | "FINISHED_FAILED" | "FINISHED_UNSUPPORTED"
[src]

The status of discovery for the resource.

§
analysisStatusError?: Status
[src]

When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.

§
readonly archiveTime?: Date
[src]

Output only. The time occurrences related to this discovery occurrence were archived.

§
continuousAnalysis?: "CONTINUOUS_ANALYSIS_UNSPECIFIED" | "ACTIVE" | "INACTIVE"
[src]

Whether the resource is continuously analyzed.

§
cpe?: string
[src]

The CPE of the resource being scanned.

§
lastScanTime?: Date
[src]

The last time this resource was scanned.

§
sbomStatus?: SBOMStatus
[src]

The status of an SBOM generation.