Jesum Yip
01/16/2023, 5:11 AMJesum Yip
01/16/2023, 5:46 AM---
like a standard yaml?Jesum Yip
01/17/2023, 8:12 AMANILA SOMAN
01/19/2023, 9:31 AMANILA SOMAN
01/19/2023, 9:33 AMMaggie Walker
01/19/2023, 9:58 PMHari Krishna Sunkari
01/24/2023, 3:58 AMlocations
• User has Roles like admin, viewer, etc..
• Resource Project has attribute location
• both users and resources are dynamic, even the value of locations is bound to change.
How to create Policies in Cerbos in such a way that
• User can only access the resource if User locations
has the resource location
• User's level of access is controlled by the role of the User
Can Cerbos also help Hierarchical access , like a manager/parent of a User can access all the data that a User can manage
Thanks 🙏Vignesh Sankaran
01/24/2023, 8:28 AMVignesh Sankaran
01/24/2023, 1:15 PMVijey Deepan
01/26/2023, 6:19 AMVijey Deepan
01/27/2023, 8:24 AMcerbos: error: failed to create audit log: failed to create backend: failed to create logger: open sink "/auditlogs/audit.log": open /auditlogs/audit.log: no such file or directory
Mohan Prasath
01/28/2023, 6:07 AM/api/check/resources
API. In the policy, we defined the role CDO
can access resource dealership_referral_api
with the action read and edit
. But when we validate the request using /api/check/resources
API, sometimes we get "EFFECT_ALLOW" and sometimes we get "EFFECT_DENY". I've given the setup, configuration, and screenshot below. Kindly help me to resolve this issue.
Deployed cerbos on lambda - API Gateway URL
cerbos-config:
auxData:
jwt:
disableVerification: true
server:
adminAPI:
enabled: true
adminCredentials:
username: <USER_NAME>
passwordHash: <PASSWORD>
playgroundEnabled: true
storage:
driver: "mysql"
mysql:
dsn: "user:password@tcp(host:3306)/db_name"
Jesum Yip
01/30/2023, 2:20 AM"orgs": [
{
"org_id" : "xxxxxxxxxxxxxxxxxx",
"org_name" : "xxxxxxxxxxxxxxxxx"
},
{
"org_id" : "xxxxxxxxxxxxxxxxxx",
"org_name" : "xxxxxxxxxxxxxxxxx"
}
]
Slackbot
01/30/2023, 4:42 AMJesum Yip
01/30/2023, 8:15 AMversion
for resource policies?Jesum Yip
01/31/2023, 1:37 AMcerbos compile
with the --tests
parameter.
3. #2 completes with exit code 0 - great, everything checks out.
4. then what do you do next? in your git actions / ci, do you git clone
, git add
, git commit
, git push
to another repo / folder that the production version of cerbos is watching so that it will get the set of policies from #1?ANILA SOMAN
01/31/2023, 4:46 AMJan Kühnlein
01/31/2023, 9:08 AMVijey Deepan
02/01/2023, 5:32 AMKushagra Indurkhya
02/01/2023, 5:44 AMMaggie Walker
02/02/2023, 7:14 PMcontract
, would the best thing be to just specify accounting_contract
as one resource and label_contract
as another?Steve High (NTWRK)
02/03/2023, 6:33 PMSetup Cerbos
github action. Should I be using that? If so, how do I connect my service to it? This is probably more of a GHA question than a cerbos one 🙏Jesum Yip
02/06/2023, 1:30 AMSlackbot
02/06/2023, 7:34 AMJesum Yip
02/06/2023, 7:50 AMJesum Yip
02/06/2023, 9:02 AMHoria Constantin
02/06/2023, 7:09 PMJesum Yip
02/07/2023, 2:02 AMversion
tag attached to it?Sitruk
02/07/2023, 11:56 AM{"log.level":"info","@timestamp":"2023-02-07T11:48:27.978Z","log.logger":"cerbos.grpc","message":"Handled request","grpc.start_time":"2023-02-07T11:48:27Z","system":"grpc","span.kind":"server","grpc.service":"cerbos.svc.v1.CerbosService","grpc.method":"CheckResources","cerbos":{"call_id":"01GRNV9CPA3NP1GW..."},"peer.address":"172.25...","grpc.code":"OK","grpc.time_ms":0.125}
How can I display more explicits logsKushagra Indurkhya
02/08/2023, 6:38 AM