vulnerability_assessment_scan_results
Creates, updates, deletes, gets or lists a vulnerability_assessment_scan_results
resource.
Overview
Name | vulnerability_assessment_scan_results |
Type | Resource |
Id | azure.sql.vulnerability_assessment_scan_results |
Fields
- vw_vulnerability_assessment_scan_results
- vulnerability_assessment_scan_results
Name | Datatype | Description |
---|---|---|
baseline_adjusted_result | text | field from the properties object |
error_message | text | field from the properties object |
is_trimmed | text | field from the properties object |
query_results | text | field from the properties object |
remediation | text | field from the properties object |
resourceGroupName | text | field from the properties object |
rule_id | text | field from the properties object |
rule_metadata | text | field from the properties object |
scanId | text | field from the properties object |
scanResultId | text | field from the properties object |
serverName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
systemDatabaseName | text | field from the properties object |
system_data | text | field from the properties object |
vulnerabilityAssessmentName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | SQL Vulnerability Assessment scan result properties for a single rule. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, scanId, scanResultId, serverName, subscriptionId, systemDatabaseName, vulnerabilityAssessmentName | Gets a vulnerability assessment scan record of a database. |
list_by_scan | SELECT | resourceGroupName, scanId, serverName, subscriptionId, systemDatabaseName, vulnerabilityAssessmentName | Gets a vulnerability assessment scan record of a database. |
SELECT
examples
Gets a vulnerability assessment scan record of a database.
- vw_vulnerability_assessment_scan_results
- vulnerability_assessment_scan_results
SELECT
baseline_adjusted_result,
error_message,
is_trimmed,
query_results,
remediation,
resourceGroupName,
rule_id,
rule_metadata,
scanId,
scanResultId,
serverName,
status,
subscriptionId,
systemDatabaseName,
system_data,
vulnerabilityAssessmentName
FROM azure.sql.vw_vulnerability_assessment_scan_results
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scanId = '{{ scanId }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND systemDatabaseName = '{{ systemDatabaseName }}'
AND vulnerabilityAssessmentName = '{{ vulnerabilityAssessmentName }}';
SELECT
properties,
systemData
FROM azure.sql.vulnerability_assessment_scan_results
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scanId = '{{ scanId }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND systemDatabaseName = '{{ systemDatabaseName }}'
AND vulnerabilityAssessmentName = '{{ vulnerabilityAssessmentName }}';