Share via


SqlVulnerabilityAssessmentScanRecord Class

A vulnerability assessment scan record.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

SqlVulnerabilityAssessmentScanRecord(**kwargs: Any)

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

system_data

SystemData of SqlVulnerabilityAssessmentScanRecordResource.

scan_id
str

The scan ID.

trigger_type

The scan trigger type. Known values are: "OnDemand" and "Recurring".

state

The scan status. Known values are: "Passed", "Failed", "FailedToRun", and "InProgress".

start_time

The scan start time (UTC).

end_time

The scan end time (UTC).

errors

The scan errors.

server
str

The server name.

database
str

The database name.

sql_version
str

The SQL version.

high_severity_failed_rules_count
int

The number of failed rules with high severity.

medium_severity_failed_rules_count
int

The number of failed rules with medium severity.

low_severity_failed_rules_count
int

The number of failed rules with low severity.

total_passed_rules_count
int

The number of total passed rules.

total_failed_rules_count
int

The number of total failed rules.

total_rules_count
int

The number of total rules assessed.

is_baseline_applied

Baseline created for this database, and has one or more rules.

last_scan_time

The last scan time.