Kyverno Policy Reporter is designed for working with Kyverno policy results: PolicyReports. It also supports Kube Bench, Trivy, jsPolicy, and Falco. Kyverno Policy Reporter can visualize results in a graphical view. For long-term storage or further uploading to the SIEM system, results can be exported to external storage, such as Yandex Object Storage (S3) or Yandex Data Streams.
To use Kyverno Policy Reporter, install Kyverno or another product that supports writing results to wg-policy-prototypes.
-
To export policy results, set up external storage:
-
Object Storage:
-
Create a service account with the
storage.uploader
role required to access Object Storage:yc iam service-account create --name <service account name>
-
Create a static access key for the service account in JSON format and save it to the
sa-key.json
file:yc iam access-key create \ --service-account-name=<service account name> \ --format=json > sa-key.json
-
-
Data Streams:
-
-
Configure Kyverno Policy Reporter:
-
Namespace: Select a namespace or create a new one.
-
Application name: Enter a name for the application.
-
Cluster ID: Select a Managed Service for Kubernetes cluster from the list.
-
Install Policy Reporter UI: Enable to install the Policy Reporter UI component for displaying results in a graphical view.
-
Export to Object Storage: Enable to export results to Object Storage. You also need to fill in the additional fields:
- Object Storage bucket name: Specify the name of the bucket in Object Storage.
- Object Storage static access key: Copy the contents of the
sa-key.json
file or create a new access key for the service account. The service account must have thestorage.uploader
role.
-
Export to Data Streams: Enable to export results to Data Streams. You also need to fill in the additional fields:
- Stream endpoint: Specify the endpoint of the stream in Data Streams.
- Stream name: Specify the name of the stream in Data Streams.
-
-
Click Install.
-
Wait for the application to change its status to
Deployed
.
To check that Kyverno Policy Reporter is working, connect to Policy Reporter UI to analyze and visualize PolicyReports and make sure that data is being received in Object Storage or Data Streams.
Yandex Cloud technical support is available 24/7. The types of requests available and their response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.
Helm chart | Version | Pull-command | Documentation |
---|---|---|---|
policy-reporter | 2.13.11 | Open |
Docker image | Version | Pull-command |
---|---|---|
kyverno/policy-reporter | 2.10.4 | |
kyverno/policy-reporter-ui | 1.6.7 | |
kyverno/policy-reporter-kyverno-plugin | 1.4.2 |