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

Update Slack-Discovery.ps1 #144

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Update Slack-Discovery.ps1 #144

merged 1 commit into from
Oct 9, 2024

Conversation

somnathr92
Copy link
Contributor

-The user.list API has been replaced with the admin.users.list API. -Pagination has been implemented in line with the admin.users.list API requirements. -Modifications have been made to accommodate the response structure of the admin.users.list API. -The "is_app_user" parameter is not included in the admin.users.list API, so its related object has been removed from the main process. -The "team_id" parameter is also not provided by the admin.users.list API, so the corresponding code sections in the main process have been commented out. You can either remove these lines entirely or provide guidance on how to handle them, and we will make the necessary adjustments. -A global variable $OnlyAdminAccount has been added for the "Default" $DiscoveryMode to allow the script user to choose between retrieving all users or only admin users.

🛠 Changes being made

Give an overview of the submission and the use cases that you are addressing. Include an itemized list if you can

🏎 Quality check

  • Should this be added to Delinea Marketplace?

  • Has this been tested and verified?

  • Have you included a separate .md documentation for each script submitted?

-The user.list API has been replaced with the admin.users.list API.
-Pagination has been implemented in line with the admin.users.list API requirements.
-Modifications have been made to accommodate the response structure of the admin.users.list API.
-The "is_app_user" parameter is not included in the admin.users.list API, so its related object has been removed from the main process.
-The "team_id" parameter is also not provided by the admin.users.list API, so the corresponding code sections in the main process have been commented out. You can either remove these lines entirely or provide guidance on how to handle them, and we will make the necessary adjustments.
-A global variable $OnlyAdminAccount has been added for the "Default" $DiscoveryMode to allow the script user to choose between retrieving all users or only admin users.
@tylerezimmerman tylerezimmerman merged commit 59c9cda into main Oct 9, 2024
@tylerezimmerman tylerezimmerman deleted the dev_Slack branch October 9, 2024 13:56
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

Successfully merging this pull request may close these issues.

2 participants