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

First version of sbom output #1095

Merged
merged 8 commits into from
Dec 8, 2022

Conversation

Racer159
Copy link
Contributor

@Racer159 Racer159 commented Dec 6, 2022

Description

Add new flags to output SBOM files into specified directories AND change the sbom inspect behavior to also open the web browser automatically

Related Issue

Fixes #1075

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist before merging

  • Tests have been added/updated as necessary (add the needs-tests label)
  • Documentation has been updated as necessary (add the needs-docs label)

@Racer159 Racer159 added the needs-docs PR Label - Docs required to merge label Dec 6, 2022
@Racer159 Racer159 removed the needs-docs PR Label - Docs required to merge label Dec 6, 2022
jeff-mccoy
jeff-mccoy previously approved these changes Dec 7, 2022
Copy link
Contributor

@jeff-mccoy jeff-mccoy left a comment

Choose a reason for hiding this comment

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

lgtm. Overall this will be much better once it's all in the UI and we no longer have this out-of-band weird viewer thing happening. Also the flow of "press enter when done" is interesting and something we may look at for the Zarf UI as well as now it just requires aborting the command.

@jeff-mccoy jeff-mccoy enabled auto-merge (squash) December 7, 2022 04:33
src/internal/packager/sbom/tools.go Outdated Show resolved Hide resolved
src/types/runtime.go Outdated Show resolved Hide resolved
Copy link
Contributor

@YrrepNoj YrrepNoj left a comment

Choose a reason for hiding this comment

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

lgtm

@jeff-mccoy jeff-mccoy merged commit 54bbeb1 into main Dec 8, 2022
@jeff-mccoy jeff-mccoy deleted the 1075-output-sbom-folder-on-package-create branch December 8, 2022 02:43
Noxsios pushed a commit that referenced this pull request Mar 8, 2023
## Description

Add new flags to output SBOM files into specified directories **AND**
change the sbom inspect behavior to also open the web browser
automatically

## Related Issue

Fixes #1075

## Type of change

<!-- Please delete options that are not relevant -->

- [X] New feature (non-breaking change which adds functionality)

## Checklist before merging

- [X] Tests have been added/updated as necessary (add the `needs-tests`
label)
- [x] Documentation has been updated as necessary (add the `needs-docs`
label)
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.

Output SBOM folder on package create
3 participants