ScanConfigArgs

data class ScanConfigArgs(val authentication: Output<AuthenticationArgs>? = null, val blacklistPatterns: Output<List<String>>? = null, val displayName: Output<String>? = null, val latestRun: Output<ScanRunArgs>? = null, val maxQps: Output<Int>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val schedule: Output<ScheduleArgs>? = null, val startingUrls: Output<List<String>>? = null, val targetPlatforms: Output<List<ScanConfigTargetPlatformsItem>>? = null, val userAgent: Output<ScanConfigUserAgent>? = null) : ConvertibleToJava<ScanConfigArgs>

Creates a new ScanConfig.

Constructors

Link copied to clipboard
constructor(authentication: Output<AuthenticationArgs>? = null, blacklistPatterns: Output<List<String>>? = null, displayName: Output<String>? = null, latestRun: Output<ScanRunArgs>? = null, maxQps: Output<Int>? = null, name: Output<String>? = null, project: Output<String>? = null, schedule: Output<ScheduleArgs>? = null, startingUrls: Output<List<String>>? = null, targetPlatforms: Output<List<ScanConfigTargetPlatformsItem>>? = null, userAgent: Output<ScanConfigUserAgent>? = null)

Properties

Link copied to clipboard
val authentication: Output<AuthenticationArgs>? = null

The authentication configuration. If specified, service will use the authentication configuration during scanning.

Link copied to clipboard
val blacklistPatterns: Output<List<String>>? = null

The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls

Link copied to clipboard
val displayName: Output<String>? = null

The user provided display name of the ScanConfig.

Link copied to clipboard
val latestRun: Output<ScanRunArgs>? = null

Latest ScanRun if available.

Link copied to clipboard
val maxQps: Output<Int>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val schedule: Output<ScheduleArgs>? = null

The schedule of the ScanConfig.

Link copied to clipboard
val startingUrls: Output<List<String>>? = null

The starting URLs from which the scanner finds site pages.

Link copied to clipboard

Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.

Link copied to clipboard
val userAgent: Output<ScanConfigUserAgent>? = null

The user agent used during scanning.

Functions

Link copied to clipboard
open override fun toJava(): ScanConfigArgs