Skip to content

Commit 4f23852

Browse files
eyalgaljc-clark
andauthored
Document Azure Blob Storage hostnames from the meta endpoint (#62244)
Co-authored-by: Joe Clark <[email protected]>
1 parent bf06963 commit 4f23852

1 file changed

Lines changed: 17 additions & 34 deletions

File tree

content/admin/data-residency/network-details-for-ghecom.md

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,24 @@ git clone [email protected]:OWNER/REPO.git
4242
* `*.actions.{% data variables.enterprise.data_residency_domain %}`
4343
* `*.githubassets.com`
4444
* `*.githubusercontent.com`
45-
* `*.blob.core.windows.net`
45+
* `*.blob.core.windows.net`. If you cannot allow access to wildcard domains, see [Azure Blob Storage hostnames](#azure-blob-storage-hostnames).
4646
* `auth.ghe.com`
4747

48+
### Azure Blob Storage hostnames
49+
50+
If you cannot allow access to `*.blob.core.windows.net`, use the `/meta` API endpoint for your enterprise to retrieve the complete list of client-facing Azure Blob Storage hostnames. For example, using the {% data variables.product.prodname_cli %}:
51+
52+
```shell
53+
gh api /meta --hostname octocorp.ghe.com --jq '.domains.storage[]'
54+
```
55+
56+
Allow access to every hostname returned in `domains.storage`. The list is specific to your enterprise and {% data variables.product.company_short %} keeps it up to date as network requirements change.
57+
58+
For more information about the `/meta` endpoint, see [AUTOTITLE](/rest/meta/meta#get-github-meta-information).
59+
60+
> [!NOTE]
61+
> If you stream audit logs to your own Azure Blob Storage destination, you must allow access to that destination separately.
62+
4863
## {% data variables.product.github %}'s IP addresses
4964

5065
{% data variables.product.company_short %}'s IP address ranges for enterprises on {% data variables.enterprise.data_residency_site %} depend on your chosen region.
@@ -204,41 +219,9 @@ Japan region:
204219
* `<TENANT>.ghe.com`
205220
* `github.com`
206221
* `*.githubusercontent.com`
207-
* `*.blob.core.windows.net` (can be further restricted by region, see below)
222+
* `*.blob.core.windows.net`. To allow access only to the hostnames used by your enterprise, see [Azure Blob Storage hostnames](#azure-blob-storage-hostnames).
208223
* `*.web.core.windows.net`
209224

210-
#### EU
211-
212-
`*.blob.core.windows.net` can be replaced with:
213-
* `memoryalphaprodsdc01.blob.core.windows.net`
214-
* `memoryalphaprodweu01.blob.core.windows.net`
215-
* `prodsdc01resultssa0.blob.core.windows.net`
216-
* `prodsdc01resultssa1.blob.core.windows.net`
217-
* `prodsdc01resultssa2.blob.core.windows.net`
218-
* `prodsdc01resultssa3.blob.core.windows.net`
219-
* `prodweu01resultssa0.blob.core.windows.net`
220-
* `prodweu01resultssa1.blob.core.windows.net`
221-
* `prodweu01resultssa2.blob.core.windows.net`
222-
* `prodweu01resultssa3.blob.core.windows.net`
223-
224-
#### Australia
225-
226-
`*.blob.core.windows.net` can be replaced with:
227-
* `memoryalphaprodae01.blob.core.windows.net`
228-
* `prodae01resultssa0.blob.core.windows.net`
229-
* `prodae01resultssa1.blob.core.windows.net`
230-
* `prodae01resultssa2.blob.core.windows.net`
231-
* `prodae01resultssa3.blob.core.windows.net`
232-
233-
#### Japan
234-
235-
`*.blob.core.windows.net` can be replaced with:
236-
* `memoryalphaprodjpw01.blob.core.windows.net`
237-
* `prodjpw01resultssa0.blob.core.windows.net`
238-
* `prodjpw01resultssa1.blob.core.windows.net`
239-
* `prodjpw01resultssa2.blob.core.windows.net`
240-
* `prodjpw01resultssa3.blob.core.windows.net`
241-
242225
### OAuth callback URL for connecting an Azure subscription for billing
243226

244227
When you connect or update an Azure subscription for billing, you must allow access to the following URL:

0 commit comments

Comments
 (0)