Skip to main content

此版本的 GitHub Enterprise Server 已于以下日期停止服务 2024-07-09. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

查看企业的审核日志中记录的事件。

谁可以使用此功能?

Enterprise owners and site administrators

本文内容

Note

本文列出了可能出现在企业审核日志中的事件。 有关可在用户帐户的安全日志或组织的审核日志中显示的事件,请参阅“安全日志事件”和“组织的审核日志事件”。

本文列出了可能出现在企业设置中的事件。 站点管理员仪表板可能包含此处未列出的其他事件。

account

操作说明
account.plan_changeThe account's plan changed.

actions_cache

操作说明
actions_cache.deleteA GitHub Actions cache was deleted using the REST API.

api

操作说明
api.requestAn API request was made to a security-significant endpoint for the enterprise. This event is only included if API Request Events is enabled in the enterprise's audit log settings. This event is only available via audit log streaming.

artifact

操作说明
artifact.destroyA workflow run artifact was manually deleted.

billing

操作说明
billing.change_billing_typeThe way the account pays for GitHub was changed.
billing.change_emailThe billing email address changed.

business

操作说明
business.add_adminAn enterprise owner was added to an enterprise.
business.add_organizationAn organization was added to an enterprise.
business.advanced_security_policy_updateAn enterprise owner created, updated, or removed a policy for GitHub Advanced Security.
business.clear_actions_settingsAn enterprise owner or site administrator cleared GitHub Actions policy settings for an enterprise.
business.clear_default_repository_permissionAn enterprise owner cleared the base repository permission policy setting for an enterprise.
business.clear_members_can_create_reposAn enterprise owner cleared a restriction on repository creation in organizations in the enterprise.
business.createAn enterprise was created.
business.disable_source_ip_disclosureDisplay of IP addresses within audit log events for the enterprise was disabled.
business.disable_two_factor_requirementThe requirement for members to have two-factor authentication enabled to access an enterprise was disabled.
business.enable_source_ip_disclosureDisplay of IP addresses within audit log events for the enterprise was enabled.
business.enable_two_factor_requirementThe requirement for members to have two-factor authentication enabled to access an enterprise was enabled.
business.members_can_update_protected_branches.clearAn enterprise owner unset a policy for whether members of an enterprise can update protected branches on repositories for individual organizations. Organization owners can choose whether to allow updating protected branches settings.
business.members_can_update_protected_branches.disableThe ability for enterprise members to update branch protection rules was disabled. Only enterprise owners can update protected branches.
business.members_can_update_protected_branches.enableThe ability for enterprise members to update branch protection rules was enabled. Enterprise owners and members can update protected branches.
business.remove_adminAn enterprise owner was removed from an enterprise.
business.remove_organizationAn organization was removed from an enterprise.
business.rename_slugThe slug for the enterprise URL was renamed.
business.set_actions_fork_pr_approvals_policyThe policy for requiring approvals for workflows from public forks was changed for an enterprise.
business.set_actions_private_fork_pr_approvals_policyThe policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an enterprise.
business.set_actions_retention_limitThe retention period for GitHub Actions artifacts and logs was changed for an enterprise.
business.set_default_workflow_permissionsThe default permissions granted to the GITHUB_TOKEN when running workflows were changed for an enterprise.
business.set_fork_pr_workflows_policyThe policy for fork pull request workflows was changed for an enterprise.
business.set_workflow_permission_can_approve_prThe policy for allowing GitHub Actions to create and approve pull requests was changed for an enterprise.
business.sso_responseA SAML single sign-on (SSO) response was generated when a member attempted to authenticate with your enterprise. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
business.update_actions_settingsAn enterprise owner or site administrator updated GitHub Actions policy settings for an enterprise.
business.update_default_repository_permissionThe base repository permission setting was updated for all organizations in an enterprise.
business.update_member_repository_creation_permissionThe repository creation setting was updated for an enterprise.
business.update_member_repository_invitation_permissionThe policy setting for enterprise members inviting outside collaborators to repositories was updated.

business_advanced_security

操作说明
business_advanced_security.disabledGitHub Advanced Security was disabled for your enterprise.
business_advanced_security.disabled_for_new_reposGitHub Advanced Security was disabled for new repositories in your enterprise.
business_advanced_security.enabledGitHub Advanced Security was enabled for your enterprise.
business_advanced_security.enabled_for_new_reposGitHub Advanced Security was enabled for new repositories in your enterprise.

business_dependabot_alerts_new_repos

操作说明
business_dependabot_alerts_new_repos.disableDependabot alerts were disabled for new repositories in your enterprise.
business_dependabot_alerts_new_repos.enableDependabot alerts were enabled for new repositories in your enterprise.

business_secret_scanning_custom_pattern

操作说明
business_secret_scanning_custom_pattern.createAn enterprise-level custom pattern was created for secret scanning.
business_secret_scanning_custom_pattern.deleteAn enterprise-level custom pattern was removed from secret scanning.
business_secret_scanning_custom_pattern.updateChanges to an enterprise-level custom pattern were saved and a dry run was executed for secret scanning.

business_secret_scanning_custom_pattern_push_protection

操作说明
business_secret_scanning_custom_pattern_push_protection.disabledPush protection for a custom pattern for secret scanning was disabled for your enterprise.
business_secret_scanning_custom_pattern_push_protection.enabledPush protection for a custom pattern for secret scanning was enabled for your enterprise.

business_secret_scanning

操作说明
business_secret_scanning.disableSecret scanning was disabled for your enterprise.
business_secret_scanning.disabled_for_new_reposSecret scanning was disabled for new repositories in your enterprise.
business_secret_scanning.enableSecret scanning was enabled for your enterprise.
business_secret_scanning.enabled_for_new_reposSecret scanning was enabled for new repositories in your enterprise.

business_secret_scanning_push_protection_custom_message

操作说明
business_secret_scanning_push_protection_custom_message.disableThe custom message triggered by an attempted push to a push-protected repository was disabled for your enterprise.
business_secret_scanning_push_protection_custom_message.enableThe custom message triggered by an attempted push to a push-protected repository was enabled for your enterprise.
business_secret_scanning_push_protection_custom_message.updateThe custom message triggered by an attempted push to a push-protected repository was updated for your enterprise.

business_secret_scanning_push_protection

操作说明
business_secret_scanning_push_protection.disablePush protection for secret scanning was disabled for your enterprise.
business_secret_scanning_push_protection.disabled_for_new_reposPush protection for secret scanning was disabled for new repositories in your enterprise.
business_secret_scanning_push_protection.enablePush protection for secret scanning was enabled for your enterprise.
business_secret_scanning_push_protection.enabled_for_new_reposPush protection for secret scanning was enabled for new repositories in your enterprise.

checks

操作说明
checks.auto_trigger_disabledAutomatic creation of check suites was disabled on a repository in the organization or enterprise.
checks.auto_trigger_enabledAutomatic creation of check suites was enabled on a repository in the organization or enterprise.
checks.delete_logsLogs in a check suite were deleted.

codespaces

操作说明
codespaces.allow_permissionsA codespace using custom permissions from its devcontainer.json file was launched.
codespaces.connectCredentials for a codespace were refreshed.
codespaces.createA codespace was created
codespaces.destroyA user deleted a codespace.
codespaces.export_environmentA codespace was exported to a branch on GitHub.
codespaces.restoreA codespace was restored.
codespaces.suspend_environmentA codespace was stopped.
codespaces.trusted_repositories_access_updateA personal account's access and security setting for Codespaces were updated.

dependabot_alerts

操作说明
dependabot_alerts.disableDependabot alerts were disabled for all existing repositories.
dependabot_alerts.enableDependabot alerts were enabled for all existing repositories.

dependabot_alerts_new_repos

操作说明
dependabot_alerts_new_repos.disableDependabot alerts were disabled for all new repositories.
dependabot_alerts_new_repos.enableDependabot alerts were enabled for all new repositories.

dependabot_repository_access

操作说明
dependabot_repository_access.repositories_updatedThe repositories that Dependabot can access were updated.

dependabot_security_updates

操作说明
dependabot_security_updates.disableDependabot security updates were disabled for all existing repositories.
dependabot_security_updates.enableDependabot security updates were enabled for all existing repositories.

dependabot_security_updates_new_repos

操作说明
dependabot_security_updates_new_repos.disable Dependabot security updates were disabled for all new repositories.
dependabot_security_updates_new_repos.enableDependabot security updates were enabled for all new repositories.

dependency_graph

操作说明
dependency_graph.disableThe dependency graph was disabled for all existing repositories.
dependency_graph.enableThe dependency graph was enabled for all existing repositories.

dependency_graph_new_repos

操作说明
dependency_graph_new_repos.disableThe dependency graph was disabled for all new repositories.
dependency_graph_new_repos.enableThe dependency graph was enabled for all new repositories.

discussion_post

操作说明
discussion_post.destroyTriggered when a team discussion post is deleted.
discussion_post.updateTriggered when a team discussion post is edited.

discussion_post_reply

操作说明
discussion_post_reply.destroyTriggered when a reply to a team discussion post is deleted.
discussion_post_reply.updateTriggered when a reply to a team discussion post is edited.

enterprise_announcement

操作说明
enterprise_announcement.createA global announcement banner was created for the enterprise.
enterprise_announcement.destroyA global announcement banner was removed from the enterprise.
enterprise_announcement.updateA global announcement banner was updated for the enterprise.

enterprise_domain

操作说明
enterprise_domain.approveA domain was approved for an enterprise.
enterprise_domain.createA domain was added to an enterprise.
enterprise_domain.destroyA domain was removed from an enterprise.
enterprise_domain.verifyA domain was verified for an enterprise.

enterprise

操作说明
enterprise.register_self_hosted_runnerA new GitHub Actions self-hosted runner was registered.
enterprise.remove_self_hosted_runnerA GitHub Actions self-hosted runner was removed.
enterprise.runner_group_createdA GitHub Actions self-hosted runner group was created.
enterprise.runner_group_removedA GitHub Actions self-hosted runner group was removed.
enterprise.runner_group_runner_removedThe REST API was used to remove a GitHub Actions self-hosted runner from a group.
enterprise.runner_group_runners_addedA GitHub Actions self-hosted runner was added to a group.
enterprise.runner_group_runners_updatedA GitHub Actions runner group's list of members was updated.
enterprise.runner_group_updatedThe configuration of a GitHub Actions self-hosted runner group was changed.
enterprise.self_hosted_runner_offlineThe GitHub Actions runner application was stopped. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
enterprise.self_hosted_runner_onlineThe GitHub Actions runner application was started. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
enterprise.self_hosted_runner_updatedThe GitHub Actions runner application was updated. This event is not included in the JSON/CSV export.

environment

操作说明
environment.add_protection_ruleA GitHub Actions deployment protection rule was created via the API.
environment.create_actions_secretA secret was created for a GitHub Actions environment.
environment.create_actions_variableA variable was created for a GitHub Actions environment.
environment.deleteAn environment was deleted.
environment.remove_actions_secretA secret was deleted for a GitHub Actions environment.
environment.remove_actions_variableA variable was deleted for a GitHub Actions environment.
environment.remove_protection_ruleA GitHub Actions deployment protection rule was deleted via the API.
environment.update_actions_secretA secret was updated for a GitHub Actions environment.
environment.update_actions_variableA variable was updated for a GitHub Actions environment.
environment.update_protection_ruleA GitHub Actions deployment protection rule was updated via the API.

git

操作说明
git.cloneA repository was cloned.
git.fetchChanges were fetched from a repository.
git.pushChanges were pushed to a repository.

git_signing_ssh_public_key

