In the Cloudflare Access dashboard, I can see an event log with entries such as
{
"user_email": "j******@*********.com",
"ip_address": "103.xxx.xxx.xxx",
"app_uid": "12345678-1234-5678-abcd-12345678",
"app_domain": "********.*******.com",
"action": "login",
"connection": "google",
"allowed": true,
"created_at": "2020-03-03T10:09:59Z",
"ray_id": "55555555555555555"
}
Is there some way to access these events via the Cloudflare API? I would like to build a system that reacts to these events by e.g. sending a user an email on their first login to a specific app, or when a new user tries to sign in for an app but is getting rejected, etc.
Even better would be if there is a way to setup a webhook, so I don’t have to poll an API to get the events.
Cheers,
Jan