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 Nov 2, 2023
1 parent 710ff19 commit 57ecdaf
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 @@ -178,7 +178,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 57ecdaf

Please sign in to comment.