Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kwctl: support running policy groups #967

Open
flavio opened this issue Nov 4, 2024 · 0 comments
Open

kwctl: support running policy groups #967

flavio opened this issue Nov 4, 2024 · 0 comments
Milestone

Comments

@flavio
Copy link
Member

flavio commented Nov 4, 2024

Instead of creating a separate command for policy groups, we could add a new flag to the run command that takes a CRD as an input. e.g. kwctl run --crd policy_group.yaml or kwct run --crd policy.yaml
The supported CRD are all the policies CRD, including policy groups.

Prerequisite: We need to move the expression evaluation logic from the policy server crate to the policy evaluator crate.

This is a follow up of #906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant