Cerbos JavaScript SDK
    Preparing search index...

    Interface ListPoliciesRequest

    interface ListPoliciesRequest {
        ids?: string[];
        includeDisabled?: boolean;
        nameRegexp?: string;
        scopeRegexp?: string;
        versionRegexp?: string;
    }
    Index

    Properties

    ids?: string[]

    Only include policies with the given IDs.

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

    undefined

    includeDisabled?: boolean

    Include disabled policies in the list?

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

    false

    nameRegexp?: string

    Only include policies with a name matching the given regular expression.

    Regular expressions must use the RE2 syntax. Note that backreferences are not supported.

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

    scopeRegexp?: string

    Only include policies with a scope matching the given regular expression.

    Regular expressions must use the RE2 syntax. Note that backreferences are not supported.

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

    versionRegexp?: string

    Only include policies with a version matching the given regular expression.

    Regular expressions must use the RE2 syntax. Note that backreferences are not supported.

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