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>
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]
func LookupScanConfig(ctx *Context, args *LookupScanConfigArgs, opts ...InvokeOption) (*LookupScanConfigResult, error)
func LookupScanConfigOutput(ctx *Context, args *LookupScanConfigOutputArgs, opts ...InvokeOption) LookupScanConfigResultOutput
> 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)
}
public static CompletableFuture<GetScanConfigResult> getScanConfig(GetScanConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:websecurityscanner/v1beta:getScanConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Scan
Config stringId - Project string
- Scan
Config stringId - Project string
- scan
Config StringId - project String
- scan
Config stringId - project string
- scan_
config_ strid - project str
- scan
Config StringId - project String
getScanConfig Result
The following output properties are available:
- Authentication
Pulumi.
Google Native. Web Security Scanner. V1Beta. Outputs. Authentication Response - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- Blacklist
Patterns 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
- Display
Name string - The user provided display name of the ScanConfig.
- Export
To stringSecurity Command Center - Controls export of scan configurations and results to Security Command Center.
- Ignore
Http boolStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- Latest
Run Pulumi.Google Native. Web Security Scanner. V1Beta. Outputs. Scan Run Response - 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 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.
- Risk
Level string - The risk level selected for the scan
- Schedule
Pulumi.
Google Native. Web Security Scanner. V1Beta. Outputs. Schedule Response - The schedule of the ScanConfig.
- Starting
Urls List<string> - The starting URLs from which the scanner finds site pages.
- Static
Ip boolScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- Target
Platforms List<string> - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- User
Agent string - The user agent used during scanning.
- Authentication
Authentication
Response - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- Blacklist
Patterns []string - 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 string - The user provided display name of the ScanConfig.
- Export
To stringSecurity Command Center - Controls export of scan configurations and results to Security Command Center.
- Ignore
Http boolStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- Latest
Run ScanRun Response - 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 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.
- Risk
Level string - The risk level selected for the scan
- Schedule
Schedule
Response - The schedule of the ScanConfig.
- Starting
Urls []string - The starting URLs from which the scanner finds site pages.
- Static
Ip boolScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- Target
Platforms []string - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- User
Agent string - The user agent used during scanning.
- authentication
Authentication
Response - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- blacklist
Patterns 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
- display
Name String - The user provided display name of the ScanConfig.
- export
To StringSecurity Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore
Http BooleanStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- latest
Run ScanRun Response - Latest ScanRun if available.
- managed
Scan Boolean - Whether the scan config is managed by Web Security Scanner, output only.
- max
Qps 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.
- risk
Level String - The risk level selected for the scan
- schedule
Schedule
Response - The schedule of the ScanConfig.
- starting
Urls List<String> - The starting URLs from which the scanner finds site pages.
- static
Ip BooleanScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- target
Platforms List<String> - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user
Agent String - The user agent used during scanning.
- authentication
Authentication
Response - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- blacklist
Patterns string[] - 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 string - The user provided display name of the ScanConfig.
- export
To stringSecurity Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore
Http booleanStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- latest
Run ScanRun Response - Latest ScanRun if available.
- managed
Scan boolean - Whether the scan config is managed by Web Security Scanner, output only.
- max
Qps 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.
- risk
Level string - The risk level selected for the scan
- schedule
Schedule
Response - The schedule of the ScanConfig.
- starting
Urls string[] - The starting URLs from which the scanner finds site pages.
- static
Ip booleanScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- target
Platforms string[] - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user
Agent string - The user agent used during scanning.
- authentication
Authentication
Response - 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_ strsecurity_ command_ center - Controls export of scan configurations and results to Security Command Center.
- ignore_
http_ boolstatus_ errors - Whether to keep scanning even if most requests return HTTP error codes.
- latest_
run ScanRun Response - 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
Schedule
Response - The schedule of the ScanConfig.
- starting_
urls Sequence[str] - The starting URLs from which the scanner finds site pages.
- static_
ip_ boolscan - 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.
- blacklist
Patterns 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
- display
Name String - The user provided display name of the ScanConfig.
- export
To StringSecurity Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore
Http BooleanStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- latest
Run Property Map - Latest ScanRun if available.
- managed
Scan Boolean - Whether the scan config is managed by Web Security Scanner, output only.
- max
Qps 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.
- risk
Level String - The risk level selected for the scan
- schedule Property Map
- The schedule of the ScanConfig.
- starting
Urls List<String> - The starting URLs from which the scanner finds site pages.
- static
Ip BooleanScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- target
Platforms List<String> - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user
Agent String - The user agent used during scanning.
Supporting Types
AuthenticationResponse
- Custom
Account Pulumi.Google Native. Web Security Scanner. V1Beta. Inputs. Custom Account Response - Authentication using a custom account.
- Google
Account Pulumi.Google Native. Web Security Scanner. V1Beta. Inputs. Google Account Response - Authentication using a Google account.
- Iap
Credential Pulumi.Google Native. Web Security Scanner. V1Beta. Inputs. Iap Credential Response - Authentication using Identity-Aware-Proxy (IAP).
- Custom
Account CustomAccount Response - Authentication using a custom account.
- Google
Account GoogleAccount Response - Authentication using a Google account.
- Iap
Credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account CustomAccount Response - Authentication using a custom account.
- google
Account GoogleAccount Response - Authentication using a Google account.
- iap
Credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account CustomAccount Response - Authentication using a custom account.
- google
Account GoogleAccount Response - Authentication using a Google account.
- iap
Credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom_
account CustomAccount Response - Authentication using a custom account.
- google_
account GoogleAccount Response - Authentication using a Google account.
- iap_
credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account Property Map - Authentication using a custom account.
- google
Account Property Map - Authentication using a Google account.
- iap
Credential Property Map - Authentication using Identity-Aware-Proxy (IAP).
CustomAccountResponse
GoogleAccountResponse
IapCredentialResponse
- Iap
Test Pulumi.Service Account Info Google Native. Web Security Scanner. V1Beta. Inputs. Iap Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- Iap
Test IapService Account Info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test IapService Account Info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test IapService Account Info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap_
test_ Iapservice_ account_ info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test Property MapService Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
IapTestServiceAccountInfoResponse
- Target
Audience stringClient Id - Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
- Target
Audience stringClient Id - Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
- target
Audience StringClient Id - Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
- target
Audience stringClient Id - Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
- target_
audience_ strclient_ id - Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
- target
Audience StringClient Id - Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).
ScanConfigErrorResponse
- code str
- Indicates the reason code for a configuration failure.
- field_
name 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.
ScanRunErrorTraceResponse
- Code string
- Indicates the error reason code.
- Most
Common intHttp Error Code - 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 Pulumi.Error Google Native. Web Security Scanner. V1Beta. Inputs. Scan Config Error Response - 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 string
- Indicates the error reason code.
- Most
Common intHttp Error Code - 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 ScanError Config Error Response - 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 String
- Indicates the error reason code.
- most
Common IntegerHttp Error Code - 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 ScanError Config Error Response - 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 string
- Indicates the error reason code.
- most
Common numberHttp Error Code - 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 ScanError Config Error Response - 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 str
- Indicates the error reason code.
- most_
common_ inthttp_ error_ code - 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_ Scanerror Config Error Response - 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 String
- Indicates the error reason code.
- most
Common NumberHttp Error Code - 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 Property MapError - 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
- End
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- Error
Trace Pulumi.Google Native. Web Security Scanner. V1Beta. Inputs. Scan Run Error Trace Response - 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 string - The execution state of the ScanRun.
- Has
Vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- Name 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.
- Progress
Percent 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 string - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- Start
Time string - The time at which the ScanRun started.
- Urls
Crawled stringCount - 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 stringCount - 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 List<Pulumi.Google Native. Web Security Scanner. V1Beta. Inputs. Scan Run Warning Trace Response> - A list of warnings, if such are encountered during this scan run.
- End
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- Error
Trace ScanRun Error Trace Response - 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 string - The execution state of the ScanRun.
- Has
Vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- Name 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.
- Progress
Percent 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 string - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- Start
Time string - The time at which the ScanRun started.
- Urls
Crawled stringCount - 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 stringCount - 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 []ScanRun Warning Trace Response - A list of warnings, if such are encountered during this scan run.
- end
Time String - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- error
Trace ScanRun Error Trace Response - 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 String - The execution state of the ScanRun.
- has
Vulnerabilities Boolean - Whether the scan run has found any vulnerabilities.
- name 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.
- progress
Percent 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.
- result
State String - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time String - The time at which the ScanRun started.
- urls
Crawled StringCount - 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 StringCount - 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 List<ScanRun Warning Trace Response> - A list of warnings, if such are encountered during this scan run.
- end
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- error
Trace ScanRun Error Trace Response - 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 string - The execution state of the ScanRun.
- has
Vulnerabilities boolean - Whether the scan run has found any vulnerabilities.
- name 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.
- progress
Percent 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.
- result
State string - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time string - The time at which the ScanRun started.
- urls
Crawled stringCount - 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 stringCount - 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 ScanRun Warning Trace Response[] - A list of warnings, if such are encountered during this scan run.
- end_
time str - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- error_
trace ScanRun Error Trace Response - 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 str - The execution state of the ScanRun.
- has_
vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- name 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 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 str - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start_
time str - The time at which the ScanRun started.
- urls_
crawled_ strcount - 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_ strcount - 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 Sequence[ScanRun Warning Trace Response] - A list of warnings, if such are encountered during this scan run.
- end
Time String - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- error
Trace 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.
- execution
State String - The execution state of the ScanRun.
- has
Vulnerabilities Boolean - Whether the scan run has found any vulnerabilities.
- name 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.
- progress
Percent 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.
- result
State String - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time String - The time at which the ScanRun started.
- urls
Crawled StringCount - 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 StringCount - 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 List<Property Map> - A list of warnings, if such are encountered during this scan run.
ScanRunWarningTraceResponse
- Code string
- Indicates the warning code.
- Code string
- Indicates the warning code.
- code String
- Indicates the warning code.
- code string
- Indicates the warning code.
- code str
- Indicates the warning code.
- code String
- Indicates the warning code.
ScheduleResponse
- Interval
Duration intDays - The duration of time between executions in days.
- Schedule
Time 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 intDays - The duration of time between executions in days.
- Schedule
Time 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 IntegerDays - The duration of time between executions in days.
- schedule
Time 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 numberDays - The duration of time between executions in days.
- schedule
Time 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_ intdays - The duration of time between executions in days.
- schedule_
time 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.
- interval
Duration NumberDays - The duration of time between executions in days.
- schedule
Time 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