builtin:devobs.sensitive.data.masking)Create rules to mask any information you consider to be sensitive. Masking is done on OneAgent and no personal data is sent or stored on Dynatrace servers.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:devobs.sensitive.data.masking |
| environment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:devobs.sensitive.data.masking |
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:devobs.sensitive.data.masking |
| GET | Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:devobs.sensitive.data.masking |
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.
| Property | Type | Description | Required |
|---|---|---|---|
Rule NameruleName | text | - | Required |
Activeenabled | boolean | - | Required |
Rule TyperuleType | enum | Choose whether to redact by variable name or regex. The element has these enums
| Required |
Variable NameruleVarName | text | - | Required |
Comparison TypecomparisonType | enum | Select how the variable name should be matched. The element has these enums
| Required |
Regex PatternruleRegex | text | - | Required |
Data ReplacementreplacementType | enum | Choose how the sensitive data should be replaced. The element has these enums
| Required |
Replacement PatternreplacementPattern | text | - | Required |