Background
jordigilh/kubernaut added a new input.action_type field to the AIAnalysis Rego approval-policy input schema (tracks kubernaut#247, documented as BR-AI-085 FR-AI-085-006). This enables approval policies to require human approval for infrastructure-provisioning action types (e.g. ProvisionNode), independent of input.remediation_target.kind (which reflects the LLM-observed source workload, not necessarily the infrastructure being provisioned).
Request
docs/user-guide/rego-reference.md documents the full input.* schema (currently including input.remediation_target.*, e.g. lines ~309-312) and example policies. Please add:
- A new row to the input-schema table for
input.action_type (string, the catalog action type selected for remediation, e.g. ScaleReplicas, ProvisionNode).
- An example policy showing an
is_infrastructure_action rule gating on input.action_type == "ProvisionNode", mirroring how is_sensitive_resource (kind-based) is already documented.
References
- kubernaut#247 (the code change)
- kubernaut
docs/requirements/BR-AI-085-rego-policy-input-schema.md, FR-AI-085-006 (the schema/rule addition)
Background
jordigilh/kubernautadded a newinput.action_typefield to the AIAnalysis Rego approval-policy input schema (tracks kubernaut#247, documented asBR-AI-085FR-AI-085-006). This enables approval policies to require human approval for infrastructure-provisioning action types (e.g.ProvisionNode), independent ofinput.remediation_target.kind(which reflects the LLM-observed source workload, not necessarily the infrastructure being provisioned).Request
docs/user-guide/rego-reference.mddocuments the fullinput.*schema (currently includinginput.remediation_target.*, e.g. lines ~309-312) and example policies. Please add:input.action_type(string, the catalog action type selected for remediation, e.g.ScaleReplicas,ProvisionNode).is_infrastructure_actionrule gating oninput.action_type == "ProvisionNode", mirroring howis_sensitive_resource(kind-based) is already documented.References
docs/requirements/BR-AI-085-rego-policy-input-schema.md, FR-AI-085-006 (the schema/rule addition)