Skip to content

Demo policy showing how to write a raw OPA validating policy

License

Notifications You must be signed in to change notification settings

kubewarden/raw-validation-opa-policy

Repository files navigation

Kubewarden Policy Repository Stable

Kubewarden policy raw-validation-opa-policy

Description

This is an OPA test policy that validates a raw request.

It accepts a raw request that contains a user field with the value: "tonio". It rejects all the other requests.

Settings

This policy has no configurable settings.