Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,20 @@ Across all of your enterprise's organizations, you can allow or disallow people

{% ifversion ai-powered-security-detections %}

## Enforcing a policy to manage AI Scan in your enterprise's repositories
## Enforcing a policy to manage {% data variables.product.prodname_ai_scan %} in your enterprise's repositories

As an enterprise owner, you can control whether organizations in your enterprise can enable AI Scan. This policy is set to "Not allowed" by default.
As an enterprise owner, you can control whether organizations in your enterprise can enable {% data variables.product.prodname_ai_scan %}. This policy is set to "Not allowed" by default.

{% ifversion ai-applications-scanning %}
This same policy also controls {% data variables.product.prodname_ai_applications_scanning %}; there's no separate enterprise-level policy for that detector.
{% endif %}

Allowing this policy does not enable AI Scan{% ifversion ai-applications-scanning %} or {% data variables.product.prodname_ai_applications_scanning %}{% endif %} for any organization. Organization administrators must separately enable {% ifversion ai-applications-scanning %}each detector{% else %}AI Scan{% endif %} for their organization. Eligible repositories where {% data variables.product.prodname_code_scanning %} is enabled inherit the organization setting, and repository administrators can opt out for individual repositories{% ifversion ai-applications-scanning %}, for each detector{% endif %}.
Allowing this policy does not enable {% data variables.product.prodname_ai_scan %}{% ifversion ai-applications-scanning %} or {% data variables.product.prodname_ai_applications_scanning %}{% endif %} for any organization. Organization administrators must separately enable {% ifversion ai-applications-scanning %}each detector{% else %}{% data variables.product.prodname_ai_scan %}{% endif %} for their organization. Eligible repositories where {% data variables.product.prodname_code_scanning %} is enabled inherit the organization setting, and repository administrators can opt out for individual repositories{% ifversion ai-applications-scanning %}, for each detector{% endif %}.

{% data reusables.enterprise-accounts.access-enterprise %}
{% data reusables.enterprise-accounts.policies-tab %}
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
1. Under "AI Scan", select the dropdown menu and click a policy.
1. Under "{% data variables.product.prodname_ai_scan %}", select the dropdown menu and click a policy.

{% ifversion ai-applications-scanning %}
For information about enabling {% data variables.product.prodname_ai_applications_scanning %} at the organization level, see [AUTOTITLE](/code-security/concepts/code-scanning/ai-applications-scanning-for-pull-requests#how-to-enable-ai-applications-scanning).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ For example:

## 4. Grant access to {% data variables.product.prodname_copilot_short %}

You can assign {% data variables.product.prodname_copilot %} licenses to an enterprise team. This allows you to manage {% data variables.product.prodname_copilot_short %} access through team membership, independent of organizations. Once you have assigned licenses to a team, users will gain or lose access to {% data variables.product.prodname_copilot_short %} when they are added or removed from the team. For instructions, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/grant-access#assigning-seats-directly).
You can assign {% data variables.product.prodname_copilot %} licenses to an enterprise team. This allows you to manage {% data variables.product.prodname_copilot_short %} access through team membership, independent of organizations. Once you have assigned licenses to a team, users gain access immediately when they are added to the team. When they are removed, their seat is unassigned, but they can continue to use {% data variables.product.prodname_copilot_short %} until the end of the billing cycle. For instructions, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/grant-access#assigning-seats-directly).

As an opt-in preview, you can also grant enterprise teams access to specific {% data variables.product.prodname_copilot_short %} models. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-availability-of-default-models).

