Open pmuellr opened 23 hours ago
Pinging @elastic/response-ops (Team:ResponseOps)
Note this was a little premature - actually an inference connector DOES need to be pre-configured - some conversation here:
https://github.com/elastic/kibana/pull/189027#issuecomment-2406133287
We can use this issue to discuss how this can happen, I'll swizzle the title and top comment ...
based on PR comments:
Originally this was titled "prevent connectors" without the "or allow", but I guess we're still figuring it out, and it looks like we will likely need to allow them.
If we wanted to prevent themwe should be able to - at startup - mark pre-configured connectors as disabled (or unusable, somehow), if their connectorType has pre-save/post-save/post-delete hooks. Since the hooks will never be called since the connector is never "created" or "deleted" via API.
If we want to allow them, we need to figure out:
Once we figure out which way to go, we can aim this issue down that track, or leave this as discussion and create a new one ...