We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef10fa1 commit a5c4d4dCopy full SHA for a5c4d4d
1 file changed
app/cli/pkg/action/attestation_status.go
@@ -93,6 +93,9 @@ func NewAttestationStatus(cfg *AttestationStatusOpts) (*AttestationStatus, error
93
}, nil
94
}
95
96
+// WithSkipPolicyEvaluation skips re-evaluating policies against the attestation statement.
97
+// Existing policy evaluations already stored in the crafting state (e.g. from material additions)
98
+// will still be included in the result.
99
func WithSkipPolicyEvaluation() func(*AttestationStatus) {
100
return func(opts *AttestationStatus) {
101
opts.skipPolicyEvaluation = true
0 commit comments