Harry Pike
10/19/2023, 10:12 AMoguzhan
Harry Pike
10/19/2023, 10:36 AMoguzhan
file
backend and ingesting the logs into a log indexer.Harry Pike
10/19/2023, 10:43 AMoguzhan
decision log
entry. (It looks like this in the `cerbosctl decisions`(ref), which uses the Admin API
behind-the-scenes.oguzhan
{
"callId": "01GQPJQJ66STBED5B35VJ8X4RA",
"timestamp": "2023-01-26T08:22:27.803937Z",
"peer": {
"address": "127.0.0.1:61619",
"userAgent": "...",
"forwardedFor": "127.0.0.1"
},
"checkResources": {
"inputs": [
{
"requestId": "1",
"resource": {
"kind": "student-management",
"policyVersion": "default",
"id": "XX125"
},
"principal": {
"id": "john",
"policyVersion": "default",
"roles": [
"user"
]
},
"actions": [
"read",
"delete"
]
}
],
"outputs": [
{
"requestId": "1",
"resourceId": "XX125",
"actions": {
"delete": {
"effect": "EFFECT_DENY",
"policy": "NO_MATCH"
},
"read": {
"effect": "EFFECT_DENY",
"policy": "NO_MATCH"
}
}
}
]
}
}
Harry Pike
10/19/2023, 10:57 AMoguzhan