BetaDeveloper

Overview

Catch issues before they reach a pull request: scan for secrets, verify local changes against SonarQube Cloud, and apply AI-suggested fixes.

Warning: This product is in Beta stage and we may release breaking changes.

Find problems in your code from your terminal, no CI run required.

Secrets scanningAnalyzing local changesAI remediationSoftware Composition Analysis (SCA)

Pick the right command

You want to…
Run
Where

Catch hardcoded credentials before they leave your machine

sonar analyze secrets

Anywhere: Cloud, Server, or offline.

See what new issues your in-progress changes introduce

sonar analyze / sonar analyze agentic

SonarQube Cloud only (agentic portion). Secrets scanning runs on both SonarQube Cloud and SonarQube Server.

Scan dependencies for vulnerabilities, malware, and prohibited licenses

sonar analyze dependency-risks

SonarQube Cloud, or SonarQube Server 2026.4+. Requires Advanced Security with SCA enabled.

Have an AI agent propose a fix for an existing issue

sonar remediate

SonarQube Cloud only.

For the full set of options and exit codes, see Commands reference and Exit codes.

Last updated

Was this helpful?