import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new occurrence. */ 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; /** * 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; /** * Required. 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; /** * A description of actions that can be taken to remedy the note. */ readonly remediation: pulumi.Output; /** * Required. Immutable. The resource for which the occurrence applies. */ readonly resource: 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. */ readonly attestation?: pulumi.Input; /** * Describes a verifiable build. */ readonly build?: pulumi.Input; /** * The time this occurrence was created. */ readonly createTime?: pulumi.Input; /** * Describes the deployment of an artifact on a runtime. */ readonly deployment?: pulumi.Input; /** * Describes how this resource derives from the basis in the associated note. */ readonly derivedImage?: pulumi.Input; /** * Describes when a resource was discovered. */ readonly discovered?: pulumi.Input; /** * Describes the installation of a package on the linked resource. */ readonly installation?: pulumi.Input; /** * Describes a specific in-toto link. */ readonly intoto?: pulumi.Input; /** * This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */ readonly kind?: pulumi.Input; /** * The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */ readonly name?: pulumi.Input; /** * Required. 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.Input; readonly occurrencesId: pulumi.Input; readonly projectsId: pulumi.Input; /** * A description of actions that can be taken to remedy the note. */ readonly remediation?: pulumi.Input; /** * Required. Immutable. The resource for which the occurrence applies. */ readonly resource?: pulumi.Input; /** * The time this occurrence was last updated. */ readonly updateTime?: pulumi.Input; /** * Describes a security vulnerability. */ readonly vulnerability?: pulumi.Input; }