import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a ScanConfig. */ export declare function getScanConfig(args: GetScanConfigArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetScanConfigArgs { project?: string; scanConfigId: string; } export interface GetScanConfigResult { /** * The authentication configuration. If specified, service will use the authentication configuration during scanning. */ readonly authentication: outputs.websecurityscanner.v1alpha.AuthenticationResponse; /** * 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: string[]; /** * The user provided display name of the ScanConfig. */ readonly displayName: string; /** * Latest ScanRun if available. */ readonly latestRun: outputs.websecurityscanner.v1alpha.ScanRunResponse; /** * 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: number; /** * 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: string; /** * The schedule of the ScanConfig. */ readonly schedule: outputs.websecurityscanner.v1alpha.ScheduleResponse; /** * The starting URLs from which the scanner finds site pages. */ readonly startingUrls: string[]; /** * Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default. */ readonly targetPlatforms: string[]; /** * The user agent used during scanning. */ readonly userAgent: string; } /** * Gets a ScanConfig. */ export declare function getScanConfigOutput(args: GetScanConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetScanConfigOutputArgs { project?: pulumi.Input; scanConfigId: pulumi.Input; }