CtrlK
BlogDocsLog inGet started
Tessl Logo

nitinjain999/platform-skills

Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.

67

Quality

84%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

README.mdexamples/opa/

Status: Stable

OPA / Conftest Examples

Production-ready Rego policies with unit tests, Regal lint config, and Conftest integration.

Examples

ExampleTypeDescription
conftest/Conftest + TerraformS3 encryption and ACL policies with full test suite

Usage

# Install tools
brew install conftest
brew install styrainc/packages/regal

# 1. Check formatting
conftest fmt ./conftest/policies/*.rego --check

# 2. Lint with Regal
regal lint ./conftest/policies

# 3. Run unit tests
conftest verify --policy ./conftest/policies

# 4. Run integration test against sample Terraform
conftest test --policy ./conftest/policies --namespace terraform.s3 ./conftest/tests/main.tf

See Also

  • references/opa.md — Rego v1 syntax, rule types, input shapes, testing, Conftest CLI, Regal, GitHub Actions integration
  • /platform-skills:opa — generate policies, write tests, run validation pipeline, explain or debug Rego

examples

BEFORE_AFTER.md

CHANGELOG.md

CODE_OF_CONDUCT.md

COMMANDS.md

CONTRIBUTING.md

EDITOR_INTEGRATIONS.md

GETTING_STARTED.md

HOW_IT_WORKS.md

install.sh

INSTALLATION.md

LAUNCH.md

PROMPTS.md

QUICKSTART.md

README.md

renovate.json

SECURITY.md

SKILL.md

tessl.json

tile.json