cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

masking UEM click on labels (mobile agent)

Hi guys,

Financial customer has mobile application and one of its buttons is showing user account numbers so if user can switch between his accounts.

This mobile application is instrumented with mobile agent , so in AppMon we can see now "touch on account ID ...." with all the accounts number which is not fun form security perspective.

Is there a way to mask the account numbers ?

Yos

6 REPLIES 6

Thomas_Wirth1
Dynatrace Pro
Dynatrace Pro

Hi Yos,

it is not possible to mask the auto-user action on the agent side. It is only possible to mask it on the server side (in the rules section of Dynatrace). This feature is on our roadmap.

For the Android platform you can use one of the following workarounds:

  • Another option is to exclude the OnClickListener from auto-instrumentation with the property DTXExcludePackages. Then the agent will no generate the mentioned user action. Instead you can manually generate a user action, which doesn't contain account-specific details.
  • The last option is to override the contentDescription attribute of the mentioned button. The agent will use the specified content description value instead of the button text. I'm not sure if this workaround will be available in future agent versions.

Best regards

Thomas

Hi Thomas

Thanks for the information!

Yos

pahofmann
Champion

Maybe giving the button a hardcoded name via the data-dtname attribute would be a working solution too: https://www.dynatrace.com/support/doc/appmon/short...

this only sounds like a possible solution if the mobile app is hybrid and the buttons are in the JavaScript part, as this only works for the JavaScript agent

harp
Dynatrace Pro
Dynatrace Pro


for iOS you can exlude the instrumentation of button taps by adding this to the Info.plist file:


<key>DTXExcludedControls</key>

<array>


<string>Button</string>

</array>

Hi Patrick

Tanks for complete the vision from IOS prespective

Yos