Reactive Machines

Prose2Policy (P2P): A Practical LLM Pipeline for Translating Natural Language Accessibility Policies into Usable Rego

Prose2Policy (P2P) is a functional LLM-based tool that translates natural language access control policies (NLACPs) into executable Rego code (the Open Policy Agent policy language, OPA). It provides a modular, end-to-end pipeline that performs policy discovery, component extraction, schema validation, integration, integration, automated test generation and execution. Prose2Policy is designed to bridge the gap between human-readable access requirements and policy-as-machine-enforceable code (PaC) while emphasizing reliability and orderliness of deployment. We tested Prose2Policy on the ACRE dataset and showed a 95.3% integration rate for adopted policies, with automated testing achieving an 82.2% pass rate and a 98.9% pass rate. These results show that Prose2Policy generates robust and behaviorally consistent Rego policies suitable for Zero Trust and compliance-driven environments.

Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button