RiskAcceptanceApprovalVerifier typedef

RiskAcceptanceApprovalVerifier = bool Function(Map<Object?, Object?> approval, Map<Object?, Object?> record)

Validates one approval against an external trust/attestation source.

A YAML record cannot authenticate itself. Callers that have verified a signature or CI identity may provide that verification here; callers that do not have such a source must leave it null and the result stays unauthenticated.

Implementation

typedef RiskAcceptanceApprovalVerifier =
    bool Function(Map<Object?, Object?> approval, Map<Object?, Object?> record);