Is there a way to see the data model of cerbos?
# help
m
Is there a way to see the data model of cerbos?
o
Hi @Mesh Test 1, What do you mean by data model?
m
How does cerbos store the rules for evaluation?
o
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
oh ok, thanks
cerbie 1
Do we have the structure how it's stored in postgres or any database?
o
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
thanks