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
{{ message }}
Repository navigation
Commit 4df2385
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/billing/concepts/product-billing/github-advanced-security.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,9 +86,21 @@ For information about features that consume {% data variables.product.prodname_c
86
86
87
87
Push protection for {% data variables.secret-scanning.ai-detected-secrets %} consumes **{% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}**.
88
88
89
-
{% data variables.product.prodname_ai_credit_singular %} usage applies to your organization. The number of {% data variables.product.prodname_ai_credits_short %} consumed will depend on the amount of file content scanned during a push. Charging by content scanned ensures pricing is fair and predictable for organizations.
89
+
The number of {% data variables.product.prodname_ai_credits_short %} consumed will depend on the amount of file content scanned during a push. Charging by content scanned ensures pricing is fair and predictable for organizations.
90
90
91
-
Usage is billed to the organization that owns the repository. You can view usage under **{% data variables.product.prodname_ai_credit_singular %} consumption** for the **{% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}** SKU in your AI usage insights.
91
+
Usage is billed to the organization that owns the repository:
92
+
93
+
* For repositories owned by an organization in an enterprise, usage counts toward the enterprise's pool of {% data variables.product.prodname_ai_credits_short %}, not the individual pool of the user who pushes.
94
+
* For repositories owned by a standalone organization, usage counts toward the organization's pool of {% data variables.product.prodname_ai_credits_short %}.
95
+
* For repositories owned by an enterprise-managed user in their user namespace, usage counts toward the repository owner.
96
+
97
+
The exception is a repository in the personal namespace of a {% data variables.enterprise.prodname_managed_user %}:
98
+
99
+
* Usage for that repository counts toward the repository owner's individual pool of {% data variables.product.prodname_ai_credits_short %}, regardless of who pushes.
100
+
* Organization-owned repositories in an enterprise with {% data variables.enterprise.prodname_managed_users %} still use the enterprise's pool.
101
+
* Otherwise, push protection for {% data variables.secret-scanning.ai-detected-secrets %} does not consume users' individual {% data variables.product.prodname_ai_credits_short %}.
102
+
103
+
You can view usage under **{% data variables.product.prodname_ai_credit_singular %} consumption** for the **{% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}** SKU in your AI usage insights.
92
104
93
105
Each push that is scanned can consume {% data variables.product.prodname_ai_credits_short %}, even when no potential secret is identified and the push is not blocked, as the model is still providing value by scanning the push.
Copy file name to clipboardExpand all lines: content/code-security/how-tos/secure-your-secrets/prevent-future-leaks/enable-ai-push-protection.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
@@ -17,6 +17,8 @@ When you enable push protection for {% data variables.secret-scanning.ai-detecte
17
17
18
18
Push protection for {% data variables.secret-scanning.ai-detected-secrets %} consumes {% data variables.product.prodname_ai_credits_short %} in addition to your {% data variables.product.prodname_GH_secret_protection %} or {% data variables.product.prodname_GHAS %} license. See [AUTOTITLE](/code-security/concepts/secret-security/push-protection#generic-secrets-found-with-ai) and [AUTOTITLE](/billing/concepts/product-billing/github-advanced-security#secret-protection-ai-credits).
19
19
20
+
Usage is billed to the organization that owns the repository. For organization-owned repositories in an enterprise, usage counts toward the enterprise's pool of {% data variables.product.prodname_ai_credits_short %}. Only repositories in the personal namespace of a {% data variables.enterprise.prodname_managed_user %} consume the repository owner's individual pool, regardless of who pushes. Otherwise, users' individual pools are not charged.
21
+
20
22
## Prerequisites
21
23
22
24
* Your repository must have {% data variables.product.prodname_GH_secret_protection %} or {% data variables.product.prodname_GHAS %} enabled.
0 commit comments