Quelle
Dependencies (SCA), licences & secrets — found from sitemap — SonarQube
Geprüft für SonarQube am 6. Nov 2026
- Seite
- https://docs.sonarsource.com/sonarqube-cli/analysis/sca
- Geprüft
- 6 Nov 2026, 05:17 UTC
- Wie Sie es nutzen dürfen
- Öffentliche Seite, Crawling erlaubt
Technische Details
- Typ
- page
- HTTP-Status
- 200
- Inhalts-Hash
- sha256:ee386febad040dffb3109b9a6797637eac440d65d08b83641bf90ddf1c93dcca
- Erlaubnis
- robots_ok
- Screenshot
- Screenshot liegt vor (interner Beleg, nicht veröffentlicht)
Zitiert von
Aus dieser Quelle gelesene Angaben
-
Sca command Fehler melden
“sonar analyze dependency-risks runs SonarQube's Software Composition Analysis (SCA) against your local project's open-source dependencies and reports the risks found: vulnerabilities, malware, and prohibited licenses.”
-
Sca availability Fehler melden
“It's available on SonarQube Cloud (Advanced Security plan) and on SonarQube Server 2026.4 or newer (Advanced Security licensed).”
-
Pre commit hook Fehler melden
“Also enable the same scan on a pre-commit Git hook with sonar integrate git.”
-
Binaries download Fehler melden
“On first use, SonarQube CLI fetches the sca-scanner-cli and sonar-secrets binaries from binaries.sonarsource.com and caches them under ~/.sonar/sonarqube-cli/bin/.”
-
Secrets prescan Fehler melden
“Discovers dependency manifest and lock files under the project root and pre-scans them for hardcoded secrets. If secrets are found, the command aborts and lists each finding (file, line, and masked secret).”
-
Block threshold Fehler melden
“It blocks the commit when any scanned project has new (NEW) risks at MEDIUM severity or above (BLOCKER, HIGH, and MEDIUM).”
-
Source code privacy Fehler melden
“SonarQube CLI uploads those manifest and lock files to SonarQube for analysis and sends the resolved dependency snapshot derived from them; your source code stays on your machine.”
-
No issue locations Fehler melden
“SonarQube CLI does not report issue locations for dependency risks. Each finding identifies the package and version that carries the risk, not the line where the dependency is declared.”
-
Default statuses Fehler melden
“By default, sonar analyze dependency-risks shows active risks (NEW, OPEN, CONFIRM). Override with --statuses.”
-
Status presets Fehler melden
“Preset Expands to active NEW, OPEN, CONFIRM to_fix NEW, OPEN, CONFIRM, ACCEPT all NEW, OPEN, CONFIRM, ACCEPT, SAFE, FIXED”
-
Severity filter Fehler melden
“Pass --min-severity to exclude risks below a threshold. Allowed values are BLOCKER, HIGH, MEDIUM, LOW, and INFO (case-insensitive).”
-
Output formats Fehler melden
“Pass --format to switch between the default table output, structured JSON, and TOON for AI agents.”
-
Risk group types Fehler melden
“Each groups[] entry groups risks by type (VULNERABILITY, PROHIBITED_LICENSE, or MALWARE).”
-
Recommendation actions Fehler melden
“the suggested action, such as UPGRADE_PACKAGE, REMOVE_PACKAGE, REVIEW_LICENSE, or NO_FIX_AVAILABLE”
-
Severities statuses Fehler melden
“Each risk has a severity (BLOCKER, HIGH, MEDIUM, LOW, or INFO) and a status (NEW, OPEN, CONFIRM, ACCEPT, SAFE, or FIXED; NEW is synthesized for newly introduced packages with no server-side status yet).”
-
Toon omissions Fehler melden
“TOON output mirrors the JSON structure with a few omissions tuned for LLM consumption: partialFixes on vulnerability risks are omitted”
-
Manifest discovery Fehler melden
“The scanner reads dependency manifests and lock files under the project root across every language and package manager SonarQube SCA supports.”
-
Server settings fetch Fehler melden
“It fetches the current values from the server on each run, so changes made in the SonarQube UI take effect immediately.”
-
Project not created Fehler melden
“The project exists on the server. sonar analyze dependency-risks analyzes against an existing project key. It does not create one.”
-
Auto detect project Fehler melden
“When you omit --project, SonarQube CLI auto-detects that project (see Project key auto-detection) and prints the key to stderr (Using auto-detected project key: …).”
-
Org check cloud Fehler melden
“On SonarQube Cloud, the CLI also checks that the project belongs to the active organization before it scans.”
-
Stdout payload only Fehler melden
“The final results always go to stdout, so piping --format json or --format toon into another tool will not mix progress text into the payload.”
-
Nested projects unsupported Fehler melden
“Nested project directories are not supported yet.”
-
Hook monorepo Fehler melden
“In a monorepo linked with .sonar-config.json, the hook scans each linked project that contains a changed manifest, from that project's root.”
-
Hook failure behavior Fehler melden
“A scanner or network failure on one project skips that project.”
-
AI agents Fehler melden
“An AI coding agent can call sonar analyze dependency-risks like any other shell command, read the structured output, and propose a version bump that clears the vulnerabilities.”
-
Cloud check failure Fehler melden
“A different organization exits with code 1 and names that organization. Run sonar auth org <organization> to switch.”
-
License risk fields Fehler melden
“License risks add spdxLicenseId and releaseLicenseExpression (either may be null).”
Bewertungen, die auf diesen Datensatz verweisen
- Anwendungssicherheitsingenieur Abhängigkeiten (SCA), Lizenzen & Secrets
- Anwendungssicherheitsingenieur Entwickler-Workflow, Quality Gates & Fixes
- Engineering-Manager Abhängigkeiten (SCA), Lizenzen & Secrets
- Engineering-Manager Entwickler-Workflow, Quality Gates & Fixes
- Leitender Entwickler Abhängigkeiten (SCA), Lizenzen & Secrets
- Leitender Entwickler Entwickler-Workflow, Quality Gates & Fixes
- Plattform-Engineer Abhängigkeiten (SCA), Lizenzen & Secrets
- Produktsicherheitsbeauftragter Abhängigkeiten (SCA), Lizenzen & Secrets
- Produktsicherheitsbeauftragter Entwickler-Workflow, Quality Gates & Fixes
- Skeptiker Abhängigkeiten (SCA), Lizenzen & Secrets
- Skeptiker Entwickler-Workflow, Quality Gates & Fixes