Anders Eknert · @anderseknert
954 followers · 2014 posts · Server hachyderm.io

New release is out! v0.8.0 brings a bunch of new features and improvements to your favorite linter, including a output format which will annotate PRs with linter violations. Also four new rules to catch both issues as well as non-idiomatic coding style. Check it out!

github.com/StyraInc/regal/rele

#regal #Rego #github #linter #opa #OpenPolicyAgent #devops #devsecops #development

Last updated 1 year ago

Anders Eknert · @anderseknert
939 followers · 1885 posts · Server hachyderm.io

Does anyone know if has anything similar to the "workflow commands" ( docs.github.com/en/actions/usi ) that has?

I'd love to integrate my linter in GitLab CI pipelines, and it would be sweet if the output could actually annotate the 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!

#gitlab #github #regal #Rego

Last updated 1 year ago

Anders Eknert · @anderseknert
902 followers · 1800 posts · Server hachyderm.io

Leaving the work week behind with a bang! 💥 Just pushed v0.7.0 of , the linter for . 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 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 😃

github.com/styraInc/regal

#regal #Rego #opa #devops #devsecops #cloudnative #cncf

Last updated 1 year ago

Anders Eknert · @anderseknert
799 followers · 1618 posts · Server hachyderm.io

Good morning from ! 🇩🇪 Two days of Community Days ahead. I’ll talk for authorization later today, and a lightning talk on learning OPA and tomorrow. Good times!

#munich #kubernetes #opa #Rego #KCD #kcdmunich #cloudnative

Last updated 1 year ago

Anders Eknert · @anderseknert
694 followers · 1338 posts · Server hachyderm.io

It's not much, but it's honest work! Pushed a new release of the 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 , check it out!

github.com/StyraInc/regal/rele

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! ☀️🌳🍺

#regal #Rego #opa

Last updated 1 year ago

Anders Eknert · @anderseknert
673 followers · 1328 posts · Server hachyderm.io

New blog just dropped! On using a as a tool for learning a new language, and how I tried to apply some of those ideas while building , the new linter for .

styra.com/blog/guarding-the-gu

#linter #programming #regal #Rego #OpenPolicyAgent #opa #cloudnative #cncf #PolicyAsCode

Last updated 1 year ago

Anders Eknert · @anderseknert
661 followers · 1282 posts · Server hachyderm.io

It's hot outside, but you know what's even hotter? The meetup taking place at the Google office in this evening. I'll be talking about how to translate "real" policy, like the upcoming framework into using and . Also, my buddy Abdel to present on ambient service mesh and . Good times!

community.cncf.io/events/detai

#cloudnative #stockholm #eucs #PolicyAsCode #OpenPolicyAgent #Rego #Istio #CloudNativeNordics #cncf #devops #devsecops #code

Last updated 1 year ago

Anders Eknert · @anderseknert
655 followers · 1273 posts · Server hachyderm.io

My linter featured in both the weekly newsletter and the 😃 Not too often I’m proud of something, but now is one of those occasions.

github.com/StyraInc/regal/

#Rego #regal #devops #cloudseclist #PolicyAsCode #opa #devsecops #development #code #opensource

Last updated 1 year ago

Anders Eknert · @anderseknert
655 followers · 1269 posts · Server hachyderm.io

Announced yesterday, Regal is a new linter for , with the ambitious goal of both catching bugs/mistakes in policy code, *and* to help people learn the language! If you ever work with , 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!

github.com/StyraInc/regal/

#Rego #opa #cloudnative #linter #code #development #co

Last updated 1 year ago

Anders Eknert · @anderseknert
598 followers · 991 posts · Server hachyderm.io

My talk from Amsterdam a few weeks ago is now up on YouTube! The — 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 , and . A holistic framework like the EUCS provides controls applicable to the whole stack. How would we codify and enforce such rules?

@enisa_eu

youtube.com/watch?v=XoWf4QcSbD

#kubecon #eucs #security #compliance #automation #policy #opa #PolicyAsCode #Rego #OSCAL

Last updated 1 year ago

Anders Eknert · @anderseknert
517 followers · 836 posts · Server hachyderm.io

If you want to talk , and — or just say hi 👋 — I’ll be in the OPA kiosk at today between 13:00 - 16:00. See you there! 😃

#opa #Rego #PolicyAsCode #kubecon

Last updated 1 year ago

Anders Eknert · @anderseknert
490 followers · 776 posts · Server hachyderm.io

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

Last updated 1 year ago

Anders Eknert · @anderseknert
461 followers · 688 posts · Server hachyderm.io

Some late night excursions in 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.

github.com/anderseknert/rego-p

#Rego

Last updated 1 year ago

Anders Eknert · @anderseknert
460 followers · 676 posts · Server hachyderm.io

Using with policy compiled to , and to create CLI tools... sure ticks a lot of my nerd checkboxes 😄 Awesome!

github.com/DeterminateSystems/

#opa #Rego #wasm #nix

Last updated 1 year ago

Anders Eknert · @anderseknert
449 followers · 647 posts · Server hachyderm.io

Awesome new addition to the ecosystem! A proxy in front of the API, which allows policy-powered "admission control", similar to that in .

github.com/mxab/nacp

#opa #HashiCorp #nomad #kubernetes #cloudnative #devops #devsecops #Rego #OpenPolicyAgent

Last updated 1 year ago

Anders Eknert · @anderseknert
439 followers · 596 posts · Server hachyderm.io

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 😃

#opa #Rego #tree

Last updated 1 year ago

Anders Eknert · @anderseknert
426 followers · 544 posts · Server hachyderm.io

Eventful week last one! I turned 40, and 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!

github.com/open-policy-agent/o

#opa #OpenPolicyAgent #jsonschema #Rego

Last updated 1 year ago

Anders Eknert · @anderseknert
421 followers · 491 posts · Server hachyderm.io

@hrefna @kevinswiber has done a lot of good work in the + field, so I’m hoping he can chip in here. Let’s see if this will have him summoned 🧙

#Rego #openapi

Last updated 1 year ago

Hrefna (DHC) · @hrefna
567 followers · 2143 posts · Server hachyderm.io

Newbie question on 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 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?

#Rego #openapi

Last updated 1 year ago

Hrefna (DHC) · @hrefna
567 followers · 2143 posts · Server hachyderm.io

@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 —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 does in or .

#datalog #Rego #go #python

Last updated 1 year ago