Generating a Temporary Elevation Policy: Where do I get the values from for the Applications-array inside the PolicyScope, if the action is not equal to 4 (Elevate if necessary)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Generating a Temporary Elevation Policy: Where do I get the values from for the Applications-array inside the PolicyScope, if the action is not equal to 4 (Elevate if necessary)?

L3 Networker

Hi all,

 

I want to generate a Temporary Elevation Policy automatically via API with Policy Action equal to 3 (Elevate). For this case I cannot find valid values for the Applications-array inside the PolicyScope inside the documentation. Could you help me, please?

 

Thanks & best regards,

Ruben

4 REPLIES 4

L3 Networker

In Addition:

My problem is this part of the documentation: https://docs.cyberark.com/epm/latest/en/content/webservices/applicationpolicydefinitions.htm#Policyscope . How do I have to fill the Applications-array (with what parameters/values) in the case Policy Action is equal to 3 (Elevate) and not 4 (Elevate if necessary, as mentioned in the doc)?

L3 Networker

Another addition (same context): Where do I get the "id" in the Applications-array from?

And: Where do I get the "InternalId" in the LinkedAgentPolicies-array from? Is it mandatory at all?

 

Thanks in advance for any hint & best regards.

L7 Applicator

Hi @Ruben Kaufmann​ 

 

In my understanding, Id in the Applications-array is automatically generated when you create the policy, you don't need to provide it in your API call.

 

InternalId in the LinkedAgentPolicies array is the unique ID for a pre-existing agent configuration policy. You will need to first get this ID by calling the get agent configurations API.

 

https://docs.cyberark.com/epm/latest/en/content/webservices/getagentconfigurations.htm

 

Hi Malhar,

thanks for your answer.

"when you create the policy, you don't need to provide it in your API call" means to set it to "[]" or to "00000000-0000-0000-0000-000000000000"?

And where can I see, that the InternalId is a result of calling the get agent configurations API?

 

Thanks & best regards,

Ruben

  • 76 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!