---
title: "#opa articles | Hashnode"
description: "Explore 20 articles tagged #opa on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/opa"
---

Tag

# #opa

20 posts · 2 followers

[Victor Okoroafor](https://hashnode.com/@okoroaforvic) · [Oct 19](https://hashnode.com/posts/my-policy-as-code-check-passed-it-never-read-the-policy/6ad6331c05021c07d6ffdb4e)

### [My Policy-as-Code Check Passed. It Never Read the Policy.](https://victorokoroafor.hashnode.dev/my-policy-as-code-check-passed-it-never-read-the-policy?utm_source=hashnode&utm_medium=feed)

In my last post, I showed how OPA and Conftest block over-privileged IAM roles before anything gets deployed. I ended with a warning: there's a case where the check passes when it shouldn't. This is t

6 min read · [victorokoroafor.hashnode.dev](https://victorokoroafor.hashnode.dev/my-policy-as-code-check-passed-it-never-read-the-policy?utm_source=hashnode&utm_medium=feed)

[Debashish Ghosal](https://hashnode.com/@deghosal) · [Aug 13](https://hashnode.com/posts/contextual-risk-for-agent-tool-calls-a-4-state-permission-engine-field-tested-across-10-frameworks/6a7d6ad1ade5b2226985db01)

### [Contextual Risk for Agent Tool Calls: A 4-State Permission Engine Field-Tested Across 10 Frameworks](https://pragmatic-engineer.hashnode.dev/contextual-risk-for-agent-tool-calls-a-4-state-permission-engine-field-tested-across-10-frameworks?utm_source=hashnode&utm_medium=feed)

A permission engine that returns allow, audit, escalate, or deny based on runtime context, field-tested across 10 agent frameworks.

12 min read · [pragmatic-engineer.hashnode.dev](https://pragmatic-engineer.hashnode.dev/contextual-risk-for-agent-tool-calls-a-4-state-permission-engine-field-tested-across-10-frameworks?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/contextual-risk-for-agent-tool-calls-a-4-state-permission-engine-field-tested-across-10-frameworks/6a7d6ad1ade5b2226985db01)

[Mateen Anjum](https://hashnode.com/@mateenali66) · [Jul 1](https://hashnode.com/posts/provision-time-finops-with-terraform-infracost-and-opa-a-working-pr-blocking-pipeline/6a4591c6618adba8232e7b52)

### [Provision-time FinOps with Terraform, Infracost, and OPA: a working PR-blocking pipeline](https://mateenali66.hashnode.dev/provision-time-finops-with-terraform-infracost-and-opa-a-working-pr-blocking-pipeline?utm_source=hashnode&utm_medium=feed)

How to embed a hard cost cap into your infrastructure-as-code workflow, with a working OPA policy, GitHub Actions workflow, and Backstage scorecard

11 min read · [mateenali66.hashnode.dev](https://mateenali66.hashnode.dev/provision-time-finops-with-terraform-infracost-and-opa-a-working-pr-blocking-pipeline?utm_source=hashnode&utm_medium=feed)

[Nicolas](https://hashnode.com/@ndreno) · [May 7](https://hashnode.com/posts/authorization-at-the-gateway/69fc46d675a6de3d83e5c37d)

### [Authorization at the gateway: CEL and OPA for policy-driven access control](https://barbacane.hashnode.dev/authorization-at-the-gateway?utm_source=hashnode&utm_medium=feed)

Authentication tells you who someone is. Authorization tells you what they can do. Explore how Barbacane's CEL and OPA plugins bring policy-driven access control to the gateway layer, from inline expressions to centralized policy engines.

9 min read · [barbacane.hashnode.dev](https://barbacane.hashnode.dev/authorization-at-the-gateway?utm_source=hashnode&utm_medium=feed)

[Wisdom Emmanuel](https://hashnode.com/@kloudwiz) · [May 6](https://hashnode.com/posts/kloudwiz-swiftdeploy-a-declarative-cli-tool-with-opa-policy-gating-and-prometheus-observability/69fb90ed50ecad4533676a13)

### [Kloudwiz SwiftDeploy: A Declarative CLI Tool with OPA Policy Gating and Prometheus Observability](https://kloudwiz.hashnode.dev/kloudwiz-swiftdeploy-a-declarative-cli-tool-with-opa-policy-gating-and-prometheus-observability?utm_source=hashnode&utm_medium=feed)

A walkthrough of how I built a tool that writes its own infrastructure files, enforces deployment policies, and observes itself in real time.

15 min read · [kloudwiz.hashnode.dev](https://kloudwiz.hashnode.dev/kloudwiz-swiftdeploy-a-declarative-cli-tool-with-opa-policy-gating-and-prometheus-observability?utm_source=hashnode&utm_medium=feed)

[JJEMBA EMMANUEL](https://hashnode.com/@ejjemba) · [May 6](https://hashnode.com/posts/how-i-built-swiftdeploy-a-cli-tool-that-writes-its-own-infrastructure/69fadf5fa386d7f1211e4e64)

### [How I Built SwiftDeploy: A CLI Tool That Writes Its Own Infrastructure](https://swiftdeploy.hashnode.dev/how-i-built-swiftdeploy-a-cli-tool-that-writes-its-own-infrastructure?utm_source=hashnode&utm_medium=feed)

Most DevOps tutorials show you how to use infrastructure tools. This one shows you how to build one from scratch. SwiftDeploy is a CLI tool I built that manages an entire Docker stack from a single ma

6 min read · [swiftdeploy.hashnode.dev](https://swiftdeploy.hashnode.dev/how-i-built-swiftdeploy-a-cli-tool-that-writes-its-own-infrastructure?utm_source=hashnode&utm_medium=feed)

[Aguardic](https://hashnode.com/@aguardic) · [Apr 26](https://hashnode.com/posts/why-opa-and-rego-dont-work-for-ai-governance/69ee4a636018d9f094ffae86)

### [Why OPA and Rego Don't Work for AI Governance](https://aguardic.hashnode.dev/why-opa-and-rego-dont-work-for-ai-governance?utm_source=hashnode&utm_medium=feed)

OPA is excellent infrastructure policy. But AI governance requires semantic understanding, organizational context, and session-aware evaluation that a pattern-matching engine was never designed to handle. Here's where Rego breaks down — and what…

14 min read · [aguardic.hashnode.dev](https://aguardic.hashnode.dev/why-opa-and-rego-dont-work-for-ai-governance?utm_source=hashnode&utm_medium=feed)

[Kilo](https://hashnode.com/@KiloAI) · [Dec 5, 2025](https://hashnode.com/posts/rego-va-open-policy-agent-opa/69328432b7f8af4a0ecf7192)

### [Rego và Open Policy Agent (OPA)](https://kiloai.hashnode.dev/rego-va-open-policy-agent-opa?utm_source=hashnode&utm_medium=feed)

Explore Open Policy Agent (OPA) and Rego for adaptable DevSecOps policy management in Kubernetes, Terraform, and CI/CD environments

12 min read · [kiloai.hashnode.dev](https://kiloai.hashnode.dev/rego-va-open-policy-agent-opa?utm_source=hashnode&utm_medium=feed)

[Palak Bhawsar](https://hashnode.com/@palakbhawsar98) · [Sep 14, 2025](https://hashnode.com/posts/getting-started-with-open-policy-agent-opa-installation-setup-and-real-world-example/68c66ba6042172b80edb0bd7)

### [Getting Started with Open Policy Agent (OPA): Installation, Setup, and Real-World Example](https://palak-bhawsar.hashnode.dev/getting-started-with-open-policy-agent-opa-installation-setup-and-real-world-example?utm_source=hashnode&utm_medium=feed)

Learn to install and configure OPA for fine-grained policy control with real-world examples, ideal for developers integrating OPA

5 min read · [palak-bhawsar.hashnode.dev](https://palak-bhawsar.hashnode.dev/getting-started-with-open-policy-agent-opa-installation-setup-and-real-world-example?utm_source=hashnode&utm_medium=feed)

[Khanovico](https://hashnode.com/@khanovicdev) · [Sep 9, 2025](https://hashnode.com/posts/policy-as-code-ai-guardrails/68c01cf9ba1fbe4e5233a57f)

### [Policy-as-Code for AI: Versionable Guardrails for RAG & Agents](https://khanovico.ai/policy-as-code-ai-guardrails?utm_source=hashnode&utm_medium=feed)

Turn AI safety policies into code you can test and version. Model specs, OPA/Cedar rules, classifiers, CI tests, and runtime enforcement for RAG & agents.

6 min read · [khanovico.ai](https://khanovico.ai/policy-as-code-ai-guardrails?utm_source=hashnode&utm_medium=feed)
