API for downloading security events

I’m on the Pro plan so I’m only able to view the security events up to 24 hours ago. Does Cloudflare provide API for me to export the events programmatically?

Hi,

You can use the GraphQL API to query firewall events.

There’s also a ready script to do so developed by @eva2000 that may make your life easier.

2 Likes