操作说明
git_signing_ssh_public_key.createAn SSH key was added to a user account as a Git commit signing key.
git_signing_ssh_public_key.deleteAn SSH key was removed from a user account as a Git commit signing key.

hook

操作说明
hook.active_changedA hook's active status was updated.
hook.config_changedA hook's configuration was changed.
hook.createA new hook was added.
hook.destroyA hook was deleted.
hook.events_changedA hook's configured events were changed.

integration

操作说明
integration.createA GitHub App was created.
integration.destroyA GitHub App was deleted.
integration.manager_addedA member of an enterprise or organization was added as a GitHub App manager.
integration.manager_removedA member of an enterprise or organization was removed from being a GitHub App manager.
integration.remove_client_secretA client secret for a GitHub App was removed.
integration.revoke_all_tokensAll user tokens for a GitHub App were requested to be revoked.
integration.revoke_tokensToken(s) for a GitHub App were revoked.
integration.transferOwnership of a GitHub App was transferred to another user or organization.

integration_installation

操作说明
integration_installation.createA GitHub App was installed.
integration_installation.destroyA GitHub App was uninstalled.
integration_installation.repositories_addedRepositories were added to a GitHub App.
integration_installation.repositories_removedRepositories were removed from a GitHub App.
integration_installation.suspendA GitHub App was suspended.
integration_installation.unsuspendA GitHub App was unsuspended.
integration_installation.version_updatedPermissions for a GitHub App were updated.

ip_allow_list

操作说明
ip_allow_list.disableAn IP allow list was disabled.
ip_allow_list.disable_for_installed_appsAn IP allow list was disabled for installed GitHub Apps.
ip_allow_list.disable_user_level_enforcementIP allow list user level enforcement was disabled.
ip_allow_list.enableAn IP allow list was enabled.
ip_allow_list.enable_for_installed_appsAn IP allow list was enabled for installed GitHub Apps.
ip_allow_list.enable_user_level_enforcementIP allow list user level enforcement was enabled.

ip_allow_list_entry

操作说明
ip_allow_list_entry.createAn IP address was added to an IP allow list.
ip_allow_list_entry.destroyAn IP address was deleted from an IP allow list.
ip_allow_list_entry.updateAn IP address or its description was changed.

marketplace_agreement_signature

操作说明
marketplace_agreement_signature.createThe GitHub Marketplace Developer Agreement was signed.

marketplace_listing

操作说明
marketplace_listing.approveA listing was approved for inclusion in GitHub Marketplace.
marketplace_listing.change_categoryA category for a listing for an app in GitHub Marketplace was changed.
marketplace_listing.createA listing for an app in GitHub Marketplace was created.
marketplace_listing.delistA listing was removed from GitHub Marketplace.
marketplace_listing.redraftA listing was sent back to draft state.
marketplace_listing.rejectA listing was not accepted for inclusion in GitHub Marketplace.

migration

操作说明
migration.createA migration file was created for transferring data from a source location (such as a GitHub.com organization or a GitHub Enterprise Server instance) to a target GitHub Enterprise Server instance.

oauth_application

操作说明
oauth_application.createAn OAuth application was created.
oauth_application.destroyAn OAuth application was deleted.
oauth_application.generate_client_secretAn OAuth application's secret key was generated.
oauth_application.remove_client_secretAn OAuth application's secret key was deleted.
oauth_application.reset_secretThe secret key for an OAuth application was reset.
oauth_application.revoke_all_tokensAll user tokens for an OAuth application were requested to be revoked.
oauth_application.revoke_tokensToken(s) for an OAuth application were revoked.
oauth_application.transferAn OAuth application was transferred from one account to another.
oauth_application.unsuspendAn OAuth application was unsuspended for a user or organization account.

oauth_authorization

操作说明
oauth_authorization.createAn authorization for an OAuth application was created.
oauth_authorization.destroyAn authorization for an OAuth application was deleted.
oauth_authorization.updateAn authorization for an OAuth application was updated.

org

