import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource. */ export declare class Occurrence extends pulumi.CustomResource { /** * Get an existing Occurrence resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Occurrence; /** * Returns true if the given object is an instance of Occurrence. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Occurrence; /** * Describes an attestation of an artifact. */ readonly attestation: pulumi.Output; /** * Build details for a verifiable build. */ readonly buildDetails: pulumi.Output; /** * Describes whether or not a resource passes compliance checks. */ readonly compliance: pulumi.Output; /** * The time this `Occurrence` was created. */ readonly createTime: pulumi.Output; /** * Describes the deployment of an artifact on a runtime. */ readonly deployment: pulumi.Output; /** * Describes how this resource derives from the basis in the associated note. */ readonly derivedImage: pulumi.Output; /** * Describes the initial scan status for this resource. */ readonly discovered: pulumi.Output; /** * This represents a DSSE attestation occurrence */ readonly dsseAttestation: pulumi.Output; /** * https://github.com/secure-systems-lab/dsse */ readonly envelope: pulumi.Output; /** * Describes the installation of a package on the linked resource. */ readonly installation: pulumi.Output; /** * This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests. */ readonly kind: pulumi.Output; /** * The name of the project. Should be of the form "projects/{project_id}". @Deprecated */ readonly name: pulumi.Output; /** * An analysis note associated with this image, in the form "providers/{provider_id}/notes/{NOTE_ID}" This field can be used as a filter in list requests. */ readonly noteName: pulumi.Output; readonly project: pulumi.Output; /** * A description of actions that can be taken to remedy the `Note` */ readonly remediation: pulumi.Output; /** * The resource for which the `Occurrence` applies. */ readonly resource: pulumi.Output; /** * The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests. */ readonly resourceUrl: pulumi.Output; /** * Describes a specific software bill of materials document. */ readonly sbom: pulumi.Output; /** * This represents an SBOM reference occurrence */ readonly sbomReference: pulumi.Output; /** * Describes a specific SPDX File. */ readonly spdxFile: pulumi.Output; /** * Describes a specific SPDX Package. */ readonly spdxPackage: pulumi.Output; /** * Describes a specific relationship between SPDX elements. */ readonly spdxRelationship: pulumi.Output; /** * The time this `Occurrence` was last updated. */ readonly updateTime: pulumi.Output; /** * Describes an upgrade. */ readonly upgrade: pulumi.Output; /** * Details of a security vulnerability note. */ readonly vulnerabilityDetails: pulumi.Output; /** * Create a Occurrence resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: OccurrenceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Occurrence resource. */ export interface OccurrenceArgs { /** * Describes an attestation of an artifact. */ attestation?: pulumi.Input; /** * Build details for a verifiable build. */ buildDetails?: pulumi.Input; /** * Describes whether or not a resource passes compliance checks. */ compliance?: pulumi.Input; /** * Describes the deployment of an artifact on a runtime. */ deployment?: pulumi.Input; /** * Describes how this resource derives from the basis in the associated note. */ derivedImage?: pulumi.Input; /** * Describes the initial scan status for this resource. */ discovered?: pulumi.Input; /** * This represents a DSSE attestation occurrence */ dsseAttestation?: pulumi.Input; /** * https://github.com/secure-systems-lab/dsse */ envelope?: pulumi.Input; /** * Describes the installation of a package on the linked resource. */ installation?: pulumi.Input; /** * The name of the project. Should be of the form "projects/{project_id}". @Deprecated */ name?: pulumi.Input; /** * An analysis note associated with this image, in the form "providers/{provider_id}/notes/{NOTE_ID}" This field can be used as a filter in list requests. */ noteName?: pulumi.Input; project?: pulumi.Input; /** * A description of actions that can be taken to remedy the `Note` */ remediation?: pulumi.Input; /** * The resource for which the `Occurrence` applies. */ resource?: pulumi.Input; /** * The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests. */ resourceUrl?: pulumi.Input; /** * Describes a specific software bill of materials document. */ sbom?: pulumi.Input; /** * This represents an SBOM reference occurrence */ sbomReference?: pulumi.Input; /** * Describes a specific SPDX File. */ spdxFile?: pulumi.Input; /** * Describes a specific SPDX Package. */ spdxPackage?: pulumi.Input; /** * Describes a specific relationship between SPDX elements. */ spdxRelationship?: pulumi.Input; /** * Describes an upgrade. */ upgrade?: pulumi.Input; /** * Details of a security vulnerability note. */ vulnerabilityDetails?: pulumi.Input; }