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