Skip to content

Commit 5a406b8

Browse files
committed
Adding endpoint code samples
1 parent 8b39d2f commit 5a406b8

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/service-health/impacted-resources-security.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,21 @@ Service Health provides the below information to users whose resources are impac
4848
|**Tenant Name**|Unique ID for the tenant that contains the impacted resource|
4949
|**Tenant ID**|Unique ID for the tenant that contains the affected resource|
5050

51-
## Accessing Impacted Resources programmatically via an API:
51+
## Accessing Impacted Resources programmatically via an API
5252

5353
Security incident impacted resource information can be retrieved programmatically using Events API. To access the list of resources impacted by a Security incident, the following endpoints can be used by users authorized with the above-mentioned roles.
5454

55-
**Subscription:** [Operation: POST](https://management.azure.com/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808ff9/providers/microsoft.resourcehealth/events/3N8Z-DD8/listSecurityAdvisoryImpactedResources?api-version=2022-10-01)
55+
**Subscription**
5656

57-
**Tenant:** [Operation: POST](https://management.azure.com/providers/microsoft.resourcehealth/events/3N8Z-DD8/listSecurityAdvisoryImpactedResources?api-version=2022-10-01)
57+
```HTTP
58+
https://management.azure.com/subscriptions/(“subscriptionID”)/providers/microsoft.resourcehealth/events/3N8Z-DD8/listSecurityAdvisoryImpactedResources?api-version=2022-10-01
59+
```
60+
61+
**Tenant**
62+
63+
```HTTP
64+
https://management.azure.com/providers/microsoft.resourcehealth/events/3N8Z-DD8/listSecurityAdvisoryImpactedResources?api-version=2022-10-01
65+
```
5866

5967
## Next steps
6068
- [Introduction to the Azure Service Health dashboard](service-health-overview.md)

0 commit comments

Comments
 (0)