Cerbos JavaScript SDK
    Preparing search index...

    Interface InspectedVariable

    Details of a variable referenced by a policy.

    interface InspectedVariable {
        definition: string | undefined;
        kind: InspectedVariableKind;
        name: string;
        source: string | undefined;
        used: boolean;
    }
    Index

    Properties

    definition: string | undefined

    Definition of the variable, if known.

    Kind of the variable.

    name: string

    Name of the variable.

    source: string | undefined

    Source of the variable, if it was imported.

    used: boolean

    Whether the variable is used in a policy condition.