-
Notifications
You must be signed in to change notification settings - Fork 587
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
510 - SBOM attestation stdout #785
Merged
Merged
Conversation
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
spiffcs
force-pushed
the
510-attach-sbomb-attestation
branch
from
January 31, 2022 18:26
6a775c5
to
a7a7b07
Compare
Benchmark Test ResultsBenchmark results from the latest changes vs base branch
|
spiffcs
force-pushed
the
510-attach-sbomb-attestation
branch
from
January 31, 2022 18:42
a7a7b07
to
aadfda8
Compare
spiffcs
force-pushed
the
510-attach-sbomb-attestation
branch
from
February 1, 2022 14:34
aadfda8
to
8e64d73
Compare
spiffcs
force-pushed
the
510-attach-sbomb-attestation
branch
3 times, most recently
from
February 8, 2022 18:19
60ef4d1
to
f086c54
Compare
spiffcs
force-pushed
the
510-attach-sbomb-attestation
branch
3 times, most recently
from
February 9, 2022 19:08
54e11be
to
5c0603e
Compare
Signed-off-by: Christopher Phillips <[email protected]>
spiffcs
force-pushed
the
510-attach-sbomb-attestation
branch
from
February 10, 2022 15:09
26c1916
to
470c880
Compare
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
* Stable sort for pipfile.lock parsing Signed-off-by: Dan Luhring <[email protected]> * Adjust python parsing tests to use go-cmp Signed-off-by: Dan Luhring <[email protected]> * Add failing cases for requirements.txt parsing Signed-off-by: Dan Luhring <[email protected]> * Fix failing cases for requirements.txt parsing Signed-off-by: Dan Luhring <[email protected]> * Refactor parseRequirementsTxt Signed-off-by: Dan Luhring <[email protected]> * Fix static-analysis failure Signed-off-by: Dan Luhring <[email protected]> * Fix comment Signed-off-by: Dan Luhring <[email protected]> Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: houdini91 <[email protected]> Signed-off-by: Christopher Phillips <[email protected]>
* ignore minor parsing error when reading dpkg status files helps with #733 Question: should we add a smarter parser to guess approximate installed-size value? Signed-off-by: Jonas Galvão Xavier <[email protected]> * add datasize lib to help dpkg parsing added unit tests to expand coverage of dpkg parsing Signed-off-by: Jonas Galvão Xavier <[email protected]> * drop parse error added unit tests to handleNewKeyValue Signed-off-by: Jonas Galvão Xavier <[email protected]> * don't return parsing errors from dpkg Signed-off-by: Jonas Galvão Xavier <[email protected]> * go mod tidy Signed-off-by: Jonas Galvão Xavier <[email protected]> * test higher level functions Signed-off-by: Jonas Galvão Xavier <[email protected]> * return parsing err to let cataloger handle it Signed-off-by: Jonas Galvão Xavier <[email protected]> * feedback changes Signed-off-by: Jonas Galvão Xavier <[email protected]> * ignore key parsing error log warning with relevant context Signed-off-by: Jonas Galvão Xavier <[email protected]> * go mod tidy Signed-off-by: Jonas Galvão Xavier <[email protected]> * add context info to log lines simpler error assertion Signed-off-by: Jonas Galvão Xavier <[email protected]> * use error.As to assert error in chain Signed-off-by: Jonas Galvão Xavier <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
…hore/syft into 510-attach-sbomb-attestation * '510-attach-sbomb-attestation' of https://github.com/anchore/syft: (63 commits) adjust attest options to be 12-factor-like update go.mod to latest cosign version update go mod update exported function for tests tests are passing configure failing tests ignore minor parsing error when reading dpkg status files (#786) update nit comments test harness for password verification update password select mechanism comment out test for future work Base64 encoder closing (#822) dog food attestation on syft image update function usage update correct predicate type formats for JSON update ci workflow to boostrap tools on cli tests update to bootstrap go update to find cosign temp access local temp directory check if cache issue ...
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
spiffcs
commented
Feb 18, 2022
Signed-off-by: Christopher Phillips <[email protected]>
wagoodman
approved these changes
Feb 22, 2022
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.
Great work --this is a huge feature 🎉 Can't wait for the keyless work next 🤓
Signed-off-by: Christopher Phillips <[email protected]>
GijsCalis
pushed a commit
to GijsCalis/syft
that referenced
this pull request
Feb 19, 2024
add syft attest command to produce an attestation as application/vnd.in-toto+json to standard out using on disk PKI Signed-off-by: Christopher Phillips <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Attestation Stdout
This PR adds the initial version of the
syft attest
command. A user can useattest
to generate a summary of discovered packages formatted as the predicate to an image attestation.To run this command you'll need to generate a key via
cosign generate-key-pair
. You can either pass it directly to the command or have syft read from the default location./cosign.key
Notes:
TODO: