Hands-on OPA lab starters for EnforceAuth University.
These are the learner-facing starters only. Solutions are not published. Iterate until opa test is green.
Install the OPA CLI:
# macOS (Homebrew)
brew install opa
# Or download a release binary from GitHub
# https://github.com/open-policy-agent/opa/releasesConfirm with opa version.
git clone https://github.com/EnforceAuth/university-labs.git
cd university-labsEach course lives under courses/<course-id>/. From the repo root:
opa test courses/foundations-authorization-gap -vStarter policies ship intentionally incomplete (red). Implement the # TODO(learner) blocks until the suite is green.
courses/assess-with-zift/courses/authzen-pdp-integration/courses/capstone-four-product-fabric/courses/decision-logs-and-compliance-evidence/courses/defend-with-verdict/courses/evaluate-with-herald/courses/foundations-authorization-gap/courses/getting-started-writ-control-plane/courses/govern-with-writ/courses/migrating-to-enforceauth/courses/opa-eopa-fundamentals/courses/policy-lifecycle-build-promote-rollback/courses/reference-architectures/courses/reference-hello-authorization/
Lab context, lessons, and the rest of the curriculum live on the University site:
https://university.enforceauth.dev
Apache License 2.0. See LICENSE.