import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the specified occurrence. */ export declare function getOccurrence(args: GetOccurrenceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetOccurrenceArgs { occurrenceId: string; project?: string; } export interface GetOccurrenceResult { /** * Describes an attestation of an artifact. */ readonly attestation: outputs.containeranalysis.v1beta1.DetailsResponse; /** * Describes a verifiable build. */ readonly build: outputs.containeranalysis.v1beta1.GrafeasV1beta1BuildDetailsResponse; /** * The time this occurrence was created. */ readonly createTime: string; /** * Describes the deployment of an artifact on a runtime. */ readonly deployment: outputs.containeranalysis.v1beta1.GrafeasV1beta1DeploymentDetailsResponse; /** * Describes how this resource derives from the basis in the associated note. */ readonly derivedImage: outputs.containeranalysis.v1beta1.GrafeasV1beta1ImageDetailsResponse; /** * Describes when a resource was discovered. */ readonly discovered: outputs.containeranalysis.v1beta1.GrafeasV1beta1DiscoveryDetailsResponse; /** * https://github.com/secure-systems-lab/dsse */ readonly envelope: outputs.containeranalysis.v1beta1.EnvelopeResponse; /** * Describes the installation of a package on the linked resource. */ readonly installation: outputs.containeranalysis.v1beta1.GrafeasV1beta1PackageDetailsResponse; /** * Describes a specific in-toto link. */ readonly intoto: outputs.containeranalysis.v1beta1.GrafeasV1beta1IntotoDetailsResponse; /** * This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */ readonly kind: string; /** * The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */ readonly name: string; /** * Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests. */ readonly noteName: string; /** * A description of actions that can be taken to remedy the note. */ readonly remediation: string; /** * Immutable. The resource for which the occurrence applies. */ readonly resource: outputs.containeranalysis.v1beta1.ResourceResponse; /** * Describes a specific software bill of materials document. */ readonly sbom: outputs.containeranalysis.v1beta1.DocumentOccurrenceResponse; /** * Describes a specific SBOM reference occurrences. */ readonly sbomReference: outputs.containeranalysis.v1beta1.SBOMReferenceOccurrenceResponse; /** * Describes a specific SPDX File. */ readonly spdxFile: outputs.containeranalysis.v1beta1.FileOccurrenceResponse; /** * Describes a specific SPDX Package. */ readonly spdxPackage: outputs.containeranalysis.v1beta1.PackageInfoOccurrenceResponse; /** * Describes a specific SPDX Relationship. */ readonly spdxRelationship: outputs.containeranalysis.v1beta1.RelationshipOccurrenceResponse; /** * The time this occurrence was last updated. */ readonly updateTime: string; /** * Describes a security vulnerability. */ readonly vulnerability: outputs.containeranalysis.v1beta1.GrafeasV1beta1VulnerabilityDetailsResponse; } /** * Gets the specified occurrence. */ export declare function getOccurrenceOutput(args: GetOccurrenceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetOccurrenceOutputArgs { occurrenceId: pulumi.Input; project?: pulumi.Input; }