Settings API - Limit outbound connections schema table
Limit outbound connections (builtin:dt-javascript-runtime.allowed-outbound-connections)
You can limit the accessibility of public endpoints from functions running in the Dynatrace JavaScript runtime, for example, the backends of apps and functions written in the Dashboards, Notebooks and Automations app.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:dt-javascript-runtime.allowed-outbound-connections |
| environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.allowed-outbound-connections |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:dt-javascript-runtime.allowed-outbound-connections | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.allowed-outbound-connections |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
allowedOutboundConnections | - | AllowedHostsList | - | required |
Request body objects
The AllowedHostsList
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enforced | Limit outbound connections to endpoints in the allow-list | boolean | If enabled, the Dynatrace JavaScript runtime will only be able to connect to the specified hosts. | required |
hostList | Allow-list | set | The Dynatrace JavaScript runtime will only be able to connect to these hosts. | required |