Skip to main content

database_sql_vulnerability_assessment_scan_results

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

Overview

Namedatabase_sql_vulnerability_assessment_scan_results
TypeResource
Idazure.sql.database_sql_vulnerability_assessment_scan_results

Fields

NameDatatypeDescription
baseline_adjusted_resulttextfield from the properties object
databaseNametextfield from the properties object
error_messagetextfield from the properties object
is_trimmedtextfield from the properties object
query_resultstextfield from the properties object
remediationtextfield from the properties object
resourceGroupNametextfield from the properties object
rule_idtextfield from the properties object
rule_metadatatextfield from the properties object
scanIdtextfield from the properties object
scanResultIdtextfield from the properties object
serverNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
vulnerabilityAssessmentNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdatabaseName, resourceGroupName, scanId, scanResultId, serverName, subscriptionId, vulnerabilityAssessmentNameGets a vulnerability assessment scan record of a database.
list_by_scanSELECTdatabaseName, resourceGroupName, scanId, serverName, subscriptionId, vulnerabilityAssessmentNameGets a vulnerability assessment scan record of a database.

SELECT examples

Gets a vulnerability assessment scan record of a database.

SELECT
baseline_adjusted_result,
databaseName,
error_message,
is_trimmed,
query_results,
remediation,
resourceGroupName,
rule_id,
rule_metadata,
scanId,
scanResultId,
serverName,
status,
subscriptionId,
system_data,
vulnerabilityAssessmentName
FROM azure.sql.vw_database_sql_vulnerability_assessment_scan_results
WHERE databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND scanId = '{{ scanId }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vulnerabilityAssessmentName = '{{ vulnerabilityAssessmentName }}';