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
API and WebhooksDiscussions and conversations related to APIs or WebhooksBest PracticesBest practices, tips & tricks, and articles from GitHub and its users
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Finding All GitHub Apps in an Organization or all Enterprise Organizations
For audit purposes it may be desirable to have a list of the GitHub Apps installed in an organization. To get such a list for all organizations in an enterprise the GraphQL object enterpriseorganizationmembershipconnection may be used. The Power has a graphql-list-enterprise-organizations.sh to get all the organizations in the enterprise and for each organization list app installations for an organization endpoint to return details of the GitHub Apps installed in the organization.
Returns:
Use
list-app-installations-for-an-organization.sh
with an organization name to get the apps installed:Returns:
To have that in CSV format:
Returns:
Round things off and make output pretty using csvlook from the csvkit: library:
Returns:
Beta Was this translation helpful? Give feedback.
All reactions