TGViewer
CatOps CatOps @catops · 5.07K subscribers
Post #2034 2.3K
Policies as code is a powerful tool to test and validate your configuration.

And probably one of the most famous engines for policies as code is OPA aka Open Policy Agent.

The beautiful part of it is that it’s kind of platform agnostic i.e. there are tools that implement OPA for different things. Threfore, OPA policies are usually not limited to a single application.

The hard part of OPA is that it uses Rego langugage, which is not quite similar to the popular general purpose programming langugages. If you payed attention to langugages like Prolog at school, Rego might be not a big issue for you.

However, if you don’t remember those classes or didn’t have them at all (like myself, he-he), this article on how to get started with Rego might be helpful for you!

#opa #policy #security
Getting Started with Rego Policies A few tips and tricks to get you up and running with Rego, a declarative language for writing authorization policies.
  • 👍 9
More from @catops
  1. Oct 8, 2026I’m going on a vacation, which means that I likely won’t post at all or post something ver…
  2. Oct 6, 2026A colleague of mine wrote an article about data migrations. Handling data migrations witho…
  3. Oct 1, 2026​​I traded my personal information for this report, so you don’t have to! DataDog presents…
  4. Sep 29, 2026A Cybersecurity books bundle by O’Reilly on Humble Bundle. The bundle is fresh and is stil…
  5. Sep 28, 2026​​For today’s Donations Monday, I’d like to remind you about a fundraiser for a pickup tru…
  6. Sep 26, 2026Here’s Datadog’s take on the increased load on CI. In this article they explain how their…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →