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

[Suggestion] Been able to use different tools to grab the SBOM #44

Open
cmoulliard opened this issue Aug 30, 2023 · 2 comments
Open

[Suggestion] Been able to use different tools to grab the SBOM #44

cmoulliard opened this issue Aug 30, 2023 · 2 comments
Labels
enhancement New feature or request module::rhtap

Comments

@cmoulliard
Copy link
Contributor

Suggestion

That should be interesting that the existing RHTAP "sbow-task" and its image supports different tools able to grab the SBOM and generate the output and not only cosign as by example we can only use for Buildpack the grype tool

      - name: show-sbom
        # Goal: Export from the buildpack image the SBOM files using Grype tool
        # Definition: https://github.com/tektoncd/catalog/tree/main/task/grype/0.1
        when:
          - input: $(params.enable-sbom)
            operator: in
            values: ["true"]
        params:
          - name: GRYPE_IMAGE
            value: anchore/grype:v0.65.1
          - name: ARGS
            value:
              - $(tasks.build-container.results.IMAGE_URL)
              - -o $(params.grype-sbom-format)
@cmoulliard cmoulliard added enhancement New feature or request module::rhtap labels Aug 30, 2023
@brianwcook
Copy link

I'm not sure what you are trying to do here, create sbom for fetch it?

@cmoulliard
Copy link
Contributor Author

Buildpack generatse OOTB during the build the SBOM. I'lm using the grype task here to be able to get it from the OCI image built to stdout the content as table or json or another format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module::rhtap
Projects
None yet
Development

No branches or pull requests

2 participants