Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cyberark.pas.account : Allow deleting accounts using their unique name or id #39

Open
pint2oo opened this issue Nov 8, 2021 · 3 comments

Comments

@pint2oo
Copy link

pint2oo commented Nov 8, 2021

Is your feature request related to a problem? Please describe.

I'm facing an issue deleting accounts that have very similar parameters (same username, address, safe and platform), and that can't be distinguished except by some parameters in "platform_account_properties", and by their "name".

I have been unable to make "name" work as a value of "identified_by" (API returns a 200 as if the account was already absent), and there is currently no option to give the account's id to the module (despite it being handled by the API).

Describe the solution you would like

I would like to be able to delete accounts using either their unique "name" or "id".

Describe alternatives you have considered

I'm reverting back to using the Ansible uri module to send DELETE requests to the API. as described here : https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Delete%20Account.htm

Additional context

/

@mdgreenjr
Copy link

This post is from 2021 and I seem to maybe be running into the same issue. Is this not fixed yet?

@szh
Copy link
Contributor

szh commented Apr 25, 2024

@cyberark-bizdev and @infamousjoeg can you please take a look?

@mdgreenjr
Copy link

Doing some testing it almost seems like "name" search doesn't work at all - even in GUI. For example the ID (example: 35_32) has to be unique and cyberark assigns. The "name" which if you don't define it is also auto generated.

Imagine this use case - name is username-fqdn-critera-critera something like that. It makes it a single field that can be looked up and will be unique across the vault.

So if you search for that in the GUI with "" around it finds nothing but if you search for it separated by spaces it seems like it does a keyword search for each part of the name and is possibly able to locate the account.? So if we do this in ansible using identified_by: name and input the EXACT name results in nothing found.

Could this be a setting in cyberark itself rather than something with the api?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants