You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
When someone specifies the --plugin flag it can currently be:
a known word like e2e or systemd-logs
a name of a local file which holds the plugin definition
I think a 3rd option should be supported to aid in sharing/experimenting with plugins: loading from a URL.
Anything else you would like to add:
I think this is pretty trivial to do; we just need to check the string and see if it parses as a URL. If it does, do a GET to the URL and the response body is the io.Reader that we can pass around.
This would not be the most secure feature since the user could be targeting a URL they haven't verified the contents of or they could be subject to MITM attacks but I think this is still a useful, feature to make experimentation/sharing more simple.
The text was updated successfully, but these errors were encountered:
We currently allow loading plugins from the local file system
but for sharing of plugins it makes sense to allow users to
specify a URL.
Fixes#986
Signed-off-by: John Schnake <jschnake@vmware.com>
Describe the solution you'd like
When someone specifies the
--plugin
flag it can currently be:e2e
orsystemd-logs
I think a 3rd option should be supported to aid in sharing/experimenting with plugins: loading from a URL.
Anything else you would like to add:
I think this is pretty trivial to do; we just need to check the string and see if it parses as a URL. If it does, do a GET to the URL and the response body is the io.Reader that we can pass around.
This would not be the most secure feature since the user could be targeting a URL they haven't verified the contents of or they could be subject to MITM attacks but I think this is still a useful, feature to make experimentation/sharing more simple.
The text was updated successfully, but these errors were encountered: