This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

AI-generated fix suggestions

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.

Last updated

Was this helpful?