import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new ScanConfig. */ export declare class ScanConfig extends pulumi.CustomResource { /** * Get an existing ScanConfig 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): ScanConfig; /** * Returns true if the given object is an instance of ScanConfig. 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 ScanConfig; /** * The authentication configuration. If specified, service will use the authentication configuration during scanning. */ readonly authentication: pulumi.Output; /** * The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls */ readonly blacklistPatterns: pulumi.Output; /** * The user provided display name of the ScanConfig. */ readonly displayName: pulumi.Output; /** * Controls export of scan configurations and results to Security Command Center. */ readonly exportToSecurityCommandCenter: pulumi.Output; /** * Whether to keep scanning even if most requests return HTTP error codes. */ readonly ignoreHttpStatusErrors: pulumi.Output; /** * Whether the scan config is managed by Web Security Scanner, output only. */ readonly managedScan: pulumi.Output; /** * The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error. */ readonly maxQps: pulumi.Output; /** * The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The risk level selected for the scan */ readonly riskLevel: pulumi.Output; /** * The schedule of the ScanConfig. */ readonly schedule: pulumi.Output; /** * The starting URLs from which the scanner finds site pages. */ readonly startingUrls: pulumi.Output; /** * Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses. */ readonly staticIpScan: pulumi.Output; /** * The user agent used during scanning. */ readonly userAgent: pulumi.Output; /** * Create a ScanConfig 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: ScanConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ScanConfig resource. */ export interface ScanConfigArgs { /** * The authentication configuration. If specified, service will use the authentication configuration during scanning. */ authentication?: pulumi.Input; /** * The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls */ blacklistPatterns?: pulumi.Input[]>; /** * The user provided display name of the ScanConfig. */ displayName: pulumi.Input; /** * Controls export of scan configurations and results to Security Command Center. */ exportToSecurityCommandCenter?: pulumi.Input; /** * Whether to keep scanning even if most requests return HTTP error codes. */ ignoreHttpStatusErrors?: pulumi.Input; /** * Whether the scan config is managed by Web Security Scanner, output only. */ managedScan?: pulumi.Input; /** * The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error. */ maxQps?: pulumi.Input; /** * The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system. */ name?: pulumi.Input; project?: pulumi.Input; /** * The risk level selected for the scan */ riskLevel?: pulumi.Input; /** * The schedule of the ScanConfig. */ schedule?: pulumi.Input; /** * The starting URLs from which the scanner finds site pages. */ startingUrls: pulumi.Input[]>; /** * Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses. */ staticIpScan?: pulumi.Input; /** * The user agent used during scanning. */ userAgent?: pulumi.Input; }