8000 Github functionality to fetch SBOM from Releases · Issue #274 · bomctl/bomctl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Github functionality to fetch SBOM from Releases #274

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.

Alread A9C3 y on GitHub? Sign in to your account

Open
EphraimEM opened this issue Jan 28, 2025 · 1 comment
Open

Github functionality to fetch SBOM from Releases #274

EphraimEM opened this issue Jan 28, 2025 · 1 comment
Assignees

Comments

@EphraimEM
Copy link

GitHub users may want to store/fetch their Sboms in non-source locations, like releases. The GitHub client whould be updated to support this.

Fetch

Optional Functionality:
Fetch from releases. Seems to be covered by http client, but may be worth investigating the api offerings.

@ashearin
Copy link
Member

Per our discussion, some ideas for functionality:

  • Pull one specific bom/document from a github release:

    • example command: bomctl fetch github.com/bomctl/bomctl@v0.4.2#bomctl_0.4.2_windows_arm64.zip.cdx.json
    • Client would search through and find specific file in the assets for the v0.4.2 release and
      • Add it to the cache if found
      • Return not found message if not. (I don't think we should return an error code, just a message to the user)
  • Pull every available sbom in specified github release

    • example command: bomctl fetch github.com/bomctl/bomctl@v0.4.2
      • Need to check to see this doesn't clash with the existing github fetch functionality, I don't think it does.
    • Client would search through all assets for given release, pull any files that match the sbom naming conventions and
      • Add it to the cache
      • Add an alias to the document using the asset name (usually the filename) to keep items distinct for users.

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

No branches or pull requests

2 participants
0