• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Sensitive data masking

Settings API - Sensitive data masking schema table

Sensitive data masking (builtin:logmonitoring.sensitive-data-masking-settings)

Create rules to mask any information you consider to be sensitive. For more details and examples, see documentation

Masking is done on OneAgent, and no personal data is sent or stored on Dynatrace server.

Schema IDSchema groupsScope
builtin:logmonitoring.sensitive-data-masking-settings
  • group:log-monitoring
  • group:log-monitoring.ingest-and-processing
HOST - Host
HOST_GROUP - Host Group
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.sensitive-data-masking-settings
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.sensitive-data-masking-settings
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.sensitive-data-masking-settings

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
enabledActiveboolean-required
config-item-titleNametext-required
masking-Masking-required
matchers-set-required

Request body objects

The Masking object
PropertyLabelTypeDescriptionRequired
expressionSearch expressiontext

Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.

required
typeMasking typeenum-required
replacementReplacementtext-required
The Matcher object
PropertyLabelTypeDescriptionRequired
attributeAttributeenum-required
operatorOperatorenum-required
values-set-required