Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Latest commit

 

History

History
84 lines (52 loc) · 2.71 KB

File metadata and controls

84 lines (52 loc) · 2.71 KB

Kubernetes Policy Report API

NOTE: The Policy Report API is now part of the OpenReports Project. This repo will be archived.

Concepts

The API provides a ClusterPolicyReport and its namespaced variant PolicyReport.

Each PolicyReport contains a set of results and a summary. Each result contains attributes such as the source policy and rule name, severity, timestamp, and the resource.

Reference

Demonstration

Typically the Policy Report API is installed and managed by a producer. However, to try out the API in a test cluster you can follow the steps below:

  1. Add Policy Report API CRDs to your cluster (v1beta2):
kubectl create -f crd/v1beta2/
  1. Create a sample policy report resource:
kubectl create -f samples/sample-cis-k8s.yaml
  1. View policy report resources:
kubectl get policyreports

Implementations

The following is a list of projects that produce or consume policy reports:

(To add your project, please create a pull request.)

Producers

Consumers

Building

make all

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Historical References

See the proposal for background and details.