opa-scorecard
opa-scorecard copied to clipboard
Configure Log Level and K8S scrape interval for violations
Hey there,
first: thanks for this great project, we use it in an Azure Kubernetes Service cluster to provide our customers a Grafana dashboard for their policy violations.
One thing we observed: It generates quite a lot of logs. In a dev cluster we have 3.000.000 lines per day for the different policies.
We created a ServiceMonitor to scrape the /metrics
endpoint every 5 minutes. Nevertheless the app is querying the K8S API Server for violations every 10 seconds (and logs it to stdout).
We can update the start command to send the output for /dev/null but it would be great to have a configuration about the
- K8S API scrape interval
- and / or log level of the generated messages
wdyt?