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

800. Add sbom section to deploy configure/review #1713

Merged

Conversation

mike-winberry
Copy link
Contributor

@mike-winberry mike-winberry commented May 16, 2023

Description

#800

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

…ml instead of extracting it. Create api/packages sbom to rextract and launch sbom (first iteration need team input. Update front end to request the sbom information and display a link to launch (ui still in progress).
@mike-winberry mike-winberry linked an issue May 16, 2023 that may be closed by this pull request
3 tasks
@netlify
Copy link

netlify bot commented May 16, 2023

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit cedf771
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/6463b745dd3c020007ad3966

@netlify
Copy link

netlify bot commented May 16, 2023

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 01bca7e
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/646bc66e4931fd0008dcf8e3

@mike-winberry
Copy link
Contributor Author

@Racer159 and @Madeline-UX we will likely need to tag up and go over some things on this as far as the ux flow. I have a "basic" working pattern right now but am working on making it much better, but will need to discuss some of verbiage and file location patterns once I have explored serving the sbom files.

…color after the unicorn-ui changes to list. Update ui build-providence to have the sbom url and a button to copy to clipboard. Create ui CopyToClipBoard component. Remove launch behavior from api start, sbom and ui api. Created new ripple global class in ui app.css for use in non-unicorn-ui components and created issue in UUI to port over and potentially implement the ripple as a component.
mike-winberry and others added 6 commits May 18, 2023 12:05
…remove zarf-sbom folder, ExtractSBOM now just looks for a path param instead of requiring the entire package. Update api start.go with get sbom/{path} and delete /sbom paths. Update ui api with the correct get and delete methods for sbom. Update ui BuildProvidence component with proper copy and made the link stand out per madeline. Update ui /packages layout to remove zarf-sbom folder on destroy.
…r and ensured that the folder is empty before unpacking a new sbom tar also removed the map store for sboms as one sbom should only be unpacked at a time during deployment to match cli behavior. Update ui packages layout to clear the pkgSbomStore on destroy. Update build-providence to use the pkgSbomStore if it exists and to fetch otherwise. Update copy-to-clipboard with title text.
@mike-winberry mike-winberry marked this pull request as ready for review May 18, 2023 23:05
@mike-winberry
Copy link
Contributor Author

Screen.Recording.2023-05-19.at.11.01.24.AM.mov

@Noxsios
Copy link
Contributor

Noxsios commented May 19, 2023

A few tweaks:

  • Change the triangle "warning" icon on the SBOM section to be amber
  • Change the second sentence to be You can view them here: and then place the link on a new line

@mike-winberry
Copy link
Contributor Author

mike-winberry commented May 21, 2023

@Racer159 @Madeline-UX
Made the changes we discussed should be ready to go for full review.

Screen.Recording.2023-05-20.at.8.30.59.PM.mov

@mike-winberry mike-winberry requested a review from Madeline-UX May 21, 2023 03:34
Madeline-UX
Madeline-UX previously approved these changes May 22, 2023
src/internal/api/packages/sbom.go Outdated Show resolved Hide resolved
Copy link
Contributor

@Noxsios Noxsios left a comment

Choose a reason for hiding this comment

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

lgtm

@Noxsios Noxsios merged commit 4983505 into main May 22, 2023
@Noxsios Noxsios deleted the 800-add-sbom-section-to-configure-page-in-deployment-wizard branch May 22, 2023 21:02
mike-winberry added a commit that referenced this pull request Jun 12, 2023
## Description
#800 



## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
mike-winberry added a commit that referenced this pull request Jun 12, 2023
## Description
#800 



## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
mike-winberry added a commit that referenced this pull request Jun 12, 2023
## Description
#800 



## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
mike-winberry added a commit that referenced this pull request Jun 12, 2023
## Description
#800 



## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
mike-winberry added a commit that referenced this pull request Jun 12, 2023
## Description
#800 



## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed

---------

Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
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.

Add SBOM Section to Configure page in deployment wizard
4 participants