操作说明
org.accept_business_invitationAn invitation sent to an organization to join an enterprise was accepted.
org.add_billing_managerA billing manager was added to an organization.
org.add_memberA user joined an organization.
org.add_outside_collaboratorAn outside collaborator was added to a repository.
org.advanced_security_disabled_for_new_reposGitHub Advanced Security was disabled for new repositories in an organization.
org.advanced_security_disabled_on_all_reposGitHub Advanced Security was disabled for all repositories in an organization.
org.advanced_security_enabled_for_new_reposGitHub Advanced Security was enabled for new repositories in an organization.
org.advanced_security_enabled_on_all_reposGitHub Advanced Security was enabled for all repositories in an organization.
org.advanced_security_policy_selected_member_disabledAn enterprise owner prevented GitHub Advanced Security features from being enabled for repositories owned by the organization.
org.advanced_security_policy_selected_member_enabledAn enterprise owner allowed GitHub Advanced Security features to be enabled for repositories owned by the organization.
org.async_deleteA user initiated a background job to delete an organization.
org.audit_log_exportAn export of the organization audit log was created. If the export included a query, the log will list the query used and the number of audit log entries matching that query.
org.block_userAn organization owner blocked a user from accessing the organization's repositories.
org.cancel_business_invitationAn invitation for an organization to join an enterprise was revoked
org.cancel_invitationAn invitation sent to a user to join an organization was revoked.
org.codeql_disabledCode scanning using the default setup was disabled for an organization.
org.codeql_enabledCode scanning using the default setup was enabled for an organization.
org.config.disable_collaborators_onlyThe interaction limit for collaborators only for an organization was disabled.
org.config.disable_contributors_onlyThe interaction limit for prior contributors only for an organization was disabled.
org.config.disable_sockpuppet_disallowedThe interaction limit for existing users only for an organization was disabled.
org.config.enable_collaborators_onlyThe interaction limit for collaborators only for an organization was enabled.
org.config.enable_contributors_onlyThe interaction limit for prior contributors only for an organization was enabled.
org.config.enable_sockpuppet_disallowedThe interaction limit for existing users only for an organization was enabled.
org.confirm_business_invitationAn invitation for an organization to join an enterprise was confirmed.
org.createAn organization was created.
org.deleteAn organization was deleted by a user-initiated background job.
org.disable_member_team_creation_permissionTeam creation was limited to owners.
org.disable_reader_discussion_creation_permissionAn organization owner limited discussion creation to users with at least triage permission in an organization.
org.disable_samlSAML single sign-on was disabled for an organization.
org.disable_two_factor_requirementA two-factor authentication requirement was disabled for the organization.
org.display_commenter_full_name_disabledAn organization owner disabled the display of a commenter's full name in an organization. Members cannot see a comment author's full name.
org.display_commenter_full_name_enabledAn organization owner enabled the display of a commenter's full name in an organization. Members can see a comment author's full name.
org.enable_member_team_creation_permissionTeam creation by members was allowed.
org.enable_reader_discussion_creation_permissionAn organization owner allowed users with read access to create discussions in an organization
org.enable_samlSAML single sign-on was enabled for the organization.
org.enable_two_factor_requirementTwo-factor authentication is now required for the organization.
org.integration_manager_addedAn organization owner granted a member access to manage all GitHub Apps owned by an organization.
org.integration_manager_removedAn organization owner removed access to manage all GitHub Apps owned by an organization from an organization member.
org.invite_memberA new user was invited to join an organization.
org.invite_to_businessAn organization was invited to join an enterprise.
org.members_can_update_protected_branches.disableThe ability for enterprise members to update protected branches was disabled. Only enterprise owners can update protected branches.
org.members_can_update_protected_branches.enableThe ability for enterprise members to update protected branches was enabled. Members of an organization can update protected branches.
org.recreateAn organization was restored.
org.register_self_hosted_runnerA new self-hosted runner was registered.
org.remove_billing_managerA billing manager was removed from an organization, either manually or due to a two-factor authentication requirement.
org.remove_memberA member was removed from an organization, either manually or due to a two-factor authentication requirement.
org.remove_outside_collaboratorAn outside collaborator was removed from an organization, either manually or due to a two-factor authentication requirement.
org.remove_self_hosted_runnerA self-hosted runner was removed.
org.renameAn organization was renamed.
org.restore_memberAn organization member was restored.
org.runner_group_createdA self-hosted runner group was created.
org.runner_group_removedA self-hosted runner group was removed.
org.runner_group_runner_removedThe REST API was used to remove a self-hosted runner from a group.
org.runner_group_runners_addedA self-hosted runner was added to a group.
org.runner_group_runners_updatedA runner group's list of members was updated.
org.runner_group_updatedThe configuration of a self-hosted runner group was changed.
org.secret_scanning_custom_pattern_push_protection_disabledPush protection for a custom pattern for secret scanning was disabled for an organization.
org.secret_scanning_custom_pattern_push_protection_enabledPush protection for a custom pattern for secret scanning was enabled for an organization.
org.secret_scanning_push_protection_custom_message_disabledThe custom message triggered by an attempted push to a push-protected repository was disabled for an organization.
org.secret_scanning_push_protection_custom_message_enabledThe custom message triggered by an attempted push to a push-protected repository was enabled for an organization.
org.secret_scanning_push_protection_custom_message_updatedThe custom message triggered by an attempted push to a push-protected repository was updated for an organization.
org.secret_scanning_push_protection_disablePush protection for secret scanning was disabled.
org.secret_scanning_push_protection_enablePush protection for secret scanning was enabled.
org.secret_scanning_push_protection_new_repos_disablePush protection for secret scanning was disabled for all new repositories in the organization.
org.secret_scanning_push_protection_new_repos_enablePush protection for secret scanning was enabled for all new repositories in the organization.
org.self_hosted_runner_offlineThe runner application was stopped. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
org.self_hosted_runner_onlineThe runner application was started. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
org.self_hosted_runner_updatedThe runner application was updated. This event is not included in the JSON/CSV export.
org.set_actions_fork_pr_approvals_policyThe setting for requiring approvals for workflows from public forks was changed for an organization.
org.set_actions_private_fork_pr_approvals_policyThe policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an organization.
org.set_actions_retention_limitThe retention period for GitHub Actions artifacts and logs in an organization was changed.
org.set_default_workflow_permissionsThe default permissions granted to the GITHUB_TOKEN when running workflows were changed for an organization.
org.set_fork_pr_workflows_policyThe policy for workflows on private repository forks was changed.
org.set_workflow_permission_can_approve_prThe policy for allowing GitHub Actions to create and approve pull requests was changed for an organization.
org.sso_responseA SAML single sign-on (SSO) response was generated when a member attempted to authenticate with your organization. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
org.transformA user account was converted into an organization.
org.unblock_userA user was unblocked from an organization.
org.update_actions_settingsAn organization owner or site administrator updated GitHub Actions policy settings for an organization.
org.update_default_repository_permissionThe default repository permission level for organization members was changed.
org.update_memberA person's role was changed from owner to member or member to owner.
org.update_member_repository_creation_permissionThe create repository permission for organization members was changed.
org.update_member_repository_invitation_permissionAn organization owner changed the policy setting for organization members inviting outside collaborators to repositories.
org.update_saml_provider_settingsAn organization's SAML provider settings were updated.
org.update_terms_of_serviceAn organization changed between the Standard Terms of Service and the GitHub Customer Agreement.

org_secret_scanning_custom_pattern

操作说明
org_secret_scanning_custom_pattern.createA custom pattern was created for secret scanning in an organization.
org_secret_scanning_custom_pattern.deleteA custom pattern was removed from secret scanning in an organization.
org_secret_scanning_custom_pattern.updateChanges to a custom pattern were saved and a dry run was executed for secret scanning in an organization.

organization_domain

