Meredith Lancaster
|
13dafefcb5
|
add missing nil struct checks and udpate error messages
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-04-01 11:23:25 -06:00 |
|
Meredith Lancaster
|
cdfb1b7279
|
Merge branch 'move-predicate-type-filtering' of github.com:malancas/cli into move-predicate-type-filtering
|
2025-04-01 11:16:05 -06:00 |
|
Meredith Lancaster
|
05d9156a99
|
add check for nil api client
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-04-01 11:16:00 -06:00 |
|
Meredith Lancaster
|
a04be55092
|
Merge branch 'trunk' into move-predicate-type-filtering
|
2025-04-01 10:48:13 -06:00 |
|
Phill MV
|
0427f26884
|
Update pkg/cmd/attestation/verify/verify.go
Co-authored-by: Meredith Lancaster <malancas@users.noreply.github.com>
|
2025-03-31 11:05:23 -04:00 |
|
Phill MV
|
f099a54243
|
updated test
|
2025-03-27 09:57:00 -04:00 |
|
Phill MV
|
9c9b158d12
|
added minor caveat
|
2025-03-27 09:55:14 -04:00 |
|
Phill MV
|
33ab0b8f3b
|
Tweaked language a bit, improved error message.
|
2025-03-27 09:47:11 -04:00 |
|
Phill MV
|
321e5687a6
|
Rewrote the gh at verify --help text to a) clarify and b) document the verificationResult object.
|
2025-03-26 17:40:35 -04:00 |
|
Meredith Lancaster
|
166e211e2b
|
clean up test fixtures
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-25 08:28:33 -06:00 |
|
Meredith Lancaster
|
e3fbe9008f
|
reduce test duplication
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-25 08:25:00 -06:00 |
|
Meredith Lancaster
|
d1c4bf7dd9
|
comment
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-25 08:24:52 -06:00 |
|
Meredith Lancaster
|
baeaf66011
|
restructure api client methods
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 19:13:27 -06:00 |
|
Meredith Lancaster
|
0d0654738b
|
simplify client methods
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 18:58:35 -06:00 |
|
Meredith Lancaster
|
a856a796f0
|
remove duplicate predicate filtering code
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 18:34:54 -06:00 |
|
Meredith Lancaster
|
a9cc7b481e
|
create single fetch by digest client method
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 18:28:27 -06:00 |
|
Meredith Lancaster
|
5a895b9d72
|
dedpulicate if else logic
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 18:12:41 -06:00 |
|
Meredith Lancaster
|
95a61974bf
|
pass params object to api client methods
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 18:01:57 -06:00 |
|
Meredith Lancaster
|
ad20ef35d9
|
move local and oci registry attestation filtering
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 17:35:52 -06:00 |
|
Meredith Lancaster
|
faef81f4bc
|
reorganize getAttestations func to check for remote gh api fetching first
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 17:28:50 -06:00 |
|
Meredith Lancaster
|
a78c06970a
|
pass predicate type to get attestation api methods
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-03-24 17:28:00 -06:00 |
|
Meredith Lancaster
|
917a00ddc1
|
Update pkg/cmd/attestation/verification/attestation.go
Co-authored-by: Fredrik Skogman <kommendorkapten@github.com>
|
2025-03-05 07:31:35 -07:00 |
|
Meredith Lancaster
|
ddc36c8a8e
|
Update pkg/cmd/attestation/verification/attestation.go
Co-authored-by: Fredrik Skogman <kommendorkapten@github.com>
|
2025-03-05 07:31:28 -07:00 |
|
Meredith Lancaster
|
671c4c23a9
|
Merge branch 'trunk' into refactor-get-attestations-funcs
|
2025-03-04 09:33:00 -07:00 |
|
Andy Feller
|
f9d50d86ac
|
Merge pull request #10508 from iamazeem/10449-inconsistent-examples-format
Inconsistent format of examples in help text
|
2025-02-27 09:15:14 -05:00 |
|
Azeem Sajid
|
33c30d5bd1
|
Inconsistent format of examples in help text
|
2025-02-27 16:26:25 +05:00 |
|
Azeem Sajid
|
69fff52026
|
Inconsistent format of description of flags (starting with lowercase letter) (#10507)
|
2025-02-27 11:40:21 +01:00 |
|
Meredith Lancaster
|
33d863f98d
|
Merge pull request #10308 from malancas/attestation-verify-ref-commit-policy-opts
Add signer-digest, source-ref, and source-digest options for `gh attestation verify`
|
2025-02-26 14:27:31 -07:00 |
|
Meredith Lancaster
|
ba5cf8e1ce
|
Merge branch 'trunk' into attestation-verify-ref-commit-policy-opts
|
2025-02-24 10:59:58 -07:00 |
|
Meredith Lancaster
|
343d9babeb
|
fix expected test output
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-02-24 10:51:34 -07:00 |
|
Meredith Lancaster
|
37a91ebfdb
|
undo regex changes
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-02-24 10:47:39 -07:00 |
|
Meredith Lancaster
|
ce87c746b2
|
remove signer-ref option
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-02-24 10:44:29 -07:00 |
|
beforetech
|
563c2f9e18
|
refactor: use a more straightforward return value
Signed-off-by: beforetech <mail@before.tech>
|
2025-02-23 22:59:33 +08:00 |
|
William Martin
|
db823c18b8
|
Allow injection of TUFMetadataDir in tests
This avoids multiple tests using the same dir for metadata, which was causing flakes
|
2025-02-20 17:04:30 +01:00 |
|
William Martin
|
9c90e3aac9
|
Use subtests in attestation verification integration tests
|
2025-02-18 16:44:48 +01:00 |
|
Cody Soyland
|
ad2cfe074f
|
Add mutex to fix race in attestation test client
Signed-off-by: Cody Soyland <codysoyland@github.com>
|
2025-02-13 10:18:30 -05:00 |
|
Meredith Lancaster
|
4daf489c75
|
Merge branch 'trunk' into refactor-get-attestations-funcs
|
2025-02-11 11:11:30 -07:00 |
|
Fredrik Skogman
|
bf3a40aef3
|
Exit with error if no matching predicate type exists
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
|
2025-02-11 09:07:51 +01:00 |
|
Meredith Lancaster
|
7fdb38028e
|
remove custom transport
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-02-06 16:06:43 -07:00 |
|
Meredith Lancaster
|
84299b7d57
|
var naming
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-02-06 12:50:30 -07:00 |
|
Meredith Lancaster
|
5d6ffa3207
|
dedup local bundle err handling
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-02-06 12:37:23 -07:00 |
|
Meredith Lancaster
|
fc2f18c896
|
consolidate tests around getBundle func when possible
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 11:12:58 -07:00 |
|
Meredith Lancaster
|
795263524d
|
change permanent backoff error condition
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 11:11:41 -07:00 |
|
Meredith Lancaster
|
e9f7761423
|
dont retry when parsing fails
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 09:56:06 -07:00 |
|
Meredith Lancaster
|
dcb182b453
|
Merge branch 'trunk' into attestation-bundle-fetch-improvements
|
2025-01-30 09:53:27 -07:00 |
|
Meredith Lancaster
|
70ae9f39ef
|
update tests to account for logic flip
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 09:26:41 -07:00 |
|
Meredith Lancaster
|
ddb8855198
|
flip bundle fetching logic
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 09:12:48 -07:00 |
|
Meredith Lancaster
|
1c326c74f0
|
add checks to cert extensions func
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 08:14:13 -07:00 |
|
Meredith Lancaster
|
e10010c4cf
|
fix option ordering
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 08:03:36 -07:00 |
|
Meredith Lancaster
|
c6b5928ddc
|
fix issues causing tests to fail
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 07:58:42 -07:00 |
|