https://cerbos.dev logo
#help
Title
# help
m

Mesh Test 1

09/11/2023, 9:16 AM
Is there a way to see the data model of cerbos?
o

oguzhan

09/11/2023, 9:20 AM
Hi @Mesh Test 1, What do you mean by data model?
m

Mesh Test 1

09/11/2023, 9:20 AM
How does cerbos store the rules for evaluation?
o

oguzhan

09/11/2023, 9:28 AM
Cerbos policies could be stored in different types of stores (disk, postgres, blob, etc). When it is time to evaluate them, the policies are compiled into Runnable Policy Set and then evaluated with the code written here.
m

Mesh Test 1

09/11/2023, 9:29 AM
oh ok, thanks
cerbie 1
Do we have the structure how it's stored in postgres or any database?
o

oguzhan

09/11/2023, 5:58 PM
It is available in the storage docs for each db store; As an example see postgres schema: https://docs.cerbos.dev/cerbos/latest/configuration/storage.html#postgres-schema
m

Mesh Test 1

09/11/2023, 6:04 PM
thanks