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.
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.
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."
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 users who have been active within the last month
- all users who have been inactive for one month or more
- 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 "Creating a personal access token."
For example, here is how you would download the "all users" report using cURL:
curl -L -u username:token http(s)://hostname/stafftools/reports/all_users.csv
To access the other reports programmatically, replace
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.
|When the user account was created (as an ISO 8601 timestamp)|
|Account ID for the user or organization|
|Account's login name|
|Account's primary email address|
|Whether the account is an admin or an ordinary user|
|Whether the account has been suspended|
|Most recent IP address to log into the account|
|Number of repositories owned by the account|
|Number of SSH keys registered to the account|
|Number of organizations to which the account belongs|
|Whether the account is dormant|
|When the account was last active (as an ISO 8601 timestamp)|
|Raw login information (in JSON format)|
|Whether the user has enabled two-factor authentication|
|When the organization was created|
|Organization's login name|
|Organization's primary email address|
|Number of organization owners|
|Number of organization members|
|Number of organization teams|
|Number of organization repositories|
|Whether the organization requires two-factor authentication|
|When the repository was created|
|ID of the repository's owner|
|Whether the repository is owned by a user or an organization|
|Name of the repository's owner|
|Whether the repository is public or private|
|Repository's size in a human-readable format|
|Repository's size as a number|
|Number of repository collaborators|
|Whether the repository is a fork|
|Whether the repository has been deleted|
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:
For the full list or reserved words, navigate to "Reserved logins" in the site admin dashboard.
Refer to this section of the site admin dashboard to manage organizations, people, policies, and settings.
This is a list of the repositories on your enterprise. You can click on a repository name and access functions for administering the repository.
- Blocking force pushes to a repository
- Configuring Git Large File Storage
- Archiving and unarchiving repositories
Here you can see all of the users on your enterprise, and initiate an SSH key audit.
Here you can see all of the administrators on your enterprise, and initiate an SSH key audit.
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.
休眠阈值是指用户必须多久不活动才被视为休眠。 默认休眠阈值是 90 天，但您可以自定义 your enterprise 的休眠阈值。 For more information, see "Managing dormant users."
Here you can see all of the users who have been suspended on your enterprise, and initiate an SSH key audit.