-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[POC] Provisioner for SBOM #13171
Draft
devashish-patel
wants to merge
37
commits into
main
Choose a base branch
from
poc/provisioner-hcp-sbom
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[POC] Provisioner for SBOM #13171
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
8028fae
Add outer provisioner to download, validate and compress SBOM
devashish-patel c73ea49
Add and set up internal SBOM provisioner
devashish-patel 4d341df
Modify external provisioner
devashish-patel db1e0ac
Fix lint
devashish-patel bc07854
Fix tests
devashish-patel 946c855
Add PR suggestions
devashish-patel a321535
Remove unnecessary test
devashish-patel 2590ab2
Run generate
devashish-patel c98a179
DRY download SBOM functions
devashish-patel ecb7f7e
Add support for SPDX
devashish-patel 939686a
Fix linting
devashish-patel 14393c2
Optimize code
devashish-patel 2cc9294
Rename hcp_sbom to hcp-sbom
devashish-patel 43699ab
Typed error check in validation
devashish-patel aa5f6a1
Use single buffer
devashish-patel 3cf0c1f
Lint
devashish-patel 0684f39
packer_test: add file checker
lbajolet-hashicorp b0bbaf4
simplify error typing for SBOM validation
lbajolet-hashicorp 8e61f1c
fixme: add path/home to commands for docker to run, should be general…
lbajolet-hashicorp 862f4a1
packer_test: add intergation tests for hcp-sbom
lbajolet-hashicorp 203eed3
Add more acceptance tests
devashish-patel a1ca982
Refactor to filepath.Glob
devashish-patel 84ec74e
fix: file download logic when given destination does not exist
devashish-patel b8883dd
Fix error messages for FileGlob checker
devashish-patel b6b46e2
parity in error messages
devashish-patel 8638a1a
Add docs
devashish-patel 19a2f89
Fix verbiage in website
devashish-patel 96efcc8
hcp-sbom: remove packerDestination function
lbajolet-hashicorp f358d21
hcp-sbom: rely less on io.Readers
lbajolet-hashicorp 479ca07
hcp-sbom: use a JSON-encoded output for Packer
lbajolet-hashicorp 8f8a108
hcp-sbom: add sbom_name attribute
lbajolet-hashicorp 10452ca
hcp-sbom: make validation functions private
lbajolet-hashicorp c82efaa
hcp-sbom: add prepare tests for the provisioner
lbajolet-hashicorp efa9075
hcp: integrate SBOM upload to HCP code
JenGoldstrich 0bc82b5
go.mod: temporary use a local SDK to build
lbajolet-hashicorp 8bc1fd7
hcp: wrap completeBuild to mark as failed on error
lbajolet-hashicorp 3f5f177
command: exit non-zero if uploading to HCP failed
lbajolet-hashicorp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!