操作说明
organization_domain.approveA domain was approved for an organization.
organization_domain.createA domain was added to an organization.
organization_domain.destroyA domain was removed from an organization.
organization_domain.verifyA domain was verified for an organization.

packages

操作说明
packages.package_deletedAn entire package was deleted.
packages.package_publishedA package was published or republished to an organization.
packages.package_version_deletedA specific package version was deleted.
packages.package_version_publishedA specific package version was published or republished to a package.

pages_protected_domain

操作说明
pages_protected_domain.createA GitHub Pages verified domain was created for an organization or enterprise.
pages_protected_domain.deleteA GitHub Pages verified domain was deleted from an organization or enterprise.
pages_protected_domain.verifyA GitHub Pages domain was verified for an organization or enterprise.

passkey

操作说明
passkey.registerA new passkey was added.
passkey.removeA new passkey was removed.

payment_method

操作说明
payment_method.createA new payment method was added, such as a new credit card or PayPal account.
payment_method.removeA payment method was removed.
payment_method.updateAn existing payment method was updated.

personal_access_token

操作说明
personal_access_token.access_grantedA fine-grained personal access token was granted access to resources.
personal_access_token.access_revokedA fine-grained personal access token was revoked. The token can still read public organization resources.
personal_access_token.createTriggered when you create a fine-grained personal access token.
personal_access_token.credential_regeneratedTriggered when you regenerate a fine-grained personal access token.
personal_access_token.credential_revokedA fine-grained personal access token was revoked by GitHub Advanced Security.
personal_access_token.destroyTriggered when you delete a fine-grained personal access token.
personal_access_token.request_cancelledA pending request for a fine-grained personal access token to access organization resources was canceled.
personal_access_token.request_createdTriggered when a fine-grained personal access token was created to access organization resources and the organization requires approval before the token can access organization resources.
personal_access_token.request_deniedA request for a fine-grained personal access token to access organization resources was denied.
personal_access_token.updateA fine-grained personal access token was updated.

profile_picture

操作说明
profile_picture.updateA profile picture was updated.

project

操作说明
project.accessA project board visibility was changed.
project.closeA project board was closed.
project.createA project board was created.
project.deleteA project board was deleted.
project.linkA repository was linked to a project board.
project.openA project board was reopened.
project.renameA project board was renamed.
project.unlinkA repository was unlinked from a project board.
project.update_org_permissionThe project's base-level permission for all organization members was changed or removed.
project.update_team_permissionA team's project board permission level was changed or when a team was added or removed from a project board.
project.update_user_permissionA user was added to or removed from a project board or had their permission level changed.

project_field

操作说明
project_field.createA field was created in a project board.
project_field.deleteA field was deleted in a project board.

project_view

操作说明
project_view.createA view was created in a project board.
project_view.deleteA view was deleted in a project board.

protected_branch

操作说明
protected_branch.authorized_users_teamsThe users, teams, or integrations allowed to bypass a branch protection were changed.
protected_branch.createBranch protection was enabled on a branch.
protected_branch.destroyBranch protection was disabled on a branch.
protected_branch.dismiss_stale_reviewsEnforcement of dismissing stale pull requests was updated on a branch.
protected_branch.dismissal_restricted_users_teamsEnforcement of restricting users and/or teams who can dismiss reviews was updated on a branch.
protected_branch.policy_overrideA branch protection requirement was overridden by a repository administrator.
protected_branch.rejected_ref_updateA branch update attempt was rejected.
protected_branch.update_admin_enforcedBranch protection was enforced for repository administrators.
protected_branch.update_allow_deletions_enforcement_levelBranch deletion was enabled or disabled for a protected branch.
protected_branch.update_allow_force_pushes_enforcement_levelForce pushes were enabled or disabled for a branch.
protected_branch.update_ignore_approvals_from_contributorsIgnoring of approvals from contributors to a pull request was enabled or disabled for a branch.
protected_branch.update_linear_history_requirement_enforcement_levelRequired linear commit history was enabled or disabled for a branch.
protected_branch.update_lock_allows_fetch_and_mergeFork syncing was enabled or disabled for a read-only branch
protected_branch.update_lock_branch_enforcement_levelThe enforcement of a branch lock was updated.
protected_branch.update_merge_queue_enforcement_levelEnforcement of the merge queue was modified for a branch.
protected_branch.update_nameA branch name pattern was updated for a branch.
protected_branch.update_pull_request_reviews_enforcement_levelEnforcement of required pull request reviews was updated for a branch. Can be 0 (deactivated), 1 (non-admins), or 2 (everyone).
protected_branch.update_require_code_owner_reviewEnforcement of required code owner review was updated for a branch.
protected_branch.update_require_last_push_approvalSomeone other than the person who pushed the last code-modifying commit to the branch must approve pull requests for the branch.
protected_branch.update_required_approving_review_countEnforcement of the required number of approvals before merging was updated on a branch.
protected_branch.update_required_status_checks_enforcement_levelEnforcement of required status checks was updated for a branch.
protected_branch.update_signature_requirement_enforcement_levelEnforcement of required commit signing was updated for a branch.
protected_branch.update_strict_required_status_checks_policyEnforcement of required status checks was updated for a branch.

public_key

操作说明
public_key.createAn SSH key was added to a user account or a deploy key was added to a repository.
public_key.deleteAn SSH key was removed from a user account or a deploy key was removed from a repository.
public_key.unverification_failureA user account's SSH key or a repository's deploy key was unable to be unverified.
public_key.unverifyA user account's SSH key or a repository's deploy key was unverified.
public_key.updateA user account's SSH key or a repository's deploy key was updated.
public_key.verification_failureA user account's SSH key or a repository's deploy key was unable to be verified.
public_key.verifyA user account's SSH key or a repository's deploy key was verified.

pull_request

