<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Security of Mobile OneAgent and beacon endpoint in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63340#M4873</link>
    <description>&lt;P&gt;Hi Benjamin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;1. Is it possible to inject custom headers in the iOS OneAgent so we get feature parity with the Android?&lt;/BLOCKQUOTE&gt;&lt;P&gt;This feature is also available for iOS. Unfortunately the documentation for this feature is missing in the Dynatrace documentation. Currently the feature is only described in the &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/doc/appmon/shortlink/id_ios_instrumentation_api#-appmon-2018-april-and-later-setbeaconheaders" target="_blank"&gt;AppMon documentation&lt;/A&gt;. We will ensure that this documentation segment is also added to the Dynatrace pages.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;How can we secure the beacon endpoint so it will only accept requests from "known" or "authenticated" clients? Will it require bespoke implementation on the customer side to enable? &lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, you need a customer side implementation. Currently Dynatrace does not offer this feature. You would have to implement your own solution for verifying the data source and adjust OneAgent accodingly to your solution.&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 14:32:58 GMT</pubDate>
    <dc:creator>Thomas_Wirth1</dc:creator>
    <dc:date>2020-05-20T14:32:58Z</dc:date>
    <item>
      <title>Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63338#M4871</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am currently evaluating the security of the Mobile OneAgent (for Mobile Application Monitoring) and the beacon for my company, and here are what I understand so far:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I can configure the beacon endpoint per mobile application being monitored (Application -&amp;gt; [MyApp] -&amp;gt; Mobile App Settings -&amp;gt; Instrumentation Settings.&lt;/LI&gt;&lt;LI&gt;For beacon endpoint can either be a Cluster ActiveGate (for SaaS deployment it is automatically generated) or a custom endpoint that as specific technologies and has OneAgent instrumentation. The custom endpoint must have the path "/mbeacon" (&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configuration/mobile-apps/additional-configuration/oneagent-as-beacon-forwarder/" target="_blank"&gt;reference&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;In Android you may configure security settings when communicating with the OneAgent (&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/technology-support/operating-systems/android/instrumentation-via-oneagent-sdk/adjust-oneagent-communication/" target="_blank"&gt;link&lt;/A&gt;) - such as custom certificates, certificate validation, certification pinning and custom authentication headers.&lt;/LI&gt;&lt;LI&gt;For iOS OneAgent you can also configure similar security settings (&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/technology-support/operating-systems/ios/customization/configuration-settings/" target="_blank"&gt;link&lt;/A&gt;), but it appears that injection of custom headers is not available. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My company is concerned that an malicious party may decompile the mobile app and extract the application id and beacon endpoint for future attacks. Thus I have the following questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it possible to inject custom headers in the iOS OneAgent so we get feature parity with the Android?&lt;/LI&gt;&lt;LI&gt; How can we secure the beacon endpoint so it will only accept requests from "known" or "authenticated" clients? Will it require bespoke implementation on the customer side to enable? &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:50:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63338#M4871</guid>
      <dc:creator>benjamin-st_lai</dc:creator>
      <dc:date>2020-05-20T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63339#M4872</link>
      <description>&lt;UL&gt;&lt;LI&gt;custom beacon endpoint changed to &lt;CODE&gt;/dtmb&lt;/CODE&gt; instead of &lt;CODE&gt;/mbeacon&lt;/CODE&gt; for compatibility reasons when running an agent on an AG host (documentation update in progress)&lt;/LI&gt;&lt;LI&gt;setting custom header on iOS is also possible - it was brought to our attention that this is missing from the documentation some days ago and a documentation update also is in progress. To check how that API to add beacon headers and listen for communication problems looks like please take a look at the header file shipped with the iOS agent &lt;CODE&gt;Dynatrace.h&lt;/CODE&gt;:&lt;PRE&gt;/*!&lt;BR /&gt; @brief Sets a dictionary of custom headers to be included in all OneAgent data transmissions.&lt;BR /&gt; &lt;BR /&gt; The Dynatrace OneAgent sends data to the server via HTTP or HTTPS. If your infrastructure requires&lt;BR /&gt; custom headers to be added to HTTP requests in order for them to pass you can use this method to provide&lt;BR /&gt; them. This method needs to be called as early as possible to ensure that the headers are available for the first communication with the server.&lt;BR /&gt; It can be called again later to change or to remove the headers.&lt;BR /&gt;&lt;BR /&gt; @param beaconHeaders The headers dictionary. Pass nil to remove all headers from future requests.&lt;BR /&gt; The headers will be inspected for invalid or not allowed values.&lt;BR /&gt;     Limitations:&lt;BR /&gt;     - max number of headers: 10&lt;BR /&gt;     - max header len: 4096 bytes&lt;BR /&gt;     - max total size: 8192 bytes&lt;BR /&gt; &lt;BR /&gt; @return YES if the headers where successfully set, NO otherwise.&lt;BR /&gt; */&lt;BR /&gt;+ (BOOL)setBeaconHeaders:(NULLABLE NSDictionary*)beaconHeaders;&lt;BR /&gt;&lt;BR /&gt;/**&lt;BR /&gt; @return the dictionary of custom headers that was set with setBeaconHeaders: method&lt;BR /&gt; */&lt;BR /&gt;+ (NULLABLE NSDictionary*)beaconHeaders;&lt;BR /&gt;&lt;BR /&gt;/**&lt;BR /&gt; In order to receive notifications about the network errors occurred in the agent&lt;BR /&gt; subscribe to the notification center using this as name.&lt;BR /&gt; &lt;BR /&gt; e.g.: [[NSNotificationCenter defaultCenter] addObserverForName:[Dynatrace getCommunicationProblemNotificationName] ... ];&lt;BR /&gt; */&lt;BR /&gt;+ (NONNULL NSString *)getCommunicationProblemNotificationName;&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 May 2020 14:30:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63339#M4872</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2020-05-20T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63340#M4873</link>
      <description>&lt;P&gt;Hi Benjamin,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;1. Is it possible to inject custom headers in the iOS OneAgent so we get feature parity with the Android?&lt;/BLOCKQUOTE&gt;&lt;P&gt;This feature is also available for iOS. Unfortunately the documentation for this feature is missing in the Dynatrace documentation. Currently the feature is only described in the &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/doc/appmon/shortlink/id_ios_instrumentation_api#-appmon-2018-april-and-later-setbeaconheaders" target="_blank"&gt;AppMon documentation&lt;/A&gt;. We will ensure that this documentation segment is also added to the Dynatrace pages.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;How can we secure the beacon endpoint so it will only accept requests from "known" or "authenticated" clients? Will it require bespoke implementation on the customer side to enable? &lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, you need a customer side implementation. Currently Dynatrace does not offer this feature. You would have to implement your own solution for verifying the data source and adjust OneAgent accodingly to your solution.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:32:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63340#M4873</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2020-05-20T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63341#M4874</link>
      <description>&lt;P&gt;a short usage example in Swift:&lt;/P&gt;&lt;PRE&gt;//set headers onto beacon&lt;BR /&gt;Dynatrace.setBeaconHeaders(["X-MyHeader1" : "true", "someOtherHeader" : "aa-bb-cc-dd"])&lt;BR /&gt;//request the headers that have been set&lt;BR /&gt;let headers: Dictionary? = Dynatrace.beaconHeaders()&lt;BR /&gt;//listen for communication problems (e.g. if beacon heder contains a token that can expire required to pass a firewall)&lt;BR /&gt;NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: Dynatrace.getCommunicationProblemNotificationName()), object: nil, queue: nil) { _ in&lt;BR /&gt;    //e.g. update beacon header with new token&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 May 2020 14:47:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63341#M4874</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2020-05-20T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63342#M4875</link>
      <description>&lt;P&gt;As an follow on question: is the custom headers feature available for React Native mobile apps? &lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:59:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63342#M4875</guid>
      <dc:creator>benjamin-st_lai</dc:creator>
      <dc:date>2020-05-20T14:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63343#M4876</link>
      <description>&lt;P&gt;The API methods are currently not exposed and therefore not usable in the ReactNative components of your app. The feature is accessible in the native components of the app.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 15:47:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/63343#M4876</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2020-05-20T15:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Security of Mobile OneAgent and beacon endpoint</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/192814#M4877</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am bumping on the authentication of the flow between the mobile and our activegate beacon. You mentioned it's up to the client to implement it's own authentication mechanism. Do you have some example? basic authen (user/pwd), certificate, OAuth2/OIDC access token, other? Do you have some client experimentation feedback?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward hearing from you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 14:27:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Security-of-Mobile-OneAgent-and-beacon-endpoint/m-p/192814#M4877</guid>
      <dc:creator>Fabien</dc:creator>
      <dc:date>2022-08-17T14:27:07Z</dc:date>
    </item>
  </channel>
</rss>

