Skip to content

Commit cc06240

Browse files
authored
Update subassessment-rest-api.md
removed direct links
1 parent afd3563 commit cc06240

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@ Get security subassessments on all your scanned resources inside a scope.
1515
## Overview
1616

1717
Use Azure Resource Graph (ARG) to access vulnerability assessment results pragmatically for both registry and runtime recommendations.
18-
Learn more about [ARG references and query examples](/azure/governance/resource-graph/overview)
19-
* [Overview of Azure Resource Graph - Azure Resource Graph | Microsoft Learn
18+
Learn more about [ARG references and query examples](/azure/governance/resource-graph/overview).
2019

21-
Azure container registry vulnerabilities sub assessments are published to ARG as part of the security resources. For more information see: [Security Resources ARG Query Samples](https://learn.microsoft.com/azure/governance/resource-graph/samples/samples-by-table?tabs=azure-cli#securityresources).
22-
* [Generic Security Sub Assessment Query Azure container registry vulnerabilities sub assessments are published to ARG as part of the security resources. For more information see: [Security Resources ARG Query Samples](/azure/governance/resource-graph/samples/samples-by-table?tabs=azure-cli#securityresources).
23-
](https://learn.microsoft.com/azure/governance/resource-graph/samples/samples-by-category?tabs=azure-cli#list-container-registry-vulnerability-assessment-results)
20+
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)
2425

2526
## ARG Query Examples
26-
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”**.
27-
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 today.
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.
2829
```kql
2930
securityresources
3031
| where type =~ "microsoft.security/assessments/subassessments" and properties.additionalData.assessedResourceType == "AzureContainerRegistryVulnerability"

0 commit comments

Comments
 (0)