Skip to main content

vulnerability_assessment_scans

Creates, updates, deletes, gets or lists a vulnerability_assessment_scans resource.

Overview

Namevulnerability_assessment_scans
TypeResource
Idazure.sql.vulnerability_assessment_scans

Fields

NameDatatypeDescription
databasetextfield from the properties object
end_timetextfield from the properties object
errorstextfield from the properties object
high_severity_failed_rules_counttextfield from the properties object
is_baseline_appliedtextfield from the properties object
last_scan_timetextfield from the properties object
low_severity_failed_rules_counttextfield from the properties object
medium_severity_failed_rules_counttextfield from the properties object
resourceGroupNametextfield from the properties object
scanIdtextfield from the properties object
scan_idtextfield from the properties object
servertextfield from the properties object
serverNametextfield from the properties object
sql_versiontextfield from the properties object
start_timetextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
systemDatabaseNametextfield from the properties object
system_datatextfield from the properties object
total_failed_rules_counttextfield from the properties object
total_passed_rules_counttextfield from the properties object
total_rules_counttextfield from the properties object
trigger_typetextfield from the properties object
vulnerabilityAssessmentNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, scanId, serverName, subscriptionId, systemDatabaseName, vulnerabilityAssessmentNameGet a system database vulnerability assessment scan record.
list_by_sql_vulnerability_assessmentsSELECTresourceGroupName, serverName, subscriptionId, systemDatabaseName, vulnerabilityAssessmentNameLists the vulnerability assessment scans of a database.

SELECT examples

Lists the vulnerability assessment scans of a database.

SELECT
database,
end_time,
errors,
high_severity_failed_rules_count,
is_baseline_applied,
last_scan_time,
low_severity_failed_rules_count,
medium_severity_failed_rules_count,
resourceGroupName,
scanId,
scan_id,
server,
serverName,
sql_version,
start_time,
state,
subscriptionId,
systemDatabaseName,
system_data,
total_failed_rules_count,
total_passed_rules_count,
total_rules_count,
trigger_type,
vulnerabilityAssessmentName
FROM azure.sql.vw_vulnerability_assessment_scans
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND systemDatabaseName = '{{ systemDatabaseName }}'
AND vulnerabilityAssessmentName = '{{ vulnerabilityAssessmentName }}';