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

Add options to get or list feature #227

Open
jgkloek opened this issue Sep 27, 2024 · 4 comments
Open

Add options to get or list feature #227

jgkloek opened this issue Sep 27, 2024 · 4 comments

Comments

@jgkloek
Copy link

jgkloek commented Sep 27, 2024

Please consider adding features similar to the add function to the list or get functions:
-a address string
-s safe string
-p platform-id string
-u username string

Thank you

@AndrewCopeland
Copy link
Collaborator

@jgkloek Thanks for reaching out. I do not believe the list endpoint has the ability to scope down searching by specific fields like the ones you mentioned.

You could always use the --search or -s feature flag and use spaces to include address safe platform-id and username.

See the documentation below for information about how the search query parameter works.
https://docs.cyberark.com/pam-self-hosted/Latest/en/Content/SDK/GetAccounts.htm?tocpath=Developer%7CREST%20APIs%7CAccounts%7C_____1#Filter

An example would be:

cybr accounts list --search "<address> <safe> <platform-id> <username>"

@infamousjoeg are my assumptions correct?

@jgkloek
Copy link
Author

jgkloek commented Oct 11, 2024 via email

@jgkloek
Copy link
Author

jgkloek commented Oct 11, 2024 via email

@jgkloek
Copy link
Author

jgkloek commented Oct 12, 2024 via email

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

No branches or pull requests

2 participants