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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...