keerthi kiran
12/04/2021, 9:59 AMAlex Olivier (Cerbos)
Emre (Cerbos)
Alex Olivier (Cerbos)
{
"requestId": "c2db17b8-4f9f-4fb1-acfd-9162a02be42b",
"actions": [
"view:public",
"comment"
],
"principal": {
"id": "bugs_bunny",
"policyVersion": "default",
"roles": [
"user"
],
"attr": {
"beta_tester": true
}
},
"resource": {
"kind": "album:object",
"policyVersion": "default",
"instances": {
"XX125": {
"attr": {
"owner": "bugs_bunny",
"public": false,
"flagged": false
}
},
"XX225": {
"attr": {
"owner": "daffy_duck",
"public": true,
"flagged": false
}
}
}
},
"includeMeta": false
}
Alex Olivier (Cerbos)
C/dump/cerbos-quickstart/policies
do you see the example policies from the guide?Alex Olivier (Cerbos)
EFFECT_DENY
is to set "includeMeta": true
in the request. This will return which policies matched - if none show up then I suspect there is something going on with mounting the host directory into /policies
in the containerCharith (Cerbos)
C
in the volume mount point? Does this work?
docker run --rm --name cerbos -d -v C:\dump\cerbos-quickstart\policies:/policies -p 3592:3592 <http://ghcr.io/cerbos/cerbos:0.10.0|ghcr.io/cerbos/cerbos:0.10.0>
Charith (Cerbos)
/c/dump/cerbos-quickstart/policies:/policies
. I don't have a Windows machine to test it though.keerthi kiran
12/04/2021, 8:19 PMJesum Yip
12/15/2021, 1:03 PMCharith (Cerbos)
Jesum Yip
12/15/2021, 1:13 PMCharith (Cerbos)
resource.kind
).Jesum Yip
12/18/2021, 2:42 PMJesum Yip
12/18/2021, 2:43 PMJesum Yip
12/18/2021, 2:43 PMJesum Yip
12/18/2021, 2:44 PMJesum Yip
12/18/2021, 8:54 PMCharith (Cerbos)