Opt-out Preferences

We use third-party cookies that help us analyze how you use this website, store your preferences, and provide the content and advertisements that are relevant to you. However, you can opt out of these cookies by checking "Do Not Sell or Share My Personal Information" and clicking the "Save My Preferences" button. Once you opt out, you can opt in again at any time by unchecking "Do Not Sell or Share My Personal Information" and clicking the "Save My Preferences" button.

Do Not Sell or Share My Personal Information

Schema block

This documentation is for a previous version of Cerbos. Choose 0.40.0 from the version picker at the top right or navigate to https://docs.cerbos.dev for the latest version.

See Schemas for more information about schemas.

Enforcement

enforcement can be set to one of the following three values:

  • none: Do not validate requests using schemas

  • warn: Validate requests and log warnings when there are validation failures

  • reject: Deny the request if it fails validation

schema:
  enforcement: reject
yaml