Skip to content

Commit

Permalink
wip: swallow policy denied error
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailswift committed Mar 22, 2024
1 parent 415cb61 commit 93f8c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attestation/policyverify/policyverify.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (a *Attestor) Attest(ctx *attestation.AttestationContext) error {
return fmt.Errorf("failed to generate verification summary: %w", err)
}

return policyErr
return nil
}

func verificationSummaryFromResults(ctx *attestation.AttestationContext, policyEnvelope dsse.Envelope, policyResult policy.PolicyResult, accepted bool) (slsa.VerificationSummary, error) {
Expand Down

0 comments on commit 93f8c86

Please sign in to comment.