cli/pkg/cmd/attestation
Meredith Lancaster cd5562f5ac
Add signer-repo and signer-workflow flags to gh attestation verify (#9137)
* add signer-repo and signer-workflow flags

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add check for SignerRepo option

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add helper function and comment for clarity

Signed-off-by: Meredith Lancaster <malancas@github.com>

* update flag comment

Signed-off-by: Meredith Lancaster <malancas@github.com>

* reference correct field

Signed-off-by: Meredith Lancaster <malancas@github.com>

* move function to more relevant file

Signed-off-by: Meredith Lancaster <malancas@github.com>

* Update pkg/cmd/attestation/verify/verify.go

Co-authored-by: Zach Steindler <steiza@github.com>

* Update pkg/cmd/attestation/verify/verify.go

Co-authored-by: Zach Steindler <steiza@github.com>

* make all reusable workflow flags mutually exclusive

Signed-off-by: Meredith Lancaster <malancas@github.com>

* accept signer workflow without host

Signed-off-by: Meredith Lancaster <malancas@github.com>

* support client optionally providing host with signer workflow flag

Signed-off-by: Meredith Lancaster <malancas@github.com>

* comment

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add tests for parsing signer workflow

Signed-off-by: Meredith Lancaster <malancas@github.com>

---------

Signed-off-by: Meredith Lancaster <malancas@github.com>
Co-authored-by: Zach Steindler <steiza@github.com>
2024-05-30 07:40:55 -06:00
..
api Fix attestation cmd offline unit test failure (#8933) 2024-04-11 18:09:10 -06:00
artifact gh-attestation cmd integration (#8698) 2024-04-01 11:13:47 -06:00
auth Use ghinstance package for attestation host checks 2024-04-29 17:08:22 +02:00
download Tweaked gh attestation help strings to generate nicer cli manual site. 2024-04-29 16:24:54 -04:00
inspect whitespace aligment for inspect/inspect.go 2024-04-29 16:40:30 -04:00
io Update gh attestation verify output (#8991) 2024-04-24 14:03:35 -06:00
test Add integration tests for gh attestation verify shared workflow use case (#9107) 2024-05-28 07:13:34 -06:00
tufrootverify Added tweaked note to tuf-root-verify 2024-04-29 16:31:28 -04:00
verification Fix typos 2024-05-09 20:15:27 +00:00
verify Add signer-repo and signer-workflow flags to gh attestation verify (#9137) 2024-05-30 07:40:55 -06:00
attestation.go whitespace alignment in attestation/attestation.go 2024-04-29 16:38:35 -04:00