Aracılığıyla paylaş


ScanProperties Class

Definition

A vulnerability assessment scan record properties.

public class ScanProperties
type ScanProperties = class
Public Class ScanProperties
Inheritance
ScanProperties

Constructors

ScanProperties()

Initializes a new instance of the ScanProperties class.

ScanProperties(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the ScanProperties class.

Properties

Database

Gets or sets the database name.

EndTime

Gets or sets scan results are valid until end time (UTC).

HighSeverityFailedRulesCount

Gets or sets the number of failed rules with high severity.

IsBaselineApplied

Gets or sets baseline created for this database, and has one or more rules.

LowSeverityFailedRulesCount

Gets or sets the number of failed rules with low severity.

MediumSeverityFailedRulesCount

Gets or sets the number of failed rules with medium severity.

Server

Gets or sets the server name.

SqlVersion

Gets or sets the SQL version.

StartTime

Gets or sets the scan start time (UTC).

State

Gets or sets the scan status. Possible values include: 'Failed', 'FailedToRun', 'InProgress', 'Passed'

TotalFailedRulesCount

Gets or sets the number of total failed rules.

TotalPassedRulesCount

Gets or sets the number of total passed rules.

TotalRulesCount

Gets or sets the number of total rules assessed.

TriggerType

Gets or sets the scan trigger type. Possible values include: 'OnDemand', 'Recurring'

Applies to