Skip to content

CE-3000: Export IOC counts per network

Domonkos Gulyas requested to merge CE-3000_Export-IOC-counts-per-network into develop

Since the deployment of IOCs across different networks can change continuously, we need to add metrics dynamically.

We update these metrics every 2 minutes as well (just like with other calculations that require NetBox and Prometheus calls).

All deployed IOC metric looks like:

ce_ioc_count{network="~*",status="deployed",} 1970.0

All active IOC metric looks like:

ce_ioc_count{network="~*",status="active",} 1711.0

All not deployed IOC metric looks like (Had to add "-" as a network, otherwise it wouldn't appear in the metrics because its tag list didn't match with the others):

ce_ioc_count{network="-",status="not-deployed",} 271.0

Closes CE-3000

Merge request reports