Skip to content

Commit 1c1d0af

Browse files
Merge pull request #250756 from spelluru/egridsystopics0908
Azure Resource Notification events
2 parents c1efbd6 + 55225a0 commit 1c1d0af

16 files changed

+694
-20
lines changed

articles/event-grid/create-view-manage-system-topics.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,7 @@ You can create a system topic for an Azure resource (Storage account, Event Hubs
4646
## View all system topics
4747
Follow these steps to view all existing Event Grid system topics.
4848

49-
1. Sign in to [Azure portal](https://portal.azure.com).
50-
2. In the search box at the top, type **Event Grid System Topics**, and then press **ENTER**.
51-
52-
![Search for system topics](./media/create-view-manage-system-topics/search-system-topics.png)
53-
3. On the **Event Grid System Topics** page, you see all the system topics.
54-
55-
![List of system topics](./media/create-view-manage-system-topics/list-system-topics.png)
56-
4. Select a **system topic** from the list to see details about it.
57-
58-
![System topic details](./media/create-view-manage-system-topics/system-topic-details.png)
59-
60-
This page shows you details about the system topic such as the following information:
61-
- Source. Name of the resource on which the system topic was created.
62-
- Source type. Type of the resource. For example: `Microsoft.Storage.StorageAccounts`, `Microsoft.EventHub.Namespaces`, `Microsoft.Resources.ResourceGroups` and so on.
63-
- Any subscriptions created for the system topic.
64-
65-
This page allows operations such as the following ones:
66-
- Create an event subscription Select **+Event Subscription** on the toolbar.
67-
- Delete an event subscription. Select **Delete** on the toolbar.
68-
- Add tags for the system topic. Select **Tags** on the left menu, and specify tag names and values.
49+
[!INCLUDE [system-topics](./includes/system-topics.md)]
6950

7051

7152
## Delete a system topic

articles/event-grid/event-schema-health-resources.md

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Azure Resource Notifications - Overview
3+
description: This article provides information on Azure Event Grid events supported by Azure Resource Notifications.
4+
ms.topic: conceptual
5+
ms.date: 09/26/2023
6+
---
7+
8+
# Azure Resource Notifications overview
9+
Azure Resource Notifications (ARN) represent the cutting-edge unified pub/sub service catering to all Azure resources. ARN taps into a diverse range of publishers, and this wealth of data is now accessible through ARN's dedicated system topics in Azure Event Grid.
10+
11+
Here are the key advantages:
12+
13+
- **Comprehensive payloads:** Notifications delivered through ARN encompass the entire resource payload. This direct access leads to a reduction in read throttling, thereby enhancing your overall experience.
14+
- **Enhanced filtering capabilities:** The availability of payloads opens up a plethora of filtering options. Use the properties within the payload to fine-tune the notifications stream, tailoring it to your specific scenarios.
15+
- **Expanded dataset access**: ARN taps into multiple publishers, allowing it to offer datasets that may not be accessible through standard system topics.
16+
- **Robust Role-Based Access Control (RBAC):** ARN is fortified with a robust RBAC capability. This feature empowers you to configure users or service principals to subscribe exclusively to the data they have authorization for, within the scope of their access.
17+
18+
## RBAC for ARN system topics
19+
All the events under ARN system topics are exclusively emitted at the Azure subscription scope. It implies that the entity creating the event subscription for a given topic type receives notifications for the corresponding events across the entire Azure subscription. For security reasons, it's' imperative to restrict the ability to create event subscriptions on this topic to principals with read access over the entire Azure subscription.
20+
21+
As of today, you need the following generic permissions provided by Event Grid to create system topics and event subscriptions.
22+
23+
- `microsoft.eventgrid/eventsubscription/write`
24+
- `microsoft.eventgrid/systemtopic/eventsubscriptions/write`
25+
26+
In addition to these permissions, you need to grant the following permissions to users or security principals for accessing ARN system topics. For each topic type, distinct permissions are exposed, ensuring precise and tailored access:
27+
28+
| Topic Type | Permission |
29+
| ---------- | ---------- |
30+
| HealthResources | `Microsoft.ResourceNotifications/systemTopics/subscribeToHealthResources/action` |
31+
32+
To enhance customer experience, a built-in role definition that encompasses all the requisite permissions for receiving data through any ARN system topic is available. This role includes permissions mandated by Event Grid for system topic and event subscription creation. This built-in role definition is regularly updated to incorporate more topic types as they become accessible through our service. **As a result, users assigned this built-in role automatically gains access to all future ARN topic types**. You can choose to either utilize the provided built-in role definition or craft your own custom role definitions to enforce access control.
33+
34+
### Built-in role definition:
35+
36+
```json
37+
{
38+
"assignableScopes": [
39+
"/"
40+
],
41+
"description": "Lets you create system topics and event subscriptions on all system topics exposed currently and in the future by Azure Resource Notifications.",
42+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/[guid]",
43+
"name": "[guid]",
44+
"permissions": [{
45+
"actions": [
46+
"Microsoft.EventGrid/eventSubscription/write",
47+
"Microsoft.EventGrid/systemTopics/eventSubscriptions/write",
48+
"Microsoft.ResourceNotifications/systemTopics/subscribeToResources/action",
49+
"Microsoft.ResourceNotifications/systemTopics/subscribeToHealthResources/action",
50+
"Microsoft.ResourceNotifications/systemTopics/subscribeToMaintenanceResources/action"
51+
],
52+
"notActions": [],
53+
"dataActions": [],
54+
"notDataActions": []
55+
}],
56+
"roleName": "Azure Resource Notifications System Topics Subscriber",
57+
"roleType": "BuiltInRole",
58+
"type": "Microsoft.Authorization/roleDefinitions"
59+
}
60+
```
61+
62+
63+
## Next steps
64+
See [Azure Resource Notifications - Health Resources events in Azure Event Grid](event-schema-health-resources.md).

articles/event-grid/includes/event-sources-system-topics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- [Azure Machine Learning](../event-schema-machine-learning.md)
2929
- [Azure Maps](../event-schema-azure-maps.md)
3030
- [Azure Media Services](../event-schema-media-services.md)
31+
- [Azure Resource Notifications](../event-schema-resource-notifications.md)
3132
- [Azure Policy](.././event-schema-policy.md)
3233
- [Azure resource groups](../event-schema-resource-groups.md)
3334
- [Azure Service Bus](../event-schema-service-bus.md)
51.7 KB
Loading
51.2 KB
Loading
79.7 KB
Loading
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: event-grid
5+
author: spelluru
6+
ms.service: event-grid
7+
ms.topic: include
8+
ms.date: 10/31/2022
9+
ms.author: spelluru
10+
ms.custom: include file
11+
---
12+
13+
1. Sign in to [Azure portal](https://portal.azure.com).
14+
2. In the search box at the top, type **Event Grid System Topics**, and then press **ENTER**.
15+
16+
:::image type="content" source="./media/system-topics/search-system-topics.png" alt-text="Screenshot that shows Event Grid System Topics in the search box in the Azure portal.":::
17+
3. On the **Event Grid System Topics** page, you see all the system topics.
18+
19+
:::image type="content" source="./media/system-topics/list-system-topics.png" alt-text="Screenshot that shows the list of system topics." lightbox="./media/system-topics/list-system-topics.png":::
20+
4. Select a **system topic** from the list to see details about it.
21+
22+
:::image type="content" source="./media/system-topics/system-topic-details.png" alt-text="Screenshot that shows the topic page in the Azure portal.":::
23+
24+
This page shows you details about the system topic such as the following information:
25+
- Source. Name of the resource on which the system topic was created.
26+
- Source type. Type of the resource. For example: `Microsoft.Storage.StorageAccounts`, `Microsoft.EventHub.Namespaces`, `Microsoft.Resources.ResourceGroups` and so on.
27+
- Any subscriptions created for the system topic.
28+
29+
This page allows operations such as the following ones:
30+
- Create an event subscription Select **+Event Subscription** on the toolbar.
31+
- Delete an event subscription. Select **Delete** on the toolbar.
32+
- Add tags for the system topic. Select **Tags** on the left menu, and specify tag names and values.
Loading
54.4 KB
Loading

0 commit comments

Comments
 (0)