mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #370] List all account egress keys? #101
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ldelelis on GitHub (Mar 8, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/370
Part of one of our sync processes would need to pull the egress keys of all users, in order to detect differences that might occur on target hosts. So far the only way I found of doing this is looping through the output of
accountList, and requesting each account's egress keys individually.This process of course takes some time. If there's a simpler way would someone please let me know?
@speed47 commented on GitHub (Mar 14, 2023):
Hey,
We have similar auditing/reconciling processes that go through all accounts and/or groups, and the #371 PR currently under review does exactly what you need but for groups: getting all the groups data nicely dumped into a JSON through
--jsonby simply specifying--alltogroupInfo. This command is only accessible to accounts granted with thebastion auditorrole.I can do this too for the accounts, I actually started a branch for this but didn't push it yet, I'll do it now that I know you have the need :)