Skip to content

Feature: AST-based CEL Parser & Plain-English Explainer #1224

Description

@Rucha0901

Problem Statement

Kyverno v2 relies heavily on CEL for validation. CEL expressions can get incredibly complex. Simply displaying the CEL string is not user-friendly in the policy detail views.

Proposed Solution

Build a lightweight parser in TypeScript that converts Kyverno CEL expressions into an Abstract Syntax Tree (AST), and write a recursive function that traverses this AST to generate a readable, plain-English sentence. Integrate this into the Kyverno policy detail views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions