Read allowed_hosts
from actor definitions yaml and store in database
#21183
Labels
allowed_hosts
from actor definitions yaml and store in database
#21183
From the tech spec:
ActorDefintions are updated so that connectors can declare which hosts/IPs they intend to connect to. This is a new optional field in source_definitions.yaml and destination_definitions.yaml.
The new “allowed_hosts” property is an array. It’s values can be URL matches (per the example above, e.g. "*.instagram.com"), IP address and/or CIDR ranges, or a reference to a value that will be completed by the user completing the connector’s configuration. The reference use-case is required for those connectors who accept a dynamic hostname or IP address to connect to (e.g. a database hostname or an API sub-domain). A reference specification could look like:
Finally, we can combine the approaches for when there’s a customer-specific subdomain in use with interpolation:
This information should be loaded by the bootloader and stored in the actor_defintions table in the database in a new column as a JSON array.
The text was updated successfully, but these errors were encountered: