Skip to content

Add cargo lockfile parser

Igor Frenkel requested to merge 465107-parse-cargo-lockfile into master

What does this MR do?

This MR adds support for rust projects by detecting the presence of Cargo.lock and then parsing the file.

There's currently no support for rust advisories in the glad database so this MR adds a guard condition for skipping vulnerability creation for cargo projects.

There is no official reference for lockfile formatting, but source code does exist:

What are the relevant issue numbers?

Add sbom generation capability for cargo in dep... (gitlab-org/gitlab#465107 - closed) • Igor Frenkel • 17.2 • On track

Does this MR meet the acceptance criteria?

Edited by Oscar Tovar

Merge request reports