# opa

Published articles for opa.

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

## 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 Blog](<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

## 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 Blog](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [ci](<https://devfeed.tech/topics/ci.md>), [Git](<https://devfeed.tech/topics/git.md>), [opa](<https://devfeed.tech/topics/opa.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

## 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 Blog](<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>), [opa](<https://devfeed.tech/topics/opa.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

## 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: tutorial

Language: en

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

Topics: [opa](<https://devfeed.tech/topics/opa.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [rego](<https://devfeed.tech/topics/rego.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.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>), [performance-tuning](<https://devfeed.tech/tags/performance-tuning.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>), [software-supply-chain](<https://devfeed.tech/tags/software-supply-chain.md>)

### AI overview

This article explains how to improve Open Policy Agent performance by choosing appropriate data structures for Rego policies. It focuses on replacing nested arrays with keyed objects to avoid inefficient array traversal when evaluating large datasets.

### 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

## Type Level Security: The future of secure AI code generation?

DevFeed: [Type Level Security: The future of secure AI code generation?](<https://devfeed.tech/articles/type-level-security-the-future-of-secure-ai-code-generation-8220.md>)

Original publisher: [Read original article](<https://snyk.io/blog/type-level-security/>)

Author: Stephen Thoemmes

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

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Python](<https://devfeed.tech/topics/python.md>), [Web](<https://devfeed.tech/topics/web.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [Application Services](<https://devfeed.tech/topics/application-services.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [awareness](<https://devfeed.tech/tags/awareness.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [code-security](<https://devfeed.tech/tags/code-security.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devops](<https://devfeed.tech/tags/devops.md>), [devsecops](<https://devfeed.tech/tags/devsecops.md>), [enablement](<https://devfeed.tech/tags/enablement.md>), [external](<https://devfeed.tech/tags/external.md>), [opa](<https://devfeed.tech/tags/opa.md>), [python](<https://devfeed.tech/tags/python.md>), [rust](<https://devfeed.tech/tags/rust.md>), [security](<https://devfeed.tech/tags/security.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>), [snyk-platform](<https://devfeed.tech/tags/snyk-platform.md>), [tools](<https://devfeed.tech/tags/tools.md>), [types](<https://devfeed.tech/tags/types.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

The article argues that type systems and secure-by-design libraries can make many web application security vulnerabilities impossible to write or catch at compile time. It presents this approach as a way to reduce vulnerabilities in manually written and AI-generated code, with examples involving Rust, Python, and Trusted Types.

### Source excerpt

Secure-by-design types can turn common bugs into compile-time errors. This post explores how type-level security could help prevent entire classes of AI-generated vulnerabilities.

## Security Benchmarking Authorization Policy Engines: Rego, Cedar, OpenFGA & Teleport ACD

DevFeed: [Security Benchmarking Authorization Policy Engines: Rego, Cedar, OpenFGA & Teleport ACD](<https://devfeed.tech/articles/security-benchmarking-authorization-policy-engines-rego-cedar-openfga-teleport-acd-29590.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/benchmarking-policy-languages/>)

Author: info@goteleport.com (Mohamed Ouad, Doyensec)

Published: 2025-06-04T00:00:00Z

Content type: article

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [benchmarking](<https://devfeed.tech/topics/benchmarking.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Security](<https://devfeed.tech/topics/security.md>), [rego](<https://devfeed.tech/topics/rego.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>)

Tags: [authorization](<https://devfeed.tech/tags/authorization.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [performance](<https://devfeed.tech/tags/performance.md>), [rego](<https://devfeed.tech/tags/rego.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

This article introduces the Security Policy Evaluation Framework (SPEF), an automated testing and benchmarking system for evaluating authorization policy engines. It describes how SPEF assesses robustness, correctness, and performance across Rego, Cedar, OpenFGA, and Teleport ACD.

### Source excerpt

Explore how the Security Policy Evaluation Framework (SPEF) benchmarks Rego, Cedar, OpenFGA, and Teleport ACD for vulnerabilities, correctness, and performance.

## Ep. 8: Enhancing Go Application Security with JWT and OPA

DevFeed: [Ep. 8: Enhancing Go Application Security with JWT and OPA](<https://devfeed.tech/articles/ep-8-enhancing-go-application-security-with-jwt-and-opa-22249.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/07/enhancing-go-application-security-with-jwt-and-opa-ep-8.html>)

Published: 2024-07-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Security](<https://devfeed.tech/topics/security.md>), [JSON Web Tokens](<https://devfeed.tech/topics/jwt.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Application Security](<https://devfeed.tech/topics/application-security.md>)

Tags: [access-control-policies-go](<https://devfeed.tech/tags/access-control-policies-go.md>), [advanced-go-security-tools](<https://devfeed.tech/tags/advanced-go-security-tools.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authentication-vs-authorization](<https://devfeed.tech/tags/authentication-vs-authorization.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [comprehensive-security-framework-go](<https://devfeed.tech/tags/comprehensive-security-framework-go.md>), [dynamic-authorization-rules](<https://devfeed.tech/tags/dynamic-authorization-rules.md>), [embedding-opa-scripts-go](<https://devfeed.tech/tags/embedding-opa-scripts-go.md>), [external-service-opa](<https://devfeed.tech/tags/external-service-opa.md>), [flexible-authorization-go](<https://devfeed.tech/tags/flexible-authorization-go.md>), [go](<https://devfeed.tech/tags/go.md>), [go-application-security](<https://devfeed.tech/tags/go-application-security.md>), [go-application-security-guide](<https://devfeed.tech/tags/go-application-security-guide.md>), [go-authentication](<https://devfeed.tech/tags/go-authentication.md>), [go-authorization](<https://devfeed.tech/tags/go-authorization.md>), [go-developer-security](<https://devfeed.tech/tags/go-developer-security.md>), [go-security-best-practices](<https://devfeed.tech/tags/go-security-best-practices.md>), [go-security-frameworks](<https://devfeed.tech/tags/go-security-frameworks.md>), [go-token-expiration-management](<https://devfeed.tech/tags/go-token-expiration-management.md>), [implementing-jwt-go](<https://devfeed.tech/tags/implementing-jwt-go.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [jwt-private-key-signing](<https://devfeed.tech/tags/jwt-private-key-signing.md>), [jwt-token-generation](<https://devfeed.tech/tags/jwt-token-generation.md>), [jwt-validation-go](<https://devfeed.tech/tags/jwt-validation-go.md>), [opa](<https://devfeed.tech/tags/opa.md>), [opa-go-tutorial](<https://devfeed.tech/tags/opa-go-tutorial.md>), [open-policy-agent-go](<https://devfeed.tech/tags/open-policy-agent-go.md>), [public-key-verification-jwt-go](<https://devfeed.tech/tags/public-key-verification-jwt-go.md>), [reliable-authentication-go](<https://devfeed.tech/tags/reliable-authentication-go.md>), [robust-go-authentication](<https://devfeed.tech/tags/robust-go-authentication.md>), [scalable-security-go](<https://devfeed.tech/tags/scalable-security-go.md>), [secure-go-applications](<https://devfeed.tech/tags/secure-go-applications.md>), [secure-token-management](<https://devfeed.tech/tags/secure-token-management.md>), [security](<https://devfeed.tech/tags/security.md>), [updating-access-control-policies-go](<https://devfeed.tech/tags/updating-access-control-policies-go.md>), [verifying-user-identity-go](<https://devfeed.tech/tags/verifying-user-identity-go.md>)

### AI overview

This episode explains authentication and authorization for Go applications, including JWT generation, signing, validation, and expiration management. It also introduces Open Policy Agent for managing dynamic authorization rules separately from application code.

### Source excerpt

Introduction: In this segment, Bill delves into the fundamental aspects of authentication and authorization, equipping Go developers with essential knowledge and advanced tools to enhance the security of their applications. Through practical examples and detailed explanations, he unpacks the intricacies of these concepts, demonstrating their crucial role in protecting and managing access to your software systems. Learn the distinct roles of verifying user identity and determining access levels. Discover how to use JWTs for secure token generation, validation, and expiration management.

## Keycloak DevDay 2024 Videos published

DevFeed: [Keycloak DevDay 2024 Videos published](<https://devfeed.tech/articles/keycloak-devday-2024-videos-published-31646.md>)

Original publisher: [Read original article](<https://www.keycloak.org/2024/06/keycloak-dev-day-videos>)

Author: Niko Köbler

Published: 2024-06-14T00:00:00Z

Content type: release

Language: en

Sources: [Keycloak Blog](<https://devfeed.tech/sources/keycloak-blog.md>)

Topics: [Keycloak](<https://devfeed.tech/topics/keycloak.md>), [IAM](<https://devfeed.tech/topics/iam.md>), [Multi-tenancy](<https://devfeed.tech/topics/multi-tenancy.md>), [opa](<https://devfeed.tech/topics/opa.md>), [Apache Cassandra](<https://devfeed.tech/topics/cassandra.md>), [Extension](<https://devfeed.tech/topics/extension.md>), [Testcontainers](<https://devfeed.tech/topics/testcontainers.md>)

Tags: [cassandra](<https://devfeed.tech/tags/cassandra.md>), [community](<https://devfeed.tech/tags/community.md>), [conference](<https://devfeed.tech/tags/conference.md>), [event](<https://devfeed.tech/tags/event.md>), [extension](<https://devfeed.tech/tags/extension.md>), [idm](<https://devfeed.tech/tags/idm.md>), [kerberos](<https://devfeed.tech/tags/kerberos.md>), [keycloak](<https://devfeed.tech/tags/keycloak.md>), [ldap](<https://devfeed.tech/tags/ldap.md>), [multi-tenancy](<https://devfeed.tech/tags/multi-tenancy.md>), [opa](<https://devfeed.tech/tags/opa.md>), [openid-connect](<https://devfeed.tech/tags/openid-connect.md>), [saml](<https://devfeed.tech/tags/saml.md>), [sso](<https://devfeed.tech/tags/sso.md>), [testcontainers](<https://devfeed.tech/tags/testcontainers.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

This announcement says that recorded and live-streamed sessions from the first Keycloak DevDay conference were published online. It lists sessions covering Keycloak, including multi-tenancy, access management with OPA, extension development, Testcontainers, IAM, configuration, and Cassandra.

### Source excerpt

Back in February this year, we (Sebastian and me (Niko)) hosted the very first edition of Keycloak DevDay - a one-day, community-driven conference - in Frankfurt/Main, Germany. The event was a blast and completely sold-out, plus many additional participants online in the two parallel live streams. We were able to welcome attendees from all over Europe. Thank you all for being part of this incredible event! 🙏 For all of you who couldn't attend, we have published all the recorded and live streamed sessions online on my YouTube channel: Keynote: What's Next in Keycloak (Alexander Schwartz, Red Hat) Multi-Tenancy in Keycloak (Garth Patil, Phase Two) Flexible Access Management with Keycloak & OPA (Thomas Darimont, codecentric) Best Practices for Extension Development (Sven-Torben Janus, Conciso) Extensions Development with Testcontainers (Niko Köbler, @dasniko) A Look at Keycloak from the IAM Point of View (Robert Bauer, intension) Automating Keycloak Configuration (Sophie Tauchert, Relaxdays) Ask the Maintainers Session (A. Schwartz, T. Darimont, S. Schuster) IAM Doomsday Prepper (Maik Kingma) Keycloak Cassandra Datastore (Dominik Schlosser) The complete playlist can be found here. We are currently preparing the next edition "Keycloak DeveloperDay 2025". If you want to contribute, please get in touch with us (Sebastian & Niko)! Expect more information in the next weeks and months. Looking forward to have you and your colleagues & team members as attendees!

## Automatic source locations with Rego

DevFeed: [Automatic source locations with Rego](<https://devfeed.tech/articles/automatic-source-locations-with-rego-7835.md>)

Original publisher: [Read original article](<https://snyk.io/blog/automatic-source-locations-rego/>)

Author: Jasper Van der Jeugt

Published: 2024-02-12T05:00:00Z

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [opa](<https://devfeed.tech/topics/opa.md>), [snyk-iac](<https://devfeed.tech/topics/snyk-iac.md>), [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [AWS CloudFormation](<https://devfeed.tech/topics/aws-cloudformation.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [cloudformation](<https://devfeed.tech/tags/cloudformation.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [iac](<https://devfeed.tech/tags/iac.md>), [opa](<https://devfeed.tech/tags/opa.md>), [rego](<https://devfeed.tech/tags/rego.md>), [snyk](<https://devfeed.tech/tags/snyk.md>), [snyk-iac](<https://devfeed.tech/tags/snyk-iac.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This technical Snyk article explains automatic source code locations for Rego policy violations in Snyk IaC. The feature reports accurate file, line, and column information, including for custom rules. A simplified proof of concept uses CloudFormation YAML, Rego policies, and YAML tree traversal to infer attribute paths and retrieve source locations.

### Source excerpt

We recently released a series of improvements to Snyk IaC, and in this blog post, we're taking a technical dive into a particularly interesting feature -- automatic source code locations for rule violations.

## Open Policy Agent for Trino arrived

DevFeed: [Open Policy Agent for Trino arrived](<https://devfeed.tech/articles/open-policy-agent-for-trino-arrived-8748.md>)

Original publisher: [Read original article](<https://trino.io/blog/2024/02/06/opa-arrived.html>)

Author: Manfred Moser

Published: 2024-02-06T00:00:00Z

Content type: article

Language: en

Sources: [Trino Blog](<https://devfeed.tech/sources/trino-blog.md>)

Topics: [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Cloud Native Ecosystem](<https://devfeed.tech/topics/cloud-native-ecosystem.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [Code review](<https://devfeed.tech/topics/code-review.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [migration](<https://devfeed.tech/tags/migration.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [policy](<https://devfeed.tech/tags/policy.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [review](<https://devfeed.tech/tags/review.md>)

### AI overview

Trino 438 introduces an access control integration with Open Policy Agent (OPA). The article recounts the collaboration that brought the integration to Trino, its presentation at Trino Summit 2023, migration from Apache Ranger, and demonstrations of OPA across data platforms.

### Source excerpt

Trino now ships with an access control integration using the popular and widely used Open Policy Agent (OPA) from the Cloud Native Computing Foundation. The release of Trino 438 marks an important milestone of the effort towards this integration.

## Centrally enforce policy as code for GraphQL APIs

DevFeed: [Centrally enforce policy as code for GraphQL APIs](<https://devfeed.tech/articles/centrally-enforce-policy-as-code-for-graphql-apis-23252.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/centrally-enforce-policy-as-code-for-graphql-apis>)

Author: Vivek Ravishankar

Published: 2023-12-12T14:00:00Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [GraphOS](<https://devfeed.tech/topics/graphos.md>), [API Platform](<https://devfeed.tech/topics/api-platform.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [api-platform](<https://devfeed.tech/tags/api-platform.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [graphos](<https://devfeed.tech/tags/graphos.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [opa](<https://devfeed.tech/tags/opa.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>)

### AI overview

Apollo describes using GraphOS schema directives to enforce policy-as-code authorization at the type and field levels of federated GraphQL supergraphs. The directives are generally available to GraphOS Enterprise customers and can integrate with authorization systems such as Open Policy Agent.

### Source excerpt

Although many in the industry consider GraphQL a replacement for existing API technologies, it is at its most powerful when used as a central orchestration layer between apps and existing services. This layer, implemented as a federated graph (or supergraph, for short), acts as a self-service API platform that accelerates development velocity for both frontend and backend teams.

## Rego 103: Types of values and rules

DevFeed: [Rego 103: Types of values and rules](<https://devfeed.tech/articles/rego-103-types-of-values-and-rules-8061.md>)

Original publisher: [Read original article](<https://snyk.io/blog/rego-103-values-and-rules/>)

Author: Jasper Van der Jeugt; Becki Lee

Published: 2023-11-16T05:00:00Z

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

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

Tags: [beginner](<https://devfeed.tech/tags/beginner.md>), [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [code](<https://devfeed.tech/tags/code.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [enablement](<https://devfeed.tech/tags/enablement.md>), [iac-security](<https://devfeed.tech/tags/iac-security.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [learn](<https://devfeed.tech/tags/learn.md>), [opa](<https://devfeed.tech/tags/opa.md>), [policy](<https://devfeed.tech/tags/policy.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rego](<https://devfeed.tech/tags/rego.md>), [snyk-cloud](<https://devfeed.tech/tags/snyk-cloud.md>), [snyk-iac](<https://devfeed.tech/tags/snyk-iac.md>), [types](<https://devfeed.tech/tags/types.md>)

### AI overview

This beginner-focused article is the third part of a Rego introduction series. It explains scalar and composite value types, including strings, numbers, booleans, null, arrays, objects, and sets, and introduces set rules, object rules, functions, and iteration for writing policies evaluated by OPA.

### Source excerpt

Learn about the different types of Values and Rules you can use to build policies in OPA & Rego.

## Rego 102: Combining queries with AND/OR and custom messages

DevFeed: [Rego 102: Combining queries with AND/OR and custom messages](<https://devfeed.tech/articles/rego-102-combining-queries-with-and-or-and-custom-messages-8062.md>)

Original publisher: [Read original article](<https://snyk.io/blog/rego-for-beginners-part-2/>)

Author: Jasper Van der Jeugt; Becki Lee

Published: 2023-11-09T06:00:00Z

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [rego](<https://devfeed.tech/topics/rego.md>), [opa](<https://devfeed.tech/topics/opa.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>), [JSON](<https://devfeed.tech/topics/json.md>), [YAML](<https://devfeed.tech/topics/yaml.md>)

Tags: [beginner](<https://devfeed.tech/tags/beginner.md>), [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [code](<https://devfeed.tech/tags/code.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [enablement](<https://devfeed.tech/tags/enablement.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [iac-security](<https://devfeed.tech/tags/iac-security.md>), [opa](<https://devfeed.tech/tags/opa.md>), [policy](<https://devfeed.tech/tags/policy.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rego](<https://devfeed.tech/tags/rego.md>), [snyk-cloud](<https://devfeed.tech/tags/snyk-cloud.md>), [snyk-iac](<https://devfeed.tech/tags/snyk-iac.md>)

### AI overview

A beginner-focused guide to intermediate Rego syntax, explaining how to combine queries with AND and OR and introduce custom messages. It describes how OPA evaluates Rego policies against JSON or YAML input documents.

### Source excerpt

Learn how to use AND and OR rules and custom messages using OPA and Rego in the second part of our beginner's guide to Rego.

## Rego 101: Introduction to Rego

DevFeed: [Rego 101: Introduction to Rego](<https://devfeed.tech/articles/rego-101-introduction-to-rego-7987.md>)

Original publisher: [Read original article](<https://snyk.io/blog/introduction-to-rego/>)

Author: Becki Lee

Published: 2023-11-02T05:00:00Z

Content type: tutorial

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [rego](<https://devfeed.tech/topics/rego.md>), [opa](<https://devfeed.tech/topics/opa.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>), [Security](<https://devfeed.tech/topics/security.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [cloud-security](<https://devfeed.tech/tags/cloud-security.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [enablement](<https://devfeed.tech/tags/enablement.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [iac-security](<https://devfeed.tech/tags/iac-security.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [infrastructure-as-code-iac](<https://devfeed.tech/tags/infrastructure-as-code-iac.md>), [learn](<https://devfeed.tech/tags/learn.md>), [opa](<https://devfeed.tech/tags/opa.md>), [policy](<https://devfeed.tech/tags/policy.md>), [rego](<https://devfeed.tech/tags/rego.md>), [security](<https://devfeed.tech/tags/security.md>), [snyk-cloud](<https://devfeed.tech/tags/snyk-cloud.md>), [snyk-iac](<https://devfeed.tech/tags/snyk-iac.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A beginner-focused introduction to Rego, the declarative policy language used with Open Policy Agent (OPA). It explains policy as code, how OPA evaluates Rego policies, and how these policies can be applied to cloud and infrastructure-as-code resources.

### Source excerpt

Learn how to write your first policy as code rules in Rego. This Rego tutorial for beginners covers the basics of Rego syntax and using OPA.

## CVE-2019-3826 as a false positive in OPA Gatekeeper Images

DevFeed: [CVE-2019-3826 as a false positive in OPA Gatekeeper Images](<https://devfeed.tech/articles/the-phantom-menace-of-cve-2019-3826-unmasking-the-false-positive-13265.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/the-phantom-menace-of-cve-2019-3826-unmasking-the-false-positive>)

Published: 2023-10-31T00:00:00Z

Content type: opinion

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [chainguard images](<https://devfeed.tech/topics/chainguard-images.md>), [Security](<https://devfeed.tech/topics/security.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [opa](<https://devfeed.tech/topics/opa.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [chainguard](<https://devfeed.tech/tags/chainguard.md>), [chainguard-images](<https://devfeed.tech/tags/chainguard-images.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2019-3826](<https://devfeed.tech/tags/cve-2019-3826.md>), [cves](<https://devfeed.tech/tags/cves.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [false-positive](<https://devfeed.tech/tags/false-positive.md>), [opa](<https://devfeed.tech/tags/opa.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [vulnerability-scanner](<https://devfeed.tech/tags/vulnerability-scanner.md>)

### AI overview

This article explains that CVE-2019-3826 affects applications using Prometheus for metrics when they expose the web UI. It presents the Chainguard OPA Gatekeeper Image as unaffected because it does not expose that UI, making the scanner result a false positive.

### Source excerpt

Unveil the false positive of CVE-2019-3826 and combat phantom menaces with Chainguard's vigilant security.