bluecmd / fortigate_exporter

Prometheus exporter for Fortigate firewalls
GNU General Public License v3.0
232 stars 72 forks source link

Policy Hit (Blocked/Allowed) Metric #253

Open Randommmm opened 11 months ago

Randommmm commented 11 months ago

Hi,

I feel like a very useful metric would be a policy hit count, but specifically for whether the connection was blocked/allowed. We can currently see how many policy hits there are, but not how many 'Policy Violations' there are.

Love the exporter, cheers.

lazyb0nes commented 10 months ago

Hello,

There is the API path /firewall/policy/{policyid} Which might be worth looking into

Randommmm commented 10 months ago

Hello,

There is the API path /firewall/policy/{policyid} Which might be worth looking into

Yes, thank you. I will have a look into it. It's a real pain that Fortinet hides all the API information behind a private portal !