操作说明
pull_request.closeA pull request was closed without being merged.
pull_request.converted_to_draftA pull request was converted to a draft.
pull_request.createA pull request was created.
pull_request.create_review_requestA review was requested on a pull request.
pull_request.in_progressA pull request was marked as in progress.
pull_request.indirect_mergeA pull request was considered merged because the pull request's commits were merged into the target branch.
pull_request.mergeA pull request was merged.
pull_request.ready_for_reviewA pull request was marked as ready for review.
pull_request.remove_review_requestA review request was removed from a pull request.
pull_request.reopenA pull request was reopened after previously being closed.

pull_request_review_comment

操作说明
pull_request_review_comment.createA review comment was added to a pull request.
pull_request_review_comment.deleteA review comment on a pull request was deleted.
pull_request_review_comment.updateA review comment on a pull request was changed.

pull_request_review

操作说明
pull_request_review.deleteA review on a pull request was deleted.
pull_request_review.dismissA review on a pull request was dismissed.
pull_request_review.submitA review on a pull request was submitted.

repo

操作说明
repo.accessThe visibility of a repository changed.
repo.actions_enabledGitHub Actions was enabled for a repository.
repo.add_memberA collaborator was added to a repository.
repo.add_topicA topic was added to a repository.
repo.advanced_security_disabledGitHub Advanced Security was disabled for a repository.
repo.advanced_security_enabledGitHub Advanced Security was enabled for a repository.
repo.archivedA repository was archived.
repo.change_merge_settingPull request merge options were changed for a repository.
repo.code_scanning_analysis_deletedCode scanning analysis for a repository was deleted.
repo.code_scanning_configuration_for_branch_deletedA code scanning configuration for a branch of a repository was deleted.
repo.codeql_disabledCode scanning using the default setup was disabled for a repository.
repo.codeql_enabledCode scanning using the default setup was enabled for a repository.
repo.config.disable_collaborators_onlyThe interaction limit for collaborators only was disabled.
repo.config.disable_contributors_onlyThe interaction limit for prior contributors only was disabled in a repository.
repo.config.disable_sockpuppet_disallowedThe interaction limit for existing users only was disabled in a repository.
repo.config.enable_collaborators_onlyThe interaction limit for collaborators only was enabled in a repository Users that are not collaborators or organization members were unable to interact with a repository for a set duration.
repo.config.enable_contributors_onlyThe interaction limit for prior contributors only was enabled in a repository Users that are not prior contributors, collaborators or organization members were unable to interact with a repository for a set duration.
repo.config.enable_sockpuppet_disallowedThe interaction limit for existing users was enabled in a repository New users aren't able to interact with a repository for a set duration Existing users of the repository, contributors, collaborators or organization members are able to interact with a repository.
repo.createA repository was created.
repo.create_actions_secretA GitHub Actions secret was created for a repository.
repo.create_actions_variableA GitHub Actions variable was created for a repository.
repo.create_integration_secretA Codespaces or Dependabot secret was created for a repository.
repo.destroyA repository was deleted.
repo.disk_archiveA repository was archived on disk.
repo.download_zipA source code archive of a repository was downloaded as a ZIP file.
repo.override_unlockThe repository was unlocked.
repo.pages_cnameA GitHub Pages custom domain was modified in a repository.
repo.pages_createA GitHub Pages site was created.
repo.pages_destroyA GitHub Pages site was deleted.
repo.pages_https_redirect_disabledHTTPS redirects were disabled for a GitHub Pages site.
repo.pages_https_redirect_enabledHTTPS redirects were enabled for a GitHub Pages site.
repo.pages_privateA GitHub Pages site visibility was changed to private.
repo.pages_publicA GitHub Pages site visibility was changed to public.
repo.pages_sourceA GitHub Pages source was modified.
repo.register_self_hosted_runnerA new self-hosted runner was registered.
repo.remove_actions_secretA GitHub Actions secret was deleted for a repository.
repo.remove_actions_variableA GitHub Actions variable was deleted for a repository.
repo.remove_integration_secretA Codespaces or Dependabot secret was deleted for a repository.
repo.remove_memberA collaborator was removed from a repository.
repo.remove_self_hosted_runnerA self-hosted runner was removed.
repo.remove_topicA topic was removed from a repository.
repo.renameA repository was renamed.
repo.self_hosted_runner_offlineThe runner application was stopped. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
repo.self_hosted_runner_onlineThe runner application was started. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
repo.self_hosted_runner_updatedThe runner application was updated. This event is not included in the JSON/CSV export.
repo.set_actions_fork_pr_approvals_policyThe setting for requiring approvals for workflows from public forks was changed for a repository.
repo.set_actions_private_fork_pr_approvals_policyThe policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for a repository.
repo.set_actions_retention_limitThe retention period for GitHub Actions artifacts and logs in a repository was changed.
repo.set_default_workflow_permissionsThe default permissions granted to the GITHUB_TOKEN when running workflows were changed for a repository.
repo.set_fork_pr_workflows_policyTriggered when the policy for workflows on private repository forks is changed.
repo.set_workflow_permission_can_approve_prThe policy for allowing GitHub Actions to create and approve pull requests was changed for a repository.
repo.staff_unlockAn enterprise owner or GitHub staff (with permission from a repository administrator) temporarily unlocked the repository.
repo.transferA user accepted a request to receive a transferred repository.
repo.transfer_outgoingA repository was transferred to another repository network.
repo.transfer_startA user sent a request to transfer a repository to another user or organization.
repo.unarchivedA repository was unarchived.
repo.update_actions_access_settingsThe setting to control how a repository was used by GitHub Actions workflows in other repositories was changed.
repo.update_actions_secretA GitHub Actions secret was updated for a repository.
repo.update_actions_settingsA repository administrator changed GitHub Actions policy settings for a repository.
repo.update_actions_variableA GitHub Actions variable was updated for a repository.
repo.update_default_branchThe default branch for a repository was changed.
repo.update_integration_secretA Codespaces or Dependabot secret was updated for a repository.
repo.update_memberA user's permission to a repository was changed.

