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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...