Skip to main content

Dynatrace✓ Verified

· 7 min read
Dynatrace is a software intelligence company that specializes in application performance management (APM) and observability solutions for modern cloud environments. Its platform provides real-time insights into the performance of applications and the underlying infrastructure that supports them. Dynatrace's primary goal is to help organizations ensure the optimal functioning of their digital services and applications, especially in complex and dynamic environments.

Identities ❌ | Accounts ✔️ | Groups ✔️ | App Roles ❌ | Entitlements ❌

Application​

Steps

  1. Login to RSA G&L console as System Administrator.
  2. Navigate to Resources > Application.
  3. Click on Create Application and select Other Application.
  4. Enter the details as shown below.
    img
  5. Click Finish.

Account Collector​

This section explains the process for configuring an account collector for the Dynatrace application. We will use the RSA G&L Generic REST collector 1 for this purpose.

Steps

  1. Login to RSA G&L console as System Administrator.
  2. Navigate to Resources > Applications.
  3. Click on Dynatrace.
  4. Navigate to Collectors tab and click on Create Account Collector. Enter the details as shown below.

    img
  5. Click Next and enter the connection details. Refer to Token Authentication for more information on authentication configuration.

    img
  6. Click Next. Select the data types that the collector will be collecting from Dynatrace

    img
  7. Click Next. On the Account Data page, enter the following configurations.

    Alt text

    Alt text
Request
MethodGET
URL/users
Request Headers
Acceptapplication/json
AuthorizationBearer ${AuthenticationToken}
Response Mappings
AccountId$.items.*.email
Id$.items.*.uid
UserStatus$.items.*.userStatus
LastLogin$.items.*.userLoginMetadata.lastSuccessfulLogin
  1. Click Next. On the Group Data page, enter the following configurations.

    Alt text

    Alt text
Request
MethodGET
URL/groups
Request Headers
Acceptapplication/json
AuthorizationBearer ${AuthenticationToken}
Response Mappings
GroupId$.items.*.name
Id$.items.*.uuid
Description$.items.*.description
  1. Click Next. On the Account Group Membership page, enter the following configurations.

    Alt text

    Alt text

Request
MethodGET
URL/groups/${Id}/users
Request Headers
Acceptapplication/json
AuthorizationBearer ${AuthenticationToken}
Response Mappings
Account Identifier$.items.*.uid
  1. Click Next. In the Map Collector Attributes to Account Attributes, map the collected account attributes.

    Alt text
  2. Click Next. In the Map Collector Attributes to Account Mapping Attributes, map the user reference attribute.

    Alt text
  3. Click Next. In the Map Collector Attributes to Group Attributes, map the collected group attributes.

    Alt text
  4. Click Next. In the User Resolution Rules, map the user to account.

    Alt text
  5. Click Next. In the Member Account Resolution Rules, map the account.

    Alt text

💡 Info: This value MUST always be mapped to the Account Name for any generic REST collector.

  1. Click Finish. Use the Test function to make sure the configurations are accurate.

Application Setup​

This section explains the process of setting up a service account in Dynatrace for use within the collections process.

Steps

  1. Login to Dynatrace Account Management console https://myaccount.dynatrace.com/account/home.
  2. Under Identity & access management, click on OAuth clients.

    Alt text
  3. Click on Create client.

    Alt text
  4. Provide a valid (existing / Active) user email address and a meaningful description. We will restrict permissions to view user and groups data.

    Alt text
  5. Click Create client.

    Alt text
  6. Copy the client ID, client secret and account ID (portion after urn:daccount:).

Authentication​

Token​

This section explains the process of setting up RSA G&L ADC with token authentication.

Steps

  1. Login to RSA G&L console as System Administrator.
  2. Create or Edit a generic REST ADC that will be using Token authentication.
  3. On the Connection Details page, configure the following.

    Alt text

    Alt text

Request
MethodPOST
Token URLhttps://sso.dynatrace.com/sso/oauth2/token
UsernameClient ID
PasswordClient Secret
Request Headers
Acceptapplication/json
Content-Typeapplication/x-www-form-urlencoded
Request Body
grant_type=client_credentials&client_id=${TokenUsername}&client_secret=${TokenPassword}&scope=account-idm-read
Response Mappings
Response Path$.access_token
  1. Save the collector configuration & test.

References​

COL006

Footnotes​

  1. Dynatrace Account Management API ↩