SonarQube CLI Beta v0.12 - improvements to the agentic analysis and sonar remediate command

We’re thrilled to announce the latest release of SonarQube CLI v0.12 brings powerful new capabilities designed for the era of agentic development.

:robot: Agentic Analysis from the Working Tree

In order to capture issues on all your local code edits, the sonar analyze agentic command now automatically detects your Git change set, no manual file arguments needed. By default it analyzes staged and unstaged changes plus untracked files.

Check the command documentation here

:wrench: Issue Remediation

SonarQube Remediation agents are now available through the CLI with the sonar remediate command. Interactively select open issues fixable by the SonarQube Remediation Agent and submit them as a single job for automated fixing, all without leaving the terminal.

This tool is only available on SonarQube Cloud only if you have SonarQube Remediation Agents enabled.

More on this command here.

:bullseye: Improved Project Key Guidance

When no project key is detected, the CLI now explains exactly how to configure one via sonar-project.properties or .sonarlint/connectedMode.json. Setup your project key and start running commands on it.

We Want Your Feedback

Your input shapes what we build next. Whether you run into an issue, have a feature request, or just want to share how you’re using SonarQube CLI, please let us know using this feedback form.

Detailed release notes can be found here.

Stay tuned for what’s coming next. :rocket:

Farah.

6 Likes