fortigate_exporter icon indicating copy to clipboard operation
fortigate_exporter copied to clipboard

Policy Hit (Blocked/Allowed) Metric

Open Randommmm opened this issue 1 year ago • 2 comments

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.

Randommmm avatar Nov 06 '23 02:11 Randommmm

Hello,

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

lazyb0nes avatar Nov 26 '23 09:11 lazyb0nes

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 !

Randommmm avatar Nov 26 '23 23:11 Randommmm