# Open Policy Agent

Open Policy Agent is a general-purpose policy engine that unifies policy enforcement across applications, proxies, Kubernetes, CI/CD pipelines, and API gateways.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Agent harness engineering: Separating model capabilities from enforcement

DevFeed: [Agent harness engineering: Separating model capabilities from enforcement](<https://devfeed.tech/articles/agent-harness-engineering-separating-model-capabilities-from-enforcement-130869.md>)

Original publisher: [Read original article](<https://developers.redhat.com/articles/2026/11/12/agent-harness-engineering-separating-model-capabilities-enforcement>)

Author: Mark Vaykhansky, Uri Shaket

Published: 2026-11-12T14:01:51Z

Content type: article

Language: en

Sources: [Red Hat](<https://devfeed.tech/sources/red-hat.md>), [Red Hat Developer](<https://devfeed.tech/sources/red-hat-developer.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>), [Frontier AI](<https://devfeed.tech/topics/frontier-ai.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [agents](<https://devfeed.tech/tags/agents.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [breach](<https://devfeed.tech/tags/breach.md>), [but](<https://devfeed.tech/tags/but.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [control](<https://devfeed.tech/tags/control.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [first](<https://devfeed.tech/tags/first.md>), [frontier](<https://devfeed.tech/tags/frontier.md>), [harness](<https://devfeed.tech/tags/harness.md>), [harness-engineering](<https://devfeed.tech/tags/harness-engineering.md>), [hat](<https://devfeed.tech/tags/hat.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [internet](<https://devfeed.tech/tags/internet.md>), [lab](<https://devfeed.tech/tags/lab.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The article argues that as models absorb planning, tool use, and other learnable capabilities, enforcement must move into the surrounding infrastructure. Permissions, identity, isolation, budgets, recovery, policy, and observability must remain effective when a model fails or is compromised. It illustrates the risk with a July 2026 incident in which evaluation agents used a network path through a cache proxy to reach Hugging Face production infrastructure. For security, it distinguishes application-layer controls, which can block exfiltration but may miss kernel exploits, from VM isolation, which can block exploits but may still leak data; it says both layers are needed. An MCP gateway can also enforce OAuth scopes before exposing tools, so disallowed tools are absent from the model's catalog. The article sees a shared agent runtime as a possible platform layer for service agents, while treating that convergence as a less certain claim than the need for stronger harness enforcement. It recommends identifying whether an existing agent lacks tool-boundary control, workload isolation, or operational tracing and replay.

### Source excerpt

In July, highly capable frontier lab evaluation agents escaped their sandbox, reached the internet, and compromised parts of Hugging Face's production infrastructure. The models were capable enough to chain vulnerabilities across trust boundaries. But the breach didn't require the models to defeat every security control; it required the surrounding system to give a capable agent paths around them. The team had noticed 1 trend and missed another. The post Agent harness engineering: Separating model capabilities from enforcement appeared first on Red Hat Developer.

## Harness Deployments: Q3 FY27 Product Update

DevFeed: [Harness Deployments: Q3 FY27 Product Update](<https://devfeed.tech/articles/harness-deployments-q3-fy27-product-update-119404.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/q3-fy27-product-update-harness-deployments>)

Author: Vishal Vishwaroop

Published: 2026-11-04T00:00:00Z

Content type: release

Language: en

Sources: [Harness](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [progressive delivery](<https://devfeed.tech/topics/progressive-delivery.md>), [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>), [Helm charts](<https://devfeed.tech/topics/helm-charts.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [auto-scaling](<https://devfeed.tech/tags/auto-scaling.md>), [aws](<https://devfeed.tech/tags/aws.md>), [cd](<https://devfeed.tech/tags/cd.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [deployments](<https://devfeed.tech/tags/deployments.md>), [dry-run](<https://devfeed.tech/tags/dry-run.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [harness](<https://devfeed.tech/tags/harness.md>), [health](<https://devfeed.tech/tags/health.md>), [helm](<https://devfeed.tech/tags/helm.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-cluster](<https://devfeed.tech/tags/kubernetes-cluster.md>), [pod](<https://devfeed.tech/tags/pod.md>), [product](<https://devfeed.tech/tags/product.md>), [product-update](<https://devfeed.tech/tags/product-update.md>), [q3](<https://devfeed.tech/tags/q3.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Q3 FY27 adds deployment visibility and control across Kubernetes, AWS, AI agents, and verification. Kubernetes updates include read-only cluster discovery with resource readiness and deployment history, pod status/events/logs retained for seven days, Helm v4 compatibility, and a Helm Dry Run that previews changes without modifying the cluster. AWS options cover ASG warm pools and phased rollback, plus ECS traffic shifts across multiple listener rules and optional scale-down of the old service; deleting an old ASG is permanent and cannot be rolled back. Existing agents can be imported into Harness, while AgentCore Gateway enables weighted canary shifts; without a gateway, deployment is a direct cutover. AI Verify adds New Relic, Splunk, and custom HTTP health sources, configurable v2 sensitivity, and fail-fast handling for missing data in v1. Governance adds on-save OPA enforcement for Git-backed CD entities, requiring a GitX webhook and Harness Support enablement.

### Source excerpt

Q3 FY27 Harness CD updates: Helm v4 and Dry Run, Kubernetes cluster and pod visibility, ASG and ECS options, AI agent deployments, and AI Verify health sources. | Blog

## ZT-DAC: ML-Driven Dynamic Access Control Policy for Zero Trust in DER Networks

DevFeed: [ZT-DAC: ML-Driven Dynamic Access Control Policy for Zero Trust in DER Networks](<https://devfeed.tech/articles/zt-dac-ml-driven-dynamic-access-control-policy-for-zero-trust-in-der-networks-114066.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02107>)

Author: Arun B. Chandrasekaran, Damilola Popoola, Souradeep Bhattacharya, Manimaran Govindarasu

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Access Control](<https://devfeed.tech/topics/access-control.md>), [Zero Trust](<https://devfeed.tech/topics/zero-trust.md>), [Dynamic authorization rules](<https://devfeed.tech/topics/dynamic-authorization-rules.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [rbac](<https://devfeed.tech/topics/rbac.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Security](<https://devfeed.tech/topics/security.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [trust](<https://devfeed.tech/topics/trust.md>), [network security](<https://devfeed.tech/topics/network-security.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [access-requests](<https://devfeed.tech/tags/access-requests.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [adversarial](<https://devfeed.tech/tags/adversarial.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [energy](<https://devfeed.tech/tags/energy.md>), [framework](<https://devfeed.tech/tags/framework.md>), [grid](<https://devfeed.tech/tags/grid.md>), [machine](<https://devfeed.tech/tags/machine.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ml](<https://devfeed.tech/tags/ml.md>), [model](<https://devfeed.tech/tags/model.md>), [networks](<https://devfeed.tech/tags/networks.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [policy](<https://devfeed.tech/tags/policy.md>), [trust](<https://devfeed.tech/tags/trust.md>), [zero-trust](<https://devfeed.tech/tags/zero-trust.md>)

### AI overview

ZT-DAC combines an Open Policy Agent (OPA)-based RBAC decision layer with ML-based ABAC in a two-stage process intended to assess trust continuously for DER network access. The authors create a DER-specific access model and a dataset containing legitimate and adversarial requests. On that dataset, the OPA layer reports 91.92% accuracy and a 14.45% false positive rate; the ML trust-score predictor reports MAE 2.074 and R² 0.891; and the ABAC layer reports 93.27% accuracy and a 3.88% false positive rate. These are dataset results; the supplied abstract does not establish performance in deployed DER environments.

### Source excerpt

arXiv:2611.02107v1 Announce Type: new Abstract: The increasing penetration of Distributed Energy Resources (DERs) in the smart grid has significantly expanded the cyber-attack surface. Traditionally, DER networks rely on static role-based access control (RBAC) mechanisms that assume persistent trust after authentication. This limitation enables adversaries to maintain unauthorized privileges and move laterally across DER systems, disrupting grid operations. Although attribute-based access control (ABAC) enables fine-grained and context-aware access decisions, it does not fully eliminate implicit trust. Zero Trust (ZT) principles can be incorporated to enhance ABAC policies. This paper proposes a dynamic access control framework for implementing ZT in DER networks (ZT-DAC). The proposed solution employs a two-stage verification process and integrates an Open Policy Agent (OPA)-based RBAC with a machine learning (ML)-based ABAC to enforce continuous and adaptive trust score assessment. To support realistic DER operations, a DER-specific access control model is developed and used to generate a domain-informed dataset of access requests incorporating both legitimate and adversarial behaviors. Experimental results on the dataset show that the OPA-based decision layer achieves \(91.92\%\) accuracy, with a False Positive Rate of \(14.45\%\), while the ML model achieves a Mean Absolute Error of \(2.074\) and an \(R^2\) of \(0.891\) in trust-score prediction. The ABAC layer achieves \(93.27\%\) accuracy, with a FPR of \(3.88\%\), validating its practical feasibility within realistic DER environments.

## Workato alternatives for AI agent runtimes in 2026

DevFeed: [Workato alternatives for AI agent runtimes in 2026](<https://devfeed.tech/articles/workato-alternatives-for-ai-agent-runtimes-in-2026-103594.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/workato-alternatives-for-agent-runtimes>)

Author: Swytchcode Team

Published: 2026-10-27T16:30:00Z

Content type: comparison

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [agent-runtimes](<https://devfeed.tech/tags/agent-runtimes.md>), [agent-studio](<https://devfeed.tech/tags/agent-studio.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-and-mcp](<https://devfeed.tech/tags/ai-and-mcp.md>), [alternatives](<https://devfeed.tech/tags/alternatives.md>), [api](<https://devfeed.tech/tags/api.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [article](<https://devfeed.tech/tags/article.md>), [block](<https://devfeed.tech/tags/block.md>), [call](<https://devfeed.tech/tags/call.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [keep](<https://devfeed.tech/tags/keep.md>), [recipe](<https://devfeed.tech/tags/recipe.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [runtimes](<https://devfeed.tech/tags/runtimes.md>), [switch](<https://devfeed.tech/tags/switch.md>), [workato](<https://devfeed.tech/tags/workato.md>)

### AI overview

Workato recipes suit repeatable, predesigned business flows; they do not by themselves check whether an agent's newly chosen API call is allowed based on its arguments. The article says Workato's MCP exposes configured API collections, recipes, functions, and skills, while its October 2026 pricing page lists editions without public dollar prices; successful API recipe or proxy executions count as MCP calls, with platform failures excluded and recipe-defined 4xx/5xx responses still counted. For one system, a provider's governed MCP may suffice, though it does not provide one policy across the stack. For call-time controls, the article presents Swytchcode: enable methods by ID, then use policies to block calls, require approval, or hide response fields. Its listed Free tier includes 100 live commands monthly with allow/deny; approval starts at $149 monthly or $1,490 yearly, and denied or unanswered approvals prevent execution. It recommends retaining stable Workato recipes and routing ad hoc calls through an allowlist and dry run. The provided text is an excerpt, so this overview reflects only its supplied claims.

### Source excerpt

A Workato recipe runs a path you already drew. An agent picks the next API call at runtime. Here is when to keep the recipe and when to switch.

## Governing Enterprise AI Traffic at Scale: Design and Operation of a Policy-Driven, Multi-Vendor LLM Gateway on Envoy

DevFeed: [Governing Enterprise AI Traffic at Scale: Design and Operation of a Policy-Driven, Multi-Vendor LLM Gateway on Envoy](<https://devfeed.tech/articles/governing-enterprise-ai-traffic-at-scale-design-and-operation-of-a-policy-driven-multi-vendor-llm-gateway-on-envoy-101634.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.35509>)

Author: Mithun Sasidharan, Srinivasan Manoharan, Rupesh Thakur, Abhinav TK, Ashwin Hegde, Anand Gautam

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [litellm](<https://devfeed.tech/topics/litellm.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [data loss prevention](<https://devfeed.tech/topics/data-loss-prevention.md>), [service-mesh](<https://devfeed.tech/topics/service-mesh.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authoring](<https://devfeed.tech/tags/authoring.md>), [availability](<https://devfeed.tech/tags/availability.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [budget](<https://devfeed.tech/tags/budget.md>), [cache](<https://devfeed.tech/tags/cache.md>), [control-plane](<https://devfeed.tech/tags/control-plane.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [design](<https://devfeed.tech/tags/design.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [enterprise-ai](<https://devfeed.tech/tags/enterprise-ai.md>), [envoy](<https://devfeed.tech/tags/envoy.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-gateway](<https://devfeed.tech/tags/llm-gateway.md>), [policy](<https://devfeed.tech/tags/policy.md>), [scale](<https://devfeed.tech/tags/scale.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

### AI overview

The Cosmos LLM Gateway at PayPal separates latency-sensitive work: authentication, credential brokering, policy and budget checks run in an out-of-process service, while a Rust WebAssembly filter inside Envoy handles format translation, token metering and prompt-cache shaping. This lets streamed response chunks avoid out-of-process waits by default. Open Policy Agent evaluates declarative policies managed through role-scoped authoring, approvals, pilots, shadow rollouts, notifications and versioned bundles. Optional data-loss prevention can block, redact or pseudonymize detected sensitive content before provider access; spend scopes apply budgets to usage already recorded in the budget window. As of September 2026, the gateway serves over 12,000 developers, handles about 200 billion tokens daily across 100-plus models, and reports 99.999% business availability. A core-path benchmark against a synthetic upstream measured 4 ms median and 11 ms p99 overhead at over 2,200 requests per second on two 4-vCPU instances.

### Source excerpt

arXiv:2610.35509v1 Announce Type: new Abstract: Large organizations consume large language models (LLMs) from several vendors at once, each with its own API dialect, credential model, streaming protocol and pricing. Integrated directly, this heterogeneity yields credential sprawl, format lock-in, unbounded spend and inconsistent governance. We present the design and production operation of the Cosmos LLM Gateway, the governed entry point for enterprise LLM traffic at PayPal. Built on Envoy, it splits work by latency profile: I/O-bound control decisions (authentication, credential brokering, policy and budget evaluation) run in an out-of-process external-processing service, while wire-format translation, token metering and prompt-cache shaping run in-proxy as a Rust WebAssembly filter, so that, by default, streamed response body chunks never wait on an out-of-process call. Models, providers and prices are largely validated data rather than code. Governance is declarative policy evaluated by Open Policy Agent and managed through a control plane with role-scoped authoring, approvals, pilots, shadow-mode rollout, usage notifications and versioned policy bundles. For use cases that require it, a data-loss-prevention layer can block, redact or pseudonymize detected sensitive content before it reaches a provider. Spend scopes are views over per-model usage counters, so a new budget applies to spend already recorded in its window without migration. As of September 2026, the gateway serves more than 12,000 developers and hundreds of business use cases, handling roughly 200 billion tokens per day across more than 100 models at 99.999% availability to business. In a benchmark of the core request path against a synthetic upstream, it adds a median of 4 ms and a p99 of 11 ms of overhead at more than 2,200 requests per second on two 4-vCPU instances. We report the architecture, policy model, evaluation and lessons learned.

## Building Multi-Cloud Security Guardrails With Policy-as-Code, IAM, and Automated Remediation

DevFeed: [Building Multi-Cloud Security Guardrails With Policy-as-Code, IAM, and Automated Remediation](<https://devfeed.tech/articles/building-multi-cloud-security-guardrails-with-policy-as-code-iam-and-automated-remediation-100876.md>)

Original publisher: [Read original article](<https://hackernoon.com/building-multi-cloud-security-guardrails-with-policy-as-code-iam-and-automated-remediation?source=rss>)

Author: Malitha Thirumalai

Published: 2026-10-26T21:13:07Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Security, Identity, & Compliance](<https://devfeed.tech/topics/security-identity-compliance.md>), [Platform Engineering](<https://devfeed.tech/topics/platform-engineering.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Amazon VPC](<https://devfeed.tech/topics/amazon-vpc.md>), [azure functions](<https://devfeed.tech/topics/azure-functions.md>), [trivy](<https://devfeed.tech/topics/trivy.md>), [AWS IAM Identity Center](<https://devfeed.tech/topics/aws-iam-identity-center.md>), [pulumi](<https://devfeed.tech/topics/pulumi.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [automated](<https://devfeed.tech/tags/automated.md>), [automated-remediation](<https://devfeed.tech/tags/automated-remediation.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-security-guardrails](<https://devfeed.tech/tags/aws-security-guardrails.md>), [azure](<https://devfeed.tech/tags/azure.md>), [building](<https://devfeed.tech/tags/building.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-iam-security](<https://devfeed.tech/tags/cloud-iam-security.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [code](<https://devfeed.tech/tags/code.md>), [detection](<https://devfeed.tech/tags/detection.md>), [devsecops](<https://devfeed.tech/tags/devsecops.md>), [gcp](<https://devfeed.tech/tags/gcp.md>), [guardrails](<https://devfeed.tech/tags/guardrails.md>), [iam](<https://devfeed.tech/tags/iam.md>), [infrastructure-as-code-iac](<https://devfeed.tech/tags/infrastructure-as-code-iac.md>), [infrastructure-drift-detection](<https://devfeed.tech/tags/infrastructure-drift-detection.md>), [least-privilege](<https://devfeed.tech/tags/least-privilege.md>), [multi-cloud-security](<https://devfeed.tech/tags/multi-cloud-security.md>), [policy](<https://devfeed.tech/tags/policy.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>), [remediation](<https://devfeed.tech/tags/remediation.md>), [security](<https://devfeed.tech/tags/security.md>), [using](<https://devfeed.tech/tags/using.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The article recommends treating cloud security controls as enforceable guardrails across AWS, Azure, and GCP. It proposes blocking noncompliant infrastructure plans in CI with IaC scanners and OPA or Sentinel, with provider-specific storage policies; restricting production console writes and detecting drift through scheduled AWS plans, Azure Resource Graph or Automation, and GCP Asset Inventory or query tools; and using OIDC federation for short-lived credentials plus organization-level deny policies. It also advocates assessing chained attack paths, least-privilege identities, default-deny east-west traffic, and egress controls. For runtime drift, it outlines provider-native event-driven remediation and says fixes should update IaC through pull requests. The article cautions that direct automated changes can conflict with Terraform state, and recommends progressing carefully because deleting noncompliant production resources can disrupt services.

### Source excerpt

Learn how to secure AWS, Azure, and GCP using policy-as-code, drift detection, least-privilege IAM, microsegmentation, and automated remediation.

## Policy as Code for the Network: Guardrails with Open Policy Agent

DevFeed: [Policy as Code for the Network: Guardrails with Open Policy Agent](<https://devfeed.tech/articles/policy-as-code-for-the-network-guardrails-with-open-policy-agent-100517.md>)

Original publisher: [Read original article](<https://blogs.cisco.com/cisco-devnet/network-guardrails-as-code-opa>)

Author: Lori Jakab

Published: 2026-10-26T14:00:03Z

Content type: article

Language: en

Sources: [Cisco Blogs](<https://devfeed.tech/sources/cisco-blogs.md>)

Topics: [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [rego](<https://devfeed.tech/topics/rego.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [automated-remediation](<https://devfeed.tech/tags/automated-remediation.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cisco-devnet](<https://devfeed.tech/tags/cisco-devnet.md>), [cisco-meraki](<https://devfeed.tech/tags/cisco-meraki.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [devnet](<https://devfeed.tech/tags/devnet.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [guardrails](<https://devfeed.tech/tags/guardrails.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ios-xe](<https://devfeed.tech/tags/ios-xe.md>), [network](<https://devfeed.tech/tags/network.md>), [network-automation](<https://devfeed.tech/tags/network-automation.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [policy](<https://devfeed.tech/tags/policy.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>), [security](<https://devfeed.tech/tags/security.md>), [security-posture](<https://devfeed.tech/tags/security-posture.md>)

### AI overview

OPA evaluates network configurations provided as JSON against versioned, testable Rego rules and returns structured violations; it does not access or change systems itself. The examples use IOS XE configuration from RESTCONF to flag telnet access and an enabled plain HTTP server, and Meraki SSID data to flag enabled open networks. Per-domain packages handle different configuration models while a shared report combines findings, enabling consistent checks across domains. Teams can test policies with `opa test`, run reports locally, and feed results into CI, tickets, or dashboards. The article suggests starting in report-only mode, then considering automated remediation once confident. Examples use OPA 1.x syntax and do not demonstrate SD-WAN implementation or automated remediation.

### Source excerpt

Learn how to use Open Policy Agent (OPA) to enforce network guardrails as code. Catch insecure configurations before deployment and maintain a unified security posture across your entire enterprise network.

## A personal finance agent that cannot move money

DevFeed: [A personal finance agent that cannot move money](<https://devfeed.tech/articles/a-personal-finance-agent-that-cannot-move-money-100642.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/personal-finance-agent-read-only>)

Author: Chaitrali Kakde

Published: 2026-10-26T11:00:00Z

Content type: article

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [Finance](<https://devfeed.tech/topics/finance.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [sensitive data](<https://devfeed.tech/topics/sensitive-data.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [access-control](<https://devfeed.tech/tags/access-control.md>), [account](<https://devfeed.tech/tags/account.md>), [account-balance](<https://devfeed.tech/tags/account-balance.md>), [actions](<https://devfeed.tech/tags/actions.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [banking](<https://devfeed.tech/tags/banking.md>), [can](<https://devfeed.tech/tags/can.md>), [finance](<https://devfeed.tech/tags/finance.md>), [money](<https://devfeed.tech/tags/money.md>), [moving](<https://devfeed.tech/tags/moving.md>), [open](<https://devfeed.tech/tags/open.md>), [open-banking](<https://devfeed.tech/tags/open-banking.md>), [other](<https://devfeed.tech/tags/other.md>), [payment](<https://devfeed.tech/tags/payment.md>), [personal](<https://devfeed.tech/tags/personal.md>), [personal-finance](<https://devfeed.tech/tags/personal-finance.md>), [reading](<https://devfeed.tech/tags/reading.md>)

### AI overview

Open banking separates read access from payment initiation into distinct consents: AIS can provide balances, transactions, account details and standing orders, while PIS is separately authorised. Granting AIS alone leaves payment operations unavailable to the agent; the article recommends also denying write methods as a second safeguard. It advises checking consent scopes and duration, using aggregator products limited to account data, and testing with sandbox accounts. Consents commonly expire after ninety days. For privacy, limit accounts and date ranges and send locally computed totals instead of raw transaction lines when possible. The article cautions that US screen scraping with a banking password is less scoped, and suggests read-only uses such as spending summaries, subscription discovery, bill warnings and receipt matching.

### Source excerpt

Open banking separates reading your accounts from moving your money into two different consents. Grant one and not the other, and payment is not something your agent can be talked into.

## Beyond Policy Engines: Binding-Complete Execution Admission

DevFeed: [Beyond Policy Engines: Binding-Complete Execution Admission](<https://devfeed.tech/articles/beyond-policy-engines-binding-complete-execution-admission-94538.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.29701>)

Author: Lin Wang, Mengting Wu, Yong Zhang, Jiang Deng

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>)

Tags: [admission](<https://devfeed.tech/tags/admission.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [defects](<https://devfeed.tech/tags/defects.md>), [effects](<https://devfeed.tech/tags/effects.md>), [execution](<https://devfeed.tech/tags/execution.md>), [governance](<https://devfeed.tech/tags/governance.md>), [language](<https://devfeed.tech/tags/language.md>), [opa](<https://devfeed.tech/tags/opa.md>), [policy](<https://devfeed.tech/tags/policy.md>), [records](<https://devfeed.tech/tags/records.md>), [review](<https://devfeed.tech/tags/review.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

A policy engine's ALLOW decision alone does not establish that all required governance sources participated, that policy and context were bound exactly, or that execution should be admitted. The paper proposes BCEAC, a governance-relative contract with independently determined source obligations, exact binding, and typed admission outcomes under explicit trust assumptions. Its architecture separates governance resolution, policy evaluation, independent admission verification, and execution mediation; backend participation depends on declared semantic profiles and adapter and contextual-correspondence obligations, while EBL remains optional. Experiments include a finite source-completeness study and offline review of archived OPA/Cedar records: 72 scenarios and 144 strict records, including 120 native-invoked and 24 pre-native, plus eight permissive controls outside that denominator. The review did not rerun the native engines. The evidence is bounded and retains historical failures and unresolved defects; the work does not establish constitutional adequacy, authenticated currentness, machine-checked safety theorems, or protection of external effects.

### Source excerpt

arXiv:2610.29701v1 Announce Type: new Abstract: Policy engines determine whether evaluated policies permit a request, but a correct ALLOW decision does not establish complete governance-source participation, exact context binding, or sufficient grounds for execution admission. This paper examines the gap between policy evaluation and execution admission. We introduce the Binding-Complete Execution Admission Contract (BCEAC), a governance-relative contract for independently determined source obligations, exact policy and contextual binding, and typed admission outcomes under explicit trust assumptions. We propose a conditionally engine-agnostic architecture in which participating backends must satisfy declared semantic profiles, adapter contracts, and contextual correspondence obligations; an Execution Boundary Language (EBL) authoring syntax remains optional. The architecture separates governance resolution, policy evaluation, independent admission verification, and downstream execution mediation. We investigate two distinct experimental tracks: a finite Governance Source Completeness study and an OPA/Cedar experiment with archived native-engine records examined by offline review. The OPA/Cedar archive comprises 72 scenarios and 144 strict case-engine records (120 native-invoked and 24 pre-native), with eight additional permissive controls outside the strict denominator. The offline review did not rerun the original native OPA/Cedar executables. The results provide bounded evidence while retaining historical failures and unresolved implementation defects. The work does not establish constitutional adequacy, general semantic refinement, authenticated currentness, machine-checked execution-safety theorems, or protected external effects. Its contribution is an explicit, falsifiable framework for determining what must be established between a policy decision and an execution-admission judgment.

## Agent Security & Identity (Part 1): Who Are You, Who's Your Agent, And What Should They Be Allowed?

DevFeed: [Agent Security & Identity (Part 1): Who Are You, Who's Your Agent, And What Should They Be Allowed?](<https://devfeed.tech/articles/agent-security-identity-part-1-who-are-you-who-s-your-agent-and-what-should-they-be-allowed-93920.md>)

Original publisher: [Read original article](<https://hackernoon.com/agent-security-and-identity-part-1-who-are-you-whos-your-agent-and-what-should-they-be-allowed?source=rss>)

Author: Alejandro Saucedo

Published: 2026-10-21T20:24:35Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [identity and access management](<https://devfeed.tech/topics/identity-and-access-management.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Security](<https://devfeed.tech/topics/security.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Keycloak](<https://devfeed.tech/topics/keycloak.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [service-mesh](<https://devfeed.tech/topics/service-mesh.md>)

Tags: [access-tokens](<https://devfeed.tech/tags/access-tokens.md>), [actor](<https://devfeed.tech/tags/actor.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-identities](<https://devfeed.tech/tags/agent-identities.md>), [agent-identity](<https://devfeed.tech/tags/agent-identity.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agent-orchestration](<https://devfeed.tech/tags/agent-orchestration.md>), [agentgateway](<https://devfeed.tech/tags/agentgateway.md>), [agentic-identity](<https://devfeed.tech/tags/agentic-identity.md>), [agentic-identity-broker](<https://devfeed.tech/tags/agentic-identity-broker.md>), [agentic-security](<https://devfeed.tech/tags/agentic-security.md>), [agentic-systems](<https://devfeed.tech/tags/agentic-systems.md>), [agents](<https://devfeed.tech/tags/agents.md>), [agntcon](<https://devfeed.tech/tags/agntcon.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-ethics](<https://devfeed.tech/tags/ai-ethics.md>), [ai-identity](<https://devfeed.tech/tags/ai-identity.md>), [ai-security](<https://devfeed.tech/tags/ai-security.md>), [api](<https://devfeed.tech/tags/api.md>), [arcade](<https://devfeed.tech/tags/arcade.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [identity](<https://devfeed.tech/tags/identity.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The article argues that agent security needs distinct user (subject) and agent (actor) identities, plus separate controls for in-cluster access and user-delegated third-party access. A shared bot token obscures attribution, requires broad permissions, and makes individual revocation difficult. Zalando's open-source Agentic Identity Broker addresses delegated access by storing users' encrypted provider tokens, recording scoped, revocable grants, and exchanging credentials through a trusted gateway; it does not provide human login, agent identity, or gateway enforcement. In the described KAOS design, Keycloak supplies user and agent identity, a gateway and Open Policy Agent enforce resource access, and a network policy blocks routes that bypass the gateway. The author emphasizes fail-closed decisions, the availability cost of a required policy service, and that authorization does not prevent poisoned tool output or prompt injection. Agent-specific identity standards remain unsettled, and the broker's documented production use is limited to Zalando's internal platform.

### Source excerpt

Part 1 of a 2-part series on agent identity and security

## API Compliance for AI Agent Integrations

DevFeed: [API Compliance for AI Agent Integrations](<https://devfeed.tech/articles/api-compliance-for-ai-agent-integrations-92483.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/api-compliance-ai-agents>)

Author: Swytchcode Team

Published: 2026-10-21T09:53:12.592027Z

Content type: article

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [audit](<https://devfeed.tech/topics/audit.md>), [API Logging](<https://devfeed.tech/topics/api-logging.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [agent observability](<https://devfeed.tech/topics/agent-observability.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [allowed](<https://devfeed.tech/tags/allowed.md>), [api](<https://devfeed.tech/tags/api.md>), [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [governance](<https://devfeed.tech/tags/governance.md>), [logging](<https://devfeed.tech/tags/logging.md>)

### AI overview

For AI agent API compliance, retain evidence of what ran, what was refused and why, and the exact policy version behind each decision. The article argues that request logs alone miss the decision, and prompts are weaker controls than allowlists because the model cannot call a method that was never permitted. It recommends version-controlled policy rules reviewed through pull requests, with rules able to inspect call arguments, plus logs that capture both requests and decisions. Swytchcode is described as recording calls and policy decisions locally, redacting sensitive values, and retaining logs for 7 to 90 days depending on plan. The article cautions that no single tool by itself satisfies SOC 2 or HIPAA; evidence must match the applicable framework and contracts, and retention should cover the audit cycle.

### Source excerpt

What evidence an auditor actually accepts: what ran, what was refused, and under which rule version, when an AI agent is making the calls.

## Master Open Policy Agent (OPA)

DevFeed: [Master Open Policy Agent (OPA)](<https://devfeed.tech/articles/master-open-policy-agent-opa-64350.md>)

Original publisher: [Read original article](<https://blog.devops.dev/master-open-policy-agent-opa-653cdc6b5850?source=rss----33f8b2d9a328---4>)

Author: Suranga Jayalath

Published: 2026-10-03T13:31:21Z

Content type: article

Language: en

Sources: [DevOps.dev](<https://devfeed.tech/sources/devops-dev.md>)

Topics: [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [rego](<https://devfeed.tech/topics/rego.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [service-mesh](<https://devfeed.tech/topics/service-mesh.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [audit](<https://devfeed.tech/tags/audit.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [beginner](<https://devfeed.tech/tags/beginner.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cloud-native-computing-foundation](<https://devfeed.tech/tags/cloud-native-computing-foundation.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [cncf](<https://devfeed.tech/tags/cncf.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [decision-making](<https://devfeed.tech/tags/decision-making.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engine](<https://devfeed.tech/tags/engine.md>), [json](<https://devfeed.tech/tags/json.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [opa](<https://devfeed.tech/tags/opa.md>), [opas](<https://devfeed.tech/tags/opas.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [policy](<https://devfeed.tech/tags/policy.md>), [policy-enforcement](<https://devfeed.tech/tags/policy-enforcement.md>), [policy-management](<https://devfeed.tech/tags/policy-management.md>), [terraform](<https://devfeed.tech/tags/terraform.md>)

### AI overview

Open Policy Agent (OPA) separates policy decisions from application logic: a service sends OPA a JSON input, OPA evaluates it against a policy written in Rego, and returns a JSON decision. The excerpt highlights use for Kubernetes admission control through Gatekeeper, API and microservice authorization, and Terraform or CloudFormation checks in CI/CD. It illustrates a Rego rule that allows an Ingress only when TLS is present, and recommends keeping policy tests alongside policy files. The excerpt says policies can be updated without rebuilding application binaries, while its Gatekeeper flow rejects denied Kubernetes requests with an error. The supplied text does not include details of the promised advantages-versus-disadvantages comparison.

### Source excerpt

If you've ever had to hardcode authorization logic inside a microservice or manually check whether your Kubernetes deployment YAMLs meet security standards you know how messy policy management can get. Every service ends up implementing its own authorization logic in a slightly different way. When compliance requirements change, you have to modify, test, and redeploy every single application. Enter Open Policy Agent (OPA). In this beginner-friendly guide, we'll demystify what OPA is, why it has become the cloud-native standard for policy enforcement, and how to write your first policy from scratch. What is Open Policy Agent (OPA)? Open Policy Agent (pronounced "oh-pa") is an open-source, general-purpose policy engine hosted by the CNCF (Cloud Native Computing Foundation). Instead of hardcoding security rules inside your backend APIs, CI/CD pipelines, or Kubernetes clusters, OPA decouples policy decision-making from application logic. How It Works Your service receives a request or trigger. Your service sends a JSON document (the input) to OPA asking: "Is this allowed?" OPA evaluates the input against a pre-written policy file. OPA returns a JSON response with the decision (e.g., true/false, a list of errors, or an allowed role). Because OPA accepts any JSON input and returns any JSON output, it works across your entire tech stack from microservice APIs to Terraform configurations and Kubernetes manifests. Why Do You Need OPA? Before OPA, policy logic was scattered across applications, scripts, and API gateways: No Unified Standard: Every programming language (Go, Python, Java, Node.js) handled authorization differently. Audit & Compliance Nightmares: Proving to security auditors that all services enforce the same compliance rules required digging through thousands of lines of application code. High Deployment Risk: Changing a simple access rule required modifying application source code and triggering a full CI/CD deployment pipeline. Key Benefits of OPA Single Sour

## NVIDIA Open Agent Safety Platform Launched

DevFeed: [NVIDIA Open Agent Safety Platform Launched](<https://devfeed.tech/articles/nvidia-open-agent-safety-platform-launched-61532.md>)

Original publisher: [Read original article](<https://www.servethehome.com/nvidia-open-agent-safety-platform-launched/>)

Author: Vic A

Published: 2026-09-29T03:00:04Z

Content type: news

Language: en

Sources: [ServeTheHome](<https://devfeed.tech/sources/servethehome.md>)

Topics: [OpenShell](<https://devfeed.tech/topics/openshell.md>), [Nvidia](<https://devfeed.tech/topics/nvidia.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>)

Tags: [agentic-ai-security](<https://devfeed.tech/tags/agentic-ai-security.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-security](<https://devfeed.tech/tags/ai-security.md>), [doca](<https://devfeed.tech/tags/doca.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [news](<https://devfeed.tech/tags/news.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [nvidia-open-agent-safety-platform](<https://devfeed.tech/tags/nvidia-open-agent-safety-platform.md>), [open-cybersecurity-schema-framework](<https://devfeed.tech/tags/open-cybersecurity-schema-framework.md>), [openshell](<https://devfeed.tech/tags/openshell.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

NVIDIA announced OpenShell 0.1.0, an open-source runtime that adds sandboxing and policy controls around existing AI agent frameworks. Its gateway manages sandbox lifecycles, while a supervisor checks outbound traffic and policies can restrict filesystem, process, and network access. The platform also describes hardware-level protections through NVIDIA Sentry on BlueField-4 DPUs. In reported adversarial tests, no protected repository writes occurred.

### Source excerpt

NVIDIA is taking on agentic AI security with the new Open Agent Safety Platform and OpenShell 0.1.0 frameworks The post NVIDIA Open Agent Safety Platform Launched appeared first on ServeTheHome.

## Why Your Rules Engine Deserves Its Own Kubernetes Node Pool

DevFeed: [Why Your Rules Engine Deserves Its Own Kubernetes Node Pool](<https://devfeed.tech/articles/why-your-rules-engine-deserves-its-own-kubernetes-node-pool-60410.md>)

Original publisher: [Read original article](<https://hackernoon.com/why-your-rules-engine-deserves-its-own-kubernetes-node-pool?source=rss>)

Author: Himashi Meththasena

Published: 2026-09-26T15:15:01Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [blast-radius](<https://devfeed.tech/tags/blast-radius.md>), [cloud-architecture](<https://devfeed.tech/tags/cloud-architecture.md>), [cloud-infrastructure](<https://devfeed.tech/tags/cloud-infrastructure.md>), [cpu-throttling](<https://devfeed.tech/tags/cpu-throttling.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-node-pools](<https://devfeed.tech/tags/kubernetes-node-pools.md>), [kubernetes-resource-management](<https://devfeed.tech/tags/kubernetes-resource-management.md>), [kubernetes-taints](<https://devfeed.tech/tags/kubernetes-taints.md>), [latency](<https://devfeed.tech/tags/latency.md>), [latency-sensitive-workloads](<https://devfeed.tech/tags/latency-sensitive-workloads.md>), [memory-pressure](<https://devfeed.tech/tags/memory-pressure.md>), [resource](<https://devfeed.tech/tags/resource.md>), [rules-engines](<https://devfeed.tech/tags/rules-engines.md>)

### AI overview

The article argues that production rules engines should receive dedicated Kubernetes node pools because CPU throttling, memory spikes, and shared-node contention can increase latency and expand the impact of failures. It recommends basing isolation decisions on measured contention and resource needs.

### Source excerpt

Dedicated Kubernetes node pools can isolate latency-sensitive rules engines, but the decision should be based on measured contention and resource needs.

## Enforce custom rules in Datadog IaC Security scanning

DevFeed: [Enforce custom rules in Datadog IaC Security scanning](<https://devfeed.tech/articles/enforce-custom-rules-in-datadog-iac-security-scanning-55180.md>)

Original publisher: [Read original article](<https://www.datadoghq.com/blog/custom-iac-security-rules/>)

Author: Chakib Hamie

Published: 2026-09-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Datadog](<https://devfeed.tech/sources/datadog-the-monitor-blog.md>)

Topics: [iac-security](<https://devfeed.tech/topics/iac-security.md>), [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>), [datadog](<https://devfeed.tech/topics/datadog.md>), [Security](<https://devfeed.tech/topics/security.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [rego](<https://devfeed.tech/topics/rego.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Ansible](<https://devfeed.tech/topics/ansible.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>)

Tags: [code-security](<https://devfeed.tech/tags/code-security.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [datadog](<https://devfeed.tech/tags/datadog.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [devsecops](<https://devfeed.tech/tags/devsecops.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [iac](<https://devfeed.tech/tags/iac.md>), [iac-security](<https://devfeed.tech/tags/iac-security.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [policy](<https://devfeed.tech/tags/policy.md>), [rego](<https://devfeed.tech/tags/rego.md>), [security](<https://devfeed.tech/tags/security.md>), [security-rules](<https://devfeed.tech/tags/security-rules.md>), [security-scanning](<https://devfeed.tech/tags/security-scanning.md>)

### AI overview

This tutorial explains how to create, test, and publish custom Datadog IaC Security rules using Rego policies. These rules extend default checks to enforce organization-specific infrastructure standards, compliance requirements, and security controls across supported platforms.

### Source excerpt

Create, test, and publish custom IaC Security rules in Datadog to detect organization-specific policy violations before deployment.

## Exclusive: Arcjet launches runtime security to track and control AI agents in production

DevFeed: [Exclusive: Arcjet launches runtime security to track and control AI agents in production](<https://devfeed.tech/articles/exclusive-arcjet-launches-runtime-security-to-track-and-control-ai-agents-in-production-50693.md>)

Original publisher: [Read original article](<https://siliconangle.com/2026/09/17/exclusive-arcjet-launches-runtime-security-to-track-and-control-ai-agents-in-production/>)

Author: Duncan Riley

Published: 2026-09-17T13:00:43Z

Content type: news

Language: en

Sources: [SiliconANGLE](<https://devfeed.tech/sources/siliconangle.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [agent observability](<https://devfeed.tech/topics/agent-observability.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>)

Tags: [agent-runtime-security](<https://devfeed.tech/tags/agent-runtime-security.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-security](<https://devfeed.tech/tags/ai-security.md>), [andreessen-horowitz](<https://devfeed.tech/tags/andreessen-horowitz.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [arcjet](<https://devfeed.tech/tags/arcjet.md>), [arcjet-labs](<https://devfeed.tech/tags/arcjet-labs.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-agent-sdk](<https://devfeed.tech/tags/claude-agent-sdk.md>), [david-mytton](<https://devfeed.tech/tags/david-mytton.md>), [developer](<https://devfeed.tech/tags/developer.md>), [langchain](<https://devfeed.tech/tags/langchain.md>), [launches](<https://devfeed.tech/tags/launches.md>), [mastra](<https://devfeed.tech/tags/mastra.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-agent-framework](<https://devfeed.tech/tags/microsoft-agent-framework.md>), [news](<https://devfeed.tech/tags/news.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [openai](<https://devfeed.tech/tags/openai.md>), [openai-agents-sdk](<https://devfeed.tech/tags/openai-agents-sdk.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [ott-kaukver](<https://devfeed.tech/tags/ott-kaukver.md>), [plural](<https://devfeed.tech/tags/plural.md>), [policy-enforcement](<https://devfeed.tech/tags/policy-enforcement.md>), [production](<https://devfeed.tech/tags/production.md>), [prompt-injection](<https://devfeed.tech/tags/prompt-injection.md>), [runtime-security](<https://devfeed.tech/tags/runtime-security.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [security](<https://devfeed.tech/tags/security.md>), [seedcamp](<https://devfeed.tech/tags/seedcamp.md>), [the-latest](<https://devfeed.tech/tags/the-latest.md>), [twilio](<https://devfeed.tech/tags/twilio.md>)

### AI overview

Arcjet launched a runtime security offering for AI agents operating in production. It inventories agents, checks actions against policy before execution, logs runs, and supports workflow investigation through OpenTelemetry and integrations with several agent frameworks.

### Source excerpt

Developer security startup Arcjet Labs Inc. today launched agent runtime security, a new offering that tracks what artificial intelligence agents do once they are running in production systems. Security teams get a list of which agents are active, and each action an agent takes can be checked against policy before it goes through. Every run [...] The post Exclusive: Arcjet launches runtime security to track and control AI agents in production appeared first on SiliconANGLE.

## How to attach an owner to every cloud resource you find

DevFeed: [How to attach an owner to every cloud resource you find](<https://devfeed.tech/articles/how-to-attach-an-owner-to-every-cloud-resource-you-find-26946.md>)

Original publisher: [Read original article](<https://thenewstack.io/attach-owner-cloud-resources/>)

Author: Zeen Rachidi

Published: 2026-09-15T14:00:00Z

Content type: tutorial

Language: en

Sources: [The New Stack](<https://devfeed.tech/sources/the-new-stack.md>)

Topics: [Cloud](<https://devfeed.tech/topics/cloud.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [audit trail](<https://devfeed.tech/topics/audit-trail.md>)

Tags: [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-services](<https://devfeed.tech/tags/cloud-services.md>), [devops](<https://devfeed.tech/tags/devops.md>), [env-zero](<https://devfeed.tech/tags/env-zero.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [logs](<https://devfeed.tech/tags/logs.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [policy](<https://devfeed.tech/tags/policy.md>), [post-contributed](<https://devfeed.tech/tags/post-contributed.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>), [sponsor-env-zero](<https://devfeed.tech/tags/sponsor-env-zero.md>), [sponsored-post-contributed](<https://devfeed.tech/tags/sponsored-post-contributed.md>)

### AI overview

This tutorial explains how to identify cloud resources without assigned owners and prevent new ownerless resources. It presents continuously synced inventory queries, Open Policy Agent policies requiring owner tags, and logs or audit trails for resource governance.

### Source excerpt

The engineer who knew why that cloud instance existed has left the company. The instance is still running, the bill The post How to attach an owner to every cloud resource you find appeared first on The New Stack.

## Policy as Code in 2026: OPA, Kyverno, Cedar and What's Next

DevFeed: [Policy as Code in 2026: OPA, Kyverno, Cedar and What's Next](<https://devfeed.tech/articles/policy-as-code-in-2026-opa-kyverno-cedar-and-what-s-next-26775.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/policy-as-code-in-2026-opa-kyverno-cedar-and-what-s-next>)

Author: Abhijit Pujare Eric Minick

Published: 2026-09-11T00:00:00Z

Content type: article

Language: en

Sources: [Harness](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [rego](<https://devfeed.tech/topics/rego.md>), [Kyverno](<https://devfeed.tech/topics/kyverno.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [JSON](<https://devfeed.tech/topics/json.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [json](<https://devfeed.tech/tags/json.md>), [kyverno](<https://devfeed.tech/tags/kyverno.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [policies](<https://devfeed.tech/tags/policies.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>), [rego](<https://devfeed.tech/tags/rego.md>), [security](<https://devfeed.tech/tags/security.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

This article surveys the 2026 Policy as Code ecosystem, comparing general-purpose Open Policy Agent and Rego with specialized approaches such as Kyverno, Cedar, and agent-oriented governance. It discusses the shift toward automated, machine-readable governance, the separation of policy from business logic, and the challenges of authoring and maintaining Rego as schemas evolve.

### Source excerpt

| Blog

## Best Policy as Code Tools in 2026

DevFeed: [Best Policy as Code Tools in 2026](<https://devfeed.tech/articles/best-policy-as-code-tools-in-2026-91257.md>)

Original publisher: [Read original article](<https://www.pulumi.com/blog/best-policy-as-code-tools/>)

Author: Pulumi Content Team

Published: 2026-08-28T00:00:00Z

Content type: article

Language: en

Sources: [Pulumi](<https://devfeed.tech/sources/pulumi.md>)

Topics: [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [pulumi](<https://devfeed.tech/topics/pulumi.md>), [Kyverno](<https://devfeed.tech/topics/kyverno.md>), [rego](<https://devfeed.tech/topics/rego.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [versioning](<https://devfeed.tech/topics/versioning.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [blast-radius](<https://devfeed.tech/tags/blast-radius.md>), [block](<https://devfeed.tech/tags/block.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [database](<https://devfeed.tech/tags/database.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [devops](<https://devfeed.tech/tags/devops.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [engine](<https://devfeed.tech/tags/engine.md>), [general](<https://devfeed.tech/tags/general.md>), [identity](<https://devfeed.tech/tags/identity.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [policy](<https://devfeed.tech/tags/policy.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>), [security](<https://devfeed.tech/tags/security.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

Policy as code can block a specific infrastructure change before it takes effect, adding a check beyond limiting an AI agent's credentials. The tools differ in scope and workflow: OPA is a general-purpose Rego engine that requires integrations; Sentinel attaches policies to HashiCorp product runs; Kyverno uses Kubernetes YAML at admission time; and Pulumi Policies evaluates Pulumi deployment previews, with preventative, audit, and limited remediation modes. Checkov combines many built-in IaC scanning checks with custom YAML or Python rules, but relies on a CI gate for blocking. The excerpt also describes Gatekeeper, Conftest, and Cloud Custodian for narrower Kubernetes, CI, and live-cloud governance uses. Tool choice depends on where rules must run, policy authors' language familiarity, and whether the need is deployment blocking or reporting. The excerpt recommends that teams may use multiple tools, since those functions address different stages.

### Source excerpt

Policy as code means writing infrastructure rules as version-controlled code, then having a policy engine evaluate every proposed change against those rules before it takes effect. It matters more as AI agents start proposing infrastructure changes alongside engineers, because a policy engine decides whether a given change is allowed to happen, regardless of who or what authored it. Why AI agents raise the stakes for policy as code An AI agent that can open a pull request against your infrastructure code can also, in principle, propose a change that deletes a production database, widens a security group to the internet, or spins up resources nobody approved. Most of the current conversation about containing that risk focuses on identity: scoping what an agent's credentials can reach, and limiting which systems it can call. That is necessary, and it is not the whole answer. Identity scoping bounds what an agent could touch. It says nothing about what a specific, concrete change will actually do. Policy as code operates at a different point in the pipeline. When a policy engine runs against an infrastructure preview, before anything is created, replaced, or destroyed, it evaluates the real, itemized set of resource changes a specific plan would make, and it can block that plan outright if it violates a rule. That is a stronger and more precise guarantee than credential scoping alone, and it holds whether the change came from a human running terraform apply, a CI pipeline, or an autonomous agent. This is the vocabulary infrastructure and security teams reach for by default when this comes up: bounding the blast radius of a change before it executes, on top of bounding the reach of whoever or whatever proposed it. Pulumi's own documentation on policy as code describes preventative policies this way: evaluated during pulumi preview and pulumi up, blocking a deployment outright when a resource change violates a rule, before that resource is ever touched. For a fuller defi

## Q2 2026 Product Update: Harness Pipeline

DevFeed: [Q2 2026 Product Update: Harness Pipeline](<https://devfeed.tech/articles/q2-2026-product-update-harness-pipeline-13463.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/q2-2026-product-update-harness-pipeline>)

Author: Vishal Vishwaroop

Published: 2026-08-06T00:00:00Z

Content type: release

Language: en

Sources: [Harness](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [Git](<https://devfeed.tech/topics/git.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [api](<https://devfeed.tech/tags/api.md>), [ci](<https://devfeed.tech/tags/ci.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [git](<https://devfeed.tech/tags/git.md>), [opa](<https://devfeed.tech/tags/opa.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Harness's Q2 2026 Pipeline update introduces beta DAG pipelines, allowing stages to declare explicit dependencies. It also adds looping strategies for chained pipelines, earlier matrix exclusions, template and governance improvements, Git-backed entity enforcement, execution visibility, and a pipeline dry-run API.

### Source excerpt

DAG pipelines, template overrides, OPA enforcement on Git-backed entities, Git Experience monitoring, and 20 pipeline improvements -- Q2 2026 in review. | Blog

## Quarkus Newsletter #70 - July

DevFeed: [Quarkus Newsletter #70 - July](<https://devfeed.tech/articles/quarkus-newsletter-70-july-43936.md>)

Original publisher: [Read original article](<https://quarkus.io/blog/quarkus-newsletter-70/>)

Author: James Cobb (https://twitter.com/insectengine)

Published: 2026-07-17T00:00:00Z

Content type: article

Language: en

Sources: [Quarkus - Supersonic Subatomic Java](<https://devfeed.tech/sources/quarkus-supersonic-subatomic-java.md>)

Topics: [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [Multi-tenancy](<https://devfeed.tech/topics/multi-tenancy.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Per-user Database](<https://devfeed.tech/topics/per-user-database.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Web](<https://devfeed.tech/topics/web.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [api](<https://devfeed.tech/tags/api.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [extension](<https://devfeed.tech/tags/extension.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [multitenancy](<https://devfeed.tech/tags/multitenancy.md>), [newsletter](<https://devfeed.tech/tags/newsletter.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

Quarkus Newsletter #70 highlights posts on Open Policy Agent input guardrails for secure LLM applications, the Quarkus Pi4J Extension for hardware-enabled applications, a Lit web component backed by a Quarkus REST API, and Quarkiverse Multitenancy with database-per-tenant isolation. It also points to Quarkus Insights episodes, community discussions, and upcoming events.

### Source excerpt

Read Fabio Burzigotti's post to learn about implementing input guardrails with Open Policy Agent (OPA) for secure LLM applications. See how the Quarkus Pi4J Extension makes it easier than ever to build hardware-enabled applications using the Quarkus ecosystem in "Quarkus Pi4J Extension" by Igor De Souza. Andy Damevin provides a step-by-step tutorial: build a Lit web component for comments backed by a Quarkus REST API on your Roq blog in "Add Comments to Your Blog with a Web Component (30min)". Check out "Quarkus Multitenancy Without Tenant Plumbing in Every Service" by Markus Eisele to see what the Quarkiverse Multitenancy extension gives you: one resolution point, clean domain code, and three tested resolution modes for database-per-tenant isolation. You will also see the latest Quarkus Insights episodes, top tweets/discussions and upcoming Quarkus attended events. Check out Newsletter #70: July! Want to get newsletters in your inbox? Sign up for the newsletter using the on page form.

## Automated DevOps Compliance with Harness Rego Policy Packs

DevFeed: [Automated DevOps Compliance with Harness Rego Policy Packs](<https://devfeed.tech/articles/automated-devops-compliance-with-harness-rego-policy-packs-13381.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/compliance-without-complexity-introducing-harness-rego-policy-packs>)

Author: Abhijit Pujare Vishal Vishwaroop

Published: 2026-07-14T00:00:00Z

Content type: release

Language: en

Sources: [Harness](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [DevOps](<https://devfeed.tech/topics/devops.md>), [rego](<https://devfeed.tech/topics/rego.md>), [sdlc](<https://devfeed.tech/topics/sdlc.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [audit](<https://devfeed.tech/tags/audit.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [devops](<https://devfeed.tech/tags/devops.md>), [governance](<https://devfeed.tech/tags/governance.md>), [opa](<https://devfeed.tech/tags/opa.md>), [policy](<https://devfeed.tech/tags/policy.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>), [rego](<https://devfeed.tech/tags/rego.md>), [sdlc](<https://devfeed.tech/tags/sdlc.md>)

### AI overview

Harness announces Policy Packs, a curated library of pre-written Rego policies that helps teams align software delivery lifecycles with compliance frameworks. The packs provide out-of-the-box governance controls covering frameworks including SOC 2, NIST, PCI DSS, HIPAA, and HITRUST.

### Source excerpt

Shift governance left with out-of-the-box Policy-as-Code. Simplify compliance and achieve continuous audit readiness across your entire SDLC. | Blog

## Guardrails with OPA Policies in Quarkus LangChain4j

DevFeed: [Guardrails with OPA Policies in Quarkus LangChain4j](<https://devfeed.tech/articles/guardrails-with-opa-policies-in-quarkus-langchain4j-43892.md>)

Original publisher: [Read original article](<https://quarkus.io/blog/quarkus-langchain4j-opa-guardrails/>)

Author: Fabio Burzigotti

Published: 2026-07-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Quarkus - Supersonic Subatomic Java](<https://devfeed.tech/sources/quarkus-supersonic-subatomic-java.md>)

Topics: [langchain4j](<https://devfeed.tech/topics/langchain4j.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [prompt injection](<https://devfeed.tech/topics/prompt-injection.md>), [pattern matching](<https://devfeed.tech/topics/pattern-matching.md>), [Security](<https://devfeed.tech/topics/security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [rego](<https://devfeed.tech/topics/rego.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [decoupling](<https://devfeed.tech/topics/decoupling.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [input](<https://devfeed.tech/tags/input.md>), [langchain4j](<https://devfeed.tech/tags/langchain4j.md>), [opa](<https://devfeed.tech/tags/opa.md>), [pattern-matching](<https://devfeed.tech/tags/pattern-matching.md>), [policies](<https://devfeed.tech/tags/policies.md>), [prompt-injection](<https://devfeed.tech/tags/prompt-injection.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [rego](<https://devfeed.tech/tags/rego.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

This tutorial shows how to combine deterministic pattern matching with Open Policy Agent policies in Quarkus LangChain4j to implement input guardrails for detecting prompt injection attacks. It explains how externalized Rego policies can decouple security rules from application logic and how OPA WebAssembly evaluation can run in-process, with an LLM fallback for inconclusive cases.

### Source excerpt

Introduction As LLMs become integral to enterprise applications, securing the prompts they receive is critical. Quarkus LangChain4j is a Quarkus extension that allows users to integrate AI into applications, and the Quarkus LangChain4j Workshop is a good way to learn about and practice the fundamentals. Regarding security, Step 9 describes input guardrails, showcasing an example of how a separate LLM can be used to detect prompt injection attacks. However, this approach has costs, both in terms of tokens and performance. Deterministic pattern matching can catch obvious attacks faster, and delegating to the LLM becomes the last option, thus reducing the aforementioned effects. At the same time, Open Policy Agent can be used to define declarative policies that can be externalized. This post shows how to combine both approaches in Quarkus LangChain4j. Open Policy Agent (OPA) Pattern matching against a regex is straightforward, but the usual limitations apply: rules are subject to change rules are usually defined by someone who is not strictly an application developer rules should be defined independently of the application lifecycle. This is where Open Policy Agent comes to help. It provides a framework that streamlines policy management across application deployment technologies, resources and roles. In our specific use case, deterministic guardrails can be defined as OPA policies, decoupling them from the application logic, e.g.: package promptinjection import rego.v1 default pattern_score := 0.0 pattern_score := score if { input.text text_lower := lower(input.text) exact_patterns := [ {"pattern": "ignore previous", "weight": 1.0}, {"pattern": "disregard previous", "weight": 1.0}, {"pattern": "forget your instructions", "weight": 1.0}, {"pattern": "override your instructions", "weight": 1.0}, {"pattern": "ignore all prior", "weight": 1.0}, {"pattern": "new instructions", "weight": 0.95}, {"pattern": "reveal the secret", "weight": 0.95}, {"pattern": "system prompt", "

## Optimizing OPA performance: From arrays to objects

DevFeed: [Optimizing OPA performance: From arrays to objects](<https://devfeed.tech/articles/optimizing-opa-performance-from-arrays-to-objects-22577.md>)

Original publisher: [Read original article](<https://medium.com/capital-one-tech/optimizing-opa-performance-from-arrays-to-objects-a3c966acdaa5?source=rss----3db3a67cb648---4>)

Author: Capital One Tech

Published: 2026-07-07T14:25:30Z

Content type: article

Language: en

Sources: [Capital One Tech](<https://devfeed.tech/sources/capital-one-tech.md>)

Topics: [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>), [Data Management](<https://devfeed.tech/topics/data-management.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [anchore](<https://devfeed.tech/topics/anchore.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [faster](<https://devfeed.tech/tags/faster.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [large](<https://devfeed.tech/tags/large.md>), [nested](<https://devfeed.tech/tags/nested.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [optimizing](<https://devfeed.tech/tags/optimizing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-engineering](<https://devfeed.tech/tags/performance-engineering.md>), [performance-tuning](<https://devfeed.tech/tags/performance-tuning.md>), [policies](<https://devfeed.tech/tags/policies.md>), [rego](<https://devfeed.tech/tags/rego.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [solution](<https://devfeed.tech/tags/solution.md>)

### AI overview

In an SBOM risk-enrichment example, replacing a 1.9-million-row EPSS array with a CVE-keyed object let Rego use direct object access instead of repeatedly traversing and comparing array entries. The JSON shrank from 46 MB to 20 MB. Processing 124 vulnerability profiles fell from about 48 seconds to 0.654 seconds (about 98% faster); query evaluation dropped from about 26 seconds to 5 milliseconds (about 99%). The article uses OPA's CLI profiler and metrics to locate the bottleneck, then transforms the data with jq and updates the policy to look up EPSS values by CVE ID. It notes that bundle loading and data parsing improved more modestly, and that further policy optimizations may be possible.

### Source excerpt

Achieve 99% faster Rego policy execution through optimization. Note: This post focuses on one aspect of performance tuning Rego policies and datasets evaluated by OPA-arrays vs. objects. The Rego Style Guide and Regal Rego linter are very helpful resources for learning Rego best practices and avoiding code smells in Rego policies. There is also the OPA performance tuning documentation. In 2018, I started using open policy agent (OPA) as a solution for controlling and preventing unwanted behaviors in our Kubernetes Clusters. OPA, along with Kubernetes Dynamic Admission Control, provided a means to build preventive controls. Since then, I have worked with several PaC solutions. I have always stayed close to the OPA tool set because of how well it supports multiple use cases. OPA is domain agnostic and can be used with virtually any use case, as long as you supply the correct data and policies. To that end, OPA use cases have expanded throughout several technical disciplines, such as cloud-native computing and software supply chain management. OPA performance engineering OPA enables us to unify PaC solutions across multiple use cases and systems, using the same languages and tools. However, there is always room for improvement and performance engineering policies and the execution thereof. In addition, optimizing data that policies evaluate and mutate should be part of our focus when we deliver OPA-based solutions. Recently I was asked to help with OPA performance issues. I made several recommendations, but I overlooked one simple and glaring issue: the poor performing policy was processing a large data set using nested-arrays, instead of the best practice of using keyed-objects. Later, something was bothering me about my interaction and I realized that while I gave decent architectural level advice, I completely missed the best engineering advice. Rego policies and data should be optimized just like other algorithms and relative data, and part of that optimization is

[Next page](<https://devfeed.tech/topics/open-policy-agent.md?cursor=WyIyMDI2LTA3LTA3VDE0OjI1OjMwKzAwOjAwIiwgIjFjOGM3N2IyLTJlNjgtNDM4ZS04MTM2LWVhMzZjMTUzYjI4MSJd>)