5 open-source Rego policies encoding frameworks/privacy/iso27701 policies. Apache 2.0, Rego v1, ready to load into OPA or Enterprise OPA.
5 Rego policy files encoding frameworks/privacy/iso27701 policies, part of the Rego Policy Libraries — a standalone, dependency-free collection of Open Policy Agent policies for published security and compliance standards. No orchestrator, no agent, no vendor runtime.
git clone https://github.com/ynotbhatc/rego_policy_libraries.git
opa eval -d rego_policy_libraries/frameworks/privacy/iso27701 -f pretty 'data'
Or load into a running OPA:
for f in rego_policy_libraries/frameworks/privacy/iso27701/*.rego; do
curl -X PUT --data-binary @"$f" "$OPA/v1/policies/$(basename $f .rego)"
done
Gating a change of state — evaluate a proposed action before it proceeds, and refuse it if it violates the standard. Measuring state — evaluate collected facts about an environment against the standard to produce compliance evidence. The same policy content serves both; only the integration differs.
iso27701_data_subject_rights.rego iso27701.data_subject_rightsiso27701_main.rego iso27701.mainiso27701_pii_controller.rego iso27701.pii_controlleriso27701_pii_processor.rego iso27701.pii_processoriso27701_pims_requirements.rego iso27701.pims_requirementsTest coverage is published in
COVERAGE.md, and uncovered policies are the best
first contribution — each is small, self-contained, and either passes
opa test or does not. See
CONTRIBUTING.md.