Cerbos JavaScript SDK
    Preparing search index...

    Interface InspectPoliciesRequest

    interface InspectPoliciesRequest {
        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?

    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.

    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.

    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.