Matheus Cabral
11/07/2024, 7:03 PMCharith (Cerbos)
GetPolicy
RPC just takes a list of policy IDs. A scoped policy ID looks like <kind>.<name>.v<version>/<scope>
if you're using any of the database stores. If you're using a disk store, the ID is the name of the policy file. You can do a ListPolicies
call or use cerbosctl get
to list your policies and figure out their IDs.