Hello!
As some of you might know, policies and policy engines have become a little bit of a hot topic in the automation world.
NSO has some built-in capabilities for policies (/policy in the data-model), but I wanted to show how straight-forward a simple integration with an external policy agent can be, in this case the open policy agent (OPA).
I created a small demonstration project https://github.com/NSO-developer/opa-example of both transferring static data from NSO into OPA and using OPA to take policy decisions for NSO.
Besides the project, I also recorded a quick demo that shows the "action": https://asciinema.org/a/dHgdvpAR0N9PJ2oIoHb22KqBR