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

in-toto attestations (ITE-6) as a formatter. #88

Closed
wants to merge 37 commits into from

Conversation

kommendorkapten
Copy link
Contributor

This PR implements the basic support for #65.
The formatter uses type hinting to be able to extract information to prepare the in-toto attestation.

Fredrik Skogman and others added 30 commits April 20, 2021 11:10
* added some skeleton code more or less copied from PR #13 by dlorenc

* Added a dummy implementation that just prints the input/output resources.

* Test to bump to #minor

* Use correct branch for "master"

* Fixes release branch name too.

* added deployment file for eks
…… (#3)

* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests
* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests

* Store entire taskrun as recipe.arguments.

* Store spec as well, not just status
* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests

* Store entire taskrun as recipe.arguments.

* Store spec as well, not just status

* removed temp logger

* capture subjects if result name is *-DIGEST and materials

* Resolve automerge conflict.

* Added script to pull an attestation
* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests

* Store entire taskrun as recipe.arguments.

* Store spec as well, not just status

* removed temp logger

* capture subjects if result name is *-DIGEST and materials

* Resolve automerge conflict.

* Added script to pull an attestation

* capture builder and git materials
* added more fields and capture shasum output

* ignore newlines

* cleaned up the code a little

* use sub from result too
* added some skeleton code more or less copied from PR #13 by dlorenc

* Added a dummy implementation that just prints the input/output resources.

* Test to bump to #minor

* Use correct branch for "master"

* Fixes release branch name too.

* added deployment file for eks
…… (#3)

* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests
* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests

* Store entire taskrun as recipe.arguments.

* Store spec as well, not just status
* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests

* Store entire taskrun as recipe.arguments.

* Store spec as well, not just status

* removed temp logger

* capture subjects if result name is *-DIGEST and materials

* Resolve automerge conflict.

* Added script to pull an attestation
* temp commit with more logging to get understanding of the resource structure

* fixed unit tests

* fixing unit tests

* Store entire taskrun as recipe.arguments.

* Store spec as well, not just status

* removed temp logger

* capture subjects if result name is *-DIGEST and materials

* Resolve automerge conflict.

* Added script to pull an attestation

* capture builder and git materials
* added more fields and capture shasum output

* ignore newlines

* cleaned up the code a little

* use sub from result too
Signed-off-by: Dan Lorenc <dlorenc@google.com>
Merge updates from dlorenc's ite-6 branch
Updated intoto formater to latest ite6 spec
Added new config parameter to set the builder id for intoto format.
@tekton-robot tekton-robot requested review from font and mpeters May 17, 2021 08:33
@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign mpeters
You can assign the PR to them by writing /assign @mpeters in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot
Copy link

@kommendorkapten: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot tekton-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 17, 2021
@tekton-robot
Copy link

Hi @kommendorkapten. Thanks for your PR.

I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@linux-foundation-easycla
Copy link

CLA Not Signed

  • - Fredrik Skogman The commit (5772f28 ,e8e2636f41393eba8f5b6bb5f10532b8c0daeace ,0e7c222a810bc478dccacf9f6f2f8135a9fb5da2 ,e3716aaec4577d83bfc145cc53f7b8b43898c74c ,89e5919ed9c9b4dcf1f2002f63963adf9c1dfe82 ,80e1d6492e49ee0ffdb4823f14026d4dd4f26e9f ,a72ac35c000afcbcdb3fd0d37a86a1c8624eb422 ,adb9d9030add3b54140bc179e9ae481653fd9ce9 ,f5febe043c08c865926ead40f081a7c384d52ede ,193b352d4a4cf4dd75938bbcc23b5ddbfd9944fb ,37ab62150aaddb0aa92c1ef3fe34bf360d1625e1 ,6a6bd6c01c3d552d5236350fe0528aabf57ae0cf ,4f49fc1ed0732dffa44fdb1abd61abaf01f08610 ,a05ed55afc78a8553566ef4af44ddd40b41b8c2f ,be8668b1e5bc5e5e99ba9f11609e7c68510668fb ,431c6fdcf057f3d742ddfcd90b58459caa2dc316 ,7d2e230c5668d1b97b7e5b65f5abc6f7b817475f ,8bab2994d6fe3bc6dee3aaadfd2313ca5544f92e ,85a21afb53e3954cbbf5d6097318469d1d09ca61 ,187b987bc35aab6c73fc8d3d854396c4eebfe32d ,7b319f88361342c5a79b3592d5e9f116190818ec ,8fabc0dad585017509fa4403023ceb5e4ce3a3c5 ,339d8bdc71029c55ec38bd37621f0a1ce9c74efd ,a1878807683e1341ac022ab24aae5e3ba8609f6e ,e5d1a250fd3d0509d48d4b0b4ac34077bf32fefc ,7f856e8899ae7084a31d7dcd829bdd6dd149f3ff ,796e3132a871af12cf08baed3df5fa638c592d21 ,75b9888fd384ccbc7a63a6eabe3c1789600c38a2 ,ab907a0606de3189e2d18b2c5ab3b5507838fffd ,2159cdd913d9b4e1a180e14dded704f41f18ce3c ,317e80341b12617cfed2c6bef8c05e93ace49438 ,b3541d05959d15d154f639425c51c696dcaf8642 ,746715f8ef6d15d8f64d7af3b462e1359357dedb ,b71698a6c78dde3b329b76752151cade0c15c545) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.

@kommendorkapten
Copy link
Contributor Author

Closing this in favour of #89 which is rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants