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 Jan 29, 2024
1 parent 64c70bc commit a7a43aa
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 @@ -199,7 +199,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 a7a43aa

Please sign in to comment.