Managing AI features in your organization
AI features are only available in SonarQube Cloud Team and Enterprise plans.
Enabling AI-generated fix suggestions
AI CodeFix is an Early Access feature that generates AI-generated fix suggestions in SonarQube Cloud Team and Enterprise plans. It must be activated by an Organization Admin.
SonarQube Cloud's AI CodeFix is a feature that uses Open AI’s GPT-4o (recommended) or Anthropic Claude 3.5 Sonnet to suggest fixes for the issues detected in your projects. See the Sonar AI CodeFix terms for details about the terms of access.
As an Organization Admin, you can activate or deactivate AI-generated fix suggestions in your organization. This allows developers to get AI-based fix suggestions for the issues detected in their projects. To enable AI CodeFix:
- Go to Your Organization > Administration > Organization settings > AI CodeFix and select Enable AI CodeFix.
- Select your provider:
- OpenAI GPT-4o (Recommended)
- Anthropic Claude 3.5 Sonnet
- Once AI CodeFix is enabled, select either All projects or Only selected projects to activate the feature.
Note that if you choose Only selected projects, new projects will not be automatically enabled.
Sonar recommends using GPT-4o as your providel because it produces the best results. Using other models may produce unexpected fix suggestions that have undesirable effects.
Marking a project as containing AI-generated code
SonarQube Server recognizes that AI-generated code should be monitored with additional quality standards and offers administrators a series of tools described on the AI standards page.
Related pages
Was this page helpful?