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
Copy file name to clipboardExpand all lines: docs/tables/azure_container_registry.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,33 @@ from
61
61
azure_container_registry;
62
62
```
63
63
64
+
### Get webhook details of registries
65
+
Webhooks in Azure Container Registry provide a way to trigger custom actions in response to events happening within the registry. These events can include the completion of Docker image pushes, or deletions in the container registry. When such an event occurs, Azure Container Registry sends an HTTP POST payload to the webhook's configured URL.
66
+
67
+
```sql+postgres
68
+
select
69
+
name,
70
+
w ->> 'location' as webhook_location,
71
+
w -> 'properties' -> 'actions' as actions,
72
+
w -> 'properties' ->> 'scope' as scope,
73
+
w -> 'properties' ->> 'status' as status
74
+
from
75
+
azure_container_registry,
76
+
jsonb_array_elements(webhooks) as w;
77
+
```
78
+
79
+
```sql+sqlite
80
+
select
81
+
name,
82
+
json_extract(w.value, '$.location') as webhook_location,
83
+
json_extract(w.value, '$.properties.actions') as actions,
84
+
json_extract(w.value, '$.properties.scope') as scope,
85
+
json_extract(w.value, '$.properties.status') as status
86
+
from
87
+
azure_container_registry,
88
+
json_each(webhooks) as w;
89
+
```
90
+
64
91
### List registries not configured with virtual network service endpoint
65
92
Determine the areas in which registries are not configured with a virtual network service endpoint. This is useful in identifying potential security risks where network access is allowed without restrictions.
0 commit comments