Expand Down
6 changes: 3 additions & 3 deletions content/billing/concepts/budgets-and-alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ For metered products such as {% data variables.product.prodname_actions %}, {% d

{% ifversion fpt or ghec %}

The bundled {% data variables.product.prodname_ai_credits_short %} budget controls metered spending across all AI-credit SKUs. You can also create a SKU-level budget for **Code Security AI Credits** to control spending on AI Scan and agentic autofix.
The bundled {% data variables.product.prodname_ai_credits_short %} budget controls metered spending across all AI-credit SKUs. You can also create a SKU-level budget for **Code Security AI Credits** to control spending on {% data variables.product.prodname_ai_scan %} and agentic autofix.

When no Code Security AI Credits quota remains because of a hard budget, AI Scan cannot produce findings and agentic autofix cannot start a session. Usage resumes when the limiting budget is increased or a new billing cycle begins.
When no Code Security AI Credits quota remains because of a hard budget, {% data variables.product.prodname_ai_scan %} cannot produce findings and agentic autofix cannot start a session. Usage resumes when the limiting budget is increased or a new billing cycle begins.

Hard budgets for Code Security AI Credits limit AI feature usage, not enablement. Reaching a budget limit does not prevent administrators from enabling AI Scan or agentic autofix.
Hard budgets for Code Security AI Credits limit AI feature usage, not enablement. Reaching a budget limit does not prevent administrators from enabling {% data variables.product.prodname_ai_scan %} or agentic autofix.

By contrast, a hard budget for active-committer licenses prevents enabling {% data variables.product.prodname_code_security %} or {% data variables.product.prodname_secret_protection %} on additional repositories. It does not disable these products in repositories where they are already enabled.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ Some {% data variables.product.prodname_AS %} features consume {% data variables

### Code Security AI Credits

AI Scan and agentic autofix consume the **{% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %}** SKU, even in public repositories that don't require active-committer licenses.
{% data variables.product.prodname_ai_scan %} and agentic autofix consume the **{% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %}** SKU, even in public repositories that don't require active-committer licenses.

If the account being billed has included {% data variables.product.prodname_ai_credits_short %} from a {% data variables.product.prodname_copilot %} entitlement, eligible usage draws from that allowance first. After the included allowance is exhausted, further usage is metered. If the account doesn't have included {% data variables.product.prodname_ai_credits_short %}, all usage is metered.

For an organization-owned repository, usage is attributed to the account that pays for the organization's usage: the standalone organization account or its enterprise account.

AI Scan and agentic autofix are not currently available for repositories in the personal namespace of a {% data variables.enterprise.prodname_managed_user %}, so they don't consume {% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %} there. Purchasing {% data variables.product.prodname_code_security %}, having included {% data variables.product.prodname_ai_credits_short %}, or configuring a {% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %} budget does not make these features available.
{% data variables.product.prodname_ai_scan %} and agentic autofix are not currently available for repositories in the personal namespace of a {% data variables.enterprise.prodname_managed_user %}, so they don't consume {% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %} there. Purchasing {% data variables.product.prodname_code_security %}, having included {% data variables.product.prodname_ai_credits_short %}, or configuring a {% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %} budget does not make these features available.

This limitation does not affect classic {% data variables.copilot.copilot_autofix_short %}, which is distinct from agentic autofix and does not consume {% data variables.product.prodname_ai_credits_short %}.

Before security administrators enable AI Scan or agentic autofix broadly, billing administrators should review the account's included {% data variables.product.prodname_ai_credits_short %} and set a hard budget to cap metered usage. For more information, see [AUTOTITLE](/billing/concepts/budgets-and-alerts).
Before security administrators enable {% data variables.product.prodname_ai_scan %} or agentic autofix broadly, billing administrators should review the account's included {% data variables.product.prodname_ai_credits_short %} and set a hard budget to cap metered usage. For more information, see [AUTOTITLE](/billing/concepts/budgets-and-alerts).

For information about features that consume {% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %}, see [AUTOTITLE](/code-security/concepts/code-scanning/ai-powered-security-detections) and [AUTOTITLE](/code-security/concepts/code-scanning/autofix-for-code-scanning).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The metered usage chart and usage break down table both show your current choice

If your account uses {% data variables.product.prodname_ai_credits_short %}, an additional **AI usage** view is listed under **Usage**. You can use this view to understand included and metered usage across products, including {% data variables.product.prodname_copilot_short %} and {% data variables.product.prodname_AS %}.

To review combined AI Scan and agentic autofix usage, open the **AI usage** view, under "Group by," select **Products**, then review **{% data variables.product.prodname_AS %}**. These features share the Code Security AI Credits SKU, so their usage is reported together within the product total, not as separate totals for each feature.
To review combined {% data variables.product.prodname_ai_scan %} and agentic autofix usage, open the **AI usage** view, under "Group by," select **Products**, then review **{% data variables.product.prodname_AS %}**. These features share the Code Security AI Credits SKU, so their usage is reported together within the product total, not as separate totals for each feature.

You can use the view to answer questions such as:

Expand Down
10 changes: 5 additions & 5 deletions content/billing/how-tos/set-up-budgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ For {% data variables.product.prodname_copilot_short %} under usage-based billin

For {% data variables.product.prodname_AS %} AI features, choose the budget that matches the spending you want to control:

* Use a **Bundled {% data variables.product.prodname_ai_credits_short %} budget** to set one spending limit across all features that use {% data variables.product.prodname_ai_credits_short %}. If **Stop usage when budget limit is reached** is enabled, usage by another product can exhaust this budget and stop AI Scan and agentic autofix.
* Use a **Code Security AI Credits** SKU-level budget to set an independent spending limit for AI Scan and agentic autofix.
* Use a **Bundled {% data variables.product.prodname_ai_credits_short %} budget** to set one spending limit across all features that use {% data variables.product.prodname_ai_credits_short %}. If **Stop usage when budget limit is reached** is enabled, usage by another product can exhaust this budget and stop {% data variables.product.prodname_ai_scan %} and agentic autofix.
* Use a **Code Security AI Credits** SKU-level budget to set an independent spending limit for {% data variables.product.prodname_ai_scan %} and agentic autofix.

Usually, choose one of these budgets as your primary control. If both hard budgets apply, exhausting either budget blocks further Code Security AI Credits usage.

When no Code Security AI Credits quota remains because of a hard budget, AI Scan fails and agentic autofix cannot start a session. Usage resumes when the limiting budget is increased or a new billing cycle begins.
When no Code Security AI Credits quota remains because of a hard budget, {% data variables.product.prodname_ai_scan %} fails and agentic autofix cannot start a session. Usage resumes when the limiting budget is increased or a new billing cycle begins.

For more information about AI Scan, see [AUTOTITLE](/code-security/concepts/code-scanning/ai-powered-security-detections).
For more information about {% data variables.product.prodname_ai_scan %}, see [AUTOTITLE](/code-security/concepts/code-scanning/ai-powered-security-detections).

{% endif %}

Expand Down Expand Up @@ -129,7 +129,7 @@ As the owner of an enterprise or organization account, or as a billing manager,
1. Under "Budget Type" select **Product-level budget**, **SKU-level budget**, or **Bundled {% data variables.product.prodname_ai_credits_short %} budget**.

* **Product-level budget**: Limits spending on a single product (for example, {% data variables.product.prodname_codespaces %}).
* **SKU-level budget**: Limits spending on a specific SKU within a product, such as {% data variables.copilot.copilot_code-review_short %}, {% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}, or {% data variables.product.prodname_GH_secret_protection %} within {% data variables.product.prodname_GHAS %}. For AI Scan and agentic autofix, select {% data variables.product.prodname_AS %} and the **Code Security AI Credits** SKU.
* **SKU-level budget**: Limits spending on a specific SKU within a product, such as {% data variables.copilot.copilot_code-review_short %}, {% data variables.product.prodname_secret_protection %} {% data variables.product.prodname_ai_credits_short %}, or {% data variables.product.prodname_GH_secret_protection %} within {% data variables.product.prodname_GHAS %}. For {% data variables.product.prodname_ai_scan %} and agentic autofix, select {% data variables.product.prodname_AS %} and the **Code Security AI Credits** SKU.
* **Bundled {% data variables.product.prodname_ai_credits_short %} budget**: Limits total overage spending across all SKUs that consume {% data variables.product.prodname_ai_credits_short %}, including {% data variables.product.prodname_copilot_short %}, {% data variables.copilot.copilot_cloud_agent %}, {% data variables.product.prodname_spark_short %}, and {% data variables.product.prodname_AS %} AI features. Each SKU uses the shared {% data variables.product.prodname_ai_credits_short %} allowance before generating overage. After the allowance is exhausted, overage from every SKU counts toward the applicable **All {% data variables.product.prodname_ai_credits_short %}** budget. To also limit overage for a specific SKU, create a SKU-level budget for that SKU. Available where overage spend is enabled.

1. Under "Budget scope", set the scope of spending for this budget.
Expand Down
Loading
Loading