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: content/admin/configuring-settings/hardening-security-for-your-enterprise/restricting-access-to-githubcom-using-a-corporate-proxy.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ Because this restriction only applies to requests that are sent via a proxy that
76
76
| {% data variables.product.prodname_pages %} |`github.io`| This is generally user-generated content that cannot accept data. You may not want to restrict access. |
77
77
| {% data variables.product.prodname_github_codespaces %} |`github.dev`| To restrict access, block the endpoint entirely. |
78
78
| SSH access | Port 22 on {% data variables.product.prodname_dotcom_the_website %} | To restrict access, block the endpoint entirely. |
79
+
| SSH over HTTPS |`ssh.github.com`| To restrict access, block the endpoint entirely. |
79
80
| {% data variables.product.github %}-hosted runners | Various | To enforce specific routing, use Azure private networking. See [AUTOTITLE](/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/about-azure-private-networking-for-github-hosted-runners-in-your-enterprise). |
Copy file name to clipboardExpand all lines: content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -316,6 +316,8 @@ To restart streaming, click **Resume stream**.
316
316
317
317
## Enabling audit log streaming of API requests
318
318
319
+
>[!NOTE] Not all API requests are included in the audit log stream after this feature is enabled. The streaming of API requests is limited to security relevant endpoints.
320
+
319
321
{% data reusables.enterprise-accounts.access-enterprise %}
320
322
{% data reusables.enterprise-accounts.settings-tab %}
321
323
{% data reusables.enterprise-accounts.audit-log-tab %}
| {% data variables.product.prodname_actions %} | The repository or organization where the workflow runs. |
26
26
| {% data variables.product.prodname_github_codespaces %} | The repository or organization where the codespace is created. |
27
-
| {% data variables.product.prodname_copilot %} | The user who receives the license (priority), or the organization where they are a member. |
27
+
| {% data variables.product.prodname_copilot %} | The user who receives the license (priority), or the organization that is billed for the {% data variables.product.prodname_copilot_short %} license. |
28
28
| Git Large File Storage | The repository or organization where Git LFS is used. |
29
29
| {% data variables.product.prodname_GH_cs_and_sp %} | The user who receives the license. |
30
30
| {% data variables.product.prodname_enterprise %} | The user who receives the license. |
@@ -36,19 +36,49 @@ To ensure your cost centers reflect spending as intended, it's important to unde
36
36
37
37
### {% data variables.product.prodname_copilot %}
38
38
39
-
* If a user belongs to a cost center, all charges associated with the user are billed to the cost center.
40
-
* If a user does not belong to any cost center, usage is billed to the organization where the user receives their {% data variables.product.prodname_copilot_short %} license. If _that organization_ is part of a cost center, the charges are billed to that cost center.
41
-
* If the user receives access to {% data variables.product.prodname_copilot_short %} through **multiple organizations**, one of the organizations is chosen at random each month to be billed, and the cost center that contains the organization is charged accordingly. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-the-copilot-subscription-for-your-enterprise/about-billing-for-github-copilot-in-your-enterprise#about-seat-assignment-for-copilot-in-your-enterprise).
39
+
* If a user belongs to a cost center, all usage associated with the user is charged to the cost center.
40
+
* If a user does not belong to any cost center, if the organization that provides the user their {% data variables.product.prodname_copilot_short %} license belongs to a cost center, all usage associated with the user is charged to the cost center.
41
+
* If the user receives access to {% data variables.product.prodname_copilot_short %} through **multiple organizations**, only one of the organizations is billed, and any cost center containing that organization is charged accordingly. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-the-copilot-subscription-for-your-enterprise/about-billing-for-github-copilot-in-your-enterprise#about-seat-assignment-for-copilot-in-your-enterprise).
42
42
43
43
### {% data variables.product.prodname_GH_cs_and_sp %}
44
44
45
-
* If a user belongs to a cost center, licenses consumed by the user are billed to the cost center.
46
-
* If a user does not belong to any cost center, their license consumption is charged to the enterprise's default payment method and grouped under "Enterprise Only" spending on the usage page.
45
+
* If a user belongs to a cost center, licenses consumed by the user are charged to the cost center.
46
+
* If a user does not belong to any cost center, licenses consumed by the user are charged to the enterprise.
47
47
48
48
### {% data variables.product.prodname_enterprise %}
49
49
50
-
* If a user belongs to a cost center, the license consumed by the user is billed to the cost center.
51
-
* If a user does not belong to any cost center, their license is billed to the enterprise's default payment method and grouped under "Enterprise Only" spending on the usage page.
50
+
* If a user belongs to a cost center, the license consumed by the user is charged to the cost center.
51
+
* If a user does not belong to any cost center, the license consumed by the user is charged to the enterprise.
52
+
53
+
## Understanding cost center usage and attribution
54
+
55
+
To view usage by cost center, go to the "Usage" page and group or filter by cost center. Any usage that is not assigned to a specific cost center is categorized as "Enterprise Only" when grouping by cost center. See [AUTOTITLE](/billing/tutorials/gather-insights).
56
+
57
+
To understand how usage for a specific resource is being attributed to cost centers, request a detailed usage report and refer to the `cost_center_name` column. See [AUTOTITLE](/billing/reference/usage-reports).
58
+
59
+
## Effects of changes to cost centers
60
+
61
+
You can change the included resources of a cost center or delete a cost center at any time. This affects the cost center in different ways.
62
+
63
+
### Deleting a cost center
64
+
65
+
If a cost center is deleted, future usage of its resources will be charged to the enterprise. Usage before deletion is charged to the cost center.
66
+
67
+
You can still view the cost center even after you delete it. To do so, select the "Deleted" tab on the cost center page.
68
+
69
+
### Adding or removing a member
70
+
71
+
If you add a member to a cost center, any future usage will be charged to the cost center. If you remove a member from a cost center, any future usage will be charged to the enterprise. For example:
72
+
73
+
| Date | Scenario | Effect |
74
+
| ---- | -------- | ------ |
75
+
| May 1 | An enterprise has three {% data variables.product.prodname_copilot_short %} users. | The charges for all three users are charged to the enterprise. |
76
+
| May 10 | You create two cost centers: Cost Center 1 with User A and User B as members, and Cost Center 2 with User C. | Future charges for Users A and B are charged to Cost Center 1, and for User C to Cost Center 2. |
77
+
| May 20 | You remove User A from Cost Center 1. | Future charges for User A are charged to the enterprise. |
78
+
79
+
### Deleting a user from the enterprise
80
+
81
+
Removing a user from an enterprise will not remove the user from the cost center. This ensures that the remaining usage attributable to the user will be allocated to the cost center.
52
82
53
83
## Example for license-based products
54
84
@@ -65,7 +95,7 @@ There are four users, each a member of one or more organizations in the enterpri
65
95
|`user-3`|`org-1`|
66
96
|`user-4`|`org-1`, `org-2`|
67
97
68
-
All users have a license for **{% data variables.product.prodname_copilot %}** and **{% data variables.product.prodname_enterprise %}** (GHE).
98
+
All users have a license for **{% data variables.product.prodname_copilot %}**provided by `org-1`and **{% data variables.product.prodname_enterprise %}** (GHE).
69
99
70
100
**{% data variables.product.prodname_GH_secret_protection %}** (GHSP) is enabled in `org-1`, where all users are active committers.
71
101
@@ -89,41 +119,7 @@ The following table illustrates how spending for each user is allocated to a cos
| Cost Center A |`user-1`, `user-3`|`user-1`, `user-3`|`user-1`, `user-3`| These users are assigned directly to the cost center. |
92
-
| Cost Center B | `user-2`, `user-4` | {% octicon "dash" aria-label="Not applicable" %} | {% octicon "dash" aria-label="Not applicable" %} | These users aren't directly assigned to a cost center, so Copilot charges are assigned based on organization membership, whereas GHSP and GHE default to enterprise spending.
122
+
| Cost Center B |`user-2`, `user-4`| {% octicon "dash" aria-label="Not applicable" %} | {% octicon "dash" aria-label="Not applicable" %} | These users aren't directly assigned to a cost center, so Copilot charges are assigned based on organization membership, whereas GHSP and GHE default to enterprise spending.|
93
123
| Enterprise Only (default) | {% octicon "dash" aria-label="Not applicable" %} |`user-2`, `user-4`|`user-2`, `user-4`| These users aren't directly assigned to a cost center, so GHSP and GHE default to enterprise spending. |
94
124
95
125
{% endrowheaders %}
96
-
97
-
## Effects of changes to cost centers
98
-
99
-
You can change the included resources of a cost center or delete a cost center at any time. This affects the cost center in different ways.
100
-
101
-
### Deleting a cost center
102
-
103
-
If a cost center is deleted, future usage of its resources will be charged to the enterprise. Usage before deletion is billed to the cost center until the end of the billing cycle.
104
-
105
-
You can still view the cost center even after you delete it. To do so, select the "Deleted" tab on the cost center page.
106
-
107
-
### Adding or removing a member
108
-
109
-
If you add a member to a cost center, any usage accrued (for example, a {% ifversion enterprise-licensing-language %}license{% else %}seat{% endif %}) will immediately start being billed against the cost center. If you remove a member from a cost center, any usage from that point will be billed against the enterprise. For example:
110
-
111
-
| Date | Scenario | Effect |
112
-
| ---- | -------- | ------ |
113
-
| May 1 | An enterprise has three {% data variables.product.prodname_copilot_short %} users. | The charges for all three users are billed to the enterprise. |
114
-
| May 10 | You create two cost centers: Cost Center 1 and Cost Center 2. User A and User B are assigned to Cost Center 1, and User C to Cost Center 2. | Future charges for Users A and B go to Cost Center 1, and for User C to Cost Center 2. |
115
-
| May 20 | You remove User A from Cost Center 1. | From now on, User A's charges are billed to the enterprise, while User B's charges remain with Cost Center 1, and User C's charges with Cost Center 2. |
116
-
117
-
The "units" for {% data variables.product.prodname_copilot_short %} licenses displayed on your enterprise's "Usage" page will show fractional usage instead of whole numbers.
118
-
119
-
#### Update delays for license-based products
120
-
121
-
Adding or removing users from a cost center comes with a delay for license-based products.
122
-
123
-
* For {% data variables.product.prodname_copilot %}: A change to add or remove a user from a cost center is reflected the **next day**.
124
-
* For {% data variables.product.prodname_enterprise %}: A change to add or remove a user from a cost center is reflected the **next day**.
125
-
* For {% data variables.product.prodname_GH_cs_and_sp %}: A change to add or remove a user from a cost center is reflected in the **next billing cycle**.
126
-
127
-
If a user is already part of a cost center and _then_ receives a license, the license is immediately billed to the cost center.
128
-
129
-
If a user who already has a license is added to a cost center, the license will be billed to the cost center from the next billing cycle.
Copy file name to clipboardExpand all lines: content/billing/reference/github-license-users.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ If your enterprise does not use {% data variables.product.prodname_emus %}, you
68
68
* Enterprise billing managers
69
69
* Billing managers for individual organizations
70
70
* Anyone with a pending invitation to become a billing manager
71
-
* Anyone with a pending invitation to become an outside collaborator on a public repository owned by your organization
71
+
* Anyone who is an outside collaborator on a public repository owned by your organization, or who has a pending invitation to become one
72
72
* Guest collaborators who are not organization members or repository collaborators (see [AUTOTITLE](/enterprise-cloud@latest/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise#guest-collaborators))
73
73
* Users of {% data variables.visual_studio.prodname_vss_ghe %} whose accounts on {% data variables.product.prodname_dotcom %} are not linked, and who do not meet any of the other criteria for per-user pricing
74
74
* Users who have been provisioned with a {% data variables.enterprise.prodname_managed_user %}, but are not members of any organizations in the enterprise
Copy file name to clipboardExpand all lines: content/copilot/concepts/billing/organizations-and-enterprises.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ A {% data variables.product.prodname_copilot_short %} seat is a license to use {
40
40
41
41
Seat assignment is managed by organization owners. With {% data variables.product.prodname_ghe_cloud %}, an enterprise owner must have enabled {% data variables.product.prodname_copilot %} for the organization before an organization owner can assign seats. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/granting-access-to-copilot-for-members-of-your-organization).
42
42
43
-
If a single user receives a seat from multiple organizations in the same enterprise, the enterprise will only be billed once per billing cycle for that unique user. One of the organizations that assigned {% data variables.product.prodname_copilot_short %} to the user will be chosen at random each month to be billed for the seat.
43
+
If a user receives a seat from multiple organizations in the same enterprise, the enterprise will be billed only once, and one organization is selected and billed for the seat. To determine which organization is billed for a given user, request a detailed usage report and refer to the `organization` column for the user's {% data variables.product.prodname_copilot_short %} license. See [AUTOTITLE](/billing/reference/usage-reports).
To allocate spending to a cost center, you add repositories, organizations, or users to the cost center. Any usage that is not assigned to a specific cost center is categorized as "Enterprise Only" spending on your enterprise's "Usage" page.
1
+
To allocate metered spending to a cost center, you add repositories, organizations, or users to the cost center.
2
2
3
3
* For **metered** products like {% data variables.product.prodname_actions %}, cost centers are charged based on the **repositories or organizations** in the cost center, as this is where the usage takes place.
4
-
* For **license-based** products like {% data variables.product.prodname_copilot %}, cost centers are charged based on the **users** in the cost center. If a licensed user isn't assigned to a cost center, costs for the license either default to "Enterprise Only" spending or are assigned to a cost center based on the user's organization membership. This depends on the product.
4
+
* For **metered license-based** products like {% data variables.product.prodname_copilot %}, cost centers are charged based on the **users** in the cost center.
5
+
6
+
Cost centers only apply to metered usage, and do not work with volume or subscription billing.
Copy file name to clipboardExpand all lines: src/audit-logs/data/ghec/enterprise.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@
160
160
},
161
161
{
162
162
"action": "api.request",
163
-
"description": "An API request was made to an endpoint for the enterprise, or an enterprise owned resource. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.",
163
+
"description": "An API request was made to a security relevant endpoint for the enterprise, or an enterprise owned resource. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.",
Copy file name to clipboardExpand all lines: src/audit-logs/data/ghes-3.14/enterprise.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@
126
126
},
127
127
{
128
128
"action": "api.request",
129
-
"description": "An API request was made to an endpoint for the enterprise, or an enterprise owned resource. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.",
129
+
"description": "An API request was made to a security relevant endpoint for the enterprise, or an enterprise owned resource. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.",
Copy file name to clipboardExpand all lines: src/audit-logs/data/ghes-3.15/enterprise.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@
126
126
},
127
127
{
128
128
"action": "api.request",
129
-
"description": "An API request was made to an endpoint for the enterprise, or an enterprise owned resource. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.",
129
+
"description": "An API request was made to a security relevant endpoint for the enterprise, or an enterprise owned resource. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.",
0 commit comments