Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos.

Esta versión de GitHub Enterprise se discontinuará el Esta versión de GitHub Enterprise se discontinuó el 2020-08-20. No se realizarán lanzamientos de patch, ni siquiera para problemas de seguridad críticos. Para obtener un mejor desempeño, más seguridad y nuevas características, actualiza a la última versión de GitHub Enterprise. Para obtener ayuda con la actualización, contacta al soporte de GitHub Enterprise.

Versión del artículo: Enterprise Server 2.18

Site admin dashboard

The site admin dashboard provides a number of tools to help you manage tu instancia de servidor de GitHub Enterprise.

En este artículo

To access the dashboard, in the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

Refer to this section of the site admin dashboard to check your current GitHub Enterprise license; to search for users and repositories; and to query the audit log.

Consola de administración

Here you can launch the Consola de administración to manage virtual appliance settings such as the domain, authentication, and SSL.

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 Enterprise 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 more information on audit logging in general, see "Audit logging." For a full list of audited actions, see "Audited actions."

Reports

If you need to get information on the users, organizations, and repositories in tu instancia de servidor de GitHub 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 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

Indexing

GitHub's code 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 the behavior of searching and indexing. These tools are split into the following three categories.

This allows you to enable or disable both search and index operations on source code.

Code search index repair

This controls how the code search index is repaired. You can

  • enable or disable index repair jobs
  • start a new index repair job
  • reset all index repair state

GitHub Enterprise uses repair jobs to reconcile the state of the search index with data stored in a database (issues, pull requests, repositories, and users) and data stored in Git repositories (source code). This happens when

  • a new search index is created;
  • missing data needs to be backfilled; or
  • old search data needs to be updated.

In other words, repair jobs are started as needed and run in the background—they are not scheduled by site admins in any way.

Furthermore, 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.

A progress bar shows the current status of a repair job across all of its background workers. It is the percentage difference of the repair offset with the highest record ID in the database. Don't worry about the value shown in the progress bar after a repair job has completed: because it shows the difference between the repair offset and the highest record ID in the database, it will decrease as more repositories are added to tu instancia de servidor de GitHub Enterprise even though those repositories are actually indexed.

You can start a new code-search index repair job at any time. It will use a single CPU as it reconciles the search index with database and Git repository data. To minimize the effects this will have on I/O performance and reduce the chances of operations timing out, try to run a repair job during off-peak hours first. Monitor your system's load averages and CPU usage with a utility like top; if you don't notice any significant changes, it should be safe to run an index repair job during peak hours, as well.

Issues index repair

This controls how the Issues index is repaired. You can

  • enable or disable index repair jobs
  • start a new index repair job
  • reset all index repair state

Repositories

This is a list of the repositories on tu instancia de servidor de GitHub 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 tu instancia de servidor de GitHub Enterprise—, and initiate an SSH key audit.

Site admins

Here you can see all of the administrators on tu instancia de servidor de GitHub Enterprise, and initiate an SSH key audit.

Dormant users

Here you can see and suspend all of the inactive users on tu instancia de servidor de GitHub Enterprise. A user account is considered to be inactive ("dormant") when it:

  • Has existed for longer than the dormancy threshold that's set for tu instancia de servidor de GitHub Enterprise.
  • Has not generated any activity within that time period.
  • Is not a site administrator.

El umbral de inactividad es cuánto tiempo debe estar inactivo un usuario para considerarse como inactivo. El umbral de inactividad predeterminado es de 90 días, sin embargo, puedes personalizar este umbral para tu instancia de servidor de GitHub Enterprise. For more information, see "Managing dormant users."

Suspended users

Here you can see all of the users who have been suspended on tu instancia de servidor de GitHub Enterprise, and initiate an SSH key audit.

Pregunta a una persona

¿No puedes encontrar lo que estás buscando?

Contáctanos