Skip to main content

Classic environment v2

  • Reference

Documentation of the Dynatrace Environment API v2. Resources here generally supersede those in v1. Migration of resources from v1 is in progress.

If you miss a resource, consider using the Dynatrace Environment API v1.

To read about use cases and examples, see Dynatrace Documentation.

Notes about compatibility:

  • Operations marked as early adopter or preview may be changed in non-compatible ways, although we try to avoid this.
  • We may add new enum constants without incrementing the API version; thus, clients need to handle unknown enum constants gracefully.
Version 10
npm install @dynatrace-sdk/client-classic-environment-v2

accessTokensActiveGateTokensClient​

import { accessTokensActiveGateTokensClient } from '@dynatrace-sdk/client-classic-environment-v2';

createToken​

accessTokensActiveGateTokensClient.createToken(config): Promise<ActiveGateTokenCreated>

Creates a new ActiveGate token

One of the following scopes is required:

  • environment-api:activegate-tokens:create
  • environment-api:activegate-tokens:write
  • fleet-management:activegate.tokens:create
  • fleet-management:activegate.tokens:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegate.tokens:write

The newly created token will be owned by the same user who owns the token used for authentication of the call.

Parameters​

NameType
config.body*requiredActiveGateTokenCreate

Returns​

Return typeStatus codeDescription
ActiveGateTokenCreated201Success. The token has been created. The body of the response contains the token secret.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensActiveGateTokensClient.createToken({
body: {
activeGateType: "ENVIRONMENT",
name: "myToken",
},
});

getToken​

accessTokensActiveGateTokensClient.getToken(config): Promise<ActiveGateToken>

Gets metadata of an ActiveGate token

One of the following scopes is required:

  • environment-api:activegate-tokens:read
  • fleet-management:activegate.tokens:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegate.tokens:read

The token secret is not exposed.

Parameters​

NameTypeDescription
config.activeGateTokenIdentifier*requiredstringThe ActiveGate token identifier, consisting of prefix and public part of the token.

Returns​

Return typeStatus codeDescription
ActiveGateToken200Success. The response contains the metadata of the tokens.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensActiveGateTokensClient.getToken({
activeGateTokenIdentifier: "...",
});

listTokens​

accessTokensActiveGateTokensClient.listTokens(config): Promise<ActiveGateTokenList>

Lists all available ActiveGate tokens

One of the following scopes is required:

  • environment-api:activegate-tokens:read
  • fleet-management:activegate.tokens:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegate.tokens:read

You can limit the output by using pagination:

  1. Specify the number of results per page in the pageSize query parameter.
  2. Use the cursor from the nextPageKey field of the previous response in the nextPageKey query parameter to obtain subsequent pages.

Parameters​

NameTypeDescription
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of ActiveGate tokens in a single response payload.

The maximal allowed page size is 3000 and the minimal size is 100.

If not set, 100 is used.

Returns​

Return typeStatus codeDescription
ActiveGateTokenList200Success. The response contains the list of ActiveGate tokens.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensActiveGateTokensClient.listTokens();

revokeToken​

accessTokensActiveGateTokensClient.revokeToken(config): Promise<void>

Deletes an ActiveGate token

One of the following scopes is required:

  • environment-api:activegate-tokens:write
  • fleet-management:activegate.tokens:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegate.tokens:write

Parameters​

NameTypeDescription
config.activeGateTokenIdentifier*requiredstringThe ActiveGate token identifier, consisting of prefix and public part of the token to be deleted.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensActiveGateTokensClient.revokeToken({
activeGateTokenIdentifier: "...",
});

accessTokensAgentTokensClient​

import { accessTokensAgentTokensClient } from '@dynatrace-sdk/client-classic-environment-v2';

getAgentConnectionToken​

accessTokensAgentTokensClient.getAgentConnectionToken(config): Promise<AgentConnectionToken>

Gets the agent connection token | maturity=EARLY_ADOPTER

One of the following scopes is required:

  • environment-api:agent-connection-tokens:read
  • fleet-management:oneagent.tokens:read

One of the following permissions is required:

  • environment:roles:agent-install
  • fleet-management:oneagent.tokens:read

Returns the agent connection token.

Returns​

Return typeStatus codeDescription
AgentConnectionToken200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { accessTokensAgentTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensAgentTokensClient.getAgentConnectionToken();

accessTokensApiTokensClient​

import { accessTokensApiTokensClient } from '@dynatrace-sdk/client-classic-environment-v2';

createApiToken​

⚠️ Deprecated

accessTokensApiTokensClient.createApiToken(config): Promise<ApiTokenCreated>

Creates a new API token

One of the following scopes is required:

  • environment-api:api-tokens:write
  • api-tokens:tokens:write

One of the following permissions is required:

  • environment:roles:viewer
  • api-tokens:tokens:write

The newly created token will be owned by the same user who owns the token used for authentication of the call.

Creating personal access tokens requires the environment:roles:viewer permission. Creating access tokens requires the environment:roles:manage-settings permission.

Parameters​

NameType
config.body*requiredApiTokenCreate

Returns​

Return typeStatus codeDescription
ApiTokenCreated201Success. The token has been created. The body of the response contains the token secret.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensApiTokensClient.createApiToken({
body: { name: "tokenName", scopes: ["metrics.read"] },
});

deleteApiToken​

⚠️ Deprecated

accessTokensApiTokensClient.deleteApiToken(config): Promise<void>

Deletes an API token

One of the following scopes is required:

  • environment-api:api-tokens:write
  • api-tokens:tokens:write

One of the following permissions is required:

  • environment:roles:viewer
  • api-tokens:tokens:write

Parameters​

NameTypeDescription
config.id*requiredstring

The ID of the token to be deleted.

You can specify either the ID or the secret of the token.

You can't delete the token you're using for authentication of the request.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. You can't delete the token you're using for authentication of the request. | Client side error. | Server side error.

Code example

import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensApiTokensClient.deleteApiToken({
id: "...",
});

getApiToken​

⚠️ Deprecated

accessTokensApiTokensClient.getApiToken(config): Promise<ApiToken>

Gets API token metadata by token ID

One of the following scopes is required:

  • environment-api:api-tokens:read
  • api-tokens:tokens:read

One of the following permissions is required:

  • environment:roles:viewer
  • api-tokens:tokens:read

The token secret is not exposed.

Parameters​

NameType
config.id*requiredstring

Returns​

Return typeStatus codeDescription
ApiToken200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await accessTokensApiTokensClient.getApiToken({
id: "...",
});

listApiTokens​

⚠️ Deprecated

accessTokensApiTokensClient.listApiTokens(config): Promise<ApiTokenList>

Lists all available API tokens

One of the following scopes is required:

  • environment-api:api-tokens:read
  • api-tokens:tokens:read

One of the following permissions is required:

  • environment:roles:viewer
  • api-tokens:tokens:read

You can limit the output by using pagination:

  1. Specify the number of results per page in the pageSize query parameter.
  2. Use the cursor from the nextPageKey field of the previous response in the nextPageKey query parameter to obtain subsequent pages.

Parameters​

NameTypeDescription
config.apiTokenSelectorstring

Filters the resulting sets of tokens. Only tokens matching the specified criteria are included into response.

You can set one or more of the following criteria:

  • Owner: owner("value"). The user that owns the token. Case-sensitive.
  • Personal access token: personalAccessToken(false). Set to true to include only personal access tokens or to false to include only API tokens.
  • Token scope: scope("scope1","scope2"). If several values are specified, the OR logic applies.

To set multiple criteria, separate them with commas (,). Only results matching all criteria are included into response.

config.fieldsstring

Specifies the fields to be included in the response.

The following fields are included by default:

  • id
  • name
  • enabled
  • owner
  • creationDate

To remove fields from the response, specify them with the minus (-) operator as a comma-separated list (for example, -creationDate,-owner).

You can include additional fields:

  • personalAccessToken

  • expirationDate

  • lastUsedDate

  • lastUsedIpAddress

  • modifiedDate

  • scopes

  • additionalMetadata

To add fields to the response, specify them with the plus (+) operator as a comma-separated list (for example, +expirationDate,+scopes). You can combine adding and removing of fields (for example, +scopes,-creationDate).

Alternatively, you can define the desired set of fields in the response. Specify the required fields as a comma-separated list, without operators (for example, creationDate,expirationDate,owner). The ID is always included in the response.

The fields string must be URL-encoded.

config.fromstring

Filters tokens based on the last usage time. The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of API tokens in a single response payload.

The maximal allowed page size is 10000 and the minimal allowed page size is 100.

If not set, 200 is used.

config.sortstring

The sort order of the token list.

You can sort by the following properties with a sign prefix for the sort order:

  • name: token name (+ a...z or - z...a)
  • lastUsedDate last used (+ never used tokens first - most recently used tokens first)
  • creationDate (+ oldest tokens first - newest tokens first)
  • expirationDate (+ tokens that expire soon first - unlimited tokens first)
  • modifiedDate last modified (+ never modified tokens first - most recently modified tokens first)

If no prefix is set, + is used.

If not set, tokens are sorted by creation date with newest first.



Default: -creationDate
config.tostring

Filters tokens based on the last usage time. The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
ApiTokenList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensApiTokensClient.listApiTokens();

lookupApiToken​

⚠️ Deprecated

accessTokensApiTokensClient.lookupApiToken(config): Promise<ApiToken>

Gets API token metadata by token secret

One of the following scopes is required:

  • environment-api:api-tokens:read
  • api-tokens:tokens:read

One of the following permissions is required:

  • environment:roles:viewer
  • api-tokens:tokens:read

Parameters​

NameType
config.body*requiredApiTokenSecret

Returns​

Return typeStatus codeDescription
ApiToken200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensApiTokensClient.lookupApiToken({
body: {
token:
"dt0c01.ST2EY72KQINMH574WMNVI7YN.G3DFPBEJYMODIDAEX454M7YWBUVEFOWKPRVMWFASS64NFH52PX6BNDVFFM572RZM",
},
});

updateApiToken​

⚠️ Deprecated

accessTokensApiTokensClient.updateApiToken(config): Promise<void>

Updates an API token

One of the following scopes is required:

  • environment-api:api-tokens:write
  • api-tokens:tokens:write

One of the following permissions is required:

  • environment:roles:viewer
  • api-tokens:tokens:write

Parameters​

NameTypeDescription
config.body*requiredApiTokenUpdate
config.id*requiredstring

The ID of the token to be updated.

You can't disable the token you're using for authentication of the request.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensApiTokensClient.updateApiToken({
id: "...",
body: {},
});

accessTokensTenantTokensClient​

import { accessTokensTenantTokensClient } from '@dynatrace-sdk/client-classic-environment-v2';

cancelRotation​

accessTokensTenantTokensClient.cancelRotation(config): Promise<TenantTokenConfig>

Cancels tenant token rotation

One of the following scopes is required:

  • environment-api:tenant-token-rotation:write
  • fleet-management:tenant-token:rotate

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:tenant-token:rotate

To learn how to rotate tokens, see Token rotation in Dynatrace Documentation.

Returns​

Return typeStatus codeDescription
TenantTokenConfig200Success. Rotation process has been cancelled. The current tenant token remains valid.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. There is no ongoing rotation process. | Client side error. | Server side error.

Code example

import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensTenantTokensClient.cancelRotation();

finishRotation​

accessTokensTenantTokensClient.finishRotation(config): Promise<TenantTokenConfig>

Finishes tenant token rotation

One of the following scopes is required:

  • environment-api:tenant-token-rotation:write
  • fleet-management:tenant-token:rotate

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:tenant-token:rotate

To learn how to rotate tokens, see Token rotation in Dynatrace Documentation.

Returns​

Return typeStatus codeDescription
TenantTokenConfig200Success. The rotation process is completed. The active field of the response contains the new tenant token.

Throws​

Error TypeError Message
ErrorEnvelopeErrorNo ongoing rotation process. | Client side error. | Server side error.

Code example

import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensTenantTokensClient.finishRotation();

getRotationStatus​

accessTokensTenantTokensClient.getRotationStatus(config): Promise<TenantTokenRotationStatus>

Gets tenant token rotation status

One of the following scopes is required:

  • environment-api:tenant-token-rotation:write
  • fleet-management:tenant-token:rotate

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:tenant-token:rotate

To learn how to rotate tokens, see Token rotation in Dynatrace Documentation.

Returns​

Return typeStatus codeDescription
TenantTokenRotationStatus200Success. Returns rotation status.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Tenant token configuration is unavailable. | Client side error. | Server side error.

Code example

import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensTenantTokensClient.getRotationStatus();

startRotation​

accessTokensTenantTokensClient.startRotation(config): Promise<TenantTokenConfig>

Starts tenant token rotation

One of the following scopes is required:

  • environment-api:tenant-token-rotation:write
  • fleet-management:tenant-token:rotate

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:tenant-token:rotate

To learn how to rotate tokens, see Token rotation in Dynatrace Documentation.

Returns​

Return typeStatus codeDescription
TenantTokenConfig200Success. The new tenant token is created and will replace the old one. The active field of the response contains the new tenant token.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Another rotation process is already in progress. | Client side error. | Server side error.

Code example

import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await accessTokensTenantTokensClient.startRotation();

activeGatesActiveGateGroupsClient​

import { activeGatesActiveGateGroupsClient } from '@dynatrace-sdk/client-classic-environment-v2';

getActiveGateGroups​

⚠️ Deprecated

activeGatesActiveGateGroupsClient.getActiveGateGroups(config): Promise<ActiveGateGroups>

Lists ActiveGate groups

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

Deprecated since version 1.343. Use DQL Smartscape nodes to query ActiveGate data instead. See https://dt-url.net/mf03894

Returns​

Return typeStatus codeDescription
ActiveGateGroups200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesActiveGateGroupsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesActiveGateGroupsClient.getActiveGateGroups();

activeGatesActiveGateTokensEnforcementClient​

import { activeGatesActiveGateTokensEnforcementClient } from '@dynatrace-sdk/client-classic-environment-v2';

getTokenEnforcement​

activeGatesActiveGateTokensEnforcementClient.getTokenEnforcement(config): Promise<ActiveGateTokenEnforcement>

Gets the status of ActiveGate tokens enforcement

Required scope: fleet-management:activegates:read One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

Returns​

Return typeStatus codeDescription
ActiveGateTokenEnforcement200Success. The response contains the status of ActiveGate tokens enforcement

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesActiveGateTokensEnforcementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesActiveGateTokensEnforcementClient.getTokenEnforcement();

activeGatesAutoUpdateConfigurationClient​

import { activeGatesAutoUpdateConfigurationClient } from '@dynatrace-sdk/client-classic-environment-v2';

getAutoUpdateConfigById​

⚠️ Deprecated

activeGatesAutoUpdateConfigurationClient.getAutoUpdateConfigById(config): Promise<null | ActiveGateAutoUpdateConfig>

Gets the configuration of auto-update for the specified ActiveGate

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

Gets the configuration of auto-update for the specified ActiveGate

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint GET /api/v2/settings/objects with schemaId builtin:deployment.activegate.updates and scopes=ENVIRONMENT_ACTIVE_GATE-{ActiveGate ID} to retrieve the auto-update setting of a specific ActiveGate.

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.

Returns​

Return typeStatus codeDescription
ActiveGateAutoUpdateConfig200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNot found. See response body for details. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateConfigurationClient.getAutoUpdateConfigById(
{ agId: "..." },
);

getGlobalAutoUpdateConfigForTenant​

⚠️ Deprecated

activeGatesAutoUpdateConfigurationClient.getGlobalAutoUpdateConfigForTenant(config): Promise<ActiveGateGlobalAutoUpdateConfig>

Gets the global auto-update configuration of environment ActiveGates.

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

Gets the global auto-update configuration of environment ActiveGates.

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint GET /api/v2/settings/objects with schemaId builtin:deployment.activegate.updates and scopes=tenant to retrieve the global auto-update setting of environment ActiveGates.

Returns​

Return typeStatus codeDescription
ActiveGateGlobalAutoUpdateConfig200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateConfigurationClient.getGlobalAutoUpdateConfigForTenant();

putAutoUpdateConfigById​

⚠️ Deprecated

activeGatesAutoUpdateConfigurationClient.putAutoUpdateConfigById(config): Promise<void>

Updates the configuration of auto-update for the specified ActiveGate

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Updates the configuration of auto-update for the specified ActiveGate

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint POST /api/v2/settings/objects with schemaId builtin:deployment.activegate.updates and scope=ENVIRONMENT_ACTIVE_GATE-{ActiveGate ID} to change the auto-update setting of a specific ActiveGate.

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.body*requirednull | ActiveGateAutoUpdateConfig

Returns​

Return typeStatus codeDescription
void204Success. The auto-update configuration have been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateConfigurationClient.putAutoUpdateConfigById(
{
agId: "...",
body: {
setting: "INHERITED",
updateWindows: {
windows: [
{
id: "vu9U3hXa3q0AAAABADdkeW5hdHJhY2Uuc2V0dGluZ3MuZGVwbG95bWVudC5tYW5h",
},
],
},
},
},
);

putGlobalAutoUpdateConfigForTenant​

⚠️ Deprecated

activeGatesAutoUpdateConfigurationClient.putGlobalAutoUpdateConfigForTenant(config): Promise<void>

Puts the global auto-update configuration of environment ActiveGates.

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Puts the global auto-update configuration of environment ActiveGates.

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint POST /api/v2/settings/objects with schemaId builtin:deployment.activegate.updates and scope=tenant to change the global auto-update setting of environment ActiveGates.

Parameters​

NameType
config.body*requiredActiveGateGlobalAutoUpdateConfig

Returns​

Return typeStatus codeDescription
void204Success. The global auto-update configuration have been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateConfigurationClient.putGlobalAutoUpdateConfigForTenant(
{
body: {
globalSetting: "ENABLED",
updateWindows: {
windows: [
{
id: "vu9U3hXa3q0AAAABADdkeW5hdHJhY2Uuc2V0dGluZ3MuZGVwbG95bWVudC5tYW5h",
},
],
},
},
},
);

validateAutoUpdateConfigById​

⚠️ Deprecated

activeGatesAutoUpdateConfigurationClient.validateAutoUpdateConfigById(config): Promise<void>

Validates the payload for the POST /activeGates/{agId}/autoUpdate request.

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Validates the payload for the POST /activeGates/{agId}/autoUpdate request.

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint POST /api/v2/settings/objects?validateOnly=true with schemaId builtin:deployment.activegate.updates and scope=ENVIRONMENT_ACTIVE_GATE-{ActiveGate ID} to validate the auto-update setting of a specific ActiveGate.

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.body*requirednull | ActiveGateAutoUpdateConfig

Returns​

Return typeStatus codeDescription
void204Validated. The submitted auto-update configuration is valid. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateConfigurationClient.validateAutoUpdateConfigById(
{
agId: "...",
body: {
setting: "INHERITED",
updateWindows: {
windows: [
{
id: "vu9U3hXa3q0AAAABADdkeW5hdHJhY2Uuc2V0dGluZ3MuZGVwbG95bWVudC5tYW5h",
},
],
},
},
},
);

validateGlobalAutoUpdateConfigForTenant​

⚠️ Deprecated

activeGatesAutoUpdateConfigurationClient.validateGlobalAutoUpdateConfigForTenant(config): Promise<void>

Validates the payload for the POST /activeGates/autoUpdate request.

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Validates the payload for the POST /activeGates/autoUpdate request.

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint POST /api/v2/settings/objects?validateOnly=true with schemaId builtin:deployment.activegate.updates and scope=tenant to validate the global auto-update setting of environment ActiveGates.

Parameters​

NameType
config.body*requiredActiveGateGlobalAutoUpdateConfig

Returns​

Return typeStatus codeDescription
void204Validated. The submitted configuration is valid. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateConfigurationClient.validateGlobalAutoUpdateConfigForTenant(
{
body: {
globalSetting: "ENABLED",
updateWindows: {
windows: [
{
id: "vu9U3hXa3q0AAAABADdkeW5hdHJhY2Uuc2V0dGluZ3MuZGVwbG95bWVudC5tYW5h",
},
],
},
},
},
);

activeGatesAutoUpdateJobsClient​

import { activeGatesAutoUpdateJobsClient } from '@dynatrace-sdk/client-classic-environment-v2';

createUpdateJobForAg​

⚠️ Deprecated

activeGatesAutoUpdateJobsClient.createUpdateJobForAg(config): Promise<UpdateJob>

Creates a new update job for the specified ActiveGate

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.body*requiredUpdateJob

Returns​

Return typeStatus codeDescription
UpdateJob201Success. The update-job have been created.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateJobsClient.createUpdateJobForAg(
{
agId: "...",
body: { targetVersion: "1.190.0.20200301-130000" },
},
);

deleteUpdateJobByJobIdForAg​

⚠️ Deprecated

activeGatesAutoUpdateJobsClient.deleteUpdateJobByJobIdForAg(config): Promise<void>

Deletes the specified update job

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.jobId*requiredstringA unique identifier for a update-job of ActiveGate.

Returns​

Return typeStatus codeDescription
void204Success. The update-job have been deleted. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Not found. See response body for details. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateJobsClient.deleteUpdateJobByJobIdForAg(
{ agId: "...", jobId: "..." },
);

getAllUpdateJobList​

⚠️ Deprecated

activeGatesAutoUpdateJobsClient.getAllUpdateJobList(config): Promise<UpdateJobsAll>

List ActiveGates with update jobs

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

The response includes ActiveGates that have both completed (successful and failed) jobs and jobs in progress.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe for update jobs.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of one day is used (now-1d).

Maximum timeframe is 31 days.

config.lastUpdatesbooleanIf true, filters the resulting set of update jobs to the most recent update of each type.

Default: false
config.startVersionstringFilters the resulting set of update-jobs by the initial version (required format <major>.<minor>.<revision>).
config.startVersionCompareType"EQUAL" | "GREATER" | "GREATER_EQUAL" | "LOWER" | "LOWER_EQUAL"

Filters the resulting set of update jobs by the specified initial version.

Specify the comparison operator here.

config.targetVersionstringFilters the resulting set of update-jobs by the target version (required format <major>.<minor>.<revision>).
config.targetVersionCompareType"EQUAL" | "GREATER" | "GREATER_EQUAL" | "LOWER" | "LOWER_EQUAL"

Filters the resulting set of update jobs by the specified target version.

Specify the comparison operator here.

config.tostring

The end of the requested timeframe for update jobs.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

config.updateType"SYNTHETIC" | "ACTIVE_GATE" | "REMOTE_PLUGIN_AGENT" | "Z_REMOTE"Filters the resulting set of update-jobs by the update type.

Example: ACTIVE_GATE

Returns​

Return typeStatus codeDescription
UpdateJobsAll200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateJobsClient.getAllUpdateJobList();

getUpdateJobByJobIdForAg​

⚠️ Deprecated

activeGatesAutoUpdateJobsClient.getUpdateJobByJobIdForAg(config): Promise<UpdateJob>

Gets the parameters of the specified update job

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.jobId*requiredstringA unique identifier for a update-job of ActiveGate.

Returns​

Return typeStatus codeDescription
UpdateJob200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNot found. See response body for details. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateJobsClient.getUpdateJobByJobIdForAg(
{ agId: "...", jobId: "..." },
);

getUpdateJobListByAgId​

⚠️ Deprecated

activeGatesAutoUpdateJobsClient.getUpdateJobListByAgId(config): Promise<UpdateJobList>

Lists update jobs for the specified ActiveGate

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

The job can update the ActiveGate to the specified version or the latest available one.

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.fromstring

The start of the requested timeframe for update jobs.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of one week is used (now-1w).

Maximum timeframe is 31 days.

config.lastUpdatesbooleanIf true, filters the resulting set of update jobs to the most recent update of each type.

Default: false
config.startVersionstringFilters the resulting set of update-jobs by the initial version (required format <major>.<minor>.<revision>).
config.startVersionCompareType"EQUAL" | "GREATER" | "GREATER_EQUAL" | "LOWER" | "LOWER_EQUAL"

Filters the resulting set of update jobs by the specified initial version.

Specify the comparison operator here.

config.targetVersionstringFilters the resulting set of update-jobs by the target version (required format <major>.<minor>.<revision>).
config.targetVersionCompareType"EQUAL" | "GREATER" | "GREATER_EQUAL" | "LOWER" | "LOWER_EQUAL"

Filters the resulting set of update jobs by the specified target version.

Specify the comparison operator here.

config.tostring

The end of the requested timeframe for update jobs.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

config.updateType"SYNTHETIC" | "ACTIVE_GATE" | "REMOTE_PLUGIN_AGENT" | "Z_REMOTE"Filters the resulting set of update-jobs by the update type.

Example: ACTIVE_GATE

Returns​

Return typeStatus codeDescription
UpdateJobList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNot found. See response body for details. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateJobsClient.getUpdateJobListByAgId(
{ agId: "..." },
);

validateUpdateJobForAg​

⚠️ Deprecated

activeGatesAutoUpdateJobsClient.validateUpdateJobForAg(config): Promise<void>

Validates the payload for the POST /activeGates/{agId}/updateJobs request.

One of the following scopes is required:

  • environment-api:activegates:write
  • fleet-management:activegates:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:write

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.
config.body*requiredUpdateJob

Returns​

Return typeStatus codeDescription
void204Validated. The submitted update-job is valid. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesAutoUpdateJobsClient.validateUpdateJobForAg(
{
agId: "...",
body: { targetVersion: "1.190.0.20200301-130000" },
},
);

activeGatesClient​

import { activeGatesClient } from '@dynatrace-sdk/client-classic-environment-v2';

getAllActiveGates​

⚠️ Deprecated

activeGatesClient.getAllActiveGates(config): Promise<ActiveGateList>

Lists all available ActiveGates

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

The response includes all ActiveGates that are currently connected to the environment or have been connected during last 2 hours. Deprecated since version 1.343. Use DQL Smartscape nodes to query ActiveGate data instead. See https://dt-url.net/mf03894

Parameters​

NameTypeDescription
config.autoUpdate"ENABLED" | "DISABLED"Filters the resulting set of ActiveGates by the actual state of auto-update.
config.containerizedbooleanFilters the resulting set of ActiveGates to those which are running in container (true) or not (false).
config.disabledModuleArray<"SYNTHETIC" | "AWS" | "AZURE" | "BEACON_FORWARDER" | "CLOUD_FOUNDRY" | "DB_INSIGHT" | "DEBUGGING" | "EXTENSIONS_V1" | "EXTENSIONS_V2" | "KUBERNETES" | "LOGS" | "MEMORY_DUMPS" | "METRIC_API" | "ONE_AGENT_ROUTING" | "OTLP_INGEST" | "REST_API" | "VMWARE" | "Z_OS">Filters the resulting set of ActiveGates by the disabled modules.
config.enabledModuleArray<"SYNTHETIC" | "AWS" | "AZURE" | "BEACON_FORWARDER" | "CLOUD_FOUNDRY" | "DB_INSIGHT" | "DEBUGGING" | "EXTENSIONS_V1" | "EXTENSIONS_V2" | "KUBERNETES" | "LOGS" | "MEMORY_DUMPS" | "METRIC_API" | "ONE_AGENT_ROUTING" | "OTLP_INGEST" | "REST_API" | "VMWARE" | "Z_OS">Filters the resulting set of ActiveGates by the enabled modules.
config.fipsModebooleanFilters the resulting set of ActiveGates to those which are running in FIPS mode (true) or not (false).
config.groupstring

Filters the resulting set of ActiveGates by the group.

You can specify a partial name. In that case, the CONTAINS operator is used.

config.hostnamestring

Filters the resulting set of ActiveGates by the name of the host it's running on.

You can specify a partial name. In that case, the CONTAINS operator is used.

config.loadBalancerAddressstring

Filters the resulting set of ActiveGates by the Load Balancer address.

You can specify a partial address. In that case, the CONTAINS operator is used.

config.networkAddressstring

Filters the resulting set of ActiveGates by the network address.

You can specify a partial address. In that case, the CONTAINS operator is used.

config.networkZonestring

Filters the resulting set of ActiveGates by the network zone.

You can specify a partial name. In that case, the CONTAINS operator is used.

config.onlinebooleanFilters the resulting set of ActiveGates by the communication status.
config.osArchitecture"S390" | "X86" | "ARM" | "PPCLE"Filters the resulting set of ActiveGates by the OS architecture of the host it's running on.
config.osType"LINUX" | "WINDOWS"Filters the resulting set of ActiveGates by the OS type of the host it's running on.
config.tokenExpirationSetbooleanFilters the resulting set of ActiveGates to those with set expiration date for authorization token.
config.tokenState"UNKNOWN" | "ABSENT" | "EXPIRING" | "INVALID" | "UNSUPPORTED" | "VALID"Filters the resulting set of ActiveGates to those with authorization token in specified state.
config.type"ENVIRONMENT" | "ENVIRONMENT_MULTI"Filters the resulting set of ActiveGates by the ActiveGate type.
config.updateStatus"UNKNOWN" | "INCOMPATIBLE" | "OUTDATED" | "SCHEDULED" | "SUPPRESSED" | "UP2DATE" | "UPDATE_IN_PROGRESS" | "UPDATE_PENDING" | "UPDATE_PROBLEM"Filters the resulting set of ActiveGates by the auto-update status.
config.versionstring

Filters the resulting set of ActiveGates by the specified version.

Specify the version in <major>.<minor>.<revision> format (for example, 1.195.0) here.

config.versionCompareType"EQUAL" | "GREATER" | "GREATER_EQUAL" | "LOWER" | "LOWER_EQUAL"

Filters the resulting set of ActiveGates by the specified version.

Specify the comparison operator here.

Returns​

Return typeStatus codeDescription
ActiveGateList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { activeGatesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await activeGatesClient.getAllActiveGates();

getOneActiveGateById​

⚠️ Deprecated

activeGatesClient.getOneActiveGateById(config): Promise<ActiveGate>

Gets the details of the specified ActiveGate

One of the following scopes is required:

  • environment-api:activegates:read
  • fleet-management:activegates:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:activegates:read

Deprecated since version 1.343. Use DQL Smartscape nodes to query ActiveGate data instead. See https://dt-url.net/mf03894

Parameters​

NameTypeDescription
config.agId*requiredstringThe ID of the required ActiveGate.

Returns​

Return typeStatus codeDescription
ActiveGate200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNot found. See response body for details. | Client side error. | Server side error.

Code example

import { activeGatesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await activeGatesClient.getOneActiveGateById({
agId: "...",
});

activeGatesRemoteConfigurationManagementClient​

import { activeGatesRemoteConfigurationManagementClient } from '@dynatrace-sdk/client-classic-environment-v2';

createRemoteIdentityOperationJob​

activeGatesRemoteConfigurationManagementClient.createRemoteIdentityOperationJob(config): Promise<RemoteConfigurationManagementJob>

Creates a new remote configuration management job

Required scope: fleet-management:activegates:write One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:activegates:write

Parameters​

NameType
config.body*requiredRemoteConfigurationManagementOperationActiveGateRequest

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJob201Created

Throws​

Error TypeError Message
RemoteConfigurationManagementValidationResultErrorFailed. The input is invalid.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesRemoteConfigurationManagementClient.createRemoteIdentityOperationJob(
{
body: {
entities: ["0x2b7c0b02,0x4928065d"],
operations: [
{ attribute: "networkZone", operation: "set" },
],
},
},
);

createRemoteIdentityOperationPreview​

activeGatesRemoteConfigurationManagementClient.createRemoteIdentityOperationPreview(config): Promise<RemoteConfigurationManagementPreviewList>

Creates a preview for remote configuration management job - applicable only to network zone and ActiveGate group

Required scope: fleet-management:activegates:write One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:activegates:write

Parameters​

NameType
config.body*requiredRemoteConfigurationManagementOperationActiveGateRequest

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementPreviewList200Success

Throws​

Error TypeError Message
RemoteConfigurationManagementValidationResultErrorFailed. The input is invalid.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesRemoteConfigurationManagementClient.createRemoteIdentityOperationPreview(
{
body: {
entities: ["0x2b7c0b02,0x4928065d"],
operations: [
{ attribute: "networkZone", operation: "set" },
],
},
},
);

getCurrentRemoteIdentityOperationJob​

activeGatesRemoteConfigurationManagementClient.getCurrentRemoteIdentityOperationJob(config): Promise<void | RemoteConfigurationManagementJob>

Gets remote configuration management job that is currently running

Required scope: fleet-management:activegates:read One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:activegates:read

The currently running remote configuration management job may be related to ActiveGates or OneAgents. There is a limit of one concurrent remote configuration management job, regardless of the entity type.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJob200Success
void204No remote configuration management job is currently running

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesRemoteConfigurationManagementClient.getCurrentRemoteIdentityOperationJob();

getRemoteIdentityOperationJob​

activeGatesRemoteConfigurationManagementClient.getRemoteIdentityOperationJob(config): Promise<RemoteConfigurationManagementJob>

Gets the specified remote configuration management job

Required scope: fleet-management:activegates:read One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:activegates:read

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the required remote configuration management job.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJob200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { activeGatesRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesRemoteConfigurationManagementClient.getRemoteIdentityOperationJob(
{ id: "..." },
);

getRemoteIdentityOperations​

activeGatesRemoteConfigurationManagementClient.getRemoteIdentityOperations(config): Promise<RemoteConfigurationManagementJobList>

Lists finished ActiveGate remote configuration management jobs

Required scope: fleet-management:activegates:read One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:activegates:read

The response includes finished jobs for the last 7 days.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe for a remote configuration management job.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years
config.tostring

The end of the requested timeframe for a remote configuration management job.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJobList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesRemoteConfigurationManagementClient.getRemoteIdentityOperations();

validateRemoteIdentityOperation​

activeGatesRemoteConfigurationManagementClient.validateRemoteIdentityOperation(config): Promise<void>

Validates the payload for the POST /activeGates/remoteConfigurationManagement request.

Required scope: fleet-management:activegates:write One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:activegates:write

Parameters​

NameType
config.body*requiredRemoteConfigurationManagementOperationActiveGateRequest

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
RemoteConfigurationManagementValidationResultErrorFailed. The input is invalid.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { activeGatesRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await activeGatesRemoteConfigurationManagementClient.validateRemoteIdentityOperation(
{
body: {
entities: ["0x2b7c0b02,0x4928065d"],
operations: [
{ attribute: "networkZone", operation: "set" },
],
},
},
);

adaptiveTrafficManagementClient​

import { adaptiveTrafficManagementClient } from '@dynatrace-sdk/client-classic-environment-v2';

getRootSpansPerMinute​

adaptiveTrafficManagementClient.getRootSpansPerMinute(config): Promise<AdaptiveTrafficManagementDto>

Gets sampling configuration.

Required scope: adaptive-traffic-management:sampling-configuration:read

Returns​

Return typeStatus codeDescription
AdaptiveTrafficManagementDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { adaptiveTrafficManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await adaptiveTrafficManagementClient.getRootSpansPerMinute();

attacksClient​

import { attacksClient } from '@dynatrace-sdk/client-classic-environment-v2';

getAttack​

attacksClient.getAttack(config): Promise<Attack>

Gets the specified attack

Required scope: environment-api:attacks:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.fieldsstring

A list of additional attack properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • attackTarget: The targeted host/database of an attack.
  • request: The request that was sent from the attacker.
  • entrypoint: The entry point used by an attacker to start a specific attack.
  • vulnerability: The vulnerability utilized by the attack.
  • securityProblem: The related security problem.
  • attacker: The attacker of an attack.
  • managementZones: The related management zones.

To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, +attackTarget,+securityProblem).

config.id*requiredstringThe ID of the attack.

Returns​

Return typeStatus codeDescription
Attack200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { attacksClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await attacksClient.getAttack({ id: "..." });

getAttacks​

attacksClient.getAttacks(config): Promise<AttackList>

Lists all attacks

Required scope: environment-api:attacks:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.attackSelectorstring

Defines the scope of the query. Only attacks matching the specified criteria are included in the response. You can add one or more of the following criteria. Values are not case-sensitive and the EQUALS operator is used unless otherwise specified.

  • State: state("value"). The state of the attack. Possible values are EXPLOITED, BLOCKED, and ALLOWLISTED.
  • Attack Type: attackType("value"). The type of the attack. Find the possible values in the description of the attackType field of the response.
  • Country Code: countryCode("value"). The country code of the attacker. Supported values include all ISO-3166-1 alpha-2 country codes (2-letter). Supplying empty filter value countryCode() will return attacks, where location is not available.
  • Request path contains: requestPathContains("value"). Filters for a substring in the request path. The CONTAINS operator is used. A maximum of 48 characters are allowed.
  • Process group name contains: processGroupNameContains("value"). Filters for a substring in the targeted process group's name. The CONTAINS operator is used.
  • Vulnerability ID: vulnerabilityId("123456789"). The exact ID of the vulnerability.
  • Source IPs: sourceIps("93.184.216.34", "63.124.6.12"). The exact IPv4/IPv6 addresses of the attacker.
  • Management zone ID: managementZoneIds("mzId-1", "mzId-2").
  • Management zone name: managementZones("name-1", "name-2"). Values are case sensitive.
  • Technology: technology("technology-1", "technology-2"). Find the possible values in the description of the technology field of the response. The EQUALS operator is used.

To set several criteria, separate them with a comma (,). Only results matching (all criteria are included in the response.

Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (~) inside quotes:

  • Tilde ~
  • Quote "
config.fieldsstring

A list of additional attack properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • attackTarget: The targeted host/database of an attack.
  • request: The request that was sent from the attacker.
  • entrypoint: The entry point used by an attacker to start a specific attack.
  • vulnerability: The vulnerability utilized by the attack.
  • securityProblem: The related security problem.
  • attacker: The attacker of an attack.
  • managementZones: The related management zones.
  • affectedEntities: The affected entities of an attack.

To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, +attackTarget,+securityProblem).

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of thirty days is used (now-30d).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of attacks in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

config.sortstring

Specifies one or more fields for sorting the attack list. Multiple fields can be concatenated using a comma (,) as a separator (e.g. +state,-timestamp).

You can sort by the following properties with a sign prefix for the sorting order.

  • displayId: The attack's display ID.
  • displayName: The attack's display name.
  • attackType: The type of the attack (e.g. SQL_INJECTION, JNDI_INJECTION, etc.).
  • state: The state of the attack. (+ low severity state first - high severity state first)
  • sourceIp: The IP address of the attacker. Sorts by the numerical IP value.
  • requestPath: The request path where the attack was started.
  • timestamp: When the attack was executed. (+ old attacks first or - new attacks first) If no prefix is set, + is used.
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
AttackList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { attacksClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await attacksClient.getAttacks();

auditLogsClient​

import { auditLogsClient } from '@dynatrace-sdk/client-classic-environment-v2';

getLog​

auditLogsClient.getLog(config): Promise<AuditLogEntry>

Gets the specified entry of the audit log | maturity=EARLY_ADOPTER

Required scope: environment-api:audit-logs:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the required log entry.

Returns​

Return typeStatus codeDescription
AuditLogEntry200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Invalid ID format. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { auditLogsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await auditLogsClient.getLog({ id: "..." });

getLogs​

auditLogsClient.getLogs(config): Promise<AuditLog>

Gets the audit log of your Dynatrace environment | maturity=EARLY_ADOPTER

Required scope: environment-api:audit-logs:read Required permission: environment:roles:manage-settings

You can limit the output by using pagination:

  1. Specify the number of results per page in the pageSize query parameter.
  2. Use the cursor from the nextPageKey field of the previous response in the nextPageKey query parameter to obtain subsequent pages.

Parameters​

NameTypeDescription
config.filterstring

Filters the audit log. You can use the following criteria:

  • User: user("userIdentification"). The EQUALS operator applies.
  • Event type: eventType("value"). The EQUALS operator applies.
  • Category of a logged operation: category("value"). The EQUALS operator applies.
  • Entity ID: entityId("id"). The CONTAINS operator applies.
  • Settings schema ID: dt.settings.schema_id("id"). The EQUALS operator applies.
  • Settings scope ID: dt.settings.scope_id("id"). The EQUALS operator applies.
  • Settings key: dt.settings.key("key"). The EQUALS operator applies.
  • Settings object ID: dt.settings.object_id("id"). The EQUALS operator applies.

For each criterion, you can specify multiple alternatives with comma-separated values. In this case, the OR logic applies. For example, eventType("CREATE","UPDATE") means eventType can be "CREATE" or "UPDATE".

You can specify multiple comma-separated criteria, such as eventType("CREATE","UPDATE"),category("CONFIG"). Only results matching all criteria are included in response.

Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (~) inside quotes:

  • Tilde ~
  • Quote "
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of log entries in a single response payload.

The maximal allowed page size is 5000.

If not set, 1000 is used.

config.sortstring

The sorting of audit log entries:

  • timestamp: Oldest first.
  • -timestamp: Newest first.

If not set, the newest first sorting is applied.



Default: -timestamp
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
AuditLog200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { auditLogsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await auditLogsClient.getLogs();

businessEventsClient​

import { businessEventsClient } from '@dynatrace-sdk/client-classic-environment-v2';

ingest​

businessEventsClient.ingest(config): Promise<void>

Ingests a business event

One of the following scopes is required:

  • storage:events:write
  • openpipeline:bizevents:ingest

The maximum payload size of a single request is 5 MiB. Requests with a greater payload are rejected, and the API returns a 413 response code.

The ingestion of business events is subject to licensing (see licensing documentation).

Parameters​

NameType
config.body*requiredCloudEvent | Array<CloudEvent> | IngestBody
config.type*required"application/cloudevent+json" | "application/cloudevents+json" | "application/cloudevent-batch+json" | "application/cloudevents-batch+json" | "application/json; charset=utf-8"

Returns​

Return typeStatus codeDescription
void202The provided business events are all accepted and will be processed.

Throws​

Error TypeError Message
BizEventIngestResultErrorSome business events are invalid. Valid business events are accepted and will be processed. | Content too large | Too many requests | Service is temporarily unavailable
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { businessEventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await businessEventsClient.ingest({
type: "application/cloudevent+json",
body: {
specversion: "1.0",
id: "1",
source: "custom.source",
type: "com.mycompany.shop.checkout",
dtcontext:
'dt.session_id="234234234324235345345",dt.entity.rum_application="APPLICATION-53453458340758",host.name="123.123.123.123"',
dataschema:
"http://dynatrace.com/schema/bizevents/generic/1.0",
traceparent:
"00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-00",
data: {
id: "OR-838475",
paymentType: "paypal",
plannedDeliveryDate: "01.01.2021",
total: 234,
},
},
});

credentialVaultClient​

import { credentialVaultClient } from '@dynatrace-sdk/client-classic-environment-v2';

createCredentials​

credentialVaultClient.createCredentials(config): Promise<CredentialsId>

Creates a new credentials set.

Required scope: environment-api:credentials:write Required permission: environment:roles:viewer

The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.

Parameters​

NameType
config.body*requiredCredentials

Returns​

Return typeStatus codeDescription
CredentialsId201Success. The new credentials set has been created. The response contains the ID of the set.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await credentialVaultClient.createCredentials({
body: {
name: "...",
scopes: ["APP_ENGINE"],
type: "AWS_MONITORING_KEY_BASED",
},
});

getCredentials​

credentialVaultClient.getCredentials(config): Promise<CredentialsResponseElement>

Gets the metadata of the specified credentials set.

Required scope: environment-api:credentials:read Required permission: environment:roles:viewer

The credentials set itself (e.g. username/certificate and password) is not included in the response.

Parameters​

NameTypeDescription
config.id*requiredstringThe Dynatrace entity ID of the required credentials set.

Returns​

Return typeStatus codeDescription
CredentialsResponseElement200Success. The response contains the metadata of the credentials set.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await credentialVaultClient.getCredentials({
id: "...",
});

getCredentialsDetails​

credentialVaultClient.getCredentialsDetails(config): Promise<AbstractCredentialsResponseElement>

Gets the details of the specified credentials set.

Required scope: environment-api:credentials:read Required permission: environment:roles:viewer

The credentials set including username/certificate, password or token is included in the response.

Parameters​

NameTypeDescription
config.id*requiredstringThe Dynatrace entity ID of the required credentials set.

Returns​

Return typeStatus codeDescription
AbstractCredentialsResponseElement200Success. The response contains the details of the credentials set.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. E.g. Requested credentials with unsupported scope. Only APP_ENGINE scope is supported. | Failed. Requested credentials belong to another user.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await credentialVaultClient.getCredentialsDetails({
id: "...",
});

getCredentialsDetailsList​

credentialVaultClient.getCredentialsDetailsList(config): Promise<CredentialsDetailsList>

Gets the details of the specified credentials sets.

The credentials set including username/certificate, password or token is included in the response.

Parameters​

NameTypeDescription
config.idsstringThe list of Dynatrace entity IDs of the required credentials sets (separated by commas).

Returns​

Return typeStatus codeDescription
CredentialsDetailsList200Success. The response contains the details of the credentials sets.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. E.g. Requested credentials with unsupported scope. Only SYNTHETIC and APP_ENGINE scope are supported. | Failed. Requested credentials belong to another user. | Client side error. | Server side error.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await credentialVaultClient.getCredentialsDetailsList();

listCredentials​

credentialVaultClient.listCredentials(config): Promise<CredentialsList>

Lists all sets of credentials in your environment.

Required scope: environment-api:credentials:read Required permission: environment:roles:viewer

The credentials set itself (username/certificate and password) is not included in the response.

Parameters​

NameTypeDescription
config.namestringFilters the result by the name. When in quotation marks, whole phrase is taken. Case insensitive.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of credentials in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

config.scopestringFilters credentials with specified scope.
config.type"CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"Filters the result by the specified credentials type.
config.userstringFilters credentials accessible to the user (owned by the user or the ones that are accessible for all).

Returns​

Return typeStatus codeDescription
CredentialsList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await credentialVaultClient.listCredentials();

removeCredentials​

credentialVaultClient.removeCredentials(config): Promise<void>

Deletes the specified credentials set

Required scope: environment-api:credentials:write Required permission: environment:roles:viewer

Provide credential ID in the path.

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the credentials set to be deleted.

Returns​

Return typeStatus codeDescription
void204Success. The credentials set has been deleted. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await credentialVaultClient.removeCredentials({
id: "...",
});

updateCredentials​

credentialVaultClient.updateCredentials(config): Promise<void | CredentialsId>

Updates the specified credentials set.

Required scope: environment-api:credentials:write Required permission: environment:roles:viewer

The body must not provide an ID. The ID should be provided in the path.

Parameters​

NameTypeDescription
config.body*requiredCredentials
config.id*requiredstringThe Dynatrace entity ID of the credentials set to be updated.

Returns​

Return typeStatus codeDescription
CredentialsId201Success. The new credentials set has been created. The response contains the ID of the set.
void204Success. The credentials set has been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await credentialVaultClient.updateCredentials({
id: "...",
body: {
name: "...",
scopes: ["APP_ENGINE"],
type: "AWS_MONITORING_KEY_BASED",
},
});

davisSecurityAdvisorClient​

import { davisSecurityAdvisorClient } from '@dynatrace-sdk/client-classic-environment-v2';

getAdviceForSecurityProblems​

davisSecurityAdvisorClient.getAdviceForSecurityProblems(config): Promise<DavisSecurityAdviceList>

Provides advice for security problems.

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

You can narrow down the output by providing the management zone and pagination. If you specify a management zone, only problems originating from that zone are included to the request.

Parameters​

NameTypeDescription
config.managementZoneFilterstring

To specify management zones, use one of the options listed below. For each option you can specify multiple comma-separated values. If several values are specified, the OR logic applies. All values are case-sensitive and must be quoted.

  • Management zone ID: ids("mzId-1", "mzId-2").
  • Management zone names: names("mz-1", "mz-2").

You can specify several comma-separated criteria (for example, names("myMz"),ids("9130632296508575249")).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of security advices in a single response payload.

The maximal allowed page size is 500.

If not set, 5 is used.

Returns​

Return typeStatus codeDescription
DavisSecurityAdviceList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { davisSecurityAdvisorClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await davisSecurityAdvisorClient.getAdviceForSecurityProblems();

eventsClient​

import { eventsClient } from '@dynatrace-sdk/client-classic-environment-v2';

createEvent​

eventsClient.createEvent(config): Promise<EventIngestResults>

Ingests a custom event

One of the following scopes is required:

  • openpipeline:events.davis:ingest
  • storage:events:write
  • environment-api:events:write

One of the following permissions is required:

  • environment:roles:viewer
  • openpipeline:events.davis:ingest

The ingestion of custom events is subject to licensing (see licensing documentation).

Parameters​

NameType
config.body*requiredEventIngest

Returns​

Return typeStatus codeDescription
EventIngestResults201The event ingest request was received by the server. The response body indicates for each event whether its creation was successful.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.createEvent({
body: { eventType: "AVAILABILITY_EVENT", title: "..." },
});

getEvent​

⚠️ Deprecated

eventsClient.getEvent(config): Promise<null | Event>

Gets the properties of an event

Required scope: environment-api:events:read Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use the Grail Query API instead.

Parameters​

NameTypeDescription
config.eventId*requiredstringThe ID of the required event.

Returns​

Return typeStatus codeDescription
Event200Success. The response contains the configuration of the event.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.getEvent({
eventId: "...",
});

getEventProperties​

eventsClient.getEventProperties(config): Promise<EventPropertiesList>

Lists all event properties

One of the following scopes is required:

  • storage:events:read
  • environment-api:events:read

One of the following permissions is required:

  • environment:roles:viewer
  • storage:events:read

Parameters​

NameTypeDescription
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of event properties in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

Returns​

Return typeStatus codeDescription
EventPropertiesList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.getEventProperties();

getEventProperty​

eventsClient.getEventProperty(config): Promise<EventPropertyDetails>

Gets the details of an event property

One of the following scopes is required:

  • storage:events:read
  • environment-api:events:read

One of the following permissions is required:

  • environment:roles:viewer
  • storage:events:read

Parameters​

NameTypeDescription
config.propertyKey*requiredstringThe event property key you're inquiring.

Returns​

Return typeStatus codeDescription
EventPropertyDetails200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.getEventProperty({
propertyKey: "...",
});

getEventType​

eventsClient.getEventType(config): Promise<EventType>

Gets the properties of an event type

One of the following scopes is required:

  • storage:events:read
  • environment-api:events:read

One of the following permissions is required:

  • environment:roles:viewer
  • storage:events:read

Parameters​

NameTypeDescription
config.eventType*requiredstringThe event type you're inquiring.

Returns​

Return typeStatus codeDescription
EventType200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.getEventType({
eventType: "...",
});

getEventTypes​

eventsClient.getEventTypes(config): Promise<EventTypeList>

Lists all event types

One of the following scopes is required:

  • storage:events:read
  • environment-api:events:read

One of the following permissions is required:

  • environment:roles:viewer
  • storage:events:read

Parameters​

NameTypeDescription
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of event types in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

Returns​

Return typeStatus codeDescription
EventTypeList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.getEventTypes();

getEvents​

⚠️ Deprecated

eventsClient.getEvents(config): Promise<EventList>

Lists events within the specified timeframe

Required scope: environment-api:events:read Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use the Grail Query API instead.

Parameters​

NameTypeDescription
config.entitySelectorstring

The entity scope of the query. You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

The number of entities that can be selected is limited to 10000.

config.eventSelectorstring

Defines the scope of the query. Only events matching the specified criteria are included in the response.

You can add one or several of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the OR logic applies.

  • Event ID: eventId("id-1", "id-2").
  • ID of related entity: entityId("id-1", "id-2").
  • Event status: status("OPEN") or status("CLOSED"). You can specify only one status.
  • Management zone ID: managementZoneId("123", "321").
  • Event type: eventType("event-type"). You can specify only one event type. You can fetch the list of possible event types with the GET event types call.
  • Correlation ID: correlationId("id-1", "id-2").
  • Happened during maintenance (true, false): underMaintenance(true).
  • Notifications are suppressed (true, false): suppressAlert(true).
  • Problem creation is suppressed (true, false): suppressProblem(true).
  • Frequent event (true, false): frequentEvent(true).
  • Event property: property.<key>("value-1", "value-2"). Only properties with the filterable property set to true can be used. You can check event properties via the GET event properties call.

To set several criteria, separate them with commas (,). Only results matching all criteria are included in the response.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two hours is used (now-2h).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of events in a single response payload.

The maximal allowed page size is 1000.

If not set, 100 is used.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
EventList200Success. The response contains the list of events.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await eventsClient.getEvents();

extensions_2_0Client​

import { extensions_2_0Client } from '@dynatrace-sdk/client-classic-environment-v2';

activateExtensionEnvironmentConfiguration​

⚠️ Deprecated

extensions_2_0Client.activateExtensionEnvironmentConfiguration(config): Promise<ExtensionEnvironmentConfigurationVersion>

Activates the environment configuration from the specified version of the extension 2.0

Required scope: environment-api:extensions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.body*requiredExtensionEnvironmentConfigurationVersion
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionEnvironmentConfigurationVersion200Success. Environment configuration created. If the requested version was already active, this is an idempotent no-op (no backend state changes).

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.activateExtensionEnvironmentConfiguration(
{ extensionName: "...", body: { version: "1.2.3" } },
);

createMonitoringConfiguration​

extensions_2_0Client.createMonitoringConfiguration(config): Promise<Array<MonitoringConfigurationResponse>>

Creates new monitoring configuration for the specified extension 2.0

Required scope: environment-api:extension-configurations:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.body*requiredArray<MonitoringConfigurationDto>
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
MonitoringConfigurationResponse200Success
ErrorEnvelope207Multi-Status, if not all requests resulted in the same status

Throws​

Error TypeError Message
ErrorEnvelopeArrayErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.createMonitoringConfiguration({
extensionName: "...",
body: [{ scope: "HOST-D3A3C5A146830A79" }],
});
extensions_2_0Client.createMonitoringConfiguration(config): Promise<Array<ErrorEnvelope | MonitoringConfigurationResponse>>

Parameters​

NameTypeDescription
config.body*requiredArray<MonitoringConfigurationDto>
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
MonitoringConfigurationResponse200Success
ErrorEnvelope207Multi-Status, if not all requests resulted in the same status

deleteEnvironmentConfiguration​

⚠️ Deprecated

extensions_2_0Client.deleteEnvironmentConfiguration(config): Promise<ExtensionEnvironmentConfigurationVersion>

Deactivates the environment configuration of the specified extension 2.0

Required scope: environment-api:extensions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionEnvironmentConfigurationVersion200Success. Environment configuration deactivated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.deleteEnvironmentConfiguration(
{ extensionName: "..." },
);

executeExtensionMonitoringConfigurationActions​

⚠️ Deprecated

extensions_2_0Client.executeExtensionMonitoringConfigurationActions(config): Promise<ExecuteActionsResponse>

Executes Data Source action of Active Gate or Host

Required scope: environment-api:extension-configuration-actions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configuration.actions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.body*requiredExecuteActionsDto
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExecuteActionsResponse202Accepted. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Authentication failed | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.executeExtensionMonitoringConfigurationActions(
{
extensionName: "...",
configurationId: "...",
body: {},
},
);

extensionConfigurationSchema​

⚠️ Deprecated

extensions_2_0Client.extensionConfigurationSchema(config): Promise<SchemaDefinitionRestDto>

Gets the configuration schema of the specified version of the extension 2.0

One of the following scopes is required:

  • environment-api:extensions:read
  • environment-api:extension-configurations:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.extensionVersion*requiredstringThe version of the requested extension 2.0
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
SchemaDefinitionRestDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.extensionConfigurationSchema({
extensionName: "...",
extensionVersion: "...",
});

extensionDetails​

extensions_2_0Client.extensionDetails(config): Promise<Extension>

Gets details of the specified version of the extension 2.0

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8"
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.extensionVersion*requiredstringThe version of the requested extension 2.0
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
void200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.extensionDetails({
acceptType: "application/json; charset=utf-8",
extensionName: "...",
extensionVersion: "...",
});
extensions_2_0Client.extensionDetails(config): Promise<Binary>

Parameters​

NameTypeDescription
config.acceptType*required"application/octet-stream" | "application/yaml"
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.extensionVersion*requiredstringThe version of the requested extension 2.0
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
void200Success

extensionMonitoringConfigurations​

⚠️ Deprecated

extensions_2_0Client.extensionMonitoringConfigurations(config): Promise<ExtensionMonitoringConfigurationsList>

Lists all the monitoring configurations of the specified extension 2.0

Required scope: environment-api:extension-configurations:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.activebooleanFilters the resulting set of configurations by the active state.
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

config.versionstringFilters the resulting set of configurations by extension 2.0 version.

Returns​

Return typeStatus codeDescription
ExtensionMonitoringConfigurationsList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.extensionMonitoringConfigurations(
{ extensionName: "..." },
);

getActiveEnvironmentConfiguration​

⚠️ Deprecated

extensions_2_0Client.getActiveEnvironmentConfiguration(config): Promise<ExtensionEnvironmentConfigurationVersion>

Gets the active environment configuration version of the specified extension 2.0

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionEnvironmentConfigurationVersion200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.getActiveEnvironmentConfiguration(
{ extensionName: "..." },
);

getActiveGateGroupsInfo​

⚠️ Deprecated

extensions_2_0Client.getActiveGateGroupsInfo(config): Promise<ActiveGateGroupsInfoDto>

List all activeGate groups available for extension

Required scope: environment-api:extension-configurations:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.extensionVersion*requiredstringThe version of the requested extension 2.0
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
ActiveGateGroupsInfoDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.getActiveGateGroupsInfo({
extensionName: "...",
extensionVersion: "...",
});

getAlertTemplate​

⚠️ Deprecated

extensions_2_0Client.getAlertTemplate(config): Promise<AlertTemplateDto>

Gets an alert template asset for given ID

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.assetId*requiredstringID of the requested asset.
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
AlertTemplateDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.getAlertTemplate({
extensionName: "...",
assetId: "...",
});

getEnvironmentConfigurationAssetsInfo​

⚠️ Deprecated

extensions_2_0Client.getEnvironmentConfigurationAssetsInfo(config): Promise<ExtensionAssetsDto>

Gets the information about assets in an active extension 2.0

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionAssetsDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.getEnvironmentConfigurationAssetsInfo(
{ extensionName: "..." },
);

getExtensionMonitoringConfigurationStatus​

⚠️ Deprecated

extensions_2_0Client.getExtensionMonitoringConfigurationStatus(config): Promise<ExtensionStatusDto>

Gets the most recent status of the execution of given monitoring configuration

Required scope: environment-api:extension-configurations:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionStatusDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.getExtensionMonitoringConfigurationStatus(
{ extensionName: "...", configurationId: "..." },
);

getExtensionStatus​

⚠️ Deprecated

extensions_2_0Client.getExtensionStatus(config): Promise<Array<ExtensionStatusWithIdDto>>

Gets the most recent status of the execution of monitoring configurations of given extension

Required scope: environment-api:extension-configurations:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionStatusWithIdDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.getExtensionStatus({
extensionName: "...",
});

getJmxProcess​

⚠️ Deprecated

extensions_2_0Client.getJmxProcess(config): Promise<JavaProcessDetails>

Retrieves details of a specified Java process discovered in the environment for JMX metric collection. | maturity=EARLY_ADOPTER

Required scope: extensions:discovery.jmx:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.hostIdstringFilters the resulting set of Java processes by the ID of the host they run on, in the form 'HOST-XXXXXXXXXXXXXXXX'. The exact match is required.
config.processId*requiredstringId of the Java process discovered in the environment.

Returns​

Return typeStatus codeDescription
JavaProcessDetails200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. Agent data isn't yet available. Try again in a few seconds. | Failed. Agent communication timeout. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.getJmxProcess({
processId: "...",
});

getPmiProcess​

⚠️ Deprecated

extensions_2_0Client.getPmiProcess(config): Promise<PmiProcessDetails>

Retrieves details of a specified Java process discovered in the environment for PMI metric collection. | maturity=EARLY_ADOPTER

Required scope: extensions:discovery.pmi:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.hostIdstringFilters the resulting set of Java processes by the ID of the host they run on, in the form 'HOST-XXXXXXXXXXXXXXXX'. The exact match is required.
config.processId*requiredstringId of the Java process discovered in the environment.

Returns​

Return typeStatus codeDescription
PmiProcessDetails200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. Agent data isn't yet available. Try again in a few seconds. | Failed. Agent communication timeout. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.getPmiProcess({
processId: "...",
});

getSchemaFile​

⚠️ Deprecated

extensions_2_0Client.getSchemaFile(config): Promise<JsonNode>

Gets the extension 2.0 schema file in the specified version

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.fileName*requiredstringThe name of the schema file.
config.schemaVersion*requiredstringThe version of the schema.
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
JsonNode200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.getSchemaFile({
schemaVersion: "...",
fileName: "...",
});

installExtension​

⚠️ Deprecated

extensions_2_0Client.installExtension(config): Promise<RegisteredExtensionResultDto>

Installs Extension from HUB

Required scope: environment-api:extensions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.versionstringFilters the resulting set of configurations by extension 2.0 version.

Returns​

Return typeStatus codeDescription
RegisteredExtensionResultDto200Success. The extension version is installed and active. If the requested version was already the active environment configuration, this is an idempotent no-op (no backend state changes).

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.installExtension({
extensionName: "...",
});

listExtensionInfos​

⚠️ Deprecated

extensions_2_0Client.listExtensionInfos(config): Promise<ExtensionInfoList>

Lists all the extensions 2.0 available in your environment with additional metadata

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.namestringFilters the resulting set of extensions 2.0 by name. You can specify a partial name. In that case, the CONTAINS operator is used.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
ExtensionInfoList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.listExtensionInfos();

listExtensionVersions​

⚠️ Deprecated

extensions_2_0Client.listExtensionVersions(config): Promise<ExtensionList>

Lists all versions of the extension 2.0

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
ExtensionList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.listExtensionVersions({
extensionName: "...",
});

listExtensions​

⚠️ Deprecated

extensions_2_0Client.listExtensions(config): Promise<ExtensionList>

Lists all the extensions 2.0 available in your environment

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.namestringFilters the resulting set of extensions 2.0 by name. You can specify a partial name. In that case, the CONTAINS operator is used.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
ExtensionList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.listExtensions();

listJmxProcesses​

⚠️ Deprecated

extensions_2_0Client.listJmxProcesses(config): Promise<Array<JavaProcessContainerList>>

Lists all Java processes discovered in the environment that are available for JMX metric collection. | maturity=EARLY_ADOPTER

Required scope: extensions:discovery.jmx:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.hostIdstringFilters the resulting set of Java processes by the ID of the host they run on, in the form 'HOST-XXXXXXXXXXXXXXXX'. The exact match is required.

Returns​

Return typeStatus codeDescription
JavaProcessContainerList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.listJmxProcesses();

listPmiProcesses​

⚠️ Deprecated

extensions_2_0Client.listPmiProcesses(config): Promise<Array<JavaProcessContainerList>>

Lists all Java processes discovered in the environment that are available for PMI metric collection. | maturity=EARLY_ADOPTER

Required scope: extensions:discovery.pmi:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.hostIdstringFilters the resulting set of Java processes by the ID of the host they run on, in the form 'HOST-XXXXXXXXXXXXXXXX'. The exact match is required.

Returns​

Return typeStatus codeDescription
JavaProcessContainerList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.listPmiProcesses();

listSchemaFiles​

extensions_2_0Client.listSchemaFiles(config): Promise<SchemaFiles>

Lists all the files available for the specified extension 2.0 schema version

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8"
config.schemaVersion*requiredstringThe version of the schema.
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
void200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.listSchemaFiles({
acceptType: "application/json; charset=utf-8",
schemaVersion: "...",
});
extensions_2_0Client.listSchemaFiles(config): Promise<Binary>

Parameters​

NameTypeDescription
config.acceptType*required"application/octet-stream"
config.schemaVersion*requiredstringThe version of the schema.
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
void200Success

listSchemas​

⚠️ Deprecated

extensions_2_0Client.listSchemas(config): Promise<SchemasList>

Lists all the extension 2.0 schemas versions available in your environment

Required scope: environment-api:extensions:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Returns​

Return typeStatus codeDescription
SchemasList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.listSchemas();

monitoringConfigurationAudit​

⚠️ Deprecated

extensions_2_0Client.monitoringConfigurationAudit(config): Promise<AuditLog>

Gets the audit logs of monitoring configuration of given extension

Required scope: environment-api:extension-configurations:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of extensions in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

config.sortstring

The sorting of audit log entries:

  • timestamp: Oldest first.
  • -timestamp: Newest first.

If not set, the newest first sorting is applied.



Default: -timestamp
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
AuditLog200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.monitoringConfigurationAudit({
extensionName: "...",
configurationId: "...",
});

monitoringConfigurationDetails​

⚠️ Deprecated

extensions_2_0Client.monitoringConfigurationDetails(config): Promise<ExtensionMonitoringConfiguration>

Gets the details of the specified monitoring configuration

Required scope: environment-api:extension-configurations:read One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:read

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionMonitoringConfiguration200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.monitoringConfigurationDetails(
{ extensionName: "...", configurationId: "..." },
);

removeExtension​

⚠️ Deprecated

extensions_2_0Client.removeExtension(config): Promise<Extension>

Deletes the specified version of the extension 2.0

Required scope: environment-api:extensions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.extensionName*requiredstringThe name of the requested extension 2.0.
config.extensionVersion*requiredstringThe version of the requested extension 2.0
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

Returns​

Return typeStatus codeDescription
Extension200Success. The extension 2.0 version has been deleted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.removeExtension({
extensionName: "...",
extensionVersion: "...",
});

removeMonitoringConfiguration​

⚠️ Deprecated

extensions_2_0Client.removeMonitoringConfiguration(config): Promise<void>

Deletes the specified monitoring configuration

Required scope: environment-api:extension-configurations:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.removeMonitoringConfiguration({
extensionName: "...",
configurationId: "...",
});

updateExtensionEnvironmentConfiguration​

⚠️ Deprecated

extensions_2_0Client.updateExtensionEnvironmentConfiguration(config): Promise<ExtensionEnvironmentConfigurationVersion>

Updates the active environment configuration version of the extension 2.0

Required scope: environment-api:extensions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.body*requiredExtensionEnvironmentConfigurationVersion
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
ExtensionEnvironmentConfigurationVersion200Success. Environment configuration updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.updateExtensionEnvironmentConfiguration(
{ extensionName: "...", body: { version: "1.2.3" } },
);

updateMonitoringConfiguration​

⚠️ Deprecated

extensions_2_0Client.updateMonitoringConfiguration(config): Promise<MonitoringConfigurationResponse>

Updates the specified monitoring configuration

Required scope: environment-api:extension-configurations:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:configurations:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.body*requiredMonitoringConfigurationUpdateDto
config.configurationId*requiredstringThe ID of the requested monitoring configuration.
config.extensionName*requiredstringThe name of the requested extension 2.0.

Returns​

Return typeStatus codeDescription
MonitoringConfigurationResponse200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await extensions_2_0Client.updateMonitoringConfiguration({
extensionName: "...",
configurationId: "...",
body: {},
});

uploadExtension​

⚠️ Deprecated

extensions_2_0Client.uploadExtension(config): Promise<ExtensionUploadResponseDto>

Uploads or verifies a new extension 2.0

Required scope: environment-api:extensions:write One of the following permissions is required:

  • environment:roles:manage-settings
  • extensions:definitions:write

Deprecated since version 1.342. Use the successor API /platform/extensions/v2 instead.

Parameters​

NameTypeDescription
config.body*requiredBlob
config.validateOnlybooleanOnly run validation but do not persist the extension even if validation was successful.

Default: false

Returns​

Return typeStatus codeDescription
ExtensionUploadResponseDto200The extension is valid
ExtensionUploadResponseDto201Success. The extension 2.0 has been uploaded.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input file is invalid. | Upload not possible yet, please try again in a few seconds. | Client side error. | Server side error.

Code example

import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await extensions_2_0Client.uploadExtension({
body: new Blob(),
});

fleetManagementContainerImagesClient​

import { fleetManagementContainerImagesClient } from '@dynatrace-sdk/client-classic-environment-v2';

getContainerImages​

fleetManagementContainerImagesClient.getContainerImages(config): Promise<ContainerImageData>

Returns container images data

One of the following scopes is required:

  • environment-api:deployment:download
  • fleet-management:container-images:read

One of the following permissions is required:

  • environment:roles:agent-install
  • fleet-management:container-images:read

Returns container image references for Dynatrace components from the specified registry. Returned image versions are resolved based on the configured target versions: dynatrace-activegate, dynatrace-eec, dynatrace-sql-extension-executor, and dynatrace-database-datasource-executor image versions are resolved from the ActiveGate target version; dynatrace-oneagent, dynatrace-codemodules, and dynatrace-logmodule image versions are resolved from the OneAgent target version. If no target version is configured for a component, the latest available image is returned.

Parameters​

NameTypeDescription
config.registrystringRegistry name containing the container images. For a list of registries, see Dynatrace Documentation
config.registryFilterstringPartial registry name filter. Returns images for the first registry whose name contains this value. Ignored when 'registry' is provided.

Returns​

Return typeStatus codeDescription
ContainerImageData200Container images data returned

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Internal server error. | Client side error. | Server side error.

Code example

import { fleetManagementContainerImagesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await fleetManagementContainerImagesClient.getContainerImages();

ingestClient​

import { ingestClient } from '@dynatrace-sdk/client-classic-environment-v2';

ingest​

ingestClient.ingest(config): Promise<ValidationResponse>

Pushes metric data points to Dynatrace

One of the following scopes is required:

  • storage:metrics:write
  • openpipeline:metrics:ingest

Parameters​

NameType
config.body*requiredstring

Returns​

Return typeStatus codeDescription
void202The provided business events are all accepted and will be processed.

Throws​

Error TypeError Message
ValidationResponseErrorSome data points are invalid. Valid data points are accepted and will be processed in the background.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { ingestClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await ingestClient.ingest({
body: "server.cpu.temperature,cpu.id=0 42",
});

storeLog​

ingestClient.storeLog(config): Promise<void | SuccessEnvelope>

Pushes log records to Dynatrace

One of the following scopes is required:

  • openpipeline:logs:ingest
  • storage:logs:write

Ingested logs are stored in Dynatrace.

If you are using this API endpoint on an Environment ActiveGate, the Log Analytics Collector module must be enabled. This endpoint is not available on Containerized ActiveGate (including Kubernetes deployments).

This endpoint accepts arbitrary query parameters, which are processed as log attribute key-value pairs and added to each ingested log record following the standard rules for log attributes.

Error handling:

It is recommended to use an exponential backoff strategy when retrying requests.

Parameters​

NameTypeDescription
config.body*requiredLogMessageJson | LogMessagePlain
config.type*required"application/json; charset=utf-8" | "application/json" | "application/jsonl" | "application/jsonl; charset=utf-8" | "application/jsonlines" | "application/jsonlines+json" | "application/jsonlines+json; charset=utf-8" | "application/jsonlines; charset=utf-8" | "application/x-jsonlines" | "application/x-jsonlines; charset=utf-8" | "application/x-ndjson" | "application/x-ndjson; charset=utf-8" | "text/plain; charset=utf-8"
config.contentTypestring(Optional) Allows to provide content type with query parameter. Has priority over value provided in Content-Type header.
config.structure"raw" | "flattened"(Optional) Data model used for structuring the input into log records. Allowed values: raw, flattened. For more details, refer to the documentation.
config.xDynatraceAttrstring(Optional) Contains ampersand‑separated key–value pairs representing additional log attributes to be added to each ingested log record. If the same key appears multiple times, all values are captured as a multi‑value attribute. Query parameters take precedence over values provided in this header. For more details, refer to the documentation.
config.xDynatraceOptionsstring(Optional) Contains ampersand-separated Dynatrace-specific parameters. Supported options: (SaaS only) structure (values: raw, flattened) defines how input data is structured into log records. Query parameters take precedence over header values. For more details, refer to the documentation.

Returns​

Return typeStatus codeDescription
SuccessEnvelope200Only a part of input events were ingested due to event invalidity. For details, check the response body.
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. This is due either to the status of your licensing agreement or because you've exhausted your DPS license. | Failed. The requested resource doesn't exist. This may happen when no ActiveGate is available with the Log Analytics Collector module enabled. | Failed. Request payload size is too big. This may happen when the payload byte size exceeds the limit or when the ingested payload is a JSON array with the size exceeding the limit. | Failed. Too Many Requests. This may happen when ActiveGate is unable to process more requests at the moment or when log ingest is disabled. Retryable with exponential backoff strategy. | Failed. The server either does not recognize the request method, or it lacks the ability to fulfil the request. In Log Monitoring Classic, this may happen when indexed log storage is not enabled. | Failed. The server is currently unable to handle the request. This may happen when ActiveGate is overloaded. Retryable with exponential backoff strategy. | Client side error. | Server side error.

Code example

import { ingestClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await ingestClient.storeLog({
type: "application/json",
body: [
{
content:
"Exception: Custom error log sent via Generic Log Ingest",
"log.source": "/var/log/syslog",
timestamp: "2025-12-17T22:12:31.0000",
severity: "error",
"custom.attribute": "attribute value",
complex: {
"key-1": "attribute value-1",
"key-2": 234.2,
},
"array.attr": [
"value-1",
1,
null,
true,
[1, 2, 3],
{ key: "value" },
],
},
{
message: "User1 logged in successfully",
"log.source": "/var/log/syslog",
"@timestamp": "1765281600",
},
{
payload:
"Exception: Custom error log sent via Generic Log Ingest",
"log.source": "/var/log/syslog",
},
{ log: "My log message without additional attributes" },
],
});

javaScriptMappingFilesClient​

import { javaScriptMappingFilesClient } from '@dynatrace-sdk/client-classic-environment-v2';

deleteJavaScriptMappingFile​

⚠️ Deprecated

javaScriptMappingFilesClient.deleteJavaScriptMappingFile(config): Promise<void>

Deletes the specified JavaScript mapping file

Required scope: deobfuscation:symbol-files:delete

Parameters​

NameTypeDescription
config.fileType*required"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the JavaScript mapping file.
config.minifiedJsFileUrl*requiredstringThe URL of the minified JavaScript file.

Returns​

Return typeStatus codeDescription
void200Success. File deleted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.deleteJavaScriptMappingFile(
{ minifiedJsFileUrl: "...", fileType: "MINIFIED" },
);

deleteJavaScriptMappingFileAlias​

javaScriptMappingFilesClient.deleteJavaScriptMappingFileAlias(config): Promise<void>

Deletes the specified JavaScript mapping file

Required scope: deobfuscation:symbol-files:delete

Parameters​

NameTypeDescription
config.fileType*required"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the JavaScript mapping file.
config.minifiedJsFileUrl*requiredstringThe URL of the minified JavaScript file.

Returns​

Return typeStatus codeDescription
void200Success. File deleted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.deleteJavaScriptMappingFileAlias(
{ minifiedJsFileUrl: "...", fileType: "MINIFIED" },
);

getJavaScriptMappingFilesMetadata​

⚠️ Deprecated

javaScriptMappingFilesClient.getJavaScriptMappingFilesMetadata(config): Promise<JavaScriptMappingFileListDto>

Lists metadata of JavaScript mapping files

Required scope: deobfuscation:symbol-files:read

Parameters​

NameTypeDescription
config.fileType"MINIFIED" | "SOURCE" | "SOURCEMAP"Filters the resulting set of JavaScript mapping files by file type.
config.minifiedJsFileUrlstringFilters the resulting set of JavaScript mapping files by the minified JavaScript file URL. Only equals are taken into account.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of JavaScript mapping files in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
JavaScriptMappingFileListDto200Success.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.getJavaScriptMappingFilesMetadata();

getJavaScriptMappingFilesMetadataAlias​

javaScriptMappingFilesClient.getJavaScriptMappingFilesMetadataAlias(config): Promise<JavaScriptMappingFileListDto>

Lists metadata of JavaScript mapping files

Required scope: deobfuscation:symbol-files:read

Parameters​

NameTypeDescription
config.fileType"MINIFIED" | "SOURCE" | "SOURCEMAP"Filters the resulting set of JavaScript mapping files by file type.
config.minifiedJsFileUrlstringFilters the resulting set of JavaScript mapping files by the minified JavaScript file URL. Only equals are taken into account.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of JavaScript mapping files in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
JavaScriptMappingFileListDto200Success.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.getJavaScriptMappingFilesMetadataAlias();

updateJavaScriptMappingFileMetadata​

⚠️ Deprecated

javaScriptMappingFilesClient.updateJavaScriptMappingFileMetadata(config): Promise<JavaScriptMappingFileDto>

Updates metadata of the specified JavaScript mapping file

Required scope: deobfuscation:symbol-files:write

Parameters​

NameTypeDescription
config.body*requiredJavaScriptMappingFileMetadataDto
config.fileType*required"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the JavaScript mapping file.
config.minifiedJsFileUrl*requiredstringThe URL of the minified JavaScript file.

Returns​

Return typeStatus codeDescription
JavaScriptMappingFileDto200Success. Metadata updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.updateJavaScriptMappingFileMetadata(
{
minifiedJsFileUrl: "...",
fileType: "MINIFIED",
body: {},
},
);

updateJavaScriptMappingFileMetadataAlias​

javaScriptMappingFilesClient.updateJavaScriptMappingFileMetadataAlias(config): Promise<JavaScriptMappingFileDto>

Updates metadata of the specified JavaScript mapping file

Required scope: deobfuscation:symbol-files:write

Parameters​

NameTypeDescription
config.body*requiredJavaScriptMappingFileMetadataDto
config.fileType*required"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the JavaScript mapping file.
config.minifiedJsFileUrl*requiredstringThe URL of the minified JavaScript file.

Returns​

Return typeStatus codeDescription
JavaScriptMappingFileDto200Success. Metadata updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.updateJavaScriptMappingFileMetadataAlias(
{
minifiedJsFileUrl: "...",
fileType: "MINIFIED",
body: {},
},
);

uploadJavaScriptMappingFile​

⚠️ Deprecated

javaScriptMappingFilesClient.uploadJavaScriptMappingFile(config): Promise<void>

Uploads new or updates existing JavaScript mapping file

Required scope: deobfuscation:symbol-files:write

Parameters​

NameTypeDescription
config.body*requiredUploadJavaScriptMappingFileBody
config.fileType*required"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the JavaScript mapping file.
config.minifiedJsFileUrl*requiredstringThe URL of the minified JavaScript file.

Returns​

Return typeStatus codeDescription
void200Success. The file has been uploaded and stored. Existing file replaced.
void201Success. The file has been uploaded and stored.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The symbol file storage quota is exhausted. | Client side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.uploadJavaScriptMappingFile(
{
minifiedJsFileUrl: "...",
fileType: "MINIFIED",
body: { file: "..." },
},
);

uploadJavaScriptMappingFileAlias​

javaScriptMappingFilesClient.uploadJavaScriptMappingFileAlias(config): Promise<void>

Uploads new or updates existing JavaScript mapping file

Required scope: deobfuscation:symbol-files:write

Parameters​

NameTypeDescription
config.body*requiredUploadJavaScriptMappingFileAliasBody
config.fileType*required"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the JavaScript mapping file.
config.minifiedJsFileUrl*requiredstringThe URL of the minified JavaScript file.

Returns​

Return typeStatus codeDescription
void200Success. The file has been uploaded and stored. Existing file replaced.
void201Success. The file has been uploaded and stored.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The symbol file storage quota is exhausted. | Client side error. | Server side error.

Code example

import { javaScriptMappingFilesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await javaScriptMappingFilesClient.uploadJavaScriptMappingFileAlias(
{
minifiedJsFileUrl: "...",
fileType: "MINIFIED",
body: { file: "..." },
},
);

logsClient​

import { logsClient } from '@dynatrace-sdk/client-classic-environment-v2';

exportLogRecords​

⚠️ Deprecated

logsClient.exportLogRecords(config): Promise<ExportedLogRecordList>

Exports log records | maturity=EARLY_ADOPTER

Required scope: storage:logs:read One of the following permissions is required:

  • environment:roles:logviewer
  • storage:logs:read

Returns the first X records (specified in the pageSize query parameter).

Unlike the search API, this API does not split the result into slices and has no limit for the total number of records. Log records are sorted by the criteria specified in the sort query parameter.

In order to fetch large amount of records (exceeding the pageSize value), one should repeat the export call with nextPageKey param.

Please note that export works only for Logs Classic.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumberThe number of results per result page.

Default: 1000
Minimum: 1
config.querystring

The log search query.

The query must use the Dynatrace search query language.

config.sortstring

Defines the ordering of the log records.

Each field has a sign prefix (+/-) for sorting order. If no sign prefix is set, then the + option will be applied.

Currently, ordering is available only for the timestamp (+timestamp for the oldest records first, or -timestamp for the newest records first).

When millisecond resolution provided by the timestamp is not enough, log records are sorted based on the order in which they appear in the log source (remote process writing to REST API endpoint or remote process from which logs are collected).



Default: -timestamp
Pattern: ^[+-]?[a-z]+$
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
ExportedLogRecordList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The server either does not recognize the request method, or it lacks the ability to fulfill the request. May happen when Grail log storage is enabled. | Client side error. | Server side error.

Code example

import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await logsClient.exportLogRecords();

getLogHistogramData​

⚠️ Deprecated

logsClient.getLogHistogramData(config): Promise<AggregatedLog>

Gets aggregated log records | maturity=EARLY_ADOPTER

Required scope: storage:logs:read One of the following permissions is required:

  • environment:roles:logviewer
  • storage:logs:read

Returns the aggregated number of occurrences of log values divided into time slots.

It is possible that the timeframe covered by results exceeds the specified timeframe. In that case the request returns fewer time slots than specified in the timeBuckets query parameter.

If Log Management and Analytics, powered by Grail is enabled, then a platform token or bearer OAuth token (with storage:logs:read and storage:buckets:read scopes) needs to be used for authentication.

Logs on Grail:

It is not recommended to run Grail queries using Logs v2 API, please use Grail API instead.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.groupByArray<string>

The groupings to be included in the response.

You can specify several groups in the following format: groupBy=status&groupBy=log.source.

If not set, all possible groups are returned. You can use this option to check for possible grouping values.

Unique log data attributes (high-cardinality attributes) for example, span_id or trace_id cannot be used for grouping.

config.maxGroupValuesnumber

The maximum number of values in each group.

You can get up to 100 values per group.

If not set, 10 is used.



Default: 10
Minimum: 1
config.querystring

The log search query.

The query must use the Dynatrace search query language.

config.timeBucketsnumber

The number of time slots in the result.

The query timeframe is divided equally into the specified number of slots.

The minimum length of a slot is 1 ms.

If not set, 1 is used.



Default: 1
Minimum: 1
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
AggregatedLog200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await logsClient.getLogHistogramData();

getLogRecords​

⚠️ Deprecated

logsClient.getLogRecords(config): Promise<LogRecordsList>

Reads log records | maturity=EARLY_ADOPTER

Required scope: storage:logs:read One of the following permissions is required:

  • environment:roles:logviewer
  • storage:logs:read

Returns the first X records (specified in the limit query parameter). Log records are sorted by the criteria specified in the sort query parameter.

If the query is too large to be processed in a single request, it is divided into slices (slices are unsupported on Log Management and Analytics, powered by Grail). In that case the first response contains the nextSliceKey cursor for the second slice. Use it in the nextSliceKey query parameter to obtain the second slice, which contains nextSliceKey cursor for the third slice, and so on.

Results can be distributed unevenly between slices and some slices might be empty.

If Log Management and Analytics, powered by Grail is enabled, then a platform token or bearer OAuth token (with storage:logs:read and storage:buckets:read scopes) needs to be used for authentication.

Logs on Grail:

It is not recommended to run Grail queries using Logs v2 API, please use Grail API instead.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.limitnumber

The desired amount of log records.

The maximal allowed limit is 1000.

If not set, 1000 is used.



Default: 1000
Minimum: 1
config.nextSliceKeystring

The cursor for the next slice of results. You can find it in the nextSliceKey field of the previous response.

The first slice is always returned if you don't specify this parameter.

If this parameter is set, all other query parameters are ignored.

Unsupported on Log Management and Analytics, powered by Grail.

config.querystring

The log search query.

The query must use the Dynatrace search query language.

config.sortstring

Defines the ordering of the log records.

Each field has a sign prefix (+/-) for sorting order. If no sign prefix is set, then the + option will be applied.

Currently, ordering is available only for the timestamp (+timestamp for the oldest records first, or -timestamp for the newest records first).

When millisecond resolution provided by the timestamp is not enough, log records are sorted based on the order in which they appear in the log source (remote process writing to REST API endpoint or remote process from which logs are collected).



Default: -timestamp
Pattern: ^[+-]?[a-z]+$
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
LogRecordsList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await logsClient.getLogRecords();

metricsClient​

import { metricsClient } from '@dynatrace-sdk/client-classic-environment-v2';

allMetrics​

metricsClient.allMetrics(config): Promise<MetricDescriptorCollection>

Lists all available metrics

Required scope: environment-api:metrics:read Required permission: environment:roles:viewer

You can narrow down the output by selecting metrics in the metricSelector field.

You can additionally limit the output by using pagination:

  1. Specify the number of results per page in the pageSize query parameter.

  2. Then use the cursor from the nextPageKey field of the response in the nextPageKey query parameter to obtain subsequent pages. All other query parameters must be omitted.

Parameters​

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8" | "text/csv; header=absent; charset=utf-8" | "text/csv; header=present; charset=utf-8"
config.fieldsstring

Defines the list of metric properties included in the response.

metricId is always included in the result. The following additional properties are available:

  • displayName: The name of the metric in the user interface. Enabled by default.
  • description: A short description of the metric. Enabled by default.
  • unit: The unit of the metric. Enabled by default.
  • tags: The tags of the metric.
  • dduBillable: An indicator whether the usage of metric consumes Davis data units. Deprecated and always false for Dynatrace Platform Subscription. Superseded by billable.
  • billable: An indicator whether the usage of metric is billable.
  • created: The timestamp (UTC milliseconds) when the metrics has been created.
  • lastWritten: The timestamp (UTC milliseconds) when metric data points have been written for the last time.
  • aggregationTypes: The list of allowed aggregations for the metric. Note that it may be different after a transformation is applied.
  • defaultAggregation: The default aggregation of the metric. It is used when no aggregation is specified or the :auto transformation is set.
  • dimensionDefinitions: The fine metric division (for example, process group and process ID for some process-related metric).
  • transformations: A list of transformations that can be applied to the metric.
  • entityType: A list of entity types supported by the metric.
  • minimumValue: The minimum allowed value of the metric.
  • maximumValue: The maximum allowed value of the metric.
  • rootCauseRelevant: Whether (true or false) the metric is related to a root cause of a problem. A root-cause relevant metric represents a strong indicator for a faulty component.
  • impactRelevant: Whether (true or false) the metric is relevant to a problem's impact. An impact-relevant metric is highly dependent on other metrics and changes because an underlying root-cause metric has changed.
  • metricValueType: The type of the metric's value. You have these options:
    • score: A score metric is a metric where high values indicate a good situation, while low values indicate trouble. An example of such a metric is a success rate.
    • error: An error metric is a metric where high values indicate trouble, while low values indicate a good situation. An example of such a metric is an error count.
  • latency: The latency of the metric, in minutes. The latency is the expected reporting delay (for example, caused by constraints of cloud vendors or other third-party data sources) between the observation of a metric data point and its availability in Dynatrace. The allowed value range is from 1 to 60 minutes.
  • metricSelector: The underlying metric selector used by a func: metric.
  • scalar: Indicates whether the metric expression resolves to a scalar (true) or to a series (false). A scalar result always contains one data point. The amount of data points in a series result depends on the resolution you're using.
  • resolutionInfSupported: If true, resolution=Inf can be applied to the metric query.
  • unitDisplayFormat: The numeral system used to display byte/bit values. Can be binary (1 MiB = 1024 KiB) or decimal (1 MB = 1000 kB).
  • exported: Indicates whether the metric has been exported to Grail.
  • dimensionCardinalities: Cardinality statistics for each dimension of a MINT metric, including the estimated number of unique values and relative percentage.

To add properties, list them with leading plus +. To exclude default properties, list them with leading minus -.

To specify several properties, join them with a comma (for example fields=+aggregationTypes,-description).

If you specify just one property, the response contains the metric key and the specified property. To return metric keys only, specify metricId here.

config.metadataSelectorstring

The metadata scope of the query. Only metrics with specified properties are included to the response.

You can set one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used. If several values are specified, the OR logic applies.

  • unit("unit-1","unit-2")

  • tags("tag-1","tag-2")

  • dimensionKey("dimkey-1","dimkey-2"). The filtering applies only to dimensions that were written within the last 14 days.

  • custom("true"). "true" to include only user-defined metrics metrics (without namespace or with ext:, calc:, func:, appmon:), "false" to filter them out.

  • exported("true"). "true" to include only exported metrics, "false" to filter them out.

To set several criteria, separate them with a comma (,). For example, tags("feature","cloud"),unit("Percent"),dimensionKey("location"),custom("true"). Only results matching all criteria are included in response.

For example, to list metrics that have the tags feature AND cloud with a unit of Percent OR MegaByte AND a dimension with a dimension key location, use this metadataSelector: tags("feature"),unit("Percent","MegaByte"),tags("cloud"),dimensionKey("location").

config.metricSelectorstring

Selects metrics for the query by their keys.

You can specify multiple metric keys separated by commas (for example, metrickey1,metrickey2). To select multiple metrics belonging to the same parent, list the last part of the required metric keys in parentheses, separated by commas, while keeping the common part untouched. For example, to list the builtin:host.cpu.idle and builtin:host.cpu.user metric, write: builtin:host.cpu.(idle,user).

You can select a full set of related metrics by using a trailing asterisk (*) wildcard. For example, builtin:host.* selects all host-based metrics and builtin:* selects all Dynatrace-provided metrics.

You can set additional transformation operators, separated by a colon (:). See Metrics selector transformations in Dynatrace Documentation for additional information on available result transformations and syntax.

Only aggregation, merge, parents, and splitBy transformations are supported by this endpoint.

If the metric key contains any symbols you must quote (") the key. The following characters inside of a quoted metric key must be escaped with a tilde (~):

  • Quotes (")
  • Tildes (~)

For example, to query the metric with the key of ext:selfmonitoring.jmx.Agents: Type "APACHE" you must specify this selector:

"ext:selfmonitoring.jmx.Agents: Type ~"APACHE~""

To find metrics based on a search term, rather than metricId, use the text query parameter instead of this one.

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of metric schemata in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

If a value higher than 500 is used, only 500 results per page are returned.

config.textstringMetric registry search term. Only show metrics that contain the term in their key, display name, or description. Use the metricSelector parameter instead of this one to select a complete metric hierarchy instead of doing a text-based search.
config.writtenSincestring

Filters the resulted set of metrics to those that have data points within the specified timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years
config.writtenSinceModestring

Controls how the writtenSince filter is applied.

  • INCLUDE: Includes only metrics that have been written since the specified writtenSince timestamp (filters out metrics not written since then).
  • EXCLUDE: Excludes metrics that have been written since the specified writtenSince timestamp (only returns metrics not written since then).

If not specified, the default is INCLUDE.

Returns​

Return typeStatus codeDescription
MetricDescriptorCollection200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsClient.allMetrics({
acceptType: "application/json; charset=utf-8",
});

bulkDelete​

metricsClient.bulkDelete(config): Promise<void>

Deletes all unused metrics within the specified number of days

Required scope: environment-api:metrics:write Required permission: environment:roles:manage-settings

You can only delete metrics that have been ingested via the Metrics v2 API. Deleted metrics cannot be recovered.

Parameters​

NameTypeDescription
config.metricSelector*requiredstring

Selects metrics to be considered for deletion.

You can select a full set of related metrics by using a trailing asterisk (*) wildcard. For example, airflow_* selects all custom airflow metrics, * selects all custom metrics.

config.minUnusedDays*requirednumberThe number of days since the metric was last used. Must be between 30 and 1825 (5 years).

Minimum: 30

Returns​

Return typeStatus codeDescription
void202Success. The deletion of the metrics has been triggered.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsClient.bulkDelete({
metricSelector: "...",
minUnusedDays: 10,
});

delete​

metricsClient.delete(config): Promise<void>

Deletes the specified metric

Required scope: environment-api:metrics:write Required permission: environment:roles:manage-settings

Deletion cannot be undone! You can't delete a metric if it has data points ingested within the last two hours.

Parameters​

NameTypeDescription
config.metricKey*requiredstringThe key of the required metric.

Returns​

Return typeStatus codeDescription
void202Success. The deletion of the metric has been triggered.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsClient.delete({
metricKey: "...",
});

metric​

metricsClient.metric(config): Promise<MetricDescriptor>

Gets the descriptor of the specified metric

Required scope: environment-api:metrics:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8" | "text/csv; header=absent; charset=utf-8" | "text/csv; header=present; charset=utf-8"
config.metricKey*requiredstring

The key of the required metric.

You can set additional transformation operators, separated by a colon (:). See Metrics selector transformations in Dynatrace Documentation for additional information on available result transformations and syntax.

Returns​

Return typeStatus codeDescription
MetricDescriptor200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsClient.metric({
acceptType: "application/json; charset=utf-8",
metricKey: "...",
});

query​

metricsClient.query(config): Promise<MetricData>

Gets data points of the specified metrics

Required scope: environment-api:metrics:read Required permission: environment:roles:viewer

The following limits apply:

  • The amount of aggregated data points in the response is limited to 1,000
  • The amount of series in the response is limited to 1,000
    • The amount of data points per series is limited to 10,080 (minutes of one week)
    • The overall amount of data points is limited to 100,000

The dataPointCountRatio specifies the ratio of queried data points divided by the maximum number of data points per metric that are allowed in a single query. The dimensionCountRatio specifies the ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.

Parameters​

NameTypeDescription
config.acceptType*required"application/json; charset=utf-8" | "text/csv; header=absent; charset=utf-8" | "text/csv; header=present; charset=utf-8"
config.entitySelectorstring

Specifies the entity scope of the query. Only data points delivered by matched entities are included in response.

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

Use the GET /metrics/\{metricId} call to fetch the list of possible entity types for your metric.

To set a universal scope matching all entities, omit this parameter.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two hours is used (now-2h).

config.metricSelectorstring

Selects metrics for the query by their keys. You can select up to 10 metrics for one query.

You can specify multiple metric keys separated by commas (for example, metrickey1,metrickey2). To select multiple metrics belonging to the same parent, list the last part of the required metric keys in parentheses, separated by commas, while keeping the common part untouched. For example, to list the builtin:host.cpu.idle and builtin:host.cpu.user metric, write: builtin:host.cpu.(idle,user).

If the metric key contains any symbols you must quote (") the key. The following characters inside of a quoted metric key must be escaped with a tilde (~):

  • Quotes (")
  • Tildes (~)

For example, to query the metric with the key of ext:selfmonitoring.jmx.Agents: Type "APACHE" you must specify this selector:

"ext:selfmonitoring.jmx.Agents: Type ~"APACHE~""

You can set additional transformation operators, separated by a colon (:). See Metrics selector transformations in Dynatrace Documentation for additional information on available result transformations and syntax.

config.mzSelectorstring

The management zone scope of the query. Only metrics data relating to the specified management zones are included to the response.

You can set one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used. If several values are specified, the OR logic applies.

  • mzId(123,456)
  • mzName("name-1","name-2") To set several criteria, separate them with a comma (,). For example, mzName("name-1","name-2"),mzId(1234). Only results matching all of the criteria are included in the response.For example, to list metrics that have the id 123 OR 234 AND the name name-1 OR name-2, use this mzSelector: `mzId(123,234),mzName("name-1","name-2").
config.resolutionstring

The desired resolution of data points.

You can use one of the following options:

  • The desired amount of data points. This is the default option. This is a reference number of points, which is not necessarily equal to the number of the returned data points.
  • The desired timespan between data points. This is a reference timespan, which is not necessarily equal to the returned timespan. To use this option, specify the unit of the timespan.

Valid units for the timespan are:

  • m: minutes
  • h: hours
  • d: days
  • w: weeks
  • M: months
  • q: quarters
  • y: years

If not set, the default is 120 data points.

For example:

  • Get data points which are 10 minutes apart: resolution=10m
  • Get data points which are 3 weeks apart: resolution=3w

You can also specify multiple resolutions for a single query using index-based formatting. This allows each metric expression in a multi-expression selector to have its own resolution.

Use the format: <index>:<resolution>(,<index>:<resolution>)* Where:

  • index is the zero-based position of the metric expression in the metricSelector list.
  • resolution is either a number of data points (e.g., 120) or a timespan with a unit (e.g., 10m, 3w).

If a resolution is not specified for a given index, the default of 120 data points is applied.

Examples:

  • resolution=0:Inf → First metric uses resolution Inf, second metric uses default (120 data points).
  • resolution=0:Inf,1:10 → First metric uses Inf, second metric uses 10 data points.
  • resolution=Inf → All metrics use resolution Inf. Note: If multiple resolutions are used, the resolution field in the response is the smallest resolution.
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
MetricData200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsClient.query({
acceptType: "application/json; charset=utf-8",
});

metricsUnitsClient​

import { metricsUnitsClient } from '@dynatrace-sdk/client-classic-environment-v2';

allUnits​

metricsUnitsClient.allUnits(config): Promise<UnitList>

Lists all available units

Required scope: environment-api:metrics:read Required permission: environment:roles:viewer

You can narrow down the output by providing filter criteria in the unitSelector field.

Parameters​

NameTypeDescription
config.fieldsstring

Defines the list of properties to be included in the response. The ID of the unit is always included. The following additional properties are available:

  • displayName: The display name of the unit.
  • symbol: The symbol of the unit.
  • description: A short description of the unit.

By default, the ID, the display name, and the symbol are included.

To add properties, list them with leading plus +. To exclude default properties, list them with leading minus -.

To specify several properties, join them with a comma (for example fields=+description,-symbol).

If you specify just one property, the response contains the unitId and the specified property. To return unit IDs only, specify unitId here.

config.unitSelectorstring

Selects units to be included to the response. Available criteria:

  • Compatibility: compatibleTo("unit","display-format"). Returns units that can be converted to the specified unit. The optional display format (binary or decimal) argument is supported by bit- and byte-based units and returns only units for the specified format.

Returns​

Return typeStatus codeDescription
UnitList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsUnitsClient.allUnits();

convert​

metricsUnitsClient.convert(config): Promise<UnitConversionResult>

Converts a value from a source unit into a target unit

Required scope: environment-api:metrics:read Required permission: environment:roles:viewer

If no target unit is set, the request finds an appropriate target unit automatically, taking into account the preferred number format (if specified).

Parameters​

NameTypeDescription
config.numberFormatstring

The preferred number format of the target value. You can specify the following formats:

  • binary
  • decimal

`Only used if the target unit if not set.

config.targetUnitstring

The ID of the target unit.

If not set, the request finds an appropriate target unit automatically, based on the specified number format.

config.unitId*requiredstringThe ID of the source unit.
config.value*requirednumberThe value to be converted.

Returns​

Return typeStatus codeDescription
UnitConversionResult200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsUnitsClient.convert({
unitId: "...",
value: 10,
});

unit​

metricsUnitsClient.unit(config): Promise<Unit>

Gets the properties of the specified unit

Required scope: environment-api:metrics:read Required permission: environment:roles:viewer

Parameters​

NameType
config.unitId*requiredstring

Returns​

Return typeStatus codeDescription
Unit200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await metricsUnitsClient.unit({
unitId: "...",
});

mobileDeobfuscationAndSymbolicationClient​

import { mobileDeobfuscationAndSymbolicationClient } from '@dynatrace-sdk/client-classic-environment-v2';

delete_1​

mobileDeobfuscationAndSymbolicationClient.delete_1(config): Promise<void>

Deletes React Native mapping file | maturity=EARLY_ADOPTER

Required scope: deobfuscation:symbol-files:delete

Parameters​

NameTypeDescription
config.appId*requiredstringThe UUID of the application the mapping file belongs to.
config.bundleName*requiredstringThe name of the bundle.
config.bundleVersion*requiredstringThe version of the bundle.
config.fileName*requiredstringThe name of the mapping file, e.g. "index.android.bundle" or "index.ios.bundle".
config.platform*required"ANDROID" | "IOS"The platform (operating system) the mapping file belongs to.

Returns​

Return typeStatus codeDescription
void200Success. File deleted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { mobileDeobfuscationAndSymbolicationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await mobileDeobfuscationAndSymbolicationClient.delete_1({
appId: "...",
bundleName: "...",
platform: "ANDROID",
fileName: "...",
bundleVersion: "...",
});

get​

mobileDeobfuscationAndSymbolicationClient.get(config): Promise<void>

Gets content of React Native mapping file, as a single zipped file | maturity=EARLY_ADOPTER

One of the following scopes is required:

  • environment-api:symbol-files:read
  • deobfuscation:symbol-files:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • deobfuscation:symbol-files:read

Parameters​

NameTypeDescription
config.appId*requiredstringThe UUID of the application the mapping file belongs to.
config.bundleName*requiredstringThe name of the bundle.
config.bundleVersion*requiredstringThe version of the bundle.
config.fileName*requiredstringThe name of the mapping file, e.g. "index.android.bundle" or "index.ios.bundle".
config.ifNoneMatchstringThe entity tags (comma separated) of mapping files that should not be returned even if they exist.
config.platform*required"ANDROID" | "IOS"The platform (operating system) the mapping file belongs to.

Returns​

Return typeStatus codeDescription
void200Success. Response body contains a newer file than defined in the If-None-Match header.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { mobileDeobfuscationAndSymbolicationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await mobileDeobfuscationAndSymbolicationClient.get({
appId: "...",
bundleName: "...",
platform: "ANDROID",
fileName: "...",
bundleVersion: "...",
});

list​

mobileDeobfuscationAndSymbolicationClient.list(config): Promise<ReactNativeMappingFileListDto>

Lists all React Native files | maturity=EARLY_ADOPTER

One of the following scopes is required:

  • environment-api:symbol-files:read
  • deobfuscation:symbol-files:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • deobfuscation:symbol-files:read

Parameters​

NameTypeDescription
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of React Native mapping files in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
ReactNativeMappingFileListDto200Success.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { mobileDeobfuscationAndSymbolicationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await mobileDeobfuscationAndSymbolicationClient.list();

list_1​

mobileDeobfuscationAndSymbolicationClient.list_1(config): Promise<ReactNativeMappingFileListDto>

Lists React Native files belonging to certain application | maturity=EARLY_ADOPTER

One of the following scopes is required:

  • environment-api:symbol-files:read
  • deobfuscation:symbol-files:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • deobfuscation:symbol-files:read

Parameters​

NameTypeDescription
config.appId*requiredstringThe UUID of the application the mapping file belongs to.
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of React Native mapping files in a single response payload.

The maximal allowed page size is 100.

If not set, 20 is used.

Returns​

Return typeStatus codeDescription
ReactNativeMappingFileListDto200Success.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { mobileDeobfuscationAndSymbolicationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await mobileDeobfuscationAndSymbolicationClient.list_1({
appId: "...",
});

put​

mobileDeobfuscationAndSymbolicationClient.put(config): Promise<void>

Adds new or updates existing React Native mapping file | maturity=EARLY_ADOPTER

Required scope: deobfuscation:symbol-files:write

Parameters​

NameTypeDescription
config.appId*requiredstringThe UUID of the application the mapping file belongs to.
config.body*requiredPutBody
config.bundleName*requiredstringThe name of the bundle.
config.bundleVersion*requiredstringThe version of the bundle.
config.fileName*requiredstringThe name of the mapping file, e.g. "index.android.bundle" or "index.ios.bundle".
config.platform*required"ANDROID" | "IOS"The platform (operating system) the mapping file belongs to.

Returns​

Return typeStatus codeDescription
void200Success. The file has been uploaded and stored. Existing file replaced.
void201Success. The file has been uploaded and stored.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { mobileDeobfuscationAndSymbolicationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await mobileDeobfuscationAndSymbolicationClient.put({
appId: "...",
bundleName: "...",
platform: "ANDROID",
fileName: "...",
bundleVersion: "...",
body: { file: "..." },
});

putMetadata​

mobileDeobfuscationAndSymbolicationClient.putMetadata(config): Promise<ReactNativeMappingFileMetadataDto>

Updates metadata of the specified React Native mapping file | maturity=EARLY_ADOPTER

Required scope: deobfuscation:symbol-files:write

Parameters​

NameTypeDescription
config.appId*requiredstringThe UUID of the application the mapping file belongs to.
config.body*requiredReactNativeMappingFileMetadataUpdateDto
config.bundleName*requiredstringThe name of the bundle.
config.bundleVersion*requiredstringThe version of the bundle.
config.fileName*requiredstringThe name of the mapping file, e.g. "index.android.bundle" or "index.ios.bundle".
config.platform*required"ANDROID" | "IOS"The platform (operating system) the mapping file belongs to.

Returns​

Return typeStatus codeDescription
ReactNativeMappingFileMetadataDto200Success. Metadata updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { mobileDeobfuscationAndSymbolicationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await mobileDeobfuscationAndSymbolicationClient.putMetadata(
{
appId: "...",
bundleName: "...",
platform: "ANDROID",
fileName: "...",
bundleVersion: "...",
body: {},
},
);

monitoredEntitiesClient​

import { monitoredEntitiesClient } from '@dynatrace-sdk/client-classic-environment-v2';

deleteSecurityContext​

⚠️ Deprecated

monitoredEntitiesClient.deleteSecurityContext(config): Promise<SecurityContextResultDto>

Deletes the security context for all entities matching the entity selector.

Required scope: settings:objects:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Automatic management zone rules will apply again to entities without a security context.

Parameters​

NameTypeDescription
config.entitySelector*requiredstring

Defines the scope of the entities to set the security context for. Only entities that can have management zones are considered for this operation

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of three days is used (now-3d).

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
SecurityContextResultDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await monitoredEntitiesClient.deleteSecurityContext({
entitySelector: "...",
});

getEntities​

monitoredEntitiesClient.getEntities(config): Promise<EntitiesList>

Gets the information about monitored entities

Required scope: environment-api:entities:read Required permission: environment:roles:viewer

Lists entities observed within the specified timeframe along with their properties.

When you query entities of the SERVICE_METHOD type, only the following requests are returned:

You can limit the output by using pagination:

  1. Specify the number of results per page in the pageSize query parameter.
  2. Use the cursor from the nextPageKey field of the previous response in the nextPageKey query parameter to obtain subsequent pages.

Parameters​

NameTypeDescription
config.entitySelectorstring

Defines the scope of the query. Only entities matching the specified criteria are included into response.

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

The field is required when you're querying the first page of results.

config.fieldsstring

Defines the list of entity properties included in the response. The ID and the name of an entity are always included to the response.

To add properties, list them with leading plus +. You can specify several properties, separated by a comma (for example fields=+lastSeenTms,+properties.BITNESS).

Use the GET entity type request to fetch the list of properties available for your entity type. Fields from the properties object must be specified in the properties.FIELD format (for example, properties.BITNESS).

When requesting large amounts of relationship fields, throttling can apply.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of three days is used (now-3d).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of entities.

If not set, 50 is used.

config.sortstring

Defines the ordering of the entities returned.

This field is optional, each field has a sign prefix (+/-), which corresponds to sorting order ( + for ascending and - for descending). If no sign prefix is set, then default ascending sorting order will be applied.

Currently ordering is only available for the display name (for example sort=name or sort =+name for ascending, sort=-name for descending)

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
EntitiesList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await monitoredEntitiesClient.getEntities();

getEntity​

monitoredEntitiesClient.getEntity(config): Promise<Entity>

Gets the properties of the specified monitored entity

Required scope: environment-api:entities:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.entityId*requiredstringThe ID of the required entity.
config.fieldsstring

Defines the list of entity properties included in the response. The ID and the name of an entity are always included to the response.

To add properties, list them with leading plus +. You can specify several properties, separated by a comma (for example fields=+lastSeenTms,+properties.BITNESS).

Use the GET entity type request to fetch the list of properties available for your entity type. Fields from the properties object must be specified in the properties.FIELD format (for example, properties.BITNESS).

When requesting large amounts of relationship fields, throttling can apply.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of three days is used (now-3d).

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
Entity200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await monitoredEntitiesClient.getEntity({
entityId: "...",
});

getEntityType​

monitoredEntitiesClient.getEntityType(config): Promise<EntityType>

Gets a list of properties for the specified entity type

Required scope: environment-api:entities:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.type*requiredstringThe required entity type.

Returns​

Return typeStatus codeDescription
EntityType200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await monitoredEntitiesClient.getEntityType({
type: "...",
});

getEntityTypes​

monitoredEntitiesClient.getEntityTypes(config): Promise<EntityTypeList>

Gets a list of properties for all entity types

Required scope: environment-api:entities:read Required permission: environment:roles:viewer

You can limit the output by using pagination:

  1. Specify the number of results per page in the pageSize query parameter.
  2. Use the cursor from the nextPageKey field of the previous response in the nextPageKey query parameter to obtain subsequent pages.

Parameters​

NameTypeDescription
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of entity types in a single response payload.

The maximal allowed page size is 500.

If not set, 50 is used.

Returns​

Return typeStatus codeDescription
EntityTypeList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await monitoredEntitiesClient.getEntityTypes();

pushCustomDevice​

monitoredEntitiesClient.pushCustomDevice(config): Promise<void | CustomDeviceCreationResult>

Creates or updates a custom device

Required scope: environment-api:entities:write Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.body*requiredCustomDeviceCreation
config.uiBasedbooleanIf true, it will be handled as if it was created via UI. It will be refreshed automatically and won't age out.

Returns​

Return typeStatus codeDescription
CustomDeviceCreationResult201Success
void204Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await monitoredEntitiesClient.pushCustomDevice(
{ body: { customDeviceId: "...", displayName: "..." } },
);

setSecurityContext​

⚠️ Deprecated

monitoredEntitiesClient.setSecurityContext(config): Promise<SecurityContextResultDto>

Sets the given security context for all entities matching the entity selector.

Required scope: settings:objects:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Matching entities will have a management zone assigned, if the given security context matches the name of an already existing management zone. This endpoint does not create a new management zone, if there is no management zone with the provided name. Automatic management zone rules will not apply to entities with a set security context. It will need to be removed, to have them apply again.

Parameters​

NameTypeDescription
config.body*requiredSecurityContextDtoImpl
config.entitySelector*requiredstring

Defines the scope of the entities to set the security context for. Only entities that can have management zones are considered for this operation

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of three days is used (now-3d).

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
SecurityContextResultDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await monitoredEntitiesClient.setSecurityContext({
entitySelector: "...",
body: { securityContext: ["..."] },
});

monitoredEntitiesCustomTagsClient​

import { monitoredEntitiesCustomTagsClient } from '@dynatrace-sdk/client-classic-environment-v2';

deleteTags​

monitoredEntitiesCustomTagsClient.deleteTags(config): Promise<DeletedEntityTags>

Deletes the specified tag from the specified entities

Required scope: environment-api:entities:write Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.deleteAllWithKeyboolean
  • If true, all tags with the specified key are deleted, regardless of the value.
  • If false, only tags with exact match of key and value are deleted.

If not set, false is used.

config.entitySelector*requiredstring

Specifies the entities where you want to delete tags.

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of 24 hours is used (now-24h).

config.key*requiredstring

The key of the tag to be deleted.

If deleteAllWithKey is true, then all tags with this key are deleted. Otherwise, only tags with exact match of key and value are deleted.

For value-only tags, specify the value here.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

config.valuestring

The value of the tag to be deleted. The value is ignored if deleteAllWithKey is true.

For value-only tags, specify the value in the key parameter.

Returns​

Return typeStatus codeDescription
DeletedEntityTags200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await monitoredEntitiesCustomTagsClient.deleteTags({
key: "...",
entitySelector: "...",
});

getTags​

monitoredEntitiesCustomTagsClient.getTags(config): Promise<CustomEntityTags>

Gets a list of custom tags applied to the specified entities

Required scope: environment-api:entities:read Required permission: environment:roles:viewer

Automatically applied tags and imported tags are not included.

Parameters​

NameTypeDescription
config.entitySelector*requiredstring

Specifies the entities where you want to read tags.

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of 24 hours is used (now-24h).

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
CustomEntityTags200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await monitoredEntitiesCustomTagsClient.getTags({
entitySelector: "...",
});

postTags​

monitoredEntitiesCustomTagsClient.postTags(config): Promise<AddedEntityTags>

Adds custom tags to the specified entities

Required scope: environment-api:entities:write Required permission: environment:roles:manage-settings

All existing tags remain unaffected.

Parameters​

NameTypeDescription
config.body*requiredAddEntityTags
config.entitySelector*requiredstring

Specifies the entities where you want to update tags.

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of 24 hours is used (now-24h).

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
AddedEntityTags200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await monitoredEntitiesCustomTagsClient.postTags({
entitySelector: "...",
body: { tags: [{ key: "..." }] },
});

monitoredEntitiesMonitoringStateClient​

import { monitoredEntitiesMonitoringStateClient } from '@dynatrace-sdk/client-classic-environment-v2';

getStates​

monitoredEntitiesMonitoringStateClient.getStates(config): Promise<MonitoredStates>

Lists monitoring states of entities

Required scope: environment-api:entities:read Required permission: environment:roles:viewer

Only process group instances are supported.

Parameters​

NameTypeDescription
config.entitySelectorstring

Specifies the process group instances where you're querying the state. Use the PROCESS_GROUP_INSTANCE entity type.

You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of 24 hours is used (now-24h).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of monitoring states in a single response payload.

The maximal allowed page size is 500.

If not set, 500 is used.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
MonitoredStates200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorUnavailable | Client side error. | Server side error.

Code example

import { monitoredEntitiesMonitoringStateClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await monitoredEntitiesMonitoringStateClient.getStates();

networkZonesClient​

import { networkZonesClient } from '@dynatrace-sdk/client-classic-environment-v2';

createOrUpdateNetworkZone​

⚠️ Deprecated

networkZonesClient.createOrUpdateNetworkZone(config): Promise<void | EntityShortRepresentation>

Updates an existing network zone or creates a new one

One of the following scopes is required:

  • environment-api:network-zones:write
  • fleet-management:network-zones:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:network-zones:write

If the network zone with the specified ID does not exist, a new network zone is created.

The ID is not case sensitive. Dynatrace stores the ID in lowercase.

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint POST /api/v2/settings/objects with schema builtin:networkzones.zones to create or update a network zone.

Parameters​

NameTypeDescription
config.body*requiredNetworkZone
config.id*requiredstring

The ID of the network zone to be updated.

If you set the ID in the body as well, it must match this ID.

The ID is not case sensitive. Dynatrace stores the ID in lowercase.

Returns​

Return typeStatus codeDescription
EntityShortRepresentation201Success. The new network zone has been created. The response body contains the ID of the new network zone.
void204Success. The network zone has been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await networkZonesClient.createOrUpdateNetworkZone({
id: "...",
body: {},
});

deleteNetworkZone​

⚠️ Deprecated

networkZonesClient.deleteNetworkZone(config): Promise<void>

Deletes the specified network zone

One of the following scopes is required:

  • environment-api:network-zones:write
  • fleet-management:network-zones:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:network-zones:write

You can only delete an empty network zone (a zone that no ActiveGate or OneAgent is using).

If the network zone is used as an alternative zone for any OneAgent, it will be automatically removed from the list of possible alternatives.

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint DELETE /api/v2/settings/objects/{objectId} to delete a network zone.

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the network zone to be deleted.

Returns​

Return typeStatus codeDescription
void204Deleted. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. See error message in the response body for details. | Client side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await networkZonesClient.deleteNetworkZone({
id: "...",
});

getAllNetworkZones​

⚠️ Deprecated

networkZonesClient.getAllNetworkZones(config): Promise<NetworkZoneList>

Lists all existing network zones

One of the following scopes is required:

  • environment-api:network-zones:read
  • fleet-management:network-zones:read

One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:network-zones:read

Lists all existing network zones

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint /api/v2/settings/objects with schema builtin:networkzones.zones to list network zones.

Returns​

Return typeStatus codeDescription
NetworkZoneList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await networkZonesClient.getAllNetworkZones();

getHostStats​

networkZonesClient.getHostStats(config): Promise<NetworkZoneConnectionStatistics>

Gets the statistics about hosts using the network zone

One of the following scopes is required:

  • environment-api:network-zones:read
  • fleet-management:network-zones:read

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:network-zones:read

Gets the statistics about hosts using the network zone

Parameters​

NameTypeDescription
config.filter"all" | "configuredButNotConnectedOnly" | "connectedAsAlternativeOnly" | "connectedAsFailoverOnly" | "connectedAsFailoverWithoutOwnActiveGatesOnly"

Filters the resulting set of hosts:

  • all: All hosts using the zone.
  • configuredButNotConnectedOnly: Hosts from the network zone that use other zones.
  • connectedAsAlternativeOnly: Hosts that use the network zone as an alternative.
  • connectedAsFailoverOnly: Hosts from other zones that use the zone (not configured as an alternative) even though ActiveGates of higher priority are available.
  • connectedAsFailoverWithoutOwnActiveGatesOnly: Hosts from other zones that use the zone (not configured as an alternative) and no ActiveGates of higher priority are available.

If not set, all is used.

config.id*requiredstringThe ID of the required network zone.

Returns​

Return typeStatus codeDescription
NetworkZoneConnectionStatistics200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await networkZonesClient.getHostStats({
id: "...",
});

getNetworkZoneSettings​

networkZonesClient.getNetworkZoneSettings(config): Promise<NetworkZoneSettings>

Gets the global configuration of network zones

One of the following scopes is required:

  • environment-api:network-zones:read
  • fleet-management:network-zones:read

One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:network-zones:read

Returns​

Return typeStatus codeDescription
NetworkZoneSettings200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await networkZonesClient.getNetworkZoneSettings();

getSingleNetworkZone​

⚠️ Deprecated

networkZonesClient.getSingleNetworkZone(config): Promise<NetworkZone>

Gets parameters of the specified network zone

One of the following scopes is required:

  • environment-api:network-zones:read
  • fleet-management:network-zones:read

One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:network-zones:read

Gets parameters of the specified network zone

Deprecation notice: This endpoint is deprecated. Use the Settings API endpoint /api/v2/settings/objects with schema builtin:networkzones.zones and filter by value.id to query a specific network zone.

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the required network zone.

Returns​

Return typeStatus codeDescription
NetworkZone200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await networkZonesClient.getSingleNetworkZone({
id: "...",
});

updateNetworkZoneSettings​

networkZonesClient.updateNetworkZoneSettings(config): Promise<void>

Updates the global configuration of network zones

One of the following scopes is required:

  • environment-api:network-zones:write
  • fleet-management:network-zones:write

One of the following permissions is required:

  • environment:roles:manage-settings
  • fleet-management:network-zones:write

Parameters​

NameType
config.body*requiredNetworkZoneSettings

Returns​

Return typeStatus codeDescription
void204Success. The global network zones configuration has been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await networkZonesClient.updateNetworkZoneSettings({
body: {},
});

oneAgentRemoteConfigurationManagementClient​

import { oneAgentRemoteConfigurationManagementClient } from '@dynatrace-sdk/client-classic-environment-v2';

createRemoteIdentityOperationJob_1​

oneAgentRemoteConfigurationManagementClient.createRemoteIdentityOperationJob_1(config): Promise<RemoteConfigurationManagementJob>

Creates a new remote configuration management job

Required scope: fleet-management:oneagents:write One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:oneagents:write

Parameters​

NameTypeDescription
config.body*requiredRemoteConfigurationManagementOperationOneAgentRequest
config.restartbooleanOne Agents will be restarted (true) or not (false) after configuration. By default OneAgents will be restarted when network zone, host group, host tags or host properties are reconfigured - the restart is required to apply the changes.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJob201Created

Throws​

Error TypeError Message
RemoteConfigurationManagementValidationResultErrorFailed. The input is invalid.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { oneAgentRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await oneAgentRemoteConfigurationManagementClient.createRemoteIdentityOperationJob_1(
{
body: {
entities: [
"HOST-D454A967666E7970,HOST-811760CFF2A5E872",
],
operations: [
{ attribute: "networkZone", operation: "set" },
],
},
},
);

createRemoteIdentityOperationPreview_1​

oneAgentRemoteConfigurationManagementClient.createRemoteIdentityOperationPreview_1(config): Promise<RemoteConfigurationManagementPreviewList>

Creates a preview for remote configuration management job - applicable only to network zone and host group

Required scope: fleet-management:oneagents:write One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:oneagents:write

Parameters​

NameType
config.body*requiredRemoteConfigurationManagementOperationOneAgentRequest

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementPreviewList200Success

Throws​

Error TypeError Message
RemoteConfigurationManagementValidationResultErrorFailed. The input is invalid.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { oneAgentRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await oneAgentRemoteConfigurationManagementClient.createRemoteIdentityOperationPreview_1(
{
body: {
entities: [
"HOST-D454A967666E7970,HOST-811760CFF2A5E872",
],
operations: [
{ attribute: "networkZone", operation: "set" },
],
},
},
);

getCurrentRemoteIdentityOperationJob_1​

oneAgentRemoteConfigurationManagementClient.getCurrentRemoteIdentityOperationJob_1(config): Promise<void | RemoteConfigurationManagementJob>

Gets remote configuration management job that is currently running

Required scope: fleet-management:oneagents:read One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:oneagents:read

The currently running remote configuration management job may be related to ActiveGates or OneAgents. There is a limit of one concurrent remote configuration management job, regardless of the entity type.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJob200Success
void204No remote configuration management job is currently running

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { oneAgentRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await oneAgentRemoteConfigurationManagementClient.getCurrentRemoteIdentityOperationJob_1();

getRemoteIdentityOperationJob_1​

oneAgentRemoteConfigurationManagementClient.getRemoteIdentityOperationJob_1(config): Promise<RemoteConfigurationManagementJob>

Gets the specified remote configuration management job

Required scope: fleet-management:oneagents:read One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:oneagents:read

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the required remote configuration management job.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJob200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { oneAgentRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await oneAgentRemoteConfigurationManagementClient.getRemoteIdentityOperationJob_1(
{ id: "..." },
);

getRemoteIdentityOperations_1​

oneAgentRemoteConfigurationManagementClient.getRemoteIdentityOperations_1(config): Promise<RemoteConfigurationManagementJobList>

Lists finished OneAgent remote configuration management jobs

Required scope: fleet-management:oneagents:read One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:oneagents:read

The response includes finished jobs for the last 7 days.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe for a remote configuration management job.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years
config.tostring

The end of the requested timeframe for a remote configuration management job.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
RemoteConfigurationManagementJobList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { oneAgentRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await oneAgentRemoteConfigurationManagementClient.getRemoteIdentityOperations_1();

validateRemoteIdentityOperation_1​

oneAgentRemoteConfigurationManagementClient.validateRemoteIdentityOperation_1(config): Promise<void>

Validates the payload for the POST /oneagents/remoteConfigurationManagement request.

Required scope: fleet-management:oneagents:write One of the following permissions is required:

  • environment:roles:viewer
  • fleet-management:oneagents:write

Parameters​

NameType
config.body*requiredRemoteConfigurationManagementOperationOneAgentRequest

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
RemoteConfigurationManagementValidationResultErrorFailed. The input is invalid.
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { oneAgentRemoteConfigurationManagementClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await oneAgentRemoteConfigurationManagementClient.validateRemoteIdentityOperation_1(
{
body: {
entities: [
"HOST-D454A967666E7970,HOST-811760CFF2A5E872",
],
operations: [
{ attribute: "networkZone", operation: "set" },
],
},
},
);

problemsClient​

import { problemsClient } from '@dynatrace-sdk/client-classic-environment-v2';

closeProblem​

problemsClient.closeProblem(config): Promise<void | ProblemCloseResult>

Closes the specified problem and adds a closing comment on it

One of the following scopes is required:

  • openpipeline:events.davis:ingest
  • environment-api:problems:write

One of the following permissions is required:

  • environment:roles:viewer
  • openpipeline:events.davis:ingest

Parameters​

NameTypeDescription
config.body*requiredProblemCloseRequestDtoImpl
config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
ProblemCloseResult200Success
void204The problem is closed already the request hasn't been executed.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.closeProblem({
problemId: "...",
body: { message: "..." },
});

createComment​

⚠️ Deprecated

problemsClient.createComment(config): Promise<void>

Adds a new comment on the specified problem

Required scope: environment-api:problems:write Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use Annotation events instead.

Parameters​

NameTypeDescription
config.body*requiredCommentRequestDtoImpl
config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
void201Success. The comment has been added.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.createComment({
problemId: "...",
body: { message: "..." },
});

deleteComment​

⚠️ Deprecated

problemsClient.deleteComment(config): Promise<void>

Deletes the specified comment from a problem

Required scope: environment-api:problems:write Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use Annotation events instead.

Parameters​

NameTypeDescription
config.commentId*requiredstringThe ID of the required comment.
config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
void204Success. The comment has been deleted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.deleteComment({
problemId: "...",
commentId: "...",
});

getComment​

⚠️ Deprecated

problemsClient.getComment(config): Promise<Comment>

Gets the specified comment on a problem

Required scope: environment-api:problems:read Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Query Annotation events using the Grail Query API instead.

Parameters​

NameTypeDescription
config.commentId*requiredstringThe ID of the required comment.
config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
Comment200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.getComment({
problemId: "...",
commentId: "...",
});

getComments​

⚠️ Deprecated

problemsClient.getComments(config): Promise<CommentsList>

Gets all comments on the specified problem

Required scope: environment-api:problems:read Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use the Grail Query API instead.

Parameters​

NameTypeDescription
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters except the optional fields parameter.

config.pageSizenumber

The amount of comments in a single response payload.

The maximal allowed page size is 500.

If not set, 10 is used.

config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
CommentsList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.getComments({
problemId: "...",
});

getProblem​

⚠️ Deprecated

problemsClient.getProblem(config): Promise<Problem>

Gets the properties of the specified problem

Required scope: environment-api:problems:read Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use the Grail Query API instead.

Parameters​

NameTypeDescription
config.fieldsstring

A list of additional problem properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • evidenceDetails: The details of the root cause.
  • impactAnalysis: The impact analysis of the problem on other entities/users.
  • recentComments: A list of the most recent comments to the problem.

To add properties, specify them as a comma-separated list (for example, evidenceDetails,impactAnalysis).

config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
Problem200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.getProblem({
problemId: "...",
});

getProblems​

⚠️ Deprecated

problemsClient.getProblems(config): Promise<Problems>

Lists problems observed within the specified timeframe

Required scope: environment-api:problems:read Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use the Grail Query API instead.

Parameters​

NameTypeDescription
config.entitySelectorstring

The entity scope of the query. You must set one of these criteria:

  • Entity type: type("TYPE")
  • Dynatrace entity ID: entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.

You can add one or more of the following criteria. Values are case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Tag: tag("value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. Any colons (:) that are part of the key or value must be escaped with a backslash(\). Otherwise, it will be interpreted as the separator between the key and the value. All tag values are case-sensitive.
  • Management zone ID: mzId(123)
  • Management zone name: mzName("value")
  • Entity name:
    • entityName.equals: performs a non-casesensitive EQUALS query.
    • entityName.startsWith: changes the operator to BEGINS WITH.
    • entityName.in: enables you to provide multiple values. The EQUALS operator applies.
    • caseSensitive(entityName.equals("value")): takes any entity name criterion as an argument and makes the value case-sensitive.
  • Health state (HEALTHY,UNHEALTHY): healthState("HEALTHY")
  • First seen timestamp: firstSeenTms.<operator>(now-3h). Use any timestamp format from the from /to parameters. The following operators are available:
    • lte: earlier than or at the specified time
    • lt: earlier than the specified time
    • gte: later than or at the specified time
    • gt: later than the specified time
  • Entity attribute: <attribute>("value1","value2") and <attribute>.exists(). To fetch the list of available attributes, execute the GET entity type request and check the properties field of the response.
  • Relationships: fromRelationships.<relationshipName>() and toRelationships.<relationshipName>(). This criterion takes an entity selector as an attribute. To fetch the list of available relationships, execute the GET entity type request and check the fromRelationships and toRelationships fields.
  • Negation: not(<criterion>). Inverts any criterion except for type.

For more information, see Entity selector in Dynatrace Documentation.

To set several criteria, separate them with a comma (,). For example, type("HOST"),healthState("HEALTHY"). Only results matching all criteria are included in the response.

The maximum string length is 2,000 characters.

The maximum number of entities that may be selected is limited to 10000.

config.fieldsstring

A list of additional problem properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • evidenceDetails: The details of the root cause.
  • impactAnalysis: The impact analysis of the problem on other entities/users.
  • recentComments: A list of the most recent comments to the problem.

To add properties, specify them as a comma-separated list (for example, evidenceDetails,impactAnalysis).

The field is valid only for the current page of results. You must set it for each page you're requesting.

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two hours is used (now-2h).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters except the optional fields parameter.

config.pageSizenumber

The amount of problems in a single response payload.

The maximal allowed page size is 500.

If not set, 50 is used.

config.problemSelectorstring

Defines the scope of the query. Only problems matching the specified criteria are included into response.

You can add one or several of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the OR logic applies. All values must be quoted.

  • Status: status("open") or status("closed"). You can specify only one status.
  • Severity level: severityLevel("level-1","level-2"). Find the possible values in the description of the severityLevel field of the response.
  • Impact level: impactLevel("level-11","level-2") Find the possible values in the description of the impactLevel field of the response.
  • Root cause entity: rootCauseEntity("id-1", "id-2").
  • Management zone ID: managementZoneIds("mZId-1", "mzId-2").
  • Management zone name (contains, case-insensitive): managementZones("value-1","value-2").
  • Impacted entities: impactedEntities("id-1", "id-2").
  • Affected entities: affectedEntities("id-1", "id-2").
  • Type of affected entities: affectedEntityTypes("value-1","value-2").
  • Problem ID: problemId("id-1", "id-2").
  • Alerting profile ID: problemFilterIds("id-1", "id-2").
  • Alerting profile name (contains, case-insensitive): problemFilterNames("value-1","value-2").
  • Alerting profile name (exact match, case-insensitive): problemFilterNames.equals("value-1","value-2").
  • Entity tags: entityTags("[context]key:value","key:value"). Tags in [context]key:value, key:value, and value formats are detected and parsed automatically. If a value-only tag has a colon (:) in it, you must escape the colon with a backslash(\). Otherwise, the tag will be parsed as a key:value tag. All tag values are case-sensitive.
  • Display ID of the problem: displayId("id-1", "id-2").
  • Under maintenance: underMaintenance(true|false). Shows (true) or hides (false) all problems created during maintenance mode.
  • Text search: text("value"). Text search on the following fields: problem title, event titles, displayId and the id of affected and impacted entities. The text search is case insensitive, partial matching and based on a relevance score. Therefore the relevance sort option should be used to get the most relevant problems first. The special characters \~ and " need to be escaped using a \~ (e.g. double quote search text("\~"")). The search value is limited to 30 characters.

To set several criteria, separate them with a comma (,). Only results matching all criteria are included in the response.

config.sortstring

Specifies a set of comma-separated (,) fields for sorting in the problem list.

You can sort by the following properties with a sign prefix for the sorting order.

  • status: problem status (+ open problems first or - closed problems first)
  • startTime: problem start time (+ old problems first or - new problems first)
  • relevance: problem relevance (+ least relevant problems first or - most relevant problems first) - can be used only in combination with text search

If no prefix is set, + is used.

You can specify several levels of sorting. For example, +status,-startTime sorts problems by status, open problems first. Within the status, problems are sorted by start time, oldest first.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
Problems200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.getProblems();

updateComment​

⚠️ Deprecated

problemsClient.updateComment(config): Promise<void>

Updates the specified comment on a problem

Required scope: environment-api:problems:write Required permission: environment:roles:viewer

Deprecation notice: This endpoint is deprecated. Use Annotation events instead.

Parameters​

NameTypeDescription
config.body*requiredCommentRequestDtoImpl
config.commentId*requiredstringThe ID of the required comment.
config.problemId*requiredstringThe ID of the required problem.

Returns​

Return typeStatus codeDescription
void204Success. The comment has been updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await problemsClient.updateComment({
problemId: "...",
commentId: "...",
body: { message: "..." },
});

releasesClient​

import { releasesClient } from '@dynatrace-sdk/client-classic-environment-v2';

getReleases​

releasesClient.getReleases(config): Promise<Releases>

Returns all releases

Required scope: environment-api:releases:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.demobooleanGet your Releases (false) or a set of demo Releases (true).

Default: false
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of Releases in a single response payload.

The maximal allowed page size is 1000.

If not set, 100 is used.

config.releasesSelectorstring

Defines the scope of the query. Only Releases matching the provided criteria are included in the response.

You can add one or several of the criteria listed below.

  • Management zone: type(PROCESS_GROUP_INSTANCE),mzName("ManagementZone-A"). Filters for all releases in the given management zone. The filter is case-sensitive.
  • Monitoring state: monitoringState("Active") or monitoringState("Inactive"). You can specify only one monitoring state.
  • Health state: healthState("HEALTHY") or healthState("UNHEALTHY"). You can specify only one health state.
  • Security vulnerability: affectedBySecurityProblem("Detected") or affectedBySecurityProblem("Not detected"). You can specify only one security vulnerability state.
  • Name: entityName("name"). Filters for all releases that contain the given value in their name. The filter is case-insensitive.
  • Entity ID: entityId("id").
  • Product: releasesProduct("product"). Filters for all releases that contain the given value in their product. The filter is case-insensitive.
  • Stage: releasesStage("stage"). Filters for all releases that contain the given value in their stage. The filter is case-insensitive.
  • Version: releasesVersion("version"). Filters for all releases that contain the given value in their version. The filter is case-insensitive.

To set several criteria, separate them with comma (,). Only results matching all criteria are included in the response. e.g., .../api/v2/releases?releasesSelector=name("Server"),monitoringState("Active"),healthState("HEALTHY"),releasesVersion("1.0.7").

The special characters ~ and " need to be escaped using a ~ (e.g. double quote search entityName("~"").

config.sortstring

Specifies the field that is used for sorting the releases list. The field has a sign prefix (+/-) which corresponds to the sorting order ('+' for ascending and '-' for descending). If no sign prefix is set, then the default ascending sorting order will be applied. You can sort by the following properties:

  • 'product': Product name
  • 'name': Release name
  • 'stage': Stage name
  • 'version': Version
  • 'instances': Instances
  • 'traffic': Traffic

If not set, the ascending order sorting for name is applied.



Default: name
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
Releases200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { releasesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await releasesClient.getReleases();

rumManualInsertionTagsClient​

import { rumManualInsertionTagsClient } from '@dynatrace-sdk/client-classic-environment-v2';

getInlineCode​

rumManualInsertionTagsClient.getInlineCode(config): Promise<string>

Download the inline code

Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings

Returns the inline code, which embeds the full RUM monitoring code and configuration directly into the page, minimizing additional web requests. It needs to be updated after configuration changes and monitoring code updates.

Parameters​

NameTypeDescription
config.applicationId*requiredstringThe ID of the web application.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the inline code.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await rumManualInsertionTagsClient.getInlineCode({
applicationId: "...",
});

getJavaScriptTag​

rumManualInsertionTagsClient.getJavaScriptTag(config): Promise<string>

Download the JavaScript tag

Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings

Returns the JavaScript tag, which references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases.

Parameters​

NameTypeDescription
config.applicationId*requiredstringThe ID of the web application.
config.crossOriginAnonymousbooleanIndicates whether to add the crossorigin="anonymous" attribute to the tag. If specified, this overrides the configured value.
config.scriptExecutionAttribute"NONE" | "ASYNC" | "DEFER"Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the JavaScript Tag.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await rumManualInsertionTagsClient.getJavaScriptTag({
applicationId: "...",
});

getOneAgentJavaScriptTag​

rumManualInsertionTagsClient.getOneAgentJavaScriptTag(config): Promise<string>

Download the OneAgent JavaScript tag

Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings

Returns the OneAgent JavaScript tag, which includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates.

Parameters​

NameTypeDescription
config.applicationId*requiredstringThe ID of the web application.
config.scriptExecutionAttribute"NONE" | "ASYNC" | "DEFER"Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the OneAgent JavaScript Tag.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await rumManualInsertionTagsClient.getOneAgentJavaScriptTag(
{ applicationId: "..." },
);

getOneAgentJavaScriptTagWithSri​

rumManualInsertionTagsClient.getOneAgentJavaScriptTagWithSri(config): Promise<string>

Download the OneAgent JavaScript tag with SRI

Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings

Returns the OneAgent JavaScript tag with SRI. It includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it using its Subresource Integrity (SRI) feature. It needs to be updated after configuration changes and monitoring code updates.

Parameters​

NameTypeDescription
config.applicationId*requiredstringThe ID of the web application.
config.scriptExecutionAttribute"NONE" | "ASYNC" | "DEFER"Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the OneAgent JavaScript Tag with SRI.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { rumManualInsertionTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await rumManualInsertionTagsClient.getOneAgentJavaScriptTagWithSri(
{ applicationId: "..." },
);

securityProblemsClient​

import { securityProblemsClient } from '@dynatrace-sdk/client-classic-environment-v2';

bulkMuteRemediationItems​

securityProblemsClient.bulkMuteRemediationItems(config): Promise<RemediationItemsBulkMuteResponse>

Mutes several remediation items

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameTypeDescription
config.body*requiredRemediationItemsBulkMute
config.id*requiredstringThe ID of the requested third-party security problem.

Returns​

Return typeStatus codeDescription
RemediationItemsBulkMuteResponse200Success. The remediation item(s) have been muted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.bulkMuteRemediationItems({
id: "...",
body: {
reason: "CONFIGURATION_NOT_AFFECTED",
remediationItemIds: ["..."],
},
});

bulkMuteSecurityProblems​

securityProblemsClient.bulkMuteSecurityProblems(config): Promise<SecurityProblemsBulkMuteResponse>

Mutes several security problems

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameType
config.body*requiredSecurityProblemsBulkMute

Returns​

Return typeStatus codeDescription
SecurityProblemsBulkMuteResponse200Success. The security problem(s) have been muted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.bulkMuteSecurityProblems({
body: {
reason: "CONFIGURATION_NOT_AFFECTED",
securityProblemIds: ["..."],
},
});

bulkUnmuteRemediationItems​

securityProblemsClient.bulkUnmuteRemediationItems(config): Promise<RemediationItemsBulkUnmuteResponse>

Un-mutes several remediation items

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameTypeDescription
config.body*requiredRemediationItemsBulkUnmute
config.id*requiredstringThe ID of the requested third-party security problem.

Returns​

Return typeStatus codeDescription
RemediationItemsBulkUnmuteResponse200Success. The remediation item(s) have been un-muted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.bulkUnmuteRemediationItems({
id: "...",
body: {
reason: "AFFECTED",
remediationItemIds: ["..."],
},
});

bulkUnmuteSecurityProblems​

securityProblemsClient.bulkUnmuteSecurityProblems(config): Promise<SecurityProblemsBulkUnmuteResponse>

Un-mutes several security problems

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameType
config.body*requiredSecurityProblemsBulkUnmute

Returns​

Return typeStatus codeDescription
SecurityProblemsBulkUnmuteResponse200Success. The security problem(s) have been un-muted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.bulkUnmuteSecurityProblems({
body: {
reason: "AFFECTED",
securityProblemIds: ["..."],
},
});

getEventsForSecurityProblem​

securityProblemsClient.getEventsForSecurityProblem(config): Promise<SecurityProblemEventsList>

Lists all events of a security problem

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of thirty days is used (now-30d).

config.id*requiredstringThe ID of the requested security problem.
config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
SecurityProblemEventsList200Success. The response contains the list of security problem events.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getEventsForSecurityProblem({
id: "...",
});

getRemediationItem​

securityProblemsClient.getRemediationItem(config): Promise<RemediationDetailsItem>

Gets parameters of a remediation item of a security problem

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the requested third-party security problem.
config.remediationItemId*requiredstringThe ID of the remediation item.

Returns​

Return typeStatus codeDescription
RemediationDetailsItem200Success. The response contains details of a single remediation item of a security problem.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getRemediationItem({
id: "...",
remediationItemId: "...",
});

getRemediationItems​

securityProblemsClient.getRemediationItems(config): Promise<RemediationItemList>

Lists remediation items of a third-party security problem

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the requested third-party security problem.
config.remediationItemSelectorstring

Defines the scope of the query. Only remediable entities matching the specified criteria are included in the response.

You can add one or more of the following criteria. Values are not case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Vulnerability state: vulnerabilityState("value"). Possible values are VULNERABLE, and RESOLVED. If not set, all entities are returned.
  • Muted: muted("value"). Possible values are TRUE or FALSE.
  • Reachable data asset assessment: assessment.dataAssets("value") Possible values are REACHABLE, and NOT_DETECTED.
  • Network exposure assessment: assessment.exposure("value") Possible values are PUBLIC_NETWORK, and NOT_DETECTED.
  • Vulnerable function usage assessment: assessment.vulnerableFunctionUsage("value") Possible values are IN_USE, and NOT_IN_USE.
  • Vulnerable function restart required: assessment.vulnerableFunctionRestartRequired("value") Possible values are TRUE or FALSE.
  • Vulnerable function in use contains: assessment.vulnerableFunctionInUseContains("value"). Possible values are class::function, class:: and function. The CONTAINS operator is used. Only vulnerable functions in use are considered.
  • Assessment accuracy: assessment.accuracy("value") Possible values are FULL and REDUCED.
  • Entity name contains: entityNameContains("value-1"). The CONTAINS operator is used.
  • Tracking link display name: trackingLink.displayNameContains("value"). The CONTAINS operator is used.

To set several criteria, separate them with a comma (,). Only results matching all criteria are included in the response.

Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (~) inside quotes:

  • Tilde ~
  • Quote "

Returns​

Return typeStatus codeDescription
RemediationItemList200Success. The response contains the list of remediation items of a problem.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getRemediationItems({
id: "...",
});

getRemediationProgressEntities​

securityProblemsClient.getRemediationProgressEntities(config): Promise<RemediationProgressEntityList>

Lists remediation progress entities

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.id*requiredstringThe ID of the requested third-party security problem.
config.remediationItemId*requiredstringThe ID of the remediation item.
config.remediationProgressEntitySelectorstring

Defines the scope of the query. Only remediation progress entities matching the specified criteria are included in the response.

You can add one or more of the following criteria. Values are not case-sensitive and the EQUALS operator is used unless otherwise specified.

  • State: state("value"). Possible values the state field are AFFECTED and UNAFFECTED. If not set, all entities are returned.
  • Vulnerable function usage assessment: assessment.vulnerableFunctionUsage("value") Possible values are IN_USE, and NOT_IN_USE.
  • Vulnerable function restart required: assessment.vulnerableFunctionRestartRequired("value") Possible values are TRUE or FALSE.
  • Vulnerable function in use contains: assessment.vulnerableFunctionInUseContains("value"). Possible values are class::function, class:: and function. The CONTAINS operator is used. Only vulnerable functions in use are considered.
  • Entity name contains: entityNameContains("value-1"). The CONTAINS operator is used.

To set several criteria, separate them with a comma (,). Only results matching all criteria are included in the response.

Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (~) inside quotes:

  • Tilde ~
  • Quote "

Returns​

Return typeStatus codeDescription
RemediationProgressEntityList200Success. The response contains a list of remediation progress entities of a remediation item of a security problem. The number of entities returned is limited.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getRemediationProgressEntities(
{ id: "...", remediationItemId: "..." },
);

getSecurityProblem​

securityProblemsClient.getSecurityProblem(config): Promise<SecurityProblemDetails>

Gets parameters of a security problem

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.fieldsstring

A list of additional security problem properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • riskAssessment: A risk assessment of the security problem.
  • managementZones: The management zone where the security problem occurred.
  • codeLevelVulnerabilityDetails: Details of the code-level vulnerability.
  • globalCounts: Globally calculated statistics about the security problem. No management zone information is taken into account.
  • filteredCounts: Statistics about the security problem, filtered by the management zone and timeframe start ('from') query parameters.
  • description: The description of the vulnerability.
  • remediationDescription: Description of how to remediate the vulnerability.
  • events: The security problem's last 10 events within the last 365 days, sorted from newest to oldest.
  • vulnerableComponents: A list of vulnerable components of the security problem within the provided filter range.
  • affectedEntities: A list of affected entities of the security problem within the provided filter range.
  • exposedEntities: A list of exposed entities of the security problem within the provided filter range.
  • reachableDataAssets: A list of data assets reachable by affected entities of the security problem within the provided filter range.
  • relatedEntities: A list of related entities of the security problem within the provided filter range.
  • relatedContainerImages: A list of related container images of the security problem within the provided filter range.
  • relatedAttacks: A list of attacks detected on the exposed security problem.
  • entryPoints: A list of entry points and a flag which indicates whether this list was truncated or not.

To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, +riskAssessment,+managementZones).

config.fromstring

Based on the timeframe start the affected-, related- and vulnerable entities are being calculated. You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the default timeframe start of 24 hours in the past is used (now-24h).

The timeframe start must not be older than 365 days.

config.id*requiredstringThe ID of the requested security problem.
config.managementZoneFilterstring

To specify management zones, use one of the options listed below. For each option you can specify multiple comma-separated values. If several values are specified, the OR logic applies. All values are case-sensitive and must be quoted.

  • Management zone ID: ids("mzId-1", "mzId-2").
  • Management zone names: names("mz-1", "mz-2").

You can specify several comma-separated criteria (for example, names("myMz"),ids("9130632296508575249")).

Returns​

Return typeStatus codeDescription
SecurityProblemDetails200Success. The response contains parameters of the security problem.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getSecurityProblem({
id: "...",
});

getSecurityProblems​

securityProblemsClient.getSecurityProblems(config): Promise<SecurityProblemList>

Lists all security problems

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.fieldsstring

A list of additional security problem properties you can add to the response.

The following properties are available (all other properties are always included and you can't remove them from the response):

  • riskAssessment: A risk assessment of the security problem.
  • managementZones: The management zone where the security problem occurred.
  • codeLevelVulnerabilityDetails: Details of the code-level vulnerability.
  • globalCounts: Globally calculated statistics about the security problem. No management zone information is taken into account.

To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, +riskAssessment,+managementZones).

config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of thirty days is used (now-30d).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of security problems in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

config.securityProblemSelectorstring

Defines the scope of the query. Only security problems matching the specified criteria are included in the response.

You can add one or more of the following criteria. Values are not case-sensitive and the EQUALS operator is used unless otherwise specified.

  • Status: status("value"). Find the possible values in the description of the status field of the response. If not set, all security problems are returned.
  • Muted: muted("value"). Possible values are TRUE or FALSE.
  • Risk level: riskLevel("value"). The Davis risk level. Find the possible values in the description of the riskLevel field of the response.
  • Minimum risk score: minRiskScore("5.5"). The Davis minimum risk score. The GREATER THAN OR EQUAL TO operator is used. Specify a number between 1.0 and 10.0.
  • Maximum risk score: maxRiskScore("5.5"). The Davis maximum risk score. The LESS THAN operator is used. Specify a number between 1.0 and 10.0.
  • Base risk level: baseRiskLevel("value"). The Base risk level from the CVSS. Find the possible values in the description of the riskLevel field of the response.
  • Minimum base risk score: minBaseRiskScore("5.5"). The minimum base risk score from the CVSS. The GREATER THAN OR EQUAL TO operator is used. Specify a number between 1.0 and 10.0.
  • Maximum base risk score: maxBaseRiskScore("5.5"). The maximum base risk score from the CVSS. The LESS THAN operator is used. Specify a number between 1.0 and 10.0.
  • External vulnerability ID contains: externalVulnerabilityIdContains("id-1"). The CONTAINS operator is used. Maximum value length is 48 characters.
  • External vulnerability ID: externalVulnerabilityId("id-1", "id-2").
  • CVE ID: cveId("id").
  • Risk assessment riskAssessment("value-1", "value-2") Possible values are EXPOSED, SENSITIVE, EXPLOIT, VULNERABLE_FUNCTION_IN_USE and ACCURACY_REDUCED.
  • Related host ID: relatedHostIds("value-1", "value-2"). Specify Dynatrace entity IDs here.
  • Related host name: relatedHostNames("value-1", "value-2"). Values are case-sensitive.
  • Related host name contains: relatedHostNameContains("value-1"). The CONTAINS operator is used.
  • Related Kubernetes cluster ID: relatedKubernetesClusterIds("value-1", "value-2"). Specify Dynatrace entity IDs here.
  • Related Kubernetes cluster name: relatedKubernetesClusterNames("value-1", "value-2"). Values are case-sensitive.
  • Related Kubernetes cluster name contains: relatedKubernetesClusterNameContains("value-1"). The CONTAINS operator is used.
  • Related Kubernetes workload ID: relatedKubernetesWorkloadIds("value-1", "value-2"). Specify Dynatrace entity IDs here.
  • Related Kubernetes workload name: relatedKubernetesWorkloadNames("value-1", "value-2"). Values are case-sensitive.
  • Related Kubernetes workload name contains: relatedKubernetesWorkloadNameContains("value-1"). The CONTAINS operator is used.
  • Management zone ID: managementZoneIds("mzId-1", "mzId-2").
  • Management zone name: managementZones("name-1", "name-2"). Values are case-sensitive.
  • Affected process group instance ID: affectedPgiIds("pgiId-1", "pgiId-2"). Specify Dynatrace entity IDs here.
  • Affected process group ID: affectedPgIds("pgId-1", "pgId-2"). Specify Dynatrace entity IDs here.
  • Affected process group name: affectedPgNames("name-1", "name-2"). Values are case-sensitive.
  • Affected process group name contains: affectedPgNameContains("name-1"). The CONTAINS operator is used.
  • Vulnerable component ID: vulnerableComponentIds("componentId-1", "componentId-2"). Specify component IDs here.
  • Vulnerable component name: vulnerableComponentNames("name-1", "name-2"). Values are case-sensitive.
  • Vulnerable component name contains: vulnerableComponentNameContains("name-1"). The CONTAINS operator is used.
  • Host tags: hostTags("hostTag-1"). The CONTAINS operator is used. Maximum value length is 48 characters.
  • Process group tags: pgTags("pgTag-1"). The CONTAINS operator is used. Maximum value length is 48 characters.
  • Process group instance tags: pgiTags("pgiTag-1"). The CONTAINS operator is used. Maximum value length is 48 characters.
  • Tags: tags("tag-1"). The CONTAINS operator is used. This selector picks hosts, process groups, and process group instances at the same time. Maximum value length is 48 characters.
  • Display ID: displayIds("S-1234", "S-5678"). The EQUALS operator is used.
  • Security problem ID: securityProblemIds("12544152654387159360", "5904857564184044850"). The EQUALS operator is used.
  • Technology: technology("technology-1", "technology-2"). Find the possible values in the description of the technology field of the response. The EQUALS operator is used.
  • Vulnerability type: vulnerabilityType("type-1", "type-2"). Possible values are THIRD_PARTY, CODE_LEVEL, RUNTIME.

Risk score and risk category are mutually exclusive (cannot be used at the same time).

To set several criteria, separate them with a comma (,). Only results matching all criteria are included in the response.

Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (~) inside quotes:

  • Tilde ~
  • Quote "
config.sortstring

Specifies one or more fields for sorting the security problem list. Multiple fields can be concatenated using a comma (,) as a separator (e.g. +status,-timestamp).

You can sort by the following properties with a sign prefix for the sorting order.

  • status: The security problem status (+ open first or - resolved first)
  • muted: The security problem mute state (+ unmuted first or - muted first)
  • technology: The security problem technology
  • firstSeenTimestamp: The timestamp of the first occurrence of the security problem (+ new problems first or - old problems first)
  • lastUpdatedTimestamp: The timestamp of the last update of the security problem (+ recently updated problems first or - earlier updated problems first)
  • securityProblemId: The auto-generated ID of the security problem (+ lower number first or - higher number first)
  • externalVulnerabilityId: The ID of the external vulnerability (+ lower number first or - higher number first)
  • displayId: The display ID (+ lower number first or - higher number first)
  • riskAssessment.riskScore: Davis Security Score (+ lower score first or - higher score first)
  • riskAssessment.riskLevel: Davis Security Score level (+ lower level first or - higher level first)
  • riskAssessment.exposure: Whether the problem is exposed to the internet
  • riskAssessment.baseRiskScore: The CVSS score (+ lower score first or - higher score first)
  • riskAssessment.baseRiskLevel: The CVSS level (+ lower level first or - higher level first)
  • riskAssessment.dataAssets: Whether data assets are affected
  • riskAssessment.vulnerableFunctionUsage: Whether vulnerable functions are used
  • riskAssessment.assessmentAccuracy: The assessments accuracy (+ less accuracy first or - more accuracy first)
  • globalCounts.affectedNodes: Number of affected nodes (+ lower number first or - higher number first)
  • globalCounts.affectedProcessGroupInstances: Number of affected process group instances (+ lower number first or - higher number first)
  • globalCounts.affectedProcessGroups: Number of affected process groups (+ lower number first or - higher number first)
  • globalCounts.exposedProcessGroups: Number of exposed process groups (+ lower number first or - higher number first)
  • globalCounts.reachableDataAssets: Number of reachable data assets (+ lower number first or - higher number first)
  • globalCounts.relatedApplications: Number of related applications (+ lower number first or - higher number first)
  • globalCounts.relatedAttacks: Number of attacks on the security problem (+ lower number first or - higher number first)
  • globalCounts.relatedHosts: Number of related hosts (+ lower number first or - higher number first)
  • globalCounts.relatedKubernetesClusters: Number of related Kubernetes cluster (+ lower number first or - higher number first)
  • globalCounts.relatedKubernetesWorkloads: Number of related Kubernetes workloads (+ lower number first or - higher number first)
  • globalCounts.relatedServices: Number of related services (+ lower number first or - higher number first)
  • globalCounts.vulnerableComponents: Number of vulnerable components (+ lower number first or - higher number first)

If no prefix is set, + is used.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

The end of the timeframe must not be older than 365 days.

Returns​

Return typeStatus codeDescription
SecurityProblemList200Success. The response contains the list of security problems.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getSecurityProblems();

getVulnerableFunctions​

securityProblemsClient.getVulnerableFunctions(config): Promise<VulnerableFunctionsContainer>

Lists all vulnerable functions and their usage for a third-party security problem

Required scope: environment-api:security-problems:read One of the following permissions is required:

  • environment:roles:manage-security-problems
  • environment:roles:view-security-problems

Parameters​

NameTypeDescription
config.groupBystring

Defines additional grouping types in which vulnerable functions should be displayed.

You can add one of the following grouping types.

  • Process group: PROCESS_GROUP
config.id*requiredstringThe ID of the requested third-party security problem.
config.vulnerableFunctionsSelectorstring

Defines the scope of the query. Only vulnerable functions matching the specified criteria are included in the response.

You can add the following criteria. Values are not case sensitive and the EQUALS operator is used unless otherwise specified.

  • Management zone ID: managementZoneIds("mzId-1", "mzId-2").
  • Management zone name: managementZones("name-1", "name-2"). Values are case sensitive.
  • Process group ID: processGroupIds("pgId-1", "pgId-2"). Specify Dynatrace entity IDs here.
  • Process group name: processGroupNames("name-1", "name-2"). Values are case sensitive.
  • Process group name contains: processGroupNameContains("name-1"). The CONTAINS operator is used.

Specify the value of a criterion as a quoted string. The following special characters must be escaped with a tilde (~) inside quotes:

  • Tilde ~
  • Quote "

Returns​

Return typeStatus codeDescription
VulnerableFunctionsContainer200Success. The response contains the list of vulnerable functions.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.getVulnerableFunctions({
id: "...",
});

muteSecurityProblem​

securityProblemsClient.muteSecurityProblem(config): Promise<void>

Mutes a security problem

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameTypeDescription
config.body*requiredSecurityProblemMute
config.id*requiredstringThe ID of the requested security problem.

Returns​

Return typeStatus codeDescription
void200Success. The security problem has been muted.
void204Not executed. The security problem is already muted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.muteSecurityProblem({
id: "...",
body: { reason: "CONFIGURATION_NOT_AFFECTED" },
});

setRemediationItemMuteState​

securityProblemsClient.setRemediationItemMuteState(config): Promise<void>

Sets the mute state of a remediation item

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameTypeDescription
config.body*requiredRemediationItemMuteStateChange
config.id*requiredstringThe ID of the requested third-party security problem.
config.remediationItemId*requiredstringThe ID of the remediation item.

Returns​

Return typeStatus codeDescription
void200Success. The requested mute state has been applied to the remediation item.
void204Not executed. The remediation item was previously put into the requested mute state by the same user with the same reason and comment.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.setRemediationItemMuteState({
id: "...",
remediationItemId: "...",
body: {
comment: "...",
muted: false,
reason: "IGNORE",
},
});

trackingLinkBulkUpdateAndDelete​

securityProblemsClient.trackingLinkBulkUpdateAndDelete(config): Promise<void>

Updates the external tracking links of the remediation items. | maturity=EARLY_ADOPTER

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameTypeDescription
config.body*requiredRemediationItemsBulkUpdateDeleteDto
config.id*requiredstringThe ID of the requested third-party security problem.

Returns​

Return typeStatus codeDescription
void204Success. The requested tracking links have been updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.trackingLinkBulkUpdateAndDelete(
{ id: "...", body: {} },
);

unmuteSecurityProblem​

securityProblemsClient.unmuteSecurityProblem(config): Promise<void>

Un-mutes a security problem

Required scope: environment-api:security-problems:write Required permission: environment:roles:manage-security-problems

Parameters​

NameTypeDescription
config.body*requiredSecurityProblemUnmute
config.id*requiredstringThe ID of the requested security problem.

Returns​

Return typeStatus codeDescription
void200Success. The security problem has been un-muted.
void204Not executed. The security problem is already un-muted.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await securityProblemsClient.unmuteSecurityProblem({
id: "...",
body: { reason: "AFFECTED" },
});

serviceLevelObjectivesClient​

import { serviceLevelObjectivesClient } from '@dynatrace-sdk/client-classic-environment-v2';

createAlert​

serviceLevelObjectivesClient.createAlert(config): Promise<EntityShortRepresentation>

Creates an alert of the provided alert type for an SLO

Required scope: environment-api:slo:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Parameters​

NameTypeDescription
config.body*requiredAbstractSloAlertDto
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.id*requiredstringThe ID of the required SLO.
config.timeFrame"CURRENT" | "GTF"

The timeframe to calculate the SLO values:

  • CURRENT: SLO's own timeframe.
  • GTF: timeframe specified by from and to parameters.

If not set, the CURRENT value is used.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
EntityShortRepresentation201Success. The new alert has been created. The response contains the parameters of the new alert. The location response header contains the ID of the new alert.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Precondition for creating an SLO alert not fulfilled. The SLO func metric cannot be created or is not created by the SLO. | Internal server error. | Client side error. | Server side error.

Code example

import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await serviceLevelObjectivesClient.createAlert(
{
id: "...",
body: {
alertName: "...",
alertThreshold: 10,
alertType: "BURN_RATE",
},
},
);

createSlo​

serviceLevelObjectivesClient.createSlo(config): Promise<void>

Creates a new SLO

Required scope: environment-api:slo:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Parameters​

NameType
config.body*requiredSloConfigItemDtoImpl

Returns​

Return typeStatus codeDescription
void201Success. The new SLO has been created. Response doesn't have a body. The location response header contains the ID of the new SLO.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. Conflicting resource. | Internal server error. | Client side error. | Server side error.

Code example

import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await serviceLevelObjectivesClient.createSlo({
body: {
evaluationType: "AGGREGATE",
name: "Payment service availability",
target: 95,
timeframe: "-1d",
warning: 97.5,
},
});

deleteSlo​

serviceLevelObjectivesClient.deleteSlo(config): Promise<void>

Deletes an SLO

Required scope: environment-api:slo:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Parameters​

NameType
config.id*requiredstring

Returns​

Return typeStatus codeDescription
void204Success. The SLO has been deleted. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The requested resource doesn't exist. | Failed. Conflicting resource. | Internal server error. | Client side error. | Server side error.

Code example

import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await serviceLevelObjectivesClient.deleteSlo({
id: "...",
});

getSlo​

serviceLevelObjectivesClient.getSlo(config): Promise<SLOs>

Lists all available SLOs along with calculated values

Required scope: environment-api:slo:read One of the following permissions is required:

  • environment:roles:viewer
  • settings:objects:read

By default the values are calculated for the SLO's own timeframe. You can use a custom timeframe:

  1. Set the timeFrame parameter to GTF.
  2. Provide the timeframe in from and to parameters.

Parameters​

NameTypeDescription
config.demobooleanGet your SLOs (false) or a set of demo SLOs (true).

Default: false
config.enabledSlos"false" | "true" | "all"Get your enabled SLOs (true), disabled ones (false) or both enabled and disabled ones (all).
config.evaluate"false" | "true"Get your SLOs without them being evaluated (false) or with evaluations (true) with maximum pageSize of 25.
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of SLOs in a single response payload.

The maximal allowed page size is 10000.

If not set, 10 is used.

config.showGlobalSlosbooleanGet your global SLOs (true) regardless of the selected filter or filter them out (false).

Default: true
config.sloSelectorstring

The scope of the query. Only SLOs matching the provided criteria are included in the response.

You can add one or several of the criteria listed below.

  • SLO ID: id("id-1","id-2").
  • Name: name("name"). Filters for an SLO with the given name. The filter is case-sensitive.
  • Health state: healthState("HEALTHY") or healthState("UNHEALTHY"). Filters for SLOs that have no related open problems (HEALTHY) or SLOs that have related open problems (UNHEALTHY). You can specify only one health state.
  • Text: text("value"). Filters for all SLOs that contain the given value in their name or description. The filter is case-insensitive.
  • Problem: problemDisplayName("value"). Filters for all SLOs that are related to a given problem display name (e.g. P-12345).
  • Management zone name: managementZone("MZ-A"). Filters for all SLOs that are related to the given management zone name. Returned SLOs are evaluated against the given management zone.
  • Management zone ID: managementZoneID("123"). Filters for all SLOs that are related to the given management zone ID. Returned SLOs are evaluated against the given management zone.

To set several criteria, separate them with comma (,). Only SLOs matching all criteria are included in the response. Examples:

  • .../api/v2/slo?sloSelector=name("Service Availability")
  • .../api/v2/slo?sloSelector=id("id")
  • .../api/v2/slo?sloSelector=text("Description"),healthState("HEALTHY").

The special characters ~ and " need to be escaped using a ~ (e.g. double quote search text("~"")).

config.sortstring

The sorting of SLO entries:

  • name: Names in ascending order.
  • -name: Names in descending order.

If not set, the ascending order is used.



Default: name
config.timeFrame"CURRENT" | "GTF"

The timeframe to calculate the SLO values:

  • CURRENT: SLO's own timeframe.
  • GTF: timeframe specified by from and to parameters.

If not set, the CURRENT value is used.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
SLOs200Success. The response contains the parameters and calculated values of the requested SLO.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await serviceLevelObjectivesClient.getSlo();

getSloById​

serviceLevelObjectivesClient.getSloById(config): Promise<SLO>

Gets parameters and calculated values of a specific SLO

Required scope: environment-api:slo:read One of the following permissions is required:

  • environment:roles:viewer
  • settings:objects:read

If from and to parameters are provided, the SLO is calculated for that timeframe; otherwise the SLO's own timeframe is used.

Parameters​

NameTypeDescription
config.fromstring

The start of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the relative timeframe of two weeks is used (now-2w).

config.id*requiredstringThe ID of the required SLO.
config.timeFrame"CURRENT" | "GTF"

The timeframe to calculate the SLO values:

  • CURRENT: SLO's own timeframe.
  • GTF: timeframe specified by from and to parameters.

If not set, the CURRENT value is used.

config.tostring

The end of the requested timeframe.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

Returns​

Return typeStatus codeDescription
SLO200Success. The response contains the parameters and calculated values of the requested SLO.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.

Code example

import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await serviceLevelObjectivesClient.getSloById({
id: "...",
});

updateSloById​

serviceLevelObjectivesClient.updateSloById(config): Promise<void>

Updates an existing SLO

Required scope: environment-api:slo:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Parameters​

NameTypeDescription
config.body*requiredSloConfigItemDtoImpl
config.id*requiredstringThe ID of the required SLO.

Returns​

Return typeStatus codeDescription
void200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Internal server error. | Client side error. | Server side error.

Code example

import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await serviceLevelObjectivesClient.updateSloById({
id: "...",
body: {
evaluationType: "AGGREGATE",
name: "Payment service availability",
target: 95,
timeframe: "-1d",
warning: 97.5,
},
});

settingsManagementZonesClient​

import { settingsManagementZonesClient } from '@dynatrace-sdk/client-classic-environment-v2';

getManagementZoneDetails​

settingsManagementZonesClient.getManagementZoneDetails(config): Promise<ManagementZoneDetails>

Reads management zone details.

Required scope: settings:objects:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:read

Allows to convert from an objectId to the ID of the management zone, and can serve as a replacement for the old config endpoint for that purpose.

Parameters​

NameTypeDescription
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
ManagementZoneDetails200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.

Code example

import { settingsManagementZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsManagementZonesClient.getManagementZoneDetails(
{ objectId: "..." },
);

settingsObjectsClient​

import { settingsObjectsClient } from '@dynatrace-sdk/client-classic-environment-v2';

addPermission​

settingsObjectsClient.addPermission(config): Promise<AccessorPermissions>

Add the permissions for a single accessor on this object.

Required scope: settings:objects:write

Add the permissions for a single accessor on this object, anyone with read/write permissions is allowed to add more permissions.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.body*requiredAccessorPermissions
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
AccessorPermissions201Created

Throws​

Error TypeError Message
ErrorEnvelopeErrorIf accessor id already exists. | Failed. Forbidden. | No object available for the given objectId. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await settingsObjectsClient.addPermission({
objectId: "...",
body: { accessor: { type: "user" }, permissions: ["r"] },
});

deleteSettingsObjectByObjectId​

settingsObjectsClient.deleteSettingsObjectByObjectId(config): Promise<void>

Deletes the specified settings object

Required scope: settings:objects:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.
config.updateTokenstring

The update token of the object. You can use it to detect simultaneous modifications by different users.

It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.

If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
SettingsObjectResponseErrorFailed. Schema validation failed. | Failed. The requested resource doesn't exist. | Failed. Conflicting resource.
ErrorEnvelopeErrorFailed. Forbidden. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.deleteSettingsObjectByObjectId(
{ objectId: "..." },
);

getEffectiveSettingsValues​

settingsObjectsClient.getEffectiveSettingsValues(config): Promise<EffectiveSettingsValuesList>

Lists effective settings values

Required scope: settings:objects:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:read

Lists effective settings values for selected schemas at a selected scope (or entity). This operation evaluates the hierarchy of persisted objects (see /settings/objects)

It will always return a result for a schema/scope combination, even if the schema would not be relevant to the given scope/entity.

If no object along the hierarchy is persisted, the default value as defined in the schema will be returned.

Deprecation notice: The ability to query values of any schema by leaving out the schemaIds parameter in the first-page query is deprecated and will eventually be removed.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.fieldsstring

A list of fields to be included to the response. The provided set of fields replaces the default set.

Specify the required top-level fields, separated by commas (for example, origin,value).

Supported fields: summary, searchSummary, created, modified, createdBy, modifiedBy, author, origin, schemaId, schemaVersion, value, externalId.



Default: origin,value
config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of settings objects in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

config.schemaIdsstring

A list of comma-separated schema IDs to which the requested objects belong.

Only considered on load of the first page, when the nextPageKey is not set.

config.scopestring

The scope that the requested objects target.

The selection only matches objects directly targeting the specified scope. For example, environment will not match objects that target a host within environment. For more details, please see Dynatrace Documentation.

To load the first page, when the nextPageKey is not set, this parameter is required.

Returns​

Return typeStatus codeDescription
EffectiveSettingsValuesList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The specified schema or scope is not found. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.getEffectiveSettingsValues();

getPermission​

settingsObjectsClient.getPermission(config): Promise<AccessorPermissions>

Get current permissions of the accessor on this object.

Required scope: settings:objects:read

Get current permissions of the accessor on this object.

Parameters​

NameTypeDescription
config.accessorId*requiredstringThe user uuid or group uuid of the accessor, depending on the type.
config.accessorType*required"group" | "user"The type of the accessor.
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
AccessorPermissions200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNo object available for the given objectId or the accessor doesn't have any permissions on this object. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await settingsObjectsClient.getPermission({
objectId: "...",
accessorType: "group",
accessorId: "...",
});

getPermissionAllUsers​

settingsObjectsClient.getPermissionAllUsers(config): Promise<AccessorPermissions>

Get current permissions of the all-users accessor on this object.

Required scope: settings:objects:read

Get current permissions of the all-users accessor on this object.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
AccessorPermissions200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNo object available for the given objectId or the all-users accessor doesn't have any permissions on this object. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.getPermissionAllUsers({
objectId: "...",
});

getPermissions​

settingsObjectsClient.getPermissions(config): Promise<AccessorPermissionsList>

Get current permissions on this object.

Required scope: settings:objects:read

Get current permissions on this object.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
AccessorPermissionsList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNo object available for the given objectId. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await settingsObjectsClient.getPermissions({
objectId: "...",
});

getSettingsHistory​

settingsObjectsClient.getSettingsHistory(config): Promise<RevisionDiffPage>

Gets the history of settings objects

Required scope: settings:objects:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:read

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.fieldsstringA list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, revision,modificationInfo). Supported fields: revision, jsonPatch, jsonBefore, jsonAfter, objectId, type, schemaId, schemaVersion, schemaDisplayName, modificationInfo, summary, source, appId, ownerBefore, ownerAfter.(optional, default to revision, modificationInfo)
config.filterstring

The filter parameter, as explained here. Filtering is supported on the following fields:

  • objectId
  • modificationInfo.lastModifiedTime

The fields can only be combined with and as a boolean operator. If this parameter is omitted only revisions of the last 2 weeks are returned. If modificationInfo.lastModifiedTime does not specify a full range, it will be completed with current time minus 1 year for the missing lower bound or the current time for the upper bound. (optional)

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of settings objects in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

config.schemaIdstring

Schema ID to which the requested revisions belong.

In the Dynatrace Platform, this parameter accepts multiple schema IDs separated with commas. In Dynatrace Managed and in SaaS Environments not connected to the Dynatrace Platform, this parameter accepts only a single schema ID, not multiple ones.

config.scopestring

The scope that the requested history objects target.

The selection only matches revisions directly targeting the specified scope. For example, environment will not match objects that target a host within environment. For more details, please see Dynatrace Documentation.

To load the first page, when the nextPageKey is not set, this parameter is required.

config.sortstring

The sort parameter, as explained here. Sorting is supported on the following fields:

  • modificationInfo.lastModifiedTime (optional, default to -modificationInfo.lastModifiedTime)

Returns​

Return typeStatus codeDescription
RevisionDiffPage200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. schemaId contains multiple schemaIds and request was for not for Dynatrace Platform. | Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.getSettingsHistory();

getSettingsObjectByObjectId​

settingsObjectsClient.getSettingsObjectByObjectId(config): Promise<SettingsObjectByObjectIdResponse>

Gets the specified settings object

Required scope: settings:objects:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:read

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
SettingsObjectByObjectIdResponse200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.getSettingsObjectByObjectId({
objectId: "...",
});

getSettingsObjects​

settingsObjectsClient.getSettingsObjects(config): Promise<ObjectsList>

Lists persisted settings objects

Required scope: settings:objects:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:read

Lists persisted settings objects for selected schemas at selected scopes (or entities).

If nothing is persisted or if all persisted settings objects are not accessible due to missing permissions, no items will be returned.

Deprecation notice: The ability to query values of any schema by leaving out the schemaIds parameter in the first-page query is deprecated and will eventually be removed.

To query the effective values (including schema defaults) please see /settings/effectiveValues.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.externalIdsstring

A list of comma-separated external IDs that the requested objects have.

Each external ID has a maximum length of 500 characters.

Only considered on load of the first page, when the nextPageKey is not set.

config.fieldsstring

A list of fields to be included to the response. The provided set of fields replaces the default set.

Specify the required top-level fields, separated by commas (for example, objectId,value).

Supported fields: objectId, summary, searchSummary, created, modified, createdBy, modifiedBy, author, updateToken, scope, modificationInfo (deprecated), resourceContext, owner, schemaId, schemaVersion, value, externalId.



Default: objectId,value
config.filterstring

The filter parameter, as explained here.

Filtering is supported on the following fields:

  • created
  • modified
  • createdBy
  • modifiedBy
  • author (deprecated, will not work for future schemas)
  • value with properties and sub-properties separated by dot (for example, value.owningApp = 'Notebooks')

If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 1024 characters.

Note that only fields included to the response via fields can be used for filtering.

config.nextPageKeystring

The cursor for the next page of results. You can find it in the nextPageKey field of the previous response.

The first page is always returned if you don't specify the nextPageKey query parameter.

When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters.

config.pageSizenumber

The amount of settings objects in a single response payload.

The maximal allowed page size is 500.

If not set, 100 is used.

config.schemaIdsstring

A list of comma-separated schema IDs to which the requested objects belong.

To load the first page, when the nextPageKey is not set, either this parameter or scopes is required.

To load all objects belonging to the given schema IDs leave the scopes parameter empty.

config.scopesstring

A list of comma-separated scopes, that the requested objects target.

The selection only matches objects directly targeting the specified scopes. For example, environment will not match objects that target a host within environment. For more details, please see Dynatrace Documentation.

To load the first page, when the nextPageKey is not set, either this parameter or schemaIds is required.

To load all objects belonging to the given scopes leave the schemaIds parameter empty.

config.sortstring

The sort parameter, as explained here.

Sorting is supported on the following fields:

  • created
  • modified
  • createdBy
  • modifiedBy
  • author (deprecated, will not work for future schemas)
  • value with properties and sub-properties separated by dot (for example, value.owningApp)

Note that only fields included to the response via fields can be used for sorting.

Returns​

Return typeStatus codeDescription
ObjectsList200Success. Accessible objects returned.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Forbidden. | Failed. The specified schema or scope is not found. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.getSettingsObjects();

postSettingsObjects​

settingsObjectsClient.postSettingsObjects(config): Promise<Array<SettingsObjectResponse>>

Creates a new settings object

Required scope: settings:objects:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

You can upload several objects at once. In that case each object returns its own response code. Check the response body for details.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.body*requiredArray<SettingsObjectCreate>
config.validateOnlybooleanIf true, the request runs only validation of the submitted settings objects, without saving them.

Default: false

Returns​

Return typeStatus codeDescription
SettingsObjectResponse200Success
SettingsObjectResponse207Multi-status: different objects in the payload resulted in different statuses.

Throws​

Error TypeError Message
SettingsObjectResponseArrayErrorFailed. Schema validation failed. | Failed. The requested resource doesn't exist. | Failed. Conflicting resource.
ErrorEnvelopeErrorFailed. Forbidden. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.postSettingsObjects({
body: [
{
schemaId:
"builtin:container.built-in-monitoring-rule",
scope: "HOST-D3A3C5A146830A79",
value: {},
},
],
});

putSettingsObjectByObjectId​

settingsObjectsClient.putSettingsObjectByObjectId(config): Promise<SettingsObjectResponse>

Updates an existing settings object

Required scope: settings:objects:write One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:objects:write

To update a property of the secret type you need to pass the new value unmasked. To keep the current value, send the current masked secret. You can obtain it via GET an object endpoint.

Some schemas don't allow passing of the masked secret. In that case you need to send the unmasked secret with every update of the object.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.body*requiredSettingsObjectUpdate
config.objectId*requiredstringThe ID of the required settings object.
config.validateOnlybooleanIf true, the request runs only validation of the submitted settings object, without saving it.

Default: false

Returns​

Return typeStatus codeDescription
SettingsObjectResponse200Success

Throws​

Error TypeError Message
SettingsObjectResponseErrorFailed. Schema validation failed. | Failed. The requested resource doesn't exist. | Failed. Conflicting resource.
ErrorEnvelopeErrorFailed. Forbidden. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.putSettingsObjectByObjectId({
objectId: "...",
body: { value: {} },
});

removePermission​

settingsObjectsClient.removePermission(config): Promise<void>

Remove the permissions for an existing accessor on this object.

Required scope: settings:objects:write

Remove the permissions for an existing accessor on this object, anyone with read/write permissions is allowed to delete permissions.

Parameters​

NameTypeDescription
config.accessorId*requiredstringThe user uuid or group uuid of the accessor, depending on the type.
config.accessorType*required"group" | "user"The type of the accessor.
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
void204Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNo object available for the given objectId or the accessor doesn't have any permissions on this object. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await settingsObjectsClient.removePermission({
objectId: "...",
accessorType: "group",
accessorId: "...",
});

removePermissionAllUsers​

settingsObjectsClient.removePermissionAllUsers(config): Promise<void>

Remove the permissions for an existing all-users accessor on this object.

Required scope: settings:objects:write

Remove the permissions for an existing all-users accessor on this object, anyone with read/write permissions is allowed to delete permissions.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
void204Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorNo object available for the given objectId or the all-users accessor doesn't have any permissions on this object. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.removePermissionAllUsers({
objectId: "...",
});

resolveEffectivePermissions​

settingsObjectsClient.resolveEffectivePermissions(config): Promise<Array<EffectivePermission>>

Get the effective settings permissions of the calling user in the environment

One of the following scopes is required:

  • settings:objects:write
  • settings:objects:read
  • settings:schemas:read

One of the following permissions is required:

  • environment:roles:viewer
  • settings:schemas:read

Parameters​

NameType
config.body*requiredResolutionRequest

Returns​

Return typeStatus codeDescription
EffectivePermission200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Forbidden. No access to any settings. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.resolveEffectivePermissions({
body: {
permissions: [
{
context: {
schemaId: "service:schema",
scope: "environment",
},
permission: "settings:objects:write",
},
],
},
});

transferOwnership​

settingsObjectsClient.transferOwnership(config): Promise<void>

Transfer ownership of the object.

Required scope: settings:objects:write

Transfer ownership of the object, only the owner or the main admin is allowed to transfer the ownership (IAM permission needed).

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.body*requiredTransferOwnershipRequest
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Failed. Forbidden. | No object available for the given objectId. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await settingsObjectsClient.transferOwnership({
objectId: "...",
body: { newOwner: { type: "user" } },
});

updatePermission​

settingsObjectsClient.updatePermission(config): Promise<void>

Update the permissions for an existing accessor on this object.

Required scope: settings:objects:write

Update the permissions for an existing accessor on this object, anyone with read/write permissions is allowed to update permissions.

Parameters​

NameTypeDescription
config.accessorId*requiredstringThe user uuid or group uuid of the accessor, depending on the type.
config.accessorType*required"group" | "user"The type of the accessor.
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.body*requiredUpdatePermissionsRequest
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
void200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorIf permission list is empty, contains unsupported entries or unsupported combinations of entries. | No object available for the given objectId or the accessor doesn't have any permissions on this object. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await settingsObjectsClient.updatePermission({
objectId: "...",
accessorType: "group",
accessorId: "...",
body: { permissions: ["r"] },
});

updatePermissionAllUsers​

settingsObjectsClient.updatePermissionAllUsers(config): Promise<void>

Update the permissions for an existing all-users accessor on this object.

Required scope: settings:objects:write

Update the permissions for an existing all-users accessor on this object, anyone with read/write permissions is allowed to update permissions.

Parameters​

NameTypeDescription
config.adminAccessbooleanIf set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

Default: false
config.body*requiredUpdatePermissionsRequest
config.objectId*requiredstringThe ID of the required settings object.

Returns​

Return typeStatus codeDescription
void200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorIf permission list is empty, contains unsupported entries or unsupported combinations of entries. | No object available for the given objectId or the all-users accessor doesn't have any permissions on this object. | Client side error. | Server side error.

Code example

import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsObjectsClient.updatePermissionAllUsers({
objectId: "...",
body: { permissions: ["r"] },
});

settingsSchemasClient​

import { settingsSchemasClient } from '@dynatrace-sdk/client-classic-environment-v2';

getAvailableSchemaDefinitions​

settingsSchemasClient.getAvailableSchemaDefinitions(config): Promise<SchemaList>

Lists available settings schemas

Required scope: settings:schemas:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:schemas:read

Parameters​

NameTypeDescription
config.fieldsstring

A list of fields to be included to the response. The provided set of fields replaces the default set.

Specify the required top-level fields, separated by commas (for example, schemaId,displayName).

Supported fields: schemaId, displayName, maturity, latestSchemaVersion, multiObject, ordered, ownerBasedAccessControl.



Default: schemaId,displayName,latestSchemaVersion

Returns​

Return typeStatus codeDescription
SchemaList200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { settingsSchemasClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsSchemasClient.getAvailableSchemaDefinitions();

getSchemaDefinition​

settingsSchemasClient.getSchemaDefinition(config): Promise<SchemaDefinitionRestDto>

Gets parameters of the specified settings schema

Required scope: settings:schemas:read One of the following permissions is required:

  • environment:roles:manage-settings
  • settings:schemas:read

Parameters​

NameTypeDescription
config.schemaId*requiredstringThe ID of the required schema.
config.schemaVersionstring

The version of the required schema.

If not set, the most recent version is returned.

Returns​

Return typeStatus codeDescription
SchemaDefinitionRestDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. Forbidden. | Failed. The specified schema doesn't exist. | Client side error. | Server side error.

Code example

import { settingsSchemasClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await settingsSchemasClient.getSchemaDefinition({
schemaId: "...",
});

syntheticHttpMonitorExecutionsClient​

import { syntheticHttpMonitorExecutionsClient } from '@dynatrace-sdk/client-classic-environment-v2';

getExecutionResult​

syntheticHttpMonitorExecutionsClient.getExecutionResult(config): Promise<MonitorExecutionResults>

Gets detailed information about the last execution of the specified HTTP monitor

Required scope: environment-api:synthetic-execution:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.locationIdstringFilters the results to those executed by specified Synthetic location. Specify the ID of the location.
config.monitorId*requiredstringIdentifier of the HTTP monitor for which last execution result is returned.
config.resultType*required"SUCCESS" | "FAILED"Defines the result type of the last HTTP monitor's execution.

Returns​

Return typeStatus codeDescription
MonitorExecutionResults200Success. The response contains detailed data.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticHttpMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticHttpMonitorExecutionsClient.getExecutionResult(
{ monitorId: "...", resultType: "SUCCESS" },
);

syntheticLocationsNodesAndConfigurationClient​

import { syntheticLocationsNodesAndConfigurationClient } from '@dynatrace-sdk/client-classic-environment-v2';

addLocation​

syntheticLocationsNodesAndConfigurationClient.addLocation(config): Promise<SyntheticLocationIdsDto>

Creates a new private synthetic location

Required scope: environment-api:synthetic:write Required permission: environment:roles:manage-settings

Parameters​

NameType
config.body*requiredPrivateSyntheticLocation

Returns​

Return typeStatus codeDescription
SyntheticLocationIdsDto201Success. The private location has been created. The response contains the ID of the new location.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.addLocation(
{
body: {
latitude: 10,
longitude: 10,
name: "...",
nodes: ["..."],
type: "CLUSTER",
},
},
);

getConfiguration​

syntheticLocationsNodesAndConfigurationClient.getConfiguration(config): Promise<SyntheticConfigResponse>

Gets set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Returns​

Return typeStatus codeDescription
SyntheticConfigResponse200Success. The response contains synthetic related parameters defined for whole tenant.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getConfiguration();

getLocation​

syntheticLocationsNodesAndConfigurationClient.getLocation(config): Promise<PrivateSyntheticLocation | SyntheticLocation>

Gets properties of the specified location

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.locationId*requiredstringThe Dynatrace entity ID of the required location.

Returns​

Return typeStatus codeDescription
PrivateSyntheticLocation200Success. The response contains parameters of the synthetic location.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getLocation(
{ locationId: "..." },
);

getLocationDeploymentApplyCommands​

syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands(config): Promise<string>

Gets list of commands to deploy synthetic location in Kubernetes/Openshift cluster

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.filenamestringFilename
config.fipsModestringFips mode, accepted values are: DISABLED, ENABLED, ENABLED_WITH_CORPORATE_PROXY. Default value is DISABLED.
config.namespacestringNamespace
config.platformstringContainer platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES.
config.squidProxyConfigstringOptional configuration for Squid corporate proxy. If not provided the default value will be used.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the list of commands that needs to be executed to deploy a synthetic location.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands();

getLocationDeploymentDeleteCommands​

syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentDeleteCommands(config): Promise<string>

Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.filenamestringFilename
config.locationId*requiredstringThe Dynatrace entity ID of the required location.
config.namespacestringNamespace
config.platformstringContainer platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the list of commands that needs to be executed to delete a synthetic location.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentDeleteCommands(
{ locationId: "..." },
);

getLocationDeploymentYaml​

syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentYaml(config): Promise<Binary>

Gets yaml file content to deploy location in Kubernetes/Openshift cluster

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.activeGateNamestringActive gate name
config.customRegistrystringCustom images registry prefix - this will replace 'dynatrace' in image URLs in generated yaml.
config.locationId*requiredstringThe Dynatrace entity ID of the required location.
config.namespacestringNamespace
config.tagVersionActiveGatestringCustom version tag for Active Gate - this will be used as desired Active Gate version in generated yaml.
config.tagVersionSyntheticstringCustom version tag for Synthetic- this will be used as desired Synthetic version in generated yaml

Returns​

Return typeStatus codeDescription
void200Success. The response contains the content of deployment yaml file.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentYaml(
{ locationId: "..." },
);

getLocations​

syntheticLocationsNodesAndConfigurationClient.getLocations(config): Promise<SyntheticLocations>

Lists all synthetic locations (both public and private) available for your environment

Required scope: environment-api:synthetic:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.capability"BROWSER" | "HTTP" | "HTTP_HIGH_RESOURCE" | "ICMP" | "TCP" | "DNS"Filters the resulting set of locations to those which support specific capability.
config.cloudPlatform"AWS" | "AZURE" | "ALIBABA" | "GOOGLE_CLOUD" | "OTHER"Filters the resulting set of locations to those which are hosted on a specific cloud platform.
config.type"PUBLIC" | "PRIVATE"Filters the resulting set of locations to those of a specific type.

Returns​

Return typeStatus codeDescription
SyntheticLocations200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getLocations();

getLocationsStatus​

syntheticLocationsNodesAndConfigurationClient.getLocationsStatus(config): Promise<SyntheticPublicLocationsStatus>

Checks the status of public synthetic locations

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Returns​

Return typeStatus codeDescription
SyntheticPublicLocationsStatus200Success. The response contains the public locations status.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getLocationsStatus();

getMetricAdapterDeploymentApplyCommands​

syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands(config): Promise<string>

Gets list of commands to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.filenamestringFilename
config.namespacestringNamespace
config.platformstringContainer platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the list of commands that needs to be executed to deploy a metric adapter.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands();

getMetricAdapterDeploymentDeleteCommands​

syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands(config): Promise<string>

Gets list of commands to delete metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.filenamestringFilename
config.platformstringContainer platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the list of commands that needs to be executed to delete a metric adapter.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands();

getMetricAdapterDeploymentYaml​

syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml(config): Promise<Binary>

Gets yaml file content to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.namespacestringNamespace
config.platformstringContainer platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES.

Returns​

Return typeStatus codeDescription
void200Success. The response contains the content of deployment yaml file.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml();

getNode​

syntheticLocationsNodesAndConfigurationClient.getNode(config): Promise<Node>

Lists properties of the specified synthetic node

Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.nodeId*requiredstringThe ID of the required synthetic node.

Returns​

Return typeStatus codeDescription
Node200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getNode(
{ nodeId: "..." },
);

getNodes​

syntheticLocationsNodesAndConfigurationClient.getNodes(config): Promise<Nodes>

Lists all synthetic nodes available in your environment

Required scope: environment-api:synthetic:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.assignedToLocation"TRUE" | "FALSE"Filters the resulting set of nodes to those which are assigned to a synthetic location or not.
config.isContainerizedbooleanIf set to true, returns only containerized nodes.

Returns​

Return typeStatus codeDescription
Nodes200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.getNodes();

removeLocation​

syntheticLocationsNodesAndConfigurationClient.removeLocation(config): Promise<void>

Deletes the specified private synthetic location

Required scope: environment-api:synthetic:write Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.locationId*requiredstringThe Dynatrace entity ID of the private synthetic location to be deleted.

Returns​

Return typeStatus codeDescription
void204Success. The location has been deleted. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.removeLocation(
{ locationId: "..." },
);

updateConfiguration​

syntheticLocationsNodesAndConfigurationClient.updateConfiguration(config): Promise<void>

Updates set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic:write Required permission: environment:roles:manage-settings

Parameters​

NameType
config.body*requiredSyntheticConfigRequest

Returns​

Return typeStatus codeDescription
void204Success. The set of synthetic related parameters has been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.updateConfiguration(
{ body: {} },
);

updateLocation​

syntheticLocationsNodesAndConfigurationClient.updateLocation(config): Promise<void>

Updates the specified synthetic location

Required scope: environment-api:synthetic:write Required permission: environment:roles:manage-settings

For public locations you can only change the location status.

Parameters​

NameTypeDescription
config.body*requiredSyntheticLocationUpdate
config.locationId*requiredstringThe Dynatrace entity ID of the synthetic location to be updated.

Returns​

Return typeStatus codeDescription
void204Success. The location has been updated. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.updateLocation(
{ locationId: "...", body: { type: "PRIVATE" } },
);

updateLocationsStatus​

syntheticLocationsNodesAndConfigurationClient.updateLocationsStatus(config): Promise<void>

Changes the status of public synthetic locations

Required scope: environment-api:synthetic:write Required permission: environment:roles:manage-settings

Parameters​

NameType
config.body*requiredSyntheticPublicLocationsStatus

Returns​

Return typeStatus codeDescription
void204Success. Locations status has been updated.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticLocationsNodesAndConfigurationClient.updateLocationsStatus(
{ body: { publicLocationsEnabled: false } },
);

syntheticNetworkAvailabilityMonitorsClient​

import { syntheticNetworkAvailabilityMonitorsClient } from '@dynatrace-sdk/client-classic-environment-v2';

createMonitor​

syntheticNetworkAvailabilityMonitorsClient.createMonitor(config): Promise<MonitorEntityIdDto>

Creates a synthetic monitor definition. | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic-monitors:write Required permission: environment:roles:manage-settings

Parameters​

NameType
config.body*requiredSyntheticBrowserMonitorRequest | SyntheticHttpMonitorRequest | SyntheticMultiProtocolMonitorRequest

Returns​

Return typeStatus codeDescription
MonitorEntityIdDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticNetworkAvailabilityMonitorsClient.createMonitor(
{},
);

deleteMonitor​

syntheticNetworkAvailabilityMonitorsClient.deleteMonitor(config): Promise<void>

Deletes a synthetic monitor definition for the given monitor ID. | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic-monitors:write Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.monitorId*requiredstringThe identifier of the monitor.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticNetworkAvailabilityMonitorsClient.deleteMonitor(
{ monitorId: "..." },
);

getMonitor​

syntheticNetworkAvailabilityMonitorsClient.getMonitor(config): Promise<SyntheticBrowserMonitorResponse | SyntheticHttpMonitorResponse | SyntheticMultiProtocolMonitorResponse>

Gets a synthetic monitor definition for the given monitor ID. | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic-monitors:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.monitorId*requiredstringThe identifier of the monitor.

Returns​

Return typeStatus codeDescription
SyntheticHttpMonitorResponse200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticNetworkAvailabilityMonitorsClient.getMonitor(
{ monitorId: "..." },
);

getMonitors​

syntheticNetworkAvailabilityMonitorsClient.getMonitors(config): Promise<SyntheticMonitorListDto>

Gets all synthetic monitors. | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic-monitors:read Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.monitorSelectorstring

Defines the scope of the query. Only monitors matching the specified criteria are included into response.

You can add one or several of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the OR logic applies.

  • Monitor type: type(HTTP,MULTI_PROTOCOL). Possible values: 'HTTP', 'BROWSER', 'MULTI_PROTOCOL'.
  • Management zone ID: managementZoneId(1, 2).
  • Synthetic Location ME ID: location(SYNTHETIC_LOCATION-123).
  • Monitored host ME ID: monitoredEntity(HOST-123).
  • Monitor tags: tag([context]key:value,key:value,key). Tags in [context]key:value, key:value, and key formats are detected and parsed automatically. If a key-only tag has a colon (:) in it, you must escape the colon with a backslash(\). Otherwise, the tag will be parsed as a key:value tag. All tag values are case-sensitive. Values listed within a single tag(...) are combined with OR. To require multiple tags (AND), specify several tag(...) selectors. For example, tag(tag-a),tag(tag-b) matches only monitors that have both tags, while tag(tag-a,tag-b) matches monitors that have either.
  • Monitor enablement: enabled(true).
  • Monaco external ID: externalId(value1,value2)

To set several criteria, separate them with a comma (,). Only results matching all criteria are included in the response.

Returns​

Return typeStatus codeDescription
SyntheticMonitorListDto200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticNetworkAvailabilityMonitorsClient.getMonitors();

updateMonitor​

syntheticNetworkAvailabilityMonitorsClient.updateMonitor(config): Promise<void>

Updates a synthetic monitor definition for the given monitor ID. | maturity=EARLY_ADOPTER

Required scope: environment-api:synthetic-monitors:write Required permission: environment:roles:manage-settings

Parameters​

NameTypeDescription
config.body*requiredSyntheticBrowserMonitorRequest | SyntheticHttpMonitorRequest | SyntheticMultiProtocolMonitorRequest
config.monitorId*requiredstringThe identifier of the monitor.

Returns​

Return typeStatus codeDescription
void204Success. Response doesn't have a body.

Throws​

Error TypeError Message
ErrorEnvelopeErrorClient side error. | Server side error.

Code example

import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticNetworkAvailabilityMonitorsClient.updateMonitor(
{ monitorId: "..." },
);

syntheticOnDemandMonitorExecutionsClient​

import { syntheticOnDemandMonitorExecutionsClient } from '@dynatrace-sdk/client-classic-environment-v2';

execute​

syntheticOnDemandMonitorExecutionsClient.execute(config): Promise<SyntheticOnDemandExecutionResult>

Triggers on-demand executions for synthetic monitors

Required scope: environment-api:synthetic-execution:write Required permission: environment:roles:viewer

Parameters​

NameType
config.body*requiredSyntheticOnDemandExecutionRequest

Returns​

Return typeStatus codeDescription
SyntheticOnDemandExecutionResult201Success. The monitor's execution response details

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Unavailable | Client side error. | Server side error.

Code example

import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticOnDemandMonitorExecutionsClient.execute({
body: {},
});

getBatch​

syntheticOnDemandMonitorExecutionsClient.getBatch(config): Promise<SyntheticOnDemandBatchStatus>

Gets summary information and the list of failed executions for the given batch ID

Required scope: environment-api:synthetic-execution:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.batchId*requirednumberThe batch identifier of the executions.

Returns​

Return typeStatus codeDescription
SyntheticOnDemandBatchStatus200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Batch with the given ID doesn't exist. | Client side error. | Server side error.

Code example

import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticOnDemandMonitorExecutionsClient.getBatch({
batchId: 10,
});

getExecution​

syntheticOnDemandMonitorExecutionsClient.getExecution(config): Promise<SyntheticOnDemandExecution>

Gets basic results of the specified on-demand execution

Required scope: environment-api:synthetic-execution:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.executionId*requirednumberThe identifier of the on-demand execution.

Returns​

Return typeStatus codeDescription
SyntheticOnDemandExecution200Success. The response contains basic information about the on-demand execution.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Execution with the given ID doesn't exist. | Client side error. | Server side error.

Code example

import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticOnDemandMonitorExecutionsClient.getExecution(
{ executionId: 10 },
);

getExecutionFullReport​

syntheticOnDemandMonitorExecutionsClient.getExecutionFullReport(config): Promise<SyntheticOnDemandExecution>

Gets detailed results of the specified on-demand execution

Required scope: environment-api:synthetic-execution:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.executionId*requirednumberThe identifier of the on-demand execution.

Returns​

Return typeStatus codeDescription
SyntheticOnDemandExecution200Success. The response contains detailed information about the on-demand execution.

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Execution with the given ID doesn't exist. | Client side error. | Server side error.

Code example

import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticOnDemandMonitorExecutionsClient.getExecutionFullReport(
{ executionId: 10 },
);

getExecutions​

syntheticOnDemandMonitorExecutionsClient.getExecutions(config): Promise<SyntheticOnDemandExecutions>

Gets the list of all on-demand executions of synthetic monitors

Required scope: environment-api:synthetic-execution:read Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.batchIdnumberFilters the resulting set of the executions by batch. Specify the ID of the batch.
config.dataDeliveryFromstring

The start of the requested timeframe for data delivering timestamps.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the maximum relative timeframe of six hours is used (now-6h).

config.dataDeliveryTostring

The end of the requested timeframe for data delivering timestamps.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

config.executionFromstring

The start of the requested timeframe for execution timestamps.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the maximum relative timeframe of six hours is used (now-6h).

config.executionStage"TRIGGERED" | "EXECUTED" | "DATA_RETRIEVED"Filters the resulting set of executions by their stage.
config.executionTostring

The end of the requested timeframe for execution timestamps.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

config.locationIdstringFilters the resulting set of the executions by Synthetic location. Specify the ID of the location.
config.monitorIdstringFilters the resulting set of the executions by monitor synthetic monitor. Specify the ID of the monitor.
config.schedulingFromstring

The start of the requested timeframe for scheduling timestamps.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the maximum relative timeframe of six hours is used (now-6h).

config.schedulingTostring

The end of the requested timeframe for scheduling timestamps.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the current timestamp is used.

config.source"API" | "UI"Filters the resulting set of the executions by the source of the triggering request.
config.userIdstringFilters the resulting set of executions by scheduled user.

Returns​

Return typeStatus codeDescription
SyntheticOnDemandExecutions200Success

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Client side error. | Server side error.

Code example

import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticOnDemandMonitorExecutionsClient.getExecutions();

rerun​

syntheticOnDemandMonitorExecutionsClient.rerun(config): Promise<SyntheticOnDemandExecutionResult>

Reruns specified on-demand execution of synthetic monitors

Required scope: environment-api:synthetic-execution:write Required permission: environment:roles:viewer

Parameters​

NameTypeDescription
config.executionId*requirednumberThe identifier of the on-demand execution.

Returns​

Return typeStatus codeDescription
SyntheticOnDemandExecutionResult200Success. The monitor's execution response details

Throws​

Error TypeError Message
ErrorEnvelopeErrorFailed. The input is invalid. | Unavailable | Client side error. | Server side error.

Code example

import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data =
await syntheticOnDemandMonitorExecutionsClient.rerun({
executionId: 10,
});

Types​

AWSKeyBasedCredentialsDto​

A credentials set of the AWS_MONITORING_KEY_BASED type.

NameTypeDescription
accessKeyID*requiredstringAccess Key ID of the credentials set.
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
awsPartition*required"CHINA" | "DEFAULT" | "US_GOV"AWS partition of the credential.
descriptionstringA short description of the credentials set.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

secretKey*requiredstringSecret access key of the credential.
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

AWSRoleBasedCredentials​

A credentials set of the AWS_MONITORING_ROLE_BASED type.

NameTypeDescription
accountID*requiredstringAmazon account ID of the credential.
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
descriptionstringA short description of the credentials set.
iamRole*requiredstringThe IAM role name of the credentials set.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

AbstractCredentialsResponseElement​

Credentials set.

NameTypeDescription
credentialUsageSummary*requiredArray<CredentialUsageHandler>The list contains summary data related to the use of credentials.
description*requiredstringA short description of the credentials set.
externalVaultExternalVaultConfigConfiguration for external vault synchronization for username and password credentials.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
owner*requiredstringThe owner of the credential (user for which used API token was created).
ownerAccessOnly*requiredbooleanFlag indicating that this credential is visible only to the owner.
scope"ALL" | "EXTENSION" | "SYNTHETIC" | "UNKNOWN"The scope of the credentials set.
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD"

Defines the actual set of fields depending on the value. See one of the following objects:

  • USERNAME_PASSWORD -> CredentialsDetailsUsernamePasswordResponseElement
  • CERTIFICATE -> CredentialsDetailsCertificateResponseElement
  • TOKEN -> CredentialsDetailsTokenResponseElement
  • PUBLIC_CERTIFICATE -> CredentialsDetailsCertificateResponseElement

AbstractSloAlertDto​

NameTypeDescription
alertName*requiredstringName of the alert.
alertThreshold*requirednumberThreshold of the alert. Status alerts trigger if they fall below this value, burn rate alerts trigger if they exceed the value.
alertType*required"BURN_RATE" | "STATUS"

Defines the actual set of fields depending on the value. See one of the following objects:

  • BURN_RATE -> BurnRateAlert
  • STATUS -> StatusAlert

AccessorPermissions​

An accessor identity and it's associated permissions.

NameTypeDescription
accessor*requiredIdentityAn Identity describing either a user, a group, or the all-users group (applying to all users).
permissions*requiredArray<"r" | "w">The permissions associated with the accessor.

AccessorPermissionsList​

All configured permissions of an object (excluding owner).

NameType
accessorsArray<AccessorPermissions>

ActiveGate​

Parameters of the ActiveGate.

NameTypeDescription
activeGateTokensArray<null | ActiveGateTokenInfoDto>A list of the ActiveGate tokens.
autoUpdateSettingsnull | ActiveGateAutoUpdateConfigAuto-update configuration for an individual environment ActiveGate.
autoUpdateStatusnull | "UNKNOWN" | "INCOMPATIBLE" | "OUTDATED" | "SCHEDULED" | "SUPPRESSED" | "UP2DATE" | "UPDATE_IN_PROGRESS" | "UPDATE_PENDING" | "UPDATE_PROBLEM"The current status of auto-updates of the ActiveGate.

Example: OUTDATED
connectedHostsnull | ActiveGateConnectedHostsInformation about hosts currently connected to the ActiveGate
containerizednull | booleanActiveGate is deployed in container (true) or not (false).
environmentsArray<null | string>A list of environments (specified by IDs) the ActiveGate can connect to.
fipsModenull | booleanActiveGate is running in FIPS compliant mode (true) or not (false).
groupnull | stringThe group of the ActiveGate.

Example: default
hostnamenull | stringThe name of the host the ActiveGate is running on.

Example: exampleHostname
idnull | stringThe ID of the ActiveGate.

Example: 0x3efdd091
loadBalancerAddressesArray<null | string>A list of Load Balancer addresses of the ActiveGate.
mainEnvironmentnull | stringThe ID of the main environment for a multi-environment ActiveGate.

Example: d1bf4a7e-666b-43af-9f45-718g98372e2f
modulesArray<null | ActiveGateModule>A list of modules of the ActiveGate.
networkAddressesArray<null | string>A list of network addresses of the ActiveGate.
networkZonenull | stringThe network zone of the ActiveGate.

Example: exampleNetworkZone
offlineSincenull | number

The timestamp since when the ActiveGate is offline.

The null value means the ActiveGate is online.



Example: 1582031917814
osArchitecturenull | "S390" | "X86" | "ARM" | "PPCLE"The OS architecture that the ActiveGate is running on.

Example: X86
osBitnessnull | "64"The OS bitness that the ActiveGate is running on.

Example: 64
osTypenull | "LINUX" | "WINDOWS"The OS type that the ActiveGate is running on.

Example: WINDOWS
typenull | "CLUSTER" | "ENVIRONMENT" | "ENVIRONMENT_MULTI"The type of the ActiveGate.

Example: ENVIRONMENT
versionnull | stringThe current version of the ActiveGate in the <major>.<minor>.<revision>.<timestamp> format.

Example: 1.185.0.20200201-120000

ActiveGateAutoUpdateConfig​

Auto-update configuration for an individual environment ActiveGate.

NameTypeDescription
effectiveSettingnull | "ENABLED" | "DISABLED"

The actual state of the ActiveGate auto-update.

Applicable only if the setting parameter is set to INHERITED. In that case, the value is taken from the parent setting. Otherwise, it's just a duplicate of the setting value.



Example: ENABLED
setting*required"ENABLED" | "DISABLED" | "INHERITED"

The state of the environment ActiveGate auto-update: enabled, disabled, or inherited.

If set to INHERITED, the setting is inherited from the global environment ActiveGate auto-update configuration.



Example: INHERITED
targetVersionnull | string

The target version of the ActiveGate.

Specify the version in the <major>.<minor> format (for example 1.343) or latest, previous, or older.



Example: latest
updateWindowsnull | UpdateWindowsConfigBasic information about all configured update windows

ActiveGateConnectedHosts​

Information about hosts currently connected to the ActiveGate

NameTypeDescription
numbernumberThe number of hosts currently connected to the ActiveGate

Example: 150

ActiveGateGlobalAutoUpdateConfig​

Global auto-update configuration for environment ActiveGates. Applies to all environment ActiveGates that have the INHERITED auto-update setting.

NameTypeDescription
globalSetting*required"ENABLED" | "DISABLED"

The state of auto-updates for all environment ActiveGates.

This setting is inherited by all environment ActiveGates that have the INHERITED setting.

metadataConfigurationMetadataMetadata useful for debugging
targetVersionnull | string

Version to update a ActiveGate to when automatic updates are enabled.

Supports relative versions latest, previous and older as well as specific version in <major>.<minor> format (for example 1.261).

Only applicable when the setting parameter is set to ENABLED.



Example: latest
updateWindowsnull | UpdateWindowsConfigBasic information about all configured update windows

ActiveGateGroup​

Information about ActiveGate group.

NameTypeDescription
namestringName of ActiveGate group

Example: default

ActiveGateGroupInfoDto​

Metadata for each ActiveGate group.

NameTypeDescription
activeGates*requiredArray<ActiveGateInfoDto>ActiveGates in group.
availableActiveGates*requirednumberNumber of ActiveGates in group available for extension.
groupName*requiredstringActiveGate group name.

ActiveGateGroups​

The collection of ActiveGate groups.

NameTypeDescription
groupsArray<ActiveGateGroup>List of ActiveGate groups

ActiveGateGroupsInfoDto​

ActiveGate groups metadata for extensions.

NameTypeDescription
activeGateGroups*requiredArray<ActiveGateGroupInfoDto>Metadata for each ActiveGate group.

ActiveGateInfoDto​

ActiveGates in group.

NameTypeDescription
errors*requiredArray<string>List of errors if Extension cannot be run on the ActiveGate
id*requirednumberActiveGate ID.

ActiveGateList​

A list of ActiveGates.

NameTypeDescription
activeGatesArray<ActiveGate>A list of ActiveGates.

ActiveGateModule​

Information about ActiveGate module

NameTypeDescription
attributesActiveGateModuleAttributesThe attributes of the ActiveGate module.
enabledbooleanThe module is enabled (true) or disabled (false).
misconfiguredbooleanThe module is misconfigured (true) or not (false).
type"SYNTHETIC" | "AWS" | "AZURE" | "BEACON_FORWARDER" | "CLOUD_FOUNDRY" | "DB_INSIGHT" | "DEBUGGING" | "EXTENSIONS_V1" | "EXTENSIONS_V2" | "KUBERNETES" | "LOGS" | "MEMORY_DUMPS" | "METRIC_API" | "ONE_AGENT_ROUTING" | "OTLP_INGEST" | "REST_API" | "VMWARE" | "Z_OS"The type of ActiveGate module.

Example: KUBERNETES
versionnull | stringThe version of the ActiveGate module.

ActiveGateModuleAttributes​

The attributes of the ActiveGate module.

type: Record<string, string>

ActiveGateToken​

Metadata of an ActiveGate token.

NameTypeDescription
activeGateType*required"CLUSTER" | "ENVIRONMENT"The type of the ActiveGate for which the token is valid.
creationDate*requiredstringThe token creation date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').

Example: 2020-11-22T08:15:30.144Z
expirationDatestring

The token expiration date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').

If not set, the token never expires.



Example: 2020-11-24T08:15:30.144Z
id*requiredstringThe ActiveGate token identifier, consisting of prefix and public part of the token.

Example: dt0g02.4KWZO5EF
lastUsedDatestringThe token last used date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').

Example: 2020-11-23T08:15:30.144Z
name*requiredstringThe name of the token.

Example: myToken
owner*requiredstringThe owner of the token.

Example: john.smith
seedTokenbooleanThe token is a seed token (true) or an individual token (false).

Example: false

ActiveGateTokenCreate​

Parameters of a new ActiveGate token.

NameTypeDescription
activeGateType*required"CLUSTER" | "ENVIRONMENT"The type of the ActiveGate for which the token is valid.
expirationDatestring

The expiration date of the token.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the token never expires.

Ensure that it is not set in the past and does not exceed 2 years from the moment of creation."



Example: now+6M
name*requiredstringThe name of the token.

Example: myToken
seedTokenboolean

The token is a seed token (true) or an individual token (false).

We recommend the individual token option (false).



Example: false

ActiveGateTokenCreated​

The newly created ActiveGate token.

NameTypeDescription
expirationDatestringThe token expiration date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').

Example: 2020-11-24T08:15:30.144Z
id*requiredstringThe ActiveGate token identifier, consisting of prefix and public part of the token.

Example: dt0g02.4KWZO5EF
token*requiredstringThe secret of the token.

Example: dt0g02.4KWZO5EF.XT47R5DRADJIZUFOX4UDNOKTSUSABGLN7XSMJG7UXHRXKNY4WLORH4OF4T75MG7E

ActiveGateTokenEnforcement​

The status of ActiveGate tokens enforcement.

NameTypeDescription
autoEnforcedbooleanIf true, ActiveGate tokens are enforced automatically.
autoEnforcementEstimationDurationDefines a period of time.
manualEnforcedbooleanIf true, ActiveGate tokens are manually enforced by user.

ActiveGateTokenInfoDto​

Information about ActiveGate token.

NameTypeDescription
environmentIdstring

The environment ID to which the token belongs.

Only available if more than one environment is supported.

idstringThe ActiveGate token identifier, consisting of prefix and public part of the token.

Example: dt0g02.4KWZO5EF
state"UNKNOWN" | "ABSENT" | "EXPIRING" | "INVALID" | "UNSUPPORTED" | "VALID"State of the ActiveGate token.

ActiveGateTokenList​

A list of ActiveGate tokens.

NameTypeDescription
activeGateTokensArray<ActiveGateToken>A list of ActiveGate tokens.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

AdaptiveTrafficManagementDto​

NameType
rootSpansPerMinutenumber

AddEntityTag​

The custom tag to be added to monitored entities.

NameTypeDescription
key*requiredstringThe key of the custom tag to be added to monitored entities.
valuestringThe value of the custom tag to be added to monitored entities. May be null

AddEntityTags​

A list of tags to be added to monitored entities.

NameTypeDescription
tags*requiredArray<AddEntityTag>A list of tags to be added to monitored entities.

AddedEntityTags​

A list of custom tags added to monitored entities.

NameTypeDescription
appliedTagsArray<METag>A list of added custom tags.
matchedEntitiesCountnumberThe number of monitored entities where the tags have been added.

AffectedEntities​

Information about affected entities of an attack.

NameTypeDescription
processGroupAffectedEntityInformation about an affected entity.
processGroupInstanceAffectedEntityInformation about an affected entity.

AffectedEntity​

Information about an affected entity.

NameTypeDescription
idstringThe monitored entity ID of the affected entity.
namestringThe name of the affected entity.

AgentConnectionToken​

Holds the agent connection token.

NameTypeDescription
tokenstringThe agent connection token

Example: dt0a01.1.40f...bd9

AggregatedLog​

Aggregated log records.

NameTypeDescription
aggregationResultAggregatedLogAggregationResultAggregated log records.
warningsstringOptional warning messages.

AggregatedLogAggregationResult​

Aggregated log records.

type: Record<string, object>

AlertTemplateDto​

NameType
templateJsonstring

AlertingProfileStub​

Short representation of the alerting profile.

NameTypeDescription
id*requiredstringThe ID of the alerting profile.
namenull | stringThe name of the alerting profile.

ApiToken​

Metadata of an API token.

NameTypeDescription
additionalMetadataApiTokenAdditionalMetadata

Contains additional properties for specific kinds of token. Examples:

  • A dashboardId property for dashboard sharing tokens.
  • A reportId property for report sharing tokens


Example: {"dashboardId":"82402bab-7370-4359-924d-88ed13c8919a"}
creationDatestringToken creation date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

Example: 2020-11-05T08:15:30.144Z
enabledbooleanThe token is enabled (true) or disabled (false).

Example: true
expirationDatestring

Token expiration date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').

If not set, the token never expires.



Example: 2020-11-12T08:15:30.144Z
idstringThe ID of the token, consisting of prefix and public part of the token.

Example: dt0c01.ST2EY72KQINMH574WMNVI7YN
lastUsedDatestringToken last used date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

Example: 2020-11-12T08:15:30.144Z
lastUsedIpAddressstringToken last used IP address.

Example: 34.197.2.44
modifiedDatestringToken last modified date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z'). Updating scopes or name counts as modification, enabling or disabling a token does not.

Example: 2020-11-12T08:15:30.144Z
namestringThe name of the token.

Example: myToken
ownerstringThe owner of the token.

Example: john.smith
personalAccessTokenbooleanThe token is a personal access token (true) or an API token (false).

Example: true
scopesArray<"ActiveGateCertManagement" | "AdvancedSyntheticIntegration" | "CaptureRequestData" | "DTAQLAccess" | "DataExport" | "DataImport" | "DataPrivacy" | "Davis" | "DiagnosticExport" | "DssFileManagement" | "ExternalSyntheticIntegration" | "InstallerDownload" | "LogExport" | "MemoryDump" | "Mobile" | "PluginUpload" | "ReadConfig" | "ReadSyntheticData" | "RestRequestForwarding" | "RumBrowserExtension" | "RumJavaScriptTagManagement" | "SupportAlert" | "TenantTokenManagement" | "UserSessionAnonymization" | "ViewDashboard" | "ViewReport" | "WriteConfig" | "WriteSyntheticData" | "activeGateTokenManagement.create" | "activeGateTokenManagement.read" | "activeGateTokenManagement.write" | "activeGates.read" | "activeGates.write" | "adaptiveTrafficManagement.read" | "agentTokenManagement.read" | "apiTokens.read" | "apiTokens.write" | "attacks.read" | "attacks.write" | "auditLogs.read" | "bizevents.ingest" | "credentialVault.read" | "credentialVault.write" | "distributedTrace.read" | "entities.read" | "entities.write" | "events.ingest" | "events.read" | "extensionConfigurationActions.write" | "extensionConfigurations.read" | "extensionConfigurations.write" | "extensionDiscoveryJmx.read" | "extensionDiscoveryPmi.read" | "extensionEnvironment.read" | "extensionEnvironment.write" | "extensions.read" | "extensions.write" | "geographicRegions.read" | "hub.install" | "hub.read" | "hub.write" | "javaScriptMappingFiles.read" | "javaScriptMappingFiles.write" | "logs.ingest" | "logs.read" | "metrics.ingest" | "metrics.read" | "metrics.write" | "networkZones.read" | "networkZones.write" | "oneAgents.read" | "oneAgents.write" | "openTelemetryTrace.ingest" | "openpipeline.events" | "openpipeline.events.custom" | "openpipeline.events_data_lineage" | "openpipeline.events_data_lineage.custom" | "openpipeline.events_sdlc" | "openpipeline.events_sdlc.custom" | "openpipeline.events_security" | "openpipeline.events_security.custom" | "openpipeline.events_smartscape" | "problems.read" | "problems.write" | "releases.read" | "rumCookieNames.read" | "rumManualInsertionTags.read" | "securityProblems.read" | "securityProblems.write" | "settings.read" | "settings.write" | "slo.read" | "slo.write" | "syntheticExecutions.read" | "syntheticExecutions.write" | "syntheticLocations.read" | "syntheticLocations.write" | "tenantTokenRotation.write" | "traces.lookup" | "unifiedAnalysis.read">A list of scopes assigned to the token.

ApiTokenCreate​

Parameters of a new API token.

NameTypeDescription
expirationDatestring

The expiration date of the token.

You can use one of the following formats:

  • Timestamp in UTC milliseconds.
  • Human-readable format of 2021-01-25T05:57:01.123+01:00. If no time zone is specified, UTC is used. You can use a space character instead of the T. Seconds and fractions of a second are optional.
  • Relative timeframe, back from now. The format is now-NU/A, where N is the amount of time, U is the unit of time, and A is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, now-1y/w is one year back, aligned by a week. You can also specify relative timeframe without an alignment: now-NU. Supported time units for the relative timeframe are:
    • m: minutes
    • h: hours
    • d: days
    • w: weeks
    • M: months
    • y: years

If not set, the token never expires. Ensure that the expiration date is not set in the past.



Example: now+14d
name*requiredstringThe name of the token.

Example: tokenName
personalAccessTokenboolean

The token is a personal access token (true) or an API token (false).

Personal access tokens are tied to the permissions of their owner.



Example: false
scopes*requiredArray<"ActiveGateCertManagement" | "AdvancedSyntheticIntegration" | "CaptureRequestData" | "DTAQLAccess" | "DataExport" | "DataImport" | "DataPrivacy" | "Davis" | "DssFileManagement" | "ExternalSyntheticIntegration" | "InstallerDownload" | "LogExport" | "PluginUpload" | "ReadConfig" | "ReadSyntheticData" | "RestRequestForwarding" | "RumBrowserExtension" | "RumJavaScriptTagManagement" | "SupportAlert" | "TenantTokenManagement" | "UserSessionAnonymization" | "WriteConfig" | "activeGateTokenManagement.create" | "activeGateTokenManagement.read" | "activeGateTokenManagement.write" | "activeGates.read" | "activeGates.write" | "adaptiveTrafficManagement.read" | "agentTokenManagement.read" | "apiTokens.read" | "apiTokens.write" | "attacks.read" | "attacks.write" | "auditLogs.read" | "bizevents.ingest" | "credentialVault.read" | "credentialVault.write" | "distributedTrace.read" | "entities.read" | "entities.write" | "events.ingest" | "events.read" | "extensionConfigurationActions.write" | "extensionConfigurations.read" | "extensionConfigurations.write" | "extensionDiscoveryJmx.read" | "extensionDiscoveryPmi.read" | "extensionEnvironment.read" | "extensionEnvironment.write" | "extensions.read" | "extensions.write" | "geographicRegions.read" | "hub.install" | "hub.read" | "hub.write" | "javaScriptMappingFiles.read" | "javaScriptMappingFiles.write" | "logs.ingest" | "logs.read" | "metrics.ingest" | "metrics.read" | "metrics.write" | "networkZones.read" | "networkZones.write" | "oneAgents.read" | "oneAgents.write" | "openTelemetryTrace.ingest" | "openpipeline.events" | "openpipeline.events.custom" | "openpipeline.events_data_lineage" | "openpipeline.events_data_lineage.custom" | "openpipeline.events_sdlc" | "openpipeline.events_sdlc.custom" | "openpipeline.events_security" | "openpipeline.events_security.custom" | "openpipeline.events_smartscape" | "problems.read" | "problems.write" | "releases.read" | "rumCookieNames.read" | "rumManualInsertionTags.read" | "securityProblems.read" | "securityProblems.write" | "settings.read" | "settings.write" | "slo.read" | "slo.write" | "syntheticExecutions.read" | "syntheticExecutions.write" | "syntheticLocations.read" | "syntheticLocations.write" | "tenantTokenRotation.write" | "traces.lookup" | "unifiedAnalysis.read">

A list of the scopes to be assigned to the token.

  • InstallerDownload: PaaS integration - Installer download.
  • DataExport: Access problem and event feed, metrics, and topology.
  • PluginUpload: Upload Extension.
  • SupportAlert: PaaS integration - Support alert.
  • AdvancedSyntheticIntegration: Dynatrace module integration - Synthetic Classic.
  • ExternalSyntheticIntegration: Create and read synthetic monitors, locations, and nodes.
  • RumBrowserExtension: RUM Browser Extension.
  • LogExport: Read logs.
  • ReadConfig: Read configuration.
  • WriteConfig: Write configuration.
  • DTAQLAccess: User sessions.
  • UserSessionAnonymization: Anonymize user session data for data privacy reasons.
  • DataPrivacy: Change data privacy settings.
  • CaptureRequestData: Capture request data.
  • Davis: Dynatrace module integration - Davis.
  • DssFileManagement: Mobile symbolication file management.
  • RumJavaScriptTagManagement: Real user monitoring JavaScript tag management.
  • TenantTokenManagement: Token management.
  • ActiveGateCertManagement: ActiveGate certificate management.
  • RestRequestForwarding: Fetch data from a remote environment.
  • ReadSyntheticData: Read synthetic monitors, locations, and nodes.
  • DataImport: Data ingest, e.g.: metrics and events.
  • syntheticExecutions.write: Write synthetic monitor executions.
  • syntheticExecutions.read: Read synthetic monitor execution results.
  • auditLogs.read: Read audit logs.
  • metrics.read: Read metrics.
  • metrics.write: Write metrics.
  • entities.read: Read entities.
  • entities.write: Write entities.
  • problems.read: Read problems.
  • problems.write: Write problems.
  • events.read: Read events.
  • events.ingest: Ingest events.
  • openpipeline.events: OpenPipeline - Ingest Events (Built-in).
  • openpipeline.events.custom: OpenPipeline - Ingest Events (Custom).
  • openpipeline.events_security: OpenPipeline - Ingest Security Events (Built-in).
  • openpipeline.events_security.custom: OpenPipeline - Ingest Security Events (Custom).
  • openpipeline.events_sdlc: OpenPipeline - Ingest Software Development Lifecycle Events (Built-in).
  • openpipeline.events_sdlc.custom: OpenPipeline - Ingest Software Development Lifecycle Events (Custom).
  • openpipeline.events_data_lineage: OpenPipeline - Ingest Data Lineage Events (Built-in).
  • openpipeline.events_data_lineage.custom: OpenPipeline - Ingest Data Lineage Events (Custom).
  • openpipeline.events_smartscape: OpenPipeline - Ingest Smartscape Events (Built-in).
  • bizevents.ingest: Ingest bizevents.
  • networkZones.read: Read network zones.
  • networkZones.write: Write network zones.
  • activeGates.read: Read ActiveGates.
  • activeGates.write: Write ActiveGates.
  • activeGateTokenManagement.read: Read ActiveGate tokens.
  • activeGateTokenManagement.create: Create ActiveGate tokens.
  • activeGateTokenManagement.write: Write ActiveGate tokens.
  • agentTokenManagement.read: Read Agent tokens.
  • credentialVault.read: Read credential vault entries.
  • credentialVault.write: Write credential vault entries.
  • extensions.read: Read extensions.
  • extensions.write: Write extensions.
  • extensionConfigurations.read: Read extension monitoring configurations.
  • extensionConfigurations.write: Write extension monitoring configurations.
  • extensionEnvironment.read: Read extension environment configurations.
  • extensionEnvironment.write: Write extension environment configurations.
  • metrics.ingest: Ingest metrics.
  • attacks.read: Read attacks.
  • attacks.write: Write Application Protection settings.
  • securityProblems.read: Read security problems.
  • securityProblems.write: Write security problems.
  • syntheticLocations.read: Read synthetic locations.
  • syntheticLocations.write: Write synthetic locations.
  • settings.read: Read settings.
  • settings.write: Write settings.
  • tenantTokenRotation.write: Tenant token rotation.
  • slo.read: Read SLO.
  • slo.write: Write SLO.
  • releases.read: Read releases.
  • apiTokens.read: Read API tokens.
  • apiTokens.write: Write API tokens.
  • openTelemetryTrace.ingest: Ingest OpenTelemetry traces.
  • logs.read: Read logs.
  • logs.ingest: Ingest logs.
  • geographicRegions.read: Read Geographic regions.
  • oneAgents.read: Read OneAgents.
  • oneAgents.write: Write OneAgents.
  • traces.lookup: Look up a single trace.
  • distributedTrace.read: Read distributed traces.
  • unifiedAnalysis.read: Read Unified Analysis page.
  • hub.read: Read Hub related data.
  • hub.write: Manage metadata of Hub items.
  • hub.install: Install and update Hub items.
  • javaScriptMappingFiles.read: Read JavaScript mapping files.
  • javaScriptMappingFiles.write: Write JavaScript mapping files.
  • extensionConfigurationActions.write: Actions for extension monitoring configurations.
  • rumCookieNames.read: Read RUM cookie names.
  • adaptiveTrafficManagement.read: Read sampling configuration for Adaptive Traffic Management.
  • rumManualInsertionTags.read: Read RUM manual insertion tags.
  • extensionDiscoveryJmx.read: Read discovered JMX metrics via extensions.
  • extensionDiscoveryPmi.read: Read discovered PMI metrics via extensions.

ApiTokenCreated​

The newly created token.

NameTypeDescription
expirationDatestringThe token expiration date in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').

Example: 2020-11-12T08:15:30.144Z
idstringThe ID of the token, consisting of prefix and public part of the token.

Example: dt0c01.ST2EY72KQINMH574WMNVI7YN
tokenstringThe secret of the token.

Example: dt0c01.ST2EY72KQINMH574WMNVI7YN.G3DFPBEJYMODIDAEX454M7YWBUVEFOWKPRVMWFASS64NFH52PX6BNDVFFM572RZM

ApiTokenList​

A list of API tokens.

NameTypeDescription
apiTokensArray<ApiToken>A list of API tokens.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ApiTokenSecret​

NameTypeDescription
token*requiredstringThe API token.

Example: dt0c01.ST2EY72KQINMH574WMNVI7YN.G3DFPBEJYMODIDAEX454M7YWBUVEFOWKPRVMWFASS64NFH52PX6BNDVFFM572RZM

ApiTokenUpdate​

The update of the API token.

NameTypeDescription
enabledbooleanThe token is enabled (true) or disabled (false)

Example: true
namestringThe name of the token.

Example: myToken
scopesArray<"ActiveGateCertManagement" | "AdvancedSyntheticIntegration" | "CaptureRequestData" | "DTAQLAccess" | "DataExport" | "DataImport" | "DataPrivacy" | "Davis" | "DssFileManagement" | "ExternalSyntheticIntegration" | "InstallerDownload" | "LogExport" | "PluginUpload" | "ReadConfig" | "ReadSyntheticData" | "RestRequestForwarding" | "RumBrowserExtension" | "RumJavaScriptTagManagement" | "SupportAlert" | "TenantTokenManagement" | "UserSessionAnonymization" | "WriteConfig" | "activeGateTokenManagement.create" | "activeGateTokenManagement.read" | "activeGateTokenManagement.write" | "activeGates.read" | "activeGates.write" | "adaptiveTrafficManagement.read" | "agentTokenManagement.read" | "apiTokens.read" | "apiTokens.write" | "attacks.read" | "attacks.write" | "auditLogs.read" | "bizevents.ingest" | "credentialVault.read" | "credentialVault.write" | "distributedTrace.read" | "entities.read" | "entities.write" | "events.ingest" | "events.read" | "extensionConfigurationActions.write" | "extensionConfigurations.read" | "extensionConfigurations.write" | "extensionDiscoveryJmx.read" | "extensionDiscoveryPmi.read" | "extensionEnvironment.read" | "extensionEnvironment.write" | "extensions.read" | "extensions.write" | "geographicRegions.read" | "hub.install" | "hub.read" | "hub.write" | "javaScriptMappingFiles.read" | "javaScriptMappingFiles.write" | "logs.ingest" | "logs.read" | "metrics.ingest" | "metrics.read" | "metrics.write" | "networkZones.read" | "networkZones.write" | "oneAgents.read" | "oneAgents.write" | "openTelemetryTrace.ingest" | "openpipeline.events" | "openpipeline.events.custom" | "openpipeline.events_data_lineage" | "openpipeline.events_data_lineage.custom" | "openpipeline.events_sdlc" | "openpipeline.events_sdlc.custom" | "openpipeline.events_security" | "openpipeline.events_security.custom" | "openpipeline.events_smartscape" | "problems.read" | "problems.write" | "releases.read" | "rumCookieNames.read" | "rumManualInsertionTags.read" | "securityProblems.read" | "securityProblems.write" | "settings.read" | "settings.write" | "slo.read" | "slo.write" | "syntheticExecutions.read" | "syntheticExecutions.write" | "syntheticLocations.read" | "syntheticLocations.write" | "tenantTokenRotation.write" | "traces.lookup" | "unifiedAnalysis.read">

The list of scopes assigned to the token.

Apart from the new scopes, you need to submit the existing scopes you want to keep, too. Any existing scope, missing in the payload, is removed.

  • InstallerDownload: PaaS integration - Installer download.
  • DataExport: Access problem and event feed, metrics, and topology.
  • PluginUpload: Upload Extension.
  • SupportAlert: PaaS integration - Support alert.
  • AdvancedSyntheticIntegration: Dynatrace module integration - Synthetic Classic.
  • ExternalSyntheticIntegration: Create and read synthetic monitors, locations, and nodes.
  • RumBrowserExtension: RUM Browser Extension.
  • LogExport: Read logs.
  • ReadConfig: Read configuration.
  • WriteConfig: Write configuration.
  • DTAQLAccess: User sessions.
  • UserSessionAnonymization: Anonymize user session data for data privacy reasons.
  • DataPrivacy: Change data privacy settings.
  • CaptureRequestData: Capture request data.
  • Davis: Dynatrace module integration - Davis.
  • DssFileManagement: Mobile symbolication file management.
  • RumJavaScriptTagManagement: Real user monitoring JavaScript tag management.
  • TenantTokenManagement: Token management.
  • ActiveGateCertManagement: ActiveGate certificate management.
  • RestRequestForwarding: Fetch data from a remote environment.
  • ReadSyntheticData: Read synthetic monitors, locations, and nodes.
  • DataImport: Data ingest, e.g.: metrics and events.
  • syntheticExecutions.write: Write synthetic monitor executions.
  • syntheticExecutions.read: Read synthetic monitor execution results.
  • auditLogs.read: Read audit logs.
  • metrics.read: Read metrics.
  • metrics.write: Write metrics.
  • entities.read: Read entities.
  • entities.write: Write entities.
  • problems.read: Read problems.
  • problems.write: Write problems.
  • events.read: Read events.
  • events.ingest: Ingest events.
  • openpipeline.events: OpenPipeline - Ingest Events (Built-in).
  • openpipeline.events.custom: OpenPipeline - Ingest Events (Custom).
  • openpipeline.events_security: OpenPipeline - Ingest Security Events (Built-in).
  • openpipeline.events_security.custom: OpenPipeline - Ingest Security Events (Custom).
  • openpipeline.events_sdlc: OpenPipeline - Ingest Software Development Lifecycle Events (Built-in).
  • openpipeline.events_sdlc.custom: OpenPipeline - Ingest Software Development Lifecycle Events (Custom).
  • openpipeline.events_data_lineage: OpenPipeline - Ingest Data Lineage Events (Built-in).
  • openpipeline.events_data_lineage.custom: OpenPipeline - Ingest Data Lineage Events (Custom).
  • openpipeline.events_smartscape: OpenPipeline - Ingest Smartscape Events (Built-in).
  • bizevents.ingest: Ingest bizevents.
  • networkZones.read: Read network zones.
  • networkZones.write: Write network zones.
  • activeGates.read: Read ActiveGates.
  • activeGates.write: Write ActiveGates.
  • activeGateTokenManagement.read: Read ActiveGate tokens.
  • activeGateTokenManagement.create: Create ActiveGate tokens.
  • activeGateTokenManagement.write: Write ActiveGate tokens.
  • agentTokenManagement.read: Read Agent tokens.
  • credentialVault.read: Read credential vault entries.
  • credentialVault.write: Write credential vault entries.
  • extensions.read: Read extensions.
  • extensions.write: Write extensions.
  • extensionConfigurations.read: Read extension monitoring configurations.
  • extensionConfigurations.write: Write extension monitoring configurations.
  • extensionEnvironment.read: Read extension environment configurations.
  • extensionEnvironment.write: Write extension environment configurations.
  • metrics.ingest: Ingest metrics.
  • attacks.read: Read attacks.
  • attacks.write: Write Application Protection settings.
  • securityProblems.read: Read security problems.
  • securityProblems.write: Write security problems.
  • syntheticLocations.read: Read synthetic locations.
  • syntheticLocations.write: Write synthetic locations.
  • settings.read: Read settings.
  • settings.write: Write settings.
  • tenantTokenRotation.write: Tenant token rotation.
  • slo.read: Read SLO.
  • slo.write: Write SLO.
  • releases.read: Read releases.
  • apiTokens.read: Read API tokens.
  • apiTokens.write: Write API tokens.
  • openTelemetryTrace.ingest: Ingest OpenTelemetry traces.
  • logs.read: Read logs.
  • logs.ingest: Ingest logs.
  • geographicRegions.read: Read Geographic regions.
  • oneAgents.read: Read OneAgents.
  • oneAgents.write: Write OneAgents.
  • traces.lookup: Look up a single trace.
  • distributedTrace.read: Read distributed traces.
  • unifiedAnalysis.read: Read Unified Analysis page.
  • hub.read: Read Hub related data.
  • hub.write: Manage metadata of Hub items.
  • hub.install: Install and update Hub items.
  • javaScriptMappingFiles.read: Read JavaScript mapping files.
  • javaScriptMappingFiles.write: Write JavaScript mapping files.
  • extensionConfigurationActions.write: Actions for extension monitoring configurations.
  • rumCookieNames.read: Read RUM cookie names.
  • adaptiveTrafficManagement.read: Read sampling configuration for Adaptive Traffic Management.
  • rumManualInsertionTags.read: Read RUM manual insertion tags.
  • extensionDiscoveryJmx.read: Read discovered JMX metrics via extensions.
  • extensionDiscoveryPmi.read: Read discovered PMI metrics via extensions.

ApplicationImpact​

Analysis of problem impact to an application.

NameTypeDescription
estimatedAffectedUsers*requirednumberThe estimated number of affected users.
impactType*required"APPLICATION" | "CUSTOM_APPLICATION" | "MOBILE" | "SERVICE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact
impactedEntity*requiredEntityStubA short representation of a monitored entity.

AppliedFilter​

Optional filters that took effect.

NameTypeDescription
appliedTo*requiredArray<string>

The keys of all metrics that this filter has been applied to.

Can contain multiple metrics for complex expressions and always at least one key.

filterFilterA dimensional or series filter on a metric.

AssessmentAccuracyDetails​

The assessment accuracy details.

NameTypeDescription
reducedReasonsArray<"LIMITED_AGENT_SUPPORT" | "LIMITED_BY_CONFIGURATION" | "LIMITED_BY_SERVICE_DETECTION_V2">The reasons for a reduced assessment accuracy.

AssetInfo​

Assets types and its count

NameType
assetTypestring
countnumber

AssetInfoDto​

Metadata for an extension asset.

NameTypeDescription
assetSchemaDetailsAssetSchemaDetailsDtoSettings schema details for asset
displayNamestringUser-friendly name of the asset.
idstringID of the asset. Identifies the asset in REST API and/or UI (where applicable).
type"ALERT" | "ALERT_TEMPLATE" | "AWS_SERVICE" | "CUSTOM_CARDS" | "DASHBOARD" | "DECLARATIVE_PROCESSES" | "DOCUMENT_DASHBOARD" | "DOCUMENT_SCREEN" | "DQL_LOG_METRIC" | "DQL_LOG_PROCESSING_RULE" | "EVENT_CORRELATION_RULES" | "GENERIC_RELATIONSHIP" | "GENERIC_TYPE" | "LIST_SCREEN_FILTERS" | "LIST_SCREEN_INJECTIONS" | "LIST_SCREEN_LAYOUT" | "LOG_EVENT" | "LOG_METRIC" | "LOG_PROCESSING_RULE" | "LQL_LOG_METRIC" | "LQL_LOG_PROCESSING_RULE" | "METRIC_METADATA" | "METRIC_QUERY" | "OPEN_PIPELINE" | "PROCESS_GROUPING_RULES" | "SCREEN_ACTIONS" | "SCREEN_CHART_GROUPS" | "SCREEN_DQL_TABLE" | "SCREEN_ENTITIES_LISTS" | "SCREEN_EVENTS_CARDS" | "SCREEN_FILTERS" | "SCREEN_HEALTH_CARDS" | "SCREEN_INJECTIONS" | "SCREEN_LAYOUT" | "SCREEN_LOGS_CARDS" | "SCREEN_MESSAGE_CARDS" | "SCREEN_METRIC_TABLES" | "SCREEN_PROBLEMS" | "SCREEN_PROPERTIES"The type of the asset.

AssetSchemaDetailsDto​

Settings schema details for asset

NameTypeDescription
keystringAsset key
schemaIdstringAsset schema id
scopestringAsset configuration scope

Attack​

Describes an attack.

NameTypeDescription
affectedEntitiesAffectedEntitiesInformation about affected entities of an attack.
attackIdstringThe ID of the attack.
attackTargetAttackTargetInformation about the targeted host/database of an attack.
attackType"COMMAND_INJECTION" | "JNDI_INJECTION" | "SQL_INJECTION" | "SSRF"The type of the attack.
attackerAttackerAttacker of an attack.
displayIdstringThe display ID of the attack.
displayNamestringThe display name of the attack.
entrypointAttackEntrypointDescribes the entrypoint used by an attacker to start a specific attack.
managementZonesArray<ManagementZone>A list of management zones which the affected entities belong to.
requestRequestInformationDescribes the complete request information of an attack.
securityProblemAttackSecurityProblemAssessment information and the ID of a security problem related to an attack.
state"ALLOWLISTED" | "BLOCKED" | "EXPLOITED"The state of the attack.
technology"DOTNET" | "GO" | "JAVA" | "NODE_JS"The technology of the attack.
timestampnumberThe timestamp when the attack occurred.
vulnerabilityVulnerabilityDescribes the exploited vulnerability.

AttackEntrypoint​

Describes the entrypoint used by an attacker to start a specific attack.

NameTypeDescription
codeLocationCodeLocationInformation about a code location.
entrypointFunctionFunctionDefinitionInformation about a function definition.
payloadArray<AttackEntrypointPayloadItem>All relevant payload data that has been sent during the attack.

AttackEntrypointPayloadItem​

A list of values that has possibly been truncated.

NameTypeDescription
truncationInfoTruncationInfoInformation on a possible truncation.
valuesArray<EntrypointPayload>Values of the list.

AttackList​

A list of attacks.

NameTypeDescription
attacksArray<Attack>A list of attacks.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

AttackRequestHeader​

A header element of the attack's request.

NameTypeDescription
namestringThe name of the header element.
valuestringThe value of the header element.

AttackSecurityProblem​

Assessment information and the ID of a security problem related to an attack.

NameTypeDescription
assessmentAttackSecurityProblemAssessmentDtoThe assessment of a security problem related to an attack.
securityProblemIdstringThe security problem ID.

AttackSecurityProblemAssessmentDto​

The assessment of a security problem related to an attack.

NameTypeDescription
dataAssets"NOT_AVAILABLE" | "NOT_DETECTED" | "REACHABLE"The reachability of data assets by the attacked target.
exposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The level of exposure of the attacked target
numberOfReachableDataAssetsnumberThe number of data assets reachable by the attacked target.

AttackTarget​

Information about the targeted host/database of an attack.

NameTypeDescription
entityIdstringThe monitored entity ID of the targeted host/database.
namestringThe name of the targeted host/database.

Attacker​

Attacker of an attack.

NameTypeDescription
locationAttackerLocationLocation of an attacker.
sourceIpstringThe source IP of the attacker.

AttackerLocation​

Location of an attacker.

NameTypeDescription
citystringCity of the attacker.
countrystringThe country of the attacker.
countryCodestringThe country code of the country of the attacker, according to the ISO 3166-1 Alpha-2 standard.

AuditLog​

The audit log of your environment.

NameTypeDescription
auditLogsArray<AuditLogEntry>A list of audit log entries ordered by the creation timestamp.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

AuditLogEntry​

An entry of the audit log.

NameTypeDescription
category*required"TOKEN" | "ACTIVEGATE_TOKEN" | "BUILD_UNIT_V2" | "CONFIG" | "MANUAL_TAGGING_SERVICE" | "TENANT_LIFECYCLE" | "WEB_UI"The category of the recorded operation.
dt.settings.keystringThe key of the affected object of a setting for entries of category CONFIG.
dt.settings.object_idstringThe ID of the affected object of a setting for entries of category CONFIG.
dt.settings.object_summarystringThe value summary for entries of category CONFIG.
dt.settings.schema_idstringThe schema ID or config ID for entries of category CONFIG.
dt.settings.scope_idstringThe persistence scope for entries of category CONFIG, e.g. an ME identifier.

Example: environment
dt.settings.scope_namestringThe display name of the scope for entries of category CONFIG.
entityIdstring

The ID of an entity from the category.

For example, it can be config ID for the CONFIG category or token ID for the TOKEN category.

environmentId*requiredstringThe ID of the Dynatrace environment where the recorded operation occurred.
eventType*required"CREATE" | "DELETE" | "LOGIN" | "LOGOUT" | "REORDER" | "REVOKE" | "TAG_ADD" | "TAG_REMOVE" | "TAG_UPDATE" | "UPDATE"

The type of the recorded operation.

  • LOGIN -> A user logged in
  • LOGOUT -> A user logged out
  • CREATE -> An object was created
  • UPDATE -> An object was updated
  • DELETE -> An object was deleted
  • REVOKE -> An Active Gate token was revoked
  • TAG_ADD -> A manual tag was added
  • TAG_REMOVE -> A manual tag was removed
  • TAG_UPDATE -> A manual tag was updated
  • REMOTE_CONFIGURATION_MANAGEMENT -> A Remote Configuration Management related operation occurred
logId*requiredstringThe ID of the log entry.
messagestringThe logged message.
patchAnyValue

The patch of the recorded operation as the JSON representation.

The format is an enhanced RFC 6902. The patch also carries the previous value in the oldValue field.

success*requiredbooleanThe recorded operation is successful (true) or failed (false).
timestamp*requirednumberThe timestamp of the record creation, in UTC milliseconds.
user*requiredstringThe ID of the user who performed the recorded operation.
userOriginstringThe origin and the IP address of the user.
userType*required"PUBLIC_TOKEN_IDENTIFIER" | "SERVICE_NAME" | "TOKEN_HASH" | "USER_NAME"

The type of the authentication of the user.

  • USER_NAME -> User was logged in the UI
  • TOKEN_HASH -> URL Token or DevOps Token, the hash of the token is logged
  • SERVICE_NAME -> No authenticated user at all, this action was performed by a system service automatically
  • PUBLIC_TOKEN_IDENTIFIER -> API Token, the public token id is logged

AuthenticationDto​

Authentication dto for Browser Monitor step.

NameTypeDescription
authServerAllowlistnull | stringString containing the allowed servers of KERBEROS authentication. Can be defined only for KERBEROS authentication type.
domainnull | stringString containing the KERBEROS authentication domain. Can be defined only for KERBEROS authentication type.
inputType*required"PLAIN" | "SECURE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureAuthenticationDto
  • PLAIN -> PlainAuthenticationDto
type*required"HTTP_AUTHENTICATION" | "KERBEROS" | "WEBFORM"Type of authentication.

AuthorDto​

Extension author

NameTypeDescription
namestringAuthor name

AvailabilityEvidence​

The availability evidence of the problem.

Indicates an entity that has been unavailable during the problem lifespan and that might be related to the root cause.

NameTypeDescription
displayName*requiredstringThe display name of the evidence.
endTime*requirednumberThe end time of the evidence, in UTC milliseconds.
entity*requiredEntityStubA short representation of a monitored entity.
evidenceType*required"AVAILABILITY_EVIDENCE" | "EVENT" | "MAINTENANCE_WINDOW" | "METRIC" | "TRANSACTIONAL"

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
groupingEntityEntityStubA short representation of a monitored entity.
rootCauseRelevant*requiredbooleanThe evidence is (true) or is not (false) a part of the root cause.
startTime*requirednumberThe start time of the evidence, in UTC milliseconds.

AzureClientSecret​

Synchronization credentials with Azure Key Vault using client secret authentication method

NameTypeDescription
clientIdstringClient (application) ID of Azure application in Azure Active Directory which has permission to access secrets in Azure Key Vault.
clientSecretstringClient secret generated for Azure application in Azure Active Directory used for proving identity when requesting a token used later for accessing secrets in Azure Key Vault.
locationForSynchronizationIdstringId of a location used by the synchronizing monitor
passwordSecretNamestringThe name of the secret saved in external vault where password is stored.
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto
tenantIdstringTenant (directory) ID of Azure application in Azure Active Directory which has permission to access secrets in Azure Key Vault.
tokenSecretNamestringThe name of the secret saved in external vault where token is stored.
usernameSecretNamestringThe name of the secret saved in external vault where username is stored.
vaultUrlstringExternal vault URL.

AzureClientSecretConfig​

Configuration for external vault synchronization for username and password credentials.

NameTypeDescription
clientIdstring
clientSecretstring
credentialsUsedForExternalSynchronizationArray<string>
passwordSecretNamestring
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig
tenantIdstring
tokenSecretNamestring
type"AZURE_CERTIFICATE_MODEL" | "AZURE_CLIENT_SECRET_MODEL" | "CYBERARK_VAULT_ALLOWED_LOCATION_MODEL" | "CYBERARK_VAULT_USERNAME_PASSWORD_MODEL" | "HASHICORP_APPROLE_MODEL" | "HASHICORP_CERTIFICATE_MODEL"
usernameSecretNamestring
vaultUrlstring

BMAction​

Contains detailed information about Browser monitor action.

NameTypeDescription
apdexType"UNKNOWN" | "FRUSTRATED" | "SATISFIED" | "TOLERATING"The user experience index of the action.
cdnBusyTimenumberThe time spent waiting for CDN resources for the action, in milliseconds.
cdnResourcesnumberThe number of resources fetched from a CDN for the action.
clientTimenumberThe event startTime in client time, in milliseconds.
cumulativeLayoutShiftnumberCumulative layout shift: Available for Chromium-based browsers. Measured using Google-provided APIs.
customErrorCountnumberThe total number of custom errors during the action.
documentInteractiveTimenumberThe amount of time spent until the document for the action became interactive, in milliseconds.
domCompleteTimenumberThe amount of time until the DOM tree is completed, in milliseconds.
domContentLoadedTimenumberThe amount of time until the DOM tree is loaded, in milliseconds.
domainstringThe DNS domain where the action has been recorded
durationnumberThe duration of the action, in milliseconds
endTimenumberThe stop time of the action on the server, in UTC milliseconds
entryActionboolean
exitActionboolean
firstInputDelaynumberThe first input delay (FID) is the time (in milliseconds) that the browser took to respond to the first user input.
firstPartyBusyTimenumberThe time spent waiting for resources from the originating server for the action, in milliseconds.
firstPartyResourcesnumberThe number of resources fetched from the originating server for the action.
frontendTimenumberThe amount of time spent on the frontend rendering for the action, in milliseconds.
javascriptErrorCountnumberThe total number of Javascript errors during the action.
largestContentfulPaintnumberThe largest contentful paint (LCP) is the time (in milliseconds) that the largest element on the page took to render.
loadEventEndnumberThe amount of time until the load event ended, in milliseconds.
loadEventStartnumberThe amount of time until the load event started, in milliseconds.
monitorType*required"BROWSER" | "HTTP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • BROWSER -> BMAction
  • HTTP -> MonitorRequestExecutionResult
namestringThe name of the action.
navigationStartTimenumberThe timestamp of the navigation start, in UTC milliseconds.
networkTimenumberThe amount of time spent on the data transfer for the action, in milliseconds.
referrerstringThe referrer.
requestErrorCountnumberThe total number of request errors during the action.
requestStartnumberThe amount of time until the request started, in milliseconds.
responseEndnumberThe amount of time until the response ended, in milliseconds.
responseStartnumberThe amount of time until the response started, in milliseconds.
serverTimenumberThe amount of time spent on the server-side processing for the action, in milliseconds.
speedIndexnumberA score indicating how quickly the page content is visually populated. A low speed index means that most parts of a page are rendering quickly.
startSequenceNumbernumberThe sequence number of the action (to get a kind of order).
startTimenumberThe start time of the action on the server, in in UTC milliseconds.
targetUrlstringThe URL of the action.
thirdPartyBusyTimenumberThe time spent waiting for third party resources for the action, in milliseconds.
thirdPartyResourcesnumberThe number of third party resources loaded for the action.
totalBlockingTimenumberThe time between the moment when the browser receives a request to download a resource and the time that it actually starts downloading the resource in ms.
type"Custom" | "EndVisit" | "Error" | "Load" | "RageClick" | "StandaloneAgentEvent" | "StandaloneHttpError" | "SyntheticHiddenAction" | "UserSessionProperties" | "ViewChangeEvent" | "VisitTag" | "Xhr"The type of the action.
userActionPropertyCountnumberThe total number of properties in the action.
visuallyCompleteTimenumberThe amount of time until the page is visually complete, in milliseconds.

BaseWaitConditionDto​

Wait condition for Browser Monitor step.

NameTypeDescription
type*required"NETWORK" | "NEXT_EVENT" | "PAGE_COMPLETE" | "TIME" | "USER_ACTIONS" | "VALIDATION"

Defines the actual set of fields depending on the value. See one of the following objects:

  • TIME -> TimeWaitConditionDto
  • VALIDATION -> ValidationWaitConditionDto
  • PAGE_COMPLETE -> BaseWaitConditionDto
  • NETWORK -> BaseWaitConditionDto
  • NEXT_EVENT -> BaseWaitConditionDto
  • USER_ACTIONS -> BaseWaitConditionDto

BizEventIngestError​

NameType
idstring
indexnumber
messagestring
sourcestring

BizEventIngestResult​

Result received after ingesting business events.

NameTypeDescription
errorsArray<null | BizEventIngestError>A list of business events ingest errors.

BrowserPermissionsDto​

Permissions settings for browser.

NameTypeDescription
cameranull | booleanCamera permission. If not defined in request, it will be set to false by default.
locationnull | booleanLocation permission. If not defined in request, it will be set to false by default.
microphonenull | booleanMicrophone permission. If not defined in request, it will be set to false by default.
notificationsnull | booleanNotifications permission. If not defined in request, it will be set to false by default.

BurnRateAlert​

Parameters of an error budget burn rate alert.

NameTypeDescription
alertName*requiredstringName of the alert.
alertThreshold*requirednumberThreshold of the alert. Status alerts trigger if they fall below this value, burn rate alerts trigger if they exceed the value.
alertType*required"BURN_RATE" | "STATUS"

Defines the actual set of fields depending on the value. See one of the following objects:

  • BURN_RATE -> BurnRateAlert
  • STATUS -> StatusAlert

CertificateCredentials​

A credentials set of the CERTIFICATE type.

NameTypeDescription
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
certificate*requiredstringString containing the certificate file bytes encoded in Base64 without carriage return.
certificateFormat*required"UNKNOWN" | "PEM" | "PKCS12"The certificate format. Use PEM for PEM certificates and PKCS12 for PFX and P12 certificates.
descriptionstringA short description of the credentials set.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
password*requiredstringThe password of the credential encoded in Base64. Must be empty for PEM certificates.
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

ChromiumStartupFlagsDto​

Chromium startup flags of a Browser Monitor.

NameTypeDescription
autoplay-policynull | "no-user-gesture-required" | "document-user-activation-required"autoplay-policy type.
disable-featuresnull | ChromiumStartupFlagsDtoDisableFeaturesdisable-features map
disable-site-isolation-trialsnull | booleandisable-site-isolation-trials flag.
disable-web-securitynull | booleandisable-web-security flag. If no value is passed, it will be set to false by default.
host-resolver-rulesnull | stringhost-resolver-rules.
ignore-certificate-errorsnull | booleanignore-certificate-errors flag.
ssl-version-maxnull | stringssl-version-max.
ssl-version-minnull | stringssl-version-min.
test-typenull | booleantest-type flag.

ChromiumStartupFlagsDtoDisableFeatures​

disable-features map

type: Record<string, boolean | null>

ClientCertificateDto​

Client certificate.

NameTypeDescription
credentialId*requiredstringCertificate CV id.
domain*requiredstringDomain certificate will be applied to.

CloudEvent​

CloudEvents is a specification for describing event data in common formats to provide interoperability across services, platforms and systems.

NameTypeDescription
dataRecord<string | any>
data_base64string
datacontenttypestring
dataschemastring
dtcontextstringDynatrace context
id*requiredstring
source*requiredstring
specversion*requiredstring
subjectstring
timeDate
traceparentstringTrace related to this event. See distributed tracing for further information.
type*requiredstring

CodeLevelVulnerabilityDetails​

The details of a code-level vulnerability.

NameTypeDescription
processGroupIdsArray<string>The list of encoded MEIdentifier of the process groups.
processGroupsArray<string>The list of affected process groups.
shortVulnerabilityLocationstringThe code location of the vulnerability without package and parameter.
type"SQL_INJECTION" | "SSRF" | "CMD_INJECTION" | "IMPROPER_INPUT_VALIDATION"The type of code level vulnerability.
vulnerabilityLocationstringThe code location of the vulnerability.
vulnerableFunctionstringThe vulnerable function of the vulnerability.
vulnerableFunctionInputVulnerableFunctionInputDescribes what got passed into the code level vulnerability.

CodeLocation​

Information about a code location.

NameTypeDescription
classNamestringThe fully qualified class name of the code location.
columnNumbernumberThe column number of the code location.
displayNamestringA human readable string representation of the code location.
fileNamestringThe file name of the code location.
functionNamestringThe function/method name of the code location.
lineNumbernumberThe line number of the code location.
parameterTypesTruncatableListStringA list of values that has possibly been truncated.
returnTypestringThe return type of the function.

Comment​

The comment to a problem.

NameTypeDescription
authorNamestringThe user who wrote the comment.
contentstringThe text of the comment.
contextstringThe context of the comment.
createdAtTimestamp*requirednumberThe timestamp of comment creation, in UTC milliseconds.
idstringThe ID of the comment.

CommentRequestDtoImpl​

NameTypeDescription
contextstringThe context of the comment.
message*requiredstringThe text of the comment.

CommentsList​

A list of comments.

NameTypeDescription
comments*requiredArray<Comment>The result entries.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ComplexConstraint​

A constraint on the values accepted for a complex settings property.

NameTypeDescription
checkAllPropertiesbooleanDefines if modification of any property triggers secret resubmission check.

Example: false
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.

Example: my-min-max
maximumPropertyCountnumberThe maximum number of properties that can be set.

Example: 2
minimumPropertyCountnumberThe minimum number of properties that must be set.

Example: 1
propertiesArray<string>A list of properties (defined by IDs) that are used to check the constraint.
skipAsyncValidationbooleanWhether to skip validation on a change made from the UI.

Example: false
timeoutnumberThe maximum time in seconds the custom validator is allowed to run.

Example: 5
type*required"UNKNOWN" | "CUSTOM_VALIDATOR_REF" | "GREATER_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN" | "LESS_THAN_OR_EQUAL" | "PROPERTY_COUNT_RANGE" | "SECRET_RESUBMISSION"The type of the constraint.

ConfigurationMetadata​

Metadata useful for debugging

NameTypeDescription
clusterVersionstringDynatrace version.

Example: 1.192.1
configurationVersionsArray<number>A sorted list of the version numbers of the configuration.

Example: [4,2]
currentConfigurationVersionsArray<string>A sorted list of version numbers of the configuration.

Example: ["1.0.4","1.23"]

Constraint​

A constraint on the values accepted for a settings property.

NameTypeDescription
customMessagestringA custom message for invalid values.

Example: customConstraintMessage
customValidatorIdstringThe ID of a custom validator.

Example: my-min-max
disallowDangerousRegexbooleanWhether to disallow usage of dangerous regexes

Example: true
maxLengthnumberThe maximum allowed length of string values.

Example: 20
maximumnumberThe maximum allowed value.

Example: 200
minLengthnumberThe minimum required length of string values.

Example: 7
minimumnumberThe minimum allowed value.

Example: 3
patternstringThe regular expression pattern for valid string values.

Example: ^([a-z]|[0-9]|-|_|+|.)+@([a-z]|[0-9]|-){2,}.([a-z]|[0-9]|-){2,}(.[a-z]{2,})?$
skipAsyncValidationbooleanWhether to skip validation on a change made from the UI.

Example: false
timeoutnumberThe maximum time in seconds the custom validator is allowed to run.

Example: 5
type*required"UNKNOWN" | "CUSTOM_VALIDATOR_REF" | "LENGTH" | "NOT_BLANK" | "NOT_EMPTY" | "NO_WHITESPACE" | "PATTERN" | "RANGE" | "REGEX" | "TRIMMED" | "UNIQUE"The type of the constraint.

Example: UNKNOWN
uniquePropertiesArray<string>A list of properties for which the combination of values must be unique.

Example: ["my-prop-1","my-prop-2"]

ConstraintViolation​

A list of constraint violations

NameType
locationstring
messagestring
parameterLocation"HEADER" | "PATH" | "PAYLOAD_BODY" | "QUERY"
pathstring

ContainerImageComponent​

Information about component type and images registry URI.

NameTypeDescription
imageUristringRegistry URI of the container image component.
type"activegate" | "codemodules" | "database-datasource-executor" | "sql-extension-executor" | "dynatrace-sql-extension-executor" | "eec" | "logmodule" | "oneagent" | "ncc" | "otel-collector" | "target-allocator" | "edge-connect"Container image component type.

ContainerImageData​

Information about images registry and components with URI.

NameTypeDescription
componentsArray<ContainerImageComponent>List of container image components.
registrystringRegistry name containing container images.

CookieStepDto​

Cookie step of Browser Monitor.

NameTypeDescription
cookies*requiredArray<null | SyntheticMonitorCookieDto>Field containing the list of cookies.
entityIdnull | stringEntity Id.
name*requiredstringThe name of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto

CredentialAccessData​

The set of entities allowed to use the credential.

NameType
idstring
type"UNKNOWN" | "APPLICATION" | "USER"

CredentialUsageHandler​

Keeps information about credential's usage.

NameTypeDescription
countnumberThe number of uses.
typestringType of usage.

Credentials​

A set of credentials for synthetic monitors.

The actual set of fields depends on the type of credentials. Find the list of actual objects in the description of the type field or see Credential vault API - JSON models.

NameTypeDescription
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
descriptionstringA short description of the credentials set.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

CredentialsDetailsCertificateResponseElement​

Details of certificate credentials set.

NameTypeDescription
certificatestringBase64 encoded certificate bytes
certificateTypestringCertificate type: PEM, PKCS12 or UNKNOWN
credentialUsageSummary*requiredArray<CredentialUsageHandler>The list contains summary data related to the use of credentials.
description*requiredstringA short description of the credentials set.
externalVaultExternalVaultConfigConfiguration for external vault synchronization for username and password credentials.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
owner*requiredstringThe owner of the credential (user for which used API token was created).
ownerAccessOnly*requiredbooleanFlag indicating that this credential is visible only to the owner.
passwordstringBase64 encoded password
scope"ALL" | "EXTENSION" | "SYNTHETIC" | "UNKNOWN"The scope of the credentials set.
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD"

Defines the actual set of fields depending on the value. See one of the following objects:

  • USERNAME_PASSWORD -> CredentialsDetailsUsernamePasswordResponseElement
  • CERTIFICATE -> CredentialsDetailsCertificateResponseElement
  • TOKEN -> CredentialsDetailsTokenResponseElement
  • PUBLIC_CERTIFICATE -> CredentialsDetailsCertificateResponseElement

CredentialsDetailsList​

A list of detailed credentials sets for Synthetic monitors.

NameTypeDescription
allowPlaybackWithPrefilledCredentialsboolean
credentials*requiredArray<AbstractCredentialsResponseElement>A list of credentials sets for Synthetic monitors.

CredentialsDetailsTokenResponseElement​

Details of the token credentials set.

NameTypeDescription
credentialUsageSummary*requiredArray<CredentialUsageHandler>The list contains summary data related to the use of credentials.
description*requiredstringA short description of the credentials set.
externalVaultExternalVaultConfigConfiguration for external vault synchronization for username and password credentials.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
owner*requiredstringThe owner of the credential (user for which used API token was created).
ownerAccessOnly*requiredbooleanFlag indicating that this credential is visible only to the owner.
scope"ALL" | "EXTENSION" | "SYNTHETIC" | "UNKNOWN"The scope of the credentials set.
tokenstringPlain text token value
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD"

Defines the actual set of fields depending on the value. See one of the following objects:

  • USERNAME_PASSWORD -> CredentialsDetailsUsernamePasswordResponseElement
  • CERTIFICATE -> CredentialsDetailsCertificateResponseElement
  • TOKEN -> CredentialsDetailsTokenResponseElement
  • PUBLIC_CERTIFICATE -> CredentialsDetailsCertificateResponseElement

CredentialsDetailsUsernamePasswordResponseElement​

Details of username and password credentials set.

NameTypeDescription
credentialUsageSummary*requiredArray<CredentialUsageHandler>The list contains summary data related to the use of credentials.
description*requiredstringA short description of the credentials set.
externalVaultExternalVaultConfigConfiguration for external vault synchronization for username and password credentials.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
owner*requiredstringThe owner of the credential (user for which used API token was created).
ownerAccessOnly*requiredbooleanFlag indicating that this credential is visible only to the owner.
passwordstringPlain text password value
scope"ALL" | "EXTENSION" | "SYNTHETIC" | "UNKNOWN"The scope of the credentials set.
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD"

Defines the actual set of fields depending on the value. See one of the following objects:

  • USERNAME_PASSWORD -> CredentialsDetailsUsernamePasswordResponseElement
  • CERTIFICATE -> CredentialsDetailsCertificateResponseElement
  • TOKEN -> CredentialsDetailsTokenResponseElement
  • PUBLIC_CERTIFICATE -> CredentialsDetailsCertificateResponseElement
usernamestringPlain text username value

CredentialsId​

A short representation of the credentials set.

NameTypeDescription
id*requiredstringThe ID of the credentials set.

CredentialsList​

A list of credentials sets for Synthetic monitors.

NameTypeDescription
credentials*requiredArray<CredentialsResponseElement>A list of credentials sets for Synthetic monitors.
nextPageKeystring
pageSizenumber
totalCountnumber

CredentialsResponseElement​

Metadata of the credentials set.

NameTypeDescription
allowContextlessRequestsbooleanAllow access without app context, for example, from ad hoc functions in Workflows (requires the APP_ENGINE scope).
allowedEntities*requiredArray<CredentialAccessData>The set of entities allowed to use the credential.
credentialUsageSummary*requiredArray<CredentialUsageHandler>The list contains summary data related to the use of credentials.
description*requiredstringA short description of the credentials set.
externalVaultExternalVaultConfigConfiguration for external vault synchronization for username and password credentials.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
owner*requiredstringThe owner of the credential (user for which used API token was created).
ownerAccessOnly*requiredbooleanFlag indicating that this credential is visible only to the owner.
scope"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopesArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">The set of scopes of the credentials set.
type*required"UNKNOWN" | "CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"The type of the credentials set.

CustomApplicationImpact​

Analysis of problem impact to a custom application.

NameTypeDescription
estimatedAffectedUsers*requirednumberThe estimated number of affected users.
impactType*required"APPLICATION" | "CUSTOM_APPLICATION" | "MOBILE" | "SERVICE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact
impactedEntity*requiredEntityStubA short representation of a monitored entity.

CustomDeviceCreation​

Configuration of a custom device.

NameTypeDescription
configUrlstringThe URL of a configuration web page for the custom device, such as a login page for a firewall or router.
customDeviceId*requiredstring

The internal ID of the custom device.

If you use the ID of an existing device, the respective parameters will be updated.

displayName*requiredstringThe name of the custom device to be displayed in the user interface.
dnsNamesArray<string>

The list of DNS names related to the custom device.

These names are used to automatically discover the horizontal communication relationship between this component and all other observed components within Smartscape. Once a connection is discovered, it is automatically mapped and shown within Smartscape.

Non-public DNS addresses can also be mapped internally. This is applicable only if the domain name consists of at least two parts, for example hostname.xyz.

If you send a value, the existing values will be overwritten.

If you send null or an empty value; or omit this field, the existing values will be kept.

faviconUrlstringThe icon to be displayed for your custom component within Smartscape. Provide the full URL of the icon file.
groupstring

User defined group ID of entity.

The group ID helps to keep a consistent picture of device-group relations. One of many cases where a proper group is important is service detection: you can define which custom devices should lead to the same service by defining the same group ID for them.

If you set a group ID, it will be hashed into the Dynatrace entity ID of the custom device. In that case the custom device can only be part of one custom device group.

If you don't set the group ID, Dynatrace will create it based on the ID or type of the custom device. Also, the group will not be hashed into the device ID which means the device may switch groups.

ipAddressesArray<string>

The list of IP addresses that belong to the custom device.

These addresses are used to automatically discover the horizontal communication relationship between this component and all other observed components within Smartscape. Once a connection is discovered, it is automatically mapped and shown within Smartscape.

If you send a value (including an empty value), the existing values will be overwritten.

If you send null or omit this field, the existing values will be kept.

listenPortsArray<number>

The list of ports the custom devices listens to.

These ports are used to discover the horizontal communication relationship between this component and all other observed components within Smartscape.

Once a connection is discovered, it is automatically mapped and shown within Smartscape.

If ports are specified, you should also add at least one IP address or a DNS name for the custom device.

If you send a value, the existing values will be overwritten.

If you send null, or an empty value, or omit this field, the existing values will be kept.

propertiesCustomDeviceCreationPropertiesThe list of key-value pair properties that will be shown beneath the infographics of your custom device.
typestring

The technology type definition of the custom device.

It must be the same technology type of the metric you're reporting.

If you send a value, the existing value will be overwritten.

If you send null, empty or omit this field, the existing value will be kept.

CustomDeviceCreationProperties​

The list of key-value pair properties that will be shown beneath the infographics of your custom device.

type: Record<string, string>

CustomDeviceCreationResult​

The short representation of a newly created custom device.

NameTypeDescription
entityIdstringThe Dynatrace entity ID of the custom device.
groupIdstringThe Dynatrace entity ID of the custom device group.

CustomEntityTags​

A list of custom tags.

NameTypeDescription
tags*requiredArray<METag>A list of custom tags.
totalCountnumberThe total number of tags in the response.

CustomLogLine​

A custom script log line

NameTypeDescription
logLevelstringLog level of the message
messagestringThe message
timestampnumberA timestamp of this log message

CyberArkAllowedLocationConfig​

Configuration for external vault synchronization for username and password credentials.

NameTypeDescription
accountNamestring
applicationIdstring
certificatestring
credentialsUsedForExternalSynchronizationArray<string>
folderNamestring
passwordSecretNamestring
safeNamestring
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig
tokenSecretNamestring
type"AZURE_CERTIFICATE_MODEL" | "AZURE_CLIENT_SECRET_MODEL" | "CYBERARK_VAULT_ALLOWED_LOCATION_MODEL" | "CYBERARK_VAULT_USERNAME_PASSWORD_MODEL" | "HASHICORP_APPROLE_MODEL" | "HASHICORP_CERTIFICATE_MODEL"
usernameSecretNamestring
vaultUrlstring

CyberArkAllowedLocationDto​

Synchronization credentials with CyberArk Vault using allowed machines (location) authentication method.

NameTypeDescription
accountName*requiredstringAccount name that stores the username and password to retrieve and synchronize with the Dynatrace Credential Vault: This is NOT the name of the account logged into the CyberArk Central Credential Provider.
applicationId*requiredstringApplication ID connected to CyberArk Vault.
certificatenull | string[Recommended] Certificate used for authentication to CyberArk application. ID of certificate credential saved in Dynatrace CV.
folderNamenull | string[Optional] Folder name where credentials in CyberArk Vault are stored. Default folder name is 'Root'.
locationForSynchronizationIdstringId of a location used by the synchronizing monitor
passwordSecretNamestringThe name of the secret saved in external vault where password is stored.
safeName*requiredstringSafe name connected to CyberArk Vault.
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto
tokenSecretNamestringThe name of the secret saved in external vault where token is stored.
usernameSecretNamestringThe name of the secret saved in external vault where username is stored.
vaultUrlstringExternal vault URL.

CyberArkUsernamePassword​

Synchronization credentials with CyberArk Vault using username password authentication method.

NameTypeDescription
accountName*requiredstringAccount name that stores the username and password to retrieve and synchronize with the Dynatrace Credential Vault: This is NOT the name of the account logged into the CyberArk Central Credential Provider.
applicationId*requiredstringApplication ID connected to CyberArk Vault.
certificatenull | string[Recommended] Certificate used for authentication to CyberArk application. ID of certificate credential saved in Dynatrace CV.
folderNamenull | string[Optional] Folder name where credentials in CyberArk Vault are stored. Default folder name is 'Root'.
locationForSynchronizationIdstringId of a location used by the synchronizing monitor
passwordSecretNamestringThe name of the secret saved in external vault where password is stored.
safeName*requiredstringSafe name connected to CyberArk Vault.
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto
tokenSecretNamestringThe name of the secret saved in external vault where token is stored.
usernamePasswordForCPM*requiredstringDynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
usernameSecretNamestringThe name of the secret saved in external vault where username is stored.
vaultUrlstringExternal vault URL.

CyberArkUsernamePasswordConfig​

Configuration for external vault synchronization for username and password credentials.

NameTypeDescription
accountNamestring
applicationIdstring
certificatestring
credentialsUsedForExternalSynchronizationArray<string>
folderNamestring
passwordSecretNamestring
safeNamestring
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig
tokenSecretNamestring
type"AZURE_CERTIFICATE_MODEL" | "AZURE_CLIENT_SECRET_MODEL" | "CYBERARK_VAULT_ALLOWED_LOCATION_MODEL" | "CYBERARK_VAULT_USERNAME_PASSWORD_MODEL" | "HASHICORP_APPROLE_MODEL" | "HASHICORP_CERTIFICATE_MODEL"
usernamePasswordForCPMstring
usernameSecretNamestring
vaultUrlstring

DatasourceDefinition​

Configuration of a datasource for a property.

NameTypeDescription
filterProperties*requiredArray<string>The properties to filter the datasource options on.
fullContext*requiredbooleanWhether this datasource expects full setting payload as the context.
identifier*requiredstringThe identifier of a custom data source of the property's value.
resetValue"ALWAYS" | "INVALID_ONLY" | "NEVER"When to reset datasource value in the UI on filter change.
useApiSearch*requiredbooleanIf true, the datasource should use the api to filter the results instead of client-side filtering.
validate*requiredbooleanWhether to validate input to only allow values returned by the datasource.

DavisSecurityAdvice​

Security advice from the Davis security advisor.

NameTypeDescription
adviceType"UPGRADE"The type of the advice.
criticalArray<string>IDs of critical level security problems caused by vulnerable component.
highArray<string>IDs of high level security problems caused by vulnerable component.
lowArray<string>IDs of low level security problems caused by vulnerable component.
mediumArray<string>IDs of medium level security problems caused by vulnerable component.
namestringThe name of the advice.
noneArray<string>IDs of none level security problems caused by vulnerable component.
technology"KUBERNETES" | "DOTNET" | "GO" | "JAVA" | "NODE_JS" | "PHP" | "PYTHON"The technology of the vulnerable component.
vulnerableComponentstringThe vulnerable component to which advice applies.

DavisSecurityAdviceList​

A list of advice from the Davis security advisor.

NameTypeDescription
advicesArray<DavisSecurityAdvice>
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

DeletedEntityTags​

Deleted custom tag.

NameTypeDescription
matchedEntitiesCountnumberThe number of monitored entities where the tag has been deleted.

DeletionConstraint​

A constraint on the values that are going to be deleted.

NameTypeDescription
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.

Example: my-min-max
schemaIdsArray<string>
timeoutnumberThe maximum time in seconds the custom validator is allowed to run.

Example: 5
type*required"UNKNOWN" | "CUSTOM_VALIDATOR_REF" | "REFERENTIAL_INTEGRITY"The type of the deletion constraint.

Duration​

Defines a period of time.

NameTypeDescription
unit"DAYS" | "HOURS" | "MILLIS" | "MINUTES" | "SECONDS"

The unit of time.

If not set, millisecond is used.

value*requirednumberThe amount of time.

EffectivePermission​

NameTypeDescription
contextPermissionContextOptional context data
granted*required"condition" | "false" | "true"
permission*requiredstringExample: settings:objects:write

EffectiveSettingsValue​

An effective settings value.

NameTypeDescription
authorstringThe user (identified by a user ID or a public token ID) who performed that most recent modification.

Example: john.doe@example.com
creatednumberThe timestamp of the creation.
externalIdstringThe external identifier of the settings object.
modifiednumberThe timestamp of the last modification.
originstringThe origin of the settings value.

Example: HOST-D3A3C5A146830A79
schemaIdstringThe schema on which the object is based.

Example: builtin:container.built-in-monitoring-rule
schemaVersionstringThe version of the schema on which the object is based.

Example: 1.0.0
searchSummarystringA searchable summary string of the setting value. Plain text without Markdown.
summarystringA short summary of settings. This can contain Markdown and will be escaped accordingly.
valueAnyValue

The value of the setting.

It defines the actual values of settings' parameters.

The actual content depends on the object's schema.



Example: {"autoMonitoring":true}

EffectiveSettingsValuesList​

A list of effective settings values.

NameTypeDescription
items*requiredArray<EffectiveSettingsValue>A list of effective settings values.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSize*requirednumberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

EnablementDto​

Browser monitor enablement settings.

NameTypeDescription
enableOnGrail*requiredbooleanEnable 3rd gen JS agent reporting. Relevant only for grail-enabled SaaS environments.
origin"UNKNOWN" | "DEFAULT" | "MONITOR" | "TENANT"Indicates the origin of these settings.

EnrichedManagementZoneDto​

NameTypeDescription
idstringThe ID of the management zone.
namenull | stringThe name of the management zone.
sourceSettingnull | stringThe path to the settings object in the Settings API.

EnrichedTagDto​

NameTypeDescription
contextnull | string

The origin of the tag, such as AWS or Cloud Foundry.

Custom tags use the CONTEXTLESS value.

keystringThe key of the tag.
sourcenull | string

The source where the tag comes from. Possible values are:

  • Auto tags
  • Environment tags
  • User provided tags
sourceSettingnull | stringThe path to the settings object in the Settings API. Only available for tags with the Auto tags source.
stringRepresentationstringThe string representation of the tag.
valuenull | stringThe value of the tag.

EntitiesList​

A list of monitored entities along with their properties.

NameTypeDescription
entitiesArray<Entity>A list of monitored entities.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

Entity​

The properties of a monitored entity.

NameTypeDescription
displayNamestringThe name of the entity, displayed in the UI.
entityIdstringThe ID of the entity.
firstSeenTmsnull | numberThe timestamp at which the entity was first seen, in UTC milliseconds.
fromRelationshipsnull | EntityFromRelationshipsA list of relationships where the entity occupies the FROM position.
iconnull | EntityIconThe icon of a monitored entity.
lastSeenTmsnull | numberThe timestamp at which the entity was last seen, in UTC milliseconds.
managementZonesArray<null | EnrichedManagementZoneDto>A set of management zones to which the entity belongs.
propertiesnull | EntityPropertiesA list of additional properties of the entity.
tagsArray<null | EnrichedTagDto>A set of tags assigned to the entity.
toRelationshipsnull | EntityToRelationshipsA list of relationships where the entity occupies the TO position.
typestringThe type of the entity.

EntityFromRelationships​

A list of relationships where the entity occupies the FROM position.

type: Record<string, EntityId[] | null>

EntityIcon​

The icon of a monitored entity.

NameTypeDescription
customIconPathnull | string

The user-defined icon of the entity.

Specify the barista ID of the icon or a URL of your own icon.

primaryIconTypestring

The primary icon of the entity.

Specified by the barista ID of the icon.

secondaryIconTypenull | string

The secondary icon of the entity.

Specified by the barista ID of the icon.

EntityId​

A short representation of a monitored entity.

NameTypeDescription
idstringThe ID of the entity.
typestringThe type of the entity.

EntityProperties​

A list of additional properties of the entity.

type: Record<string, any>

EntityShortRepresentation​

The short representation of a Dynatrace entity.

NameTypeDescription
descriptionstringA short description of the Dynatrace entity.
id*requiredstringThe ID of the Dynatrace entity.
namestringThe name of the Dynatrace entity.

EntityStub​

A short representation of a monitored entity.

NameTypeDescription
entityIdEntityIdA short representation of a monitored entity.
namenull | string

The name of the entity.

Not included in the response in case no entity with the relevant ID was found.

EntityToRelationships​

A list of relationships where the entity occupies the TO position.

type: Record<string, EntityId[] | null>

EntityType​

A list of properties of the monitored entity type.

NameTypeDescription
dimensionKeystringThe dimension key used within metrics for this monitored entity.
displayNamestringThe display name of the monitored entity.
entityLimitExceededbooleanIndicates whether the entity creation limit for this type has been exceeded. When true, Dynatrace automatically triggers a cleanup process for this entity type. New entities will still be created, and no action is required. This applies only for builtin-types. For generic types creation and update gets blocked. You can recognize a generic type by containing ':' in the name for example my:type.
fromRelationshipsArray<ToPosition>A list of possible relationships where the monitored entity type occupies the FROM position
managementZonesstringThe placeholder for the list of management zones of an actual entity.
propertiesArray<EntityTypePropertyDto>A list of additional properties of the monitored entity type.
tagsstringThe placeholder for the list of tags of an actual entity.
toRelationshipsArray<FromPosition>A list of possible relationships where the monitored entity type occupies the TO position.
typestringThe type of the monitored entity.

EntityTypeList​

A list of properties of all available entity types.

NameTypeDescription
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.
typesArray<EntityType>The list of meta information for all available entity-types

EntityTypePropertyDto​

The property of a monitored entity.

NameTypeDescription
displayNamestringThe display-name of the property.

Example: cpu cores
idstringThe ID of the property.

Example: cpuCores
typestringThe type of the property.

Example: Number

EntryPoint​

Information about an entry point of a code-level vulnerability.

NameTypeDescription
sourceHttpPathstringSource HTTP path of entry points.
usageSegmentsArray<EntryPointUsageSegment>List of entry point usage segments.

EntryPointUsageSegment​

Describes one segment that was passed into a usage and the associated source name and type.

NameTypeDescription
segmentType"MALICIOUS_INPUT" | "REGULAR_INPUT" | "TAINTED_INPUT"The type of this input segment.
segmentValuestringThe value of this input segment.
sourceArgumentNamestringThe name used in the source for this segment.
sourceType"UNKNOWN" | "HTTP_BODY" | "HTTP_COOKIE" | "HTTP_HEADER_NAME" | "HTTP_HEADER_VALUE" | "HTTP_OTHER" | "HTTP_PARAMETER_NAME" | "HTTP_PARAMETER_VALUE" | "HTTP_URL"The type of the HTTP request part that contains the value that was used in this segment.

EntryPoints​

A list of entry points and a flag which indicates whether this list was truncated or not.

NameTypeDescription
itemsArray<EntryPoint>A list of entry points.
truncatedbooleanIndicates whether the list of entry points was truncated or not.

EntrypointPayload​

Describes a payload sent to an entrypoint during an attack.

NameTypeDescription
namenull | stringName of the payload, if applicable.
type"UNKNOWN" | "HTTP_BODY" | "HTTP_COOKIE" | "HTTP_HEADER_NAME" | "HTTP_HEADER_VALUE" | "HTTP_OTHER" | "HTTP_PARAMETER_NAME" | "HTTP_PARAMETER_VALUE" | "HTTP_URL"Type of the payload.
valuestringValue of the payload.

EnumType​

Definition of an enum property.

NameTypeDescription
description*requiredstringA short description of the property.

Example: typeDescription
displayNamestringThe display name of the property.

Example: typeDisplayName
documentation*requiredstringAn extended description and/or links to documentation.

Example: typeDocumentation
enumClassstringAn existing Java enum class that holds the allowed values of the enum.

Example: enumClass
items*requiredArray<EnumValue>A list of allowed values of the enum.
type*required"enum"The type of the property.

Example: enum

EnumValue​

An allowed value for an enum property.

NameTypeDescription
descriptionstringA short description of the value.

Example: exampleDescription
displayName*requiredstringThe display name of the value.

Example: exampleDisplayName
enumInstancestringThe name of the value in an existing Java enum class.

Example: exampleJavaEnumValue
iconstringThe icon of the value.

Example: checkmark
value*requiredAnyValueThe allowed value of the enum.

Example: exampleValue

Error​

NameTypeDescription
codenumberThe HTTP status code
constraintViolationsArray<ConstraintViolation>A list of constraint violations
messagestringThe error message

ErrorEnvelope​

NameType
errorError

Event​

Configuration of an event.

NameTypeDescription
correlationIdstringThe correlation ID of the event.

Example: 933613657e1c8fcf
endTimenumber

The timestamp when the event was closed, in UTC milliseconds.

Has the value of null if the event is still active.



Example: 1564039524182
entityIdEntityStubA short representation of a monitored entity.
entityTagsArray<METag>A list of tags of the related entity.
eventIdstringThe ID of the event.

Example: 4293884258445543163_1564039524182
eventTypestringThe type of the event.

Example: LOW_DISK_SPACE
frequentEventboolean

If true, the event happens frequently.

A frequent event doesn't raise a problem.

managementZonesArray<ManagementZone>A list of all management zones that the event belongs to.
propertiesArray<EventProperty>A list of event properties.
startTimenumberThe timestamp when the event was raised, in UTC milliseconds.

Example: 1564039524182
status"CLOSED" | "OPEN"The status of the event.

Example: OPEN
suppressAlertboolean

The alerting status during a maintenance:

  • false: Alerting works as usual.
  • true: Alerting is disabled.
suppressProblemboolean

The problem detection status during a maintenance:

  • false: Problem detection works as usual.
  • true: Problem detection is disabled.
titlestringThe title of the event.

Example: High CPU load on host X
underMaintenancebooleanIf true, the event happened while the monitored system was under maintenance.

EventEvidence​

The event evidence of the problem.

An event that occurred during the problem lifespan that might be related to the root cause.

NameTypeDescription
datanull | EventConfiguration of an event.
displayName*requiredstringThe display name of the evidence.
endTime*requirednumber

The end timestamp of the event, in UTC milliseconds.

Has -1 value, if the event is still active.

entity*requiredEntityStubA short representation of a monitored entity.
eventId*requiredstringThe ID of the event.
eventType*requiredstringThe type of the event.
evidenceType*required"AVAILABILITY_EVIDENCE" | "EVENT" | "MAINTENANCE_WINDOW" | "METRIC" | "TRANSACTIONAL"

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
groupingEntityEntityStubA short representation of a monitored entity.
rootCauseRelevant*requiredbooleanThe evidence is (true) or is not (false) a part of the root cause.
startTime*requirednumberThe start time of the evidence, in UTC milliseconds.

EventIngest​

The configuration of an event to be ingested.

NameTypeDescription
endTimenumber

The end time of the event, in UTC milliseconds.

If not set, the start time plus timeout is used.

entitySelectorstring

The entity selector, defining a set of Dynatrace entities to be associated with the event.

Only entities that have been active within the last 24 hours can be selected. Note that the entityId filter bypasses this time constraint, allowing events to be ingested for entities that have been inactive for more than 24 hours.

If not set, the event is associated with the environment (dt.entity.environment) entity.

eventType*required"AVAILABILITY_EVENT" | "CUSTOM_ALERT" | "CUSTOM_ANNOTATION" | "CUSTOM_CONFIGURATION" | "CUSTOM_DEPLOYMENT" | "CUSTOM_INFO" | "ERROR_EVENT" | "MARKED_FOR_TERMINATION" | "PERFORMANCE_EVENT" | "RESOURCE_CONTENTION_EVENT" | "WARNING"The type of the event.
propertiesEventIngestProperties

A map of event properties.

  • To set event properties with predefined behavior, use classic dt.event.* and dt.davis.* properties. To check which properties belong to classic API, see Events API v2 - GET all event properties.
  • To attach entity information to an event, use dt.entity.* keys.
  • To provide additional info, you can use any key outside of the dt.* namespace.

Values of event properties with predefined behavior must fulfill the requirements of the respective property.

A maximum of 100 properties can be specified. A property key is allowed to contain up to 100 characters. A property value is allowed to contain up to 4096 characters.

startTimenumber

The start time of the event, in UTC milliseconds.

If not set, the current timestamp is used.

Depending on the event type, the start time must not lie in the past more than 6 hours for problem-opening events and 30 days for info events.

Depending on the event type, the start time must not lie in the future more than 5 minutes for problem-opening events and 7 days for info events.

Events that can be sent up to 7 days in the future:

  • CUSTOM_ANNOTATION
  • CUSTOM_CONFIGURATION
  • CUSTOM_DEPLOYMENT
  • CUSTOM_INFO
  • MARKED_FOR_TERMINATION
timeoutnumber

The timeout of the event, in minutes.

If not set, 15 is used.

The timeout will automatically be capped to a maximum of 360 minutes (6 hours).

Problem-opening events can be refreshed and therefore kept open by sending the same payload again.

title*requiredstringThe title of the event.

EventIngestProperties​

A map of event properties.

  • To set event properties with predefined behavior, use classic dt.event.* and dt.davis.* properties. To check which properties belong to classic API, see Events API v2 - GET all event properties.
  • To attach entity information to an event, use dt.entity.* keys.
  • To provide additional info, you can use any key outside of the dt.* namespace.

Values of event properties with predefined behavior must fulfill the requirements of the respective property.

A maximum of 100 properties can be specified. A property key is allowed to contain up to 100 characters. A property value is allowed to contain up to 4096 characters.

type: Record<string, string>

EventIngestResult​

The result of a created event report.

NameTypeDescription
correlationIdstringThe correlation ID of the created event.
status"INVALID_ENTITY_TYPE" | "INVALID_METADATA" | "INVALID_TIMESTAMPS" | "OK"The status of the ingestion.

EventIngestResults​

The results of an event ingest.

NameTypeDescription
eventIngestResultsArray<EventIngestResult>The result of each created event report.
reportCountnumberThe number of created event reports.

EventList​

A list of events.

NameTypeDescription
eventsArray<null | Event>A list of events.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.
warningsArray<string>A list of warnings.

EventPropertiesList​

A list of event properties.

NameTypeDescription
eventPropertiesArray<EventPropertyDetails>A list of event properties.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

EventProperty​

A property of an event.

NameTypeDescription
keystringThe key of the event property.
valuestringThe value of the event property.

EventPropertyDetails​

Configuration of an event property.

NameTypeDescription
descriptionstringA short description of the event property.
displayNamestringThe display name of the event property.

Example: Custom description
filterableboolean

The property can (true) or cannot (false) be used for filtering in the event selector. Usage in event selector: property.<key>("value-1", "value-2")

keystringThe key of the event property.

Example: dt.event.description
writablebooleanThe property can (true) or cannot (false) be set during event ingestion.

EventType​

Configuration of an event type.

NameTypeDescription
descriptionstringA short description of the event type.
displayNamestringThe display name of the event type.

Example: High CPU
severityLevel"CUSTOM_ALERT" | "AVAILABILITY" | "ERROR" | "INFO" | "MONITORING_UNAVAILABLE" | "PERFORMANCE" | "RESOURCE_CONTENTION"The severity level associated with the event type.

Example: PERFORMANCE
typestringThe event type.

Example: OSI_HIGH_CPU

EventTypeList​

A list of event types.

NameTypeDescription
eventTypeInfosArray<EventType>A list of event types.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

Evidence​

An evidence of a root cause.

The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.

NameTypeDescription
displayName*requiredstringThe display name of the evidence.
entity*requiredEntityStubA short representation of a monitored entity.
evidenceType*required"AVAILABILITY_EVIDENCE" | "EVENT" | "MAINTENANCE_WINDOW" | "METRIC" | "TRANSACTIONAL"

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
groupingEntityEntityStubA short representation of a monitored entity.
rootCauseRelevant*requiredbooleanThe evidence is (true) or is not (false) a part of the root cause.
startTime*requirednumberThe start time of the evidence, in UTC milliseconds.

EvidenceDetails​

The evidence details of a problem.

NameTypeDescription
details*requiredArray<Evidence>A list of all evidence.
totalCount*requirednumberThe total number of evidence of a problem.

ExecuteActionsDto​

NameTypeDescription
actionsExecuteActionsDtoActionsData Source defined action objects

ExecuteActionsDtoActions​

Data Source defined action objects

type: Record<string, JsonNode>

ExecuteActionsResponse​

NameTypeDescription
agIdDEPRECATEDstringActive Gate id for actions execution
agIdsArray<string>Active Gate ids for actions execution
agNameDEPRECATEDstringActive Gate name for actions execution

ExecutionFullResults​

Contains extended monitor's execution details.

NameTypeDescription
errorCodenull | stringError code.
executionStepCountnull | numberNumber executed steps.
executionStepsnull | Array<null | ExecutionStep>Details about the monitor's step execution.
failedStepNamenull | stringFailed step name.
failedStepSequenceIdnull | numberFailed step sequence id.
failureMessagenull | stringFailure message.
statusnull | stringExecution status.

ExecutionSimpleResults​

Contains basic results of the monitor's on-demand execution.

NameTypeDescription
chromeErrorbooleanInforms whether is Chrome error.
engineIdnumberSynthetic engine id on which monitor was executed.
errorCodestringError code.
executedStepsnumberNumber of the executed steps by Synthetic engine
failureMessagestringFailure message.
hostNameResolutionTimenumberA hostname resolution time measured in milliseconds.
httperrorbooleanInforms whether is HTTP error.
peerCertificateExpiryDateDEPRECATEDnumberAn expiry date of the first SSL certificate from the certificate chain.
publicLocationbooleanFlag informs whether request was executed on public location.
redirectionTimenumberTotal number of milliseconds spent on handling all redirect requests, measured in milliseconds.
redirectsCountnumberNumber of redirects.
responseBodySizeLimitExceededbooleanA flag indicating that the response payload size limit of 10MB has been exceeded.
responseSizenumberRequest's response size in bytes.
responseStatusCodenumberResponse status code.
startTimestampnumberStart timestamp.
statusstringExecution status.
tcpConnectTimenumberA TCP connect time measured in milliseconds.
timeToFirstBytenumberA time to first byte measured in milliseconds.
tlsHandshakeTimenumberA TLS handshake time measured in milliseconds.
totalTimenumberA total time measured in milliseconds.

ExecutionStep​

Contains detailed information about the monitor's step execution.

NameTypeDescription
monitorType*required"BROWSER" | "HTTP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • BROWSER -> BMAction
  • HTTP -> MonitorRequestExecutionResult

ExportedLogRecordList​

A list of exported log records.

NameTypeDescription
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
resultsArray<LogRecord>A list of retrieved log records.
totalCount*requirednumberThe total number of entries in the result.
warningsstringOptional warning messages.

Extension​

NameTypeDescription
author*requiredAuthorDtoExtension author
dataSources*requiredArray<string>Data sources that extension uses to gather data
extensionName*requiredstringExtension name
featureSets*requiredArray<string>Available feature sets
featureSetsDetails*requiredExtensionFeatureSetsDetailsDetails of feature sets
fileHash*requiredstringSHA-256 hash of uploaded Extension file
minDynatraceVersion*requiredstringMinimal Dynatrace version that works with the extension
minEECVersion*requiredstringMinimal Extension Execution Controller version that works with the extension
variables*requiredArray<string>Custom variables used in extension configuration
version*requiredstringExtension version

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionAssetsDto​

List of assets imported with the active extension environment configuration.

NameTypeDescription
assets*requiredArray<AssetInfoDto>The list of the imported assets.
errors*requiredArray<string>List of errors during asset import
status*requiredstringThe status of the assets list.
version*requiredstringVersion of the active extension environment configuration.

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionEnvironmentConfigurationVersion​

NameTypeDescription
version*requiredstringExtension version

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionFeatureSetsDetails​

Details of feature sets

type: Record<string, FeatureSetDetails>

ExtensionInfo​

A list of extensions with additional metadata.

NameTypeDescription
activeVersionnull | stringActive version in the environment (null if none is active)

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?
extensionName*requiredstringExtension name
keywords*requiredArray<string>Extension keywords for the highest version
version*requiredstringHighest installed version

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionInfoList​

NameTypeDescription
extensions*requiredArray<ExtensionInfo>A list of extensions with additional metadata.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ExtensionList​

NameTypeDescription
extensions*requiredArray<MinimalExtension>A list of extensions.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ExtensionMonitoringConfiguration​

NameTypeDescription
objectId*requiredstringConfiguration id
scope*requiredstringConfiguration scope
value*requiredExtensionMonitoringConfigurationValueConfiguration

ExtensionMonitoringConfigurationsList​

NameTypeDescription
items*requiredArray<ExtensionMonitoringConfiguration>A list of extension monitoring configurations.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ExtensionStatusDto​

NameTypeDescription
status*required"UNKNOWN" | "WARNING" | "OK" | "ERROR" | "PENDING"Latest status of given configuration.
timestampnumberTimestamp of the latest status of given configuration.

ExtensionStatusWithIdDto​

NameTypeDescription
configurationId*requiredstringUnique ID of the configuration.
status*required"UNKNOWN" | "WARNING" | "OK" | "ERROR" | "PENDING"Latest status of given configuration.
timestampnumberTimestamp of the latest status of given configuration.

ExtensionUploadResponseDto​

NameTypeDescription
assetsInfo*requiredArray<AssetInfo>Information about extension assets included
author*requiredAuthorDtoExtension author
dataSources*requiredArray<string>Data sources that extension uses to gather data
extensionName*requiredstringExtension name
featureSets*requiredArray<string>Available feature sets
featureSetsDetails*requiredExtensionUploadResponseDtoFeatureSetsDetailsDetails of feature sets
fileHash*requiredstringSHA-256 hash of uploaded Extension file
minDynatraceVersion*requiredstringMinimal Dynatrace version that works with the extension
minEECVersion*requiredstringMinimal Extension Execution Controller version that works with the extension
variables*requiredArray<string>Custom variables used in extension configuration
version*requiredstringExtension version

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

ExtensionUploadResponseDtoFeatureSetsDetails​

Details of feature sets

type: Record<string, FeatureSetDetails>

ExternalVault​

Information for synchronization credentials with external vault

NameTypeDescription
locationForSynchronizationIdstringId of a location used by the synchronizing monitor
passwordSecretNamestringThe name of the secret saved in external vault where password is stored.
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto
tokenSecretNamestringThe name of the secret saved in external vault where token is stored.
usernameSecretNamestringThe name of the secret saved in external vault where username is stored.
vaultUrlstringExternal vault URL.

ExternalVaultConfig​

Configuration for external vault synchronization for username and password credentials.

NameTypeDescription
credentialsUsedForExternalSynchronizationArray<string>
passwordSecretNamestring
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig
tokenSecretNamestring
type"AZURE_CERTIFICATE_MODEL" | "AZURE_CLIENT_SECRET_MODEL" | "CYBERARK_VAULT_ALLOWED_LOCATION_MODEL" | "CYBERARK_VAULT_USERNAME_PASSWORD_MODEL" | "HASHICORP_APPROLE_MODEL" | "HASHICORP_CERTIFICATE_MODEL"
usernameSecretNamestring
vaultUrlstring

FeatureSetDetails​

Additional information about a Feature Set

NameTypeDescription
descriptionstringOptional description for the feature set
displayNamestringOptional display name of the feature set
isRecommended*requiredbooleanMarks the feature set as recommended (selected by default during activation)
metricsArray<MetricDto>Feature set metrics

Filter​

A dimensional or series filter on a metric.

NameTypeDescription
operandsArray<Filter>If the type is not, and or or, then holds the contained filters.
referenceInvocationInvocationInvocation of a function, e.g. the entitySelector function.
referenceStringstringFor filters that match a dimension against a valkue, such as eq or ne, holds the value to compare the dimension against.
referenceValuenumberFor the operands of series filters that match against a number, holds the number to compare against.
rollupRollupA way of viewing a series as a single value for the purpose of sorting or series-based filters.
targetDimensionstringIf the type applies to a dimension, then holds the target dimension.
targetDimensionsArray<string>If the type applies to n dimensions, then holds the target dimensions. Currently only used for the remainder filter.
type"and" | "contains" | "eq" | "existsKey" | "ge" | "gt" | "in" | "le" | "lt" | "ne" | "not" | "or" | "otherwise" | "prefix" | "remainder" | "series" | "suffix"

Type of this filter, determines which other fields are present.Can be any of:

  • eq,
  • ne,
  • prefix,
  • in,
  • remainder,
  • suffix,
  • contains,
  • existsKey,
  • series,
  • or,
  • and,
  • not,
  • ge,
  • gt,
  • le,
  • lt,
  • otherwise.

FilteredCountsDto​

Statistics about the security problem, filtered by the management zone and timeframe start ('from') query parameters.

NameTypeDescription
affectedNodesnumberNumber of affected nodes
affectedProcessGroupInstancesnumberNumber of affected processes
affectedProcessGroupsnumberNumber of affected process groups
exposedProcessGroupsnumberNumber of exposed process groups
reachableDataAssetsnumberNumber of reachable data assets
relatedApplicationsnumberNumber of related applications
relatedAttacksnumberNumber of related attacks
relatedDatabasesnumberNumber of related databases
relatedHostsnumberNumber of related hosts
relatedKubernetesClustersnumberNumber of related Kubernetes clusters
relatedKubernetesWorkloadsnumberNumber of related Kubernetes workloads
relatedServicesnumberNumber of related services
vulnerableComponentsnumberNumber of vulnerable components

FilteredRequestsDto​

Filtered requests of a Browser Monitor.

NameTypeDescription
mode*required"BLOCK" | "ALLOW"Filter mode for filtered requests.
requests*requiredArray<RequestFilterDto>Requests to be filtered.

FrameworkOptionsDto​

JS framework options of a JS Agent.

NameTypeDescription
activeXObjectnull | booleanactiveXObject support. If not defined in request, it will be set to false by default.
angularnull | booleanAngular support. If not defined in request, it will be set to false by default.
dojonull | booleanDojo support. If not defined in request, it will be set to false by default.
extJsnull | booleanextJs support. If not defined in request, it will be set to false by default.
icefacesnull | booleanicefaces support. If not defined in request, it will be set to false by default.
jQuerynull | booleanjquery support. If not defined in request, it will be set to false by default.
mooToolsnull | booleanmooTools support. If not defined in request, it will be set to false by default.
prototypenull | booleanprototype support. If not defined in request, it will be set to false by default.

FromPosition​

The FROM position of a relationship.

NameTypeDescription
fromTypesArray<string>A list of monitored entity types that can occupy the FROM position.
idstringThe ID of the relationship.

FunctionDefinition​

Information about a function definition.

NameTypeDescription
classNamestringThe fully qualified class name of the class that includes the function.
displayNamestringA human readable string representation of the function definition.
fileNamestringThe file name of the function definition.
functionNamestringThe function/method name of the function definition.
parameterTypesTruncatableListStringA list of values that has possibly been truncated.
returnTypestringThe return type of the function.

GlobalCountsDto​

Globally calculated statistics about the security problem. No management zone information is taken into account.

NameTypeDescription
affectedNodesnumberNumber of affected nodes
affectedProcessGroupInstancesnumberNumber of affected process group instances
affectedProcessGroupsnumberNumber of affected process groups
exposedProcessGroupsnumberNumber of exposed process groups
reachableDataAssetsnumberNumber of reachable data assets exposed
relatedApplicationsnumberNumber of related applications
relatedAttacksnumberNumber of attacks on the exposed security problem
relatedHostsnumberNumber of related hosts
relatedKubernetesClustersnumberNumber of related kubernetes cluster
relatedKubernetesWorkloadsnumberNumber of related kubernetes workloads
relatedServicesnumberNumber of related services
vulnerableComponentsnumberNumber of vulnerable components

HashicorpApprole​

Synchronization credentials with HashiCorp Vault using appRole authentication method

NameTypeDescription
locationForSynchronizationIdstringId of a location used by the synchronizing monitor
passwordSecretNamestringThe name of the secret saved in external vault where password is stored.
pathToCredentials*requiredstringPath to folder where credentials in HashiCorp Vault are stored.
roleId*requiredstringRole ID is similar to username when you want to authenticate in HashiCorp Vault using AppRole.
secretId*requiredstringSecret ID is similar to password when you want to authenticate in HashiCorp Vault using AppRole. ID of token representing secret ID saved in Dynatrace CV.
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto
tokenSecretNamestringThe name of the secret saved in external vault where token is stored.
usernameSecretNamestringThe name of the secret saved in external vault where username is stored.
vaultNamespace*requiredstringVault namespace in HashiCorp Vault. It is an information you set as environmental variable VAULT_NAMESPACE if you are accessing HashiCorp Vault from command line.
vaultUrlstringExternal vault URL.

HashicorpApproleConfig​

Configuration for external vault synchronization for username and password credentials.

NameTypeDescription
credentialsUsedForExternalSynchronizationArray<string>
passwordSecretNamestring
pathToCredentialsstring
roleIdstring
secretIdstring
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig
tokenSecretNamestring
type"AZURE_CERTIFICATE_MODEL" | "AZURE_CLIENT_SECRET_MODEL" | "CYBERARK_VAULT_ALLOWED_LOCATION_MODEL" | "CYBERARK_VAULT_USERNAME_PASSWORD_MODEL" | "HASHICORP_APPROLE_MODEL" | "HASHICORP_CERTIFICATE_MODEL"
usernameSecretNamestring
vaultNamespacestring
vaultUrlstring

HashicorpCertificate​

Synchronization credentials with HashiCorp Vault using certificate authentication method

NameTypeDescription
certificatestringID of certificate saved in Dynatrace CV. Using this certificate you can authenticate to your HashiCorp Vault.
locationForSynchronizationIdstringId of a location used by the synchronizing monitor
passwordSecretNamestringThe name of the secret saved in external vault where password is stored.
pathToCredentialsstringPath to folder where credentials in HashiCorp Vault are stored.
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto
tokenSecretNamestringThe name of the secret saved in external vault where token is stored.
usernameSecretNamestringThe name of the secret saved in external vault where username is stored.
vaultUrlstringExternal vault URL.

HashicorpCertificateConfig​

Configuration for external vault synchronization for username and password credentials.

NameTypeDescription
certificatestring
credentialsUsedForExternalSynchronizationArray<string>
passwordSecretNamestring
pathToCredentialsstring
sourceAuthMethod"AZURE_KEY_VAULT_CLIENT_SECRET" | "CYBERARK_VAULT_ALLOWED_LOCATION" | "CYBERARK_VAULT_USERNAME_PASSWORD" | "HASHICORP_VAULT_APPROLE" | "HASHICORP_VAULT_CERTIFICATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig
tokenSecretNamestring
type"AZURE_CERTIFICATE_MODEL" | "AZURE_CLIENT_SECRET_MODEL" | "CYBERARK_VAULT_ALLOWED_LOCATION_MODEL" | "CYBERARK_VAULT_USERNAME_PASSWORD_MODEL" | "HASHICORP_APPROLE_MODEL" | "HASHICORP_CERTIFICATE_MODEL"
usernameSecretNamestring
vaultUrlstring

HistoryModificationInfo​

Modification information about the setting.

NameTypeDescription
lastModifiedBystringThe unique identifier of the user who performed the most recent modification.

Example: fab17b7a-2eb2-4c95-b818-743d94be2c30
lastModifiedReasonstringReason for system change

Example: default settings creation
lastModifiedTime*requiredDateTimestamp when the setting was last modified in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')

HttpProtocolDetails​

HTTP specific request details.

NameTypeDescription
headersTruncatableListAttackRequestHeaderA list of values that has possibly been truncated.
parametersTruncatableListHttpRequestParameterA list of values that has possibly been truncated.
requestMethodstringThe HTTP request method.

HttpRequestParameter​

An HTTP request parameter.

NameTypeDescription
namestringThe name of the parameter.
valuestringThe value of the parameter.

Identity​

An Identity describing either a user, a group, or the all-users group (applying to all users).

NameTypeDescription
idstringThe user id or user group id if type is 'user' or 'group', missing if type is 'all-users'.
type*required"all-users" | "group" | "user"The type of the identity.

Example: user

IgnoredErrorCodesDto​

Ignored Error Codes of a Browser Monitor.

NameTypeDescription
matchingDocumentRequestsstringIgnoring status codes will be applied to requests matching pattern.
statusCodesstringStatus codes to be ignored.

Impact​

The impact analysis of the problem on other entities/users.

The actual set of fields depends on the type of the impact. Find the list of actual objects in the description of the impactType field or see Problems API v2 - JSON models.

NameTypeDescription
estimatedAffectedUsers*requirednumberThe estimated number of affected users.
impactType*required"APPLICATION" | "CUSTOM_APPLICATION" | "MOBILE" | "SERVICE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact
impactedEntity*requiredEntityStubA short representation of a monitored entity.

ImpactAnalysis​

A list of all impacts of the problem.

NameTypeDescription
impacts*requiredArray<Impact>A list of all impacts of the problem.

InsertPosition​

The position where the button should be shown relative to a property in the UI

NameTypeDescription
after*requiredstringThe path of a property after which the button should be shown in the UI

InteractionStepDto​

Interaction step of Browser Monitor.

NameTypeDescription
button*required"MOUSE_LEFT" | "MOUSE_MIDDLE" | "MOUSE_RIGHT"Integer containing the button index.
entityIdnull | stringEntity Id.
name*requiredstringThe name of Browser Monitor step.
targetnull | TargetDtoTarget of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto
validationRulesnull | Array<ValidationRuleDto>List of validation rules for the step to perform.
waitConditionnull | BaseWaitConditionDtoWait condition for Browser Monitor step.

InvalidLine​

NameType
errorstring
linenumber

Invocation​

Invocation of a function, e.g. the entitySelector function.

NameTypeDescription
argsArray<string>Arguments to pass to the function, e.g. entity selector source code.
functionstringFunction that is invoked, e.g. entitySelector.

Item​

An item of a collection property.

NameTypeDescription
constraintsArray<Constraint>A list of constraints limiting the values to be accepted.
datasourceDatasourceDefinitionConfiguration of a datasource for a property.
descriptionstringA short description of the item.

Example: itemDescription
displayNamestringThe display name of the item.

Example: itemDisplayName
documentationstringAn extended description and/or links to documentation.

Example: propertyDocumentation
metadataItemMetadataMetadata of the items.
referencedTypestringThe type referenced by the item's value.

Example: itemReferencedType
subTypestringThe subtype of the item's value.

Example: itemSubType
type*requiredstring | RefPointerThe type of the item's value.
uiCustomizationUiCustomizationCustomization for UI elements

ItemMetadata​

Metadata of the items.

type: Record<string, string>

JavaProcessContainer​

NameType
agentVersionstring
idstring
namestring
propertiesJavaProcessContainerProperties

JavaProcessContainerList​

NameType
items*requiredArray<JavaProcessContainer>

JavaProcessContainerProperties​

type: Record<string, string[]>

JavaScriptAgentSettingsDto​

JavaScript Agent Settings.

NameTypeDescription
customPropertiesnull | stringCustom configuration properties
experimentalValuesnull | booleanExperimental values support. If not defined in request, it will be set to false by default.
fetchRequestsnull | booleanCapture fetch() requests. If not defined in request, it will be set to true by default.
javaScriptErrorsnull | booleanEnable this setting to monitor JavaScript errors. The window.onError handler is used for capturing JavaScript errors. If not defined in request, it will be set to true by default.
javaScriptFrameworkSupportnull | FrameworkOptionsDtoJS framework options of a JS Agent.
timedActionsnull | booleanWithin JavaScript frameworks, XHRs are often sent via setTimeout methods. Enable this setting to detect actions that trigger such XHRs. If not defined in request, it will be set to true by default.
timeoutSettingsnull | TimeoutSettingsDtoTimeout settings of a Browser Monitor.
visuallyCompleteOptionsnull | VisuallyCompleteOptionsDtoVisually Complete Options of a Browser Monitor.
xmlHttpRequestsnull | booleanCapture xml Http requests (XHR). If not defined in request, it will be set to true by default.

JavaScriptMappingFileDto​

NameTypeDescription
fileNamestringThe name of the file.
fileType"MINIFIED" | "SOURCE" | "SOURCEMAP"The type of the file.
minifiedJsFileUrlstringThe minified JavaScript file URL to which the mapping file belongs to.
numberOfFilesnumberThe number of files.
pinnedbooleanWhether the file is pinned and therefore not automatically deleted.
sizenumberThe size of the file, in KB.
uploadTimestampnumberThe timestamp of the file upload, in UTC milliseconds.
zippedbooleanWhether several files are zipped into one file.

JavaScriptMappingFileListDto​

NameTypeDescription
jsMappingFilesArray<JavaScriptMappingFileDto>A list of JavaScript mapping files.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

JavaScriptMappingFileMetadataDto​

NameTypeDescription
pinnedbooleanWhether the file is pinned and therefore not automatically deleted.

JavaScriptStepDto​

JavaScript step of Browser Monitor.

NameTypeDescription
entityIdnull | stringEntity Id.
javaScript*requiredstringString containing a script in JavaScript.
name*requiredstringThe name of Browser Monitor step.
targetnull | TargetDtoTarget of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto
waitConditionnull | BaseWaitConditionDtoWait condition for Browser Monitor step.

KeyPerformanceMetrics​

The key performance metrics configuration.

NameTypeDescription
loadActionKpm"USER_ACTION_DURATION" | "VISUALLY_COMPLETE" | "SPEED_INDEX" | "DOM_INTERACTIVE" | "LOAD_EVENT_START" | "LOAD_EVENT_END" | "RESPONSE_START" | "RESPONSE_END" | "LARGEST_CONTENTFUL_PAINT" | "CUMULATIVE_LAYOUT_SHIFT"Load action key performance metric.
xhrActionKpm"USER_ACTION_DURATION" | "VISUALLY_COMPLETE" | "RESPONSE_START" | "RESPONSE_END"XHR action key performance metric.

KeyStrokesStepDto​

Key strokes step of Browser Monitor.

NameTypeDescription
entityIdnull | stringEntity Id.
input*requiredKeystrokesInputDtoKey strokes step input.
name*requiredstringThe name of Browser Monitor step.
simulateBlurEventnull | booleanBoolean value set to true if blur event should be simulated.
simulateReturnKeynull | booleanBoolean value set to true if return key should be simulated.
targetnull | TargetDtoTarget of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto
validationRulesnull | Array<ValidationRuleDto>List of validation rules for the step to perform.
waitConditionnull | BaseWaitConditionDtoWait condition for Browser Monitor step.

KeystrokesInputDto​

Key strokes step input.

NameTypeDescription
type*required"PLAIN" | "SECURE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureKeystrokesInputDto
  • PLAIN -> PlainKeystrokesInputDto

LinkedProblem​

The properties of the linked problem.

NameTypeDescription
displayId*requiredstringThe display ID of the problem.
problemId*requiredstringThe ID of the problem.

LocationCollectionElement​

A synthetic location.

NameTypeDescription
capabilitiesArray<string>The list of location's capabilities.
cloudPlatform"AZURE" | "ALIBABA" | "GOOGLE_CLOUD" | "OTHER" | "AMAZON_EC2" | "DYNATRACE_CLOUD" | "INTEROUTE" | "UNDEFINED"

The cloud provider where the location is hosted.

Only applicable to PUBLIC locations.

deploymentType"UNKNOWN" | "KUBERNETES" | "OPENSHIFT" | "STANDARD"Location's deployment type
entityId*requiredstringThe Dynatrace entity ID of the location.
geoCitystringLocation's city.
geoContinentstringLocation's continent.
geoCountrystringLocation's country.
geoLatitudenumberLocation's latitude.
geoLocationId*requiredstringThe Dynatrace GeoLocation ID of the location.
geoLongitudenumberLocation's longitude.
ipsArray<string>

The list of IP addresses assigned to the location.

Only applicable to PUBLIC locations.

lastModificationTimestampnumberThe timestamp of the last modification of the location.
name*requiredstringThe name of the location.
nodes*requiredArray<string>

A list of synthetic nodes belonging to the location.

You can retrieve the list of available nodes with the GET all nodes call.

stage"BETA" | "COMING_SOON" | "DELETED" | "GA"The release stage of the location.
status"ENABLED" | "DISABLED" | "HIDDEN"The status of the location.
type*required"CLUSTER" | "PUBLIC" | "PRIVATE"The type of the location.

LocationExecutionResults​

Results of the execution HTTP monitor's requests at a given location

NameTypeDescription
executionIdnull | stringExecution id.
locationIdstringLocation id.
requestResultsArray<MonitorRequestExecutionResult>The list of the monitor's request results executed on this location.

LocatorDto​

Browser Monitor locator.

NameTypeDescription
type*required"CSS" | "DOM"Enum value of the locator type.
value*requiredstringValue of the locator.

LogRecord​

A single log record.

NameTypeDescription
additionalColumnsLogRecordAdditionalColumnsAdditional columns of the log record.
contentstringThe content of the log record.
eventTypestringType of event
status"ERROR" | "INFO" | "NONE" | "NOT_APPLICABLE" | "WARN"The log status (based on the log level).
timestampnumberThe timestamp of the log record, in UTC milliseconds.

LogRecordAdditionalColumns​

Additional columns of the log record.

type: Record<string, string[]>

LogRecordsList​

A list of retrieved log records.

NameTypeDescription
nextSliceKeystringThe cursor for the next slice of log records. Always null on Log Management and Analytics, powered by Grail.
resultsArray<LogRecord>A list of retrieved log records.
sliceSizenumberThe total number of records in a slice.
warningsstringOptional warning messages.

METag​

The tag of a monitored entity.

NameTypeDescription
contextnull | string

The origin of the tag, such as AWS or Cloud Foundry.

Custom tags use the CONTEXTLESS value.

keystringThe key of the tag.
stringRepresentationstringThe string representation of the tag.
valuenull | stringThe value of the tag.

MaintenanceWindowEvidence​

The maintenance window evidence of the problem.

The maintenance window during which the problem occurred.

NameTypeDescription
displayName*requiredstringThe display name of the evidence.
endTime*requirednumberThe end time of the evidence, in UTC milliseconds.
entity*requiredEntityStubA short representation of a monitored entity.
evidenceType*required"AVAILABILITY_EVIDENCE" | "EVENT" | "MAINTENANCE_WINDOW" | "METRIC" | "TRANSACTIONAL"

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
groupingEntityEntityStubA short representation of a monitored entity.
maintenanceWindowConfigId*requiredstringThe ID of the related maintenance window.
rootCauseRelevant*requiredbooleanThe evidence is (true) or is not (false) a part of the root cause.
startTime*requirednumberThe start time of the evidence, in UTC milliseconds.

ManagementZone​

A short representation of a management zone.

NameTypeDescription
idstringThe ID of the management zone.
namenull | stringThe name of the management zone.

ManagementZoneDetails​

The details of the management zone.

NameTypeDescription
idstringThe ID of the management zone.

MetricData​

A list of metrics and their data points.

NameTypeDescription
nextPageKeystringDeprecated. This field is returned for compatibility reasons. It always has the value of null.
resolution*requiredstringThe timeslot resolution in the result.
result*requiredArray<MetricSeriesCollection>A list of metrics and their data points.
totalCount*requirednumber

The total number of primary entities in the result.

Has the 0 value if none of the requested metrics is suitable for pagination.

warnings*requiredArray<string>A list of warnings

MetricDefaultAggregation​

The default aggregation of a metric.

NameTypeDescription
parameternumber

The percentile to be delivered. Valid values are between 0 and 100.

Applicable only to the percentile aggregation type.

type*required"auto" | "avg" | "count" | "max" | "median" | "min" | "percentile" | "sum" | "value"The type of default aggregation.

MetricDescriptor​

The descriptor of a metric.

NameTypeDescription
aggregationTypesArray<"auto" | "avg" | "count" | "max" | "median" | "min" | "percentile" | "sum" | "value">The list of allowed aggregations for this metric.
billableboolean

If truethe usage of metric is billable.

Metric expressions don't return this field.

creatednumber

The timestamp of metric creation.

Built-in metrics and metric expressions have the value of null.

dduBillableboolean

If true the usage of metric consumes Davis data units. Deprecated and always false for Dynatrace Platform Subscription. Superseded by isBillable.

Metric expressions don't return this field.

defaultAggregationMetricDefaultAggregationThe default aggregation of a metric.
descriptionstringA short description of the metric.
dimensionCardinalitiesArray<MetricDimensionCardinality>The cardinalities of MINT metric dimensions.
dimensionDefinitionsArray<MetricDimensionDefinition>

The fine metric division (for example, process group and process ID for some process-related metric).

For ingested metrics, dimensions that doesn't have have any data within the last 15 days are omitted.

displayNamestringThe name of the metric in the user interface.
entityTypeArray<string>List of admissible primary entity types for this metric. Can be used for the type predicate in the entitySelector.
impactRelevantboolean

The metric is (true) or is not (false) impact relevant.

An impact-relevant metric is highly dependent on other metrics and changes because an underlying root-cause metric has changed.

Metric expressions don't return this field.

lastWrittennumber

The timestamp when the metric was last written.

Has the value of null for metric expressions or if the data has never been written.

latencynumber

The latency of the metric, in minutes.

The latency is the expected reporting delay (for example, caused by constraints of cloud vendors or other third-party data sources) between the observation of a metric data point and its availability in Dynatrace.

The allowed value range is from 1 to 60 minutes.

Metric expressions don't return this field.

maximumValuenumber

The maximum allowed value of the metric.

Metric expressions don't return this field.

metricId*requiredstring

The fully qualified key of the metric.

If a transformation has been used it is reflected in the metric key.

metricSelectorstringThe metric selector that is used when querying a func: metric.
metricValueTypeMetricValueTypeThe value type for the metric.
minimumValuenumber

The minimum allowed value of the metric.

Metric expressions don't return this field.

resolutionInfSupportedbooleanIf 'true', resolution=Inf can be applied to the metric query.
rootCauseRelevantboolean

The metric is (true) or is not (false) root cause relevant.

A root-cause relevant metric represents a strong indicator for a faulty component.

Metric expressions don't return this field.

scalarboolean

Indicates whether the metric expression resolves to a scalar (true) or to a series (false). A scalar result always contains one data point. The amount of data points in a series result depends on the resolution you're using.

tagsArray<string>

The tags applied to the metric.

Metric expressions don't return this field.

transformationsArray<"asGauge" | "asHistogram" | "default" | "delta" | "evaluateModel" | "filter" | "fold" | "histogram" | "last" | "lastReal" | "limit" | "merge" | "names" | "parents" | "partition" | "rate" | "rollup" | "setUnit" | "smooth" | "sort" | "splitBy" | "timeshift" | "toUnit">Transform operators that could be appended to the current transformation list.
unitstringThe unit of the metric.
unitDisplayFormat"binary" | "decimal"

The raw value is stored in bits or bytes. The user interface can display it in these numeral systems:

Binary: 1 MiB = 1024 KiB = 1,048,576 bytes

Decimal: 1 MB = 1000 kB = 1,000,000 bytes

If not set, the decimal system is used.

Metric expressions don't return this field.

warningsArray<string>A list of potential warnings that affect this ID. For example deprecated feature usage etc.

MetricDescriptorCollection​

A list of metrics along with their descriptors.

NameTypeDescription
metrics*requiredArray<MetricDescriptor>A list of metric along with their descriptors
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.

totalCount*requirednumberThe estimated number of metrics in the result.
warningsArray<string>A list of potential warnings about the query. For example deprecated feature usage etc.

MetricDimensionCardinality​

The dimension cardinalities of a metric.

NameTypeDescription
estimate*requirednumberThe cardinality estimate of the dimension.
key*requiredstring

The key of the dimension.

It must be unique within the metric.

relative*requirednumberThe relative cardinality of the dimension expressed as percentage

MetricDimensionDefinition​

The dimension of a metric.

NameTypeDescription
displayName*requiredstringThe display name of the dimension.
index*requirednumber

The unique 0-based index of the dimension.

Appending transformations such as :names or :parents may change the indexes of dimensions. null is used for the dimensions of a metric with flexible dimensions, which can be referenced with their dimension key, but do not have an intrinsic order that could be used for the index.

key*requiredstring

The key of the dimension.

It must be unique within the metric.

name*requiredstringThe name of the dimension.
type*required"OTHER" | "ENTITY" | "NUMBER" | "STRING" | "VOID"The type of the dimension.

MetricDto​

Metric gathered by an extension

NameTypeDescription
keystringMetric key
metadataMetricMetadataDtoMetric metadata

MetricEvidence​

The metric evidence of the problem.

A change of metric behavior that indicates the problem and/or is its root cause.

NameTypeDescription
displayName*requiredstringThe display name of the evidence.
endTime*requirednumber

The end time of the evidence, in UTC milliseconds.

The value null indicates that the evidence is still open.

entity*requiredEntityStubA short representation of a monitored entity.
evidenceType*required"AVAILABILITY_EVIDENCE" | "EVENT" | "MAINTENANCE_WINDOW" | "METRIC" | "TRANSACTIONAL"

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
groupingEntityEntityStubA short representation of a monitored entity.
metricId*requiredstringThe ID of the metric.
rootCauseRelevant*requiredbooleanThe evidence is (true) or is not (false) a part of the root cause.
startTime*requirednumberThe start time of the evidence, in UTC milliseconds.
unit*required"Ampere" | "Billion" | "Bit" | "BitPerHour" | "BitPerMinute" | "BitPerSecond" | "Byte" | "BytePerHour" | "BytePerMinute" | "BytePerSecond" | "Cores" | "Count" | "Day" | "DecibelMilliWatt" | "GibiByte" | "GibiBytePerHour" | "GibiBytePerMinute" | "GibiBytePerSecond" | "Giga" | "GigaByte" | "GigaBytePerHour" | "GigaBytePerMinute" | "GigaBytePerSecond" | "Hertz" | "Hour" | "KibiByte" | "KibiBytePerHour" | "KibiBytePerMinute" | "KibiBytePerSecond" | "Kilo" | "KiloByte" | "KiloBytePerHour" | "KiloBytePerMinute" | "KiloBytePerSecond" | "KiloMetrePerHour" | "MSU" | "MebiByte" | "MebiBytePerHour" | "MebiBytePerMinute" | "MebiBytePerSecond" | "Mega" | "MegaByte" | "MegaBytePerHour" | "MegaBytePerMinute" | "MegaBytePerSecond" | "MetrePerHour" | "MetrePerSecond" | "MicroSecond" | "MilliCores" | "MilliSecond" | "MilliSecondPerMinute" | "Million" | "Minute" | "Month" | "NanoSecond" | "NanoSecondPerMinute" | "NotApplicable" | "PerHour" | "PerMinute" | "PerSecond" | "Percent" | "Pixel" | "Promille" | "Ratio" | "Second" | "State" | "Trillion" | "Unspecified" | "Volt" | "Watt" | "Week" | "Year"The unit of the metric.
valueAfterChangePoint*requirednumberThe metric's value after the problem start.
valueBeforeChangePoint*requirednumberThe metric's value before the problem start.

MetricIngestError​

NameType
codenumber
invalidLinesArray<InvalidLine>
messagestring

MetricMetadataDto​

Metric metadata

NameTypeDescription
descriptionstringA short description of the metric
displayNamestringThe name of the metric in the user interface
unitstringThe unit of the metric

MetricQueryDQLTranslation​

Metric query translation to DQL.

NameTypeDescription
messagestringError message - only present if the status is not supported
querystringThe DQL query corresponding to the metric query
status"not supported" | "success"The status of the DQL translation, either success or not supported

MetricSeries​

Data points per dimension of a metric.

The data is represented by two arrays of the same length: timestamps and values. Entries of the same index from both arrays form a timestamped data point.

NameTypeDescription
dimensionMap*requiredMetricSeriesDimensionMap
dimensions*requiredArray<string>

Deprecated, refer to dimensionMap instead.

The ordered list of dimensions to which the data point list belongs.

Each metric can have a certain number of dimensions. Dimensions exceeding this number are aggregated into one, which is shown as null here.

timestamps*requiredArray<number>

A list of timestamps of data points.

The value of data point for each time from this array is located in values array at the same index.

values*requiredArray<number>

A list of values of data points.

The timestamp of data point for each value from this array is located in timestamps array at the same index.

MetricSeriesCollection​

Data points of a metric.

NameTypeDescription
appliedOptionalFiltersArray<AppliedFilter>A list of filtered metric keys along with filters that have been applied to these keys, from the optionalFilter parameter.
data*requiredArray<MetricSeries>Data points of the metric.
dataPointCountRatio*requirednumberThe ratio of queried data points divided by the maximum number of data points per metric that are allowed in a single query.
dimensionCountRatio*requirednumberThe ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
dqlMetricQueryDQLTranslationMetric query translation to DQL.
metricId*requiredstring

The key of the metric.

If any transformation is applied, it is included here.

warningsArray<string>A list of potential warnings that affect this ID. For example deprecated feature usage etc.

MetricSeriesDimensionMap​

type: Record<string, string>

MetricValueType​

The value type for the metric.

NameTypeDescription
type*required"error" | "score" | "unknown"The metric value type

MinimalExtension​

A list of extensions.

NameTypeDescription
extensionName*requiredstringExtension name
version*requiredstringExtension version

Example: 1.2.3
Pattern: ^(0|[1-9]\d*)(\.(0|[1-9]\d*))?(\.(0|[1-9]\d*))?

MobileImpact​

Analysis of problem impact to a mobile application.

NameTypeDescription
estimatedAffectedUsers*requirednumberThe estimated number of affected users.
impactType*required"APPLICATION" | "CUSTOM_APPLICATION" | "MOBILE" | "SERVICE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact
impactedEntity*requiredEntityStubA short representation of a monitored entity.

Modification​

The additional modification details for this settings object.

NameTypeDescription
firstbooleanIf non-moveable settings object is in the first group of non-moveable settings, or in the last (start or end of list).
modifiablePaths*requiredArray<string>Property paths which are modifiable, regardless if the write operation is allowed.
movablebooleanIf settings object can be moved/reordered. Only applicable for ordered list schema.
nonModifiablePaths*requiredArray<string>Property paths which are not modifiable, even if the write operation is allowed.

ModificationInfo​

DEPRECATED

The modification info for a single updatable setting. Replaced by resourceContext.

NameTypeDescription
deletable*requiredbooleanIf settings value can be deleted
firstbooleanIf non-moveable settings value is in the first group of non-moveable settings, or in the last (start or end of list)
modifiable*requiredbooleanIf settings value can be modified
modifiablePaths*requiredArray<string>Property paths which are modifiable, regardless of the state of modifiable
movable*requiredbooleanIf settings value can be moved/reordered. Only applicable for ordered list schema
nonModifiablePaths*requiredArray<string>Property paths which are not modifiable, when modifiable is true

MonitorEntityIdDto​

A DTO for monitor entity ID.

NameTypeDescription
entityId*requiredstringMonitor entity ID.

MonitorExecutionResults​

Results of the execution of all HTTP monitor's requests.

NameTypeDescription
locationsExecutionResultsArray<LocationExecutionResults>The list with the results of the requests executed on assigned locations.
monitorIdstringMonitor id.

MonitorPropertyDto​

Property of a Browser Monitor.

NameTypeDescription
name*requiredstringProperty name.
value*requiredstringProperty value.

MonitorRequestExecutionResult​

A result of the execution HTTP monitor's request.

NameTypeDescription
cloudPlatformstringCloud platform of the location.
customLogsArray<CustomLogLine>Custom log messages.
engineIdnumberVUC's id on which monitor's request was executed.
failureMessagestringRequest's failure message.
healthStatusstringRequest's health status.
healthStatusCodenumberRequest's health status code.
hostNameResolutionTimenumberA hostname resolution time measured in ms.
methodstringRequest method type.
monitorType*required"BROWSER" | "HTTP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • BROWSER -> BMAction
  • HTTP -> MonitorRequestExecutionResult
peerCertificateDetailsstringRequest's certificate details.
peerCertificateExpiryDatenumberAn expiry date of the first SSL certificate from the certificate chain.
publicLocationbooleanFlag informs whether request was executed on public location.
redirectionTimenumberTotal number of milliseconds spent on handling all redirect requests, measured in ms.
redirectsCountnumberNumber of request's redirects.
requestBodystringRequest's request body.
requestHeadersArray<MonitorRequestHeader>A list of request's headers
requestIdstringRequest id.
requestNamestringRequest name.
resolvedIpsArray<string>Request's resolved ips.'
responseBodystringRequest's response body.
responseBodySizeLimitExceededbooleanA flag indicating that the response payload size limit of 10MB has been exceeded.
responseHeadersArray<MonitorRequestHeader>A list of request's response headers
responseMessagestringRequest's response message.'
responseSizenumberRequest's response size in bytes.
responseStatusCodenumberRequest's response status code.
sequenceNumbernumberRequest's sequence number.
startTimestampnumberRequest start timestamp.
tcpConnectTimenumberA TCP connect time measured in ms.
timeToFirstBytenumberA time to first byte measured in ms.
tlsHandshakeTimenumberA TLS handshake time measured in ms.
totalTimenumberA total request time measured in ms.
urlstringRequest URL address.
waitingTimenumberWaiting time (time to first byte - (DNS lookup time + TCP connect time + TLS handshake time), measured in ms.

MonitorRequestHeader​

A header of the Http request

NameTypeDescription
name*requiredstringHeader's name.
value*requiredstringHeader's value.

MonitoredEntityStateParam​

Key-value parameter of the monitoring state.

NameTypeDescription
keystringThe key of the monitoring state parameter.
valuesstringThe value of the monitoring state parameter.

MonitoredEntityStates​

Monitoring state of the process group instance.

NameTypeDescription
entityIdstringThe Dynatrace entity ID of the process group instance.
paramsArray<MonitoredEntityStateParam>Additional parameters of the monitoring state.
severity"deep_monitoring_ok" | "info" | "ok" | "warning"The type of the monitoring state.
state"ok" | "agent_injection_status_go_dynamizer_failed" | "agent_injection_status_go_fips_detected_but_feature_disabled" | "agent_injection_status_go_pclntab_failed" | "agent_injection_status_go_vertigo_support_added" | "agent_injection_status_nginx_patched_binary_detected" | "agent_injection_status_php_opcache_disabled" | "agent_injection_status_php_stack_size_too_low" | "agent_injection_suppression" | "aix_enable_full_monitoring_needed" | "bad_installer" | "boshbpm_disabled" | "container_injection_failed" | "containerd_disabled" | "crio_disabled" | "custom_pg_rule_required" | "deep_monitoring_successful" | "deep_monitoring_unsuccessful" | "docker_disabled" | "garden_disabled" | "host_infra_structure_only" | "host_monitoring_disabled" | "network_agent_inactive" | "parent_process_restart_required" | "podman_disabled" | "process_group_different_id_due_to_declarative_grouping" | "process_group_disabled" | "process_group_disabled_via_container_injection_rule" | "process_group_disabled_via_container_injection_rule_restart" | "process_group_disabled_via_global_settings" | "process_group_disabled_via_injection_rule" | "process_group_disabled_via_injection_rule_restart" | "process_group_pgr_group_update_suppressed" | "restart_required" | "restart_required_apache" | "restart_required_docker_deamon" | "restart_required_host_group_inconsistent" | "restart_required_host_id_inconsistent" | "restart_required_outdated_agent_apache_update" | "restart_required_outdated_agent_injected" | "restart_required_using_different_data_storage_dir" | "restart_required_using_different_log_path" | "restart_required_virtualized_container" | "unsupported_state" | "winc_disabled"The name of the monitoring state.

MonitoredStates​

A list of process group instances and their monitoring states.

NameTypeDescription
monitoringStatesArray<MonitoredEntityStates>A list of process group instances and their monitoring states.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCountnumberThe total number of unique process group instances in the response.

MonitoringConfigurationDto​

NameTypeDescription
scope*requiredstringThe scope this monitoring configuration will be defined for

Example: HOST-D3A3C5A146830A79
valueJsonNodeThe monitoring configuration

MonitoringConfigurationResponse​

NameTypeDescription
code*requirednumberThe HTTP Status code
objectId*requiredstringThe identifier of the new configuration

Example: 331e416f-9ab7-4694-8408-816026820645

MonitoringConfigurationUpdateDto​

NameTypeDescription
valueJsonNodeThe monitoring configuration

MuteState​

Metadata of the muted state of a security problem in relation to an event.

NameTypeDescription
commentstringA user's comment.
reason"OTHER" | "AFFECTED" | "CONFIGURATION_NOT_AFFECTED" | "FALSE_POSITIVE" | "IGNORE" | "INITIAL_STATE" | "VULNERABLE_CODE_NOT_IN_USE"The reason for the mute state change.
userstringThe user who has muted or unmuted the problem.

Step of Browser Monitor that navigates to a website.

NameTypeDescription
authenticationnull | AuthenticationDtoAuthentication dto for Browser Monitor step.
entityIdnull | stringEntity Id.
name*requiredstringThe name of Browser Monitor step.
targetnull | TargetDtoTarget of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto
url*requiredstringField containing the url that the monitor should navigate to.
validationRulesnull | Array<ValidationRuleDto>List of validation rules for the step to perform.
waitConditionnull | BaseWaitConditionDtoWait condition for Browser Monitor step.

NetworkThrottlingDto​

Network throttling of a Browser Monitor.

NameTypeDescription
downloadnull | numberDownload throughput. If not defined in request, it will be set to -1 by default.
latencynull | numberLatency. If not defined in request, it will be set to 0 by default.
namenull | stringPredefined network type. If not defined in request, it will be set to "" by default.
uploadnull | numberUpload throughput. If not defined in request, it will be set to -1 by default.

NetworkZone​

Configuration of a network zone.

NameTypeDescription
alternativeZonesArray<string>A list of alternative network zones.
descriptionstringA short description of the network zone.
fallbackMode"NONE" | "ANY_ACTIVE_GATE" | "ONLY_DEFAULT_ZONE"The fallback mode of the network zone.
idstringThe ID of the network zone.
numOfConfiguredActiveGatesnumberThe number of ActiveGates in the network zone.
numOfConfiguredOneAgentsnumberThe number of OneAgents that are configured to use the network zone as primary.
numOfOneAgentsFromOtherZonesnumber

The number of OneAgents from other network zones that are using ActiveGates in the network zone.

This is a fraction of numOfOneAgentsUsing.

One possible reason for switching to another zone is that a firewall is preventing a OneAgent from connecting to any ActiveGate in the preferred network zone.

numOfOneAgentsUsingnumberThe number of OneAgents that are using ActiveGates in the network zone.
overridesGlobalbooleanIndicates if a global network zone is overridden (managed only).
scopestringSpecifies the scope of the network zone (managed only).

NetworkZoneConnectionStatistics​

Runtime information about host connections.

NameTypeDescription
hostsConfiguredButNotConnectedArray<string>Hosts from the network zone that use other zones.
hostsConnectedAsAlternativeArray<string>Hosts that use the network zone as an alternative.
hostsConnectedAsFailoverArray<string>Hosts from other zones that use the zone (not configured as an alternative) even though ActiveGates of higher priority are available.
hostsConnectedAsFailoverWithoutActiveGatesArray<string>Hosts from other zones that use the zone (not configured as an alternative) and no ActiveGates of higher priority are available.

NetworkZoneList​

A list of network zones.

NameTypeDescription
networkZones*requiredArray<NetworkZone>A list of network zones.

NetworkZoneSettings​

Global network zone configuration.

NameTypeDescription
networkZonesEnabledbooleanNetwork zones feature is enabled (true) or disabled (false).

Node​

Configuration of a synthetic node.

A synthetic node is an ActiveGate that is able to execute synthetic monitors.

NameTypeDescription
activeGateVersion*requiredstringThe version of the Active Gate.
autoUpdateEnabled*requiredbooleanThe Active Gate has the Auto update option enabled ('true') or not ('false')
browserMonitorsEnabled*requiredbooleanThe synthetic node is able to execute browser monitors (true) or not (false).
browserType*requiredstringThe browser type.
browserVersion*requiredstringThe browser version.
capabilities*requiredArray<string>The list of node's capabilities.
entityId*requiredstringThe ID of the synthetic node.
healthCheckStatus*requiredstringThe health check status of the synthetic node.
hostname*requiredstringThe hostname of the synthetic node.
ips*requiredArray<string>The IP of the synthetic node.
oneAgentRoutingEnabled*requiredbooleanThe Active Gate has the One Agent routing enabled ('true') or not ('false').
operatingSystem*requiredstringThe Active Gate's host operating system.
playerVersion*requiredstringThe version of the synthetic player.
status*requiredstringThe status of the synthetic node.
version*requiredstringThe version of the synthetic node.

NodeCollectionElement​

The short representation of a synthetic object. Only contains the ID and the display name.

NameTypeDescription
activeGateVersion*requiredstringThe version of the Active Gate.
autoUpdateEnabled*requiredbooleanThe Active Gate has the Auto update option enabled ('true') or not ('false')
browserMonitorsEnabled*requiredbooleanBrowser check capabilities enabled flag.
capabilities*requiredArray<string>The list of node's capabilities.
entityId*requiredstringThe ID of a node.
healthCheckStatus*requiredstringThe health check status of the synthetic node.
hostname*requiredstringThe hostname of a node.
ips*requiredArray<string>The IP of a node.
oneAgentRoutingEnabled*requiredbooleanThe Active Gate has the One Agent routing enabled ('true') or not ('false').
operatingSystem*requiredstringThe Active Gate's host operating system.
playerVersion*requiredstringThe version of the synthetic player.
status*requiredstringThe status of the synthetic node.
version*requiredstringThe version of a node

Nodes​

A list of synthetic nodes

NameTypeDescription
nodes*requiredArray<NodeCollectionElement>A list of synthetic nodes

ObjectsList​

A list of settings objects.

NameTypeDescription
items*requiredArray<SettingsObject>A list of settings objects.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSize*requirednumberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

PermissionContext​

Optional context data

NameTypeDescription
schemaId*requiredstringSettings schema id for conditional permission

Example: service:schema
scope*requiredstringSettings scope for conditional permission

Example: environment

PlainAuthenticationDto​

Plain authentication dto for Browser Monitor step.

NameTypeDescription
authServerAllowlistnull | stringString containing the allowed servers of KERBEROS authentication. Can be defined only for KERBEROS authentication type.
domainnull | stringString containing the KERBEROS authentication domain. Can be defined only for KERBEROS authentication type.
inputType*required"PLAIN" | "SECURE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureAuthenticationDto
  • PLAIN -> PlainAuthenticationDto
password*requiredstringString containing the password.
type*required"HTTP_AUTHENTICATION" | "KERBEROS" | "WEBFORM"Type of authentication.
username*requiredstringString containing the username.

PlainKeystrokesInputDto​

Credential-based input for keystrokes step.

NameTypeDescription
maskednull | booleanBoolean value set to true only if key strokes input textValue field is encoded by recorder and should be decoded by VUP. Set to false by default.
textValue*requiredstringString value containing the text.
type*required"PLAIN" | "SECURE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureKeystrokesInputDto
  • PLAIN -> PlainKeystrokesInputDto

Precondition​

A precondition for visibility of a property.

NameTypeDescription
expectedValueAnyValue

The expected value of the property.

Only applicable to properties of the EQUALS type.



Example: expectedValue
expectedValuesArray<AnyValue>

A list of valid values of the property.

Only applicable to properties of the IN type.



Example: expectedValues
patternstring

The Regular expression which is matched against the property.

Only applicable to properties of the REGEX_MATCH type.



Example: example Regex
preconditionPreconditionA precondition for visibility of a property.
preconditionsArray<Precondition>

A list of child preconditions to be evaluated.

Only applicable to properties of the AND and OR types.

propertystringThe property to be evaluated.

Example: propertyToEvaluate
type*required"EQUALS" | "AND" | "IN" | "NOT" | "NULL" | "OR" | "REGEX_MATCH"The type of the precondition.

Example: NULL

PrivateSyntheticLocation​

Configuration of a private synthetic location.

Some fields are inherited from the base SyntheticLocation object.

NameTypeDescription
autoUpdateChromiumbooleanNon-containerized location property. Auto upgrade of Chromium is enabled (true) or disabled (false).
availabilityLocationOutagebooleanAlerting for location outage is enabled (true) or disabled (false). Supported only for private Synthetic locations.
availabilityNodeOutagebooleanAlerting for node outage is enabled (true) or disabled (false). \n\n If enabled, the outage of any node in the location triggers an alert. Supported only for private Synthetic locations.
availabilityNotificationsEnabledbooleanNotifications for location and node outage are enabled (true) or disabled (false). Supported only for private Synthetic locations.
browserExecutionSupportedboolean

Containerized location property. Boolean value describes if browser monitors will be executed on this location:

  • false: Browser monitor executions disabled.
  • true: Browser monitor executions enabled.
citystringThe city of the location.
countryCodestring

The country code of the location.

To fetch the list of available country codes, use the GET all countries request.

countryNamestringThe country name of the location.
deploymentType"UNKNOWN" | "KUBERNETES" | "OPENSHIFT" | "STANDARD"

The deployment type of the location:

  • STANDARD: The location is deployed on Windows or Linux.
  • KUBERNETES: The location is deployed on Kubernetes.
entityIdstringThe Dynatrace entity ID of the location.
fipsMode"ENABLED" | "DISABLED" | "ENABLED_WITH_CORPORATE_PROXY"

Containerized location property indicating whether FIPS mode is enabled on this location:

  • DISABLED: FIPS is not enabled on the location.
  • ENABLED: FIPS is enabled on the location.
  • ENABLED_WITH_CORPORATE_PROXY: FIPS with corporate proxy is enabled on this location. Default: DISABLED
geoLocationIdstringThe Dynatrace GeoLocation ID of the location.
latitude*requirednumberThe latitude of the location in DDD.dddd format.
locationNodeOutageDelayInMinutesnumberAlert if location or node outage lasts longer than X minutes. \n\n Only applicable when availabilityLocationOutage or availabilityNodeOutage is set to true. Supported only for private Synthetic locations.

Minimum: 1
longitude*requirednumberThe longitude of the location in DDD.dddd format.
maxActiveGateCountnumberContainerized location property. The maximum number of ActiveGates deployed for the location (required for a Kubernetes location).

Minimum: 1
minActiveGateCountnumberContainerized location property. The minimum number of ActiveGates deployed for the location (required for a Kubernetes location).

Minimum: 1
namExecutionSupportedboolean

Containerized location property. Boolean value describes if icmp monitors will be executed on this location:

  • false: Icmp monitor executions disabled.
  • true: Icmp monitor executions enabled.
name*requiredstringThe name of the location.
nodeNamesPrivateSyntheticLocationNodeNamesA mapping id to name of the nodes belonging to the location.
nodeSize"UNSUPPORTED" | "M" | "S" | "XS"

Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:

  • XS: extra small
  • S: small
  • M: medium The node size L is not supported in containerized locations.
nodes*requiredArray<string>

A list of synthetic nodes belonging to the location.

You can retrieve the list of available nodes with the GET all nodes call.

regionCodestring

The region code of the location.

To fetch the list of available region codes, use the GET regions of the country request.

regionNamestringThe region name of the location.
status"ENABLED" | "DISABLED" | "HIDDEN"

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.
type*required"CLUSTER" | "PUBLIC" | "PRIVATE"
useNewKubernetesVersionboolean

Containerized location property. Boolean value describes which kubernetes version will be used:

  • false: Version 1.23+ that is older than 1.26
  • true: Version 1.26+.

PrivateSyntheticLocationNodeNames​

A mapping id to name of the nodes belonging to the location.

type: Record<string, string>

Problem​

The properties of a problem.

NameTypeDescription
affectedEntities*requiredArray<EntityStub>A list of all entities that are affected by the problem.
displayId*requiredstringThe display ID of the problem.
endTime*requirednumber

The end timestamp of the problem, in UTC milliseconds.

Has -1 value, if the problem is still open.

entityTagsArray<METag>A list of all entity tags of the problem.
evidenceDetailsEvidenceDetailsThe evidence details of a problem.
impactAnalysisImpactAnalysisA list of all impacts of the problem.
impactLevel*required"ENVIRONMENT" | "APPLICATION" | "INFRASTRUCTURE" | "SERVICES"The impact level of the problem. It shows what is affected by the problem.
impactedEntities*requiredArray<EntityStub>A list of all entities that are impacted by the problem.
k8s.cluster.nameArray<string>The related Kubernetes cluster names.
k8s.cluster.uidArray<string>The related Kubernetes cluster UIDs.
k8s.namespace.nameArray<string>The related Kubernetes namespace names.
linkedProblemInfoLinkedProblemThe properties of the linked problem.
managementZones*requiredArray<ManagementZone>A list of all management zones that the problem belongs to.
problemFilters*requiredArray<AlertingProfileStub>A list of alerting profiles that match the problem.
problemId*requiredstringThe ID of the problem.
recentCommentsCommentsListA list of comments.
rootCauseEntityEntityStubA short representation of a monitored entity.
severityLevel*required"CUSTOM_ALERT" | "AVAILABILITY" | "ERROR" | "INFO" | "MONITORING_UNAVAILABLE" | "PERFORMANCE" | "RESOURCE_CONTENTION"The severity of the problem.
startTime*requirednumberThe start timestamp of the problem, in UTC milliseconds.
status*required"CLOSED" | "OPEN"The status of the problem.
title*requiredstringThe name of the problem, displayed in the UI.

ProblemCloseRequestDtoImpl​

NameTypeDescription
message*requiredstringThe text of the closing comment.

ProblemCloseResult​

The result of closing a problem.

NameTypeDescription
closeTimestamp*requirednumberThe timestamp when the user triggered the closing.
closing*requiredbooleanTrue, if the problem is being closed.
commentCommentThe comment to a problem.
problemId*requiredstringThe ID of the problem.

Problems​

A list of problems.

NameTypeDescription
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
problems*requiredArray<Problem>The result entries.
totalCount*requirednumberThe total number of entries in the result.
warningsArray<string>A list of warnings

ProcessGroupVulnerableFunctions​

The vulnerable functions of a process group including their usage.

NameTypeDescription
functionsInUseArray<VulnerableFunction>A list of vulnerable functions in use.
functionsNotAvailableArray<VulnerableFunction>A list of vulnerable functions with unknown state.
functionsNotInUseArray<VulnerableFunction>A list of vulnerable functions not in use.
processGroupstringThe process group identifier.

PropertyDefinition​

Configuration of a property in a settings schema.

NameTypeDescription
constraintsArray<Constraint>A list of constraints limiting the values to be accepted.
datasourceDatasourceDefinitionConfiguration of a datasource for a property.
defaultAnyValue

The default value to be used when no value is provided.

If a non-singleton has the value of null, it means an empty collection.



Example: propertyDefaultValue
descriptionstringA short description of the property.

Example: propertyDescription
displayNamestringThe display name of the property.

Example: propertyDisplayName
documentationstringAn extended description and/or links to documentation.

Example: propertyDocumentation
forceSecretResubmissionbooleanDefines if value is allowed to be modified when secret properties are not

Example: true
itemsItemAn item of a collection property.
maxObjects*requirednumber

The maximum number of objects in a collection property.

Has the value of 1 for singletons.

metadataPropertyDefinitionMetadataMetadata of the property.
migrationPatternstringPattern with references to properties to create a new value.
minObjectsnumberThe minimum number of objects in a collection property.

Example: 1
modificationPolicy"DEFAULT" | "ALWAYS" | "NEVER"Modification policy of the property.

Example: ALWAYS
nullable*requiredbooleanThe value can (true) or can't (false) be null.

Example: true
preconditionPreconditionA precondition for visibility of a property.
referencedTypestringThe type referenced by the property value

Example: propertyReferencedType
subTypestringThe subtype of the property's value.

Example: propertySubType
type*requiredstring | RefPointerThe type of the property's value.
uiCustomizationUiCustomizationCustomization for UI elements

PropertyDefinitionMetadata​

Metadata of the property.

type: Record<string, string>

ProtocolDetails​

Details that are specific to the used protocol.

NameTypeDescription
httpHttpProtocolDetailsHTTP specific request details.

ProxyDto​

Browser Monitor proxy.

NameTypeDescription
pacUrl*requiredstringpacUrl

PublicCertificateCredentials​

A credentials set of the PUBLIC_CERTIFICATE type.

NameTypeDescription
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
certificate*requiredstringThe certificate in the string format.
certificateFormat*required"UNKNOWN" | "PEM" | "PKCS12"The certificate format.
descriptionstringA short description of the credentials set.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
password*requiredstringThe password of the credential (not supported).
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

PublicSyntheticLocation​

Configuration of a public synthetic location.

Some fields are inherited from the base SyntheticLocation object.

NameTypeDescription
browserType*requiredstringThe type of the browser the location is using to execute browser monitors.
browserVersion*requiredstringThe version of the browser the location is using to execute browser monitors.
capabilitiesArray<string>A list of location capabilities.
citystringThe city of the location.
cloudPlatform*required"AZURE" | "ALIBABA" | "GOOGLE_CLOUD" | "OTHER" | "AMAZON_EC2" | "DYNATRACE_CLOUD" | "INTEROUTE" | "UNDEFINED"The cloud provider where the location is hosted.
countryCodestring

The country code of the location.

To fetch the list of available country codes, use the GET all countries request.

countryNamestringThe country name of the location.
entityIdstringThe Dynatrace entity ID of the location.
geoLocationIdstringThe Dynatrace GeoLocation ID of the location.
ips*requiredArray<string>The list of IP addresses assigned to the location.
latitude*requirednumberThe latitude of the location in DDD.dddd format.
longitude*requirednumberThe longitude of the location in DDD.dddd format.
name*requiredstringThe name of the location.
regionCodestring

The region code of the location.

To fetch the list of available region codes, use the GET regions of the country request.

regionNamestringThe region name of the location.
stage*required"BETA" | "COMING_SOON" | "DELETED" | "GA"The stage of the location.
status"ENABLED" | "DISABLED" | "HIDDEN"

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.
type*required"CLUSTER" | "PUBLIC" | "PRIVATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> PublicSyntheticLocation
  • PRIVATE -> PrivateSyntheticLocation
  • CLUSTER -> PrivateSyntheticLocation

PutBody​

NameTypeDescription
file*requiredBinary | Buffer | Blob | FileReact Native mapping file to upload

ReactNativeMappingFileDto​

A list of React Native mapping files.

NameTypeDescription
appIdstringThe ID of the application the mapping file belongs to.
appInternalIdstringThe internal ID of the application the mapping file belongs to.
bundleNamestringThe name of the bundle.
bundleVersionstringThe version of the bundle.
fileNamestringThe name of the mapping file.
metadataReactNativeMappingFileMetadataDto
platform"ANDROID" | "IOS"The platform (operating system) the mapping file belongs to.

ReactNativeMappingFileListDto​

NameTypeDescription
mappingFilesArray<ReactNativeMappingFileDto>A list of React Native mapping files.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

ReactNativeMappingFileMetadataDto​

NameTypeDescription
pinnedbooleanWhether the file is pinned and therefore not automatically deleted.
storedSizeInBytesnumberFile size in bytes, as it is stored.
uploadTimestampInMillisecondsnumberUpload timestamp in milliseconds.

ReactNativeMappingFileMetadataUpdateDto​

NameTypeDescription
pinnedbooleanWhether the file is pinned and therefore not automatically deleted.

RefPointer​

Object with a pointer to a JSON object

NameTypeDescription
$ref*requiredstringPointer to a JSON object this object should be logically replaced with.

Example: refPointerToAnotherJsonObject

RegisteredExtensionResultDto​

NameTypeDescription
extensionNamestringFQN of the extension registered in the tenant.
extensionVersionstringVersion number of the extension.

RelatedAttacksList​

A list of related attacks of the security problem.

Related attacks are attacks on the exposed security problem.

NameTypeDescription
attacksArray<string>A list of related attack ids.

RelatedContainerImage​

Related container image of a security problem.

NameTypeDescription
affectedEntitiesArray<string>A list of affected entities.
imageIdstringThe image ID of the related container image.
imageNamestringThe image name of the related container image.
numberOfAffectedEntitiesnumberThe number of affected entities.

RelatedContainerList​

A list of related container images.

NameTypeDescription
containerImagesArray<RelatedContainerImage>A list of related container images.

RelatedEntitiesList​

A list of related entities of the security problem.

A related entity is a monitored entity that is directly or indirectly related to an affected entity (for example, it could be a host where an affected process runs).

Each related entity contains a list of corresponding affected entities (for example, an affected process running on this host).

NameTypeDescription
applicationsArray<RelatedEntity>A list of related applications.
databasesArray<string>A list of related databases.
hostsArray<RelatedEntity>A list of related hosts.
kubernetesClustersArray<RelatedEntity>A list of related Kubernetes clusters.
kubernetesWorkloadsArray<RelatedEntity>A list of related Kubernetes workloads.
servicesArray<RelatedService>A list of related services.

RelatedEntity​

An entity related to a security problem.

NameTypeDescription
affectedEntitiesArray<string>A list of affected entities related to the entity.
idstringThe Dynatrace entity ID of the entity.
numberOfAffectedEntitiesnumberThe number of affected entities related to the entity.

RelatedService​

A service related to a security problem.

NameTypeDescription
affectedEntitiesArray<string>A list of affected entities related to the entity.
exposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The level of exposure of the service.
idstringThe Dynatrace entity ID of the entity.
numberOfAffectedEntitiesnumberThe number of affected entities related to the entity.

Release​

Contains data related to a single release of a component. A Release is a combination of a component and a version. A Component can be any form of deployable that can be associated with a version. In the first draft, a Component is always a Service.

The tuple <name, product, stage, version> is always unique.

NameTypeDescription
affectedByProblemsbooleanThe entity has one or more problems

Example: true
affectedBySecurityVulnerabilitiesbooleanThe entity has one or more security vulnerabilities

Example: true
instancesArray<ReleaseInstance>The instances entityIds included in this release

Example: ["PROCESS_GROUP_INSTANCE-49D94B90FB71C45B","PROCESS_GROUP_INSTANCE-7EA049157C82D1A5"]
namestringThe entity name

Example: cluster
problemCountnumberThe number of problems of the entity

Example: 4
Minimum: 0
productstringThe product name

Example: Sockshop
releaseEntityIdstringThe entity id of correlating release.

Example: PROCESS_GROUP-DFDBAC9CBF104253
runningbooleanThe related PGI is still running/monitored

Example: true
securityVulnerabilitiesCountnumberThe number of security vulnerabilities of the entity

Example: 4
Minimum: 0
securityVulnerabilitiesEnabledbooleanIndicates that the security vulnerabilities feature is enabled

Example: true
softwareTechsArray<SoftwareTechs>The software technologies of the release

Example: [{"edition":"OpenJDK","technology":"JAVA","verbatimType":"Java","version":"1.8.0_242"}]
stagestringThe stage name

Example: staging
throughputnumberThe count of bytes per second of the entity

Example: 923234
Minimum: 0
versionstringThe identified release version

Example: 1.195.34.12341232423-012342

ReleaseInstance​

Contains data related to a single instance of a release. An instance is a Process Group Instance and has an optional build version.

NameTypeDescription
buildVersionnull | stringThe build version

Example: 223005
entityIdstringThe entity id of the instance.

Example: PROCESS_GROUP_INSTANCE-DFDBAC9CBF104253
problemsArray<string>List of event Ids of open problems

Example: ["573177299181554914_1616573184015V2"]
securityVulnerabilitiesArray<string>List of Security vulnerabilities Ids

Example: ["SNYK-JAVA-COMFASTERXMLJACKSONCORE-1234567"]

Releases​

A list of releases.

NameTypeDescription
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
releasesArray<Release>A list of releases.
releasesWithProblemsnumberNumber of releases with problems.
totalCount*requirednumberThe total number of entries in the result.

RemediationAssessment​

Assessment of the remediation item.

NameTypeDescription
assessmentAccuracy"NOT_AVAILABLE" | "FULL" | "REDUCED"The accuracy of the assessment.
assessmentAccuracyDetailsAssessmentAccuracyDetailsThe assessment accuracy details.
dataAssets"NOT_AVAILABLE" | "NOT_DETECTED" | "REACHABLE"The reachability of related data assets by affected entities.
exposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The level of exposure of affected entities.
numberOfDataAssetsnumberThe number of related data assets.
vulnerableFunctionRestartRequiredbooleanWhether a restart is required for the latest vulnerable function data.
vulnerableFunctionUsage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"The usage of vulnerable functions
vulnerableFunctionsInUseArray<VulnerableFunction>A list of vulnerable functions that are in use.
vulnerableFunctionsNotAvailableArray<VulnerableFunction>A list of vulnerable functions that are not available.
vulnerableFunctionsNotInUseArray<VulnerableFunction>A list of vulnerable functions that are not in use.

RemediationDetailsItem​

Detailed information of a remediation item for a security problem.

NameTypeDescription
assessmentRemediationAssessmentAssessment of the remediation item.
entityIdsArray<string>
firstAffectedTimestampnumber
idstring
muteStateRemediationItemMuteStateThe mute state of a remediation item of a security problem.
namestring
remediationProgressRemediationProgressThe progress of this remediation item. It contains affected and unaffected entities.
resolvedTimestampnumber
trackingLinkTrackingLinkExternal tracking link URL associated with the remediable entity of the security problem.
vulnerabilityState"RESOLVED" | "VULNERABLE"
vulnerableComponentsArray<RemediationItemDetailsVulnerableComponent>

A list of vulnerable components of the remediation item.

A vulnerable component is what causes the security problem.

RemediationItem​

A possible remediation for a security problem.

NameTypeDescription
assessmentRemediationAssessmentAssessment of the remediation item.
entityIdsArray<string>
firstAffectedTimestampnumber
idstring
muteStateRemediationItemMuteStateThe mute state of a remediation item of a security problem.
namestring
remediationProgressRemediationProgressThe progress of this remediation item. It contains affected and unaffected entities.
resolvedTimestampnumber
trackingLinkTrackingLinkExternal tracking link URL associated with the remediable entity of the security problem.
vulnerabilityState"RESOLVED" | "VULNERABLE"
vulnerableComponentsArray<VulnerableComponent>

A list of vulnerable components of the remediation item.

A vulnerable component is what causes the security problem.

RemediationItemDetailsVulnerableComponent​

A vulnerable component with details for a remediation item (PG).

NameTypeDescription
affectedEntitiesArray<string>A list of affected entities.
displayNamestringThe display name of the vulnerable component.
fileNamestringThe file name of the vulnerable component.
idstringThe Dynatrace entity ID of the vulnerable component.
loadOriginsArray<string>The load origins of the vulnerable components.
numberOfAffectedEntitiesnumberThe number of affected entities.
shortNamestringThe short, component-only name of the vulnerable component.

RemediationItemList​

A list of remediation items.

NameTypeDescription
remediationItemsArray<RemediationItem>A list of remediation items.

RemediationItemMuteState​

The mute state of a remediation item of a security problem.

NameTypeDescription
commentstringA short comment about the most recent mute state change.
lastUpdatedTimestampnumberThe timestamp (UTC milliseconds) of the last update of the mute state.
mutedbooleanThe remediation is (true) or is not (false) muted.
reason"OTHER" | "AFFECTED" | "CONFIGURATION_NOT_AFFECTED" | "FALSE_POSITIVE" | "IGNORE" | "INITIAL_STATE" | "VULNERABLE_CODE_NOT_IN_USE"The reason for the most recent mute state change.
userstringThe user who last changed the mute state.

RemediationItemMuteStateChange​

An updated configuration of the remediation item's mute state.

NameTypeDescription
comment*requiredstringA comment about the mute state change reason.
muted*requiredbooleanThe desired mute state of the remediation item.
reason*required"OTHER" | "AFFECTED" | "CONFIGURATION_NOT_AFFECTED" | "FALSE_POSITIVE" | "IGNORE" | "INITIAL_STATE" | "VULNERABLE_CODE_NOT_IN_USE"The reason for the mute state change.

Example: IGNORE

RemediationItemMutingSummary​

Summary of (un-)muting a remediation item.

NameTypeDescription
muteStateChangeTriggered*requiredbooleanWhether a mute state change for the given remediation item was triggered by this request.
reason"ALREADY_MUTED" | "ALREADY_UNMUTED" | "REMEDIATION_ITEM_NOT_AFFECTED_BY_GIVEN_SECURITY_PROBLEM"Contains a reason, in case the requested operation was not executed.
remediationItemId*requiredstringThe id of the remediation item that will be (un-)muted.

RemediationItemsBulkMute​

Information on muting several remediation items.

NameTypeDescription
commentstringA comment about the muting reason.
reason*required"OTHER" | "CONFIGURATION_NOT_AFFECTED" | "FALSE_POSITIVE" | "IGNORE" | "VULNERABLE_CODE_NOT_IN_USE"The reason for muting the remediation items.
remediationItemIds*requiredArray<string>The ids of the remediation items to be muted.

RemediationItemsBulkMuteResponse​

Response of muting several remediation items.

NameTypeDescription
summary*requiredArray<RemediationItemMutingSummary>The summary of which remediation items were muted and which already were muted previously.

RemediationItemsBulkUnmute​

Information on un-muting several remediation items.

NameTypeDescription
commentstringA comment about the un-muting reason.
reason*required"AFFECTED"The reason for un-muting the remediation items.
remediationItemIds*requiredArray<string>The ids of the remediation items to be un-muted.

RemediationItemsBulkUnmuteResponse​

Response of un-muting several remediation items.

NameTypeDescription
summary*requiredArray<RemediationItemMutingSummary>The summary of which remediation items were un-muted and which already were un-muted previously.

RemediationItemsBulkUpdateDeleteDto​

Contains the external tracking link associations to be applied to the remediation items of the security problem.

NameTypeDescription
deletesArray<string>

Tracking links to remove from the security problem.

List of remediation item IDs of the security problem for which to remove the tracking links.

updatesRemediationItemsBulkUpdateDeleteDtoUpdates

Tracking links to set for the security problem.

Map of remediation item ID to tracking link objects.

Keys must be valid remediation item IDs of the security problem, the associated value must contain the link to set for the item.

RemediationItemsBulkUpdateDeleteDtoUpdates​

Tracking links to set for the security problem.

Map of remediation item ID to tracking link objects.

Keys must be valid remediation item IDs of the security problem, the associated value must contain the link to set for the item.

type: Record<string, TrackingLinkUpdate>

RemediationProgress​

The progress of this remediation item. It contains affected and unaffected entities.

NameTypeDescription
affectedEntitiesArray<string>A list of related entities that are affected by the security problem.
unaffectedEntitiesArray<string>A list of related entities that are affected by the security problem.

RemediationProgressEntity​

An affected or unaffected entity of a remediation for a security problem.

NameTypeDescription
assessmentRemediationProgressEntityAssessmentAssessment of the remediation progress entity.
firstAffectedTimestampnumberThe timestamp when the remediation progress entity has first been related to the vulnerability.
idstringThe ID of the remediation progress entity.
namestringThe name of the remediation progress entity.
state"AFFECTED" | "UNAFFECTED"The current state of the remediation progress entity.
vulnerableComponentsArray<RemediationProgressVulnerableComponent>

A list of vulnerable components of the remediation item.

A vulnerable component is what causes the security problem.

RemediationProgressEntityAssessment​

Assessment of the remediation progress entity.

NameTypeDescription
vulnerableFunctionRestartRequiredbooleanWhether a restart is required for the latest vulnerable function data.
vulnerableFunctionUsage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"The usage of vulnerable functions
vulnerableFunctionsInUseArray<VulnerableFunction>A list of vulnerable functions that are in use.
vulnerableFunctionsNotAvailableArray<VulnerableFunction>A list of vulnerable functions that are not available.
vulnerableFunctionsNotInUseArray<VulnerableFunction>A list of vulnerable functions that are not in use.

RemediationProgressEntityList​

A list of remediation progress entities.

NameTypeDescription
remediationProgressEntitiesArray<RemediationProgressEntity>A list of remediation progress entities.

RemediationProgressVulnerableComponent​

A vulnerable component with details for a remediation progress entity (PGI).

NameTypeDescription
displayNamestringThe display name of the vulnerable component.
fileNamestringThe file name of the vulnerable component.
idstringThe Dynatrace entity ID of the vulnerable component.
loadOriginsArray<string>The load origins of the vulnerable components.
shortNamestringThe short, component-only name of the vulnerable component.

RemoteConfigurationManagementEntityValidationError​

Entity validation error for remote configuration management.

NameTypeDescription
entitystringThe ID of the entity for which validation failed.

Example: entityId
reasonsArray<"CLOUD_NATIVE_NOT_SUPPORTED" | "NOT_ALLOWED_WITH_CLUSTER_ACTIVE_GATE" | "NOT_CONNECTED" | "RUNNING_IN_CONTAINER" | "STANDALONE_NOT_SUPPORTED" | "VERSION_NOT_SUPPORTED">The reason of entity validation failure.

Example: ["RUNNING_IN_CONTAINER"]

RemoteConfigurationManagementJob​

Remote configuration management job.

NameTypeDescription
endTimestringDate (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the remote configuration management job was finished. This field is present only for finished jobs.

Example: 2020-11-05T08:15:30.144Z
entityType"ACTIVE_GATE" | "ONE_AGENT"Type of entities modified by remote configuration management.

Example: ACTIVE_GATE or ONE_AGENT
failedEntitiesArray<RemoteIdentityOperationFailedEntityDto>A list of failed remote configuration management jobs.
idstringThe ID of the remote configuration management job.

Example: 7974003406714390819
inProgressEntitiesArray<string>A list of in-progress remote configuration management jobs.

Example: ["HOST-D454A967666E7970"]
operationsArray<RemoteConfigurationManagementOperation>A list of executed (successful and failed) remote configuration management jobs.
processedEntitiesCountnumberNumber of entities that were already processed at the time the response was created.

Example: 1
startTimestringDate (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the remote configuration management job was started.

Example: 2020-11-05T08:15:30.144Z
timeoutTimestringDate (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the running remote configuration management job will time-out. This field is present only for running jobs.

Example: 2020-11-05T08:15:30.144Z
totalEntitiesCountnumberTotal number of entities to process.

Example: 1

RemoteConfigurationManagementJobList​

A list of remote configuration management jobs.

NameTypeDescription
jobsArray<RemoteConfigurationManagementJobSummary>A list of remote configuration management jobs.

RemoteConfigurationManagementJobPreview​

A preview of remote configuration management job.

NameTypeDescription
alreadyConfiguredEntitiesCountnumberThe number of entities that are currently configured as defined by remote configuration management operation.

Example: 1
attribute"group" | "hostGroup" | "hostProperty" | "hostTag" | "networkZone"The attribute which is affected by the operation.

Example: networkZone
operation"clear" | "set"The operation performed on given attribute.

Example: set
targetEntitiesCountnumberThe number of entities that will be configured as defined by remote configuration management after it is completed.

Example: 2
valuenull | stringThe value which should be assigned to given attribute.

Example: exampleNetworkZoneName

RemoteConfigurationManagementJobSummary​

Remote configuration management job with basic data.

NameTypeDescription
endTimestringDate (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the remote configuration management job was finished. This field is present only for finished jobs.

Example: 2020-11-05T08:15:30.144Z
entityType"ACTIVE_GATE" | "ONE_AGENT"Type of entities modified by remote configuration management.

Example: ACTIVE_GATE or ONE_AGENT
idstringThe ID of the remote configuration management job.

Example: 7974003406714390819
startTimestringDate (in ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z') when the remote configuration management job was started.

Example: 2020-11-05T08:15:30.144Z

RemoteConfigurationManagementOperation​

Definition of a single remote configuration management operation.

NameTypeDescription
attribute*required"group" | "hostGroup" | "hostProperty" | "hostTag" | "networkZone"The attribute which is affected by the operation.

Example: networkZone
operation*required"clear" | "set"The operation performed on given attribute.

Example: set
valuestringThe value which should be assigned to given attribute.

Example: exampleNetworkZoneName

RemoteConfigurationManagementOperationActiveGateRequest​

Remote configuration management operation creation request.

NameTypeDescription
entities*requiredArray<string>A list of entities IDs for which remote configuration management is to be executed.

Example: ["0x2b7c0b02","0x4928065d"]
operations*requiredArray<RemoteConfigurationManagementOperation>A list of remote configuration management operations to be executed.

RemoteConfigurationManagementOperationOneAgentRequest​

Remote configuration management operation creation request.

NameTypeDescription
entities*requiredArray<string>A list of entities IDs for which remote configuration management is to be executed.

Example: ["HOST-D454A967666E7970","HOST-811760CFF2A5E872"]
operations*requiredArray<RemoteConfigurationManagementOperation>A list of remote configuration management operations to be executed.

RemoteConfigurationManagementOperationValidationError​

Validation error of remote configuration management operation definition.

NameTypeDescription
attribute"group" | "hostGroup" | "hostProperty" | "hostTag" | "networkZone"The attribute which is affected by the operation.

Example: networkZone
operation"clear" | "set"The operation performed on given attribute.

Example: set
reasonstringThe reason of validation failure.

Example: Value must not start with a period
valuestringThe value which should be assigned to given attribute.

Example: .exampleInvalidNetworkZoneName

RemoteConfigurationManagementPreviewList​

A list of remote configuration management jobs previews.

NameTypeDescription
previewsArray<RemoteConfigurationManagementJobPreview>A list of remote configuration management jobs previews.

RemoteConfigurationManagementValidationResult​

The result of remote configuration management validation.

NameTypeDescription
invalidEntitiesArray<RemoteConfigurationManagementEntityValidationError>A list of validation errors for entities.
invalidOperationsArray<RemoteConfigurationManagementOperationValidationError>A list of validation errors for operations.

RemoteIdentityOperationFailedEntityDto​

Failed remote configuration management information.

NameTypeDescription
entityIdstringEntity ID for which remote configuration management request was failed

Example: HOST-D454A967666E7970
failureMessagestringCommunication settings changing failure error description

Example: Failed to access new tenant: f47ac10b-58cc-4372-a567-0e02b2c3d479
failureReason"CONNECTION_FAILURE" | "TIMEOUT"Reason of communication settings changing failure.

Example: CONNECTION_FAILURE

RequestFilterDto​

Request filter for Browser Monitor.

NameTypeDescription
matchingPattern*requiredstringRegex for request that filter will be applied to.
type*required"REGEX" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "EQUALS"Filter type.

RequestHeaderOptionsDto​

Header Options of a Browser Monitor.

NameTypeDescription
matchingPatterns*requiredArray<string>Apply headers to requests matching pattern.
requestHeaders*requiredArray<MonitorRequestHeader>Request headers list.

RequestInformation​

Describes the complete request information of an attack.

NameTypeDescription
hoststringThe target host of the request.
pathstringThe request path.
protocolDetailsProtocolDetailsDetails that are specific to the used protocol.
urlstringThe requested URL.

ResolutionRequest​

NameType
permissions*requiredArray<SinglePermissionRequest>

ResourceContext​

The resource context, which contains additional permission information about the object.

NameTypeDescription
modifications*requiredModificationThe additional modification details for this settings object.
operations*requiredArray<"delete" | "read" | "write">The allowed operations on this settings object.

RevisionDiff​

The diff between two revisions.

NameTypeDescription
appIdstringThe id of the app which changed the settings object
jsonAfterstringThe new value of the changed settings value or null if the value has been deleted.
jsonBeforestringThe previous value of the changed settings value or null if the value has been newly created.
jsonPatchAnyValueThe JSON Patch for this value. May be null if the diff type is not UPDATE.
modificationInfoHistoryModificationInfoModification information about the setting.
objectIdstringThe ID of the settings object.
ownerAfterIdentityAn Identity describing either a user, a group, or the all-users group (applying to all users).
ownerBeforeIdentityAn Identity describing either a user, a group, or the all-users group (applying to all users).
revisionstringThe revision of the change.
schemaDisplayNamestringThe display name of the schema to which the revision belongs.
schemaIdstringSchema ID to which the revision belongs.
schemaVersionstringThe schema version the new value complies to.
sourcestringThe source of the change.
summarystringSummary of the object value corresponding to the summary pattern of the schema.
type"CREATE" | "DELETE" | "REORDER" | "UPDATE" | "NO_CHANGE"The type of the difference.

RevisionDiffPage​

The paged response payload for diff between revisions of settings.

NameTypeDescription
endTime*requiredstringThe 'to' time in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') from the original request.

Example: 2024-06-24T01:02:03Z
items*requiredArray<RevisionDiff>The list of revisions changes in the current page.
nextPageKeystring

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSize*requirednumberThe number of entries per page.
startTime*requiredstringThe 'from' time in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') from the original request.

Example: 2024-06-10T01:02:03Z

RiskAssessment​

Risk assessment of a security problem.

NameTypeDescription
assessmentAccuracy"NOT_AVAILABLE" | "FULL" | "REDUCED"The accuracy of the assessment.
assessmentAccuracyDetailsAssessmentAccuracyDetailsThe assessment accuracy details.
baseRiskLevel"NONE" | "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"The risk level from the CVSS score.
baseRiskScorenumberThe risk score (1-10) from the CVSS score.
baseRiskVectorstringThe original attack vector of the CVSS assessment.
dataAssets"NOT_AVAILABLE" | "NOT_DETECTED" | "REACHABLE"The reachability of related data assets by affected entities.
exposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The level of exposure of affected entities.
publicExploit"NOT_AVAILABLE" | "AVAILABLE"The availability status of public exploits.
riskLevel"NONE" | "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"

The Davis risk level.

It is calculated by Dynatrace on the basis of CVSS score.

riskScorenumber

The Davis risk score (1-10).

It is calculated by Dynatrace on the basis of CVSS score.

riskVectorstringThe attack vector calculated by Dynatrace based on the CVSS attack vector.
vulnerableFunctionUsage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"The state of vulnerable code execution.

RiskAssessmentChanges​

All changes of the risk assessment.

NameTypeDescription
deltaBaseRiskScorenumberThe delta of the risk score.
deltaNumberOfAffectedNodesnumberThe delta of the number of currently affected nodes.
deltaNumberOfAffectedProcessGroupsnumberThe delta of the number of currently affected process groups.
deltaNumberOfReachableDataAssetsnumberThe delta of the number of data assets that are currently reachable by affected entities.
deltaNumberOfRelatedAttacksnumberThe delta of the number of related attacks.
deltaRiskScorenumberThe delta of the Davis risk score.
previousExposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The previous level of exposure of affected entities.
previousPublicExploit"NOT_AVAILABLE" | "AVAILABLE"The previous availability status of public exploits.
previousVulnerableFunctionUsage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"The previous state of vulnerable code execution.

RiskAssessmentDetails​

Risk assessment of a security problem.

NameTypeDescription
assessmentAccuracy"NOT_AVAILABLE" | "FULL" | "REDUCED"The accuracy of the assessment.
assessmentAccuracyDetailsAssessmentAccuracyDetailsThe assessment accuracy details.
baseRiskLevel"NONE" | "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"The risk level from the CVSS score.
baseRiskScorenumberThe risk score (1-10) from the CVSS score.
baseRiskVectorstringThe original attack vector of the CVSS assessment.
dataAssets"NOT_AVAILABLE" | "NOT_DETECTED" | "REACHABLE"The reachability of related data assets by affected entities.
exposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The level of exposure of affected entities.
publicExploit"NOT_AVAILABLE" | "AVAILABLE"The availability status of public exploits.
riskLevel"NONE" | "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"

The Davis risk level.

It is calculated by Dynatrace on the basis of CVSS score.

riskScorenumber

The Davis risk score (1-10).

It is calculated by Dynatrace on the basis of CVSS score.

riskVectorstringThe attack vector calculated by Dynatrace based on the CVSS attack vector.
vulnerableFunctionRestartRequiredbooleanWhether a restart is required for new vulnerable function data.
vulnerableFunctionUsage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"The state of vulnerable code execution.

RiskAssessmentSnapshot​

A snapshot of the risk assessment of a security problem.

NameTypeDescription
baseRiskScorenumberThe risk score (1-10) from the CVSS score.
changesRiskAssessmentChangesAll changes of the risk assessment.
exposure"NOT_AVAILABLE" | "NOT_DETECTED" | "PUBLIC_NETWORK"The level of exposure of affected entities.
numberOfAffectedEntitiesnumberThe number of currently affected entities.
numberOfAffectedNodesnumberThe number of currently affected nodes.
numberOfAffectedProcessGroupsnumberThe number of currently affected process groups.
numberOfReachableDataAssetsnumberThe number of data assets that are currently reachable by affected entities.
numberOfRelatedAttacksnumberThe number of related attacks.
publicExploit"NOT_AVAILABLE" | "AVAILABLE"The availability status of public exploits.
riskLevel"NONE" | "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"

The Davis risk level.

It is calculated by Dynatrace on the basis of CVSS score.

riskScorenumber

The Davis risk score (1-10).

It is calculated by Dynatrace on the basis of CVSS score.

vulnerableFunctionUsage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"The state of vulnerable code execution.

Rollup​

A way of viewing a series as a single value for the purpose of sorting or series-based filters.

NameType
parameternumber
type"AUTO" | "AVG" | "COUNT" | "MAX" | "MEDIAN" | "MIN" | "PERCENTILE" | "SUM" | "VALUE"

SLO​

Parameters of a service-level objective (SLO).

NameTypeDescription
burnRateMetricKey*requiredstringThe key for the SLO's error budget burn rate func metric.

Example: func:slo.errorBudgetBurnRate.payment_service_availability
denominatorValueDEPRECATEDnumberThe denominator value used to evaluate the SLO when useRateMetric is set to false.

Example: 90
descriptionstringA short description of the SLO.

Example: Rate of successful payments per week
enabled*requiredbooleanThe SLO is enabled (true) or disabled (false).

Example: true
error*requiredstring

The error of the SLO calculation.

If the value differs from NONE, there is something wrong with the SLO calculation.



Example: NONE
errorBudget*requirednumber

The error budget of the calculated SLO.

The error budget is the difference between the calculated and target values. A positive number means all is good; a negative number means trouble.

Has the value of the evaluated error budget or the value of -1:

  • If there is an error with the SLO calculation; in that case check the value of the error property.
  • If the evaluate parameter has not been set to true; in that case the error property will contain no error.


Example: 1.25
errorBudgetBurnRate*requiredSloBurnRateError budget burn rate evaluation of a service-level objective (SLO).
errorBudgetMetricKey*requiredstringThe key for the SLO's error budget func metric.

Example: func:slo.errorBudget.payment_service_availability
evaluatedPercentage*requirednumber

The calculated status value of the SLO. Has the value of the evaluated SLO status or the value of -1:

  • If there is an error with the SLO calculation; in that case check the value of the error property.
  • If the evaluate parameter has not been set to true; in that case the error property will contain no error.


Example: 96.25
evaluationType*required"AGGREGATE"The evaluation type of the SLO.

Example: AGGREGATE
filter*requiredstringThe entity filter for the SLO evaluation. The total length of the entitySelector string in SLOs is limited to 1,000 characters. Use the syntax of entity selector.

Example: type("SERVICE")
id*requiredstringThe ID of the SLO

Example: 123e4567-e89b-42d3-a456-556642440000
metricDenominatorDEPRECATEDstring

The total count metric (the denominator in rate calculation).

Required when the useRateMetric is set to false.



Example: builtin:service.requestCount.server
metricExpression*requiredstringThe percentage-based metric expression for the calculation of the SLO.

Example: (100)*(builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())
metricKey*requiredstringThe key for the SLO's status func metric.

Example: func:slo.payment_service_availability
metricName*requiredstringThe name that is used to create SLO func metrics keys. Once created, metric name cannot be changed.

Example: payment_service_availability
metricNumeratorDEPRECATEDstring

The metric for the count of successes (the numerator in rate calculation).

Required when the useRateMetric is set to false.



Example: builtin:service.errors.server.successCount
metricRateDEPRECATEDstring

The percentage-based metric for the calculation of the SLO.

Required when the useRateMetric is set to true.



Example: builtin:service.successes.server.rate
name*requiredstringThe name of the SLO.

Example: Payment service availability
normalizedErrorBudgetMetricKey*requiredstringThe key for the SLO's normalized error budget func metric.

Example: func:slo.normalizedErrorBudget.payment_service_availability
numeratorValueDEPRECATEDnumberThe numerator value used to evaluate the SLO when useRateMetric is set to false.

Example: 80
problemFiltersDEPRECATEDArray<string>The entity filter for fetching the number of problems related to an SLO. Auto-generated in case no filter has been added to the SLO.

Example: [type("SERVICE")]
relatedOpenProblemsnumber

Number of open problems related to the SLO.

Has the value of -1 if there's an error with fetching SLO related problems.

relatedTotalProblemsnumber

Total number of problems related to the SLO.

Has the value of -1 if there's an error with fetching SLO related problems.

status*required"WARNING" | "SUCCESS" | "FAILURE"The status of the calculated SLO.

Example: WARNING
target*requirednumberThe target value of the SLO.

Example: 95
timeframe*requiredstringThe timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.

Example: -1d
useRateMetricDEPRECATEDboolean

The type of the metric to use for SLO calculation:

  • true: An existing percentage-based metric.
  • false: A ratio of two metrics.

For a list of available metrics, see Built-in metric page or try the GET metrics API call.



Example: true
warning*requirednumber

The warning value of the SLO.

At warning state the SLO is still fulfilled but is getting close to failure.



Example: 97.5

SLOs​

Contains SLOs and paging information.

NameTypeDescription
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
slo*requiredArray<SLO>The list of SLOs.
totalCount*requirednumberThe total number of entries in the result.

SNMPV3Credentials​

A credentials set of the SNMPV3 type.

NameTypeDescription
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
authenticationPasswordstringThe authentication password in the string format (should not be empty for AUTH_PRIV and AUTH_NO_PRIV security levels)
authenticationProtocol"MD5" | "SHA" | "SHA224" | "SHA256" | "SHA384" | "SHA512"The authentication protocol, supported protocols: MD5, SHA, SHA224, SHA256, SHA384, SHA512
descriptionstringA short description of the credentials set.
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
privacyPasswordstringThe privacy password in the string format (should not be empty for AUTH_PRIV security level)
privacyProtocol"AES" | "AES192" | "AES192C" | "AES256" | "AES256C" | "DES"The privacy protocol
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

securityLevel*required"AUTH_NO_PRIV" | "AUTH_PRIV" | "NO_AUTH_NO_PRIV"The security level, supported levels: AUTH_PRIV, NO_AUTH_NO_PRIV, AUTH_NO_PRIV
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials
username*requiredstringUser name value

SchemaConstraintRestDto​

NameTypeDescription
byteLimitnumberThe maximum allowed size in bytes for the sum over all persisted values for the schema

Example: 500000
customMessagestringA custom message for invalid values.
customValidatorIdstringThe ID of a custom validator.

Example: my-min-max
flattenCollectionsbooleanWhether to flatten collection properties when checking for uniqueness, so only disjoint collections are considered unique
skipAsyncValidationbooleanWhether to skip validation on a change made from the UI.

Example: false
type*required"UNKNOWN" | "CUSTOM_VALIDATOR_REF" | "UNIQUE" | "BYTE_SIZE_LIMIT" | "MULTI_SCOPE_CUSTOM_VALIDATOR_REF" | "MULTI_SCOPE_UNIQUE"The type of the schema constraint.
uniquePropertiesArray<string>The list of properties for which the combination of values needs to be unique

Example: ["my-prop-1","my-prop-2"]

SchemaDefinitionRestDto​

NameTypeDescription
allowedScopes*requiredArray<string>A list of scopes where the schema can be used.

Example: ["host","application"]
constraintsArray<ComplexConstraint>A list of constrains limiting the values to be accepted by the schema.
deletionConstraintsArray<DeletionConstraint>Constraints limiting the values to be deleted.
description*requiredstringA short description of the schema.

Example: Dynatrace disables monitoring of containers that do not run any applications
displayName*requiredstringThe display name of the schema.

Example: Built-in container monitoring rules
documentationstringAn extended description of the schema and/or links to documentation.
dynatrace*requiredstringThe version of the data format.

Example: 1
enums*requiredSchemaDefinitionRestDtoEnumsA list of definitions of enum properties.
keyPropertystringName of the key property in this schema.

Example: keyProperty
maturity"EARLY_ADOPTER" | "GENERAL_AVAILABILITY" | "PREVIEW"

The maturity of the schema. Possible values:

  • PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
  • EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
  • GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.

In any case, automations should make use of the schemaVersion field when writing settings objects.



Example: GENERAL_AVAILABILITY
maxObjects*requirednumber

The maximum amount of objects per scope.

Only applicable when multiObject is set to true.



Example: 10
metadataSchemaDefinitionRestDtoMetadataMetadata of the setting.
multiObject*requiredbooleanMultiple (true) objects per scope are permitted or a single (false) object per scope is permitted.
orderedboolean

If true the order of objects has semantic significance.

Only applicable when multiObject is set to true.

properties*requiredSchemaDefinitionRestDtoPropertiesA list of schema's properties.
schemaConstraintsArray<SchemaConstraintRestDto>Constraints limiting the values as a whole to be accepted in this configuration element.
schemaGroupsArray<string>Names of the groups, which the schema belongs to.

Example: ["group:some.1","group:some.2"]
schemaId*requiredstringThe ID of the schema.

Example: builtin:container.built-in-monitoring-rule
tableColumnsSchemaDefinitionRestDtoTableColumnsTable column definitions for use in the ui.
types*requiredSchemaDefinitionRestDtoTypes

A list of definitions of types.

A type is a complex property that contains its own set of subproperties.

uiCustomizationUiCustomizationCustomization for UI elements
version*requiredstringThe version of the schema.

Example: 1.4.2

SchemaDefinitionRestDtoEnums​

A list of definitions of enum properties.

type: Record<string, EnumType>

SchemaDefinitionRestDtoMetadata​

Metadata of the setting.

type: Record<string, string>

SchemaDefinitionRestDtoProperties​

A list of schema's properties.

type: Record<string, PropertyDefinition>

SchemaDefinitionRestDtoTableColumns​

Table column definitions for use in the ui.

type: Record<string, TableColumn>

SchemaDefinitionRestDtoTypes​

A list of definitions of types.

A type is a complex property that contains its own set of subproperties.

type: Record<string, SchemaType>

SchemaFiles​

NameTypeDescription
files*requiredArray<string>A list of schema files.

SchemaList​

The list of available settings schemas.

NameTypeDescription
items*requiredArray<SchemaStub>A list of settings schemas.
totalCount*requirednumberThe number of schemas in the list.

Example: 1

SchemaStub​

The short representation of the settings schema.

NameTypeDescription
displayNamestringThe name of the schema.

Example: Built-in container monitoring rules
latestSchemaVersionstringThe most recent version of the schema.

Example: 1.4.2
maturity"EARLY_ADOPTER" | "GENERAL_AVAILABILITY" | "PREVIEW"

The maturity of the schema. Possible values:

  • PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
  • EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
  • GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.

In any case, automations should make use of the schemaVersion field when writing settings objects.



Example: GENERAL_AVAILABILITY
multiObjectbooleanMulti-object flag. True if the schema is a multi-object schema

Example: true
orderedbooleanOrdered flag. True if the schema is an ordered multi-object schema.

Example: false
ownerBasedAccessControlbooleanOwner based access control flag. True if the schema has owner based access control enabled.

Example: true
schemaIdstringThe ID of the schema.

Example: builtin:container.built-in-monitoring-rule

SchemaType​

A list of definitions of types.

A type is a complex property that contains its own set of subproperties.

NameTypeDescription
constraintsArray<ComplexConstraint>A list of constraints limiting the values to be accepted.
description*requiredstringA short description of the property.

Example: typeDescription
displayNamestringThe display name of the property.

Example: typeDisplayName
documentation*requiredstringAn extended description and/or links to documentation.

Example: typeDocumentation
properties*requiredSchemaTypePropertiesDefinition of properties that can be persisted.
searchPatternstringThe pattern for the summary search(for example, "Alert after X minutes.") of the configuration in the UI.

Example: searchPatternOfType
summaryPattern*requiredstringThe pattern for the summary (for example, "Alert after X minutes.") of the configuration in the UI.

Example: summaryPatternOfType
type*required"object"Type of the reference type.

Example: object
version*requiredstringThe version of the type.

Example: 0
versionInfostringA short description of the version.

Example: Added new property

SchemaTypeProperties​

Definition of properties that can be persisted.

type: Record<string, PropertyDefinition>

SchemasList​

NameTypeDescription
versions*requiredArray<string>A list of schema versions.

SecureAuthenticationDto​

Secure authentication dto for Browser Monitor step.

NameTypeDescription
authServerAllowlistnull | stringString containing the allowed servers of KERBEROS authentication. Can be defined only for KERBEROS authentication type.
credentialId*requiredstringId of the username and password credential which will be used for authentication.
domainnull | stringString containing the KERBEROS authentication domain. Can be defined only for KERBEROS authentication type.
inputType*required"PLAIN" | "SECURE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureAuthenticationDto
  • PLAIN -> PlainAuthenticationDto
type*required"HTTP_AUTHENTICATION" | "KERBEROS" | "WEBFORM"Type of authentication.

SecureKeystrokesInputDto​

Credential-based input for keystrokes step.

NameTypeDescription
credentialField*required"TOKEN" | "USERNAME" | "PASSWORD"Enum value of the credential field.
credentialId*requiredstringString value containing the credential id.
type*required"PLAIN" | "SECURE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureKeystrokesInputDto
  • PLAIN -> PlainKeystrokesInputDto

SecurityContextDtoImpl​

NameTypeDescription
securityContext*requiredArray<string>The security context, that will be set for matching entities. If there exists a management zone with this name, it will be set for all matching entities, overriding all automatic management zone rules.

SecurityContextResultDto​

The response payload holding the result of the security context application.

NameTypeDescription
entityIdsArray<string>The entity ids that matched the entity selector and now have the supplied security context set.
managementZoneIdsArray<number>The management zone ids that is applied to the entity ids, if the security context matched an existing management zone's name, otherwise null.

SecurityProblem​

Parameters of a security problem

NameTypeDescription
codeLevelVulnerabilityDetailsCodeLevelVulnerabilityDetailsThe details of a code-level vulnerability.
cveIdsArray<string>A list of CVE IDs of the security problem.
displayIdstringThe display ID of the security problem.
externalVulnerabilityIdstringThe external vulnerability ID of the security problem.
firstSeenTimestampnumberThe timestamp of the first occurrence of the security problem.
globalCountsGlobalCountsDtoGlobally calculated statistics about the security problem. No management zone information is taken into account.
lastOpenedTimestampnumberThe timestamp when the security problem was last opened.
lastResolvedTimestampnumberThe timestamp when the security problem was last resolved.
lastUpdatedTimestampnumberThe timestamp of the most recent security problem change.
managementZonesArray<ManagementZone>A list of management zones which the affected entities belong to.
mutedbooleanThe security problem is (true) or is not (false) muted.
packageNamestringThe package name of the security problem.
riskAssessmentRiskAssessmentRisk assessment of a security problem.
securityProblemIdstringThe ID of the security problem.
status"OPEN" | "RESOLVED"The status of the security problem.
technology"KUBERNETES" | "DOTNET" | "GO" | "JAVA" | "NODE_JS" | "PHP" | "PYTHON"The technology of the security problem.
titlestringThe title of the security problem.
urlstringThe URL to the security problem details page.
vulnerabilityType"CODE_LEVEL" | "RUNTIME" | "THIRD_PARTY"The type of the vulnerability.

SecurityProblemBulkMutingSummary​

Summary of (un-)muting a security problem.

NameTypeDescription
muteStateChangeTriggered*requiredbooleanWhether a mute state change for the given security problem was triggered by this request.
reason"ALREADY_MUTED" | "ALREADY_UNMUTED"Contains a reason, in case the requested operation was not executed.
securityProblemId*requiredstringThe id of the security problem that was (un-)muted.

SecurityProblemDetails​

Parameters of a security problem

NameTypeDescription
affectedEntitiesArray<string>

A list of affected entities of the security problem.

An affected entity is an entity where a vulnerable component runs.

codeLevelVulnerabilityDetailsCodeLevelVulnerabilityDetailsThe details of a code-level vulnerability.
cveIdsArray<string>A list of CVE IDs of the security problem.
descriptionstringThe description of the security problem.
displayIdstringThe display ID of the security problem.
entryPointsEntryPointsA list of entry points and a flag which indicates whether this list was truncated or not.
eventsArray<SecurityProblemEvent>An ordered (newest first) list of events of the security problem.
exposedEntitiesArray<string>

A list of exposed entities of the security problem.

An exposed entity is an affected entity that is exposed to the internet.

externalVulnerabilityIdstringThe external vulnerability ID of the security problem.
filteredCountsFilteredCountsDtoStatistics about the security problem, filtered by the management zone and timeframe start ('from') query parameters.
firstSeenTimestampnumberThe timestamp of the first occurrence of the security problem.
globalCountsGlobalCountsDtoGlobally calculated statistics about the security problem. No management zone information is taken into account.
lastOpenedTimestampnumberThe timestamp when the security problem was last opened.
lastResolvedTimestampnumberThe timestamp when the security problem was last resolved.
lastUpdatedTimestampnumberThe timestamp of the most recent security problem change.
managementZonesArray<ManagementZone>A list of management zones which the affected entities belong to.
muteStateChangeInProgressbooleanIf true a change of the mute state is in progress.
mutedbooleanThe security problem is (true) or is not (false) muted.
packageNamestringThe package name of the security problem.
reachableDataAssetsArray<string>

A list of data assets reachable by affected entities of the security problem.

A data asset is a service that has database access.

relatedAttacksRelatedAttacksList

A list of related attacks of the security problem.

Related attacks are attacks on the exposed security problem.

relatedContainerImagesRelatedContainerListA list of related container images.
relatedEntitiesRelatedEntitiesList

A list of related entities of the security problem.

A related entity is a monitored entity that is directly or indirectly related to an affected entity (for example, it could be a host where an affected process runs).

Each related entity contains a list of corresponding affected entities (for example, an affected process running on this host).

remediationDescriptionstringDescription of how to remediate the vulnerability.
riskAssessmentRiskAssessmentDetailsRisk assessment of a security problem.
securityProblemIdstringThe ID of the security problem.
status"OPEN" | "RESOLVED"The status of the security problem.
technology"KUBERNETES" | "DOTNET" | "GO" | "JAVA" | "NODE_JS" | "PHP" | "PYTHON"The technology of the security problem.
titlestringThe title of the security problem.
urlstringThe URL to the security problem details page.
vulnerabilityType"CODE_LEVEL" | "RUNTIME" | "THIRD_PARTY"The type of the vulnerability.
vulnerableComponentsArray<VulnerableComponent>

A list of vulnerable components of the security problem.

A vulnerable component is what causes the security problem.

SecurityProblemEvent​

The event of a security problem.

NameTypeDescription
muteStateMuteStateMetadata of the muted state of a security problem in relation to an event.
reason"ASSESSMENT_CHANGED" | "SECURITY_PROBLEM_CREATED" | "SECURITY_PROBLEM_MUTED" | "SECURITY_PROBLEM_REOPENED" | "SECURITY_PROBLEM_RESOLVED" | "SECURITY_PROBLEM_UNMUTED" | "VULNERABILITY_DEPRECATED" | "VULNERABILITY_ID_CHANGED"The reason of the event creation.
riskAssessmentSnapshotRiskAssessmentSnapshotA snapshot of the risk assessment of a security problem.
timestampnumberThe timestamp when the event occurred.

SecurityProblemEventsList​

A list of events for a security problem.

NameTypeDescription
eventsArray<SecurityProblemEvent>A list of events for a security problem.
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
totalCount*requirednumberThe total number of entries in the result.

SecurityProblemList​

A list of security problems.

NameTypeDescription
nextPageKeynull | string

The cursor for the next page of results. Has the value of null on the last page.

Use it in the nextPageKey query parameter to obtain subsequent pages of the result.



Example: AQAAABQBAAAABQ==
pageSizenull | numberThe number of entries per page.
securityProblemsArray<SecurityProblem>A list of security problems.
totalCount*requirednumberThe total number of entries in the result.

SecurityProblemMute​

Information on muting a security problem.

NameTypeDescription
commentstringA comment about the muting reason.
reason*required"OTHER" | "CONFIGURATION_NOT_AFFECTED" | "FALSE_POSITIVE" | "IGNORE" | "VULNERABLE_CODE_NOT_IN_USE"The reason for muting a security problem.

SecurityProblemUnmute​

Information on un-muting a security problem.

NameTypeDescription
commentstringA comment about the un-muting reason.
reason*required"AFFECTED"The reason for un-muting a security problem.

SecurityProblemsBulkMute​

Information on muting several security problems.

NameTypeDescription
commentstringA comment about the muting reason.
reason*required"OTHER" | "CONFIGURATION_NOT_AFFECTED" | "FALSE_POSITIVE" | "IGNORE" | "VULNERABLE_CODE_NOT_IN_USE"The reason for muting the security problems.
securityProblemIds*requiredArray<string>The ids of the security problems to be muted.

SecurityProblemsBulkMuteResponse​

Response of muting several security problems.

NameTypeDescription
summary*requiredArray<SecurityProblemBulkMutingSummary>The summary of which security problems were muted and which already were muted previously.

SecurityProblemsBulkUnmute​

Information on un-muting several security problems.

NameTypeDescription
commentstringA comment about the un-muting reason.
reason*required"AFFECTED"The reason for un-muting the security problems.
securityProblemIds*requiredArray<string>The ids of the security problems to be un-muted.

SecurityProblemsBulkUnmuteResponse​

Response of un-muting several security problems.

NameTypeDescription
summary*requiredArray<SecurityProblemBulkMutingSummary>The summary of which security problems were un-muted and which already were un-muted previously.

SelectOptionStepDto​

Select option step of Browser Monitor.

NameTypeDescription
entityIdnull | stringEntity Id.
name*requiredstringThe name of Browser Monitor step.
selections*requiredArray<SelectionDto>Field containing the credential.
targetnull | TargetDtoTarget of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto
validationRulesnull | Array<ValidationRuleDto>List of validation rules for the step to perform.
waitConditionnull | BaseWaitConditionDtoWait condition for Browser Monitor step.

SelectionDto​

Option selection for Browser Monitor step.

NameTypeDescription
index*requirednumberSelection index.

Minimum: 0
value*requiredstringSelection value.

ServiceImpact​

Analysis of problem impact to a service.

NameTypeDescription
estimatedAffectedUsers*requirednumberThe estimated number of affected users.
impactType*required"APPLICATION" | "CUSTOM_APPLICATION" | "MOBILE" | "SERVICE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact
impactedEntity*requiredEntityStubA short representation of a monitored entity.
numberOfPotentiallyAffectedServiceCalls*requirednumberThe number of potentially impacted services.

SettingsObject​

A settings object.

NameTypeDescription
authorstringThe user (identified by a user ID or a public token ID) who performed that most recent modification.

Example: john.doe@example.com
creatednumberThe timestamp of the creation.
createdBystringThe unique identifier of the user who created the settings object.

Example: fab17b7a-2eb2-4c95-b818-743d94be2c30
externalIdstringThe external identifier of the settings object.
modificationInfoDEPRECATEDModificationInfoThe modification info for a single updatable setting. Replaced by resourceContext.
modifiednumberThe timestamp of the last modification.
modifiedBystringThe unique identifier of the user who performed the most recent modification.

Example: fab17b7a-2eb2-4c95-b818-743d94be2c30
objectIdstringThe ID of the settings object.

Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
ownerIdentityAn Identity describing either a user, a group, or the all-users group (applying to all users).
resourceContextResourceContextThe resource context, which contains additional permission information about the object.
schemaIdstringThe schema on which the object is based.

Example: builtin:container.built-in-monitoring-rule
schemaVersionstringThe version of the schema on which the object is based.

Example: 1.0.0
scopestringThe scope that the object targets. For more details, please see Dynatrace Documentation.

Example: HOST-D3A3C5A146830A79
searchSummarystringA searchable summary string of the setting value. Plain text without Markdown.
summarystringA short summary of settings. This can contain Markdown and will be escaped accordingly.
updateTokenstring

The update token of the object. You can use it to detect simultaneous modifications by different users.

It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.

If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
valueAnyValue

The value of the setting.

It defines the actual values of settings' parameters.

The actual content depends on the object's schema.



Example: {"autoMonitoring":true}

SettingsObjectByObjectIdResponse​

The response to a get by objectId request.

NameTypeDescription
authorstringThe user (identified by a user ID or a public token ID) who performed that most recent modification.

Example: john.doe@example.com
creatednumberThe timestamp of the creation.
createdBystringThe unique identifier of the user who created the settings object.

Example: fab17b7a-2eb2-4c95-b818-743d94be2c30
externalIdstringThe external identifier of the settings object.
modifiednumberThe timestamp of the last modification.
modifiedBystringThe unique identifier of the user who performed the most recent modification.

Example: fab17b7a-2eb2-4c95-b818-743d94be2c30
objectIdstringThe ID of the settings object.

Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
ownerIdentityAn Identity describing either a user, a group, or the all-users group (applying to all users).
resourceContextResourceContextThe resource context, which contains additional permission information about the object.
schemaIdstringThe schema on which the object is based.

Example: builtin:container.built-in-monitoring-rule
schemaVersionstringThe version of the schema on which the object is based.

Example: 1.0.0
scopestringThe scope that the object targets. For more details, please see Dynatrace Documentation.

Example: HOST-D3A3C5A146830A79
searchSummarystringA searchable summary string of the setting value. Plain text without Markdown.
summarystringA short summary of settings. This can contain Markdown and will be escaped accordingly.
updateTokenstring

The update token of the object. You can use it to detect simultaneous modifications by different users.

It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.

If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
valueAnyValue

The value of the setting.

It defines the actual values of settings' parameters.

The actual content depends on the object's schema.



Example: {"autoMonitoring":true}

SettingsObjectCreate​

Configuration of a new settings object.

NameTypeDescription
externalIdstringExternal identifier for the object being created
insertAfterstring

The position of the new object. The new object will be added after the specified one.

If null (or unset), the new object will be placed in the last position.

If set to an empty string, the new object will be placed in the first position.

Only applicable for objects based on schemas with ordered objects (schema's ordered parameter is set to true).



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
objectIdstring

The ID of the settings object that should be replaced.

Only applicable if an external identifier is provided.



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
schemaId*requiredstringThe schema on which the object is based.

Example: builtin:container.built-in-monitoring-rule
schemaVersionstringThe version of the schema on which the object is based.

Example: 1.0.0
scope*requiredstringThe scope that the object targets. For more details, please see Dynatrace Documentation.

Example: HOST-D3A3C5A146830A79
value*requiredAnyValue

The value of the setting.

It defines the actual values of settings' parameters.

The actual content depends on the object's schema.



Example: {"autoMonitoring":true}

SettingsObjectResponse​

The response to a creation- or update-request.

NameTypeDescription
code*requirednumberThe HTTP status code for the object.
errorError
invalidValueAnyValue

The value of the setting.

It defines the actual values of settings' parameters.

The actual content depends on the object's schema.



Example: {"autoMonitoring":true}
objectIdstringFor a successful request, the ID of the created or modified settings object.

Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=

SettingsObjectUpdate​

An update of a settings object.

NameTypeDescription
insertAfterstring

The position of the updated object. The new object will be moved behind the specified one.

insertAfter and insertBefore are evaluated together and only one of both can be set (and be non null).

If null (or unset) and insertBefore is null (or unset), the existing object keeps the current position.

If set to an empty string, the updated object will be placed in the first position.

Only applicable for objects based on schemas with ordered objects (schema's ordered parameter is set to true).



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
insertBeforestring

The position of the updated object. The new object will be moved in front of the specified one.

insertAfter and insertBefore are evaluated together and only one of both can be set (and be non null).

If null (or unset) and insertAfter is null (or unset), the existing object keeps the current position.

If set to an empty string, the updated object will be placed in the last position.

Only applicable for objects based on schemas with ordered objects (schema's ordered parameter is set to true).



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
schemaVersionstringThe version of the schema on which the object is based.

Example: 1.0.0
updateTokenstring

The update token of the object. You can use it to detect simultaneous modifications by different users.

It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.

If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.



Example: Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=
value*requiredAnyValue

The value of the setting.

It defines the actual values of settings' parameters.

The actual content depends on the object's schema.



Example: {"autoMonitoring":true}

SinglePermissionRequest​

A list of permissions.

NameTypeDescription
contextPermissionContextOptional context data
permission*requiredstringPermission to be probed

Example: settings:objects:write

SloBurnRate​

Error budget burn rate evaluation of a service-level objective (SLO).

NameTypeDescription
burnRateType"NONE" | "FAST" | "SLOW"

The calculated burn rate type.

Has a value of 'FAST', 'SLOW' or 'NONE'.



Example: SLOW
burnRateValuenumberThe burn rate of the SLO, calculated for the last hour.

Example: 1.25
burnRateVisualizationEnabled*requiredboolean

The error budget burn rate calculation is enabled (true) or disabled (false).

In case of false, no calculated values will be present here.



Example: true
estimatedTimeToConsumeErrorBudgetnumberThe estimated time left to consume the error budget in hours.

Example: 24
fastBurnThresholdnumberThe threshold between a slow and a fast burn rate.

Example: 1.5
sloValuenumberThe calculated value of the SLO for the timeframe chosen for the burn rate calculation.

Example: 95

SloBurnRateConfig​

Error budget burn rate configuration of a service-level objective (SLO).

NameTypeDescription
burnRateVisualizationEnabledboolean

The error budget burn rate calculation is enabled (true) or disabled (false).

In case of false, no calculated values will be present here.

If not defined, the error budget burn rate calculation is disabled by default.



Example: true
fastBurnThresholdnumberThe threshold between a slow and a fast burn rate.

Example: 1.5

SloConfigItemDtoImpl​

NameTypeDescription
descriptionstringThe description of the SLO.

Example: Rate of successful payments per week
enabledboolean

The SLO is enabled (true) or disabled (false).

If not defined, the SLO is disabled by default.



Example: true
errorBudgetBurnRateSloBurnRateConfigError budget burn rate configuration of a service-level objective (SLO).
evaluationType*required"AGGREGATE"The evaluation type of the SLO.

Example: AGGREGATE
filterstringThe entity filter for the SLO evaluation. The total length of the entitySelector string in SLOs is limited to 1,000 characters. Use the syntax of entity selector.

Example: type("SERVICE")
metricDenominatorDEPRECATEDstring

The total count metric (the denominator in rate calculation).

Required when the useRateMetric is set to false.



Example: builtin:service.requestCount.server
metricExpressionstringThe percentage-based metric expression for the calculation of the SLO.

Example: (100)*(builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())
metricNamestringThe name that is used to create SLO func metrics keys. Once created, metric name cannot be changed.

Example: payment_service_availability
metricNumeratorDEPRECATEDstring

The metric for the count of successes (the numerator in rate calculation).

Required when the useRateMetric is set to false.



Example: builtin:service.errors.server.successCount
metricRateDEPRECATEDstring

The percentage-based metric for the calculation of the SLO.

Required when the useRateMetric is set to true.



Example: builtin:service.successes.server.rate
name*requiredstringThe name of the SLO.

Example: Payment service availability
target*requirednumberThe target value of the SLO.

Example: 95
timeframe*requiredstringThe timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.

Example: -1d
useRateMetricDEPRECATEDnull | boolean

The type of the metric to use for SLO calculation:

  • true: An existing percentage-based metric.
  • false: A ratio of two metrics.

For a list of available metrics, see Built-in metric page or try the GET metrics API call.



Example: true
warning*requirednumber

The warning value of the SLO.

At warning state the SLO is still fulfilled but is getting close to failure.



Example: 97.5

SoftwareTechs​

Contains information about the used software technology.

NameTypeDescription
editionnull | stringThe edition of the technology.

Example: OpenJDK
technologystringThe type of the technology.

Example: JAVA
verbatimTypestringThe verbatim type of the technology.

Example: Java
versionnull | stringThe version of the technology.

Example: 11.0.10

StatusAlert​

Parameters of a status alert.

NameTypeDescription
alertName*requiredstringName of the alert.
alertThreshold*requirednumberThreshold of the alert. Status alerts trigger if they fall below this value, burn rate alerts trigger if they exceed the value.
alertType*required"BURN_RATE" | "STATUS"

Defines the actual set of fields depending on the value. See one of the following objects:

  • BURN_RATE -> BurnRateAlert
  • STATUS -> StatusAlert

Success​

NameTypeDescription
codenumberThe HTTP status code
messagestringDetailed message

SuccessEnvelope​

NameType
detailsSuccess

SyntheticBrowserMonitorConfigurationDto​

Browser Monitor configuration.

NameTypeDescription
blockedRequestsnull | Array<null | string>All requests matching the specified patterns will be blocked during the execution of the monitor.
browserPermissionsnull | BrowserPermissionsDtoPermissions settings for browser.
bypassCSPnull | booleanBypass ContentSecurity Policy for monitored pages. If not defined in request, it will be set to false by default.
chromiumStartupFlagsnull | ChromiumStartupFlagsDtoChromium startup flags of a Browser Monitor.
clientCertificatesnull | Array<null | ClientCertificateDto>Identifier of stored client's certificate.
cookiesnull | Array<null | SyntheticMonitorCookieDto>Cookies list.
device*requiredTestDeviceDtoTest device of a Browser Monitor.
enablementnull | EnablementDtoBrowser monitor enablement settings.
experimentalPropertiesnull | Array<null | MonitorPropertyDto>Experimental properties list.
filteredRequestsnull | FilteredRequestsDtoFiltered requests of a Browser Monitor.
ignoredErrorCodesnull | IgnoredErrorCodesDtoIgnored Error Codes of a Browser Monitor.
javaScriptSettingsnull | JavaScriptAgentSettingsDtoJavaScript Agent Settings.
monitorCrossOriginFramesnull | booleanCapture performance metrics for pages loaded in cross origin frames. If not defined in request, it will fall back to monitorFrames by default.
monitorFramesnull | booleanCapture performance metrics for pages loaded in frames. If not defined in request, it will be set to false by default.
networkThrottlingnull | NetworkThrottlingDtoNetwork throttling of a Browser Monitor.
proxynull | ProxyDtoBrowser Monitor proxy.
requestHeaderOptionsnull | RequestHeaderOptionsDtoHeader Options of a Browser Monitor.
useIESupportedAgentnull | booleanuseIESupportedAgent flag. If not defined in request, it will be set to false by default.
userAgentnull | stringUser agent

SyntheticBrowserMonitorRequest​

Browser monitor update.

NameTypeDescription
configuration*requiredSyntheticBrowserMonitorConfigurationDtoBrowser Monitor configuration.
descriptionnull | stringMonitor description
enabledbooleanIf true, the monitor is enabled.

Default: true
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
frequencyMinnull | numberThe frequency of the monitor, in minutes. Default value depends on the monitor type (1 minute for MULTI_PROTOCOL and HTTP, 15 minutes for BROWSER).
keyPerformanceMetricsnull | KeyPerformanceMetricsThe key performance metrics configuration.
locations*requiredArray<string>The locations to which the monitor is assigned.
manuallyAssignedEntitiesnull | Array<null | string>Manually assigned entities.
name*requiredstringThe name of the monitor.
performanceThresholdsnull | SyntheticMonitorPerformanceThresholdsDtoPerformance thresholds configuration.
primaryGrailTagsnull | Array<null | SyntheticMonitorPrimaryGrailTagDto>Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
steps*requiredArray<SyntheticBrowserMonitorStepDto>The steps of the monitor.
syntheticMonitorOutageHandlingSettingsnull | SyntheticMonitorOutageHandlingSettingsDtoOutage handling configuration.
tagsnull | Array<null | SyntheticTagWithSourceDto>

A set of tags assigned to the monitor.

You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.

type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"Monitor type.

SyntheticBrowserMonitorResponse​

Browser Monitor.

NameTypeDescription
automaticallyAssignedEntitiesnull | Array<null | string>Automatically assigned entities.
configuration*requiredSyntheticBrowserMonitorConfigurationDtoBrowser Monitor configuration.
descriptionnull | stringMonitor description
enablednull | booleanIf true, the monitor is enabled.
entityId*requiredstringThe entity id of the monitor.
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
frequencyMinnull | numberThe frequency of the monitor, in minutes.
keyPerformanceMetrics*requirednull | KeyPerformanceMetricsThe key performance metrics configuration.
locationsnull | Array<null | string>The locations to which the monitor is assigned.
manuallyAssignedEntitiesnull | Array<null | string>Manually assigned entities.
modificationTimestampnumberThe timestamp of the last modification
namenull | stringThe name of the monitor.
performanceThresholdsnull | SyntheticMonitorPerformanceThresholdsDtoPerformance thresholds configuration.
primaryGrailTagsnull | Array<null | SyntheticMonitorPrimaryGrailTagDto>Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
steps*requiredArray<SyntheticBrowserMonitorStepDto>The steps of the monitor.
syntheticMonitorOutageHandlingSettings*requirednull | SyntheticMonitorOutageHandlingSettingsDtoOutage handling configuration.
tagsnull | Array<null | SyntheticTagWithSourceDto>

A set of tags assigned to the monitor.

You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.

type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"Monitor type.

SyntheticBrowserMonitorStepDto​

Base step of Browser Monitor.

NameTypeDescription
entityIdnull | stringEntity Id.
name*requiredstringThe name of Browser Monitor step.
type*required"CLICK" | "COOKIE" | "JAVASCRIPT" | "KEYSTROKES" | "NAVIGATE" | "SELECT_OPTION" | "TAP"

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto

SyntheticConfigRequest​

The synthetic configuration to apply to the whole tenant.

NameTypeDescription
bmMonitorTimeoutnull | numberbmMonitorTimeout - browser monitor execution timeout (ms)

Minimum: 60000
bmStepTimeoutnull | numberbmStepTimeout - browser monitor single step execution timeout (ms)

Minimum: 10000
maintenanceWindowsExcludedFromAvailabilitynull | booleanmaintenanceWindowsExcludedFromAvailability - exclude periods with maintenance windows from availability calculation

SyntheticConfigResponse​

The synthetic configuration of the whole tenant.

NameTypeDescription
bmMonitorTimeout*requirednumberbmMonitorTimeout - browser monitor execution timeout (ms)

Minimum: 60000
bmStepTimeout*requirednumberbmStepTimeout - browser monitor single step execution timeout (ms)

Minimum: 10000
maintenanceWindowsExcludedFromAvailability*requiredbooleanmaintenanceWindowsExcludedFromAvailability - exclude periods with maintenance windows from availability calculation

SyntheticHttpAuthenticationDto​

The Http step's authentication.

NameTypeDescription
credentials*requiredstringCredential vault identifier.
kdcIpnull | stringKDC IP in case KERBEROS auth type is selected.
realmNamenull | stringRealm name in case KERBEROS type is selected.
type*required"KERBEROS" | "BASIC_AUTHENTICATION" | "NTLM"Authentication type.

SyntheticHttpConfigurationDto​

The Http step's configuration.

NameTypeDescription
acceptAnyCertificatebooleanIf true accept any certificate flag.

Default: true
clientCertificateIdnull | stringIdentifier of stored client's certificate.
doNotPersistSensitiveDatabooleanIf true the step's data aren't stored and displayed.

Default: false
followRedirectsbooleanIf true follow redirects.

Default: false
headersnull | Array<MonitorRequestHeader>The headers.
sslCertificateExpirationDaysToAlertnull | numberNumber of days within SSL certificate expires.

SyntheticHttpMonitorAdvancedDto​

Http monitor's settings.

NameTypeDescription
connectTimeoutnull | numberConnect timeout per request in ms.
dnsQueryTimeoutnull | numberDNS query timeout in ms.
maxCustomScriptSizenull | numberMaximum size of each pre- or post- execution script size in bytes.
maxHeaderSizenull | numberMaximum size of each request header in bytes.
maxRequestBodySizenull | numberMaximum request body size in bytes.
maxResponseBodyReadByScriptSizenull | numberMaximum size of response body read by post-execution script in bytes.
maxResponseBodySizenull | numberMaximum response body size in bytes.
monitorExecutionTimeoutnull | numberMonitor execution timeout in ms.
requestTimeoutnull | numberRequest timeout in ms.
scriptExecutionTimeoutnull | numberPre- or post- execution script timeout in ms.

SyntheticHttpMonitorRequest​

Http monitor's settings.

NameTypeDescription
advancedSettingsnull | SyntheticHttpMonitorAdvancedDtoHttp monitor's settings.
cookiesnull | Array<null | SyntheticMonitorCookieDto>The cookies of the monitor.
descriptionnull | stringMonitor description
enabledbooleanIf true, the monitor is enabled.

Default: true
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
frequencyMinnull | numberThe frequency of the monitor, in minutes. Default value depends on the monitor type (1 minute for MULTI_PROTOCOL and HTTP, 15 minutes for BROWSER).
locations*requiredArray<string>The locations to which the monitor is assigned.
manuallyAssignedEntitiesnull | Array<null | string>Manually assigned entities.
name*requiredstringThe name of the monitor.
performanceThresholdsnull | SyntheticMonitorPerformanceThresholdsDtoPerformance thresholds configuration.
primaryGrailTagsnull | Array<null | SyntheticMonitorPrimaryGrailTagDto>Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
steps*requiredArray<SyntheticHttpMonitorStepDto>The steps of the monitor.
syntheticMonitorOutageHandlingSettingsnull | SyntheticMonitorOutageHandlingSettingsDtoOutage handling configuration.
tagsnull | Array<null | SyntheticTagWithSourceDto>

A set of tags assigned to the monitor.

You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.

type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"Monitor type.

SyntheticHttpMonitorResponse​

Http monitor.

NameTypeDescription
advancedSettingsnull | SyntheticHttpMonitorAdvancedDtoHttp monitor's settings.
automaticallyAssignedEntitiesnull | Array<null | string>Automatically assigned entities.
cookiesnull | Array<null | SyntheticMonitorCookieDto>The cookies of the monitor.
descriptionnull | stringMonitor description
enablednull | booleanIf true, the monitor is enabled.
entityId*requiredstringThe entity id of the monitor.
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
frequencyMinnull | numberThe frequency of the monitor, in minutes.
locationsnull | Array<null | string>The locations to which the monitor is assigned.
manuallyAssignedEntitiesnull | Array<null | string>Manually assigned entities.
modificationTimestampnumberThe timestamp of the last modification
namenull | stringThe name of the monitor.
performanceThresholdsnull | SyntheticMonitorPerformanceThresholdsDtoPerformance thresholds configuration.
primaryGrailTagsnull | Array<null | SyntheticMonitorPrimaryGrailTagDto>Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
steps*requiredArray<SyntheticHttpMonitorStepDto>The steps of the monitor.
syntheticMonitorOutageHandlingSettings*requirednull | SyntheticMonitorOutageHandlingSettingsDtoOutage handling configuration.
tagsnull | Array<null | SyntheticTagWithSourceDto>

A set of tags assigned to the monitor.

You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.

type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"Monitor type.

SyntheticHttpMonitorStepDto​

The step of a Http monitor.

NameTypeDescription
authenticationnull | SyntheticHttpAuthenticationDtoThe Http step's authentication.
configurationSyntheticHttpConfigurationDtoThe Http step's configuration.
constraints*requiredArray<SyntheticMonitorConstraintDto>The list of constraints.
entityIdnull | stringEntity Id.
methodType*required"DELETE" | "GET" | "POST" | "PUT" | "HEAD" | "OPTIONS" | "PATCH"Method type.
name*requiredstringStep name.
postScriptnull | stringPostScript.
preScriptnull | stringPreScript.
requestBodynull | stringRequest body.
requestTimeoutnull | numberRequest timeout in s.
url*requiredstringStep url.

SyntheticLocation​

Configuration of a synthetic location.

countryCode, regionCode, city parameters are optional as they can be retrieved based on latitude and longitude of location.

The actual set of fields depends on the type of the location. Find the list of actual objects in the description of the type field or see Synthetic locations API v2 - JSON models.

NameTypeDescription
citystringThe city of the location.
countryCodestring

The country code of the location.

To fetch the list of available country codes, use the GET all countries request.

countryNamestringThe country name of the location.
entityIdstringThe Dynatrace entity ID of the location.
geoLocationIdstringThe Dynatrace GeoLocation ID of the location.
latitude*requirednumberThe latitude of the location in DDD.dddd format.
longitude*requirednumberThe longitude of the location in DDD.dddd format.
name*requiredstringThe name of the location.
regionCodestring

The region code of the location.

To fetch the list of available region codes, use the GET regions of the country request.

regionNamestringThe region name of the location.
status"ENABLED" | "DISABLED" | "HIDDEN"

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.
type*required"CLUSTER" | "PUBLIC" | "PRIVATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> PublicSyntheticLocation
  • PRIVATE -> PrivateSyntheticLocation
  • CLUSTER -> PrivateSyntheticLocation

SyntheticLocationIdsDto​

A DTO for synthetic Location IDs.

NameTypeDescription
entityId*requiredstringEntity ID to be transferred
geoLocationId*requiredstringGeoLocation ID to be transferred

SyntheticLocationUpdate​

The synthetic location update. This is a base object, the exact type depends on the value of the type field.

NameTypeDescription
type*required"PUBLIC" | "PRIVATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> SyntheticPublicLocationUpdate
  • PRIVATE -> SyntheticPrivateLocationUpdate

SyntheticLocations​

A list of synthetic locations.

NameTypeDescription
locations*requiredArray<LocationCollectionElement>A list of synthetic locations.

SyntheticMonitorConstraintDto​

Synthetic monitor constraint. The allowed type and properties depend on the monitor and step/request context.

NameTypeDescription
properties*requiredSyntheticMonitorConstraintDtoPropertiesConstraint properties. Most constraint types use operator and value keys. Some protocol-specific constraints may use additional keys, for example DNS_STATUS_CODE can use status.
type*requiredstringConstraint type. Allowed values depend on monitor type and step/request context. HTTP monitor step constraints: HTTP_STATUSES, HTTP_RESPONSE_PATTERN, HTTP_RESPONSE_REGEX. Network availability monitor(MULTI_PROTOCOL) step constraints: SUCCESS_RATE_PERCENT. Network availability monitor(MULTI_PROTOCOL) request configuration constraints are request-type specific, for example ICMP_SUCCESS_RATE_PERCENT (ICMP) and DNS_STATUS_CODE (DNS).

Example: ICMP_SUCCESS_RATE_PERCENT

SyntheticMonitorConstraintDtoProperties​

Constraint properties. Most constraint types use operator and value keys. Some protocol-specific constraints may use additional keys, for example DNS_STATUS_CODE can use status.

type: Record<string, string>

SyntheticMonitorCookieDto​

Cookie dto for Synthetic Monitor step.

NameTypeDescription
domain*requiredstringCookie domain.
name*requiredstringCookie name.
pathnull | stringCookie path.
value*requiredstringCookie value.

SyntheticMonitorListDto​

List of available synthetic monitors.

NameTypeDescription
monitorsArray<SyntheticMonitorSummaryDto>List of monitors.

SyntheticMonitorOutageHandlingSettingsDto​

Outage handling configuration.

NameTypeDescription
globalConsecutiveOutageCountThresholdnull | numberNumber of consecutive failures for all locations.
globalOutages*requiredbooleanGenerate a problem and send an alert when the monitor is unavailable at all configured locations.
localConsecutiveOutageCountThresholdnull | numberNumber of consecutive failures.
localLocationOutageCountThresholdnull | numberNumber of failing locations.
localOutages*requiredbooleanGenerate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
origin"UNKNOWN" | "DEFAULT" | "MONITOR" | "TENANT"Indicates the origin of these settings.
retryOnErrornull | booleanOnly Browser Monitor property. If set to true, execution retry will take place in case the monitor fails.

SyntheticMonitorPerformanceThresholdDto​

The performance threshold rule.

NameTypeDescription
aggregationnull | "AVG" | "MAX" | "MIN"Aggregation type

Default: AVG
dealertingSamplesnull | numberNumber of most recent non-violating request executions that closes the problem.

Minimum: 1
samplesnull | numberNumber of request executions in analyzed sliding window (sliding window size).

Minimum: 1
stepIndexnull | numberSpecify the step's index to which a threshold applies. If threshold is monitor-level, no index is needed.

Minimum: 0
threshold*requirednumberNotify if monitor request takes longer than X time units to execute. For network availability monitors the time unit is milliseconds, for browser and HTTP monitors - seconds.

Minimum: 0
typenull | "MONITOR" | "STEP"Type of performance threshold
violatingSamplesnull | numberNumber of violating request executions in analyzed sliding window.

Minimum: 1

SyntheticMonitorPerformanceThresholdsDto​

Performance thresholds configuration.

NameTypeDescription
enabled*requiredbooleanPerformance threshold is enabled (true) or disabled (false).
thresholdsArray<null | SyntheticMonitorPerformanceThresholdDto>The list of performance threshold rules.

SyntheticMonitorPrimaryGrailTagDto​

Primary grail tag key-value pair.

NameTypeDescription
key*requiredstringTag key.
value*requiredstringTag value.

SyntheticMonitorSummaryDto​

Basic monitor data.

NameTypeDescription
enablednull | booleanIf true, the monitor is enabled.
entityId*requiredstringThe entity id of the monitor.
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
namenull | stringThe name of the monitor.
type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"The type of the monitor.

SyntheticMultiProtocolMonitorRequest​

Network availability monitor.

NameTypeDescription
descriptionnull | stringMonitor description
enabledbooleanIf true, the monitor is enabled.

Default: true
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
frequencyMinnull | numberThe frequency of the monitor, in minutes. Default value depends on the monitor type (1 minute for MULTI_PROTOCOL and HTTP, 15 minutes for BROWSER).
locations*requiredArray<string>The locations to which the monitor is assigned.
name*requiredstringThe name of the monitor.
performanceThresholdsnull | SyntheticMonitorPerformanceThresholdsDtoPerformance thresholds configuration.
primaryGrailTagsnull | Array<null | SyntheticMonitorPrimaryGrailTagDto>Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
steps*requiredArray<SyntheticMultiProtocolMonitorStepDto>The steps of the monitor.
syntheticMonitorOutageHandlingSettingsnull | SyntheticMonitorOutageHandlingSettingsDtoOutage handling configuration.
tagsnull | Array<null | SyntheticTagWithSourceDto>

A set of tags assigned to the monitor.

You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.

type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"Monitor type.

SyntheticMultiProtocolMonitorResponse​

Network availability monitor.

NameTypeDescription
descriptionnull | stringMonitor description
enablednull | booleanIf true, the monitor is enabled.
entityId*requiredstringThe entity id of the monitor.
externalIdnull | stringStable identifier used by configuration-as-code tools (such as Monaco) to manage this monitor across environments. Unique per environment.
frequencyMinnull | numberThe frequency of the monitor, in minutes.
locationsnull | Array<null | string>The locations to which the monitor is assigned.
modificationTimestampnumberThe timestamp of the last modification
namenull | stringThe name of the monitor.
performanceThresholdsnull | SyntheticMonitorPerformanceThresholdsDtoPerformance thresholds configuration.
primaryGrailTagsnull | Array<null | SyntheticMonitorPrimaryGrailTagDto>Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
steps*requiredArray<SyntheticMultiProtocolMonitorStepDto>The steps of the monitor.
syntheticMonitorOutageHandlingSettings*requirednull | SyntheticMonitorOutageHandlingSettingsDtoOutage handling configuration.
tagsnull | Array<null | SyntheticTagWithSourceDto>

A set of tags assigned to the monitor.

You can specify only the value of the tag here and the CONTEXTLESS context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.

type*required"BROWSER" | "HTTP" | "MULTI_PROTOCOL"Monitor type.

SyntheticMultiProtocolMonitorStepDto​

The step of a network availability monitor.

NameTypeDescription
constraints*requiredArray<SyntheticMonitorConstraintDto>The list of constraints which apply to all requests in the step.
name*requiredstringStep name.
properties*requiredSyntheticMultiProtocolMonitorStepDtoPropertiesThe properties which apply to all requests in the step.
requestConfigurations*requiredArray<SyntheticMultiProtocolRequestConfigurationDto>Request configurations.
requestType*required"ICMP" | "TCP" | "DNS"Request type.
targetFilterstringTarget filter.
targetListArray<string>Target list.

SyntheticMultiProtocolMonitorStepDtoProperties​

The properties which apply to all requests in the step.

type: Record<string, string>

SyntheticMultiProtocolRequestConfigurationDto​

The configuration of a network availability monitor request.

NameTypeDescription
constraints*requiredArray<SyntheticMonitorConstraintDto>Request constraints.

SyntheticOnDemandBatchStatus​

Contains information about on-demand executions triggered within the batch.

NameTypeDescription
batchId*requiredstringThe identifier of the batch.
batchStatus*required"SUCCESS" | "FAILED" | "NOT_TRIGGERED" | "FAILED_TO_EXECUTE" | "RUNNING"The status of the batch.
executedCount*requirednumberThe number of triggered executions with the result SUCCESS or FAILED.
failedCount*requirednumberThe number of triggered executions with the result FAILED.
failedExecutionsnull | Array<null | SyntheticOnDemandFailedExecutionStatus>
failedToExecutenull | Array<null | SyntheticOnDemandFailedExecutionStatus>
failedToExecuteCount*requirednumberThe number of executions that were triggered and timed out because of a problem with the Synthetic engine.
metadatanull | SyntheticOnDemandBatchStatusMetadataString to string map of metadata properties for batch
triggeredCount*requirednumberThe number of triggered executions within the batch.
triggeringProblemsnull | Array<null | SyntheticOnDemandTriggeringProblemDetails>
triggeringProblemsCountnumberThe number of executions that were not triggered due to some problems.
userId*requiredstringThe name of the user who triggered execution of the batch.

SyntheticOnDemandBatchStatusMetadata​

String to string map of metadata properties for batch

type: Record<string, string | null>

SyntheticOnDemandExecution​

Describes the status of an on-demand execution.

NameTypeDescription
batchId*requiredstringThe identifier of the batch.
customizedScriptnull | ObjectNodeCustomized script properties for this on-demand batch execution.
dataDeliveryTimestamp*requirednull | numberThe timestamp when whole data set has been collected on server, in UTC milliseconds.
executionId*requiredstringThe identifier of the execution.
executionStage*required"TRIGGERED" | "EXECUTED" | "DATA_RETRIEVED" | "NOT_TRIGGERED" | "TIMED_OUT" | "WAITING"Execution stage.
executionTimestamp*requirednull | numberThe timestamp when execution was finished, in UTC milliseconds.
fullResultsnull | ExecutionFullResultsContains extended monitor's execution details.
locationId*requiredstringThe identifier of the location from where the monitor is to be executed.
metadatanull | SyntheticOnDemandExecutionMetadataMetadata map for the execution batch.
monitorId*requiredstringThe identifier of the monitor.
nextExecutionIdnull | stringNext execution id for sequential mode.
processingMode*required"UNKNOWN" | "NONE" | "STANDARD" | "DISABLE_PROBLEM_DETECTION" | "EXECUTIONS_DETAILS_ONLY"The processing mode of the execution.
schedulingTimestamp*requirednumberThe scheduling timestamp, in UTC milliseconds.
simpleResultsnull | ExecutionSimpleResultsContains basic results of the monitor's on-demand execution.
source*required"API" | "UI"The source of the triggering request.
userId*requiredstringThe name of the user who triggered the on-demand execution.

SyntheticOnDemandExecutionMetadata​

Metadata map for the execution batch.

type: Record<string, string | null>

SyntheticOnDemandExecutionRequest​

Contains parameters for the on-demand execution of monitors identified by tags, applications, or services.

NameTypeDescription
failOnPerformanceIssuebooleanIf true, the execution will fail in case of performance issue.

Default: true
failOnSslWarningbooleanApplies to HTTP monitors only. If true, the execution will fail in case of an SSL certificate expiration warning or if the certificate is missing.

Default: true
groupSyntheticOnDemandExecutionRequestGroupContains parameters for the on-demand execution of monitors identified by tags, applications, or services.
metadataSyntheticOnDemandExecutionRequestMetadataString to string map of metadata properties for execution
monitorsArray<SyntheticOnDemandExecutionRequestMonitor>List of monitors to be triggered.
processingMode"STANDARD" | "DISABLE_PROBLEM_DETECTION" | "EXECUTIONS_DETAILS_ONLY"The execution's processing mode

Default: STANDARD
stopOnProblembooleanIf true, no executions will be scheduled if a problem occurs.

Default: false
takeScreenshotsOnSuccessbooleanIf true, the screenshots will be taken during the execution of a browser monitor.

Default: false

SyntheticOnDemandExecutionRequestGroup​

Contains parameters for the on-demand execution of monitors identified by tags, applications, or services.

NameTypeDescription
applicationsnull | Array<null | string>List of application identifiers. Only monitors with all applications assigned will be executed.
locationsnull | Array<null | string>The locations from where monitors are to be executed.
servicesnull | Array<null | string>List of service identifiers. Only monitors with all services assigned will be executed.
tagsnull | Array<null | string>List of tags. Only monitors with all tags assigned will be executed.

SyntheticOnDemandExecutionRequestMetadata​

String to string map of metadata properties for execution

type: Record<string, string>

SyntheticOnDemandExecutionRequestMonitor​

Contains monitors to be executed on demand from the locations specified.

NameTypeDescription
customizedScriptnull | SyntheticOnDemandExecutionRequestMonitorCustomizedScriptCustomized script properties for this on-demand batch execution.
executionCountnull | numberThe number of times the monitor is to be executed per location; if not set, the monitor will be executed once.

Default: 1
locationsnull | Array<null | string>The locations from where the monitor is to be executed.
monitorId*requiredstringThe monitor identifier.
repeatModenull | "SEQUENTIAL" | "PARALLEL"Execution repeat mode. If not set, the mode is SEQUENTIAL.

Default: SEQUENTIAL

SyntheticOnDemandExecutionResult​

The result of on-demand synthetic monitor execution.

NameTypeDescription
batchId*requiredstringThe batch identifier of the triggered executions.
triggerednull | Array<null | SyntheticOnDemandTriggeredMonitor>Monitors for which on-demand executions were triggered.
triggeredCount*requirednumberThe total number of the triggered executions within the batch.
triggeringProblemsCount*requirednumberThe total number of problems within the batch.
triggeringProblemsDetailsnull | Array<null | SyntheticOnDemandTriggeringProblemDetails>List with the entities for which triggering problems occurred.

SyntheticOnDemandExecutions​

Contains a list of synthetic on-demand executions.

NameTypeDescription
executions*requiredArray<SyntheticOnDemandExecution>The list of executions.

SyntheticOnDemandFailedExecutionStatus​

Contains information about on-demand executions that failed or failed to be executed.

NameTypeDescription
errorCode*requirednull | stringError code.
executionId*requiredstringThe identifier of the execution.
executionStage"TRIGGERED" | "EXECUTED" | "DATA_RETRIEVED" | "NOT_TRIGGERED" | "TIMED_OUT" | "WAITING"Execution stage.
executionTimestampnull | numberThe timestamp when execution was finished, in UTC milliseconds.
failureMessagenull | stringFailure message.
locationId*requiredstringThe identifier of the location from where the monitor is to be executed.
monitorId*requiredstringThe identifier of the monitor.

SyntheticOnDemandTriggeredExecutionDetails​

Contains details of the triggered on-demand execution.

NameTypeDescription
executionId*requiredstringThe execution's identifier.
locationId*requiredstringThe identifier of the location from which the monitor is to be executed.

SyntheticOnDemandTriggeredMonitor​

Contains the list of on-demand executions of the monitor.

NameTypeDescription
executions*requiredArray<SyntheticOnDemandTriggeredExecutionDetails>The list of triggered executions.
monitorId*requiredstringThe monitor identifier.

SyntheticOnDemandTriggeringProblemDetails​

Contains the details of problems encountered while triggering on-demand executions.

NameTypeDescription
cause*requiredstringThe cause of not triggering entity.
details*requirednull | stringThe details of triggering problem.
entityId*requirednull | stringThe entity identifier.
executionId*requirednull | stringThe execution identifier.
locationIdnull | stringThe location identifier.

SyntheticPrivateLocationUpdate​

Configuration of a private synthetic location

NameTypeDescription
autoUpdateChromiumbooleanNon-containerized location property. Auto upgrade of Chromium is enabled (true) or disabled (false).
availabilityLocationOutagebooleanAlerting for location outage is enabled (true) or disabled (false). Supported only for private Synthetic locations.
availabilityNodeOutagebooleanAlerting for node outage is enabled (true) or disabled (false). \n\n If enabled, the outage of any node in the location triggers an alert. Supported only for private Synthetic locations.
availabilityNotificationsEnabledbooleanNotifications for location and node outage are enabled (true) or disabled (false). Supported only for private Synthetic locations.
browserExecutionSupportedboolean

Containerized location property. Boolean value describes if browser monitors will be executed on this location:

  • false: Browser monitor executions disabled.
  • true: Browser monitor executions enabled.
citystringThe city of the location.
countryCodestring

The country code of the location.

To fetch the list of available country codes, use the GET all countries request.

deploymentType"UNKNOWN" | "KUBERNETES" | "OPENSHIFT" | "STANDARD"

The deployment type of the location:

  • STANDARD: The location is deployed on Windows or Linux.
  • KUBERNETES: The location is deployed on Kubernetes.
fipsMode"ENABLED" | "DISABLED" | "ENABLED_WITH_CORPORATE_PROXY"

Containerized location property indicating whether FIPS mode is enabled on this location:

  • DISABLED: FIPS is not enabled on the location.
  • ENABLED: FIPS is enabled on the location.
  • ENABLED_WITH_CORPORATE_PROXY: FIPS with corporate proxy is enabled on this location. Default: DISABLED
latitude*requirednumberThe latitude of the location in DDD.dddd format.
locationNodeOutageDelayInMinutesnumberAlert if location or node outage lasts longer than X minutes. \n\n Only applicable when availabilityLocationOutage or availabilityNodeOutage is set to true. Supported only for private Synthetic locations.

Minimum: 1
longitude*requirednumberThe longitude of the location in DDD.dddd format.
maxActiveGateCountnumberContainerized location property. The maximum number of ActiveGates deployed for the location (required for a Kubernetes location).

Minimum: 1
minActiveGateCountnumberContainerized location property. The minimum number of ActiveGates deployed for the location (required for a Kubernetes location).

Minimum: 1
namExecutionSupportedboolean

Containerized location property. Boolean value describes if icmp monitors will be executed on this location:

  • false: Icmp monitor executions disabled.
  • true: Icmp monitor executions enabled.
name*requiredstringThe name of the location.
nodeSize"UNSUPPORTED" | "M" | "S" | "XS"

Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:

  • XS: extra small
  • S: small
  • M: medium The node size L is not supported in containerized locations.
nodes*requiredArray<string>

A list of synthetic nodes belonging to the location.

You can retrieve the list of available nodes with the GET all nodes call.

regionCodestring

The region code of the location.

To fetch the list of available region codes, use the GET regions of the country request.

status"ENABLED" | "DISABLED" | "HIDDEN"

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.
type*required"PUBLIC" | "PRIVATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> SyntheticPublicLocationUpdate
  • PRIVATE -> SyntheticPrivateLocationUpdate
useNewKubernetesVersionboolean

Containerized location property. Boolean value describes which kubernetes version will be used:

  • false: Version 1.23+ that is older than 1.26
  • true: Version 1.26+.

SyntheticPublicLocationUpdate​

The update of a public Synthetic location.

NameTypeDescription
status*required"ENABLED" | "DISABLED" | "HIDDEN"

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.
type*required"PUBLIC" | "PRIVATE"

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> SyntheticPublicLocationUpdate
  • PRIVATE -> SyntheticPrivateLocationUpdate

SyntheticPublicLocationsStatus​

The status of public synthetic locations.

NameTypeDescription
publicLocationsEnabled*requiredbooleanSynthetic monitors can (true) or can't (false) run on public synthetic locations.

SyntheticTagWithSourceDto​

The tag with source of a monitored entity.

NameTypeDescription
contextnull | string

The origin of the tag, such as AWS or Cloud Foundry.

Custom tags use the CONTEXTLESS value.

key*requiredstringThe key of the tag.
sourcenull | "AUTO" | "USER" | "RULE_BASED"The source of the tag, such as USER, RULE_BASED or AUTO.
valuenull | stringThe value of the tag.

TableColumn​

The definition of a table column to be used in the ui.

NameTypeDescription
pattern*requiredstringPattern with references to properties to create a single value for the column.

TargetDto​

Target of Browser Monitor step.

NameTypeDescription
locators*requiredArray<LocatorDto>List of locators.
window*requiredstringTarget window.

TenantToken​

Tenant token

NameTypeDescription
valuestringThe secret of the tenant token.

TenantTokenConfig​

Configuration of a tenant token.

NameTypeDescription
activeTenantTokenTenant token
oldTenantTokenTenant token

TenantTokenRotationStatus​

Status of tenant token rotation.

NameTypeDescription
status"ACTIVE" | "INACTIVE"Rotation status. ACTIVE when a secondary token exists, otherwise INACTIVE.

TestDeviceDto​

Test device of a Browser Monitor.

NameTypeDescription
height*requirednumberDevice height in px.

Minimum: 0
mobilenull | booleanDevice is mobile. If not defined in request, it will be set to false by default.
name*requiredstringDevice name.
touchEnablednull | booleanDevice is touch enabled. If not defined in request, it will be set to false by default.
width*requirednumberDevice width in px.

Minimum: 0

TimeWaitConditionDto​

Time wait condition for Browser Monitor step.

NameTypeDescription
milliseconds*requirednumberWait time in milliseconds.

Minimum: 0
type*required"NETWORK" | "NEXT_EVENT" | "PAGE_COMPLETE" | "TIME" | "USER_ACTIONS" | "VALIDATION"

Defines the actual set of fields depending on the value. See one of the following objects:

  • TIME -> TimeWaitConditionDto
  • VALIDATION -> ValidationWaitConditionDto
  • PAGE_COMPLETE -> BaseWaitConditionDto
  • NETWORK -> BaseWaitConditionDto
  • NEXT_EVENT -> BaseWaitConditionDto
  • USER_ACTIONS -> BaseWaitConditionDto

TimeoutSettingsDto​

Timeout settings of a Browser Monitor.

NameTypeDescription
temporaryActionLimitnull | numberCascading setTimeout calls number limit. If not defined in request, it will be set to 1 by default.
temporaryActionTotalTimeoutnull | numberNo additional timeout actions will be created once this time limit is reached. Value must be higher than 0 ms. If not defined in request, it will be set to 100 by default.

ToPosition​

The TO position of a relationship.

NameTypeDescription
idstringThe ID of the relationship.
toTypesArray<string>A list of monitored entity types that can occupy the TO position.

TokenCredentials​

A credentials set of the TOKEN type.

NameTypeDescription
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
descriptionstringA short description of the credentials set.
externalVaultExternalVaultInformation for synchronization credentials with external vault
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

tokenstringToken in the string format.
type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

External tracking link URL associated with the remediable entity of the security problem.

NameTypeDescription
displayNamestringDisplay name (title) set for the tracking link, e.g. 'ISSUE-123'.
lastUpdatedTimestampnumberThe timestamp (UTC milliseconds) of the last update of the tracking link.
urlstringURL set for the tracking link, e.g. https://example.com/ISSUE-123
userstringThe user who last changed the tracking link.

TrackingLinkUpdate​

External tracking link URL association to be set for the remediable entity of the security problem.

NameTypeDescription
displayName*requiredstringThe desired tracking link display name (title) set for the remediation item, e.g. 'ISSUE-123'.
url*requiredstring

The desired tracking link url set for the remediation item, e.g. https://example.com/ISSUE-123

Note that only valid URLs with 'http' or 'https' protocols are supported.

TransactionalEvidence​

The transactional evidence of the problem.

A behavior of a metric in an transaction that indicates the problem and/or is its root cause.

NameTypeDescription
displayName*requiredstringThe display name of the evidence.
endTime*requirednumberThe end time of the evidence, in UTC milliseconds
entity*requiredEntityStubA short representation of a monitored entity.
evidenceType*required"AVAILABILITY_EVIDENCE" | "EVENT" | "MAINTENANCE_WINDOW" | "METRIC" | "TRANSACTIONAL"

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence
groupingEntityEntityStubA short representation of a monitored entity.
rootCauseRelevant*requiredbooleanThe evidence is (true) or is not (false) a part of the root cause.
startTime*requirednumberThe start time of the evidence, in UTC milliseconds.
unit*requiredstringThe unit of the metric.
valueAfterChangePoint*requirednumberThe metric's value after the problem start.
valueBeforeChangePoint*requirednumberThe metric's value before the problem start.

TransferOwnershipRequest​

The request to change ownership of an object.

NameTypeDescription
newOwnerIdentityAn Identity describing either a user, a group, or the all-users group (applying to all users).

TruncatableListAttackRequestHeader​

A list of values that has possibly been truncated.

NameTypeDescription
truncationInfoTruncationInfoInformation on a possible truncation.
valuesArray<AttackRequestHeader>Values of the list.

TruncatableListHttpRequestParameter​

A list of values that has possibly been truncated.

NameTypeDescription
truncationInfoTruncationInfoInformation on a possible truncation.
valuesArray<HttpRequestParameter>Values of the list.

TruncatableListString​

A list of values that has possibly been truncated.

NameTypeDescription
truncationInfoTruncationInfoInformation on a possible truncation.
valuesArray<string>Values of the list.

TruncationInfo​

Information on a possible truncation.

NameTypeDescription
truncatedbooleanIf the list/value has been truncated.

UiButtonCustomization​

UI customization for defining a button that calls a function when pressed

NameTypeDescription
descriptionstringThe description to be shown in a tooltip when hovering over the button
displayName*requiredstringThe label of the button
identifier*requiredstringThe identifier of the function to be called when the button is pressed
insert*requiredstring | InsertPositionThe position where the button should be shown in the UI

UiCallbackCustomization​

UI customization options for defining custom callbacks

NameTypeDescription
buttonsArray<UiButtonCustomization>UI customization for defining buttons that call functions when pressed

UiCustomization​

Customization for UI elements

NameTypeDescription
callbackUiCallbackCustomizationUI customization options for defining custom callbacks
expandableUiExpandableCustomizationUI customization for expandable section
tableUiTableCustomizationCustomization for UI tables
tabsUiTabsCustomizationUI customization for tabs

UiEmptyStateCustomization​

UI customization for empty state in a table

NameTypeDescription
textstringThe text to be shown in the empty state

UiExpandableCustomization​

UI customization for expandable section

NameTypeDescription
displayNamestringThe display name
expandedbooleanDefines if the item should be expanded by default
sectionsArray<UiExpandableSectionCustomization>A list of sections

UiExpandableSectionCustomization​

Expandable section customization for UI

NameTypeDescription
descriptionstringThe description
displayName*requiredstringThe display name
expandedbooleanDefines if the section should be expanded by default
properties*requiredArray<string>A list of properties

UiTabGroupCustomization​

Tab group customization for UI

NameTypeDescription
descriptionstringThe description
displayName*requiredstringThe display name
properties*requiredArray<string>A list of properties

UiTableColumnCustomization​

Customization for UI table columns

NameTypeDescription
builtinColumnRefstringThe ui specific builtin column-implementation for this column.

Example: summary
columnRefstringThe referenced column from the 'tableColumns' property of the schema for this column.

Example: myCustomColumn
displayNamestringThe display name for this column.

Example: Color
idstringThe id for this column used for filtering. Required for conflicting or pathed columns - otherwise the ref is used.

Example: color
itemsArray<UiTableColumnItemCustomization>The possible items of this column.
propertyRefstringThe referenced property for this column.

Example: apiColor
typestringThe ui specific type for this column.

Example: cell-color-picker
widthstringThe width this column should take up on the table.

Example: 10%

UiTableColumnItemCustomization​

Customization for UI table column items

NameTypeDescription
displayNamestringThe display name of this item.

Example: Active
iconstringThe icon of this item.

Example: CRITICAL
value*requiredstringThe value of this item.

Example: ACTIVE

UiTableCustomization​

Customization for UI tables

NameTypeDescription
columnsArray<UiTableColumnCustomization>A list of columns for the UI table
emptyStateUiEmptyStateCustomizationUI customization for empty state in a table

UiTabsCustomization​

UI customization for tabs

NameTypeDescription
groupsArray<UiTabGroupCustomization>A list of groups

Unit​

The metadata of a unit.

NameTypeDescription
descriptionstringA short description of the unit.
displayNamestringThe display name of the unit.
displayNamePluralstringThe plural display name of the unit.
symbolstringThe symbol of the unit.
unitId*requiredstringThe ID of the unit.

UnitConversionResult​

The result of a unit conversion.

NameTypeDescription
resultValue*requirednumberThe result of the unit conversion.
unitId*requiredstringThe ID of the unit of this conversion result.

UnitList​

A list of units along with their properties.

NameTypeDescription
totalCount*requirednumberThe total number of units in the result.
units*requiredArray<Unit>A list of units.

UpdateJob​

Configuration of the ActiveGate update job.

NameTypeDescription
agTypenull | "CLUSTER" | "ENVIRONMENT" | "ENVIRONMENT_MULTI"The type of the ActiveGate.

Example: ENVIRONMENT
cancelablenull | booleanThe job can (true) or can't (false) be cancelled at the moment.

Example: false
durationnull | numberThe duration of the update, in milliseconds.

Example: 3608000
environmentsArray<null | string>A list of environments (specified by IDs) the ActiveGate can connect to.
errornull | stringThe information about update error.
jobIdstringThe ID of the update job.

Example: -3524498778810258605
jobState"SCHEDULED" | "PENDING" | "FAILED" | "IN_PROGRESS" | "ROLLBACK" | "SKIPPED" | "SUCCEED"The status of the update job.

Example: SUCCEED
startVersionnull | stringThe initial version of the ActiveGate.

Example: 1.185.0.20200201-120000
targetVersion*requirednull | string

The target version of the update.

Specify the version in the <major>.<minor>.<revision>.<timestamp> format.

To update to the latest available version, use the latest value.



Example: 1.190.0.20200301-130000
timestampnull | number

The timestamp of the update job completion.

The null value means the job is still running.



Example: 1582031917814
updateMethodnull | "AUTOMATIC" | "MANUAL_INSTALLATION" | "ON_DEMAND"The method of updating the ActiveGate or its component.

Example: AUTOMATIC
updateType"SYNTHETIC" | "ACTIVE_GATE" | "REMOTE_PLUGIN_AGENT" | "Z_REMOTE"The component to be updated.

Example: ACTIVE_GATE

UpdateJobList​

A list of update jobs of the ActiveGate.

NameTypeDescription
agIdstringThe ID of the ActiveGate.

Example: 0x3efdd092
updateJobsArray<UpdateJob>A list of update jobs of the ActiveGate.

UpdateJobsAll​

A list of ActiveGates with update jobs.

NameTypeDescription
allUpdateJobsArray<UpdateJobList>A list of ActiveGates with update jobs.

UpdatePermissionsRequest​

The request to update the permissions of a specific accessor.

NameTypeDescription
permissions*requiredArray<"r" | "w">The permissions to assign to the specified accessor.

UpdateWindow​

Basic information about one maintenance window

NameTypeDescription
id*requiredstringIdentifier of maintenance window

Example: vu9U3hXa3q0AAAABADdkeW5hdHJhY2Uuc2V0dGluZ3MuZGVwbG95bWVudC5tYW5h
namestringThe name of maintenance window

Example: Daily maintenance window

UpdateWindowsConfig​

Basic information about all configured update windows

NameTypeDescription
windows*requiredArray<UpdateWindow>List of update windows when the OneAgent update can start. If there is no value and update should be performed, the update will start at earliest convenience.

UploadJavaScriptMappingFileAliasBody​

NameTypeDescription
file*requiredBinary | Buffer | Blob | FileJavaScript mapping file to upload.

UploadJavaScriptMappingFileBody​

NameTypeDescription
file*requiredBinary | Buffer | Blob | FileJavaScript mapping file to upload.

UserPasswordCredentials​

A credentials set of the USERNAME_PASSWORD type.

NameTypeDescription
allowContextlessRequestsbooleanAllow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
allowedEntitiesArray<CredentialAccessData>The set of entities allowed to use the credential.
descriptionstringA short description of the credentials set.
externalVaultExternalVaultInformation for synchronization credentials with external vault
idstringThe ID of the credentials set.
name*requiredstringThe name of the credentials set.
ownerAccessOnlybooleanThe credentials set is available to every user (false) or to owner only (true).
passwordstringThe password of the credential.
scopeDEPRECATED"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION"The scope of the credentials set.
scopes*requiredArray<"EXTENSION" | "SYNTHETIC" | "APP_ENGINE" | "EXTENSION_AUTHENTICATION">

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

type*required"CERTIFICATE" | "PUBLIC_CERTIFICATE" | "TOKEN" | "USERNAME_PASSWORD" | "AWS_MONITORING_KEY_BASED" | "AWS_MONITORING_ROLE_BASED" | "SNMPV3"

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials
userstringThe username of the credentials set. Must not contain any ":" character.

ValidationResponse​

NameType
errorMetricIngestError
linesInvalidnumber
linesOknumber
warningsWarnings

ValidationRuleDto​

Validation rule of Browser Monitor step.

NameTypeDescription
failIfFound*requirednull | booleanBoolean value, true if we should fail on found pattern. If not defined in request, it will be set to false by default.
matchingPattern*requiredstringText pattern that should match on the website.
regexnull | booleanBoolean value, true if the "matchingPattern" value is a regex. If not defined in request, it will be set to false by default.
targetnull | TargetDtoTarget of Browser Monitor step.
type*required"TEXT_MATCH" | "CONTENT_MATCH" | "ELEMENT_MATCH"Type of validation.

ValidationWaitConditionDto​

Validation wait condition for Browser Monitor step.

NameTypeDescription
timeoutInMilliseconds*requirednumberValidation timeout in milliseconds.

Minimum: 0
type*required"NETWORK" | "NEXT_EVENT" | "PAGE_COMPLETE" | "TIME" | "USER_ACTIONS" | "VALIDATION"

Defines the actual set of fields depending on the value. See one of the following objects:

  • TIME -> TimeWaitConditionDto
  • VALIDATION -> ValidationWaitConditionDto
  • PAGE_COMPLETE -> BaseWaitConditionDto
  • NETWORK -> BaseWaitConditionDto
  • NEXT_EVENT -> BaseWaitConditionDto
  • USER_ACTIONS -> BaseWaitConditionDto
validationRule*requiredValidationRuleDtoValidation rule of Browser Monitor step.

VisuallyCompleteOptionsDto​

Visually Complete Options of a Browser Monitor.

NameTypeDescription
excludedElementsnull | Array<null | string>Query CSS selectors to specify mutation nodes (elements that change) to ignore in Visually complete and Speed index calculation.
excludedUrlsnull | Array<null | string>Use regular expressions to define URLs for images and iFrames to exclude from detection by the Visually complete module.
imageSizeThresholdnull | numberUse this setting to define the minimum visible area per element (in pixels) for an element to be counted towards Visually complete and Speed index. If not defined in request, it will be set to 50 by default.
inactivityTimeoutnull | numberThe time the Visually complete module waits for inactivity and no further mutations on the page after the load action. If not defined in request, it will be set to 1000 by default.
mutationTimeoutnull | numberThe time the Visually complete module waits after an XHR or custom action closes to start the calculation. If not defined in request, it will be set to 50 by default.

Vulnerability​

Describes the exploited vulnerability.

NameTypeDescription
codeLocationCodeLocationInformation about a code location.
displayNamestringThe display name of the vulnerability.
vulnerabilityIdstringThe id of the vulnerability.
vulnerableFunctionFunctionDefinitionInformation about a function definition.
vulnerableFunctionInputVulnerableFunctionInputDescribes what got passed into the code level vulnerability.

VulnerableComponent​

Vulnerable component of a security problem.

NameTypeDescription
affectedEntitiesArray<string>A list of affected entities.
displayNamestringThe display name of the vulnerable component.
fileNamestringThe file name of the vulnerable component.
idstringThe Dynatrace entity ID of the vulnerable component.
numberOfAffectedEntitiesnumberThe number of affected entities.
shortNamestringThe short, component-only name of the vulnerable component.

VulnerableFunction​

Defines an vulnerable function.

NameTypeDescription
classNamestringThe class name of the vulnerable function.
filePathstringThe file path of the vulnerable function.
functionNamestringThe function name of the vulnerable function.

VulnerableFunctionInput​

Describes what got passed into the code level vulnerability.

NameTypeDescription
inputSegmentsArray<VulnerableFunctionInputSegment>A list of input segments.
type"COMMAND" | "HTTP_CLIENT" | "JNDI" | "SQL_STATEMENT"The type of the input.

VulnerableFunctionInputSegment​

Describes one segment that was passed into a vulnerable function.

NameTypeDescription
type"MALICIOUS_INPUT" | "REGULAR_INPUT" | "TAINTED_INPUT"The type of the input segment.
valuestringThe value of the input segment.

VulnerableFunctionProcessGroups​

A vulnerable function including its usage by specific process groups in context of the security problem.

NameTypeDescription
functionVulnerableFunctionDefines an vulnerable function.
processGroupsInUseArray<string>The process group identifiers, where this vulnerable function is in use.
processGroupsNotAvailableArray<string>The process group identifiers, where information about the usage of this function not available.
processGroupsNotInUseArray<string>The process group identifiers, where this vulnerable function is not in use.
usage"NOT_AVAILABLE" | "IN_USE" | "NOT_IN_USE"

The vulnerable function usage based on the given process groups:

  • IN_USE if at least one process group calls this vulnerable function.
  • NOT_IN_USE if all process groups do not call this vulnerable function.
  • NOT_AVAILABLE if vulnerable function usage could not be calculated for at least one process group and no process group calls this vulnerable function.

VulnerableFunctionsContainer​

A list of vulnerable functions, their security problem wide usages and their usages per process group. Optional: A list of vulnerable function usages per process group for a security problem.

NameTypeDescription
vulnerableFunctionsArray<VulnerableFunctionProcessGroups>A list of vulnerable functions, their security problem wide usages and their usages per process group.
vulnerableFunctionsByProcessGroupArray<ProcessGroupVulnerableFunctions>

A list of vulnerable function usages per process group for a security problem. The result is sorted based on the following criteria:

  • the number of vulnerable functions in use (descending).
  • the number of vulnerable functions not in use (descending).
  • the number of vulnerable functions not available (descending).
  • the process group identifier (ascending)

WarningLine​

NameType
linenumber
warningstring

Warnings​

NameType
changedMetricKeysArray<WarningLine>
messagestring

AnyValue​

A schema representing an arbitrary value type.

type: string | number | number | boolean | Array<any> | Record<string &#124; any>

Enums​

AbstractCredentialsResponseElementScope​

⚠️ Deprecated Use literal values.

The scope of the credentials set.

Enum keys​

All | Extension | Synthetic | Unknown

AbstractCredentialsResponseElementType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • USERNAME_PASSWORD -> CredentialsDetailsUsernamePasswordResponseElement
  • CERTIFICATE -> CredentialsDetailsCertificateResponseElement
  • TOKEN -> CredentialsDetailsTokenResponseElement
  • PUBLIC_CERTIFICATE -> CredentialsDetailsCertificateResponseElement

Enum keys​

Certificate | PublicCertificate | Token | UsernamePassword

AbstractSloAlertDtoAlertType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • BURN_RATE -> BurnRateAlert
  • STATUS -> StatusAlert

Enum keys​

BurnRate | Status

AccessorPermissionsPermissionsItem​

⚠️ Deprecated Use literal values.

r = read, w = write

Enum keys​

R | W

ActiveGateAutoUpdateConfigEffectiveSetting​

⚠️ Deprecated Use literal values.

The actual state of the ActiveGate auto-update.

Applicable only if the setting parameter is set to INHERITED. In that case, the value is taken from the parent setting. Otherwise, it's just a duplicate of the setting value.

Enum keys​

Disabled | Enabled

ActiveGateAutoUpdateConfigSetting​

⚠️ Deprecated Use literal values.

The state of the environment ActiveGate auto-update: enabled, disabled, or inherited.

If set to INHERITED, the setting is inherited from the global environment ActiveGate auto-update configuration.

Enum keys​

Disabled | Enabled | Inherited

ActiveGateAutoUpdateStatus​

⚠️ Deprecated Use literal values.

The current status of auto-updates of the ActiveGate.

Enum keys​

Incompatible | Outdated | Scheduled | Suppressed | Unknown | Up2Date | UpdateInProgress | UpdatePending | UpdateProblem

ActiveGateGlobalAutoUpdateConfigGlobalSetting​

⚠️ Deprecated Use literal values.

The state of auto-updates for all environment ActiveGates.

This setting is inherited by all environment ActiveGates that have the INHERITED setting.

Enum keys​

Disabled | Enabled

ActiveGateModuleType​

⚠️ Deprecated Use literal values.

The type of ActiveGate module.

Enum keys​

Aws | Azure | BeaconForwarder | CloudFoundry | DbInsight | Debugging | ExtensionsV1 | ExtensionsV2 | Kubernetes | Logs | MemoryDumps | MetricApi | OneAgentRouting | OtlpIngest | RestApi | Synthetic | Vmware | ZOs

ActiveGateOsArchitecture​

⚠️ Deprecated Use literal values.

The OS architecture that the ActiveGate is running on.

Enum keys​

Arm | Ppcle | S390 | X86

ActiveGateOsBitness​

⚠️ Deprecated Use literal values.

The OS bitness that the ActiveGate is running on.

Enum keys​

_64

ActiveGateOsType​

⚠️ Deprecated Use literal values.

The OS type that the ActiveGate is running on.

Enum keys​

Linux | Windows

ActiveGateTokenActiveGateType​

⚠️ Deprecated Use literal values.

The type of the ActiveGate for which the token is valid.

Enum keys​

Cluster | Environment

ActiveGateTokenCreateActiveGateType​

⚠️ Deprecated Use literal values.

The type of the ActiveGate for which the token is valid.

Enum keys​

Cluster | Environment

ActiveGateTokenInfoDtoState​

⚠️ Deprecated Use literal values.

State of the ActiveGate token.

Enum keys​

Absent | Expiring | Invalid | Unknown | Unsupported | Valid

ActiveGateType​

⚠️ Deprecated Use literal values.

The type of the ActiveGate.

Enum keys​

Cluster | Environment | EnvironmentMulti

ApiTokenCreateScopesItem​

⚠️ Deprecated Use literal values.

Enum keys​

ActiveGateCertManagement | ActiveGateTokenManagementCreate | ActiveGateTokenManagementRead | ActiveGateTokenManagementWrite | ActiveGatesRead | ActiveGatesWrite | AdaptiveTrafficManagementRead | AdvancedSyntheticIntegration | AgentTokenManagementRead | ApiTokensRead | ApiTokensWrite | AttacksRead | AttacksWrite | AuditLogsRead | BizeventsIngest | CaptureRequestData | CredentialVaultRead | CredentialVaultWrite | DataExport | DataImport | DataPrivacy | Davis | DistributedTraceRead | DssFileManagement | DtaqlAccess | EntitiesRead | EntitiesWrite | EventsIngest | EventsRead | ExtensionConfigurationActionsWrite | ExtensionConfigurationsRead | ExtensionConfigurationsWrite | ExtensionDiscoveryJmxRead | ExtensionDiscoveryPmiRead | ExtensionEnvironmentRead | ExtensionEnvironmentWrite | ExtensionsRead | ExtensionsWrite | ExternalSyntheticIntegration | GeographicRegionsRead | HubInstall | HubRead | HubWrite | InstallerDownload | JavaScriptMappingFilesRead | JavaScriptMappingFilesWrite | LogExport | LogsIngest | LogsRead | MetricsIngest | MetricsRead | MetricsWrite | NetworkZonesRead | NetworkZonesWrite | OneAgentsRead | OneAgentsWrite | OpenTelemetryTraceIngest | OpenpipelineEvents | OpenpipelineEventsCustom | OpenpipelineEventsDataLineage | OpenpipelineEventsDataLineageCustom | OpenpipelineEventsSdlc | OpenpipelineEventsSdlcCustom | OpenpipelineEventsSecurity | OpenpipelineEventsSecurityCustom | OpenpipelineEventsSmartscape | PluginUpload | ProblemsRead | ProblemsWrite | ReadConfig | ReadSyntheticData | ReleasesRead | RestRequestForwarding | RumBrowserExtension | RumCookieNamesRead | RumJavaScriptTagManagement | RumManualInsertionTagsRead | SecurityProblemsRead | SecurityProblemsWrite | SettingsRead | SettingsWrite | SloRead | SloWrite | SupportAlert | SyntheticExecutionsRead | SyntheticExecutionsWrite | SyntheticLocationsRead | SyntheticLocationsWrite | TenantTokenManagement | TenantTokenRotationWrite | TracesLookup | UnifiedAnalysisRead | UserSessionAnonymization | WriteConfig

ApiTokenScopesItem​

⚠️ Deprecated Use literal values.

Enum keys​

ActiveGateCertManagement | ActiveGateTokenManagementCreate | ActiveGateTokenManagementRead | ActiveGateTokenManagementWrite | ActiveGatesRead | ActiveGatesWrite | AdaptiveTrafficManagementRead | AdvancedSyntheticIntegration | AgentTokenManagementRead | ApiTokensRead | ApiTokensWrite | AttacksRead | AttacksWrite | AuditLogsRead | BizeventsIngest | CaptureRequestData | CredentialVaultRead | CredentialVaultWrite | DataExport | DataImport | DataPrivacy | Davis | DiagnosticExport | DistributedTraceRead | DssFileManagement | DtaqlAccess | EntitiesRead | EntitiesWrite | EventsIngest | EventsRead | ExtensionConfigurationActionsWrite | ExtensionConfigurationsRead | ExtensionConfigurationsWrite | ExtensionDiscoveryJmxRead | ExtensionDiscoveryPmiRead | ExtensionEnvironmentRead | ExtensionEnvironmentWrite | ExtensionsRead | ExtensionsWrite | ExternalSyntheticIntegration | GeographicRegionsRead | HubInstall | HubRead | HubWrite | InstallerDownload | JavaScriptMappingFilesRead | JavaScriptMappingFilesWrite | LogExport | LogsIngest | LogsRead | MemoryDump | MetricsIngest | MetricsRead | MetricsWrite | Mobile | NetworkZonesRead | NetworkZonesWrite | OneAgentsRead | OneAgentsWrite | OpenTelemetryTraceIngest | OpenpipelineEvents | OpenpipelineEventsCustom | OpenpipelineEventsDataLineage | OpenpipelineEventsDataLineageCustom | OpenpipelineEventsSdlc | OpenpipelineEventsSdlcCustom | OpenpipelineEventsSecurity | OpenpipelineEventsSecurityCustom | OpenpipelineEventsSmartscape | PluginUpload | ProblemsRead | ProblemsWrite | ReadConfig | ReadSyntheticData | ReleasesRead | RestRequestForwarding | RumBrowserExtension | RumCookieNamesRead | RumJavaScriptTagManagement | RumManualInsertionTagsRead | SecurityProblemsRead | SecurityProblemsWrite | SettingsRead | SettingsWrite | SloRead | SloWrite | SupportAlert | SyntheticExecutionsRead | SyntheticExecutionsWrite | SyntheticLocationsRead | SyntheticLocationsWrite | TenantTokenManagement | TenantTokenRotationWrite | TracesLookup | UnifiedAnalysisRead | UserSessionAnonymization | ViewDashboard | ViewReport | WriteConfig | WriteSyntheticData

ApiTokenUpdateScopesItem​

⚠️ Deprecated Use literal values.

Enum keys​

ActiveGateCertManagement | ActiveGateTokenManagementCreate | ActiveGateTokenManagementRead | ActiveGateTokenManagementWrite | ActiveGatesRead | ActiveGatesWrite | AdaptiveTrafficManagementRead | AdvancedSyntheticIntegration | AgentTokenManagementRead | ApiTokensRead | ApiTokensWrite | AttacksRead | AttacksWrite | AuditLogsRead | BizeventsIngest | CaptureRequestData | CredentialVaultRead | CredentialVaultWrite | DataExport | DataImport | DataPrivacy | Davis | DistributedTraceRead | DssFileManagement | DtaqlAccess | EntitiesRead | EntitiesWrite | EventsIngest | EventsRead | ExtensionConfigurationActionsWrite | ExtensionConfigurationsRead | ExtensionConfigurationsWrite | ExtensionDiscoveryJmxRead | ExtensionDiscoveryPmiRead | ExtensionEnvironmentRead | ExtensionEnvironmentWrite | ExtensionsRead | ExtensionsWrite | ExternalSyntheticIntegration | GeographicRegionsRead | HubInstall | HubRead | HubWrite | InstallerDownload | JavaScriptMappingFilesRead | JavaScriptMappingFilesWrite | LogExport | LogsIngest | LogsRead | MetricsIngest | MetricsRead | MetricsWrite | NetworkZonesRead | NetworkZonesWrite | OneAgentsRead | OneAgentsWrite | OpenTelemetryTraceIngest | OpenpipelineEvents | OpenpipelineEventsCustom | OpenpipelineEventsDataLineage | OpenpipelineEventsDataLineageCustom | OpenpipelineEventsSdlc | OpenpipelineEventsSdlcCustom | OpenpipelineEventsSecurity | OpenpipelineEventsSecurityCustom | OpenpipelineEventsSmartscape | PluginUpload | ProblemsRead | ProblemsWrite | ReadConfig | ReadSyntheticData | ReleasesRead | RestRequestForwarding | RumBrowserExtension | RumCookieNamesRead | RumJavaScriptTagManagement | RumManualInsertionTagsRead | SecurityProblemsRead | SecurityProblemsWrite | SettingsRead | SettingsWrite | SloRead | SloWrite | SupportAlert | SyntheticExecutionsRead | SyntheticExecutionsWrite | SyntheticLocationsRead | SyntheticLocationsWrite | TenantTokenManagement | TenantTokenRotationWrite | TracesLookup | UnifiedAnalysisRead | UserSessionAnonymization | WriteConfig

AssessmentAccuracyDetailsReducedReasonsItem​

⚠️ Deprecated Use literal values.

The reason for a reduced accuracy of the assessment.

Enum keys​

LimitedAgentSupport | LimitedByConfiguration | LimitedByServiceDetectionV2

AssetInfoDtoType​

⚠️ Deprecated Use literal values.

The type of the asset.

Enum keys​

Alert | AlertTemplate | AwsService | CustomCards | Dashboard | DeclarativeProcesses | DocumentDashboard | DocumentScreen | DqlLogMetric | DqlLogProcessingRule | EventCorrelationRules | GenericRelationship | GenericType | ListScreenFilters | ListScreenInjections | ListScreenLayout | LogEvent | LogMetric | LogProcessingRule | LqlLogMetric | LqlLogProcessingRule | MetricMetadata | MetricQuery | OpenPipeline | ProcessGroupingRules | ScreenActions | ScreenChartGroups | ScreenDqlTable | ScreenEntitiesLists | ScreenEventsCards | ScreenFilters | ScreenHealthCards | ScreenInjections | ScreenLayout | ScreenLogsCards | ScreenMessageCards | ScreenMetricTables | ScreenProblems | ScreenProperties

AttackAttackType​

⚠️ Deprecated Use literal values.

The type of the attack.

Enum keys​

CommandInjection | JndiInjection | SqlInjection | Ssrf

AttackSecurityProblemAssessmentDtoDataAssets​

⚠️ Deprecated Use literal values.

The reachability of data assets by the attacked target.

Enum keys​

NotAvailable | NotDetected | Reachable

AttackSecurityProblemAssessmentDtoExposure​

⚠️ Deprecated Use literal values.

The level of exposure of the attacked target

Enum keys​

NotAvailable | NotDetected | PublicNetwork

AttackState​

⚠️ Deprecated Use literal values.

The state of the attack.

Enum keys​

Allowlisted | Blocked | Exploited

AttackTechnology​

⚠️ Deprecated Use literal values.

The technology of the attack.

Enum keys​

Dotnet | Go | Java | NodeJs

AuditLogEntryCategory​

⚠️ Deprecated Use literal values.

The category of the recorded operation.

Enum keys​

ActivegateToken | BuildUnitV2 | Config | ManualTaggingService | TenantLifecycle | Token | WebUi

AuditLogEntryEventType​

⚠️ Deprecated Use literal values.

The type of the recorded operation.

  • LOGIN -> A user logged in
  • LOGOUT -> A user logged out
  • CREATE -> An object was created
  • UPDATE -> An object was updated
  • DELETE -> An object was deleted
  • REVOKE -> An Active Gate token was revoked
  • TAG_ADD -> A manual tag was added
  • TAG_REMOVE -> A manual tag was removed
  • TAG_UPDATE -> A manual tag was updated
  • REMOTE_CONFIGURATION_MANAGEMENT -> A Remote Configuration Management related operation occurred

Enum keys​

Create | Delete | Login | Logout | Reorder | Revoke | TagAdd | TagRemove | TagUpdate | Update

AuditLogEntryUserType​

⚠️ Deprecated Use literal values.

The type of the authentication of the user.

  • USER_NAME -> User was logged in the UI
  • TOKEN_HASH -> URL Token or DevOps Token, the hash of the token is logged
  • SERVICE_NAME -> No authenticated user at all, this action was performed by a system service automatically
  • PUBLIC_TOKEN_IDENTIFIER -> API Token, the public token id is logged

Enum keys​

PublicTokenIdentifier | ServiceName | TokenHash | UserName

AuthenticationDtoInputType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureAuthenticationDto
  • PLAIN -> PlainAuthenticationDto

Enum keys​

Plain | Secure

AuthenticationDtoType​

⚠️ Deprecated Use literal values.

Type of authentication.

Enum keys​

HttpAuthentication | Kerberos | Webform

BaseWaitConditionDtoType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • TIME -> TimeWaitConditionDto
  • VALIDATION -> ValidationWaitConditionDto
  • PAGE_COMPLETE -> BaseWaitConditionDto
  • NETWORK -> BaseWaitConditionDto
  • NEXT_EVENT -> BaseWaitConditionDto
  • USER_ACTIONS -> BaseWaitConditionDto

Enum keys​

Network | NextEvent | PageComplete | Time | UserActions | Validation

ChromiumStartupFlagsDtoAutoplayPolicy​

⚠️ Deprecated Use literal values.

autoplay-policy type.

Enum keys​

DocumentUserActivationRequired | NoUserGestureRequired

CodeLevelVulnerabilityDetailsType​

⚠️ Deprecated Use literal values.

The type of code level vulnerability.

Enum keys​

CmdInjection | ImproperInputValidation | SqlInjection | Ssrf

ComplexConstraintType​

⚠️ Deprecated Use literal values.

The type of the constraint.

Enum keys​

CustomValidatorRef | GreaterThan | GreaterThanOrEqual | LessThan | LessThanOrEqual | PropertyCountRange | SecretResubmission | Unknown

ConstraintType​

⚠️ Deprecated Use literal values.

The type of the constraint.

Enum keys​

CustomValidatorRef | Length | NoWhitespace | NotBlank | NotEmpty | Pattern | Range | Regex | Trimmed | Unique | Unknown

ConstraintViolationParameterLocation​

⚠️ Deprecated Use literal values.

Enum keys​

Header | Path | PayloadBody | Query

ContainerImageComponentType​

⚠️ Deprecated Use literal values.

Container image component type.

Enum keys​

Activegate | Codemodules | DatabaseDatasourceExecutor | DynatraceSqlExtensionExecutor | EdgeConnect | Eec | Logmodule | Ncc | Oneagent | OtelCollector | SqlExtensionExecutor | TargetAllocator

CreateAlertQueryTimeFrame​

⚠️ Deprecated Use literal values.

Enum keys​

Current | Gtf

CredentialAccessDataType​

⚠️ Deprecated Use literal values.

Enum keys​

Application | Unknown | User

CredentialsResponseElementScope​

⚠️ Deprecated Use literal values.

The scope of the credentials set.

Enum keys​

AppEngine | Extension | ExtensionAuthentication | Synthetic

CredentialsResponseElementScopesItem​

⚠️ Deprecated Use literal values.

The set of scopes of the credentials set.

Enum keys​

AppEngine | Extension | ExtensionAuthentication | Synthetic

CredentialsResponseElementType​

⚠️ Deprecated Use literal values.

The type of the credentials set.

Enum keys​

AwsMonitoringKeyBased | AwsMonitoringRoleBased | Certificate | PublicCertificate | Snmpv3 | Token | Unknown | UsernamePassword

CredentialsScope​

⚠️ Deprecated Use literal values.

The scope of the credentials set.

Enum keys​

AppEngine | Extension | ExtensionAuthentication | Synthetic

CredentialsScopesItem​

⚠️ Deprecated Use literal values.

The set of scopes of the credentials set.

Limitations: CredentialsScope.APP_ENGINE is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.

Enum keys​

AppEngine | Extension | ExtensionAuthentication | Synthetic

CredentialsType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • CERTIFICATE -> CertificateCredentials
  • PUBLIC_CERTIFICATE -> PublicCertificateCredentials
  • USERNAME_PASSWORD -> UserPasswordCredentials
  • TOKEN -> TokenCredentials
  • SNMPV3 -> SNMPV3Credentials
  • AWS_MONITORING_KEY_BASED -> AWSKeyBasedCredentialsDto
  • AWS_MONITORING_ROLE_BASED -> AWSRoleBasedCredentials

Enum keys​

AwsMonitoringKeyBased | AwsMonitoringRoleBased | Certificate | PublicCertificate | Snmpv3 | Token | UsernamePassword

DatasourceDefinitionResetValue​

⚠️ Deprecated Use literal values.

When to reset datasource value in the UI on filter change.

Enum keys​

Always | InvalidOnly | Never

DavisSecurityAdviceAdviceType​

⚠️ Deprecated Use literal values.

The type of the advice.

Enum keys​

Upgrade

DavisSecurityAdviceTechnology​

⚠️ Deprecated Use literal values.

The technology of the vulnerable component.

Enum keys​

Dotnet | Go | Java | Kubernetes | NodeJs | Php | Python

Delete_1PathPlatform​

⚠️ Deprecated Use literal values.

Enum keys​

Android | Ios

DeleteJavaScriptMappingFileAliasQueryFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

DeleteJavaScriptMappingFilePathFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

DeletionConstraintType​

⚠️ Deprecated Use literal values.

The type of the deletion constraint.

Enum keys​

CustomValidatorRef | ReferentialIntegrity | Unknown

DurationUnit​

⚠️ Deprecated Use literal values.

The unit of time.

If not set, millisecond is used.

Enum keys​

Days | Hours | Millis | Minutes | Seconds

EffectivePermissionGranted​

⚠️ Deprecated Use literal values.

Enum keys​

Condition | False | True

EnablementDtoOrigin​

⚠️ Deprecated Use literal values.

Indicates the origin of these settings.

Enum keys​

Default | Monitor | Tenant | Unknown

EntryPointUsageSegmentSegmentType​

⚠️ Deprecated Use literal values.

The type of this input segment.

Enum keys​

MaliciousInput | RegularInput | TaintedInput

EntryPointUsageSegmentSourceType​

⚠️ Deprecated Use literal values.

The type of the HTTP request part that contains the value that was used in this segment.

Enum keys​

HttpBody | HttpCookie | HttpHeaderName | HttpHeaderValue | HttpOther | HttpParameterName | HttpParameterValue | HttpUrl | Unknown

EntrypointPayloadType​

⚠️ Deprecated Use literal values.

Type of the payload.

Enum keys​

HttpBody | HttpCookie | HttpHeaderName | HttpHeaderValue | HttpOther | HttpParameterName | HttpParameterValue | HttpUrl | Unknown

EnumTypeType​

⚠️ Deprecated Use literal values.

The type of the property.

Enum keys​

Enum

EventIngestEventType​

⚠️ Deprecated Use literal values.

The type of the event.

Enum keys​

AvailabilityEvent | CustomAlert | CustomAnnotation | CustomConfiguration | CustomDeployment | CustomInfo | ErrorEvent | MarkedForTermination | PerformanceEvent | ResourceContentionEvent | Warning

EventIngestResultStatus​

⚠️ Deprecated Use literal values.

The status of the ingestion.

Enum keys​

InvalidEntityType | InvalidMetadata | InvalidTimestamps | Ok

EventStatus​

⚠️ Deprecated Use literal values.

The status of the event.

Enum keys​

Closed | Open

EventTypeSeverityLevel​

⚠️ Deprecated Use literal values.

The severity level associated with the event type.

Enum keys​

Availability | CustomAlert | Error | Info | MonitoringUnavailable | Performance | ResourceContention

EvidenceEvidenceType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • EVENT -> EventEvidence
  • METRIC -> MetricEvidence
  • TRANSACTIONAL -> TransactionalEvidence
  • MAINTENANCE_WINDOW -> MaintenanceWindowEvidence
  • AVAILABILITY_EVIDENCE -> AvailabilityEvidence

Enum keys​

AvailabilityEvidence | Event | MaintenanceWindow | Metric | Transactional

ExecutionStepMonitorType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • BROWSER -> BMAction
  • HTTP -> MonitorRequestExecutionResult

Enum keys​

Browser | Http

ExtensionStatusDtoStatus​

⚠️ Deprecated Use literal values.

Latest status of given configuration.

Enum keys​

Error | Ok | Pending | Unknown | Warning

ExtensionStatusWithIdDtoStatus​

⚠️ Deprecated Use literal values.

Latest status of given configuration.

Enum keys​

Error | Ok | Pending | Unknown | Warning

ExternalVaultConfigSourceAuthMethod​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApproleConfig
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificateConfig
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecretConfig
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePasswordConfig
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationConfig

Enum keys​

AzureKeyVaultClientSecret | CyberarkVaultAllowedLocation | CyberarkVaultUsernamePassword | HashicorpVaultApprole | HashicorpVaultCertificate

ExternalVaultConfigType​

⚠️ Deprecated Use literal values.

Enum keys​

AzureCertificateModel | AzureClientSecretModel | CyberarkVaultAllowedLocationModel | CyberarkVaultUsernamePasswordModel | HashicorpApproleModel | HashicorpCertificateModel

ExternalVaultSourceAuthMethod​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • HASHICORP_VAULT_APPROLE -> HashicorpApprole
  • HASHICORP_VAULT_CERTIFICATE -> HashicorpCertificate
  • AZURE_KEY_VAULT_CLIENT_SECRET -> AzureClientSecret
  • CYBERARK_VAULT_USERNAME_PASSWORD -> CyberArkUsernamePassword
  • CYBERARK_VAULT_ALLOWED_LOCATION -> CyberArkAllowedLocationDto

Enum keys​

AzureKeyVaultClientSecret | CyberarkVaultAllowedLocation | CyberarkVaultUsernamePassword | HashicorpVaultApprole | HashicorpVaultCertificate

FilterType​

⚠️ Deprecated Use literal values.

Type of this filter, determines which other fields are present.Can be any of:

  • eq,
  • ne,
  • prefix,
  • in,
  • remainder,
  • suffix,
  • contains,
  • existsKey,
  • series,
  • or,
  • and,
  • not,
  • ge,
  • gt,
  • le,
  • lt,
  • otherwise.

Enum keys​

And | Contains | Eq | ExistsKey | Ge | Gt | In | Le | Lt | Ne | Not | Or | Otherwise | Prefix | Remainder | Series | Suffix

FilteredRequestsDtoMode​

⚠️ Deprecated Use literal values.

Filter mode for filtered requests.

Enum keys​

Allow | Block

GetAllActiveGatesQueryAutoUpdate​

⚠️ Deprecated Use literal values.

Enum keys​

Disabled | Enabled

GetAllActiveGatesQueryDisabledModuleItem​

⚠️ Deprecated Use literal values.

Enum keys​

Aws | Azure | BeaconForwarder | CloudFoundry | DbInsight | Debugging | ExtensionsV1 | ExtensionsV2 | Kubernetes | Logs | MemoryDumps | MetricApi | OneAgentRouting | OtlpIngest | RestApi | Synthetic | Vmware | ZOs

GetAllActiveGatesQueryEnabledModuleItem​

⚠️ Deprecated Use literal values.

Enum keys​

Aws | Azure | BeaconForwarder | CloudFoundry | DbInsight | Debugging | ExtensionsV1 | ExtensionsV2 | Kubernetes | Logs | MemoryDumps | MetricApi | OneAgentRouting | OtlpIngest | RestApi | Synthetic | Vmware | ZOs

GetAllActiveGatesQueryOsArchitecture​

⚠️ Deprecated Use literal values.

Enum keys​

Arm | Ppcle | S390 | X86

GetAllActiveGatesQueryOsType​

⚠️ Deprecated Use literal values.

Enum keys​

Linux | Windows

GetAllActiveGatesQueryTokenState​

⚠️ Deprecated Use literal values.

Enum keys​

Absent | Expiring | Invalid | Unknown | Unsupported | Valid

GetAllActiveGatesQueryType​

⚠️ Deprecated Use literal values.

Enum keys​

Environment | EnvironmentMulti

GetAllActiveGatesQueryUpdateStatus​

⚠️ Deprecated Use literal values.

Enum keys​

Incompatible | Outdated | Scheduled | Suppressed | Unknown | Up2Date | UpdateInProgress | UpdatePending | UpdateProblem

GetAllActiveGatesQueryVersionCompareType​

⚠️ Deprecated Use literal values.

Enum keys​

Equal | Greater | GreaterEqual | Lower | LowerEqual

GetAllUpdateJobListQueryStartVersionCompareType​

⚠️ Deprecated Use literal values.

Enum keys​

Equal | Greater | GreaterEqual | Lower | LowerEqual

GetAllUpdateJobListQueryTargetVersionCompareType​

⚠️ Deprecated Use literal values.

Enum keys​

Equal | Greater | GreaterEqual | Lower | LowerEqual

GetAllUpdateJobListQueryUpdateType​

⚠️ Deprecated Use literal values.

Enum keys​

ActiveGate | RemotePluginAgent | Synthetic | ZRemote

GetExecutionResultPathResultType​

⚠️ Deprecated Use literal values.

Enum keys​

Failed | Success

GetExecutionsQueryExecutionStage​

⚠️ Deprecated Use literal values.

Enum keys​

DataRetrieved | Executed | Triggered

GetExecutionsQuerySource​

⚠️ Deprecated Use literal values.

Enum keys​

Api | Ui

GetHostStatsQueryFilter​

⚠️ Deprecated Use literal values.

Enum keys​

All | ConfiguredButNotConnectedOnly | ConnectedAsAlternativeOnly | ConnectedAsFailoverOnly | ConnectedAsFailoverWithoutOwnActiveGatesOnly

GetJavaScriptMappingFilesMetadataAliasQueryFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

GetJavaScriptMappingFilesMetadataQueryFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

GetJavaScriptTagQueryScriptExecutionAttribute​

⚠️ Deprecated Use literal values.

Enum keys​

Async | Defer | None

GetLocationsQueryCapability​

⚠️ Deprecated Use literal values.

Enum keys​

Browser | Dns | Http | HttpHighResource | Icmp | Tcp

GetLocationsQueryCloudPlatform​

⚠️ Deprecated Use literal values.

Enum keys​

Alibaba | Aws | Azure | GoogleCloud | Other

GetLocationsQueryType​

⚠️ Deprecated Use literal values.

Enum keys​

Private | Public

GetNodesQueryAssignedToLocation​

⚠️ Deprecated Use literal values.

Enum keys​

False | True

GetOneAgentJavaScriptTagQueryScriptExecutionAttribute​

⚠️ Deprecated Use literal values.

Enum keys​

Async | Defer | None

GetOneAgentJavaScriptTagWithSriQueryScriptExecutionAttribute​

⚠️ Deprecated Use literal values.

Enum keys​

Async | Defer | None

GetPathPlatform​

⚠️ Deprecated Use literal values.

Enum keys​

Android | Ios

GetPermissionPathAccessorType​

⚠️ Deprecated Use literal values.

Enum keys​

Group | User

GetSloByIdQueryTimeFrame​

⚠️ Deprecated Use literal values.

Enum keys​

Current | Gtf

GetSloQueryEnabledSlos​

⚠️ Deprecated Use literal values.

Enum keys​

All | False | True

GetSloQueryEvaluate​

⚠️ Deprecated Use literal values.

Enum keys​

False | True

GetSloQueryTimeFrame​

⚠️ Deprecated Use literal values.

Enum keys​

Current | Gtf

GetUpdateJobListByAgIdQueryStartVersionCompareType​

⚠️ Deprecated Use literal values.

Enum keys​

Equal | Greater | GreaterEqual | Lower | LowerEqual

GetUpdateJobListByAgIdQueryTargetVersionCompareType​

⚠️ Deprecated Use literal values.

Enum keys​

Equal | Greater | GreaterEqual | Lower | LowerEqual

GetUpdateJobListByAgIdQueryUpdateType​

⚠️ Deprecated Use literal values.

Enum keys​

ActiveGate | RemotePluginAgent | Synthetic | ZRemote

IdentityType​

⚠️ Deprecated Use literal values.

The type of the identity.

Enum keys​

AllUsers | Group | User

ImpactImpactType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • SERVICE -> ServiceImpact
  • APPLICATION -> ApplicationImpact
  • MOBILE -> MobileImpact
  • CUSTOM_APPLICATION -> CustomApplicationImpact

Enum keys​

Application | CustomApplication | Mobile | Service

JavaScriptMappingFileDtoFileType​

⚠️ Deprecated Use literal values.

The type of the file.

Enum keys​

Minified | Source | Sourcemap

KeyPerformanceMetricsLoadActionKpm​

⚠️ Deprecated Use literal values.

Load action key performance metric.

Enum keys​

CumulativeLayoutShift | DomInteractive | LargestContentfulPaint | LoadEventEnd | LoadEventStart | ResponseEnd | ResponseStart | SpeedIndex | UserActionDuration | VisuallyComplete

KeyPerformanceMetricsXhrActionKpm​

⚠️ Deprecated Use literal values.

XHR action key performance metric.

Enum keys​

ResponseEnd | ResponseStart | UserActionDuration | VisuallyComplete

KeystrokesInputDtoType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • SECURE -> SecureKeystrokesInputDto
  • PLAIN -> PlainKeystrokesInputDto

Enum keys​

Plain | Secure

ListCredentialsQueryType​

⚠️ Deprecated Use literal values.

Enum keys​

AwsMonitoringKeyBased | AwsMonitoringRoleBased | Certificate | Snmpv3 | Token | UsernamePassword

LocationCollectionElementCloudPlatform​

⚠️ Deprecated Use literal values.

The cloud provider where the location is hosted.

Only applicable to PUBLIC locations.

Enum keys​

Alibaba | AmazonEc2 | Azure | DynatraceCloud | GoogleCloud | Interoute | Other | Undefined

LocationCollectionElementDeploymentType​

⚠️ Deprecated Use literal values.

Location's deployment type

Enum keys​

Kubernetes | Openshift | Standard | Unknown

LocationCollectionElementStage​

⚠️ Deprecated Use literal values.

The release stage of the location.

Enum keys​

Beta | ComingSoon | Deleted | Ga

LocationCollectionElementStatus​

⚠️ Deprecated Use literal values.

The status of the location.

Enum keys​

Disabled | Enabled | Hidden

LocationCollectionElementType​

⚠️ Deprecated Use literal values.

The type of the location.

Enum keys​

Cluster | Private | Public

LocatorDtoType​

⚠️ Deprecated Use literal values.

Enum value of the locator type.

Enum keys​

Css | Dom

LogRecordStatus​

⚠️ Deprecated Use literal values.

The log status (based on the log level).

Enum keys​

Error | Info | None | NotApplicable | Warn

MetricDefaultAggregationType​

⚠️ Deprecated Use literal values.

The type of default aggregation.

Enum keys​

Auto | Avg | Count | Max | Median | Min | Percentile | Sum | Value

MetricDescriptorAggregationTypesItem​

⚠️ Deprecated Use literal values.

Enum keys​

Auto | Avg | Count | Max | Median | Min | Percentile | Sum | Value

MetricDescriptorTransformationsItem​

⚠️ Deprecated Use literal values.

Enum keys​

AsGauge | AsHistogram | Default | Delta | EvaluateModel | Filter | Fold | Histogram | Last | LastReal | Limit | Merge | Names | Parents | Partition | Rate | Rollup | SetUnit | Smooth | Sort | SplitBy | Timeshift | ToUnit

MetricDescriptorUnitDisplayFormat​

⚠️ Deprecated Use literal values.

The raw value is stored in bits or bytes. The user interface can display it in these numeral systems:

Binary: 1 MiB = 1024 KiB = 1,048,576 bytes

Decimal: 1 MB = 1000 kB = 1,000,000 bytes

If not set, the decimal system is used.

Metric expressions don't return this field.

Enum keys​

Binary | Decimal

MetricDimensionDefinitionType​

⚠️ Deprecated Use literal values.

The type of the dimension.

Enum keys​

Entity | Number | Other | String | Void

MetricQueryDQLTranslationStatus​

⚠️ Deprecated Use literal values.

The status of the DQL translation, either success or not supported

Enum keys​

NotSupported | Success

MetricValueTypeType​

⚠️ Deprecated Use literal values.

The metric value type

Enum keys​

Error | Score | Unknown

MonitoredEntityStatesSeverity​

⚠️ Deprecated Use literal values.

The type of the monitoring state.

Enum keys​

DeepMonitoringOk | Info | Ok | Warning

MonitoredEntityStatesState​

⚠️ Deprecated Use literal values.

The name of the monitoring state.

Enum keys​

AgentInjectionStatusGoDynamizerFailed | AgentInjectionStatusGoFipsDetectedButFeatureDisabled | AgentInjectionStatusGoPclntabFailed | AgentInjectionStatusGoVertigoSupportAdded | AgentInjectionStatusNginxPatchedBinaryDetected | AgentInjectionStatusPhpOpcacheDisabled | AgentInjectionStatusPhpStackSizeTooLow | AgentInjectionSuppression | AixEnableFullMonitoringNeeded | BadInstaller | BoshbpmDisabled | ContainerInjectionFailed | ContainerdDisabled | CrioDisabled | CustomPgRuleRequired | DeepMonitoringSuccessful | DeepMonitoringUnsuccessful | DockerDisabled | GardenDisabled | HostInfraStructureOnly | HostMonitoringDisabled | NetworkAgentInactive | Ok | ParentProcessRestartRequired | PodmanDisabled | ProcessGroupDifferentIdDueToDeclarativeGrouping | ProcessGroupDisabled | ProcessGroupDisabledViaContainerInjectionRule | ProcessGroupDisabledViaContainerInjectionRuleRestart | ProcessGroupDisabledViaGlobalSettings | ProcessGroupDisabledViaInjectionRule | ProcessGroupDisabledViaInjectionRuleRestart | ProcessGroupPgrGroupUpdateSuppressed | RestartRequired | RestartRequiredApache | RestartRequiredDockerDeamon | RestartRequiredHostGroupInconsistent | RestartRequiredHostIdInconsistent | RestartRequiredOutdatedAgentApacheUpdate | RestartRequiredOutdatedAgentInjected | RestartRequiredUsingDifferentDataStorageDir | RestartRequiredUsingDifferentLogPath | RestartRequiredVirtualizedContainer | UnsupportedState | WincDisabled

MuteStateReason​

⚠️ Deprecated Use literal values.

The reason for the mute state change.

Enum keys​

Affected | ConfigurationNotAffected | FalsePositive | Ignore | InitialState | Other | VulnerableCodeNotInUse

NetworkZoneFallbackMode​

⚠️ Deprecated Use literal values.

The fallback mode of the network zone.

Enum keys​

AnyActiveGate | None | OnlyDefaultZone

PreconditionType​

⚠️ Deprecated Use literal values.

The type of the precondition.

Enum keys​

And | Equals | In | Not | Null | Or | RegexMatch

PrivateSyntheticLocationDeploymentType​

⚠️ Deprecated Use literal values.

The deployment type of the location:

  • STANDARD: The location is deployed on Windows or Linux.
  • KUBERNETES: The location is deployed on Kubernetes.

Enum keys​

Kubernetes | Openshift | Standard | Unknown

PrivateSyntheticLocationFipsMode​

⚠️ Deprecated Use literal values.

Containerized location property indicating whether FIPS mode is enabled on this location:

  • DISABLED: FIPS is not enabled on the location.
  • ENABLED: FIPS is enabled on the location.
  • ENABLED_WITH_CORPORATE_PROXY: FIPS with corporate proxy is enabled on this location. Default: DISABLED

Enum keys​

Disabled | Enabled | EnabledWithCorporateProxy

PrivateSyntheticLocationNodeSize​

⚠️ Deprecated Use literal values.

Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:

  • XS: extra small
  • S: small
  • M: medium The node size L is not supported in containerized locations.

Enum keys​

M | S | Unsupported | Xs

PrivateSyntheticLocationStatus​

⚠️ Deprecated Use literal values.

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.

Enum keys​

Disabled | Enabled | Hidden

PrivateSyntheticLocationType​

⚠️ Deprecated Use literal values.

Enum keys​

Cluster | Private | Public

ProblemImpactLevel​

⚠️ Deprecated Use literal values.

The impact level of the problem. It shows what is affected by the problem.

Enum keys​

Application | Environment | Infrastructure | Services

ProblemSeverityLevel​

⚠️ Deprecated Use literal values.

The severity of the problem.

Enum keys​

Availability | CustomAlert | Error | Info | MonitoringUnavailable | Performance | ResourceContention

ProblemStatus​

⚠️ Deprecated Use literal values.

The status of the problem.

Enum keys​

Closed | Open

PropertyDefinitionModificationPolicy​

⚠️ Deprecated Use literal values.

Modification policy of the property.

Enum keys​

Always | Default | Never

PutMetadataPathPlatform​

⚠️ Deprecated Use literal values.

Enum keys​

Android | Ios

PutPathPlatform​

⚠️ Deprecated Use literal values.

Enum keys​

Android | Ios

ReactNativeMappingFileDtoPlatform​

⚠️ Deprecated Use literal values.

The platform (operating system) the mapping file belongs to.

Enum keys​

Android | Ios

RelatedServiceExposure​

⚠️ Deprecated Use literal values.

The level of exposure of the service.

Enum keys​

NotAvailable | NotDetected | PublicNetwork

RemediationAssessmentAssessmentAccuracy​

⚠️ Deprecated Use literal values.

The accuracy of the assessment.

Enum keys​

Full | NotAvailable | Reduced

RemediationAssessmentDataAssets​

⚠️ Deprecated Use literal values.

The reachability of related data assets by affected entities.

Enum keys​

NotAvailable | NotDetected | Reachable

RemediationAssessmentExposure​

⚠️ Deprecated Use literal values.

The level of exposure of affected entities.

Enum keys​

NotAvailable | NotDetected | PublicNetwork

RemediationAssessmentVulnerableFunctionUsage​

⚠️ Deprecated Use literal values.

The usage of vulnerable functions

Enum keys​

InUse | NotAvailable | NotInUse

RemediationDetailsItemVulnerabilityState​

⚠️ Deprecated Use literal values.

Enum keys​

Resolved | Vulnerable

RemediationItemMuteStateChangeReason​

⚠️ Deprecated Use literal values.

The reason for the mute state change.

Enum keys​

Affected | ConfigurationNotAffected | FalsePositive | Ignore | InitialState | Other | VulnerableCodeNotInUse

RemediationItemMuteStateReason​

⚠️ Deprecated Use literal values.

The reason for the most recent mute state change.

Enum keys​

Affected | ConfigurationNotAffected | FalsePositive | Ignore | InitialState | Other | VulnerableCodeNotInUse

RemediationItemMutingSummaryReason​

⚠️ Deprecated Use literal values.

Contains a reason, in case the requested operation was not executed.

Enum keys​

AlreadyMuted | AlreadyUnmuted | RemediationItemNotAffectedByGivenSecurityProblem

RemediationItemVulnerabilityState​

⚠️ Deprecated Use literal values.

Enum keys​

Resolved | Vulnerable

RemediationItemsBulkMuteReason​

⚠️ Deprecated Use literal values.

The reason for muting the remediation items.

Enum keys​

ConfigurationNotAffected | FalsePositive | Ignore | Other | VulnerableCodeNotInUse

RemediationItemsBulkUnmuteReason​

⚠️ Deprecated Use literal values.

The reason for un-muting the remediation items.

Enum keys​

Affected

RemediationProgressEntityAssessmentVulnerableFunctionUsage​

⚠️ Deprecated Use literal values.

The usage of vulnerable functions

Enum keys​

InUse | NotAvailable | NotInUse

RemediationProgressEntityState​

⚠️ Deprecated Use literal values.

The current state of the remediation progress entity.

Enum keys​

Affected | Unaffected

RemoteConfigurationManagementEntityValidationErrorReasonsItem​

⚠️ Deprecated Use literal values.

Enum keys​

CloudNativeNotSupported | NotAllowedWithClusterActiveGate | NotConnected | RunningInContainer | StandaloneNotSupported | VersionNotSupported

RemoteConfigurationManagementJobEntityType​

⚠️ Deprecated Use literal values.

Type of entities modified by remote configuration management.

Enum keys​

ActiveGate | OneAgent

RemoteConfigurationManagementJobPreviewAttribute​

⚠️ Deprecated Use literal values.

The attribute which is affected by the operation.

Enum keys​

Group | HostGroup | HostProperty | HostTag | NetworkZone

RemoteConfigurationManagementJobPreviewOperation​

⚠️ Deprecated Use literal values.

The operation performed on given attribute.

Enum keys​

Clear | Set

RemoteConfigurationManagementJobSummaryEntityType​

⚠️ Deprecated Use literal values.

Type of entities modified by remote configuration management.

Enum keys​

ActiveGate | OneAgent

RemoteConfigurationManagementOperationAttribute​

⚠️ Deprecated Use literal values.

The attribute which is affected by the operation.

Enum keys​

Group | HostGroup | HostProperty | HostTag | NetworkZone

RemoteConfigurationManagementOperationOperation​

⚠️ Deprecated Use literal values.

The operation performed on given attribute.

Enum keys​

Clear | Set

RemoteConfigurationManagementOperationValidationErrorAttribute​

⚠️ Deprecated Use literal values.

The attribute which is affected by the operation.

Enum keys​

Group | HostGroup | HostProperty | HostTag | NetworkZone

RemoteConfigurationManagementOperationValidationErrorOperation​

⚠️ Deprecated Use literal values.

The operation performed on given attribute.

Enum keys​

Clear | Set

RemoteIdentityOperationFailedEntityDtoFailureReason​

⚠️ Deprecated Use literal values.

Reason of communication settings changing failure.

Enum keys​

ConnectionFailure | Timeout

RemovePermissionPathAccessorType​

⚠️ Deprecated Use literal values.

Enum keys​

Group | User

RequestFilterDtoType​

⚠️ Deprecated Use literal values.

Filter type.

Enum keys​

Contains | EndsWith | Equals | Regex | StartsWith

ResourceContextOperationsItem​

⚠️ Deprecated Use literal values.

The allowed operations on this settings object.

Enum keys​

Delete | Read | Write

RevisionDiffType​

⚠️ Deprecated Use literal values.

The type of the difference.

Enum keys​

Create | Delete | NoChange | Reorder | Update

RiskAssessmentAssessmentAccuracy​

⚠️ Deprecated Use literal values.

The accuracy of the assessment.

Enum keys​

Full | NotAvailable | Reduced

RiskAssessmentBaseRiskLevel​

⚠️ Deprecated Use literal values.

The risk level from the CVSS score.

Enum keys​

Critical | High | Low | Medium | None

RiskAssessmentChangesPreviousExposure​

⚠️ Deprecated Use literal values.

The previous level of exposure of affected entities.

Enum keys​

NotAvailable | NotDetected | PublicNetwork

RiskAssessmentChangesPreviousPublicExploit​

⚠️ Deprecated Use literal values.

The previous availability status of public exploits.

Enum keys​

Available | NotAvailable

RiskAssessmentChangesPreviousVulnerableFunctionUsage​

⚠️ Deprecated Use literal values.

The previous state of vulnerable code execution.

Enum keys​

InUse | NotAvailable | NotInUse

RiskAssessmentDataAssets​

⚠️ Deprecated Use literal values.

The reachability of related data assets by affected entities.

Enum keys​

NotAvailable | NotDetected | Reachable

RiskAssessmentDetailsAssessmentAccuracy​

⚠️ Deprecated Use literal values.

The accuracy of the assessment.

Enum keys​

Full | NotAvailable | Reduced

RiskAssessmentDetailsBaseRiskLevel​

⚠️ Deprecated Use literal values.

The risk level from the CVSS score.

Enum keys​

Critical | High | Low | Medium | None

RiskAssessmentDetailsDataAssets​

⚠️ Deprecated Use literal values.

The reachability of related data assets by affected entities.

Enum keys​

NotAvailable | NotDetected | Reachable

RiskAssessmentDetailsExposure​

⚠️ Deprecated Use literal values.

The level of exposure of affected entities.

Enum keys​

NotAvailable | NotDetected | PublicNetwork

RiskAssessmentDetailsPublicExploit​

⚠️ Deprecated Use literal values.

The availability status of public exploits.

Enum keys​

Available | NotAvailable

RiskAssessmentDetailsRiskLevel​

⚠️ Deprecated Use literal values.

The Davis risk level.

It is calculated by Dynatrace on the basis of CVSS score.

Enum keys​

Critical | High | Low | Medium | None

RiskAssessmentDetailsVulnerableFunctionUsage​

⚠️ Deprecated Use literal values.

The state of vulnerable code execution.

Enum keys​

InUse | NotAvailable | NotInUse

RiskAssessmentExposure​

⚠️ Deprecated Use literal values.

The level of exposure of affected entities.

Enum keys​

NotAvailable | NotDetected | PublicNetwork

RiskAssessmentPublicExploit​

⚠️ Deprecated Use literal values.

The availability status of public exploits.

Enum keys​

Available | NotAvailable

RiskAssessmentRiskLevel​

⚠️ Deprecated Use literal values.

The Davis risk level.

It is calculated by Dynatrace on the basis of CVSS score.

Enum keys​

Critical | High | Low | Medium | None

RiskAssessmentSnapshotExposure​

⚠️ Deprecated Use literal values.

The level of exposure of affected entities.

Enum keys​

NotAvailable | NotDetected | PublicNetwork

RiskAssessmentSnapshotPublicExploit​

⚠️ Deprecated Use literal values.

The availability status of public exploits.

Enum keys​

Available | NotAvailable

RiskAssessmentSnapshotRiskLevel​

⚠️ Deprecated Use literal values.

The Davis risk level.

It is calculated by Dynatrace on the basis of CVSS score.

Enum keys​

Critical | High | Low | Medium | None

RiskAssessmentSnapshotVulnerableFunctionUsage​

⚠️ Deprecated Use literal values.

The state of vulnerable code execution.

Enum keys​

InUse | NotAvailable | NotInUse

RiskAssessmentVulnerableFunctionUsage​

⚠️ Deprecated Use literal values.

The state of vulnerable code execution.

Enum keys​

InUse | NotAvailable | NotInUse

RollupType​

⚠️ Deprecated Use literal values.

Enum keys​

Auto | Avg | Count | Max | Median | Min | Percentile | Sum | Value

SchemaConstraintRestDtoType​

⚠️ Deprecated Use literal values.

The type of the schema constraint.

Enum keys​

ByteSizeLimit | CustomValidatorRef | MultiScopeCustomValidatorRef | MultiScopeUnique | Unique | Unknown

SchemaDefinitionRestDtoMaturity​

⚠️ Deprecated Use literal values.

The maturity of the schema. Possible values:

  • PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
  • EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
  • GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.

In any case, automations should make use of the schemaVersion field when writing settings objects.

Enum keys​

EarlyAdopter | GeneralAvailability | Preview

SchemaStubMaturity​

⚠️ Deprecated Use literal values.

The maturity of the schema. Possible values:

  • PREVIEW: Preview features are not generally available, but might be available in specific environments as part of early-access programs. These are the most likely to change in incompatible ways.
  • EARLY_ADOPTER: Features marked "early adopter" are available in all environments, but are not mature enough to warrant the "general availability" designation. We don't expect incompatible changes for these, but please be aware, that these are not fully stable yet and incompatible changes may be necessary in rare cases.
  • GENERAL_AVAILABILITY: Features marked "general availability" are the most stable. While the schemas will still evolve over time, care will be taken to only do so in a backward-compatible manner.

In any case, automations should make use of the schemaVersion field when writing settings objects.

Enum keys​

EarlyAdopter | GeneralAvailability | Preview

SchemaTypeType​

⚠️ Deprecated Use literal values.

Type of the reference type.

Enum keys​

Object

SecurityProblemBulkMutingSummaryReason​

⚠️ Deprecated Use literal values.

Contains a reason, in case the requested operation was not executed.

Enum keys​

AlreadyMuted | AlreadyUnmuted

SecurityProblemDetailsStatus​

⚠️ Deprecated Use literal values.

The status of the security problem.

Enum keys​

Open | Resolved

SecurityProblemDetailsTechnology​

⚠️ Deprecated Use literal values.

The technology of the security problem.

Enum keys​

Dotnet | Go | Java | Kubernetes | NodeJs | Php | Python

SecurityProblemDetailsVulnerabilityType​

⚠️ Deprecated Use literal values.

The type of the vulnerability.

Enum keys​

CodeLevel | Runtime | ThirdParty

SecurityProblemEventReason​

⚠️ Deprecated Use literal values.

The reason of the event creation.

Enum keys​

AssessmentChanged | SecurityProblemCreated | SecurityProblemMuted | SecurityProblemReopened | SecurityProblemResolved | SecurityProblemUnmuted | VulnerabilityDeprecated | VulnerabilityIdChanged

SecurityProblemMuteReason​

⚠️ Deprecated Use literal values.

The reason for muting a security problem.

Enum keys​

ConfigurationNotAffected | FalsePositive | Ignore | Other | VulnerableCodeNotInUse

SecurityProblemStatus​

⚠️ Deprecated Use literal values.

The status of the security problem.

Enum keys​

Open | Resolved

SecurityProblemTechnology​

⚠️ Deprecated Use literal values.

The technology of the security problem.

Enum keys​

Dotnet | Go | Java | Kubernetes | NodeJs | Php | Python

SecurityProblemUnmuteReason​

⚠️ Deprecated Use literal values.

The reason for un-muting a security problem.

Enum keys​

Affected

SecurityProblemVulnerabilityType​

⚠️ Deprecated Use literal values.

The type of the vulnerability.

Enum keys​

CodeLevel | Runtime | ThirdParty

SecurityProblemsBulkMuteReason​

⚠️ Deprecated Use literal values.

The reason for muting the security problems.

Enum keys​

ConfigurationNotAffected | FalsePositive | Ignore | Other | VulnerableCodeNotInUse

SecurityProblemsBulkUnmuteReason​

⚠️ Deprecated Use literal values.

The reason for un-muting the security problems.

Enum keys​

Affected

SloBurnRateBurnRateType​

⚠️ Deprecated Use literal values.

The calculated burn rate type.

Has a value of 'FAST', 'SLOW' or 'NONE'.

Enum keys​

Fast | None | Slow

SloConfigItemDtoImplEvaluationType​

⚠️ Deprecated Use literal values.

The evaluation type of the SLO.

Enum keys​

Aggregate

SLOEvaluationType​

⚠️ Deprecated Use literal values.

The evaluation type of the SLO.

Enum keys​

Aggregate

SLOStatus​

⚠️ Deprecated Use literal values.

The status of the calculated SLO.

Enum keys​

Failure | Success | Warning

StoreLogQueryStructure​

⚠️ Deprecated Use literal values.

Enum keys​

Flattened | Raw

SyntheticBrowserMonitorRequestType​

⚠️ Deprecated Use literal values.

Monitor type.

Enum keys​

Browser | Http | MultiProtocol

SyntheticBrowserMonitorResponseType​

⚠️ Deprecated Use literal values.

Monitor type.

Enum keys​

Browser | Http | MultiProtocol

SyntheticBrowserMonitorStepDtoType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • NAVIGATE -> NavigateStepDto
  • CLICK -> InteractionStepDto
  • TAP -> InteractionStepDto
  • KEYSTROKES -> KeyStrokesStepDto
  • JAVASCRIPT -> JavaScriptStepDto
  • SELECT_OPTION -> SelectOptionStepDto
  • COOKIE -> CookieStepDto

Enum keys​

Click | Cookie | Javascript | Keystrokes | Navigate | SelectOption | Tap

SyntheticHttpAuthenticationDtoType​

⚠️ Deprecated Use literal values.

Authentication type.

Enum keys​

BasicAuthentication | Kerberos | Ntlm

SyntheticHttpMonitorRequestType​

⚠️ Deprecated Use literal values.

Monitor type.

Enum keys​

Browser | Http | MultiProtocol

SyntheticHttpMonitorResponseType​

⚠️ Deprecated Use literal values.

Monitor type.

Enum keys​

Browser | Http | MultiProtocol

SyntheticHttpMonitorStepDtoMethodType​

⚠️ Deprecated Use literal values.

Method type.

Enum keys​

Delete | Get | Head | Options | Patch | Post | Put

SyntheticLocationStatus​

⚠️ Deprecated Use literal values.

The status of the location:

  • ENABLED: The location is displayed as active in the UI. You can assign monitors to the location.
  • DISABLED: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
  • HIDDEN: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as HIDDEN when no monitor is assigned to it.

Enum keys​

Disabled | Enabled | Hidden

SyntheticLocationType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> PublicSyntheticLocation
  • PRIVATE -> PrivateSyntheticLocation
  • CLUSTER -> PrivateSyntheticLocation

Enum keys​

Cluster | Private | Public

SyntheticLocationUpdateType​

⚠️ Deprecated Use literal values.

Defines the actual set of fields depending on the value. See one of the following objects:

  • PUBLIC -> SyntheticPublicLocationUpdate
  • PRIVATE -> SyntheticPrivateLocationUpdate

Enum keys​

Private | Public

SyntheticMonitorOutageHandlingSettingsDtoOrigin​

⚠️ Deprecated Use literal values.

Indicates the origin of these settings.

Enum keys​

Default | Monitor | Tenant | Unknown

SyntheticMonitorPerformanceThresholdDtoAggregation​

⚠️ Deprecated Use literal values.

Aggregation type

Enum keys​

Avg | Max | Min

SyntheticMonitorPerformanceThresholdDtoType​

⚠️ Deprecated Use literal values.

Type of performance threshold

Enum keys​

Monitor | Step

SyntheticMonitorSummaryDtoType​

⚠️ Deprecated Use literal values.

The type of the monitor.

Enum keys​

Browser | Http | MultiProtocol

SyntheticMultiProtocolMonitorRequestType​

⚠️ Deprecated Use literal values.

Monitor type.

Enum keys​

Browser | Http | MultiProtocol

SyntheticMultiProtocolMonitorResponseType​

⚠️ Deprecated Use literal values.

Monitor type.

Enum keys​

Browser | Http | MultiProtocol

SyntheticMultiProtocolMonitorStepDtoRequestType​

⚠️ Deprecated Use literal values.

Request type.

Enum keys​

Dns | Icmp | Tcp

SyntheticOnDemandBatchStatusBatchStatus​

⚠️ Deprecated Use literal values.

The status of the batch.

Enum keys​

Failed | FailedToExecute | NotTriggered | Running | Success

SyntheticOnDemandExecutionExecutionStage​

⚠️ Deprecated Use literal values.

Execution stage.

Enum keys​

DataRetrieved | Executed | NotTriggered | TimedOut | Triggered | Waiting

SyntheticOnDemandExecutionProcessingMode​

⚠️ Deprecated Use literal values.

The processing mode of the execution.

Enum keys​

DisableProblemDetection | ExecutionsDetailsOnly | None | Standard | Unknown

SyntheticOnDemandExecutionRequestMonitorRepeatMode​

⚠️ Deprecated Use literal values.

Execution repeat mode. If not set, the mode is SEQUENTIAL.

Enum keys​

Parallel | Sequential

SyntheticOnDemandExecutionRequestProcessingMode​

⚠️ Deprecated Use literal values.

The execution's processing mode

Enum keys​

DisableProblemDetection | ExecutionsDetailsOnly | Standard

SyntheticOnDemandExecutionSource​

⚠️ Deprecated Use literal values.

The source of the triggering request.

Enum keys​

Api | Ui

SyntheticOnDemandFailedExecutionStatusExecutionStage​

⚠️ Deprecated Use literal values.

Execution stage.

Enum keys​

DataRetrieved | Executed | NotTriggered | TimedOut | Triggered | Waiting

SyntheticTagWithSourceDtoSource​

⚠️ Deprecated Use literal values.

The source of the tag, such as USER, RULE_BASED or AUTO.

Enum keys​

Auto | RuleBased | User

TenantTokenRotationStatusStatus​

⚠️ Deprecated Use literal values.

Rotation status. ACTIVE when a secondary token exists, otherwise INACTIVE.

Enum keys​

Active | Inactive

UpdateJavaScriptMappingFileMetadataAliasQueryFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

UpdateJavaScriptMappingFileMetadataPathFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

UpdateJobAgType​

⚠️ Deprecated Use literal values.

The type of the ActiveGate.

Enum keys​

Cluster | Environment | EnvironmentMulti

UpdateJobJobState​

⚠️ Deprecated Use literal values.

The status of the update job.

Enum keys​

Failed | InProgress | Pending | Rollback | Scheduled | Skipped | Succeed

UpdateJobUpdateMethod​

⚠️ Deprecated Use literal values.

The method of updating the ActiveGate or its component.

Enum keys​

Automatic | ManualInstallation | OnDemand

UpdateJobUpdateType​

⚠️ Deprecated Use literal values.

The component to be updated.

Enum keys​

ActiveGate | RemotePluginAgent | Synthetic | ZRemote

UpdatePermissionPathAccessorType​

⚠️ Deprecated Use literal values.

Enum keys​

Group | User

UpdatePermissionsRequestPermissionsItem​

⚠️ Deprecated Use literal values.

r = read, w = write

Enum keys​

R | W

UploadJavaScriptMappingFileAliasQueryFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

UploadJavaScriptMappingFilePathFileType​

⚠️ Deprecated Use literal values.

Enum keys​

Minified | Source | Sourcemap

ValidationRuleDtoType​

⚠️ Deprecated Use literal values.

Type of validation.

Enum keys​

ContentMatch | ElementMatch | TextMatch

VulnerableFunctionInputSegmentType​

⚠️ Deprecated Use literal values.

The type of the input segment.

Enum keys​

MaliciousInput | RegularInput | TaintedInput

VulnerableFunctionInputType​

⚠️ Deprecated Use literal values.

The type of the input.

Enum keys​

Command | HttpClient | Jndi | SqlStatement

VulnerableFunctionProcessGroupsUsage​

⚠️ Deprecated Use literal values.

The vulnerable function usage based on the given process groups:

  • IN_USE if at least one process group calls this vulnerable function.
  • NOT_IN_USE if all process groups do not call this vulnerable function.
  • NOT_AVAILABLE if vulnerable function usage could not be calculated for at least one process group and no process group calls this vulnerable function.

Enum keys​

InUse | NotAvailable | NotInUse

Still have questions?
Find answers in the Dynatrace Community