Skip to main content
GitHub AE is currently under limited release.

Site admin dashboard

You can use the site admin dashboard to manage users, organizations, and repositories in your enterprise directly in GitHub AE.

To access the dashboard, in the upper-right corner of any page, click .

Refer to this section of the site admin dashboard to search for users and repositories, and to query the audit log.

Explore

Data for GitHub's trending page is calculated into daily, weekly, and monthly time spans for both repositories and developers. You can see when this data was last cached and queue up new trending calculation jobs from the Explore section.

Audit log

GitHub AE keeps a running log of audited actions that you can query.

By default, the audit log shows you a list of all audited actions in reverse chronological order. You can filter this list by entering key-value pairs in the Query text box and then clicking Search, as explained in "Searching the audit log for your enterprise."

For more information on audit logging in general, see "About the audit log for your enterprise." For a full list of audited actions, see "Audit log events for your enterprise."

Reports

If you need to get information on the users, organizations, and repositories in your enterprise, you would ordinarily fetch JSON data through the GitHub API. Unfortunately, the API may not provide all of the data that you want and it requires a bit of technical expertise to use. The site admin dashboard offers a Reports section as an alternative, making it easy for you to download CSV reports with most of the information that you are likely to need for users, organizations, and repositories.

Specifically, you can download CSV reports that list

  • all users
  • all active users
  • all dormant users
  • all users who have been suspended
  • all organizations
  • all repositories

You can also access these reports programmatically via standard HTTP authentication with a site admin account. You must use a personal access token with the site_admin scope. For more information, see "Managing your personal access tokens."

For example, here is how you would download the "all users" report in a curl command:

curl -L -u USERNAME:TOKEN http(s)://HOSTNAME/stafftools/reports/all_users.csv

To access the other reports programmatically, replace all_users with active_users, dormant_users, suspended_users, all_organizations, or all_repositories.

Note: The initial curl request will return a 202 HTTP response if there are no cached reports available; a report will be generated in the background. You can send a second request to download the report. You can use a password or an OAuth token with the site_admin scope in place of a password.

User reports

KeyDescription
created_atWhen the user account was created (as an ISO 8601 timestamp)
idAccount ID for the user or organization
loginAccount's login name
emailAccount's primary email address
roleWhether the account is an admin or an ordinary user
suspended?Whether the account has been suspended
last_logged_ipMost recent IP address to log into the account
reposNumber of repositories owned by the account
ssh_keysNumber of SSH keys registered to the account
org_membershipsNumber of organizations to which the account belongs
dormant?Whether the account is dormant
last_activeWhen the account was last active (as an ISO 8601 timestamp)
raw_loginRaw login information (in JSON format)
2fa_enabled?Whether the user has enabled two-factor authentication

Organization reports

KeyDescription
idOrganization ID
created_atWhen the organization was created
loginOrganization's login name
emailOrganization's primary email address
ownersNumber of organization owners
membersNumber of organization members
teamsNumber of organization teams
reposNumber of organization repositories
2fa_required?Whether the organization requires two-factor authentication

Repository reports

KeyDescription
created_atWhen the repository was created
owner_idID of the repository's owner
owner_typeWhether the repository is owned by a user or an organization
owner_nameName of the repository's owner
idRepository ID
nameRepository name
visibilityWhether the repository is public or private
readable_sizeRepository's size in a human-readable format
raw_sizeRepository's size as a number
collaboratorsNumber of repository collaborators
fork?Whether the repository is a fork
deleted?Whether the repository has been deleted

Reserved logins

Certain words are reserved for internal use in your enterprise, which means that these words cannot be used as usernames.

For example, the following words are reserved, among others:

  • admin
  • enterprise
  • login
  • staff
  • support

For the full list or reserved words, navigate to "Reserved logins" in the site admin dashboard.

Enterprise overview

Refer to this section of the site admin dashboard to manage organizations, people, policies, and settings.

Repositories

This is a list of the repositories on your enterprise. You can click on a repository name and access functions for administering the repository.

All users

Here you can see all of the users on your enterprise, and initiate an SSH key audit.

Site admins

Here you can see all of the administrators on your enterprise, and initiate an SSH key audit.

Dormant users

Here you can see and suspend all of the inactive users on your enterprise. A user account is considered to be inactive ("dormant") when it:

  • Has existed for longer than the dormancy threshold that's set for your enterprise.
  • Has not generated any activity within that time period.
  • Is not a site administrator.

The dormancy threshold is the length of time a user must be inactive to be considered dormant. The default dormancy threshold is 90 days, however you can customize the dormancy threshold for your enterprise. For more information, see "Managing dormant users."

Suspended users

Here you can see all of the users who have been suspended on your enterprise, and initiate an SSH key audit.