Cerbos JavaScript SDK
    Preparing search index...

    Interface PolicyStoreIntegrityViolation

    Details of a violation of the policy store's integrity caused by attempting to disable or delete a policy.

    interface PolicyStoreIntegrityViolation {
        breaksScopeChain:
            | PolicyStoreIntegrityViolationBreaksScopeChain
            | undefined;
        requiredByOtherPolicies: | PolicyStoreIntegrityViolationRequiredByOtherPolicies
        | undefined;
    }
    Index

    Properties

    breaksScopeChain: PolicyStoreIntegrityViolationBreaksScopeChain | undefined

    Disabling or deleting the policy breaks the scope chain.

    requiredByOtherPolicies:
        | PolicyStoreIntegrityViolationRequiredByOtherPolicies
        | undefined

    The policy cannot be disabled or deleted because it is required by other policies.