I have a basic question. In <https://docs.cerbos.d...
# help
j
I have a basic question. In https://docs.cerbos.dev/cerbos/latest/api/index.html, I see the image below. What is the point of #8? How is it used? It is a required item to be submitted to the Cerbos API, but putting any value into it doesn't change any of the Cerbos responses.
d
The request can contain multiple resources, so the response will contain multiple decisions. The resource ID helps to identify the decision for the given resource.
j
Aaaaah! tq tq. Is this documented somewhere?
d
Do you mean the “multiple resources” part?
j
if i look here https://docs.cerbos.dev/cerbos/latest/api/index.html it isn't immediately obvious in the "Response" part of the documentation that the multiple resources part is how the ID is used.
Yes, I mean the "multiple resources" part.
d
I see.
Recently we deprecated
CheckResourceSet (/api/check)
in favour of
CheckResources (/api/check/resources)
which accepts multiple resources.
j
I see. It's time to upgrade my Cerbos deployment
I also see now you have the a sidecar deployment option. This is good.
The "centralized" concept here isn't having a centralized Cerbos deployment, but having a centralized git repo for all policies.
👍 1
d
Yes, I think so (git or other kinds of storage)