Cerbos JavaScript SDK
    Preparing search index...

    Interface Output

    User-defined output to be produced when evaluating a policy rule.

    interface Output {
        expr?: string;
        when?: OutputExpressions;
    }
    Index

    Properties

    Properties

    expr?: string

    A Common Expression Language expression to evaluate when the policy rule is fully activated (action, roles, and derived roles match, and condition is met).

    Use when instead.

    Common Expression Language expressions to evaluate.

    Requires the Cerbos policy decision point server to be at least v0.33.