Skip to content
Projects

kyverno/policy-reporter

View on GitHub

About

Monitoring and observability tool for the PolicyReport CRD, with an optional UI.

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-1
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Policy Reporter 3.x

CI Artifact Hub Coverage Status

Screenshot Policy Reporter UI v2

Documentation

The documentation for Policy Reporter v3 can be found here: https://kyverno.github.io/policy-reporter-docs/

Getting Started

Installation with Helm v3

Installation via Helm Repository

Add the Helm repository

helm repo add policy-reporter https://kyverno.github.io/policy-reporter
helm repo update

Installation with Policy Reporter UI and Kyverno Plugin enabled

helm install policy-reporter policy-reporter/policy-reporter --create-namespace -n policy-reporter --set ui.enabled=true --set kyverno-plugin.enabled=true
kubectl port-forward service/policy-reporter-ui 8082:8080 -n policy-reporter

Open http://localhost:8082/ in your browser.

Report informer resync

The reportResyncPeriod setting controls how often the PolicyReport and OpenReports informers reprocess locally cached reports. The default is 15m. For example, set the following in the application configuration or Helm values to reprocess reports every twelve hours:

reportResyncPeriod: "12h"

Set reportResyncPeriod: "0" to disable local periodic resync, or use policyreporter run --report-resync-period=0. Negative and invalid durations are rejected. Initial loading, watches, and watch recovery remain active; disabling resync removes periodic retries for unchanged reports after queue retries have been exhausted.

This setting does not control the Secret or TargetConfig informers. It is independent of periodicSync, which clears the result cache and restarts report informers. Local resync does not clear result deduplication, so a twelve-hour resync does not by itself export a complete snapshot every twelve hours.

Explore related projects

Loading…