Disabling AI CodeFix completely

Hi all,

According to the documentation we have to contact SonarSource to disable AI CodeFix completely: Managing AI features | SonarQube Server Documentation.

We have done so and it turns out we have to send server ID’s to SonarSource who will then block our instances. This is a rather cumbersome manual process for all parties involved.

I was hoping for a setting in the server sonar.properties file to turn off AI CodeFix completely. Is this something that is planned or that SonarSource would consider?

Thanks, Frank

1 Like

Hello @fniessink ,

With the latest release of the LTA version (2025.1), you will be able to disable completely the AI feature directly from your SonarQube configuration file, by adding a property sonar.ai.codefix.hidden=true in the instance’s configuration file (<SQ_HOME>/conf/sonar.properties).

We will update the documentation accordingly on our side.

Best,

Vojtech

4 Likes

Hi @fniessink

Thanks for reaching out.
I would be keen to understand why you need to disable AI CodeFix on your instances.

Thanks!

Best

Hi Alexander, because of security requirements. We have projects where source code is not allowed to leave our premises. Regards, Frank

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.