Skip to content

Commit 4c97530

Browse files
asafalgawiElazarK
andauthored
Apply suggestions from code review
merged suggestions Co-authored-by: Elazar Krieger <[email protected]>
1 parent cc06240 commit 4c97530

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/defender-for-cloud/subassessment-rest-api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Use Azure Resource Graph (ARG) to access vulnerability assessment results pragma
1818
Learn more about [ARG references and query examples](/azure/governance/resource-graph/overview).
1919

2020
Azure container registry vulnerabilities sub assessments are published to ARG as part of the security resources. For more information see:
21-
* [Security Resources ARG Query Samples
22-
](/azure/governance/resource-graph/samples/samples-by-table?tabs=azure-cli#securityresources)
23-
* [Generic Security Sub Assessment Query
24-
](/azure/governance/resource-graph/samples/samples-by-category?tabs=azure-cli#list-container-registry-vulnerability-assessment-results)
21+
- [Security Resources ARG Query Samples](/azure/governance/resource-graph/samples/samples-by-category?tabs=azure-cli#list-container-registry-vulnerability-assessment-results)
22+
- [Generic Security Sub Assessment Query](/azure/governance/resource-graph/samples/samples-by-category?tabs=azure-cli#list-container-registry-vulnerability-assessment-results)
2523

2624
## ARG Query Examples
27-
As can be seen in the Generic Security Sub Assessment Query example, in order to pull specific sub assessments, you need the assessment key. For MDVM powered sub-assessments (AKA AzureContainerRegistryVulnerability) the key is **“c0b7cfc6-3172-465a-b378-53c7ff2cc0d5”**.
28-
Below is a basic query to ARG which can be used as a reference to more elaborate queries. In this query we pull the first sub assessment generated in the last hour.
25+
26+
To pull specific sub assessments, you need the assessment key. For MDVM powered sub-assessments (AKA AzureContainerRegistryVulnerability) the key is `c0b7cfc6-3172-465a-b378-53c7ff2cc0d5`.
27+
28+
The following is a generic security sub assessment query example which can be used as an example to build queries with. This query pulls the first sub assessment generated in the last hour.
2929
```kql
3030
securityresources
3131
| where type =~ "microsoft.security/assessments/subassessments" and properties.additionalData.assessedResourceType == "AzureContainerRegistryVulnerability"

0 commit comments

Comments
 (0)