import * as pulumi from "@pulumi/pulumi"; /** * Creates a finding. The corresponding source must exist for finding creation to succeed. */ export declare class OrganizationSourceFinding extends pulumi.CustomResource { /** * Get an existing OrganizationSourceFinding 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): OrganizationSourceFinding; /** * Returns true if the given object is an instance of OrganizationSourceFinding. 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 OrganizationSourceFinding; /** * Create a OrganizationSourceFinding 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: OrganizationSourceFindingArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OrganizationSourceFinding resource. */ export interface OrganizationSourceFindingArgs { /** * The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding. */ readonly canonicalName?: pulumi.Input; /** * The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION" */ readonly category?: pulumi.Input; /** * The time at which the finding was created in Security Command Center. */ readonly createTime?: pulumi.Input; /** * The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp. */ readonly eventTime?: pulumi.Input; /** * The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL. */ readonly externalUri?: pulumi.Input; /** * The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" */ readonly name?: pulumi.Input; readonly organizationsId: pulumi.Input; /** * The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}" */ readonly parent?: pulumi.Input; /** * For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time. */ readonly resourceName?: pulumi.Input; /** * The severity of the finding. This field is managed by the source that writes the finding. */ readonly severity?: pulumi.Input; /** * Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only. */ readonly sourceProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; readonly sourcesId: pulumi.Input; /** * The state of the finding. */ readonly state?: pulumi.Input; }