Gets data privacy parameters of all web applications configured in your Dynatrace environment.
This API only supports web applications. For mobile and custom applications, see Mobile and custom app API.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/web/dataPrivacy |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/applications/web/dataPrivacy |
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
Code | Type | Description |
---|---|---|
200 | Application | Success |
ApplicationDataPrivacyList
objectElement | Type | Description |
---|---|---|
metadata | Configuration | Metadata useful for debugging |
values | Application | - |
ConfigurationMetadata
objectMetadata useful for debugging
Element | Type | Description |
---|---|---|
clusterVersion | string | Dynatrace version. |
configurationVersions | integer[] | A sorted list of the version numbers of the configuration. |
currentConfigurationVersions | string[] | A sorted list of version numbers of the configuration. |
ApplicationDataPrivacy
objectData privacy settings of the application.
Element | Type | Description |
---|---|---|
dataCaptureOptInEnabled | boolean | Set to |
doNotTrackBehaviour | string | How to handle the "Do Not Track" header:
|
identifier | string | Dynatrace entity ID of the web application. |
metadata | Configuration | Metadata useful for debugging |
persistentCookieForUserTracking | boolean | Set to |
sessionReplayDataPrivacy | Session | Data privacy settings for Session Replay. |
SessionReplayDataPrivacySettings
objectData privacy settings for Session Replay.
Element | Type | Description |
---|---|---|
contentMaskingSettings | Session | Content masking settings for Session Replay. For more details, see Configure Session Replay in Dynatrace Documentation. |
optInModeEnabled | boolean | If |
urlExclusionRules | string[] | A list of URLs to be excluded from recording. |
SessionReplayContentMaskingSettings
objectContent masking settings for Session Replay.
For more details, see Configure Session Replay in Dynatrace Documentation.
Element | Type | Description |
---|---|---|
playbackMaskingSettings | Session | Configuration of the Session Replay masking. |
recordingMaskingSettings | Session | Configuration of the Session Replay masking. |
recordingMaskingSettingsVersion | integer | The version of the content masking. You can use this API only with the version 2. If you're using version 1, set this field to |
SessionReplayMaskingSetting
objectConfiguration of the Session Replay masking.
Element | Type | Description |
---|---|---|
maskingPreset | string | The type of the masking:
|
maskingRules | Masking | A list of masking rules. |
MaskingRule
objectThe masking rule defining how data is hidden.
Element | Type | Description |
---|---|---|
maskingRuleType | string | The type of the masking rule.
|
selector | string | The selector for the element or the attribute to be masked. Specify a CSS expression for an element or a regular expression for an attribute. |
userInteractionHidden | boolean | Interactions with the element are ( |
{"metadata": {"clusterVersion": "1.192.1","configurationVersions": [4,2],"currentConfigurationVersions": ["1.0.4","1.23"]},"values": [{"dataCaptureOptInEnabled": true,"doNotTrackBehaviour": "CAPTURE_ANONYMIZED","identifier": "string","metadata": {},"persistentCookieForUserTracking": true,"sessionReplayDataPrivacy": {"contentMaskingSettings": {"playbackMaskingSettings": {"maskingPreset": "ALLOW_LIST","maskingRules": [{"maskingRuleType": "ATTRIBUTE","selector": "string","userInteractionHidden": false}]},"recordingMaskingSettings": {},"recordingMaskingSettingsVersion": 2},"optInModeEnabled": true,"urlExclusionRules": ["string"]}}]}