Files
sql-server-samples/samples/manage/sql-assessment-api/docs/Reference/Probes/AzGraphProbe.md
T
Aleksei Guzev 22b2374fc4 Update SQL Assessment APi documentation
- Add descriptions for custom rule set concepts
- Addd reference docs for custom rule sets
- Update existing docs for 4-level severity
2022-09-21 21:40:10 +03:00

624 B

Overview

Type code: AzGraph

This probe runs a Kusto query on Azure resource graph.

Implementation properties

Implementation part of the probe definition contains the following parameters.

Parameter Required Type Default Description
query Required String Kusto query

Use at-sign '@' to ember parameters into the query string.

Example

The following qprobe return @name for a resource with resource id equal to parameter @resId.

...
    "implementation": {
        "query": "Resources | where id =~ @resId | project name"
    }
...