Skip to content

feat: PolicyReport output + roadmap v2 with milestones - #39

Merged
rrskris merged 1 commit into
mainfrom
feat/policyreport-output
Jul 12, 2026
Merged

rrskris merged 1 commit into
mainfrom
feat/policyreport-output

Conversation

@rrskris

@rrskris rrskris commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

The WP5 centerpiece — Kaaval now speaks the Kubernetes policy ecosystem's native format:

  • --output policyreport emits wgpolicyk8s.io/v1alpha2 PolicyReport (per namespace) + ClusterPolicyReport documents; contextual score, remediation, and CIS refs travel in properties
  • Live-verified in kind: API server accepted the documents against the real wg-policy CRDs, and policy-reporter consumed them (sources: ["Kaaval"], all findings counted)
  • Read-only contract intact: Kaaval emits, the pipeline applies
  • ROADMAP v2: all items issue-linked and milestoned (v1.2/v1.3/v2.0) + "How this ladders to CNCF" section; issues CronJob manifest for scheduled in-cluster scans #33–Argo CD / Flux 'verify after deploy' recipe using PolicyReport output #38 filed
  • Ecosystem-interfaces diagram in architecture.md; PolicyReport docs in ci-integration.md

🤖 Generated with Claude Code

Findings now emit as Kubernetes Policy WG standard documents
(--output policyreport, wgpolicyk8s.io/v1alpha2): one PolicyReport per
namespace + one ClusterPolicyReport for cluster-scoped findings, each
result carrying contextual score, remediation, and CIS refs in
properties (string-valued per the CRD schema). Kaaval only emits; the
caller applies - the scanner's read-only contract is untouched.

Live-verified: applied against the real wg-policy CRDs in kind
(API-server schema validation) and consumed by policy-reporter, which
lists source 'Kaaval' with all findings.

Also:
- ROADMAP v2: every item linked to a labeled issue + GitHub milestone
  (v1.2 pipeline reach / v1.3 more sources / v2.0 differentiators),
  new 'How this ladders to CNCF' section
- architecture.md: ecosystem-interfaces diagram (standards in/out)
- ci-integration.md: PolicyReport usage section
- new issues #33-#38 filed and milestoned; README feature bullet;
  CHANGELOG entry

44/44 tests (new: PolicyReport shape test against the CRD enums).

Signed-off-by: Vamshi Krishna Santhapuri <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Vamshi Krishna Santhapuri <[email protected]>
@rrskris
rrskris merged commit 860f9bd into main Jul 12, 2026
6 checks passed
@rrskris
rrskris deleted the feat/policyreport-output branch July 12, 2026 06:01
@rrskris rrskris mentioned this pull request Jul 12, 2026
5 of 11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant