Enabling AI-generated fix suggestions
On this page
This feature is available in Early Access, in Enterprise Edition and above.
As an instance administrator, you can enable or disable AI-generated fix suggestions on your instance. SonarQube uses OpenAI’s GPT-4 to generate the suggestions.
To do this, go to Administration > Configuration > General Settings > AI CodeFix > and select Enable AI CodeFix.
You'll need a a connection to the internet to connect to Sonar's AI fix suggestions 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.
Related pages
- AI features
- Fixing issues
- Project settings ("Marking a project as containing AI-generated code" section).
Was this page helpful?