Managing AI features in your SonarQube instance
On this page
Enabling AI-generated fix suggestions
This feature is available in Early Access for all commercial editions of SonarQube Server.
As an instance administrator, you can enable or disable AI-generated fix suggestions on your projects. SonarQube Server uses OpenAI’s GPT-4 to generate the suggestions.
To enable AI-CodeFix, go to Administration > Configuration > General Settings > AI CodeFix > Enable AI-generated fix suggestions and select Enable AI CodeFix. Once AI CodeFix is enabled, select either All projects or choose projects individually from the list to activate the feature.
Note that if you choose Enable AI Code fix on selected projects only, new projects will not be automatically enabled.
You'll need a connection to the internet to access SonarQube Server’s AI CodeFix service.
The service is provided via api.sonarqube.io and has these static IP addresses:
- 99.83.135.55 (CIDR: 99.83.135.55/32)
- 15.197.164.24 (CIDR: 15.197.164.24/32)
Once enabled, developers can get AI-generated fix suggestions from the Issues page in their projects. See Fixing issues for more details.
AI Code Assurance
SonarQube Server recognizes that AI-generated code should be monitored with additional quality standards and offers administrators a series of tools described on the Standards for AI-generated code page.
Related pages
Was this page helpful?