Currently, poctl supports analyzing ServiceMonitors and the Prometheus Operator to ensure that objects comply with a set of rules. It would be great to extend this capability to Prometheus objects as well, allowing us to apply rules such as:
Verify if Prometheus RBAC is correctly configured.
Check if Prometheus is selecting monitoring objects, such as Pods, ServiceMonitors, and ScrapeConfigs, if any exist.
Ensure Prometheus is selecting rules if they exist.
Currently,
poctl
supports analyzing ServiceMonitors and the Prometheus Operator to ensure that objects comply with a set of rules. It would be great to extend this capability to Prometheus objects as well, allowing us to apply rules such as: