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.
Here you can launch the 管理控制台 to manage virtual appliance settings such as the domain, authentication, and SSL.
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 Enterprise Server 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."
If you need to get information on the users, organizations, and repositories in your GitHub Enterprise Server instance, 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 "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|
GitHub's search features are powered by Elasticsearch. This section of the site admin dashboard shows you the current status of your Elasticsearch cluster and provides you with several tools to control search and index behavior.
For more information about code search, see "Searching for information on GitHub." For more information about Elasticsearch, see the Elasticsearch website.
Note: In normal use, site administrators do not need to create new indices or schedule repair jobs. For troubleshooting or other support purposes, GitHub 支持 may instruct you to run a repair job.
GitHub Enterprise Server reconciles the state of the search index with data on the instance automatically and regularly.
- Issues, pull requests, repositories, and users in the database
- Git repositories (source code) on disk
Your instance uses repair jobs to reconcile the data, and schedules a repair job in the background when the following events occur.
- A new search index is created.
- Missing data needs to be backfilled.
- Old search data needs to be updated.
You can create a new index, or you can click on an existing index in the list to manage the index. You can perform the following operations on an index.
- Make the index searchable.
- Make the index writable.
- Update the index.
- Delete the index
- Reset the index repair state.
- Start a new index repair job.
- Enable or disable index repair jobs.
A progress bar shows the current status of a repair job across background workers. The bar is the percentage difference of the repair offset with the highest record ID in the database. You can ignore the value shown in the progress bar after a repair job has completed. The progress bar shows the difference between the repair offset and the highest record ID in the database, and will decrease as more repositories are added to your GitHub Enterprise Server instance even though those repositories are actually indexed.
To minimize the effects on I/O performance and reduce the chances of operations timing out, run the repair job during off-peak hours. As the job reconciles the search index with database and Git repository data, one CPU will be used. Monitor your system's load averages and CPU usage with a utility like
top. If you don't notice any significant increase in resource consumption, it should also be safe to run an index repair job during peak hours.
Repair jobs use a "repair offset" for parallelization. This is an offset into the database table for the record being reconciled. Multiple background jobs can synchronize work based on this offset.
This allows you to enable or disable both search and index operations on source code.
Certain words are reserved for internal use in your GitHub Enterprise Server instance, 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.
Advanced Security Committers
You can see the number of active committers that are currently using seats for GitHub Advanced Security, and you can calculate how many additional seats would be used if you enabled GitHub Advanced Security for more organizations and repositories.
Under "Current active committer count", you can see the number of active committers for repositories with GitHub Advanced Security enabled. This is the number of licensed seats that are currently being used.
Under "Maximum committers across entire instance", you can see the number of active committers across all the repositories in your enterprise. This is the number of seats that would be used if you enabled GitHub Advanced Security for every repository in your enterprise.
Under "Calculate Additional Advanced Committers", you can calculate how many more additional seats will be used if you enable GitHub Advanced Security for specific organizations and repositories. Under "Organizations and Repositories", enter or paste a list of organizations and repositories, with one organization or repository per line.
The result is the number of additional seats that would be used if you enabled GitHub Advanced Security for those organizations and repositories.
For more information about billing for Advanced Security, see "About billing for Advanced Security."
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 GitHub Enterprise Server instance. 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 GitHub Enterprise Server instance, and initiate an SSH key audit.
Here you can see all of the administrators on your GitHub Enterprise Server instance, and initiate an SSH key audit.
Here you can see and suspend all of the inactive users on your GitHub Enterprise Server instance. A user account is considered to be inactive ("dormant") when it:
- Has existed for longer than the dormancy threshold that's set for your GitHub Enterprise Server instance.
- 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 GitHub Enterprise Server instance. For more information, see "Managing dormant users."
Here you can see all of the users who have been suspended on your GitHub Enterprise Server instance, and initiate an SSH key audit.