customDatasources: allow to run external binaries to generate result #23410
Labels
datasource:custom
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:feature
Feature (new functionality)
Describe the proposed change(s).
This feature is only intended for self hosted instances because of the security implications!
Also it should be not enabled by default!
There should be a new global config option for limiting the allowed commands:
allowedCustomDatasourceCommands
.This should mimic allowedPostUpgradeCommands.
Further there should be a new option
This will run all commands of
registryCommands
serially and will capture the output (stdout
) of all commands and concat it at the and.The resulting string is then be processed depending on the chosen
format
Describe why we need/want these change(s).
#23286 (comment)
Currently if using the
custom
datasource there is no way we can support every use case or API. A step to allow even more concepts would be to option to handover the gathering of the raw data to an external process.An example would be fetching files from an network share and then handing over the contents to Renovate or running queries from CLI tools such as
aws
oraz
for the respective cloud providers.The text was updated successfully, but these errors were encountered: