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; /** * Describes a compliance violation on a linked resource. */ 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 when a resource was discovered. */ readonly discovery: pulumi.Output; /** * Describes an attestation of an artifact using dsse. */ readonly dsseAttestation: pulumi.Output; /** * https://github.com/secure-systems-lab/dsse */ readonly envelope: pulumi.Output; /** * Describes how this resource derives from the basis in the associated note. */ readonly image: 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; /** * Describes the installation of a package on the linked resource. */ readonly package: pulumi.Output; readonly project: pulumi.Output; /** * A description of actions that can be taken to remedy the note. */ readonly remediation: pulumi.Output; /** * Immutable. A URI that represents the resource for which the occurrence applies. For example, `https://gcr.io/project/image@sha256:123abc` for a Docker image. */ readonly resourceUri: pulumi.Output; /** * Describes a specific SBOM reference occurrences. */ readonly sbomReference: pulumi.Output; /** * The time this occurrence was last updated. */ readonly updateTime: pulumi.Output; /** * Describes an available package upgrade on the linked resource. */ readonly upgrade: 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 a compliance violation on a linked resource. */ compliance?: pulumi.Input; /** * Describes the deployment of an artifact on a runtime. */ deployment?: pulumi.Input; /** * Describes when a resource was discovered. */ discovery?: pulumi.Input; /** * Describes an attestation of an artifact using dsse. */ dsseAttestation?: pulumi.Input; /** * https://github.com/secure-systems-lab/dsse */ envelope?: pulumi.Input; /** * Describes how this resource derives from the basis in the associated note. */ image?: 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; /** * Describes the installation of a package on the linked resource. */ package?: pulumi.Input; project?: pulumi.Input; /** * A description of actions that can be taken to remedy the note. */ remediation?: pulumi.Input; /** * Immutable. A URI that represents the resource for which the occurrence applies. For example, `https://gcr.io/project/image@sha256:123abc` for a Docker image. */ resourceUri: pulumi.Input; /** * Describes a specific SBOM reference occurrences. */ sbomReference?: pulumi.Input; /** * Describes an available package upgrade on the linked resource. */ upgrade?: pulumi.Input; /** * Describes a security vulnerability. */ vulnerability?: pulumi.Input; }