repository_image

操作说明
repository_image.createAn image to represent a repository was uploaded.
repository_image.destroyAn image to represent a repository was deleted.

repository_invitation

操作说明
repository_invitation.acceptAn invitation to join a repository was accepted.
repository_invitation.cancelAn invitation to join a repository was canceled.
repository_invitation.createAn invitation to join a repository was sent.
repository_invitation.rejectAn invitation to join a repository was declined.

repository_secret_scanning_custom_pattern

操作说明
repository_secret_scanning_custom_pattern.createA custom pattern was created for secret scanning in a repository.
repository_secret_scanning_custom_pattern.deleteA custom pattern was removed from secret scanning in a repository.
repository_secret_scanning_custom_pattern.updateChanges to a custom pattern were saved and a dry run was executed for secret scanning in a repository.

repository_secret_scanning_custom_pattern_push_protection

操作说明
repository_secret_scanning_custom_pattern_push_protection.disabledPush protection for a custom pattern for secret scanning was disabled for your repository.
repository_secret_scanning_custom_pattern_push_protection.enabledPush protection for a custom pattern for secret scanning was enabled for your repository.

repository_secret_scanning

操作说明
repository_secret_scanning.disableSecret scanning was disabled for a repository.
repository_secret_scanning.enableSecret scanning was enabled for a repository.

repository_secret_scanning_push_protection

操作说明
repository_secret_scanning_push_protection.disableSecret scanning push protection was disabled for a repository.
repository_secret_scanning_push_protection.enableSecret scanning push protection was enabled for a repository.

restrict_notification_delivery

操作说明
restrict_notification_delivery.disableEmail notification restrictions for an organization or enterprise were disabled.
restrict_notification_delivery.enableEmail notification restrictions for an organization or enterprise were enabled.

secret_scanning_alert

操作说明
secret_scanning_alert.createGitHub detected a secret and created a secret scanning alert.
secret_scanning_alert.reopenA secret scanning alert was reopened.
secret_scanning_alert.resolveA secret scanning alert was resolved.
secret_scanning_alert.revokeA secret scanning alert was revoked.

secret_scanning

操作说明
secret_scanning.disableSecret scanning was disabled for all existing repositories.
secret_scanning.enableSecret scanning was enabled for all existing repositories.

secret_scanning_new_repos

操作说明
secret_scanning_new_repos.disableSecret scanning was disabled for all new repositories.
secret_scanning_new_repos.enableSecret scanning was enabled for all new repositories.

secret_scanning_push_protection

操作说明
secret_scanning_push_protection.bypassTriggered when a user bypasses the push protection on a secret detected by secret scanning.

security_key

操作说明
security_key.registerA security key was registered for an account.
security_key.removeA security key was removed from an account.

sponsors

操作说明
sponsors.agreement_signA GitHub Sponsors agreement was signed on behalf of an organization.
sponsors.custom_amount_settings_changeCustom amounts for GitHub Sponsors were enabled or disabled, or the suggested custom amount was changed.
sponsors.fiscal_host_changeThe fiscal host for a GitHub Sponsors listing was updated.
sponsors.repo_funding_links_file_actionThe FUNDING file in a repository was changed.
sponsors.sponsor_sponsorship_cancelA sponsorship was canceled.
sponsors.sponsor_sponsorship_createA sponsorship was created, by sponsoring an account.
sponsors.sponsor_sponsorship_payment_completeAfter you sponsor an account and a payment has been processed, the sponsorship payment was marked as complete.
sponsors.sponsor_sponsorship_preference_changeThe option to receive email updates from a sponsored account was changed.
sponsors.sponsor_sponsorship_tier_changeA sponsorship was upgraded or downgraded.
sponsors.sponsored_developer_approveA GitHub Sponsors account was approved.
sponsors.sponsored_developer_createA GitHub Sponsors account was created.
sponsors.sponsored_developer_disableA GitHub Sponsors account was disabled.
sponsors.sponsored_developer_profile_updateThe profile for GitHub Sponsors account was edited.
sponsors.sponsored_developer_redraftA GitHub Sponsors account was returned to draft state from approved state.
sponsors.sponsored_developer_request_approvalAn application for GitHub Sponsors was submitted for approval.
sponsors.sponsored_developer_tier_description_updateThe description for a sponsorship tier was changed.
sponsors.sponsored_developer_update_newsletter_sendTriggered when you send an email update to your sponsors.
sponsors.update_tier_repositoryA GitHub Sponsors tier changed access for a repository.
sponsors.update_tier_welcome_messageThe welcome message for a GitHub Sponsors tier for an organization was updated.
sponsors.waitlist_joinYou join the waitlist to join GitHub Sponsors.
sponsors.withdraw_agreement_signatureA signature was withdrawn from a GitHub Sponsors agreement that applies to an organization.

ssh_certificate_authority

操作说明
ssh_certificate_authority.createAn SSH certificate authority for an organization or enterprise was created.
ssh_certificate_authority.destroyAn SSH certificate authority for an organization or enterprise was deleted.

ssh_certificate_requirement

操作说明
ssh_certificate_requirement.disableThe requirement for members to use SSH certificates to access an organization resources was disabled.
ssh_certificate_requirement.enableThe requirement for members to use SSH certificates to access an organization resources was enabled.

staff

操作说明
staff.set_domain_token_expirationThe verification code expiry time for an organization or enterprise domain was set.
staff.unverify_domainAn organization or enterprise domain was unverified.
staff.verify_domainAn organization or enterprise domain was verified.

successor_invitation

操作说明
successor_invitation.acceptTriggered when you accept a succession invitation.
successor_invitation.cancelTriggered when you cancel a succession invitation.
successor_invitation.createTriggered when you create a succession invitation.
successor_invitation.declineTriggered when you decline a succession invitation.
successor_invitation.revokeTriggered when you revoke a succession invitation.

team

