Hi team, I’ve noticed some strange behavior with t...
# ask-a-descoper
a
Hi team, I’ve noticed some strange behavior with the
AccessKeyCreated
audit event. When I create an access key (via a curl command) scoped to a tenant, the Access Keys table correctly shows the specified tenant under the “Tenants” column. However, the corresponding audit event that gets created contains an empty
"Tenants"
array - I see an empty value under the column “Tenants” value empty. This leads to unexpected behavior on our side when we try to fetch audit events scoped to specific tenants. I can think of a workaround - calling the Descope API to describe the access key and infer the associated tenant - but that seems a bit messy. What do you think? Is this the expected behavior by design?
a
let me check this
🙌 1
Lopping in @Meir Wahnon @Reuven Zabirov here I was able to reproduce this at my end as well You can see i associated the key with a tenant but in the audit log table the tenant field is empty
a
exactly
r
we will look into this are report back
🙏 1
a
@Reuven Zabirov Do you have an ETA for this? I want to know whether we should implement a workaround on our end in the meantime 🤔
r
We are looking to fix this in the next week or so, no exact ETA. If you need a solution ASAP i would suggest implementing a workaround, what do have in mind?
a
For each audit event, I will call decope access key description with the access key id and look for the tenants..
r
Hmmmm, that can work. We can revert back in a week or so
We will keep you posted
a
Ok thanks