Question

Thanks for the help yesterday. Follow up question - are API requests logged anywhere in BC? I’m...


Badge +1

Thanks for the help yesterday. Follow up question - are API requests logged anywhere in BC? I’m getting an execution ID in my API response message. When I query for status on the execution ID I get {"status":"SUCCESS"}…but the requested gsuite action isn’t actually performed 🤔



🗨 Link to Slack thread

11 replies

Userlevel 5
Badge +2

Apologies for the delay — your API requests are logged within BetterCloud itself. Technically when you send the request to BetterCloud it’s queued up amongst all other actions. Generally this happens pretty quickly (within seconds), but it can take longer potentially. The SUCCESS you see indicates that we’ve received the request to execute the action and will process it. The action status itself can be found within BetterCloud

Userlevel 5
Badge +2

Hope this helps, let me know if you have any questions

Badge +1

Ah okay that’s really helpful, thanks. Where can I find the action status in BetterCloud?

Userlevel 5
Badge +2

check here: https://app.bettercloud.com/#/newAuditLogs

Badge +1

Oh got it. I can search by execution ID. For some reason this API token shows up as my user account - I guess because my user account created the token

Userlevel 5
Badge +2

Yep! Exactly

Badge +1

Thanks for all your help @mikestone-bettercloud

Userlevel 5
Badge +2

Sure, happy to help

Badge +1

Could I submit a feature request for these API tokens to show the token name in the log rather than the user that created the token?

Userlevel 5
Badge +2

Sure thing, you should be able to do so from features.bettercloud.com
cc: @richard-bc

Badge +1

Thanks 👍

Reply