Show / Hide Table of Contents

Class ScanRun

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

Inheritance
System.Object
ScanRun
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.WebSecurityScanner.v1.Data
Assembly: Google.Apis.WebSecurityScanner.v1.dll
Syntax
public class ScanRun : IDirectResponseSchema

Properties

EndTime

Output only. The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.

Declaration
[JsonProperty("endTime")]
public virtual object EndTime { get; set; }
Property Value
Type Description
System.Object

ErrorTrace

Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.

Declaration
[JsonProperty("errorTrace")]
public virtual ScanRunErrorTrace ErrorTrace { get; set; }
Property Value
Type Description
ScanRunErrorTrace

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

ExecutionState

Output only. The execution state of the ScanRun.

Declaration
[JsonProperty("executionState")]
public virtual string ExecutionState { get; set; }
Property Value
Type Description
System.String

HasVulnerabilities

Output only. Whether the scan run has found any vulnerabilities.

Declaration
[JsonProperty("hasVulnerabilities")]
public virtual bool? HasVulnerabilities { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Name

Output only. 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.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

ProgressPercent

Output only. 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.

Declaration
[JsonProperty("progressPercent")]
public virtual int? ProgressPercent { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ResultState

Output only. The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".

Declaration
[JsonProperty("resultState")]
public virtual string ResultState { get; set; }
Property Value
Type Description
System.String

StartTime

Output only. The time at which the ScanRun started.

Declaration
[JsonProperty("startTime")]
public virtual object StartTime { get; set; }
Property Value
Type Description
System.Object

UrlsCrawledCount

Output only. 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.

Declaration
[JsonProperty("urlsCrawledCount")]
public virtual long? UrlsCrawledCount { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

UrlsTestedCount

Output only. 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.

Declaration
[JsonProperty("urlsTestedCount")]
public virtual long? UrlsTestedCount { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

WarningTraces

Output only. A list of warnings, if such are encountered during this scan run.

Declaration
[JsonProperty("warningTraces")]
public virtual IList<ScanRunWarningTrace> WarningTraces { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<ScanRunWarningTrace>

Implements

IDirectResponseSchema
Back to top