Skip to content
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

Buildpack support for sBOM #269

Merged
merged 13 commits into from
Nov 18, 2021

Conversation

natalieparellano
Copy link
Member

Signed-off-by: Natalie Arellano [email protected]

Signed-off-by: Natalie Arellano <[email protected]>
@natalieparellano natalieparellano requested a review from a team as a code owner November 3, 2021 21:29
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
natalieparellano and others added 3 commits November 10, 2021 10:29
Co-authored-by: Javier Romero <[email protected]>
Co-authored-by: Javier Romero <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
buildpack.md Show resolved Hide resolved
buildpack.md Outdated Show resolved Hide resolved
Signed-off-by: Natalie Arellano <[email protected]>
@sclevine sclevine requested review from jkutner and hone November 10, 2021 19:05
Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
buildpack.md Show resolved Hide resolved
Signed-off-by: Natalie Arellano <[email protected]>
Copy link
Member

@sambhav sambhav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally lgtm. Some minor comments.

buildpack.md Outdated Show resolved Hide resolved
1. Write a partial Bill-of-Material to `<layers>/build.toml` describing any provided build dependencies.
1. Write a partial Software Bill of Materials to `<layers>/<layer>.sbom.<ext>` describing any dependencies provided in the layer.
1. Write a partial Software Bill of Materials to `<layers>/launch.sbom.<ext>` describing any provided application dependencies not associated with a layer.
1. Write a partial Software Bill of Materials to `<layers>/build.sbom.<ext>` describing any provided build dependencies not associated with a layer.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one thing that I know people have gotten confused about, is where they should write sbom for libraries that were included in an output compiled binary. For eg go libraries in a go binary. Those should technically be in the launch sbom as they are present in the final app image. On the other hand tools like a package manager might be better off in the build sbom. Not sure if we should clarify here or in the docs.

Signed-off-by: Natalie Arellano <[email protected]>

Co-authored-by: Sambhav Kothari <[email protected]>
@jkutner jkutner merged commit 0469fe9 into buildpacks:buildpack/0.7 Nov 18, 2021
@natalieparellano natalieparellano mentioned this pull request Nov 18, 2021
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.

6 participants