-
Notifications
You must be signed in to change notification settings - Fork 142
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
Inclusion of File Download Location, Supplier, and Version in SPDX File Information Section #1177
Comments
Additianl Detials : As per the NTIA Minimum Elements, the SBOM should document baseline information about each component, including:
Mapping NTIA SBOM Minimum Elements to SPDXThe following table shows how the NTIA-required fields map to SPDX fields, as detailed in the SPDX specification for Executive Order 14028:
Component DefinitionAs defined in NTIA's SBOM Minimum Elements Report (Appendix B: Glossary, page 25), a component is a unit of software defined by a supplier at the time the component is built, packaged, or delivered. Many components may contain subcomponents. Examples of components include a software product, a device, a library, or a single file. Issue with Non-Package ComponentsFor files obtained from a third-party source that aren't associated with a package, SPDX currently lacks a direct way to tag NTIA Minimum Elements like Supplier Name, Version, or metadata such as the file download URL, as these fields are generally package-specific. This makes it challenging to track important metadata for standalone files. |
Since "Package" is defined as "any unit of content that can be associated with a distribution of software", if you are obtaining a file, this is essentially a Package (containing only this file). You can, therefore, have all the corresponding properties like Supplier and DownloadLocation. |
Adding to @zvr comment above - it is perfectly fine, and even common, to have a package with a single file. In the SPDX spec, we distinguish between information about a file in the File class and information about a distributed file in the Package class. You can use the |
As per 5.2.3 File information section, If a file is not part of any package, it shall precede any package information section reference in the SPDX document.
The SPDX specification 2.3 for the File Information section does not include fields for
FileDownloadLocation
,supplier of the file
,file version
, similar to the Package Information section. This omission makes it challenging to document these details for files that are not part of any package.The text was updated successfully, but these errors were encountered: