Class ScanConfig (1.1.0)

public sealed class ScanConfig : IMessage<ScanConfig>, IEquatable<ScanConfig>, IDeepCloneable<ScanConfig>, IBufferMessage, IMessage

A ScanConfig resource contains the configurations to launch a scan.

Inheritance

Object > ScanConfig

Namespace

Google.Cloud.WebSecurityScanner.V1

Assembly

Google.Cloud.WebSecurityScanner.V1.dll

Constructors

ScanConfig()

public ScanConfig()

ScanConfig(ScanConfig)

public ScanConfig(ScanConfig other)
Parameter
NameDescription
otherScanConfig

Properties

Authentication

public ScanConfig.Types.Authentication Authentication { get; set; }

The authentication configuration. If specified, service will use the authentication configuration during scanning.

Property Value
TypeDescription
ScanConfig.Types.Authentication

BlacklistPatterns

public RepeatedField<string> BlacklistPatterns { get; }
Property Value
TypeDescription
RepeatedField<String>

DisplayName

public string DisplayName { get; set; }

Required. The user provided display name of the ScanConfig.

Property Value
TypeDescription
String

ExportToSecurityCommandCenter

public ScanConfig.Types.ExportToSecurityCommandCenter ExportToSecurityCommandCenter { get; set; }

Controls export of scan configurations and results to Security Command Center.

Property Value
TypeDescription
ScanConfig.Types.ExportToSecurityCommandCenter

ManagedScan

public bool ManagedScan { get; set; }

Whether the scan config is managed by Web Security Scanner, output only.

Property Value
TypeDescription
Boolean

MaxQps

public int MaxQps { get; set; }

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.

Property Value
TypeDescription
Int32

Name

public string Name { get; set; }

The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.

Property Value
TypeDescription
String

RiskLevel

public ScanConfig.Types.RiskLevel RiskLevel { get; set; }

The risk level selected for the scan

Property Value
TypeDescription
ScanConfig.Types.RiskLevel

Schedule

public ScanConfig.Types.Schedule Schedule { get; set; }

The schedule of the ScanConfig.

Property Value
TypeDescription
ScanConfig.Types.Schedule

StartingUrls

public RepeatedField<string> StartingUrls { get; }

Required. The starting URLs from which the scanner finds site pages.

Property Value
TypeDescription
RepeatedField<String>

StaticIpScan

public bool StaticIpScan { get; set; }

Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.

Property Value
TypeDescription
Boolean

UserAgent

public ScanConfig.Types.UserAgent UserAgent { get; set; }

The user agent used during scanning.

Property Value
TypeDescription
ScanConfig.Types.UserAgent