Fail2ban/CLoudflare configuration

I added my Cloudflare IP API key and I want to make sure if the below code is the correct way to enforce it

[recidive]
enabled = true
filter = recidive
action = hestia[name=RECIDIVE]
cloudflare-apiv4
iptables-allports
logpath = /var/log/fail2ban.log
maxretry = 5
findtime = 86400
bantime = 600

Thank you