1. Packages
  2. Google Cloud Native
  3. API Docs
  4. websecurityscanner
  5. websecurityscanner/v1beta
  6. getScanConfig

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.websecurityscanner/v1beta.getScanConfig

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Gets a ScanConfig.

Using getScanConfig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getScanConfig(args: GetScanConfigArgs, opts?: InvokeOptions): Promise<GetScanConfigResult>
function getScanConfigOutput(args: GetScanConfigOutputArgs, opts?: InvokeOptions): Output<GetScanConfigResult>
Copy
def get_scan_config(project: Optional[str] = None,
                    scan_config_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetScanConfigResult
def get_scan_config_output(project: Optional[pulumi.Input[str]] = None,
                    scan_config_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetScanConfigResult]
Copy
func LookupScanConfig(ctx *Context, args *LookupScanConfigArgs, opts ...InvokeOption) (*LookupScanConfigResult, error)
func LookupScanConfigOutput(ctx *Context, args *LookupScanConfigOutputArgs, opts ...InvokeOption) LookupScanConfigResultOutput
Copy

> Note: This function is named LookupScanConfig in the Go SDK.

public static class GetScanConfig 
{
    public static Task<GetScanConfigResult> InvokeAsync(GetScanConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetScanConfigResult> Invoke(GetScanConfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetScanConfigResult> getScanConfig(GetScanConfigArgs args, InvokeOptions options)
public static Output<GetScanConfigResult> getScanConfig(GetScanConfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:websecurityscanner/v1beta:getScanConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ScanConfigId This property is required. string
Project string
ScanConfigId This property is required. string
Project string
scanConfigId This property is required. String
project String
scanConfigId This property is required. string
project string
scan_config_id This property is required. str
project str
scanConfigId This property is required. String
project String

getScanConfig Result

The following output properties are available:

Authentication Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Outputs.AuthenticationResponse
The authentication configuration. If specified, service will use the authentication configuration during scanning.
BlacklistPatterns List<string>
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
DisplayName string
The user provided display name of the ScanConfig.
ExportToSecurityCommandCenter string
Controls export of scan configurations and results to Security Command Center.
IgnoreHttpStatusErrors bool
Whether to keep scanning even if most requests return HTTP error codes.
LatestRun Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Outputs.ScanRunResponse
Latest ScanRun if available.
ManagedScan bool
Whether the scan config is managed by Web Security Scanner, output only.
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.
Name string
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
RiskLevel string
The risk level selected for the scan
Schedule Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Outputs.ScheduleResponse
The schedule of the ScanConfig.
StartingUrls List<string>
The starting URLs from which the scanner finds site pages.
StaticIpScan bool
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
TargetPlatforms List<string>
Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
UserAgent string
The user agent used during scanning.
Authentication AuthenticationResponse
The authentication configuration. If specified, service will use the authentication configuration during scanning.
BlacklistPatterns []string
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
DisplayName string
The user provided display name of the ScanConfig.
ExportToSecurityCommandCenter string
Controls export of scan configurations and results to Security Command Center.
IgnoreHttpStatusErrors bool
Whether to keep scanning even if most requests return HTTP error codes.
LatestRun ScanRunResponse
Latest ScanRun if available.
ManagedScan bool
Whether the scan config is managed by Web Security Scanner, output only.
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.
Name string
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
RiskLevel string
The risk level selected for the scan
Schedule ScheduleResponse
The schedule of the ScanConfig.
StartingUrls []string
The starting URLs from which the scanner finds site pages.
StaticIpScan bool
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
TargetPlatforms []string
Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
UserAgent string
The user agent used during scanning.
authentication AuthenticationResponse
The authentication configuration. If specified, service will use the authentication configuration during scanning.
blacklistPatterns List<String>
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
displayName String
The user provided display name of the ScanConfig.
exportToSecurityCommandCenter String
Controls export of scan configurations and results to Security Command Center.
ignoreHttpStatusErrors Boolean
Whether to keep scanning even if most requests return HTTP error codes.
latestRun ScanRunResponse
Latest ScanRun if available.
managedScan Boolean
Whether the scan config is managed by Web Security Scanner, output only.
maxQps Integer
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.
name String
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
riskLevel String
The risk level selected for the scan
schedule ScheduleResponse
The schedule of the ScanConfig.
startingUrls List<String>
The starting URLs from which the scanner finds site pages.
staticIpScan Boolean
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
targetPlatforms List<String>
Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
userAgent String
The user agent used during scanning.
authentication AuthenticationResponse
The authentication configuration. If specified, service will use the authentication configuration during scanning.
blacklistPatterns string[]
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
displayName string
The user provided display name of the ScanConfig.
exportToSecurityCommandCenter string
Controls export of scan configurations and results to Security Command Center.
ignoreHttpStatusErrors boolean
Whether to keep scanning even if most requests return HTTP error codes.
latestRun ScanRunResponse
Latest ScanRun if available.
managedScan boolean
Whether the scan config is managed by Web Security Scanner, output only.
maxQps number
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.
name string
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
riskLevel string
The risk level selected for the scan
schedule ScheduleResponse
The schedule of the ScanConfig.
startingUrls string[]
The starting URLs from which the scanner finds site pages.
staticIpScan boolean
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
targetPlatforms string[]
Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
userAgent string
The user agent used during scanning.
authentication AuthenticationResponse
The authentication configuration. If specified, service will use the authentication configuration during scanning.
blacklist_patterns Sequence[str]
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
display_name str
The user provided display name of the ScanConfig.
export_to_security_command_center str
Controls export of scan configurations and results to Security Command Center.
ignore_http_status_errors bool
Whether to keep scanning even if most requests return HTTP error codes.
latest_run ScanRunResponse
Latest ScanRun if available.
managed_scan bool
Whether the scan config is managed by Web Security Scanner, output only.
max_qps 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.
name str
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
risk_level str
The risk level selected for the scan
schedule ScheduleResponse
The schedule of the ScanConfig.
starting_urls Sequence[str]
The starting URLs from which the scanner finds site pages.
static_ip_scan bool
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
target_platforms Sequence[str]
Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
user_agent str
The user agent used during scanning.
authentication Property Map
The authentication configuration. If specified, service will use the authentication configuration during scanning.
blacklistPatterns List<String>
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
displayName String
The user provided display name of the ScanConfig.
exportToSecurityCommandCenter String
Controls export of scan configurations and results to Security Command Center.
ignoreHttpStatusErrors Boolean
Whether to keep scanning even if most requests return HTTP error codes.
latestRun Property Map
Latest ScanRun if available.
managedScan Boolean
Whether the scan config is managed by Web Security Scanner, output only.
maxQps Number
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.
name String
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
riskLevel String
The risk level selected for the scan
schedule Property Map
The schedule of the ScanConfig.
startingUrls List<String>
The starting URLs from which the scanner finds site pages.
staticIpScan Boolean
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
targetPlatforms List<String>
Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
userAgent String
The user agent used during scanning.

Supporting Types

AuthenticationResponse

CustomAccount This property is required. Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.CustomAccountResponse
Authentication using a custom account.
GoogleAccount This property is required. Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.GoogleAccountResponse
Authentication using a Google account.
IapCredential This property is required. Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.IapCredentialResponse
Authentication using Identity-Aware-Proxy (IAP).
CustomAccount This property is required. CustomAccountResponse
Authentication using a custom account.
GoogleAccount This property is required. GoogleAccountResponse
Authentication using a Google account.
IapCredential This property is required. IapCredentialResponse
Authentication using Identity-Aware-Proxy (IAP).
customAccount This property is required. CustomAccountResponse
Authentication using a custom account.
googleAccount This property is required. GoogleAccountResponse
Authentication using a Google account.
iapCredential This property is required. IapCredentialResponse
Authentication using Identity-Aware-Proxy (IAP).
customAccount This property is required. CustomAccountResponse
Authentication using a custom account.
googleAccount This property is required. GoogleAccountResponse
Authentication using a Google account.
iapCredential This property is required. IapCredentialResponse
Authentication using Identity-Aware-Proxy (IAP).
custom_account This property is required. CustomAccountResponse
Authentication using a custom account.
google_account This property is required. GoogleAccountResponse
Authentication using a Google account.
iap_credential This property is required. IapCredentialResponse
Authentication using Identity-Aware-Proxy (IAP).
customAccount This property is required. Property Map
Authentication using a custom account.
googleAccount This property is required. Property Map
Authentication using a Google account.
iapCredential This property is required. Property Map
Authentication using Identity-Aware-Proxy (IAP).

CustomAccountResponse

LoginUrl This property is required. string
The login form URL of the website.
Password This property is required. string
Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
Username This property is required. string
The user name of the custom account.
LoginUrl This property is required. string
The login form URL of the website.
Password This property is required. string
Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
Username This property is required. string
The user name of the custom account.
loginUrl This property is required. String
The login form URL of the website.
password This property is required. String
Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. String
The user name of the custom account.
loginUrl This property is required. string
The login form URL of the website.
password This property is required. string
Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. string
The user name of the custom account.
login_url This property is required. str
The login form URL of the website.
password This property is required. str
Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. str
The user name of the custom account.
loginUrl This property is required. String
The login form URL of the website.
password This property is required. String
Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. String
The user name of the custom account.

GoogleAccountResponse

Password This property is required. string
Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
Username This property is required. string
The user name of the Google account.
Password This property is required. string
Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
Username This property is required. string
The user name of the Google account.
password This property is required. String
Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. String
The user name of the Google account.
password This property is required. string
Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. string
The user name of the Google account.
password This property is required. str
Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. str
The user name of the Google account.
password This property is required. String
Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
username This property is required. String
The user name of the Google account.

IapCredentialResponse

IapTestServiceAccountInfo This property is required. Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.IapTestServiceAccountInfoResponse
Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
IapTestServiceAccountInfo This property is required. IapTestServiceAccountInfoResponse
Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
iapTestServiceAccountInfo This property is required. IapTestServiceAccountInfoResponse
Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
iapTestServiceAccountInfo This property is required. IapTestServiceAccountInfoResponse
Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
iap_test_service_account_info This property is required. IapTestServiceAccountInfoResponse
Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
iapTestServiceAccountInfo This property is required. Property Map
Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.

IapTestServiceAccountInfoResponse

TargetAudienceClientId This property is required. string
Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
TargetAudienceClientId This property is required. string
Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
targetAudienceClientId This property is required. String
Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
targetAudienceClientId This property is required. string
Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
target_audience_client_id This property is required. str
Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
targetAudienceClientId This property is required. String
Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).

ScanConfigErrorResponse

Code This property is required. string
Indicates the reason code for a configuration failure.
FieldName This property is required. string
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.
Code This property is required. string
Indicates the reason code for a configuration failure.
FieldName This property is required. string
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.
code This property is required. String
Indicates the reason code for a configuration failure.
fieldName This property is required. String
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.
code This property is required. string
Indicates the reason code for a configuration failure.
fieldName This property is required. string
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.
code This property is required. str
Indicates the reason code for a configuration failure.
field_name This property is required. str
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.
code This property is required. String
Indicates the reason code for a configuration failure.
fieldName This property is required. String
Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.

ScanRunErrorTraceResponse

Code This property is required. string
Indicates the error reason code.
MostCommonHttpErrorCode This property is required. int
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
ScanConfigError This property is required. Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.ScanConfigErrorResponse
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
Code This property is required. string
Indicates the error reason code.
MostCommonHttpErrorCode This property is required. int
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
ScanConfigError This property is required. ScanConfigErrorResponse
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
code This property is required. String
Indicates the error reason code.
mostCommonHttpErrorCode This property is required. Integer
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
scanConfigError This property is required. ScanConfigErrorResponse
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
code This property is required. string
Indicates the error reason code.
mostCommonHttpErrorCode This property is required. number
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
scanConfigError This property is required. ScanConfigErrorResponse
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
code This property is required. str
Indicates the error reason code.
most_common_http_error_code This property is required. int
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
scan_config_error This property is required. ScanConfigErrorResponse
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
code This property is required. String
Indicates the error reason code.
mostCommonHttpErrorCode This property is required. Number
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
scanConfigError This property is required. Property Map
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.

ScanRunResponse

EndTime This property is required. string
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
ErrorTrace This property is required. Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.ScanRunErrorTraceResponse
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
ExecutionState This property is required. string
The execution state of the ScanRun.
HasVulnerabilities This property is required. bool
Whether the scan run has found any vulnerabilities.
Name This property is required. string
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
ProgressPercent This property is required. int
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
ResultState This property is required. string
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
StartTime This property is required. string
The time at which the ScanRun started.
UrlsCrawledCount This property is required. string
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
UrlsTestedCount This property is required. string
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
WarningTraces This property is required. List<Pulumi.GoogleNative.WebSecurityScanner.V1Beta.Inputs.ScanRunWarningTraceResponse>
A list of warnings, if such are encountered during this scan run.
EndTime This property is required. string
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
ErrorTrace This property is required. ScanRunErrorTraceResponse
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
ExecutionState This property is required. string
The execution state of the ScanRun.
HasVulnerabilities This property is required. bool
Whether the scan run has found any vulnerabilities.
Name This property is required. string
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
ProgressPercent This property is required. int
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
ResultState This property is required. string
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
StartTime This property is required. string
The time at which the ScanRun started.
UrlsCrawledCount This property is required. string
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
UrlsTestedCount This property is required. string
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
WarningTraces This property is required. []ScanRunWarningTraceResponse
A list of warnings, if such are encountered during this scan run.
endTime This property is required. String
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
errorTrace This property is required. ScanRunErrorTraceResponse
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
executionState This property is required. String
The execution state of the ScanRun.
hasVulnerabilities This property is required. Boolean
Whether the scan run has found any vulnerabilities.
name This property is required. String
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
progressPercent This property is required. Integer
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
resultState This property is required. String
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
startTime This property is required. String
The time at which the ScanRun started.
urlsCrawledCount This property is required. String
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
urlsTestedCount This property is required. String
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
warningTraces This property is required. List<ScanRunWarningTraceResponse>
A list of warnings, if such are encountered during this scan run.
endTime This property is required. string
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
errorTrace This property is required. ScanRunErrorTraceResponse
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
executionState This property is required. string
The execution state of the ScanRun.
hasVulnerabilities This property is required. boolean
Whether the scan run has found any vulnerabilities.
name This property is required. string
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
progressPercent This property is required. number
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
resultState This property is required. string
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
startTime This property is required. string
The time at which the ScanRun started.
urlsCrawledCount This property is required. string
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
urlsTestedCount This property is required. string
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
warningTraces This property is required. ScanRunWarningTraceResponse[]
A list of warnings, if such are encountered during this scan run.
end_time This property is required. str
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
error_trace This property is required. ScanRunErrorTraceResponse
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
execution_state This property is required. str
The execution state of the ScanRun.
has_vulnerabilities This property is required. bool
Whether the scan run has found any vulnerabilities.
name This property is required. str
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
progress_percent This property is required. int
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
result_state This property is required. str
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
start_time This property is required. str
The time at which the ScanRun started.
urls_crawled_count This property is required. str
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
urls_tested_count This property is required. str
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
warning_traces This property is required. Sequence[ScanRunWarningTraceResponse]
A list of warnings, if such are encountered during this scan run.
endTime This property is required. String
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
errorTrace This property is required. Property Map
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
executionState This property is required. String
The execution state of the ScanRun.
hasVulnerabilities This property is required. Boolean
Whether the scan run has found any vulnerabilities.
name This property is required. String
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
progressPercent This property is required. Number
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
resultState This property is required. String
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
startTime This property is required. String
The time at which the ScanRun started.
urlsCrawledCount This property is required. String
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
urlsTestedCount This property is required. String
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
warningTraces This property is required. List<Property Map>
A list of warnings, if such are encountered during this scan run.

ScanRunWarningTraceResponse

Code This property is required. string
Indicates the warning code.
Code This property is required. string
Indicates the warning code.
code This property is required. String
Indicates the warning code.
code This property is required. string
Indicates the warning code.
code This property is required. str
Indicates the warning code.
code This property is required. String
Indicates the warning code.

ScheduleResponse

IntervalDurationDays This property is required. int
The duration of time between executions in days.
ScheduleTime This property is required. string
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.
IntervalDurationDays This property is required. int
The duration of time between executions in days.
ScheduleTime This property is required. string
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.
intervalDurationDays This property is required. Integer
The duration of time between executions in days.
scheduleTime This property is required. String
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.
intervalDurationDays This property is required. number
The duration of time between executions in days.
scheduleTime This property is required. string
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.
interval_duration_days This property is required. int
The duration of time between executions in days.
schedule_time This property is required. str
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.
intervalDurationDays This property is required. Number
The duration of time between executions in days.
scheduleTime This property is required. String
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi