Class ScanRun

A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12

Attributes
NameDescription
strname
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.
google.cloud.websecurityscanner_v1beta.types.ScanRun.ExecutionStateexecution_state
The execution state of the ScanRun.
google.cloud.websecurityscanner_v1beta.types.ScanRun.ResultStateresult_state
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
google.protobuf.timestamp_pb2.Timestampstart_time
The time at which the ScanRun started.
google.protobuf.timestamp_pb2.Timestampend_time
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
inturls_crawled_count
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.
inturls_tested_count
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.
boolhas_vulnerabilities
Whether the scan run has found any vulnerabilities.
intprogress_percent
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.
google.cloud.websecurityscanner_v1beta.types.ScanRunErrorTraceerror_trace
If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
Sequence[google.cloud.websecurityscanner_v1beta.types.ScanRunWarningTrace]warning_traces
A list of warnings, if such are encountered during this scan run.

Inheritance

builtins.object > proto.message.Message > ScanRun

Classes

ExecutionState

ExecutionState(value)

Types of ScanRun execution state.

ResultState

ResultState(value)

Types of ScanRun result state.