include missing fields

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2024-03-04 10:21:16 -07:00
parent fe5d85e169
commit a340e9b33c
2 changed files with 2 additions and 0 deletions

View file

@ -20,6 +20,7 @@ func TestBuildPolicy(t *testing.T) {
opts := &Options{
ArtifactPath: artifactPath,
OIDCIssuer: GitHubOIDCIssuer,
Owner: "sigstore",
SANRegex: "^https://github.com/sigstore/",
}

View file

@ -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,