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

Support for OPA Conftest #126

Open
jdoylei opened this issue Apr 4, 2022 · 0 comments
Open

Support for OPA Conftest #126

jdoylei opened this issue Apr 4, 2022 · 0 comments

Comments

@jdoylei
Copy link

jdoylei commented Apr 4, 2022

It would be great if the opa-idea-plugin could also support running the separate Conftest utility that scans/tests projects consisting of configuration data (like Kubernetes resource manifests).

What would you like to be added

  • Ability to trigger Conftest with one or more selected files in the current IntelliJ project as its input "configuration files" to be tested
  • Ability to load Conftest's "junit" output ( XML report file) and render in IntelliJ's Test Runner tab, to show failed tests etc.
  • Ability to configure the Conftest run to include a pre-processing step on the configuration files before they're passed to Conftest, like running Kustomize on them

Why is this needed

  • Conftest is a great utility, but the best integration you can set up currently is to run it as a generic shell script command in IntelliJ's terminal. Having it integrate automatically with the Test Runner tab would make it more developer-friendly and easier to include in the workflow of updating configuration files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant