• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Limit outbound connections

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 IDSchema groupsScope
builtin:dt-javascript-runtime.allowed-outbound-connections
  • group:dt-javascript-runtime
  • group:preferences
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.allowed-outbound-connections
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:dt-javascript-runtime.allowed-outbound-connections
Environment ActiveGatehttps://{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

PropertyLabelTypeDescriptionRequired
allowedOutboundConnections-AllowedHostsList-required

Request body objects

The AllowedHostsList object
PropertyLabelTypeDescriptionRequired
enforcedLimit outbound connections to endpoints in the allow-listboolean

If enabled, the Dynatrace JavaScript runtime will only be able to connect to the specified hosts.

required
hostListAllow-listset

The Dynatrace JavaScript runtime will only be to connect to these hosts.

required