-
Notifications
You must be signed in to change notification settings - Fork 26
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
specification for sbom filename #32
Comments
I think having name specifications with that level of specificity as
proposed in the opening comment will result in naming collisions.
I am a proponent of adding the [format].json as the ending but I think the
rest should be more open due to multiple types of sboms (source, build) or
sboms from different tooling. In addition sboms can describe more than one
piece of software.
…On Wed, Aug 2, 2023 at 2:08 AM Steve Springett ***@***.***> wrote:
Refer to
https://cyclonedx.org/specification/overview/#recognized-file-patterns
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXLDBUZHIQXCYWMAZ6YS6TXTHVE3ANCNFSM6AAAAAA277BDZU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I realize perhaps some of the concern I have is with the current proposed
so please ignore them for this issue.
The current wording is a recommendation but I think shouldn’t be something
we enforce programmatically.
…On Wed, Aug 2, 2023 at 9:14 AM Brandon Lum ***@***.***> wrote:
I think having name specifications with that level of specificity as
proposed in the opening comment will result in naming collisions.
I am a proponent of adding the [format].json as the ending but I think the
rest should be more open due to multiple types of sboms (source, build) or
sboms from different tooling. In addition sboms can describe more than one
piece of software.
On Wed, Aug 2, 2023 at 2:08 AM Steve Springett ***@***.***>
wrote:
> Refer to
> https://cyclonedx.org/specification/overview/#recognized-file-patterns
>
> —
> Reply to this email directly, view it on GitHub
> <#32 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAXLDBUZHIQXCYWMAZ6YS6TXTHVE3ANCNFSM6AAAAAA277BDZU>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
The SPDX standard mentions these naming conventions, depending on the format used:
|
@zvr lists the SPDX file extensions above. @stevespringett referred to https://cyclonedx.org/specification/overview/#recognized-file-patterns which lists these file names and file extensions:
You'll typically want conventional file extensions, not a single filename:
So I expect in many cases you're going to have a set of SBOM files for "the SBOM", with conventional file extensions. I would suggest the "sbom" directory when storing SBOMs in source repositories or archives (e.g., zip, .tar.gz, and various package formats that are really archives). Then systems can look at the root directory or the "sbom" directory" for these files. Thoughts? |
re: https://github.com/ossf/sbom-everywhere/blob/main/reference/sbom_naming.md
to minimize guesswork and prevent false positives or negatives, can we harden the naming conventions to be more standardized and thus validate conformity with the expected format for the filename?
for example, based on the current recommendation:
sbom.<projectName>-v<versionNumber>-<sbomFormat>.<extension>
which then could be regex validated via:
or implementations can be more strict, using a list of known or supported types:
The text was updated successfully, but these errors were encountered: