-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔌 Plugin: Overview Open Policy Agent Policy #248
Comments
This would be really cool! Are you going to develop it? |
I'm not sure yet, maybe together with our colleagues from the SDA SE :) |
This seems like something that might play nicely with the tech-insights plugin? |
Yes this could also be a good solution. Like a security card or something simular |
+1 for this plugin. This will be very useful. |
+1 for this |
Hey! definitely +1, have you done any work on this? Would also like to maybe take a shot at it, let me know! |
Came across a React UI that could be converted to a backstage plugin which is documented further Here Fugue also does a great job with simplifying the creation and management of new rules, the question-and-answer plugin may be a good starting point. |
This sounds great, does anyone want to start creating a plugin for this? 🙏 |
I could start looking into this, I am in the process now of actually wrapping up and writing some documentation for a few OPA-related plugins.
It would be nice to have something like the above, maybe it can also be tied together somehow... I will take some time and check it out! |
@Parsifal-M fyi this got moved over now to the community plugins repo! |
Awesome thanks @freben! Will post an update on it 👏 |
Hello OPA enthusiasts! I realised that I did not post any updates on this! Since way back when... I have been able to make a few cool OPA related plugins that I think if you are using OPA (or even if you are not but want to) would enjoy!
Im sure more will come soon! I am having quite a bit of fun experimenting on adding integrations between the two 👏 |
Hello again! Just a quick update, I am adding another front-end plugin for OPA that will display the policy an entity uses, you can find it here: https://github.com/Parsifal-M/backstage-opa-plugins/tree/feat/opa-policy-front-end (still a bit WIP) but it will look something like this: The tricky part here is that the annotation you add will have to be a URL of the file location (until we can come up with a better solution) because usually you would host OPA as a sidecar/daemon or something so you can't simply fetch the policies via the API from your backstage instance. Also it could be the case, or more usually I think you would have a repo that contains policies somewhere and not keep the policy file inside the same repo as the component/resource, so its a catch-all type approach 😓 EDIT: One thing that I was sadly not able to use is the LMK if you have any better ideas I am keen to collab on this! Thanks! |
Amazing @Parsifal-M! I will close the issue as the plugin has been created. Feel free to suggest improvements directly in https://github.com/Parsifal-M/backstage-opa-plugins |
Summary
The Open Policy Agent plugin should provide a tab where you can read the policy (Nice to have syntax highlighting).
The policies should also be indexed so that developers can explicitly search for them.
Context
The Open Policy Agent (OPA) is an open source, general-purpose policy engine that enables unified, context-aware policy enforcement across the entire stack.
https://github.com/open-policy-agent/opa
The text was updated successfully, but these errors were encountered: