import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new occurrence. * Auto-naming is currently not supported for this 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; /** * Describes a verifiable build. */ readonly build: 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 when a resource was discovered. */ readonly discovered: 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; /** * Describes a specific in-toto link. */ readonly intoto: 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 occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */ readonly name: pulumi.Output; /** * 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: pulumi.Output; readonly project: pulumi.Output; /** * A description of actions that can be taken to remedy the note. */ readonly remediation: pulumi.Output; /** * Immutable. The resource for which the occurrence applies. */ readonly resource: pulumi.Output; /** * Describes a specific software bill of materials document. */ readonly sbom: pulumi.Output; /** * Describes a specific SBOM reference occurrences. */ 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 SPDX Relationship. */ readonly spdxRelationship: pulumi.Output; /** * The time this occurrence was last updated. */ readonly updateTime: pulumi.Output; /** * Describes a security vulnerability. */ readonly vulnerability: 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; /** * Describes a verifiable build. */ build?: 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 when a resource was discovered. */ discovered?: 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; /** * Describes a specific in-toto link. */ intoto?: pulumi.Input; /** * 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. */ noteName: pulumi.Input; project?: pulumi.Input; /** * A description of actions that can be taken to remedy the note. */ remediation?: pulumi.Input; /** * Immutable. The resource for which the occurrence applies. */ resource: pulumi.Input; /** * Describes a specific software bill of materials document. */ sbom?: pulumi.Input; /** * Describes a specific SBOM reference occurrences. */ sbomReference?: pulumi.Input; /** * Describes a specific SPDX File. */ spdxFile?: pulumi.Input; /** * Describes a specific SPDX Package. */ spdxPackage?: pulumi.Input; /** * Describes a specific SPDX Relationship. */ spdxRelationship?: pulumi.Input; /** * Describes a security vulnerability. */ vulnerability?: pulumi.Input; }