Skip to content

feat: add Conan C++ package manager support#40

Merged
vpetersson merged 1 commit intomasterfrom
add-conan
Sep 1, 2025
Merged

feat: add Conan C++ package manager support#40
vpetersson merged 1 commit intomasterfrom
add-conan

Conversation

@vpetersson
Copy link
Contributor

Add comprehensive support for processing Conan lock files to generate SBOMs using Trivy. This enables SBOM generation for C++ projects using the Conan package manager.

Changes:

  • Add conan.lock to supported lock file types in CLI
  • Implement C++ lock file processing using Trivy filesystem scanner
  • Add unit tests for Conan lock file processing logic
  • Add integration tests for SBOM generation from conan.lock
  • Update README documentation with C++ Conan support
  • Add test data with realistic Conan 0.5 format lock file

The implementation follows existing patterns for other package managers and maintains consistency with the current architecture.

Tested with mbedtls/3.6.4 and cjson/1.7.18 dependencies. All tests pass (153/153).

Add comprehensive support for processing Conan lock files to generate
SBOMs using Trivy. This enables SBOM generation for C++ projects using
the Conan package manager.

Changes:
- Add conan.lock to supported lock file types in CLI
- Implement C++ lock file processing using Trivy filesystem scanner
- Add unit tests for Conan lock file processing logic
- Add integration tests for SBOM generation from conan.lock
- Update README documentation with C++ Conan support
- Add test data with realistic Conan 0.5 format lock file

The implementation follows existing patterns for other package managers
and maintains consistency with the current architecture.

Tested with mbedtls/3.6.4 and cjson/1.7.18 dependencies.
All tests pass (153/153).
@vpetersson vpetersson merged commit d31795c into master Sep 1, 2025
2 checks passed
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.

2 participants