Test Ansible Credential Query via AIM CCP

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

Test Ansible Credential Query via AIM CCP

L3 Networker

Dear Community,

we are trying to integrate Ansible with CyberArk.

There is an option to test the credentials via the Ansible Web GUI, but it simply does not work.

If I manually via CLI test the query it works, but not via the test function of the GUI.

Could someone point us to the right direction, how we could test and configure it?

 

Thank you.

 

Setup:

Field_Content_versions_oct20__0682J0000070W30QAE.gif

Test:

Field_Content_versions_oct20__0682J0000070W3AQAU.gif

1 accepted solution

Accepted Solutions

L0 Member

We recently resolved what I believe maybe the same issue. Try changing the CyberArk AIM URL to only be primary web address without any of the extensions, https://pvwa-test.XXXXXXXXX. AWX will add the rest. The second issue we had was our Ansible team was adding "" to the queries, that is also unnecessary.

View solution in original post

11 REPLIES 11

L7 Applicator

Is there an error on your CCP (either the APPAudit.log or IIS log)?

L0 Member

We recently resolved what I believe maybe the same issue. Try changing the CyberArk AIM URL to only be primary web address without any of the extensions, https://pvwa-test.XXXXXXXXX. AWX will add the rest. The second issue we had was our Ansible team was adding "" to the queries, that is also unnecessary.

L3 Networker

Hi,

we already solved, but thanks for the answer.

@Balazs Racz​  could you post the solution for the benefit of others following this thread. thanks

Hi, sorry, I can't, I was not involved with that anymore.

L2 Linker

I have the same issue. I used only the CCP primary URL, I tried no " " in the query, it still showed "Test Failed." I couldn't find the attempt entries from event viewer, IIS log or CCP logs on the CCP server which means the test might not hit the CCP server. I am able to retrieve the password using playbook on the ansible tower for the same query as the test for credential( same CCP URL, same app ID, safe and object). Anyone knows what might be the problem? which log can I check on the ansible server?

L2 Linker

0682J000008xNNvQAM.jpg@Helen Du​ , @Tanner Webb​ 

 

We are trying to integrate Ansible tower . which authentication method did you use ?

 

We have Basic and certificate Authentication enabled at IIS level on CP/CCP server but we do not see any fields related to Username or password in Ansible Web configuration (attached image) . what's the best/recommended authentication method here ?

 

TIA

 

 

We tried testing with a user with superuser privilege, the test was successful, but test with admin user failed. Anyone knows what might cause this?

CCP.

Thanks for sharing @Helen Du​  will have a look.

Hi, thanks! this made the test successful for us

  • 1 accepted solution
  • 2548 Views
  • 11 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!