Skip to content

Initial implementation of cargo-sbom detector #1387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arlosi
Copy link
Member

@arlosi arlosi commented Apr 23, 2025

Adds a new detector that uses Cargo's new SBOM format to more accurately get the dependency graph for Rust projects.

@arlosi arlosi requested a review from a team as a code owner April 23, 2025 22:13
@arlosi arlosi requested a review from cobya April 23, 2025 22:13
Copy link

codecov bot commented Apr 25, 2025

Codecov Report

Attention: Patch coverage is 93.80531% with 21 lines in your changes missing coverage. Please review.

Project coverage is 89.7%. Comparing base (f25b012) to head (f1bfdf8).

Files with missing lines Patch % Lines
...ponentDetection.Detectors/rust/RustSbomDetector.cs 78.2% 14 Missing and 3 partials ⚠️
...entDetection.Detectors/rust/Contracts/CargoSbom.cs 88.2% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #1387    +/-   ##
======================================
  Coverage   89.6%   89.7%            
======================================
  Files        402     407     +5     
  Lines      31825   32164   +339     
  Branches    1964    1973     +9     
======================================
+ Hits       28546   28863   +317     
- Misses      2863    2880    +17     
- Partials     416     421     +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant