FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
SonarQube: SCA Scanning of Unmanaged Dependencies in Java Projects with Syft and SBOM Import
How-ToProgramming Languages

SonarQube: SCA Scanning of Unmanaged Dependencies in Java Projects with Syft and SBOM Import

via Dev.to TutorialMathias Conradt1mo ago

Sonar currently does not support SCA for unmanaged dependencies (jars) in Java projects. However, you can generate a Software Bill of Materials (SBOM) using tools like Syft and then analyze it with SonarQube. This demo repo shows how to generate an SBOM for a Java project using Syft, and then scan it with SonarQube to identify vulnerabilities. Take note of the unmanaged dependencies in folder libs as an example: Installation & Usage Install Syft to generate the SBOM: brew install syft syft scan ./libs -o cyclonedx-json=java-unmanaged-jars-demo.cdx.json Example is using brew on macOS, but you can find installation instructions for other platforms in the Syft Documentation. Then adjust the sonar-project.properties file to include the generated SBOM: sonar.exclusions=**/* sonar.sca.sbomImportPaths=java-unmanaged-jars-demo.cdx.json sonar.inclusions=java-unmanaged-jars-demo.cdx.json Then scanning via sonar-scanner: sonar-scanner \ -Dsonar.projectKey=e-corp-demo_java-unmanaged-jars-demo_5d05

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
15 views

Related Articles

What is Agent Script? How to Build Agents with It in Agentforce
How-To

What is Agent Script? How to Build Agents with It in Agentforce

Medium Programming • 14h ago

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.
How-To

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.

Medium Programming • 14h ago

Belkin’s battery-equipped Switch 2 case is more than 35 percent off right now
How-To

Belkin’s battery-equipped Switch 2 case is more than 35 percent off right now

The Verge • 16h ago

Why this Marshall is the first soundbar I've tested that truly challenges my Sonos Arc Ultra
How-To

Why this Marshall is the first soundbar I've tested that truly challenges my Sonos Arc Ultra

ZDNet • 17h ago

This App Makes Even the Sketchiest PDF or Word Doc Safe to Open
How-To

This App Makes Even the Sketchiest PDF or Word Doc Safe to Open

Wired • 17h ago

Discover More Articles