New #Regal release is out! v0.8.0 brings a bunch of new features and improvements to your favorite #Rego linter, including a #GitHub output format which will annotate PRs with linter violations. Also four new #linter rules to catch both issues as well as non-idiomatic coding style. Check it out!
#regal #Rego #github #linter #opa #OpenPolicyAgent #devops #devsecops #development
Does anyone know if #GitLab has anything similar to the "workflow commands" ( https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions ) that #GitHub has?
I'd love to integrate my linter #Regal in GitLab CI pipelines, and it would be sweet if the output could actually annotate the #Rego source code at the location of a violation.
Looking at the GitLab docs I'm thinking "no", but I'd love to be wrong about that!
Leaving the work week behind with a bang! 💥 Just pushed v0.7.0 of #Regal, the linter for #Rego. Featuring a new 'custom' category where *you* decide the rules, allowing teams and orgs to enforce things like their own naming conventions. Lots of other good stuff added this summer. If you ever work with #OPA and Rego, make sure to check it out!
Oh, and please give the project a ⭐️ if you'd like to make my weekend even better 😃
#regal #Rego #opa #devops #devsecops #cloudnative #cncf
Good morning from #Munich! 🇩🇪 Two days of #Kubernetes Community Days ahead. I’ll talk #OPA for authorization later today, and a lightning talk on learning OPA and #Rego tomorrow. Good times!
#munich #kubernetes #opa #Rego #KCD #kcdmunich #cloudnative
It's not much, but it's honest work! Pushed a new release of #Regal the #Rego linter yesterday. v0.2.0 adds a new "idiomatic" category and two new linter rules to that, flagging code that uses custom constructs where more idiomatic ones are available. If you're using #OPA, check it out!
https://github.com/StyraInc/regal/releases/tag/v0.2.0
And on the topic of checking out, I'm out for midsummer. To those who celebrate, and to those who don't, have a good one! ☀️🌳🍺
New blog just dropped! On using a #linter as a tool for learning a new #programming language, and how I tried to apply some of those ideas while building #Regal, the new linter for #Rego.
https://www.styra.com/blog/guarding-the-guardrails-introducing-regal-the-rego-linter/
#linter #programming #regal #Rego #OpenPolicyAgent #opa #cloudnative #cncf #PolicyAsCode
It's hot outside, but you know what's even hotter? The #CloudNative meetup taking place at the Google office in #Stockholm this evening. I'll be talking about how to translate "real" policy, like the upcoming #EUCS framework into #PolicyAsCode using #OpenPolicyAgent and #Rego. Also, my buddy Abdel to present on ambient service mesh and #Istio. Good times!
#cloudnative #stockholm #eucs #PolicyAsCode #OpenPolicyAgent #Rego #Istio #CloudNativeNordics #cncf #devops #devsecops #code
My #Rego linter #Regal featured in both the #DevOps weekly newsletter and the #CloudSecList 😃 Not too often I’m proud of something, but now is one of those occasions.
https://github.com/StyraInc/regal/
#PolicyAsCode #OPA #DevSecOps #Development #Code #OpenSource
#Rego #regal #devops #cloudseclist #PolicyAsCode #opa #devsecops #development #code #opensource
Announced yesterday, Regal is a new linter for #Rego, with the ambitious goal of both catching bugs/mistakes in policy code, *and* to help people learn the language! If you ever work with #OPA, I’m sure you’ll find it useful. Check it out, and if you’d like to help kick-start the project by giving at star ⭐️ I’d be overjoyed!
#Rego #opa #cloudnative #linter #code #development #co
My #KubeCon talk from Amsterdam a few weeks ago is now up on YouTube! The #EUCS — a compliance certification scheme for service providers in the cloud — is on its way, and will have a big impact on how organizations work with #security, #compliance and #automation. A holistic framework like the EUCS provides #policy controls applicable to the whole stack. How would we codify and enforce such rules?
#kubecon #eucs #security #compliance #automation #policy #opa #PolicyAsCode #Rego #OSCAL
If you want to talk #OPA, #Rego and #PolicyAsCode — or just say hi 👋 — I’ll be in the OPA kiosk at #KubeCon today between 13:00 - 16:00. See you there! 😃
#opa #Rego #PolicyAsCode #kubecon
It's been a long week. But when you start making memes about compiler stages, it's probably time to hit the sack.
#opa #Rego #development #coding
Some late night excursions in #Rego land, and a huge input structure to traverse, which performed terribly. Got evaluation time down from 17 seconds to 1, with some "opa eval --profile" chasing. Certainly not a representative use case, but a fun one.
Awesome new addition to the #OPA ecosystem! A proxy in front of the #HashiCorp #Nomad API, which allows policy-powered "admission control", similar to that in #Kubernetes.
#opa #HashiCorp #nomad #kubernetes #cloudnative #devops #devsecops #Rego #OpenPolicyAgent
The "tree" command is awesome! Tip: you can have it output a directory structure as JSON using the -J flag, and pipe the output to "opa eval" to enforce policy on the directory structure, or require certain files to be present, in any directory 😃
Eventful week last one! I turned 40, and #OPA turned v0.50.0! Lots of good stuff in this release, like new built-in functions for JSON schema verification, a new shorthand syntax for fetching remote bundles, performance improvements, and more. Check it out!
#OpenPolicyAgent #JSONSchema #Rego
https://github.com/open-policy-agent/opa/releases/tag/v0.50.0
#opa #OpenPolicyAgent #jsonschema #Rego
@hrefna @kevinswiber has done a lot of good work in the #Rego + #OpenAPI field, so I’m hoping he can chip in here. Let’s see if this will have him summoned 🧙
Newbie question on #rego since this is a use case I've been noodling with but haven't done the legwork on yet:
If I have a definition file written for #OpenAPI that contains some custom extensions, what is the best way to get that information into rego in a way that will let me make decisions with it?
@anderseknert @charlieegan3 @chat_with_matt In fairness, I do agree that it is a lot like inverting your brain and a lot of engineers—many who want to get a job done who are often avoidant of SQL and have no experience with #datalog—struggle with it at first ^^
There's a steep learning curve w/ limited resources to get you where you need to be in a hurry.
On the other side I can come up with about eight million reasons I don't like doing the sorts of things that #Rego does in #Go or #Python.