操作说明
team.add_memberA member of an organization was added to a team.
team.add_repositoryA team was given access and permissions to a repository.
team.change_parent_teamA child team was created or a child team's parent was changed.
team.change_privacyA team's privacy level was changed.
team.createA new team is created.
team.demote_maintainerA user was demoted from a team maintainer to a team member.
team.destroyA team was deleted.
team.promote_maintainerA user was promoted from a team member to a team maintainer.
team.remove_memberAn organization member was removed from a team.
team.remove_repositoryA repository was removed from a team's control.
team.renameA team's name was changed.
team.update_repository_permissionA team's permission to a repository was changed.

team_discussions

操作说明
team_discussions.clearAn organization owner cleared the setting to allow team discussions for an organization or enterprise.
team_discussions.disableTeam discussions were disabled for an organization.
team_discussions.enableTeam discussions were enabled for an organization.

team_sync_tenant

操作说明
team_sync_tenant.disabledTeam synchronization with a tenant was disabled.
team_sync_tenant.enabledTeam synchronization with a tenant was enabled.

trusted_device

操作说明
trusted_device.registerA new trusted device was added.
trusted_device.removeA trusted device was removed.

two_factor_authentication

操作说明
two_factor_authentication.add_factorA secondary authentication factor was added to a user account.
two_factor_authentication.disabledTwo-factor authentication was disabled for a user account.
two_factor_authentication.enabledTwo-factor authentication was enabled for a user account.
two_factor_authentication.password_reset_fallback_smsA one-time password code was sent to a user account fallback phone number.
two_factor_authentication.recovery_codes_regeneratedTwo factor recovery codes were regenerated for a user account.
two_factor_authentication.remove_factorA secondary authentication factor was removed from a user account.
two_factor_authentication.sign_in_fallback_smsA one-time password code was sent to a user account fallback phone number.
two_factor_authentication.update_fallbackThe two-factor authentication fallback for a user account was changed.

user

操作说明
user.add_emailAn email address was added to a user account.
user.async_deleteAn asynchronous job was started to destroy a user account, eventually triggering a user.delete event.
user.audit_log_exportAudit log entries were exported.
user.block_userA user was blocked by another user.
user.change_passwordA user changed their password.
user.codespaces_trusted_repo_access_grantedTriggered when you allow the codespaces you create for a repository to access other repositories owned by your personal account.
user.codespaces_trusted_repo_access_revokedTriggered when you disallow the codespaces you create for a repository to access other repositories owned by your personal account.
user.createA new user account was created.
user.create_integration_secretA user secret for Codespaces was created.
user.creation_rate_limit_exceededThe rate of creation of user accounts, applications, issues, pull requests or other resources exceeded the configured rate limits, or too many users were followed too quickly.
user.deleteA user account was destroyed by an asynchronous job.
user.demoteA site administrator was demoted to an ordinary user account.
user.destroyA user deleted his or her account, triggering user.async_delete.
user.failed_loginA user tried to sign in with an incorrect username, password, or two-factor authentication code.
user.flag_as_large_scale_contributorA user account was flagged as a large scale contributor. Only contributions from public repositories the user owns will be shown in their contribution graph, in order to prevent timeouts.
user.forgot_passwordA user requested a password reset.
user.hide_private_contributions_countA user changed the visibility of their private contributions. The number of contributions to private repositories on the user's profile are now hidden.
user.loginA user signed in.
user.minimize_commentA comment made by a user was minimized.
user.new_device_usedA user signed in from a new device.
user.promoteAn ordinary user account was promoted to a site administrator.
user.recreateA user's account was restored.
user.remove_emailAn email address was removed from a user account.
user.remove_integration_secretA user secret for Codespaces was deleted.
user.remove_large_scale_contributor_flagA user account was no longer flagged as a large scale contributor.
user.renameA username was changed.
user.report_contentTriggered when you report an issue or pull request, or a comment on an issue, pull request, or commit.
user.reset_passwordA user reset their account password.
user.show_private_contributions_countA user changed the visibility of their private contributions. The number of contributions to private repositories on the user's profile are now shown.
user.sign_in_from_unrecognized_deviceA user signed in from an unrecognized device.
user.sign_in_from_unrecognized_device_and_locationA user signed in from an unrecognized device and location.
user.sign_in_from_unrecognized_locationA user signed in from an unrecognized location.
user.suspendA user account was suspended.
user.two_factor_challenge_failureA 2FA challenge issued for a user account failed.
user.two_factor_challenge_successA 2FA challenge issued for a user account succeeded.
user.two_factor_recoverA user used their 2FA recovery codes.
user.two_factor_recovery_codes_downloadedA user downloaded 2FA recovery codes for their account.
user.two_factor_recovery_codes_printedA user printed 2FA recovery codes for their account.
user.two_factor_recovery_codes_viewedA user viewed 2FA recovery codes for their account.
user.two_factor_requestedA user was prompted for a two-factor authentication code.
user.unblock_userA user was unblocked by another user.
user.unminimize_commentA comment made by a user was unminimized.
user.unsuspendA user account was unsuspended.
user.update_integration_secretA user secret for Codespaces was updated.

user_status

操作说明
user_status.destroyTriggered when you clear the status on your profile.
user_status.updateTriggered when you set or change the status on your profile.

workflows

操作说明
workflows.approve_workflow_jobA workflow job was approved.
workflows.cancel_workflow_runA workflow run was cancelled.
workflows.completed_workflow_runA workflow status changed to completed. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
workflows.created_workflow_runA workflow run was create. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
workflows.delete_workflow_runA workflow run was deleted.
workflows.disable_workflowA workflow was disabled.
workflows.enable_workflowA workflow was enabled, after previously being disabled by disable_workflow.
workflows.prepared_workflow_jobA workflow job was started. Includes the list of secrets that were provided to the job. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
workflows.reject_workflow_jobA workflow job was rejected.
workflows.rerun_workflow_runA workflow run was re-run.