Skip to content
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

Feature request: OPA Policy Language #1731

Open
viniciusbar opened this issue Feb 21, 2024 · 0 comments
Open

Feature request: OPA Policy Language #1731

viniciusbar opened this issue Feb 21, 2024 · 0 comments
Labels

Comments

@viniciusbar
Copy link

Is your feature request related to a problem? Please describe.

OPA is a open source policy engine. It uses a declarative language called Rego.

When writing Rego code, there's a web-based online playground available, that's very useful for testing code.
https://play.openpolicyagent.org/

It's very similar to a Regex engine playground. If you have a section to write your code/rule, a section for INPUT and DATA (additional Data), and a section OUTPUT. You hit run, and the playground gets the input, submit to the opa policy engine (with the rules written) and show the result in OUTPUT section.

I'd like to ask if it's possible to incorporate this functionality (OPA/Rego) in Cyberchef.

Describe the solution you'd like

In many companies, the OPA Playground is blocked in web proxy due to security reasons (DLP - as a way to prevent leaking internal data to external sites). Same happens with regex, json converters, and all similar web-sites with these functionalities.

On the opposite site, Cyberchef many times is allowed in corporate network as an internal/deployed/approved tool - for regex, json converters, and etc. So it would be a great addition to the arsenal having OPA incorporated as a feature.

Describe alternatives you've considered
Running OPA policy engine locally in the desktop.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant