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 |
|
Meredith Lancaster
|
313faf9cd0
|
add signer and source ref, commit options
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-30 07:43:13 -07:00 |
|
Cody Soyland
|
6a629ed871
|
Fix breaking changes from sigstore-go v0.7.0 upgrade
Signed-off-by: Cody Soyland <codysoyland@github.com>
|
2025-01-24 16:35:31 -05:00 |
|
Meredith Lancaster
|
728aa3d83f
|
set new options in enforcement criteria
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-24 13:20:01 -07:00 |
|
Meredith Lancaster
|
11dc8d48f5
|
reorder fields
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-24 13:19:47 -07:00 |
|
Meredith Lancaster
|
6c0cdca554
|
Merge remote-tracking branch 'upstream/trunk' into attestation-verify-ref-commit-policy-opts
|
2025-01-24 09:32:18 -07:00 |
|
Meredith Lancaster
|
5df2b47d1f
|
update tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-24 09:30:46 -07:00 |
|
Meredith Lancaster
|
2f81a33e95
|
add new signing options
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-24 09:28:55 -07:00 |
|
Meredith Lancaster
|
840fe2198c
|
Merge branch 'trunk' into attestation-bundle-fetch-improvements
|
2025-01-23 12:46:22 -07:00 |
|
Meredith Lancaster
|
4134f9606e
|
remove bolding from bullet point output
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-23 07:47:38 -07:00 |
|
Meredith Lancaster
|
5f6e720a50
|
reorder policy enforcement criteria print out
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-22 13:27:56 -07:00 |
|
Meredith Lancaster
|
2ec70a5dc3
|
bold bullet point list header text
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2025-01-22 13:22:45 -07:00 |
|