Splunk AppDynamics

Uploading dSYM files automatically

Viji_Radhakrish
Explorer

Hi, 

I am trying to upload the dSYM files automatically in the pipeline by hitting the Appdynamics REST APIs. Would like to know, how can I do it using API tokens? 

1. I want to generate the token using Appdynamics REST API.  

  • The token generation API requires both an authentication header with username and password as well as the oAuth request body to successfully request a token.
    • We use only SAML login. Do I need to create a local account for this purpose?
  • Then, how long the API token can live?

2. API Clients (appdynamics.com) When I generate the token via Admin UI, it shows the max is 30days. Then it needs to be regenerated.  Any comments on it?

Appreciate your inputs on this. 

Thanks, 

Viji

Labels (1)
0 Karma

Viji_Radhakrish
Explorer

@Cansel.OZCAN  Do you have any comments on my previous message?

0 Karma

Viji_Radhakrish
Explorer

Hi Cansel, 

Thanks for your response. 

Yes, we are uploading the dSYM files as part of build. 

I have referred the documents which you shared. 

For iOS, 

curl -v -H Content-Type:application/octet-stream --upload-file UISampleApp.app.dSYM.zip --user Example account:Example-License-Key-4e8ec2ae6cfe https://fra-api.eum-appdynamics.com/v2/account/Example+account/ios-dsym

This looks like HTTP basic authentication to me.

It requires only the account name and license key to authenticate ? Does it not need any user credentials ? 

Then, there is no need of generating and using API tokens. Am I right? 

Thanks, 

Viji

Cansel_OZCAN
Path Finder
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...