You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Azure Resource Graph (ARG) provides a REST API that can be used to pragmatically access vulnerability assessment results for both Azure registry and runtime vulnerabilities recommendations.
15
+
Azure Resource Graph (ARG) provides a REST API that can be used to programmatically access vulnerability assessment results for both Azure registry and runtime vulnerabilities recommendations.
16
16
Learn more about [ARG references and query examples](/azure/governance/resource-graph/overview).
17
17
18
-
Azure container registry vulnerabilities sub-assessments are published to ARG as part of the security resources. Learn more about [security sub-assessments](/azure/governance/resource-graph/samples/samples-by-category?tabs=azure-cli#list-container-registry-vulnerability-assessment-results).
18
+
Azure and AWS container registry vulnerabilities sub-assessments are published to ARG as part of the security resources. Learn more about [security sub-assessments](/azure/governance/resource-graph/samples/samples-by-category?tabs=azure-cli#list-container-registry-vulnerability-assessment-results).
19
19
20
20
## ARG query examples
21
21
22
-
To pull specific sub assessments, you need the assessment key. For Container vulnerability assessment powered by MDVM the key is `c0b7cfc6-3172-465a-b378-53c7ff2cc0d5`.
22
+
To pull specific sub assessments, you need the assessment key.
23
+
* For Azure container vulnerability assessment powered by MDVM the key is `c0b7cfc6-3172-465a-b378-53c7ff2cc0d5`.
24
+
* For AWS container vulnerability assessment powered by MDVM the key is `c27441ae-775c-45be-8ffa-655de37362ce`.
23
25
24
26
The following is a generic security sub assessment query example that can be used as an example to build queries with. This query pulls the first sub assessment generated in the last hour.
"description": "This vulnerability affects the following vendors: Debian, Fedora, Luatex_Project, Miktex, Oracle, Suse, Tug, Ubuntu. To view more details about this vulnerability please visit the vendor website.",
| NotApplicable | string | Assessment for this resource did not happen |
512
+
| Unhealthy | string | The resource has a security issue that needs to be addressed |
513
+
326
514
### SecuritySubAssessment
327
515
328
516
Security subassessment on a resource
@@ -338,8 +526,8 @@ Security subassessment on a resource
338
526
| properties.id | string | Vulnerability ID |
339
527
| properties.impact | string | Description of the impact of this subassessment |
340
528
| properties.remediation | string | Information on how to remediate this subassessment |
341
-
| properties.resourceDetails | ResourceDetails: [AzureResourceDetails](/rest/api/defenderforcloud/sub-assessments/list#azureresourcedetails)| Details of the resource that was assessed |
342
-
| properties.status |[SubAssessmentStatus](/rest/api/defenderforcloud/sub-assessments/list#subassessmentstatus)| Status of the subassessment |
529
+
| properties.resourceDetails | ResourceDetails: <br> [Azure Resource Details](/azure/defender-for-cloud/subassessment-rest-api#resourcedetails---azure) <br> [AWS Resource Details](/azure/defender-for-cloud/subassessment-rest-api#resourcedetails---aws)| Details of the resource that was assessed |
530
+
| properties.status |[SubAssessmentStatus](/azure/defender-for-cloud/subassessment-rest-api#subassessmentstatus)| Status of the subassessment |
343
531
| properties.timeGenerated | string | The date and time the subassessment was generated |
0 commit comments