Skip to content
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

Invalid purls when scanning Rust(cargo) repository #1172

Open
kennylam91 opened this issue Jun 13, 2024 · 1 comment
Open

Invalid purls when scanning Rust(cargo) repository #1172

kennylam91 opened this issue Jun 13, 2024 · 1 comment
Labels
detector:rust The Rust Cargo detector good first issue Good for newcomers status:ready Ready to start implementation type:bug Bug fix of existing functionality

Comments

@kennylam91
Copy link

kennylam91 commented Jun 13, 2024

Hi guys,
When I scan a Rust(cargo) repository (e.g https://github.com/rust-lang/rustlings), the sbom file result contains these purls:

pkg:cargo//[email protected]#
pkg:cargo//[email protected]#
pkg:cargo//[email protected]#
pkg:cargo//[email protected]#
pkg:cargo//[email protected]#

As per purl-specification, these purls seem not to be valid with //
And when extracting them, the name info would include a slash (e.g /ryu instead of ryu)

@cobya cobya added good first issue Good for newcomers status:ready Ready to start implementation type:bug Bug fix of existing functionality detector:rust The Rust Cargo detector labels Jun 17, 2024
@annaowens
Copy link
Contributor

Adding @FernandoRojo to help on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detector:rust The Rust Cargo detector good first issue Good for newcomers status:ready Ready to start implementation type:bug Bug fix of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants