-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add flexibility to collectors & analysers to allow running external programs #1078
Comments
The plugin interface should define standard way of retrieving kubeconfig. As |
Very correct.
Inspiration from helm: https://helm.sh/docs/topics/plugins/#environment-variables |
Addressed by #1376 |
Reopening since we might want to put in some thought on the analyser side of things. The ability to inject custom analyser logic without needing to write new analysers is worth considering. |
Describe the rationale for the suggested feature.
In an effort of supporting extensibility of using support-bundle & preflight binaries, it would be good to be able to run other available programs in a system without only relying on stdout/stderr/exit codes. Some example use cases that come to mind are
Describe the feature
The "how" part is still open, but here is a suggestion that has been touched on in a community meeting (notes can be found here) and other various discussions.
Here is my fictional collector that collects audit event logs, enriches them with user data and stores the output in
$WORKSPACE_OUTPUT
.$WORKSPACE_OUTPUT
is a unique directory created by the framework for this collector instance. Contents are them copied over to the bundle once executing the collector completes.Open questions
Inspirations
The text was updated successfully, but these errors were encountered: