Schema block

This documentation is for an as-yet unreleased version of Cerbos. Choose 0.35.1 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