Web Security Scanner ScanConfig

Web Security Scanner ScanConfig in Google Cloud is a configuration resource that defines how web security scans are performed on your applications. It specifies scan targets, authentication settings, scheduling, and scan parameters to identify vulnerabilities such as cross-site scripting, mixed content, and outdated libraries. This resource helps automate and manage regular security assessments for web applications hosted on GCP.

gcp.websecurityscanner_scan_config

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
authenticationcorejsonThe authentication configuration. If specified, service will use the authentication configuration during scanning.
blacklist_patternscorearray<string>The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
datadog_display_namecorestring
export_to_security_command_centercorestringControls export of scan configurations and results to Security Command Center.
gcp_display_namecorestringRequired. The user provided display name of the ScanConfig.
ignore_http_status_errorscoreboolWhether to keep scanning even if most requests return HTTP error codes.
labelscorearray<string>
latest_runcorejson
managed_scancoreboolWhether the scan config is managed by Web Security Scanner, output only.
max_qpscoreint64The 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.
namecorestringIdentifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
risk_levelcorestringThe risk level selected for the scan
schedulecorejsonThe schedule of the ScanConfig.
starting_urlscorearray<string>Required. The starting URLs from which the scanner finds site pages.
static_ip_scancoreboolWhether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
tagscorehstore_csv
target_platformscorearray<string>Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
user_agentcorestringThe user agent used during scanning.
zone_idcorestring