GetScanConfigResult

data class GetScanConfigResult(val authentication: AuthenticationResponse, val blacklistPatterns: List<String>, val displayName: String, val exportToSecurityCommandCenter: String, val ignoreHttpStatusErrors: Boolean, val latestRun: ScanRunResponse, val managedScan: Boolean, val maxQps: Int, val name: String, val riskLevel: String, val schedule: ScheduleResponse, val startingUrls: List<String>, val staticIpScan: Boolean, val targetPlatforms: List<String>, val userAgent: String)

Constructors

Link copied to clipboard
fun GetScanConfigResult(authentication: AuthenticationResponse, blacklistPatterns: List<String>, displayName: String, exportToSecurityCommandCenter: String, ignoreHttpStatusErrors: Boolean, latestRun: ScanRunResponse, managedScan: Boolean, maxQps: Int, name: String, riskLevel: String, schedule: ScheduleResponse, startingUrls: List<String>, staticIpScan: Boolean, targetPlatforms: List<String>, userAgent: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

The user provided display name of the ScanConfig.

Link copied to clipboard

Controls export of scan configurations and results to Security Command Center.

Link copied to clipboard

Whether to keep scanning even if most requests return HTTP error codes.

Link copied to clipboard

Latest ScanRun if available.

Link copied to clipboard

Whether the scan config is managed by Web Security Scanner, output only.

Link copied to clipboard
val maxQps: Int

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

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

The risk level selected for the scan

Link copied to clipboard

The schedule of the ScanConfig.

Link copied to clipboard

The starting URLs from which the scanner finds site pages.

Link copied to clipboard

Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.

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

The user agent used during scanning.