Rego

Rego v1 (OPA 1.x, pinned at OPA v1.21.1): write, test and review Open Policy Agent policies in Rego and call them through OPA's documented interfaces. Covers modules, packages and imports; complete, partial set, partial object, default, else and function rules; the if, contains, in, every, some, not and with keywords, opt-in and/or and improved not; comprehensions; verified built-ins; the input and data documents; opa test with mocking through with; opa check, strict mode, opa fmt and capabilities; bundles, .manifest roots, rego_version and signing; the /v1/data Data API; rule indexing and early exit; and deny-by-default authorization. Use when writing or reviewing .rego files, an allow or deny rule, a policy test, an OPA bundle or a decision call. Triggers: Rego, OPA, Open Policy Agent, policy as code, opa eval, opa test, opa build, POST /v1/data, rego.v1, future.keywords. Targets Rego v1 (OPA 1.x), upgrades from Rego v0 (OPA 0.x) with opa fmt --v0-v1, and tracks the unreleased import rego.v2 as a preview.

ScaleDockHQ Updated

File contents

ScaleDockHQ/scaledock-skills commit bac2ef0b58

Frequently asked questions

npx get-skill add scaledockhq/rego