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.v1beta.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; /** * Controls export of scan configurations and results to Security Command Center. */ readonly exportToSecurityCommandCenter: string; /** * Whether to keep scanning even if most requests return HTTP error codes. */ readonly ignoreHttpStatusErrors: boolean; /** * Latest ScanRun if available. */ readonly latestRun: outputs.websecurityscanner.v1beta.ScanRunResponse; /** * Whether the scan config is managed by Web Security Scanner, output only. */ readonly managedScan: boolean; /** * 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 risk level selected for the scan */ readonly riskLevel: string; /** * The schedule of the ScanConfig. */ readonly schedule: outputs.websecurityscanner.v1beta.ScheduleResponse; /** * The starting URLs from which the scanner finds site pages. */ readonly startingUrls: string[]; /** * Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses. */ readonly staticIpScan: boolean; /** * 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; }