-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[DNM]: SBOM (Software Bill of Materials) generation support #9577
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
base: main
Are you sure you want to change the base?
Conversation
|
@swift-ci test self hosted |
|
@swift-ci test |
|
@swift-ci test windows |
|
The current Windows self hosted build is here: https://ci-external.swift.org/job/pr-swiftpm-windows-self-hosted/3382/ |
|
@swift-ci test |
|
@swift-ci test windows |
|
@swift-ci test |
|
@swift-ci test windows |
|
@swift-ci test |
1 similar comment
|
@swift-ci test |
|
@swift-ci test windows |
|
macOS self hosted failed to clone the repository. I'm retriggering all self hosted CI builds @swift-ci test self hosted |
|
@swift-ci test |
|
Windows platform build was started against the previous comms. Re-triggering Windows builds @swift-ci test windows |
|
Windows platform build was started against the previous comms. Re-triggering Windows builds @swift-ci test windows |
|
@swift-ci test |
|
Windows platform build was started against the previous comms. Re-triggering Windows builds @swift-ci test windows |
|
The Linux smoke tests failed due to an infrastructure issue. I'm retriggering @swift-ci smoke test linux |
|
@swift-ci test windows |
|
@swift-ci test |
|
The Windows platform test triggered against commit ID @swift-ci test windows |
|
Please keep the trigger separate from other content. |
|
@swift-ci test |
|
@swift-ci test windows |
|
@swift-ci test windows |
1 similar comment
|
@swift-ci test windows |
This commit adds comprehensive SBOM generation capabilities to Swift Package Manager, supporting both CycloneDX 1.7 and SPDX 3.0.1 specifications. Key features: - New 'swift package generate-sbom' command for generating SBOMs - Integration with 'swift build' command via --sbom flag - Support for CycloneDX 1.7 and SPDX 3.0.1 formats - Product-based and package-based SBOM generation - Dependency graph extraction and relationship tracking - PURL (Package URL) generation for components - JSON schema validation for generated SBOMs - Comprehensive test coverage with fixtures New modules: - SBOMModel: Core SBOM data structures and conversion logic - Validators for CycloneDX and SPDX formats - Extractors for components, dependencies, and metadata - Converters for both SBOM specifications This implementation enables users to generate software bills of materials for their Swift packages, improving supply chain security and compliance.
This reverts commit ab223c2.
… not to link in Foundation
b471fc3 to
0a8fd3c
Compare
This PR captures the current state of SBOM generation support in SwiftPM, so that @bkhouri and I can create a dev toolchain. We want to add the dev toolchain to some slides.
THIS PR IS NOT INTENDED FOR PRODUCTION
Summary of features:
Requires: swiftlang/swift-installer-scripts#499