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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...