You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the described and highly appreciated "path" setting in Ansible Cyberark.pas module / cyberark.pas.cyberark_credential version 1.0.27 does not work.
The issue is that the parameter doesn't actually exist in the main function of the respective module (as of 2024-06-13/ cyberark.pas 1.0.27) meaning that without modifying the python code of the module using the CCP with PAM won't work.
Steps to Reproduce
Try to use the "path: AimWebServiceCustom" with cyberark_credential
Summary
Unfortunately the described and highly appreciated "path" setting in Ansible Cyberark.pas module / cyberark.pas.cyberark_credential version 1.0.27 does not work.
The issue is that the parameter doesn't actually exist in the main function of the respective module (as of 2024-06-13/ cyberark.pas 1.0.27) meaning that without modifying the python code of the module using the CCP with PAM won't work.
Steps to Reproduce
Try to use the "path: AimWebServiceCustom" with cyberark_credential
Expected Results
cyberark_credential:
api_base_url: "http://10.10.0.1/"
app_id: "TestID"
query: "Safe=test;UserName=admin"
path: AimWebServiceCustom
register: result
Should return the result:
{ api_base_url } { path } "?AppId="{ app_id }"&Query="{ query }
Actual Results
path is not added
Reproducible
Version/Tag number
1.0.27
Environment setup
Ansible with the cyberark_credential galaxy module
Additional Information
The issue is fixed by adjusted the following file:
ansible-security-automation-collection/plugins/modules/cyberark_credential.py
In the main function we've added the following to the end of the fields (line 338):
"path": {"type": "str", "required": False, "no_log": False},
The text was updated successfully, but these errors were encountered: