From a340e9b33c20fc6103d1ada7c3ffdc5bfdf167b7 Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Mon, 4 Mar 2024 10:21:16 -0700 Subject: [PATCH] include missing fields Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/verify/policy_test.go | 1 + pkg/cmd/attestation/verify/verify.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/cmd/attestation/verify/policy_test.go b/pkg/cmd/attestation/verify/policy_test.go index a7e3faf22..c489d4548 100644 --- a/pkg/cmd/attestation/verify/policy_test.go +++ b/pkg/cmd/attestation/verify/policy_test.go @@ -20,6 +20,7 @@ func TestBuildPolicy(t *testing.T) { opts := &Options{ ArtifactPath: artifactPath, + OIDCIssuer: GitHubOIDCIssuer, Owner: "sigstore", SANRegex: "^https://github.com/sigstore/", } diff --git a/pkg/cmd/attestation/verify/verify.go b/pkg/cmd/attestation/verify/verify.go index 3a9a47f41..5eeb131a4 100644 --- a/pkg/cmd/attestation/verify/verify.go +++ b/pkg/cmd/attestation/verify/verify.go @@ -137,6 +137,7 @@ func RunVerify(opts *Options) error { c := verification.FetchAttestationsConfig{ APIClient: opts.APIClient, + BundlePath: opts.BundlePath, Digest: artifact.DigestWithAlg(), Limit: opts.Limit, Owner: opts.Owner,