diff --git a/assets/images/enterprise/security/enterprise-security-and-analysis-disable-or-enable-all-with-validity-check.png b/assets/images/enterprise/security/enterprise-security-and-analysis-disable-or-enable-all-with-validity-check.png deleted file mode 100644 index cefb7a798d04..000000000000 Binary files a/assets/images/enterprise/security/enterprise-security-and-analysis-disable-or-enable-all-with-validity-check.png and /dev/null differ diff --git a/assets/images/help/copilot/copilot-history-button.png b/assets/images/help/copilot/copilot-history-button.png deleted file mode 100644 index f43bab678dab..000000000000 Binary files a/assets/images/help/copilot/copilot-history-button.png and /dev/null differ diff --git a/assets/images/help/copilot/copilot-references-button.png b/assets/images/help/copilot/copilot-references-button.png deleted file mode 100644 index 8b59aa809c5a..000000000000 Binary files a/assets/images/help/copilot/copilot-references-button.png and /dev/null differ diff --git a/assets/images/help/copilot/duplication-detection-enterprise-dropdown.png b/assets/images/help/copilot/duplication-detection-enterprise-dropdown.png deleted file mode 100644 index bc497331c733..000000000000 Binary files a/assets/images/help/copilot/duplication-detection-enterprise-dropdown.png and /dev/null differ diff --git a/assets/images/help/copilot/feedback-form.png b/assets/images/help/copilot/feedback-form.png deleted file mode 100644 index 0a0ebabb92df..000000000000 Binary files a/assets/images/help/copilot/feedback-form.png and /dev/null differ diff --git a/assets/images/help/copilot/general-coding-chat.png b/assets/images/help/copilot/general-coding-chat.png deleted file mode 100644 index d9cb270967da..000000000000 Binary files a/assets/images/help/copilot/general-coding-chat.png and /dev/null differ diff --git a/assets/images/help/organizations/repository-rulesets.png b/assets/images/help/organizations/repository-rulesets.png deleted file mode 100644 index ed63ff0501f6..000000000000 Binary files a/assets/images/help/organizations/repository-rulesets.png and /dev/null differ diff --git a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/what-does-the-available-for-hire-checkbox-do.md b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/what-does-the-available-for-hire-checkbox-do.md index 3de1a424ac0b..a1310076c6b3 100644 --- a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/what-does-the-available-for-hire-checkbox-do.md +++ b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/what-does-the-available-for-hire-checkbox-do.md @@ -21,7 +21,5 @@ Deprecation note: GitHub Jobs is now deprecated. The last date to post a job was {% endwarning %} -The [GitHub Jobs](https://jobs.github.com/) board is a great way to find employment in tech. You can opt to see jobs posted there on your GitHub dashboard. - {% data reusables.user-settings.access_settings %} 1. Under Jobs Profile, select **Available for hire**, then click **Save jobs profile**. diff --git a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md index 45ab5d6e8491..d803c3052ddf 100644 --- a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md +++ b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/managing-multiple-accounts.md @@ -121,6 +121,6 @@ To use a different SSH key for different repositories that you clone to your wor For example, the following command sets the `GIT_SSH_COMMAND` environment variable to specify an SSH command that uses the private key file at **_PATH/TO/KEY/FILE_** for authentication to clone the repository named OWNER/REPOSITORY on {% data variables.location.product_location %}. -
+```shell copy
 GIT_SSH_COMMAND='ssh -i PATH/TO/KEY/FILE -o IdentitiesOnly=yes' git clone git@github.com:OWNER/REPOSITORY
-
+``` diff --git a/content/actions/using-workflows/workflow-syntax-for-github-actions.md b/content/actions/using-workflows/workflow-syntax-for-github-actions.md index 566d231284d0..51692b26204d 100644 --- a/content/actions/using-workflows/workflow-syntax-for-github-actions.md +++ b/content/actions/using-workflows/workflow-syntax-for-github-actions.md @@ -959,7 +959,15 @@ services: ## `jobs..services..image` -The Docker image to use as the service container to run the action. The value can be the Docker Hub image name or a registry name. +The Docker image to use as the service container to run the action. The value can be the Docker Hub image name or a registry name. + +If `jobs..services..image` is assigned an empty string, the service will not start. You can use this to set up conditional services, similar to the following example. + +```yaml +services: + nginx: + image: {% raw %}${{ options.nginx == true && 'nginx' || '' }}{% endraw %} +``` ## `jobs..services..credentials` diff --git a/content/admin/configuration/configuring-network-settings/configuring-built-in-firewall-rules.md b/content/admin/configuration/configuring-network-settings/configuring-built-in-firewall-rules.md index a2b90488817a..5baddf505628 100644 --- a/content/admin/configuration/configuring-network-settings/configuring-built-in-firewall-rules.md +++ b/content/admin/configuration/configuring-network-settings/configuring-built-in-firewall-rules.md @@ -22,7 +22,7 @@ shortTitle: Configure firewall rules After you install {% data variables.product.prodname_ghe_server %}, all required network ports are automatically opened to accept connections. Every non-required port is automatically configured as `deny`, and the default outgoing policy is configured as `allow`. Stateful tracking is enabled for any new connections; these are typically network packets with the `SYN` bit set. For more information, see "[AUTOTITLE](/admin/configuration/configuring-network-settings/network-ports)." -The UFW firewall also opens several other ports that are required for {% data variables.product.prodname_ghe_server %} to operate properly. For more information on the UFW rule set, see [the UFW README](https://bazaar.launchpad.net/~jdstrand/ufw/0.30-oneiric/view/head:/README#L213). +The UFW firewall also opens several other ports that are required for {% data variables.product.prodname_ghe_server %} to operate properly. For more information on the UFW rule set, see [the UFW README](https://github.com/jbq/ufw/blob/master/README#L213). We do not recommend customizing UFW as it can complicate some troubleshooting issues. diff --git a/content/admin/guides.md b/content/admin/guides.md index 13fe48f4c116..1c609ae08f05 100644 --- a/content/admin/guides.md +++ b/content/admin/guides.md @@ -136,4 +136,3 @@ includeGuides: - /admin/administering-your-instance/administering-your-instance-from-the-web-ui/accessing-the-management-console - /admin/administering-your-instance/administering-your-instance-from-the-web-ui/troubleshooting-access-to-the-management-console --- - diff --git a/content/admin/identity-and-access-management/configuring-authentication-for-enterprise-managed-users/about-support-for-your-idps-conditional-access-policy.md b/content/admin/identity-and-access-management/configuring-authentication-for-enterprise-managed-users/about-support-for-your-idps-conditional-access-policy.md index d9c4c16dba5b..9fcbaf6235c8 100644 --- a/content/admin/identity-and-access-management/configuring-authentication-for-enterprise-managed-users/about-support-for-your-idps-conditional-access-policy.md +++ b/content/admin/identity-and-access-management/configuring-authentication-for-enterprise-managed-users/about-support-for-your-idps-conditional-access-policy.md @@ -24,6 +24,10 @@ redirect_from: For more information about using OIDC with {% data variables.product.prodname_emus %}, see "[AUTOTITLE](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/configuring-oidc-for-enterprise-managed-users)" and "[AUTOTITLE](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/migrating-from-saml-to-oidc)." +## About CAP and deploy keys + +A deploy key is an SSH key that grants access to an individual repository. Because deploy keys do not perform operations on behalf of a user, CAP IP conditions do not apply to any requests authenticated with a deploy key. For more information, see "[AUTOTITLE](/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys)." + ## Considerations for integrations and automations {% data variables.product.prodname_dotcom %} sends the originating IP address to your IdP for validation against your CAP. To make sure actions and apps are not blocked by your IdP's CAP, you will need to make changes to your configuration. @@ -49,3 +53,7 @@ When {% data variables.product.prodname_github_apps %} call {% data variables.pr You can contact the owners of the apps you want to use, ask for their IP ranges, and configure your IdP's CAP to allow access from those IP ranges. If you're unable to contact the owners, you can review your IdP sign-in logs to review the IP addresses seen in the requests, then allow-list those addresses. If you do not wish to allow all of the IP ranges for all of your enterprise's apps, you can also exempt installed {% data variables.product.prodname_github_apps %} and authorized {% data variables.product.prodname_oauth_apps %} from the IdP allow list. If you do so, these apps will continue working regardless of the originating IP address. For more information, see "[AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#allowing-access-by-github-apps)." + +## Further reading + +- [Using the location condition in a Conditional Access policy](https://learn.microsoft.com/entra/identity/conditional-access/location-condition) on Microsoft Learn diff --git a/content/billing/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/about-visual-studio-subscriptions-with-github-enterprise.md b/content/billing/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/about-visual-studio-subscriptions-with-github-enterprise.md index 67227be8740f..19d6889a0ba3 100644 --- a/content/billing/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/about-visual-studio-subscriptions-with-github-enterprise.md +++ b/content/billing/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/about-visual-studio-subscriptions-with-github-enterprise.md @@ -51,6 +51,12 @@ You can view the number of {% data variables.product.prodname_enterprise %} lice You can also see pending {% data variables.product.prodname_enterprise %} invitations to subscribers in {% data variables.visual_studio.prodname_vss_admin_portal_with_url %}. +## About licenses for {% data variables.product.prodname_ghe_server %} + +{% data reusables.enterprise.ghe-includes-ghec-and-ghes %} For more information, see "[AUTOTITLE](/admin/overview/about-github-for-enterprises#about-deployment-options)." + +If you use {% data variables.product.prodname_ghe_server %}, you can ensure that each {% data variables.product.prodname_vs %} subscriber consumes only one license seat, regardless of whether the subscriber uses {% data variables.product.prodname_ghe_server %}, {% data variables.product.prodname_ghe_cloud %}, or both. If a subscriber only uses {% data variables.product.prodname_ghe_server %}, the subscriber does not also need a user account for {% data variables.product.prodname_ghe_cloud %}. For more information, see "[AUTOTITLE](/billing/managing-your-license-for-github-enterprise/syncing-license-usage-between-github-enterprise-server-and-github-enterprise-cloud)." + ## Further reading - [{% data variables.product.prodname_vs %} subscriptions with {% data variables.product.prodname_enterprise %}](https://docs.microsoft.com/visualstudio/subscriptions/access-github) in Microsoft Docs diff --git a/content/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise.md b/content/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise.md index 020de78f1b43..253cac854e80 100644 --- a/content/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise.md +++ b/content/billing/managing-your-license-for-github-enterprise/about-licenses-for-github-enterprise.md @@ -21,7 +21,7 @@ shortTitle: About licenses {% endif %} -{% data reusables.enterprise-licensing.unique-user-licensing-model %} +{% data reusables.enterprise-licensing.unique-user-licensing-model %} For more information about per-user pricing, see "[AUTOTITLE](/billing/managing-the-plan-for-your-github-account/about-per-user-pricing)." For more about the price of {% data variables.product.prodname_enterprise %} licenses, see [Pricing](https://github.com/pricing) on the {% data variables.product.prodname_dotcom %} website. To ensure the same user isn't consuming more than one license for multiple enterprise deployments, you can synchronize license usage between your {% data variables.product.prodname_ghe_server %} and {% data variables.product.prodname_ghe_cloud %} deployments. diff --git a/content/code-security/getting-started/github-security-features.md b/content/code-security/getting-started/github-security-features.md index df2ff6b8daf3..25c19e04ad4a 100644 --- a/content/code-security/getting-started/github-security-features.md +++ b/content/code-security/getting-started/github-security-features.md @@ -75,9 +75,9 @@ Security overview shows which security features are enabled for the repository, ## Available for free public repositories -### {% data variables.secret-scanning.partner_alerts_caps %} +### {% data variables.secret-scanning.user_alerts_caps %} -Automatically detect leaked secrets across all public repositories, as well as public npm packages. {% data variables.product.company_short %} informs the relevant service provider that the secret may be compromised. For details of the supported secrets and service providers, see "[AUTOTITLE](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets)." +Automatically detect tokens or credentials that have been checked into a {% ifversion ghec %}user-owned {% endif %}public repository. You can view alerts for any secrets that {% data variables.product.company_short %} finds in your code, in the **Security** tab of the repository, so that you know which tokens or credentials to treat as compromised. For more information, see "[AUTOTITLE](/code-security/secret-scanning/about-secret-scanning#about-secret-scanning-alerts-for-users)." {% ifversion secret-scanning-push-protection-for-users %} @@ -87,6 +87,10 @@ Push protection for users automatically protects you from accidentally committin {% endif %} +### {% data variables.secret-scanning.partner_alerts_caps %} + +Automatically detect leaked secrets across all public repositories, as well as public npm packages. {% data variables.product.company_short %} informs the relevant service provider that the secret may be compromised. For details of the supported secrets and service providers, see "[AUTOTITLE](/code-security/secret-scanning/secret-scanning-patterns#supported-secrets)." + {% endif %} ## Available with {% data variables.product.prodname_GH_advanced_security %} diff --git a/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md b/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md index d7c3f7f1a317..61216b21d47f 100644 --- a/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md +++ b/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md @@ -99,20 +99,21 @@ For more information about non-provider patterns, see "{% ifversion fpt or ghec {% endif %} -{% ifversion fpt %} +{% ifversion secret-scanning-enable-by-default-for-public-repos %} -## Enabling {% data variables.secret-scanning.user_alerts %} for all your public repositories +## Enabling {% data variables.secret-scanning.user_alerts %} for all your {% ifversion ghec %}user-owned {% endif %}public repositories -You can enable {% data variables.secret-scanning.user_alerts %} for all of your public repositories through your personal account settings. +You can enable {% data variables.product.prodname_secret_scanning %} for all of your existing {% ifversion ghec %}user-owned {% endif %}public repositories through your personal account settings. +{% note %} + +**Note**: As of March 11, 2024, {% data variables.product.prodname_secret_scanning %} and push protection will be enabled by default for all new {% ifversion ghec %}user-owned {% endif %}public repositories that you create. You can still choose to disable these features for an individual repository in the repository's "Code security and analysis" settings page. For more information, see "[AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#enabling-or-disabling-security-and-analysis-features-for-public-repositories)". + +{% endnote %} {% data reusables.user-settings.access_settings %} {% data reusables.user-settings.security-analysis %} 1. Under "Code security and analysis", to the right of "{% data variables.product.prodname_secret_scanning_caps %}", click **Disable all** or **Enable all**. - - ![Screenshot of the setting options for "{% data variables.product.prodname_secret_scanning_caps %}" on the personal account settings page. The options "Enable all" and "Disable all" are highlighted with an orange outline.](/assets/images/help/repository/secret-scanning-personal-account-settings-enable-all.png) -1. Optionally, to automatically enable {% data variables.product.prodname_secret_scanning %} for any new public repositories that you create, below "{% data variables.product.prodname_secret_scanning_caps %}", select the checkbox for "Automatically enable for new public repositories." - - ![Screenshot of the setting options for "{% data variables.product.prodname_secret_scanning_caps %}" on the personal account settings page. The option "Automatically enable for new public repositories" is highlighted with an orange outline.](/assets/images/help/repository/secret-scanning-personal-account-settings-auto-enable.png) +{% data reusables.secret-scanning.push-protection-optional-enable %} {% endif %} diff --git a/content/code-security/secret-scanning/push-protection-for-repositories-and-organizations.md b/content/code-security/secret-scanning/push-protection-for-repositories-and-organizations.md index 4448ecc8267a..3e986eda3650 100644 --- a/content/code-security/secret-scanning/push-protection-for-repositories-and-organizations.md +++ b/content/code-security/secret-scanning/push-protection-for-repositories-and-organizations.md @@ -60,6 +60,12 @@ For you to use {% data variables.product.prodname_secret_scanning %} as a push p Organization owners, security managers, and repository administrators can also enable push protection for {% data variables.product.prodname_secret_scanning %} via the API. For more information, see "[AUTOTITLE](/rest/repos#update-a-repository)" and expand the "Properties of the `security_and_analysis` object" section. +{% ifversion secret-scanning-enable-by-default-for-public-repos %} + +You can also enable push protection for all of your existing {% ifversion ghec %}user-owned {% endif %} public repositories through your personal account settings. For any new public repositories you create, push protection will be enabled by default. For more information, see "[AUTOTITLE](/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories#enabling-secret-scanning-alerts-for-users-for-all-your-public-repositories)." + +{% endif %} + {% ifversion secret-scanning-enterprise-level-api %} Enterprise administrators can also enable or disable {% data variables.product.prodname_secret_scanning %} as a push protection for the enterprise via the API. For more information, see "[AUTOTITLE](/rest/enterprise-admin/code-security-and-analysis)."{% endif %} diff --git a/content/copilot/using-github-copilot/getting-started-with-github-copilot.md b/content/copilot/using-github-copilot/getting-started-with-github-copilot.md index 53b52bda1572..6c8b5ca81c76 100644 --- a/content/copilot/using-github-copilot/getting-started-with-github-copilot.md +++ b/content/copilot/using-github-copilot/getting-started-with-github-copilot.md @@ -142,7 +142,7 @@ You may not want to accept an entire suggestion from {% data variables.product.p - On macOS, press Command+Shift+A, then click **Open GitHub Copilot**, or press Command+Shift+\\ to open the new tab immediately. - On Windows or Linux, press Ctrl+Enter, then click **Open GitHub Copilot**. -1. To accept a suggestion, above the suggestion, click **Accept Solution**. To reject all suggestions, close the tab. +1. To accept a suggestion, below the suggestion, click **Accept suggestion NUMBER**. To reject all suggestions, close the tab. ## Generating code suggestions from comments @@ -376,7 +376,7 @@ You may not want to accept an entire suggestion from {% data variables.product.p ``` 1. To open a new tab with multiple additional options, press Ctrl+Enter. -1. To accept a suggestion, above the suggestion, click **Accept Solution**. To reject all suggestions, close the tab. +1. To accept a suggestion, below the suggestion, click **Accept suggestion NUMBER**. To reject all suggestions, close the tab. ## Generating code suggestions from comments diff --git a/content/get-started/learning-about-github/about-github-advanced-security.md b/content/get-started/learning-about-github/about-github-advanced-security.md index cae982118973..cae5ca51cde0 100644 --- a/content/get-started/learning-about-github/about-github-advanced-security.md +++ b/content/get-started/learning-about-github/about-github-advanced-security.md @@ -36,7 +36,7 @@ A {% data variables.product.prodname_GH_advanced_security %} license provides th - **{% data variables.product.prodname_code_scanning_caps %}** - Search for potential security vulnerabilities and coding errors in your code. For more information, see "[AUTOTITLE](/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning)." -- **{% data variables.product.prodname_secret_scanning_caps %}** - Detect secrets, for example keys and tokens, that have been checked into {% ifversion fpt %} private repositories{% else %} the repository{% endif %}. {% ifversion fpt%}{% data variables.secret-scanning.user_alerts_caps %} and {% data variables.secret-scanning.partner_alerts %} are available and free of charge for public repositories on {% data variables.product.prodname_dotcom_the_website %}.{% endif %}{% ifversion secret-scanning-push-protection %} If push protection is enabled, also detects secrets when they are pushed to your repository. For more information, see "[AUTOTITLE](/code-security/secret-scanning/about-secret-scanning)" and "[AUTOTITLE](/code-security/secret-scanning/push-protection-for-repositories-and-organizations)."{% else %} For more information, see "[AUTOTITLE](/code-security/secret-scanning/about-secret-scanning)."{% endif %} +- **{% data variables.product.prodname_secret_scanning_caps %}** - Detect secrets, for example keys and tokens, that have been checked into {% ifversion fpt %}private repositories{% else %} the repository{% endif %}.{% ifversion secret-scanning-push-protection %} If push protection is enabled, {% data variables.product.prodname_dotcom %} also detects secrets when they are pushed to your repository. {% ifversion secret-scanning-enable-by-default-for-public-repos %}{% data variables.secret-scanning.user_alerts_caps %} and push protection are available and free of charge for all {% ifversion ghec %}user-owned {% endif %}public repositories on {% data variables.product.prodname_dotcom_the_website %}.{% endif %} For more information, see "[AUTOTITLE](/code-security/secret-scanning/about-secret-scanning)" and "[AUTOTITLE](/code-security/secret-scanning/push-protection-for-repositories-and-organizations)."{% else %} For more information, see "[AUTOTITLE](/code-security/secret-scanning/about-secret-scanning)."{% endif %} {% ifversion dependabot-auto-triage-rules %} diff --git a/content/graphql/guides/using-the-explorer.md b/content/graphql/guides/using-the-explorer.md index 02f8383f9c57..d9ff4cbc3172 100644 --- a/content/graphql/guides/using-the-explorer.md +++ b/content/graphql/guides/using-the-explorer.md @@ -31,40 +31,9 @@ topics: {% endif %} -## Using the Altair GraphQL Client IDE - -There are many open source GraphQL client IDEs. For example, you can use Altair to access {% data variables.product.company_short %}'s GraphQL API. To access the GraphQL API with Altair, download and install it from [altair-graphql/altair](https://github.com/altair-graphql/altair). Then, follow the configuration steps below. - -### Configuring Altair - -1. Get an [access token](/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql). -1. Launch Altair. -1. In the left sidebar, below the Altair logo, click **Set Headers**. A new window will open. -1. In the "Header key" field, enter `Authorization`. -1. In the "Header value" field, enter `Bearer TOKEN`, replacing `TOKEN` with your token from the first step. -1. Click **Save** in the bottom right corner of the window to save your authorization header. -1. In the "GraphQL Endpoint" field, enter `{% data variables.product.graphql_url_pre %}`. -1. To load the {% data variables.product.company_short %} GraphQL schema, download the [public schema](/graphql/overview/public-schema). -1. In Altair, click on **Docs** on the top right, then the three dots and **Load Schema...** -1. Select the file public schema that you downloaded in an earlier step. - -{% note %} +## Query autocompletion -**Note**: For more information about why `POST` is the method, see "[AUTOTITLE](/graphql/guides/forming-calls-with-graphql#communicating-with-graphql)." - -{% endnote %} - -You can test your access by querying yourself: - -```graphql -query { - viewer { - login - } -} -``` - -If everything worked correctly, this will display your login. You're all set to start making queries. +You can use query autocompletion to help you build queries. In the main pane, within the curly brackets of your query, use control+space or shift+space to display the autocomplete menu. ## Accessing the sidebar docs @@ -106,6 +75,41 @@ If you want to run the call in the Explorer, enter the `query` segment in the ma } ``` +## Using the Altair GraphQL Client IDE + +There are many open source GraphQL client IDEs. For example, you can use Altair to access {% data variables.product.company_short %}'s GraphQL API. To access the GraphQL API with Altair, download and install it from [altair-graphql/altair](https://github.com/altair-graphql/altair). Then, follow the configuration steps below. + +### Configuring Altair + +1. Get an [access token](/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql). +1. Launch Altair. +1. In the left sidebar, below the Altair logo, click **Set Headers**. A new window will open. +1. In the "Header key" field, enter `Authorization`. +1. In the "Header value" field, enter `Bearer TOKEN`, replacing `TOKEN` with your token from the first step. +1. Click **Save** in the bottom right corner of the window to save your authorization header. +1. In the "GraphQL Endpoint" field, enter `{% data variables.product.graphql_url_pre %}`. +1. To load the {% data variables.product.company_short %} GraphQL schema, download the [public schema](/graphql/overview/public-schema). +1. In Altair, click on **Docs** on the top right, then the three dots and **Load Schema...** +1. Select the file public schema that you downloaded in an earlier step. + +{% note %} + +**Note**: For more information about why `POST` is the method, see "[AUTOTITLE](/graphql/guides/forming-calls-with-graphql#communicating-with-graphql)." + +{% endnote %} + +You can test your access by querying yourself: + +```graphql +query { + viewer { + login + } +} +``` + +If everything worked correctly, this will display your login. You're all set to start making queries. + ## Requesting support {% data reusables.support.help_resources %} diff --git a/content/graphql/overview/explorer.md b/content/graphql/overview/explorer.md index 2be8ac72fc6c..01e674aa573f 100644 --- a/content/graphql/overview/explorer.md +++ b/content/graphql/overview/explorer.md @@ -13,5 +13,7 @@ topics: autogenerated: graphql --- +For more information about how to use the explorer, see "[AUTOTITLE](/graphql/guides/using-the-explorer)." + diff --git a/content/repositories/creating-and-managing-repositories/about-repositories.md b/content/repositories/creating-and-managing-repositories/about-repositories.md index 532556e7e99c..440415f9463d 100644 --- a/content/repositories/creating-and-managing-repositories/about-repositories.md +++ b/content/repositories/creating-and-managing-repositories/about-repositories.md @@ -110,15 +110,8 @@ All enterprise members have read permissions to the internal repository, but int {% data reusables.repositories.internal-repo-default %} -{% ifversion ghec %}Unless your enterprise uses {% data variables.product.prodname_emus %}, members{% else %}Members{% endif %} of the enterprise can fork any internal repository owned by an organization in the enterprise. The forked repository will belong to the member's personal account, and the visibility of the fork will be private. If a user is removed from all organizations owned by the enterprise, that user's forks of internal repositories are removed automatically. +By default, enterprise members can fork an internal repository into any organization where the user can create repositories. Organization owners can also allow users to create a fork owned by a user account, and can manage the forking policy for an organization. Enterprise owners can manage the forking policy for some or all organizations within an enterprise. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization)" and "[AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-forking-private-or-internal-repositories)." -{% ifversion ghec %} -{% note %} - -**Note:** {% data variables.enterprise.prodname_managed_users_caps %} cannot fork internal repositories. For more information, see "[AUTOTITLE](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users#abilities-and-restrictions-of-managed-user-accounts)." - -{% endnote %} -{% endif %} {% endif %} ## Next steps diff --git a/data/features/secret-scanning-enable-by-default-for-public-repos.yml b/data/features/secret-scanning-enable-by-default-for-public-repos.yml new file mode 100644 index 000000000000..09a8566a0ba4 --- /dev/null +++ b/data/features/secret-scanning-enable-by-default-for-public-repos.yml @@ -0,0 +1,5 @@ +# Reference: #13800. +# Secret scanning is automatically enabled on all new public repositories - [GA] +versions: + fpt: '*' + ghec: '*' diff --git a/data/features/team-discussions-migration.yml b/data/features/team-discussions-migration.yml index 3539cc34e01f..76d52b36b53f 100644 --- a/data/features/team-discussions-migration.yml +++ b/data/features/team-discussions-migration.yml @@ -1,4 +1,4 @@ # Reference: #8869 # Team Discussions migration and eventual deprecation announcement (for GHES - already deprecated for Dotcom and GHEC) versions: - ghes: '>3.9' + ghes: '>3.9 <3.13' diff --git a/data/features/team-discussions.yml b/data/features/team-discussions.yml index e806eec45691..987327616b72 100644 --- a/data/features/team-discussions.yml +++ b/data/features/team-discussions.yml @@ -1,4 +1,4 @@ # Reference: #8869 # Versions for which team discussions is still supported (deprecated for all other versions) versions: - ghes: '<3.12' + ghes: '<3.13' diff --git a/data/release-notes/enterprise-server/3-10/0.yml b/data/release-notes/enterprise-server/3-10/0.yml index 0d5167c36d27..5951f2c86de1 100644 --- a/data/release-notes/enterprise-server/3-10/0.yml +++ b/data/release-notes/enterprise-server/3-10/0.yml @@ -316,4 +316,4 @@ sections: - heading: Upcoming deprecation of team discussions notes: - | - GitHub will deprecate team discussions for users in GitHub Enterprise Server 3.12. In GitHub Enterprise Server 3.10, a banner appears atop teams' discussions with information about the deprecation, including a link to tooling to migrate existing team discussions to GitHub Discussions. For more information, see "[AUTOTITLE](/organizations/collaborating-with-your-team/about-team-discussions)" and "[AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions)." + GitHub will deprecate team discussions for users in GitHub Enterprise Server 3.13. In GitHub Enterprise Server 3.10, a banner appears atop teams' discussions with information about the deprecation, including a link to tooling to migrate existing team discussions to GitHub Discussions. For more information, see "[AUTOTITLE](/organizations/collaborating-with-your-team/about-team-discussions)" and "[AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions)." [Updated: 2024-03-04] diff --git a/data/release-notes/enterprise-server/3-11/0.yml b/data/release-notes/enterprise-server/3-11/0.yml index 35414ac9d085..6513ebc2e717 100644 --- a/data/release-notes/enterprise-server/3-11/0.yml +++ b/data/release-notes/enterprise-server/3-11/0.yml @@ -353,5 +353,11 @@ sections: For more information about Python releases, see [Status of Python versions](https://devguide.python.org/versions) on the Python website. For more information about supported package managers for Dependabot, see "[AUTOTITLE](/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates#supported-repositories-and-ecosystems)." + # https://github.com/github/releases/issues/2605 + - heading: Upcoming deprecation of team discussions + notes: + - | + GitHub will deprecate team discussions for users in GitHub Enterprise Server 3.13. In GitHub Enterprise Server 3.11, a banner appears atop teams' discussions with information about the deprecation, including a link to tooling to migrate existing team discussions to GitHub Discussions. For more information, see "[AUTOTITLE](/organizations/collaborating-with-your-team/about-team-discussions)" and "[AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions)." [Updated: 2024-03-04] + errata: - 'The "[Changes](/admin/release-notes#3.11.0-changes)" section previously indicated that users should update GitHub Actions workflows and actions to run on Node.js 16. Node.js 16 has reached end of life, and users should instead update actions and workflows to run on Node.js 20 or later. [Updated: 2024-03-05]' diff --git a/data/release-notes/enterprise-server/3-12/0-rc1.yml b/data/release-notes/enterprise-server/3-12/0-rc1.yml index 93597ffcfcf9..615ebe8068dd 100644 --- a/data/release-notes/enterprise-server/3-12/0-rc1.yml +++ b/data/release-notes/enterprise-server/3-12/0-rc1.yml @@ -178,3 +178,11 @@ sections: {% data reusables.release-notes.2023-11-cluster-ha-failover-git-push-failure %} - | Restoring backups with `ghe-restore` on a GHES cluster will exit prematurely if `redis` has not restarted properly. + + deprecations: + # https://github.com/github/releases/issues/2605 + - heading: Upcoming deprecation of team discussions + notes: + - | + GitHub will deprecate team discussions for users in GitHub Enterprise Server 3.13. In GitHub Enterprise Server 3.12, a banner appears atop teams' discussions with information about the deprecation, including a link to tooling to migrate existing team discussions to GitHub Discussions. For more information, see "[AUTOTITLE](/organizations/collaborating-with-your-team/about-team-discussions)" and "[AUTOTITLE](/discussions/collaborating-with-your-community-using-discussions/about-discussions)." [Updated: 2024-03-04] + diff --git a/data/reusables/enterprise-accounts/emu-cap-validates.md b/data/reusables/enterprise-accounts/emu-cap-validates.md index f362c9b0abde..36ddb549cf68 100644 --- a/data/reusables/enterprise-accounts/emu-cap-validates.md +++ b/data/reusables/enterprise-accounts/emu-cap-validates.md @@ -1 +1 @@ -When your enterprise uses OIDC SSO, {% data variables.product.prodname_dotcom %} will automatically use your IdP's conditional access policy (CAP) IP conditions to validate user interactions with {% data variables.product.prodname_dotcom %}, when members change IP addresses, and each time a {% data variables.product.pat_generic %} or SSH key is used. +When your enterprise uses OIDC SSO, {% data variables.product.prodname_dotcom %} will automatically use your IdP's conditional access policy (CAP) IP conditions to validate interactions with {% data variables.product.prodname_dotcom %} when members change IP addresses, and for each authentication with a {% data variables.product.pat_generic %} or SSH key associated with a user account. diff --git a/data/reusables/enterprise_clustering/network-latency.md b/data/reusables/enterprise_clustering/network-latency.md index 321218c196d3..c1e8fc8f7313 100644 --- a/data/reusables/enterprise_clustering/network-latency.md +++ b/data/reusables/enterprise_clustering/network-latency.md @@ -1 +1 @@ -For high availability, the latency between the network with the active nodes and the network with the replica nodes must be less than 70 milliseconds. We don't recommend configuring a firewall between the two networks. +The latency between primary and replica nodes must be less than 70 milliseconds. We don't recommend configuring a firewall between the nodes' networks. diff --git a/data/reusables/gated-features/push-protection-for-repos.md b/data/reusables/gated-features/push-protection-for-repos.md index c09091b52d8a..113be5f27fdd 100644 --- a/data/reusables/gated-features/push-protection-for-repos.md +++ b/data/reusables/gated-features/push-protection-for-repos.md @@ -1,6 +1,6 @@ {%- ifversion fpt or ghec %} -Push protection for repositories and organizations is available for free on all public repositories. Organizations using {% data variables.product.prodname_ghe_cloud %} with a license for {% data variables.product.prodname_GH_advanced_security %} can also enable push protection on their private and internal repositories. +Push protection for repositories and organizations is available for {% ifversion ghec %}user-owned {% endif %}public repositories for free. Organizations using {% data variables.product.prodname_ghe_cloud %} with a license for {% data variables.product.prodname_GH_advanced_security %} can also enable push protection on their private and internal repositories. {%- elsif ghes %} Push protection is available for organization-owned repositories in {% data variables.product.product_name %} if your enterprise has a license for {% data variables.product.prodname_GH_advanced_security %}.{% endif %} diff --git a/data/reusables/gated-features/push-protection-users-and-repos.md b/data/reusables/gated-features/push-protection-users-and-repos.md index 59ed49c99ad7..1ad4a05bdc9c 100644 --- a/data/reusables/gated-features/push-protection-users-and-repos.md +++ b/data/reusables/gated-features/push-protection-users-and-repos.md @@ -5,7 +5,7 @@ Push protection for users is on by default and can be disabled in your personal {%- endif %} -Push protection for repositories and organizations is available for free on all public repositories. Organizations using {% data variables.product.prodname_ghe_cloud %} with a license for {% data variables.product.prodname_GH_advanced_security %} can also enable push protection on their private and internal repositories. +Push protection for repositories and organizations is available for {% ifversion ghec %}user-owned {% endif %}public repositories for free. Organizations using {% data variables.product.prodname_ghe_cloud %} with a license for {% data variables.product.prodname_GH_advanced_security %} can also enable push protection on their private and internal repositories. {%- elsif ghes %} Push protection is available for organization-owned repositories in {% data variables.product.product_name %} if your enterprise has a license for {% data variables.product.prodname_GH_advanced_security %}.{% endif %} diff --git a/data/reusables/gated-features/secret-scanning.md b/data/reusables/gated-features/secret-scanning.md index 6af8c0197b2b..c25236774552 100644 --- a/data/reusables/gated-features/secret-scanning.md +++ b/data/reusables/gated-features/secret-scanning.md @@ -1,7 +1,7 @@ {%- ifversion fpt or ghec %} {% data variables.secret-scanning.partner_alerts_caps %} runs automatically on public repositories and public npm packages to notify service providers about leaked secrets on {% data variables.product.prodname_dotcom_the_website %}. -{% data variables.secret-scanning.user_alerts_caps %} are available for free on all public repositories. Organizations using {% data variables.product.prodname_ghe_cloud %} with a license for {% data variables.product.prodname_GH_advanced_security %} can also enable {% data variables.secret-scanning.user_alerts %} on their private and internal repositories. {% data reusables.secret-scanning.secret-scanning-user-owned-repos-beta %} +{% data variables.secret-scanning.user_alerts_caps %} are available for {% ifversion ghec %}user-owned {% endif %}public repositories for free. Organizations using {% data variables.product.prodname_ghe_cloud %} with a license for {% data variables.product.prodname_GH_advanced_security %} can also enable {% data variables.secret-scanning.user_alerts %} on their private and internal repositories. {% data reusables.secret-scanning.secret-scanning-user-owned-repos-beta %} {%- elsif ghes %} {% data variables.product.prodname_secret_scanning_caps %} is available for organization-owned repositories{% ifversion secret-scanning-user-owned-repos %}, and in beta for user-owned repositories{% endif %} in {% data variables.product.product_name %} if your enterprise has a license for {% data variables.product.prodname_GH_advanced_security %}. diff --git a/data/reusables/organizations/team-discussions-api-deprecation.md b/data/reusables/organizations/team-discussions-api-deprecation.md index f734cb0d1959..e9f8c629b306 100644 --- a/data/reusables/organizations/team-discussions-api-deprecation.md +++ b/data/reusables/organizations/team-discussions-api-deprecation.md @@ -2,7 +2,7 @@ {% note %} -The team discussions and team discussion comments endpoints will be deprecated in {% data variables.product.prodname_ghe_server %} 3.12 in favor of {% data variables.product.prodname_discussions %}. For more information about {% data variables.product.prodname_discussions %}, see "[AUTOTITLE](/discussions)." +The team discussions and team discussion comments endpoints will be deprecated in {% data variables.product.prodname_ghe_server %} 3.13 in favor of {% data variables.product.prodname_discussions %}. For more information about {% data variables.product.prodname_discussions %}, see "[AUTOTITLE](/discussions)." {% endnote %} diff --git a/data/reusables/organizations/team-discussions-migration.md b/data/reusables/organizations/team-discussions-migration.md index aaec4b5c7dfc..d6b3f9dbcbfb 100644 --- a/data/reusables/organizations/team-discussions-migration.md +++ b/data/reusables/organizations/team-discussions-migration.md @@ -1,7 +1,7 @@ {% note %} -**Note**: Team discussions will be deprecated in {% data variables.product.prodname_ghe_server %} 3.12 in favor of {% data variables.product.prodname_discussions %}. You can transfer your existing team discussions to a repository's discussions by using a migration tool that allows team admins to migrate both public and private team discussions. Click the "Transfer" button in the banner at the top of your team discussions page, then choose the repository in your organization that you want to migrate the discussions to. +**Note**: Team discussions will be deprecated in {% data variables.product.prodname_ghe_server %} 3.13 in favor of {% data variables.product.prodname_discussions %}. You can transfer your existing team discussions to a repository's discussions by using a migration tool that allows team admins to migrate both public and private team discussions. Click the "Transfer" button in the banner at the top of your team discussions page, then choose the repository in your organization that you want to migrate the discussions to. For more information about {% data variables.product.prodname_discussions %}, see "[AUTOTITLE](/discussions)." diff --git a/data/reusables/secret-scanning/push-protection-optional-enable.md b/data/reusables/secret-scanning/push-protection-optional-enable.md new file mode 100644 index 000000000000..adde12b6005a --- /dev/null +++ b/data/reusables/secret-scanning/push-protection-optional-enable.md @@ -0,0 +1,7 @@ +{% ifversion secret-scanning-push-protection %} + +1. Optionally, if you want to enable push protection, click **Enable** to the right of "Push protection." {% data reusables.secret-scanning.push-protection-overview %} For more information, see "[AUTOTITLE](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)." + + ![Screenshot of the "{% data variables.product.prodname_secret_scanning_caps %}" section. The "Enable" button is highlighted in a dark orange outline in the "Push protection" section.](/assets/images/help/repository/secret-scanning-enable-push-protection.png) + +{% endif %} diff --git a/data/secret-scanning.yml b/data/secret-scanning.yml index e681cacaae22..fdf9b4db393d 100644 --- a/data/secret-scanning.yml +++ b/data/secret-scanning.yml @@ -430,6 +430,18 @@ hasPushProtection: false hasValidityCheck: false +- provider: 'Beijing Volcano Engine Technology' + supportedSecret: 'VolcEngine Access Key ID' + secretType: 'volcengine_access_key_id' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + - provider: 'Canadian Digital Service' supportedSecret: 'CDS Canada Notify API Key' secretType: 'cds_canada_notify_api_key' @@ -502,6 +514,30 @@ hasPushProtection: true hasValidityCheck: false +- provider: 'CircleCI' + supportedSecret: 'CircleCI Personal Access Token' + secretType: 'circleci-pat' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + +- provider: 'CircleCI' + supportedSecret: 'CircleCI Project Access Token' + secretType: 'circleci-prj' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + - provider: 'Clojars' supportedSecret: 'Clojars Deploy Token' secretType: 'clojars_deploy_token' @@ -1484,6 +1520,18 @@ hasPushProtection: true hasValidityCheck: false +- provider: 'Lightspeed' + supportedSecret: 'Lightspeed X-Series Personal Access Token' + secretType: 'lightspeed-xs-pat' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: false + isPrivateWithGhas: true + hasPushProtection: false + hasValidityCheck: false + - provider: 'Linear' supportedSecret: 'Linear API Key' secretType: 'linear_api_key' @@ -1651,6 +1699,18 @@ hasPushProtection: false hasValidityCheck: false +- provider: 'Mergify' + supportedSecret: 'Mergify Application Key' + secretType: 'mergify_application_key' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + - provider: 'MessageBird' supportedSecret: 'MessageBird API Key' secretType: 'messagebird_api_key' @@ -2418,6 +2478,18 @@ hasPushProtection: false hasValidityCheck: false +- provider: 'Siemens' + supportedSecret: 'Siemens Code Access Token' + secretType: 'code_siemens_com_token' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + - provider: 'Slack' supportedSecret: 'Slack API Token' secretType: 'slack_api_token' @@ -2772,7 +2844,7 @@ versions: fpt: '*' ghec: '*' - ghes: '>=3.5' + ghes: '>=3.12' isPublic: false isPrivateWithGhas: true hasPushProtection: true @@ -2784,7 +2856,7 @@ versions: fpt: '*' ghec: '*' - ghes: '>3.4' + ghes: '>=3.12' isPublic: false isPrivateWithGhas: true hasPushProtection: false diff --git a/src/audit-logs/data/ghes/enterprise.json b/src/audit-logs/data/ghes/enterprise.json deleted file mode 100644 index b78fc07fe1b6..000000000000 --- a/src/audit-logs/data/ghes/enterprise.json +++ /dev/null @@ -1,2282 +0,0 @@ -[ - { - "action": "api.request", - "description": "An 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 not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", - "docs_reference_links": "/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#enabling-audit-log-streaming-of-api-requests" - }, - { - "action": "business.add_admin", - "description": "An enterprise owner was added to an enterprise.", - "docs_reference_links": "/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise" - }, - { - "action": "business.add_organization", - "description": "An organization was added to an enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "business_advanced_security.disabled", - "description": "GitHub Advanced Security was disabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_advanced_security.disabled_for_new_repos", - "description": "GitHub Advanced Security was disabled for new repositories in your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_advanced_security.enabled", - "description": "GitHub Advanced Security was enabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_advanced_security.enabled_for_new_repos", - "description": "GitHub Advanced Security was enabled for new repositories in your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business.advanced_security_policy_update", - "description": "An enterprise owner created, updated, or removed a policy for GitHub Advanced Security.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise" - }, - { - "action": "business.advanced_security_repo_admin_enablement_policy_update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "business.clear_actions_settings", - "description": "An enterprise owner or site administrator cleared GitHub Actions policy settings for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise" - }, - { - "action": "business.clear_default_repository_permission", - "description": "An enterprise owner cleared the base repository permission policy setting for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-base-repository-permissions" - }, - { - "action": "business.clear_members_can_create_repos", - "description": "An enterprise owner cleared a restriction on repository creation in organizations in the enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation" - }, - { - "action": "business.create", - "description": "An enterprise was created.", - "docs_reference_links": "N/A" - }, - { - "action": "business_dependabot_alerts_new_repos.disable", - "description": "Dependabot alerts were disabled for new repositories in your enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "business_dependabot_alerts_new_repos.enable", - "description": "Dependabot alerts were enabled for new repositories in your enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "business.dependabot_alerts_repo_admin_enablement_policy_update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "business.disable_source_ip_disclosure", - "description": "Display of IP addresses within audit log events for the enterprise was disabled.", - "docs_reference_links": "/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/displaying-ip-addresses-in-the-audit-log-for-your-enterprise" - }, - { - "action": "business.disable_two_factor_requirement", - "description": "The requirement for members to have two-factor authentication enabled to access an enterprise was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "business.enable_source_ip_disclosure", - "description": "Display of IP addresses within audit log events for the enterprise was enabled.", - "docs_reference_links": "/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/displaying-ip-addresses-in-the-audit-log-for-your-enterprise" - }, - { - "action": "business.enable_two_factor_requirement", - "description": "The requirement for members to have two-factor authentication enabled to access an enterprise was enabled.", - "docs_reference_links": "N/A" - }, - { - "action": "business.members_can_update_protected_branches.clear", - "description": "An 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.", - "docs_reference_links": "N/A" - }, - { - "action": "business.members_can_update_protected_branches.disable", - "description": "The ability for enterprise members to update branch protection rules was disabled. Only enterprise owners can update protected branches.", - "docs_reference_links": "N/A" - }, - { - "action": "business.members_can_update_protected_branches.enable", - "description": "The ability for enterprise members to update branch protection rules was enabled. Enterprise owners and members can update protected branches.", - "docs_reference_links": "N/A" - }, - { - "action": "business.remove_admin", - "description": "An enterprise owner was removed from an enterprise.", - "docs_reference_links": "/admin/user-management/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise" - }, - { - "action": "business.remove_organization", - "description": "An organization was removed from an enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "business.rename_slug", - "description": "The slug for the enterprise URL was renamed.", - "docs_reference_links": "N/A" - }, - { - "action": "business_secret_scanning_automatic_validity_checks.disabled", - "description": "Automatic partner validation checks have been disabled at the business level", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise#managing-advanced-security-features" - }, - { - "action": "business_secret_scanning_automatic_validity_checks.enabled", - "description": "Automatic partner validation checks have been enabled at the business level", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise#managing-advanced-security-features" - }, - { - "action": "business_secret_scanning_custom_pattern.create", - "description": "An enterprise-level custom pattern was created for secret scanning.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-enterprise-account" - }, - { - "action": "business_secret_scanning_custom_pattern.delete", - "description": "An enterprise-level custom pattern was removed from secret scanning.", - "docs_reference_links": "N/A" - }, - { - "action": "business_secret_scanning_custom_pattern.publish", - "description": "An enterprise-level custom pattern was published for secret scanning.", - "docs_reference_links": "N/A" - }, - { - "action": "business_secret_scanning_custom_pattern_push_protection.disabled", - "description": "Push protection for a custom pattern for secret scanning was disabled for your enterprise.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-enterprise-account" - }, - { - "action": "business_secret_scanning_custom_pattern_push_protection.enabled", - "description": "Push protection for a custom pattern for secret scanning was enabled for your enterprise.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-enterprise-account" - }, - { - "action": "business_secret_scanning_custom_pattern.update", - "description": "Changes to an enterprise-level custom pattern were saved and a dry run was executed for secret scanning.", - "docs_reference_links": "N/A" - }, - { - "action": "business_secret_scanning.disable", - "description": "Secret scanning was disabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning.disabled_for_new_repos", - "description": "Secret scanning was disabled for new repositories in your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning.enable", - "description": "Secret scanning was enabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning.enabled_for_new_repos", - "description": "Secret scanning was enabled for new repositories in your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection_custom_message.disable", - "description": "The custom message triggered by an attempted push to a push-protected repository was disabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection_custom_message.enable", - "description": "The custom message triggered by an attempted push to a push-protected repository was enabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection_custom_message.update", - "description": "The custom message triggered by an attempted push to a push-protected repository was updated for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection.disable", - "description": "Push protection for secret scanning was disabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection.disabled_for_new_repos", - "description": "Push protection for secret scanning was disabled for new repositories in your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection.enable", - "description": "Push protection for secret scanning was enabled for your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business_secret_scanning_push_protection.enabled_for_new_repos", - "description": "Push protection for secret scanning was enabled for new repositories in your enterprise.", - "docs_reference_links": "/admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise" - }, - { - "action": "business.secret_scanning_repo_admin_settings_policy_update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "business.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-fork-pull-requests-in-private-repositories" - }, - { - "action": "business.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs was changed for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-artifact-and-log-retention-in-your-enterprise" - }, - { - "action": "business.sso_response", - "description": "A 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.", - "docs_reference_links": "N/A" - }, - { - "action": "business.update_actions_settings", - "description": "An enterprise owner or site administrator updated GitHub Actions policy settings for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise" - }, - { - "action": "business.update_default_repository_permission", - "description": "The base repository permission setting was updated for all organizations in an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-base-repository-permissions" - }, - { - "action": "business.update_member_repository_creation_permission", - "description": "The repository creation setting was updated for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-repository-creation" - }, - { - "action": "business.update_member_repository_invitation_permission", - "description": "The policy setting for enterprise members inviting outside collaborators to repositories was updated.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories" - }, - { - "action": "checks.auto_trigger_disabled", - "description": "Automatic creation of check suites was disabled on a repository in the organization or enterprise.", - "docs_reference_links": "/rest/checks#update-repository-preferences-for-check-suites" - }, - { - "action": "checks.auto_trigger_enabled", - "description": "Automatic creation of check suites was enabled on a repository in the organization or enterprise.", - "docs_reference_links": "/rest/checks#update-repository-preferences-for-check-suites" - }, - { - "action": "custom_hosted_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_hosted_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_hosted_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_property_definition.create", - "description": "A new custom property definition was created.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_definition.destroy", - "description": "A custom property definition was deleted.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_definition.update", - "description": "A custom property definition was updated.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_value.create", - "description": "A repository's custom property value was manually set for the first time.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_value.destroy", - "description": "A repository's custom property value was deleted.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_value.update", - "description": "A repository's custom property value was updated.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "discussion_post.destroy", - "description": "Triggered when a team discussion post is deleted.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#deleting-a-comment" - }, - { - "action": "discussion_post_reply.destroy", - "description": "Triggered when a reply to a team discussion post is deleted.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#deleting-a-comment" - }, - { - "action": "discussion_post_reply.update", - "description": "Triggered when a reply to a team discussion post is edited.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#editing-a-comment" - }, - { - "action": "discussion_post.update", - "description": "Triggered when a team discussion post is edited.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#editing-a-comment" - }, - { - "action": "enterprise_announcement.create", - "description": "A global announcement banner was created for the enterprise.", - "docs_reference_links": "/admin/managing-accounts-and-repositories/communicating-information-to-users-in-your-enterprise/customizing-user-messages-for-your-enterprise#creating-a-global-announcement-banner" - }, - { - "action": "enterprise_announcement.destroy", - "description": "A global announcement banner was removed from the enterprise.", - "docs_reference_links": "/admin/managing-accounts-and-repositories/communicating-information-to-users-in-your-enterprise/customizing-user-messages-for-your-enterprise" - }, - { - "action": "enterprise_announcement.update", - "description": "A global announcement banner was updated for the enterprise.", - "docs_reference_links": "/admin/managing-accounts-and-repositories/communicating-information-to-users-in-your-enterprise/customizing-user-messages-for-your-enterprise" - }, - { - "action": "enterprise.configure_self_hosted_jit_runner", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "enterprise_domain.approve", - "description": "A domain was approved for an enterprise.", - "docs_reference_links": "/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise#approving-a-domain-for-your-enterprise-account" - }, - { - "action": "enterprise_domain.create", - "description": "A domain was added to an enterprise.", - "docs_reference_links": "/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise#verifying-a-domain-for-your-enterprise-account" - }, - { - "action": "enterprise_domain.destroy", - "description": "A domain was removed from an enterprise.", - "docs_reference_links": "/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise#removing-an-approved-or-verified-domain" - }, - { - "action": "enterprise_domain.verify", - "description": "A domain was verified for an enterprise.", - "docs_reference_links": "/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise#verifying-a-domain-for-your-enterprise-account" - }, - { - "action": "enterprise.register_self_hosted_runner", - "description": "A new GitHub Actions self-hosted runner was registered.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository" - }, - { - "action": "enterprise.remove_self_hosted_runner", - "description": "A GitHub Actions self-hosted runner was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository" - }, - { - "action": "enterprise.runner_group_created", - "description": "A GitHub Actions self-hosted runner group was created.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository" - }, - { - "action": "enterprise.runner_group_removed", - "description": "A GitHub Actions self-hosted runner group was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group" - }, - { - "action": "enterprise.runner_group_runner_removed", - "description": "The REST API was used to remove a GitHub Actions self-hosted runner from a group.", - "docs_reference_links": "/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization" - }, - { - "action": "enterprise.runner_group_runners_added", - "description": "A GitHub Actions self-hosted runner was added to a group.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group" - }, - { - "action": "enterprise.runner_group_runners_updated", - "description": "A GitHub Actions runner group's list of members was updated.", - "docs_reference_links": "/rest/actions#set-self-hosted-runners-in-a-group-for-an-organization" - }, - { - "action": "enterprise.runner_group_updated", - "description": "The configuration of a GitHub Actions self-hosted runner group was changed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group" - }, - { - "action": "enterprise.self_hosted_runner_offline", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "enterprise.self_hosted_runner_online", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "enterprise.self_hosted_runner_updated", - "description": "The GitHub Actions runner application was updated. This event is not included in the JSON/CSV export.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#about-self-hosted-runners" - }, - { - "action": "git.clone", - "description": "A repository was cloned.", - "docs_reference_links": "N/A" - }, - { - "action": "git.fetch", - "description": "Changes were fetched from a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "git.push", - "description": "Changes were pushed to a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "hook.config_changed", - "description": "A hook's configuration was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "hook.create", - "description": "A new hook was added.", - "docs_reference_links": "/get-started/exploring-integrations/about-webhooks" - }, - { - "action": "hook.destroy", - "description": "A hook was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "hook.events_changed", - "description": "A hook's configured events were changed.", - "docs_reference_links": "N/A" - }, - { - "action": "integration.create", - "description": "A GitHub App was created.", - "docs_reference_links": "N/A" - }, - { - "action": "integration.destroy", - "description": "A GitHub App was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "integration_installation.create", - "description": "A GitHub App was installed.", - "docs_reference_links": "/apps/using-github-apps/authorizing-github-apps" - }, - { - "action": "integration_installation.destroy", - "description": "A GitHub App was uninstalled.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#blocking-access" - }, - { - "action": "integration_installation.repositories_added", - "description": "Repositories were added to a GitHub App.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#modifying-repository-access" - }, - { - "action": "integration_installation.repositories_removed", - "description": "Repositories were removed from a GitHub App.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#modifying-repository-access" - }, - { - "action": "integration_installation.version_updated", - "description": "Permissions for a GitHub App were updated.", - "docs_reference_links": "/apps/using-github-apps/approving-updated-permissions-for-a-github-app" - }, - { - "action": "integration.manager_added", - "description": "A member of an enterprise or organization was added as a GitHub App manager.", - "docs_reference_links": "/organizations/managing-programmatic-access-to-your-organization/adding-and-removing-github-app-managers-in-your-organization#giving-someone-the-ability-to-manage-all-github-apps-owned-by-the-organization" - }, - { - "action": "integration.manager_removed", - "description": "A member of an enterprise or organization was removed from being a GitHub App manager.", - "docs_reference_links": "/organizations/managing-programmatic-access-to-your-organization/adding-and-removing-github-app-managers-in-your-organization#removing-a-github-app-managers-permissions-for-the-entire-organization" - }, - { - "action": "integration.transfer", - "description": "Ownership of a GitHub App was transferred to another user or organization.", - "docs_reference_links": "/apps/maintaining-github-apps/transferring-ownership-of-a-github-app" - }, - { - "action": "ip_allow_list.disable", - "description": "An IP allow list was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.disable_for_installed_apps", - "description": "An IP allow list was disabled for installed GitHub Apps.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.disable_user_level_enforcement", - "description": "IP allow list user level enforcement was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.enable", - "description": "An IP allow list was enabled.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.enable_for_installed_apps", - "description": "An IP allow list was enabled for installed GitHub Apps.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.enable_user_level_enforcement", - "description": "IP allow list user level enforcement was enabled.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list_entry.create", - "description": "An IP address was added to an IP allow list.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list_entry.destroy", - "description": "An IP address was deleted from an IP allow list.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list_entry.update", - "description": "An IP address or its description was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "oauth_application.create", - "description": "An OAuth application was created.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.destroy", - "description": "An OAuth application was deleted.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.reset_secret", - "description": "The secret key for an OAuth application was reset.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.revoke_tokens", - "description": "Token(s) for an OAuth application were revoked.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.suspend", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "oauth_application.transfer", - "description": "An OAuth application was transferred from one account to another.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.unsuspend", - "description": "An OAuth application was unsuspended for a user or organization account.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_authorization.create", - "description": "An authorization for an OAuth application was created.", - "docs_reference_links": "/apps/oauth-apps/using-oauth-apps/authorizing-oauth-apps" - }, - { - "action": "oauth_authorization.destroy", - "description": "An authorization for an OAuth application was deleted.", - "docs_reference_links": "/apps/using-github-apps/reviewing-your-authorized-integrations" - }, - { - "action": "oauth_authorization.update", - "description": "An authorization for an OAuth application was updated.", - "docs_reference_links": "/apps/oauth-apps/using-oauth-apps/authorizing-oauth-apps" - }, - { - "action": "org.accept_business_invitation", - "description": "An invitation sent to an organization to join an enterprise was accepted.", - "docs_reference_links": "/admin/user-management/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise#inviting-an-organization-to-join-your-enterprise-account" - }, - { - "action": "org.add_billing_manager", - "description": "A billing manager was added to an organization.", - "docs_reference_links": "/organizations/managing-peoples-access-to-your-organization-with-roles/adding-a-billing-manager-to-your-organization" - }, - { - "action": "org.add_member", - "description": "A user joined an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.add_security_manager", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_disabled_for_new_repos", - "description": "GitHub Advanced Security was disabled for new repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_disabled_on_all_repos", - "description": "GitHub Advanced Security was disabled for all repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_enabled_for_new_repos", - "description": "GitHub Advanced Security was enabled for new repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_enabled_on_all_repos", - "description": "GitHub Advanced Security was enabled for all repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_policy_selected_member_disabled", - "description": "An enterprise owner prevented GitHub Advanced Security features from being enabled for repositories owned by the organization.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise" - }, - { - "action": "org.advanced_security_policy_selected_member_enabled", - "description": "An enterprise owner allowed GitHub Advanced Security features to be enabled for repositories owned by the organization.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise" - }, - { - "action": "org.async_delete", - "description": "A user initiated a background job to delete an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.billing_signup_error", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.block_user", - "description": "An organization owner blocked a user from accessing the organization's repositories.", - "docs_reference_links": "/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization" - }, - { - "action": "org.cancel_business_invitation", - "description": "An invitation for an organization to join an enterprise was revoked", - "docs_reference_links": "/admin/user-management/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise#inviting-an-organization-to-join-your-enterprise-account" - }, - { - "action": "org.cancel_invitation", - "description": "An invitation sent to a user to join an organization was revoked.", - "docs_reference_links": "N/A" - }, - { - "action": "org.clear_custom_invitation_rate_limit", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.codeql_disabled", - "description": "Code scanning using the default setup was disabled for an organization.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale" - }, - { - "action": "org.codeql_enabled", - "description": "Code scanning using the default setup was enabled for an organization.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale" - }, - { - "action": "org.config.disable_collaborators_only", - "description": "The interaction limit for collaborators only for an organization was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.disable_contributors_only", - "description": "The interaction limit for prior contributors only for an organization was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.disable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only for an organization was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.enable_collaborators_only", - "description": "The interaction limit for collaborators only for an organization was enabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.enable_contributors_only", - "description": "The interaction limit for prior contributors only for an organization was enabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.enable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only for an organization was enabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.configure_self_hosted_jit_runner", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.confirm_business_invitation", - "description": "An invitation for an organization to join an enterprise was confirmed.", - "docs_reference_links": "/admin/user-management/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise#inviting-an-organization-to-join-your-enterprise-account" - }, - { - "action": "org.create", - "description": "An organization was created.", - "docs_reference_links": "/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch" - }, - { - "action": "org.delete", - "description": "An organization was deleted by a user-initiated background job.", - "docs_reference_links": "N/A" - }, - { - "action": "org.disable_member_team_creation_permission", - "description": "Team creation was limited to owners.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-team-creation-permissions-in-your-organization" - }, - { - "action": "org.disable_reader_discussion_creation_permission", - "description": "An organization owner limited discussion creation to users with at least triage permission in an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-discussion-creation-for-repositories-in-your-organization" - }, - { - "action": "org.disable_saml", - "description": "SAML single sign-on was disabled for an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.disable_two_factor_requirement", - "description": "A two-factor authentication requirement was disabled for the organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.display_commenter_full_name_disabled", - "description": "An organization owner disabled the display of a commenter's full name in an organization. Members cannot see a comment author's full name.", - "docs_reference_links": "N/A" - }, - { - "action": "org.display_commenter_full_name_enabled", - "description": "An organization owner enabled the display of a commenter's full name in an organization. Members can see a comment author's full name.", - "docs_reference_links": "N/A" - }, - { - "action": "org.enable_member_team_creation_permission", - "description": "Team creation by members was allowed.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-team-creation-permissions-in-your-organization" - }, - { - "action": "org.enable_reader_discussion_creation_permission", - "description": "An organization owner allowed users with read access to create discussions in an organization", - "docs_reference_links": "/organizations/managing-organization-settings/managing-discussion-creation-for-repositories-in-your-organization" - }, - { - "action": "org.enable_saml", - "description": "SAML single sign-on was enabled for the organization.", - "docs_reference_links": "/organizations/managing-saml-single-sign-on-for-your-organization/enabling-and-testing-saml-single-sign-on-for-your-organization" - }, - { - "action": "org.enable_two_factor_requirement", - "description": "Two-factor authentication is now required for the organization.", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization" - }, - { - "action": "org.integration_manager_added", - "description": "An organization owner granted a member access to manage all GitHub Apps owned by an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.integration_manager_removed", - "description": "An organization owner removed access to manage all GitHub Apps owned by an organization from an organization member.", - "docs_reference_links": "N/A" - }, - { - "action": "org.invite_member", - "description": "A new user was invited to join an organization.", - "docs_reference_links": "/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization" - }, - { - "action": "org.invite_to_business", - "description": "An organization was invited to join an enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "org.members_can_update_protected_branches.disable", - "description": "The ability for enterprise members to update protected branches was disabled. Only enterprise owners can update protected branches.", - "docs_reference_links": "N/A" - }, - { - "action": "org.members_can_update_protected_branches.enable", - "description": "The ability for enterprise members to update protected branches was enabled. Members of an organization can update protected branches.", - "docs_reference_links": "N/A" - }, - { - "action": "org.rate_limited_invites", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.recreate", - "description": "An organization was restored.", - "docs_reference_links": "N/A" - }, - { - "action": "org.register_self_hosted_runner", - "description": "A new self-hosted runner was registered.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-organization" - }, - { - "action": "org.remove_billing_manager", - "description": "A billing manager was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "/organizations/managing-peoples-access-to-your-organization-with-roles/removing-a-billing-manager-from-your-organization, /organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization" - }, - { - "action": "org.remove_member", - "description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_outside_collaborator", - "description": "An outside collaborator was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_security_manager", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_self_hosted_runner", - "description": "A self-hosted runner was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-an-organization" - }, - { - "action": "org.rename", - "description": "An organization was renamed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.restore_member", - "description": "An organization member was restored.", - "docs_reference_links": "/organizations/managing-membership-in-your-organization/reinstating-a-former-member-of-your-organization" - }, - { - "action": "org.runner_group_created", - "description": "A self-hosted runner group was created.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#creating-a-self-hosted-runner-group-for-an-organization" - }, - { - "action": "org.runner_group_removed", - "description": "A self-hosted runner group was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group" - }, - { - "action": "org.runner_group_runner_removed", - "description": "The REST API was used to remove a self-hosted runner from a group.", - "docs_reference_links": "/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization" - }, - { - "action": "org.runner_group_runners_added", - "description": "A self-hosted runner was added to a group.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group" - }, - { - "action": "org.runner_group_runners_updated", - "description": "A runner group's list of members was updated.", - "docs_reference_links": "/rest/actions#set-self-hosted-runners-in-a-group-for-an-organization" - }, - { - "action": "org.runner_group_updated", - "description": "The configuration of a self-hosted runner group was changed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group" - }, - { - "action": "org_secret_scanning_automatic_validity_checks.disabled", - "description": "Automatic partner validation checks have been disabled at the organization level", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-validity-checks-for-partner-patterns-in-an-organization" - }, - { - "action": "org_secret_scanning_automatic_validity_checks.enabled", - "description": "Automatic partner validation checks have been enabled at the organization level", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-validity-checks-for-partner-patterns-in-an-organization" - }, - { - "action": "org_secret_scanning_custom_pattern.create", - "description": "A custom pattern was created for secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org_secret_scanning_custom_pattern.delete", - "description": "A custom pattern was removed from secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#removing-a-custom-pattern" - }, - { - "action": "org_secret_scanning_custom_pattern.publish", - "description": "A custom pattern was published for secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org.secret_scanning_custom_pattern_push_protection_disabled", - "description": "Push protection for a custom pattern for secret scanning was disabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org.secret_scanning_custom_pattern_push_protection_enabled", - "description": "Push protection for a custom pattern for secret scanning was enabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org_secret_scanning_custom_pattern.update", - "description": "Changes to a custom pattern were saved and a dry run was executed for secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#editing-a-custom-pattern" - }, - { - "action": "org.secret_scanning_push_protection_custom_message_disabled", - "description": "The custom message triggered by an attempted push to a push-protected repository was disabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#enabling-secret-scanning-as-a-push-protection-for-an-organization" - }, - { - "action": "org.secret_scanning_push_protection_custom_message_enabled", - "description": "The custom message triggered by an attempted push to a push-protected repository was enabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#enabling-secret-scanning-as-a-push-protection-for-an-organization" - }, - { - "action": "org.secret_scanning_push_protection_custom_message_updated", - "description": "The custom message triggered by an attempted push to a push-protected repository was updated for an organization.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#enabling-secret-scanning-as-a-push-protection-for-an-organization" - }, - { - "action": "org.secret_scanning_push_protection_disable", - "description": "Push protection for secret scanning was disabled.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning" - }, - { - "action": "org.secret_scanning_push_protection_enable", - "description": "Push protection for secret scanning was enabled.", - "docs_reference_links": "N/A" - }, - { - "action": "org.secret_scanning_push_protection_new_repos_disable", - "description": "Push protection for secret scanning was disabled for all new repositories in the organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.secret_scanning_push_protection_new_repos_enable", - "description": "Push protection for secret scanning was enabled for all new repositories in the organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.self_hosted_runner_offline", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "org.self_hosted_runner_online", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "org.self_hosted_runner_updated", - "description": "The runner application was updated. This event is not included in the JSON/CSV export.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#about-self-hosted-runners" - }, - { - "action": "org.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#enabling-workflows-for-private-repository-forks" - }, - { - "action": "org.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs in an organization was changed.", - "docs_reference_links": "/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization" - }, - { - "action": "org.set_custom_invitation_rate_limit", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.sso_response", - "description": "A 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.", - "docs_reference_links": "N/A" - }, - { - "action": "org.transform", - "description": "A user account was converted into an organization.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/converting-a-user-into-an-organization" - }, - { - "action": "org.unblock_user", - "description": "A user was unblocked from an organization.", - "docs_reference_links": "/communities/maintaining-your-safety-on-github/unblocking-a-user-from-your-organization" - }, - { - "action": "org.update_actions_settings", - "description": "An organization owner or site administrator updated GitHub Actions policy settings for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization" - }, - { - "action": "org.update_default_repository_permission", - "description": "The default repository permission level for organization members was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_member_repository_creation_permission", - "description": "The create repository permission for organization members was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_member_repository_invitation_permission", - "description": "An organization owner changed the policy setting for organization members inviting outside collaborators to repositories.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-permissions-for-adding-outside-collaborators" - }, - { - "action": "org.update_saml_provider_settings", - "description": "An organization's SAML provider settings were updated.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_terms_of_service", - "description": "An organization changed between the Standard Terms of Service and the GitHub Customer Agreement.", - "docs_reference_links": "/organizations/managing-organization-settings/upgrading-to-the-github-customer-agreement" - }, - { - "action": "organization_domain.approve", - "description": "A domain was approved for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#approving-a-domain-for-your-organization" - }, - { - "action": "organization_domain.create", - "description": "A domain was added to an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#verifying-a-domain-for-your-organization" - }, - { - "action": "organization_domain.destroy", - "description": "A domain was removed from an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#removing-an-approved-or-verified-domain" - }, - { - "action": "organization_domain.verify", - "description": "A domain was verified for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#verifying-a-domain-for-your-organization" - }, - { - "action": "packages.package_deleted", - "description": "An entire package was deleted.", - "docs_reference_links": "/packages/learn-github-packages/deleting-and-restoring-a-package" - }, - { - "action": "packages.package_published", - "description": "A package was published or republished to an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "packages.package_version_deleted", - "description": "A specific package version was deleted.", - "docs_reference_links": "/packages/learn-github-packages/deleting-and-restoring-a-package" - }, - { - "action": "packages.package_version_published", - "description": "A specific package version was published or republished to a package.", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.authorized_users_teams", - "description": "The users, teams, or integrations allowed to bypass a branch protection were changed.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches" - }, - { - "action": "protected_branch.branch_allowances", - "description": "A protected branch allowance was given to a specific user, team or integration.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.create", - "description": "Branch protection was enabled on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.destroy", - "description": "Branch protection was disabled on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.dismiss_stale_reviews", - "description": "Enforcement of dismissing stale pull requests was updated on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.dismissal_restricted_users_teams", - "description": "Enforcement of restricting users and/or teams who can dismiss reviews was updated on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.policy_override", - "description": "A branch protection requirement was overridden by a repository administrator.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.rejected_ref_update", - "description": "A branch update attempt was rejected.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_admin_enforced", - "description": "Branch protection was enforced for repository administrators.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_allow_deletions_enforcement_level", - "description": "Branch deletion was enabled or disabled for a protected branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_allow_force_pushes_enforcement_level", - "description": "Force pushes were enabled or disabled for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_ignore_approvals_from_contributors", - "description": "Ignoring of approvals from contributors to a pull request was enabled or disabled for a branch.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule" - }, - { - "action": "protected_branch.update_linear_history_requirement_enforcement_level", - "description": "Required linear commit history was enabled or disabled for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_lock_allows_fetch_and_merge", - "description": "Fork syncing was enabled or disabled for a read-only branch", - "docs_reference_links": "repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#lock-branch" - }, - { - "action": "protected_branch.update_lock_branch_enforcement_level", - "description": "The enforcement of a branch lock was updated.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#lock-branch" - }, - { - "action": "protected_branch.update_name", - "description": "A branch name pattern was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_pull_request_reviews_enforcement_level", - "description": "Enforcement of required pull request reviews was updated for a branch. Can be 0 (deactivated), 1 (non-admins), or 2 (everyone).", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_require_code_owner_review", - "description": "Enforcement of required code owner review was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_require_last_push_approval", - "description": "Someone other than the person who pushed the last code-modifying commit to the branch must approve pull requests for the branch.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-pull-request-reviews-before-merging" - }, - { - "action": "protected_branch.update_required_approving_review_count", - "description": "Enforcement of the required number of approvals before merging was updated on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_required_status_checks_enforcement_level", - "description": "Enforcement of required status checks was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_signature_requirement_enforcement_level", - "description": "Enforcement of required commit signing was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_strict_required_status_checks_policy", - "description": "Enforcement of required status checks was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "public_key.create", - "description": "An SSH key was added to a user account or a deploy key was added to a repository.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account" - }, - { - "action": "public_key.delete", - "description": "An SSH key was removed from a user account or a deploy key was removed from a repository.", - "docs_reference_links": "/authentication/keeping-your-account-and-data-secure/reviewing-your-ssh-keys" - }, - { - "action": "public_key.unverification_failure", - "description": "A user account's SSH key or a repository's deploy key was unable to be unverified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.unverify", - "description": "A user account's SSH key or a repository's deploy key was unverified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.update", - "description": "A user account's SSH key or a repository's deploy key was updated.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.verification_failure", - "description": "A user account's SSH key or a repository's deploy key was unable to be verified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.verify", - "description": "A user account's SSH key or a repository's deploy key was verified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "pull_request.close", - "description": "A pull request was closed without being merged.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/closing-a-pull-request" - }, - { - "action": "pull_request.converted_to_draft", - "description": "A pull request was converted to a draft.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft" - }, - { - "action": "pull_request.create", - "description": "A pull request was created.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request" - }, - { - "action": "pull_request.create_review_request", - "description": "A review was requested on a pull request.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews" - }, - { - "action": "pull_request.in_progress", - "description": "A pull request was marked as in progress.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request.indirect_merge", - "description": "A pull request was considered merged because the pull request's commits were merged into the target branch.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request.merge", - "description": "A pull request was merged.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request" - }, - { - "action": "pull_request.ready_for_review", - "description": "A pull request was marked as ready for review.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review" - }, - { - "action": "pull_request.rebase", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request.remove_review_request", - "description": "A review request was removed from a pull request.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews" - }, - { - "action": "pull_request.reopen", - "description": "A pull request was reopened after previously being closed.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review_comment.create", - "description": "A review comment was added to a pull request.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews" - }, - { - "action": "pull_request_review_comment.delete", - "description": "A review comment on a pull request was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review_comment.update", - "description": "A review comment on a pull request was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review.delete", - "description": "A review on a pull request was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review.dismiss", - "description": "A review on a pull request was dismissed.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review" - }, - { - "action": "pull_request_review.submit", - "description": "A review on a pull request was submitted.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request#submitting-your-review" - }, - { - "action": "repo.access", - "description": "The visibility of a repository changed.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility" - }, - { - "action": "repo.add_member", - "description": "A collaborator was added to a repository.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository" - }, - { - "action": "repo.add_topic", - "description": "A topic was added to a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics" - }, - { - "action": "repo.advanced_security_disabled", - "description": "GitHub Advanced Security was disabled for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository" - }, - { - "action": "repo.advanced_security_enabled", - "description": "GitHub Advanced Security was enabled for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository" - }, - { - "action": "repo.archived", - "description": "A repository was archived.", - "docs_reference_links": "/repositories/archiving-a-github-repository" - }, - { - "action": "repo.change_merge_setting", - "description": "Pull request merge options were changed for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.code_scanning_analysis_deleted", - "description": "Code scanning analysis for a repository was deleted.", - "docs_reference_links": "/rest/code-scanning#delete-a-code-scanning-analysis-from-a-repository" - }, - { - "action": "repo.code_scanning_configuration_for_branch_deleted", - "description": "A code scanning configuration for a branch of a repository was deleted.", - "docs_reference_links": "/code-security/code-scanning/managing-code-scanning-alerts/managing-code-scanning-alerts-for-your-repository#removing-stale-configurations-and-alerts-from-a-branch" - }, - { - "action": "repo.codeql_disabled", - "description": "Code scanning using the default setup was disabled for a repository.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning" - }, - { - "action": "repo.codeql_enabled", - "description": "Code scanning using the default setup was enabled for a repository.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning" - }, - { - "action": "repo.collaborators_only", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.config.disable_collaborators_only", - "description": "The interaction limit for collaborators only was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.disable_contributors_only", - "description": "The interaction limit for prior contributors only was disabled in a repository.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.disable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only was disabled in a repository.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_collaborators_only", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_contributors_only", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_sockpuppet_disallowed", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.configure_self_hosted_jit_runner", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.create", - "description": "A repository was created.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/creating-a-new-repository" - }, - { - "action": "repo.destroy", - "description": "A repository was deleted.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/deleting-a-repository" - }, - { - "action": "repo.disk_archive", - "description": "A repository was archived on disk.", - "docs_reference_links": "/repositories/archiving-a-github-repository/archiving-repositories" - }, - { - "action": "repo.download_zip", - "description": "A source code archive of a repository was downloaded as a ZIP file.", - "docs_reference_links": "/repositories/working-with-files/using-files/downloading-source-code-archives" - }, - { - "action": "repo.hide_from_discovery", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.noindex", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.override_unlock", - "description": "The repository was unlocked.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_build", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_cname", - "description": "A GitHub Pages custom domain was modified in a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_create", - "description": "A GitHub Pages site was created.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_destroy", - "description": "A GitHub Pages site was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_https_redirect_disabled", - "description": "HTTPS redirects were disabled for a GitHub Pages site.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_https_redirect_enabled", - "description": "HTTPS redirects were enabled for a GitHub Pages site.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_private", - "description": "A GitHub Pages site visibility was changed to private.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_public", - "description": "A GitHub Pages site visibility was changed to public.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_source", - "description": "A GitHub Pages source was modified.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.register_self_hosted_runner", - "description": "A new self-hosted runner was registered.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository" - }, - { - "action": "repo.remove_member", - "description": "A collaborator was removed from a repository.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository" - }, - { - "action": "repo.remove_self_hosted_runner", - "description": "A self-hosted runner was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository" - }, - { - "action": "repo.remove_topic", - "description": "A topic was removed from a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.rename", - "description": "A repository was renamed.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/renaming-a-repository" - }, - { - "action": "repo.require_login", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.restore", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.self_hosted_runner_offline", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "repo.self_hosted_runner_online", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "repo.self_hosted_runner_updated", - "description": "The runner application was updated. This event is not included in the JSON/CSV export.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#about-self-hosted-runners" - }, - { - "action": "repo.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-forks-of-private-repositories" - }, - { - "action": "repo.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs in a repository was changed.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository" - }, - { - "action": "repo.staff_unlock", - "description": "An enterprise owner or GitHub staff (with permission from a repository administrator) temporarily unlocked the repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.transfer", - "description": "A user accepted a request to receive a transferred repository.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/transferring-a-repository" - }, - { - "action": "repo.transfer_outgoing", - "description": "A repository was transferred to another repository network.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.transfer_start", - "description": "A user sent a request to transfer a repository to another user or organization.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.unarchived", - "description": "A repository was unarchived.", - "docs_reference_links": "/repositories/archiving-a-github-repository" - }, - { - "action": "repo.update_actions_access_settings", - "description": "The setting to control how a repository was used by GitHub Actions workflows in other repositories was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.update_actions_settings", - "description": "A repository administrator changed GitHub Actions policy settings for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.update_member", - "description": "A user's permission to a repository was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_branch_protection_evaluation.disable", - "description": "Branch protections were disabled for the repository.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule" - }, - { - "action": "repository_branch_protection_evaluation.enable", - "description": "Branch protections were enabled for this repository.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule" - }, - { - "action": "repository_invitation.accept", - "description": "An invitation to join a repository was accepted.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.cancel", - "description": "An invitation to join a repository was canceled.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.create", - "description": "An invitation to join a repository was sent.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.reject", - "description": "An invitation to join a repository was declined.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_ruleset.create", - "description": "A repository ruleset was created.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository" - }, - { - "action": "repository_ruleset.destroy", - "description": "A repository ruleset was deleted.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#deleting-a-ruleset" - }, - { - "action": "repository_ruleset.update", - "description": "A repository ruleset was edited.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#editing-a-ruleset" - }, - { - "action": "repository_secret_scanning_automatic_validity_checks.disabled", - "description": "Automatic partner validation checks have been disabled at the repository level", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#allowing-validity-checks-for-partner-patterns-in-a-repository" - }, - { - "action": "repository_secret_scanning_automatic_validity_checks.enabled", - "description": "Automatic partner validation checks have been enabled at the repository level", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#allowing-validity-checks-for-partner-patterns-in-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern.create", - "description": "A custom pattern was created for secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern.delete", - "description": "A custom pattern was removed from secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#removing-a-custom-pattern" - }, - { - "action": "repository_secret_scanning_custom_pattern.publish", - "description": "A custom pattern was published for secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern_push_protection.disabled", - "description": "Push protection for a custom pattern for secret scanning was disabled for your repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern_push_protection.enabled", - "description": "Push protection for a custom pattern for secret scanning was enabled for your repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern.update", - "description": "Changes to a custom pattern were saved and a dry run was executed for secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#editing-a-custom-pattern" - }, - { - "action": "repository_secret_scanning.disable", - "description": "Secret scanning was disabled for a repository.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "repository_secret_scanning.enable", - "description": "Secret scanning was enabled for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_secret_scanning_push_protection.disable", - "description": "Secret scanning push protection was disabled for a repository.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning" - }, - { - "action": "repository_secret_scanning_push_protection.enable", - "description": "Secret scanning push protection was enabled for a repository.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning" - }, - { - "action": "restrict_notification_delivery.disable", - "description": "Email notification restrictions for an organization or enterprise were disabled.", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/restricting-email-notifications-for-your-organization, /admin/policies/enforcing-policies-for-your-enterprise/restricting-email-notifications-for-your-enterprise" - }, - { - "action": "restrict_notification_delivery.enable", - "description": "Email notification restrictions for an organization or enterprise were enabled.", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/restricting-email-notifications-for-your-organization, /admin/policies/enforcing-policies-for-your-enterprise/restricting-email-notifications-for-your-enterprise" - }, - { - "action": "secret_scanning_alert.create", - "description": "GitHub detected a secret and created a secret scanning alert.", - "docs_reference_links": "/code-security/secret-scanning/managing-alerts-from-secret-scanning" - }, - { - "action": "secret_scanning_alert.reopen", - "description": "A seret scanning alert was reopened.", - "docs_reference_links": "N/A" - }, - { - "action": "secret_scanning_alert.resolve", - "description": "A seret scanning alert was resolved.", - "docs_reference_links": "N/A" - }, - { - "action": "secret_scanning_alert.revoke", - "description": "A secret scanning alert was revoked.", - "docs_reference_links": "N/A" - }, - { - "action": "secret_scanning_alert.validate", - "description": "A secret scanning alert was validated.", - "docs_reference_links": "/code-security/secret-scanning/managing-alerts-from-secret-scanning" - }, - { - "action": "secret_scanning.disable", - "description": "Secret scanning was disabled for all existing repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning.enable", - "description": "Secret scanning was enabled for all existing repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning_new_repos.disable", - "description": "Secret scanning was disabled for all new repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning_new_repos.enable", - "description": "Secret scanning was enabled for all new repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning_push_protection.bypass", - "description": "Triggered when a user bypasses the push protection on a secret detected by secret scanning.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret" - }, - { - "action": "security_key.register", - "description": "A security key was registered for an account.", - "docs_reference_links": "N/A" - }, - { - "action": "security_key.remove", - "description": "A security key was removed from an account.", - "docs_reference_links": "N/A" - }, - { - "action": "ssh_certificate_authority.create", - "description": "An SSH certificate authority for an organization or enterprise was created.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "ssh_certificate_authority.destroy", - "description": "An SSH certificate authority for an organization or enterprise was deleted.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "ssh_certificate_requirement.disable", - "description": "The requirement for members to use SSH certificates to access an organization resources was disabled.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "ssh_certificate_requirement.enable", - "description": "The requirement for members to use SSH certificates to access an organization resources was enabled.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "staff.set_domain_token_expiration", - "description": "The verification code expiry time for an organization or enterprise domain was set.", - "docs_reference_links": "N/A" - }, - { - "action": "staff.unverify_domain", - "description": "An organization or enterprise domain was unverified.", - "docs_reference_links": "N/A" - }, - { - "action": "staff.verify_domain", - "description": "An organization or enterprise domain was verified.", - "docs_reference_links": "N/A" - }, - { - "action": "team.add_member", - "description": "A member of an organization was added to a team.", - "docs_reference_links": "/organizations/organizing-members-into-teams/adding-organization-members-to-a-team" - }, - { - "action": "team.add_repository", - "description": "A team was given access and permissions to a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "team.change_parent_team", - "description": "A child team was created or a child team's parent was changed.", - "docs_reference_links": "/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy" - }, - { - "action": "team.change_privacy", - "description": "A team's privacy level was changed.", - "docs_reference_links": "/organizations/organizing-members-into-teams/changing-team-visibility" - }, - { - "action": "team.create", - "description": "A new team is created.", - "docs_reference_links": "N/A" - }, - { - "action": "team.demote_maintainer", - "description": "A user was demoted from a team maintainer to a team member.", - "docs_reference_links": "/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member" - }, - { - "action": "team.destroy", - "description": "A team was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "team_discussions.clear", - "description": "An organization owner cleared the setting to allow team discussions for an organization or enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "team_discussions.disable", - "description": "Team discussions were disabled for an organization.", - "docs_reference_links": "/organizations/organizing-members-into-teams/disabling-team-discussions-for-your-organization" - }, - { - "action": "team_discussions.enable", - "description": "Team discussions were enabled for an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "team.promote_maintainer", - "description": "A user was promoted from a team member to a team maintainer.", - "docs_reference_links": "/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member#promoting-an-organization-member-to-team-maintainer" - }, - { - "action": "team.remove_member", - "description": "An organization member was removed from a team.", - "docs_reference_links": "/organizations/organizing-members-into-teams/removing-organization-members-from-a-team" - }, - { - "action": "team.remove_repository", - "description": "A repository was removed from a team's control.", - "docs_reference_links": "N/A" - }, - { - "action": "team.rename", - "description": "A team's name was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "team_sync_tenant.disabled", - "description": "Team synchronization with a tenant was disabled.", - "docs_reference_links": "/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization, /admin/identity-and-access-management/using-saml-for-enterprise-iam/managing-team-synchronization-for-organizations-in-your-enterprise" - }, - { - "action": "team_sync_tenant.enabled", - "description": "Team synchronization with a tenant was enabled.", - "docs_reference_links": "/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization, /admin/identity-and-access-management/using-saml-for-enterprise-iam/managing-team-synchronization-for-organizations-in-your-enterprise" - }, - { - "action": "team.update_repository_permission", - "description": "A team's permission to a repository was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.add_factor", - "description": "A secondary authentication factor was added to a user account.", - "docs_reference_links": "/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication" - }, - { - "action": "two_factor_authentication.disabled", - "description": "Two-factor authentication was disabled for a user account.", - "docs_reference_links": "https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/disabling-two-factor-authentication-for-your-personal-account" - }, - { - "action": "two_factor_authentication.enabled", - "description": "Two-factor authentication was enabled for a user account.", - "docs_reference_links": "https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication" - }, - { - "action": "two_factor_authentication.password_reset_fallback_sms", - "description": "A one-time password code was sent to a user account fallback phone number.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.recovery_codes_regenerated", - "description": "Two factor recovery codes were regenerated for a user account.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.remove_factor", - "description": "A secondary authentication factor was removed from a user account.", - "docs_reference_links": "/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication" - }, - { - "action": "two_factor_authentication.sign_in_fallback_sms", - "description": "A one-time password code was sent to a user account fallback phone number.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.update_fallback", - "description": "The two-factor authentication fallback for a user account was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "user.add_email", - "description": "An email address was added to a user account.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account" - }, - { - "action": "user.async_delete", - "description": "An asynchronous job was started to destroy a user account, eventually triggering a user.delete event.", - "docs_reference_links": "N/A" - }, - { - "action": "user.block_user", - "description": "A user was blocked by another user.", - "docs_reference_links": "N/A" - }, - { - "action": "user.change_password", - "description": "A user changed their password.", - "docs_reference_links": "N/A" - }, - { - "action": "user.correct_password_from_unrecognized_device", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.correct_password_from_unrecognized_device_and_location", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.correct_password_from_unrecognized_location", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.create", - "description": "A new user account was created.", - "docs_reference_links": "N/A" - }, - { - "action": "user.creation_rate_limit_exceeded", - "description": "The 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.", - "docs_reference_links": "N/A" - }, - { - "action": "user.delete", - "description": "A user account was destroyed by an asynchronous job.", - "docs_reference_links": "N/A" - }, - { - "action": "user.demote", - "description": "A site administrator was demoted to an ordinary user account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.destroy", - "description": "A user deleted his or her account, triggering user.async_delete.", - "docs_reference_links": "N/A" - }, - { - "action": "user.device_verification_failure", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.device_verification_requested", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.device_verification_success", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.failed_login", - "description": "A user tried to sign in with an incorrect username, password, or two-factor authentication code.", - "docs_reference_links": "N/A" - }, - { - "action": "user.flag_as_large_scale_contributor", - "description": "A 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.", - "docs_reference_links": "N/A" - }, - { - "action": "user.forgot_password", - "description": "A user requested a password reset.", - "docs_reference_links": "/authentication/keeping-your-account-and-data-secure/updating-your-github-access-credentials" - }, - { - "action": "user.grant_github_developer", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.hide_private_contributions_count", - "description": "A user changed the visibility of their private contributions. The number of contributions to private repositories on the user's profile are now hidden.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile" - }, - { - "action": "user.login", - "description": "A user signed in.", - "docs_reference_links": "N/A" - }, - { - "action": "user.logout", - "description": "A user signed out.", - "docs_reference_links": "N/A" - }, - { - "action": "user.minimize_comment", - "description": "A comment made by a user was minimized.", - "docs_reference_links": "N/A" - }, - { - "action": "user.partial_two_factor_email_followup", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.promote", - "description": "An ordinary user account was promoted to a site administrator.", - "docs_reference_links": "N/A" - }, - { - "action": "user.recreate", - "description": "A user's account was restored.", - "docs_reference_links": "N/A" - }, - { - "action": "user.remove_email", - "description": "An email address was removed from a user account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.remove_large_scale_contributor_flag", - "description": "A user account was no longer flagged as a large scale contributor.", - "docs_reference_links": "N/A" - }, - { - "action": "user.rename", - "description": "A username was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "user.report_abuse", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.report_content", - "description": "Triggered when you report an issue or pull request, or a comment on an issue, pull request, or commit.", - "docs_reference_links": "/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam" - }, - { - "action": "user.reset_password", - "description": "A user reset their account password.", - "docs_reference_links": "N/A" - }, - { - "action": "user.show_private_contributions_count", - "description": "A user changed the visibility of their private contributions. The number of contributions to private repositories on the user's profile are now shown.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile" - }, - { - "action": "user.sign_in_from_unrecognized_device", - "description": "A user signed in from an unrecognized device.", - "docs_reference_links": "N/A" - }, - { - "action": "user.sign_in_from_unrecognized_device_and_location", - "description": "A user signed in from an unrecognized device and location.", - "docs_reference_links": "N/A" - }, - { - "action": "user.sign_in_from_unrecognized_location", - "description": "A user signed in from an unrecognized location.", - "docs_reference_links": "N/A" - }, - { - "action": "user.suspend", - "description": "A user account was suspended.", - "docs_reference_links": "N/A" - }, - { - "action": "user.toggle_warn_private_email", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_challenge_failure", - "description": "A 2FA challenge issued for a user account failed.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_challenge_success", - "description": "A 2FA challenge issued for a user account succeeded.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recover", - "description": "A user used their 2FA recovery codes.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recovery_codes_downloaded", - "description": "A user downloaded 2FA recovery codes for their account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recovery_codes_printed", - "description": "A user printed 2FA recovery codes for their account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recovery_codes_viewed", - "description": "A user viewed 2FA recovery codes for their account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_requested", - "description": "A user was prompted for a two-factor authentication code.", - "docs_reference_links": "/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication" - }, - { - "action": "user.unblock_user", - "description": "A user was unblocked by another user.", - "docs_reference_links": "N/A" - }, - { - "action": "user.unminimize_comment", - "description": "A comment made by a user was unminimized.", - "docs_reference_links": "N/A" - }, - { - "action": "user.unsuspend", - "description": "A user account was unsuspended.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.approve_workflow_job", - "description": "A workflow job was approved.", - "docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments" - }, - { - "action": "workflows.bypass_protection_rules", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.cancel_workflow_run", - "description": "A workflow run was cancelled.", - "docs_reference_links": "/actions/managing-workflow-runs/canceling-a-workflow" - }, - { - "action": "workflows.comment_workflow_job", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.completed_workflow_run", - "description": "A 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.", - "docs_reference_links": "/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history" - }, - { - "action": "workflows.created_workflow_run", - "description": "A 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.", - "docs_reference_links": "/actions/learn-github-actions/understanding-github-actions#create-an-example-workflow" - }, - { - "action": "workflows.delete_workflow_run", - "description": "A workflow run was deleted.", - "docs_reference_links": "/actions/managing-workflow-runs/deleting-a-workflow-run" - }, - { - "action": "workflows.disable_workflow", - "description": "A workflow was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.enable_workflow", - "description": "A workflow was enabled, after previously being disabled by disable_workflow.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.prepared_workflow_job", - "description": "A 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.", - "docs_reference_links": "/actions/using-workflows/events-that-trigger-workflows" - }, - { - "action": "workflows.reject_workflow_job", - "description": "A workflow job was rejected.", - "docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments" - }, - { - "action": "workflows.rerun_workflow_run", - "description": "A workflow run was re-run.", - "docs_reference_links": "/actions/managing-workflow-runs/re-running-workflows-and-jobs" - } -] \ No newline at end of file diff --git a/src/audit-logs/data/ghes/organization.json b/src/audit-logs/data/ghes/organization.json deleted file mode 100644 index eaebf55f3644..000000000000 --- a/src/audit-logs/data/ghes/organization.json +++ /dev/null @@ -1,1542 +0,0 @@ -[ - { - "action": "checks.auto_trigger_disabled", - "description": "Automatic creation of check suites was disabled on a repository in the organization or enterprise.", - "docs_reference_links": "/rest/checks#update-repository-preferences-for-check-suites" - }, - { - "action": "checks.auto_trigger_enabled", - "description": "Automatic creation of check suites was enabled on a repository in the organization or enterprise.", - "docs_reference_links": "/rest/checks#update-repository-preferences-for-check-suites" - }, - { - "action": "custom_hosted_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_hosted_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_hosted_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_property_definition.create", - "description": "A new custom property definition was created.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_definition.destroy", - "description": "A custom property definition was deleted.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_definition.update", - "description": "A custom property definition was updated.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_value.create", - "description": "A repository's custom property value was manually set for the first time.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_value.destroy", - "description": "A repository's custom property value was deleted.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "custom_property_value.update", - "description": "A repository's custom property value was updated.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization" - }, - { - "action": "discussion_post.destroy", - "description": "Triggered when a team discussion post is deleted.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#deleting-a-comment" - }, - { - "action": "discussion_post_reply.destroy", - "description": "Triggered when a reply to a team discussion post is deleted.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#deleting-a-comment" - }, - { - "action": "discussion_post_reply.update", - "description": "Triggered when a reply to a team discussion post is edited.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#editing-a-comment" - }, - { - "action": "discussion_post.update", - "description": "Triggered when a team discussion post is edited.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/managing-disruptive-comments#editing-a-comment" - }, - { - "action": "git.clone", - "description": "A repository was cloned.", - "docs_reference_links": "N/A" - }, - { - "action": "git.fetch", - "description": "Changes were fetched from a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "git.push", - "description": "Changes were pushed to a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "hook.config_changed", - "description": "A hook's configuration was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "hook.create", - "description": "A new hook was added.", - "docs_reference_links": "/get-started/exploring-integrations/about-webhooks" - }, - { - "action": "hook.destroy", - "description": "A hook was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "hook.events_changed", - "description": "A hook's configured events were changed.", - "docs_reference_links": "N/A" - }, - { - "action": "integration.create", - "description": "A GitHub App was created.", - "docs_reference_links": "N/A" - }, - { - "action": "integration.destroy", - "description": "A GitHub App was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "integration_installation.create", - "description": "A GitHub App was installed.", - "docs_reference_links": "/apps/using-github-apps/authorizing-github-apps" - }, - { - "action": "integration_installation.destroy", - "description": "A GitHub App was uninstalled.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#blocking-access" - }, - { - "action": "integration_installation.repositories_added", - "description": "Repositories were added to a GitHub App.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#modifying-repository-access" - }, - { - "action": "integration_installation.repositories_removed", - "description": "Repositories were removed from a GitHub App.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#modifying-repository-access" - }, - { - "action": "integration_installation.version_updated", - "description": "Permissions for a GitHub App were updated.", - "docs_reference_links": "/apps/using-github-apps/approving-updated-permissions-for-a-github-app" - }, - { - "action": "integration.manager_added", - "description": "A member of an enterprise or organization was added as a GitHub App manager.", - "docs_reference_links": "/organizations/managing-programmatic-access-to-your-organization/adding-and-removing-github-app-managers-in-your-organization#giving-someone-the-ability-to-manage-all-github-apps-owned-by-the-organization" - }, - { - "action": "integration.manager_removed", - "description": "A member of an enterprise or organization was removed from being a GitHub App manager.", - "docs_reference_links": "/organizations/managing-programmatic-access-to-your-organization/adding-and-removing-github-app-managers-in-your-organization#removing-a-github-app-managers-permissions-for-the-entire-organization" - }, - { - "action": "integration.transfer", - "description": "Ownership of a GitHub App was transferred to another user or organization.", - "docs_reference_links": "/apps/maintaining-github-apps/transferring-ownership-of-a-github-app" - }, - { - "action": "ip_allow_list.disable", - "description": "An IP allow list was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.disable_for_installed_apps", - "description": "An IP allow list was disabled for installed GitHub Apps.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.enable", - "description": "An IP allow list was enabled.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list.enable_for_installed_apps", - "description": "An IP allow list was enabled for installed GitHub Apps.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list_entry.create", - "description": "An IP address was added to an IP allow list.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list_entry.destroy", - "description": "An IP address was deleted from an IP allow list.", - "docs_reference_links": "N/A" - }, - { - "action": "ip_allow_list_entry.update", - "description": "An IP address or its description was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "oauth_application.create", - "description": "An OAuth application was created.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.destroy", - "description": "An OAuth application was deleted.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.reset_secret", - "description": "The secret key for an OAuth application was reset.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.revoke_tokens", - "description": "Token(s) for an OAuth application were revoked.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.transfer", - "description": "An OAuth application was transferred from one account to another.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "org.accept_business_invitation", - "description": "An invitation sent to an organization to join an enterprise was accepted.", - "docs_reference_links": "/admin/user-management/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise#inviting-an-organization-to-join-your-enterprise-account" - }, - { - "action": "org.add_billing_manager", - "description": "A billing manager was added to an organization.", - "docs_reference_links": "/organizations/managing-peoples-access-to-your-organization-with-roles/adding-a-billing-manager-to-your-organization" - }, - { - "action": "org.add_member", - "description": "A user joined an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.add_security_manager", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_disabled_for_new_repos", - "description": "GitHub Advanced Security was disabled for new repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_disabled_on_all_repos", - "description": "GitHub Advanced Security was disabled for all repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_enabled_for_new_repos", - "description": "GitHub Advanced Security was enabled for new repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_enabled_on_all_repos", - "description": "GitHub Advanced Security was enabled for all repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_policy_selected_member_disabled", - "description": "An enterprise owner prevented GitHub Advanced Security features from being enabled for repositories owned by the organization.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise" - }, - { - "action": "org.advanced_security_policy_selected_member_enabled", - "description": "An enterprise owner allowed GitHub Advanced Security features to be enabled for repositories owned by the organization.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise" - }, - { - "action": "org.billing_signup_error", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.block_user", - "description": "An organization owner blocked a user from accessing the organization's repositories.", - "docs_reference_links": "/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization" - }, - { - "action": "org.cancel_business_invitation", - "description": "An invitation for an organization to join an enterprise was revoked", - "docs_reference_links": "/admin/user-management/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise#inviting-an-organization-to-join-your-enterprise-account" - }, - { - "action": "org.cancel_invitation", - "description": "An invitation sent to a user to join an organization was revoked.", - "docs_reference_links": "N/A" - }, - { - "action": "org.clear_custom_invitation_rate_limit", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.codeql_disabled", - "description": "Code scanning using the default setup was disabled for an organization.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale" - }, - { - "action": "org.codeql_enabled", - "description": "Code scanning using the default setup was enabled for an organization.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale" - }, - { - "action": "org.config.disable_collaborators_only", - "description": "The interaction limit for collaborators only for an organization was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.disable_contributors_only", - "description": "The interaction limit for prior contributors only for an organization was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.disable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only for an organization was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.enable_collaborators_only", - "description": "The interaction limit for collaborators only for an organization was enabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.enable_contributors_only", - "description": "The interaction limit for prior contributors only for an organization was enabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.config.enable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only for an organization was enabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-organization#limiting-interactions-in-your-organization" - }, - { - "action": "org.configure_self_hosted_jit_runner", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.confirm_business_invitation", - "description": "An invitation for an organization to join an enterprise was confirmed.", - "docs_reference_links": "/admin/user-management/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise#inviting-an-organization-to-join-your-enterprise-account" - }, - { - "action": "org.create", - "description": "An organization was created.", - "docs_reference_links": "/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch" - }, - { - "action": "org.disable_member_team_creation_permission", - "description": "Team creation was limited to owners.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-team-creation-permissions-in-your-organization" - }, - { - "action": "org.disable_reader_discussion_creation_permission", - "description": "An organization owner limited discussion creation to users with at least triage permission in an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/managing-discussion-creation-for-repositories-in-your-organization" - }, - { - "action": "org.disable_saml", - "description": "SAML single sign-on was disabled for an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.disable_two_factor_requirement", - "description": "A two-factor authentication requirement was disabled for the organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.display_commenter_full_name_disabled", - "description": "An organization owner disabled the display of a commenter's full name in an organization. Members cannot see a comment author's full name.", - "docs_reference_links": "N/A" - }, - { - "action": "org.display_commenter_full_name_enabled", - "description": "An organization owner enabled the display of a commenter's full name in an organization. Members can see a comment author's full name.", - "docs_reference_links": "N/A" - }, - { - "action": "org.enable_member_team_creation_permission", - "description": "Team creation by members was allowed.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-team-creation-permissions-in-your-organization" - }, - { - "action": "org.enable_reader_discussion_creation_permission", - "description": "An organization owner allowed users with read access to create discussions in an organization", - "docs_reference_links": "/organizations/managing-organization-settings/managing-discussion-creation-for-repositories-in-your-organization" - }, - { - "action": "org.enable_saml", - "description": "SAML single sign-on was enabled for the organization.", - "docs_reference_links": "/organizations/managing-saml-single-sign-on-for-your-organization/enabling-and-testing-saml-single-sign-on-for-your-organization" - }, - { - "action": "org.enable_two_factor_requirement", - "description": "Two-factor authentication is now required for the organization.", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization" - }, - { - "action": "org.integration_manager_added", - "description": "An organization owner granted a member access to manage all GitHub Apps owned by an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.integration_manager_removed", - "description": "An organization owner removed access to manage all GitHub Apps owned by an organization from an organization member.", - "docs_reference_links": "N/A" - }, - { - "action": "org.invite_member", - "description": "A new user was invited to join an organization.", - "docs_reference_links": "/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization" - }, - { - "action": "org.invite_to_business", - "description": "An organization was invited to join an enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "org.members_can_update_protected_branches.disable", - "description": "The ability for enterprise members to update protected branches was disabled. Only enterprise owners can update protected branches.", - "docs_reference_links": "N/A" - }, - { - "action": "org.members_can_update_protected_branches.enable", - "description": "The ability for enterprise members to update protected branches was enabled. Members of an organization can update protected branches.", - "docs_reference_links": "N/A" - }, - { - "action": "org.rate_limited_invites", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.register_self_hosted_runner", - "description": "A new self-hosted runner was registered.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-organization" - }, - { - "action": "org.remove_billing_manager", - "description": "A billing manager was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "/organizations/managing-peoples-access-to-your-organization-with-roles/removing-a-billing-manager-from-your-organization, /organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization" - }, - { - "action": "org.remove_member", - "description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_outside_collaborator", - "description": "An outside collaborator was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_security_manager", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_self_hosted_runner", - "description": "A self-hosted runner was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-an-organization" - }, - { - "action": "org.rename", - "description": "An organization was renamed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.restore_member", - "description": "An organization member was restored.", - "docs_reference_links": "/organizations/managing-membership-in-your-organization/reinstating-a-former-member-of-your-organization" - }, - { - "action": "org.runner_group_created", - "description": "A self-hosted runner group was created.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#creating-a-self-hosted-runner-group-for-an-organization" - }, - { - "action": "org.runner_group_removed", - "description": "A self-hosted runner group was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#removing-a-self-hosted-runner-group" - }, - { - "action": "org.runner_group_runner_removed", - "description": "The REST API was used to remove a self-hosted runner from a group.", - "docs_reference_links": "/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization" - }, - { - "action": "org.runner_group_runners_added", - "description": "A self-hosted runner was added to a group.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group" - }, - { - "action": "org.runner_group_runners_updated", - "description": "A runner group's list of members was updated.", - "docs_reference_links": "/rest/actions#set-self-hosted-runners-in-a-group-for-an-organization" - }, - { - "action": "org.runner_group_updated", - "description": "The configuration of a self-hosted runner group was changed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/managing-access-to-self-hosted-runners-using-groups#changing-the-access-policy-of-a-self-hosted-runner-group" - }, - { - "action": "org_secret_scanning_automatic_validity_checks.disabled", - "description": "Automatic partner validation checks have been disabled at the organization level", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-validity-checks-for-partner-patterns-in-an-organization" - }, - { - "action": "org_secret_scanning_automatic_validity_checks.enabled", - "description": "Automatic partner validation checks have been enabled at the organization level", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-validity-checks-for-partner-patterns-in-an-organization" - }, - { - "action": "org_secret_scanning_custom_pattern.create", - "description": "A custom pattern was created for secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org_secret_scanning_custom_pattern.delete", - "description": "A custom pattern was removed from secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#removing-a-custom-pattern" - }, - { - "action": "org_secret_scanning_custom_pattern.publish", - "description": "A custom pattern was published for secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org.secret_scanning_custom_pattern_push_protection_disabled", - "description": "Push protection for a custom pattern for secret scanning was disabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org.secret_scanning_custom_pattern_push_protection_enabled", - "description": "Push protection for a custom pattern for secret scanning was enabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization" - }, - { - "action": "org_secret_scanning_custom_pattern.update", - "description": "Changes to a custom pattern were saved and a dry run was executed for secret scanning in an organization.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#editing-a-custom-pattern" - }, - { - "action": "org.secret_scanning_push_protection_custom_message_disabled", - "description": "The custom message triggered by an attempted push to a push-protected repository was disabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#enabling-secret-scanning-as-a-push-protection-for-an-organization" - }, - { - "action": "org.secret_scanning_push_protection_custom_message_enabled", - "description": "The custom message triggered by an attempted push to a push-protected repository was enabled for an organization.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#enabling-secret-scanning-as-a-push-protection-for-an-organization" - }, - { - "action": "org.secret_scanning_push_protection_custom_message_updated", - "description": "The custom message triggered by an attempted push to a push-protected repository was updated for an organization.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#enabling-secret-scanning-as-a-push-protection-for-an-organization" - }, - { - "action": "org.secret_scanning_push_protection_disable", - "description": "Push protection for secret scanning was disabled.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning" - }, - { - "action": "org.secret_scanning_push_protection_enable", - "description": "Push protection for secret scanning was enabled.", - "docs_reference_links": "N/A" - }, - { - "action": "org.secret_scanning_push_protection_new_repos_disable", - "description": "Push protection for secret scanning was disabled for all new repositories in the organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.secret_scanning_push_protection_new_repos_enable", - "description": "Push protection for secret scanning was enabled for all new repositories in the organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.self_hosted_runner_offline", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "org.self_hosted_runner_online", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "org.self_hosted_runner_updated", - "description": "The runner application was updated. This event is not included in the JSON/CSV export.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#about-self-hosted-runners" - }, - { - "action": "org.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#enabling-workflows-for-private-repository-forks" - }, - { - "action": "org.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs in an organization was changed.", - "docs_reference_links": "/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization" - }, - { - "action": "org.set_custom_invitation_rate_limit", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "org.sso_response", - "description": "A 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.", - "docs_reference_links": "N/A" - }, - { - "action": "org.unblock_user", - "description": "A user was unblocked from an organization.", - "docs_reference_links": "/communities/maintaining-your-safety-on-github/unblocking-a-user-from-your-organization" - }, - { - "action": "org.update_actions_settings", - "description": "An organization owner or site administrator updated GitHub Actions policy settings for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization" - }, - { - "action": "org.update_default_repository_permission", - "description": "The default repository permission level for organization members was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_member_repository_creation_permission", - "description": "The create repository permission for organization members was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_member_repository_invitation_permission", - "description": "An organization owner changed the policy setting for organization members inviting outside collaborators to repositories.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-permissions-for-adding-outside-collaborators" - }, - { - "action": "org.update_saml_provider_settings", - "description": "An organization's SAML provider settings were updated.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_terms_of_service", - "description": "An organization changed between the Standard Terms of Service and the GitHub Customer Agreement.", - "docs_reference_links": "/organizations/managing-organization-settings/upgrading-to-the-github-customer-agreement" - }, - { - "action": "organization_domain.approve", - "description": "A domain was approved for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#approving-a-domain-for-your-organization" - }, - { - "action": "organization_domain.create", - "description": "A domain was added to an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#verifying-a-domain-for-your-organization" - }, - { - "action": "organization_domain.destroy", - "description": "A domain was removed from an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#removing-an-approved-or-verified-domain" - }, - { - "action": "organization_domain.verify", - "description": "A domain was verified for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization#verifying-a-domain-for-your-organization" - }, - { - "action": "packages.package_deleted", - "description": "An entire package was deleted.", - "docs_reference_links": "/packages/learn-github-packages/deleting-and-restoring-a-package" - }, - { - "action": "packages.package_published", - "description": "A package was published or republished to an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "packages.package_version_deleted", - "description": "A specific package version was deleted.", - "docs_reference_links": "/packages/learn-github-packages/deleting-and-restoring-a-package" - }, - { - "action": "packages.package_version_published", - "description": "A specific package version was published or republished to a package.", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.authorized_users_teams", - "description": "The users, teams, or integrations allowed to bypass a branch protection were changed.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches" - }, - { - "action": "protected_branch.branch_allowances", - "description": "A protected branch allowance was given to a specific user, team or integration.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.create", - "description": "Branch protection was enabled on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.destroy", - "description": "Branch protection was disabled on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.dismiss_stale_reviews", - "description": "Enforcement of dismissing stale pull requests was updated on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.dismissal_restricted_users_teams", - "description": "Enforcement of restricting users and/or teams who can dismiss reviews was updated on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.policy_override", - "description": "A branch protection requirement was overridden by a repository administrator.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.rejected_ref_update", - "description": "A branch update attempt was rejected.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_admin_enforced", - "description": "Branch protection was enforced for repository administrators.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_allow_deletions_enforcement_level", - "description": "Branch deletion was enabled or disabled for a protected branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_allow_force_pushes_enforcement_level", - "description": "Force pushes were enabled or disabled for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_ignore_approvals_from_contributors", - "description": "Ignoring of approvals from contributors to a pull request was enabled or disabled for a branch.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule" - }, - { - "action": "protected_branch.update_linear_history_requirement_enforcement_level", - "description": "Required linear commit history was enabled or disabled for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_lock_allows_fetch_and_merge", - "description": "Fork syncing was enabled or disabled for a read-only branch", - "docs_reference_links": "repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#lock-branch" - }, - { - "action": "protected_branch.update_lock_branch_enforcement_level", - "description": "The enforcement of a branch lock was updated.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#lock-branch" - }, - { - "action": "protected_branch.update_name", - "description": "A branch name pattern was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_pull_request_reviews_enforcement_level", - "description": "Enforcement of required pull request reviews was updated for a branch. Can be 0 (deactivated), 1 (non-admins), or 2 (everyone).", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_require_code_owner_review", - "description": "Enforcement of required code owner review was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_require_last_push_approval", - "description": "Someone other than the person who pushed the last code-modifying commit to the branch must approve pull requests for the branch.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-pull-request-reviews-before-merging" - }, - { - "action": "protected_branch.update_required_approving_review_count", - "description": "Enforcement of the required number of approvals before merging was updated on a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_required_status_checks_enforcement_level", - "description": "Enforcement of required status checks was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_signature_requirement_enforcement_level", - "description": "Enforcement of required commit signing was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "protected_branch.update_strict_required_status_checks_policy", - "description": "Enforcement of required status checks was updated for a branch.", - "docs_reference_links": "N/A" - }, - { - "action": "public_key.create", - "description": "An SSH key was added to a user account or a deploy key was added to a repository.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account" - }, - { - "action": "public_key.delete", - "description": "An SSH key was removed from a user account or a deploy key was removed from a repository.", - "docs_reference_links": "/authentication/keeping-your-account-and-data-secure/reviewing-your-ssh-keys" - }, - { - "action": "public_key.unverification_failure", - "description": "A user account's SSH key or a repository's deploy key was unable to be unverified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.unverify", - "description": "A user account's SSH key or a repository's deploy key was unverified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.update", - "description": "A user account's SSH key or a repository's deploy key was updated.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.verification_failure", - "description": "A user account's SSH key or a repository's deploy key was unable to be verified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.verify", - "description": "A user account's SSH key or a repository's deploy key was verified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "pull_request.close", - "description": "A pull request was closed without being merged.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/closing-a-pull-request" - }, - { - "action": "pull_request.converted_to_draft", - "description": "A pull request was converted to a draft.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft" - }, - { - "action": "pull_request.create", - "description": "A pull request was created.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request" - }, - { - "action": "pull_request.create_review_request", - "description": "A review was requested on a pull request.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews" - }, - { - "action": "pull_request.in_progress", - "description": "A pull request was marked as in progress.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request.indirect_merge", - "description": "A pull request was considered merged because the pull request's commits were merged into the target branch.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request.merge", - "description": "A pull request was merged.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request" - }, - { - "action": "pull_request.ready_for_review", - "description": "A pull request was marked as ready for review.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review" - }, - { - "action": "pull_request.rebase", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request.remove_review_request", - "description": "A review request was removed from a pull request.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews" - }, - { - "action": "pull_request.reopen", - "description": "A pull request was reopened after previously being closed.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review_comment.create", - "description": "A review comment was added to a pull request.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews" - }, - { - "action": "pull_request_review_comment.delete", - "description": "A review comment on a pull request was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review_comment.update", - "description": "A review comment on a pull request was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review.delete", - "description": "A review on a pull request was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "pull_request_review.dismiss", - "description": "A review on a pull request was dismissed.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review" - }, - { - "action": "pull_request_review.submit", - "description": "A review on a pull request was submitted.", - "docs_reference_links": "/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request#submitting-your-review" - }, - { - "action": "repo.access", - "description": "The visibility of a repository changed.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility" - }, - { - "action": "repo.add_member", - "description": "A collaborator was added to a repository.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository" - }, - { - "action": "repo.add_topic", - "description": "A topic was added to a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics" - }, - { - "action": "repo.advanced_security_disabled", - "description": "GitHub Advanced Security was disabled for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository" - }, - { - "action": "repo.advanced_security_enabled", - "description": "GitHub Advanced Security was enabled for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository" - }, - { - "action": "repo.archived", - "description": "A repository was archived.", - "docs_reference_links": "/repositories/archiving-a-github-repository" - }, - { - "action": "repo.change_merge_setting", - "description": "Pull request merge options were changed for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.code_scanning_analysis_deleted", - "description": "Code scanning analysis for a repository was deleted.", - "docs_reference_links": "/rest/code-scanning#delete-a-code-scanning-analysis-from-a-repository" - }, - { - "action": "repo.code_scanning_configuration_for_branch_deleted", - "description": "A code scanning configuration for a branch of a repository was deleted.", - "docs_reference_links": "/code-security/code-scanning/managing-code-scanning-alerts/managing-code-scanning-alerts-for-your-repository#removing-stale-configurations-and-alerts-from-a-branch" - }, - { - "action": "repo.codeql_disabled", - "description": "Code scanning using the default setup was disabled for a repository.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning" - }, - { - "action": "repo.codeql_enabled", - "description": "Code scanning using the default setup was enabled for a repository.", - "docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning" - }, - { - "action": "repo.config.disable_collaborators_only", - "description": "The interaction limit for collaborators only was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.disable_contributors_only", - "description": "The interaction limit for prior contributors only was disabled in a repository.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.disable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only was disabled in a repository.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_collaborators_only", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_contributors_only", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_sockpuppet_disallowed", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.configure_self_hosted_jit_runner", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.create", - "description": "A repository was created.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/creating-a-new-repository" - }, - { - "action": "repo.destroy", - "description": "A repository was deleted.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/deleting-a-repository" - }, - { - "action": "repo.download_zip", - "description": "A source code archive of a repository was downloaded as a ZIP file.", - "docs_reference_links": "/repositories/working-with-files/using-files/downloading-source-code-archives" - }, - { - "action": "repo.pages_cname", - "description": "A GitHub Pages custom domain was modified in a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_create", - "description": "A GitHub Pages site was created.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_destroy", - "description": "A GitHub Pages site was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_https_redirect_disabled", - "description": "HTTPS redirects were disabled for a GitHub Pages site.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_https_redirect_enabled", - "description": "HTTPS redirects were enabled for a GitHub Pages site.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_private", - "description": "A GitHub Pages site visibility was changed to private.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_public", - "description": "A GitHub Pages site visibility was changed to public.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_source", - "description": "A GitHub Pages source was modified.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.register_self_hosted_runner", - "description": "A new self-hosted runner was registered.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository" - }, - { - "action": "repo.remove_member", - "description": "A collaborator was removed from a repository.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository" - }, - { - "action": "repo.remove_self_hosted_runner", - "description": "A self-hosted runner was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository" - }, - { - "action": "repo.remove_topic", - "description": "A topic was removed from a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.rename", - "description": "A repository was renamed.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/renaming-a-repository" - }, - { - "action": "repo.restore", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.self_hosted_runner_offline", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "repo.self_hosted_runner_online", - "description": "The 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.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/monitoring-and-troubleshooting-self-hosted-runners#checking-the-status-of-a-self-hosted-runner" - }, - { - "action": "repo.self_hosted_runner_updated", - "description": "The runner application was updated. This event is not included in the JSON/CSV export.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#about-self-hosted-runners" - }, - { - "action": "repo.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-forks-of-private-repositories" - }, - { - "action": "repo.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs in a repository was changed.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository" - }, - { - "action": "repo.staff_unlock", - "description": "An enterprise owner or GitHub staff (with permission from a repository administrator) temporarily unlocked the repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.transfer", - "description": "A user accepted a request to receive a transferred repository.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/transferring-a-repository" - }, - { - "action": "repo.transfer_outgoing", - "description": "A repository was transferred to another repository network.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.transfer_start", - "description": "A user sent a request to transfer a repository to another user or organization.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.unarchived", - "description": "A repository was unarchived.", - "docs_reference_links": "/repositories/archiving-a-github-repository" - }, - { - "action": "repo.update_actions_access_settings", - "description": "The setting to control how a repository was used by GitHub Actions workflows in other repositories was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.update_actions_settings", - "description": "A repository administrator changed GitHub Actions policy settings for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.update_member", - "description": "A user's permission to a repository was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_branch_protection_evaluation.disable", - "description": "Branch protections were disabled for the repository.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule" - }, - { - "action": "repository_branch_protection_evaluation.enable", - "description": "Branch protections were enabled for this repository.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule" - }, - { - "action": "repository_invitation.accept", - "description": "An invitation to join a repository was accepted.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.cancel", - "description": "An invitation to join a repository was canceled.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.create", - "description": "An invitation to join a repository was sent.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.reject", - "description": "An invitation to join a repository was declined.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_ruleset.create", - "description": "A repository ruleset was created.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository" - }, - { - "action": "repository_ruleset.destroy", - "description": "A repository ruleset was deleted.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#deleting-a-ruleset" - }, - { - "action": "repository_ruleset.update", - "description": "A repository ruleset was edited.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#editing-a-ruleset" - }, - { - "action": "repository_secret_scanning_automatic_validity_checks.disabled", - "description": "Automatic partner validation checks have been disabled at the repository level", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#allowing-validity-checks-for-partner-patterns-in-a-repository" - }, - { - "action": "repository_secret_scanning_automatic_validity_checks.enabled", - "description": "Automatic partner validation checks have been enabled at the repository level", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#allowing-validity-checks-for-partner-patterns-in-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern.create", - "description": "A custom pattern was created for secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern.delete", - "description": "A custom pattern was removed from secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#removing-a-custom-pattern" - }, - { - "action": "repository_secret_scanning_custom_pattern.publish", - "description": "A custom pattern was published for secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern_push_protection.disabled", - "description": "Push protection for a custom pattern for secret scanning was disabled for your repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern_push_protection.enabled", - "description": "Push protection for a custom pattern for secret scanning was enabled for your repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository" - }, - { - "action": "repository_secret_scanning_custom_pattern.update", - "description": "Changes to a custom pattern were saved and a dry run was executed for secret scanning in a repository.", - "docs_reference_links": "/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning#editing-a-custom-pattern" - }, - { - "action": "repository_secret_scanning.disable", - "description": "Secret scanning was disabled for a repository.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "repository_secret_scanning.enable", - "description": "Secret scanning was enabled for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_secret_scanning_push_protection.disable", - "description": "Secret scanning push protection was disabled for a repository.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning" - }, - { - "action": "repository_secret_scanning_push_protection.enable", - "description": "Secret scanning push protection was enabled for a repository.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning" - }, - { - "action": "restrict_notification_delivery.disable", - "description": "Email notification restrictions for an organization or enterprise were disabled.", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/restricting-email-notifications-for-your-organization, /admin/policies/enforcing-policies-for-your-enterprise/restricting-email-notifications-for-your-enterprise" - }, - { - "action": "restrict_notification_delivery.enable", - "description": "Email notification restrictions for an organization or enterprise were enabled.", - "docs_reference_links": "/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/restricting-email-notifications-for-your-organization, /admin/policies/enforcing-policies-for-your-enterprise/restricting-email-notifications-for-your-enterprise" - }, - { - "action": "secret_scanning_alert.create", - "description": "GitHub detected a secret and created a secret scanning alert.", - "docs_reference_links": "/code-security/secret-scanning/managing-alerts-from-secret-scanning" - }, - { - "action": "secret_scanning_alert.reopen", - "description": "A seret scanning alert was reopened.", - "docs_reference_links": "N/A" - }, - { - "action": "secret_scanning_alert.resolve", - "description": "A seret scanning alert was resolved.", - "docs_reference_links": "N/A" - }, - { - "action": "secret_scanning_alert.revoke", - "description": "A secret scanning alert was revoked.", - "docs_reference_links": "N/A" - }, - { - "action": "secret_scanning_alert.validate", - "description": "A secret scanning alert was validated.", - "docs_reference_links": "/code-security/secret-scanning/managing-alerts-from-secret-scanning" - }, - { - "action": "secret_scanning.disable", - "description": "Secret scanning was disabled for all existing repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning.enable", - "description": "Secret scanning was enabled for all existing repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning_new_repos.disable", - "description": "Secret scanning was disabled for all new repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning_new_repos.enable", - "description": "Secret scanning was enabled for all new repositories.", - "docs_reference_links": "/code-security/secret-scanning/about-secret-scanning" - }, - { - "action": "secret_scanning_push_protection.bypass", - "description": "Triggered when a user bypasses the push protection on a secret detected by secret scanning.", - "docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret" - }, - { - "action": "ssh_certificate_authority.create", - "description": "An SSH certificate authority for an organization or enterprise was created.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "ssh_certificate_authority.destroy", - "description": "An SSH certificate authority for an organization or enterprise was deleted.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "ssh_certificate_requirement.disable", - "description": "The requirement for members to use SSH certificates to access an organization resources was disabled.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "ssh_certificate_requirement.enable", - "description": "The requirement for members to use SSH certificates to access an organization resources was enabled.", - "docs_reference_links": "/organizations/managing-git-access-to-your-organizations-repositories/managing-your-organizations-ssh-certificate-authorities, /admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise" - }, - { - "action": "staff.set_domain_token_expiration", - "description": "The verification code expiry time for an organization or enterprise domain was set.", - "docs_reference_links": "N/A" - }, - { - "action": "staff.unverify_domain", - "description": "An organization or enterprise domain was unverified.", - "docs_reference_links": "N/A" - }, - { - "action": "staff.verify_domain", - "description": "An organization or enterprise domain was verified.", - "docs_reference_links": "N/A" - }, - { - "action": "team.add_member", - "description": "A member of an organization was added to a team.", - "docs_reference_links": "/organizations/organizing-members-into-teams/adding-organization-members-to-a-team" - }, - { - "action": "team.add_repository", - "description": "A team was given access and permissions to a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "team.change_parent_team", - "description": "A child team was created or a child team's parent was changed.", - "docs_reference_links": "/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy" - }, - { - "action": "team.change_privacy", - "description": "A team's privacy level was changed.", - "docs_reference_links": "/organizations/organizing-members-into-teams/changing-team-visibility" - }, - { - "action": "team.create", - "description": "A new team is created.", - "docs_reference_links": "N/A" - }, - { - "action": "team.demote_maintainer", - "description": "A user was demoted from a team maintainer to a team member.", - "docs_reference_links": "/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member" - }, - { - "action": "team.destroy", - "description": "A team was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "team_discussions.clear", - "description": "An organization owner cleared the setting to allow team discussions for an organization or enterprise.", - "docs_reference_links": "N/A" - }, - { - "action": "team_discussions.disable", - "description": "Team discussions were disabled for an organization.", - "docs_reference_links": "/organizations/organizing-members-into-teams/disabling-team-discussions-for-your-organization" - }, - { - "action": "team_discussions.enable", - "description": "Team discussions were enabled for an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "team.promote_maintainer", - "description": "A user was promoted from a team member to a team maintainer.", - "docs_reference_links": "/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member#promoting-an-organization-member-to-team-maintainer" - }, - { - "action": "team.remove_member", - "description": "An organization member was removed from a team.", - "docs_reference_links": "/organizations/organizing-members-into-teams/removing-organization-members-from-a-team" - }, - { - "action": "team.remove_repository", - "description": "A repository was removed from a team's control.", - "docs_reference_links": "N/A" - }, - { - "action": "team.rename", - "description": "A team's name was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "team_sync_tenant.disabled", - "description": "Team synchronization with a tenant was disabled.", - "docs_reference_links": "/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization, /admin/identity-and-access-management/using-saml-for-enterprise-iam/managing-team-synchronization-for-organizations-in-your-enterprise" - }, - { - "action": "team_sync_tenant.enabled", - "description": "Team synchronization with a tenant was enabled.", - "docs_reference_links": "/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization, /admin/identity-and-access-management/using-saml-for-enterprise-iam/managing-team-synchronization-for-organizations-in-your-enterprise" - }, - { - "action": "team.update_repository_permission", - "description": "A team's permission to a repository was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.approve_workflow_job", - "description": "A workflow job was approved.", - "docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments" - }, - { - "action": "workflows.bypass_protection_rules", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.cancel_workflow_run", - "description": "A workflow run was cancelled.", - "docs_reference_links": "/actions/managing-workflow-runs/canceling-a-workflow" - }, - { - "action": "workflows.comment_workflow_job", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.completed_workflow_run", - "description": "A 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.", - "docs_reference_links": "/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history" - }, - { - "action": "workflows.created_workflow_run", - "description": "A 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.", - "docs_reference_links": "/actions/learn-github-actions/understanding-github-actions#create-an-example-workflow" - }, - { - "action": "workflows.delete_workflow_run", - "description": "A workflow run was deleted.", - "docs_reference_links": "/actions/managing-workflow-runs/deleting-a-workflow-run" - }, - { - "action": "workflows.disable_workflow", - "description": "A workflow was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.enable_workflow", - "description": "A workflow was enabled, after previously being disabled by disable_workflow.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.prepared_workflow_job", - "description": "A 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.", - "docs_reference_links": "/actions/using-workflows/events-that-trigger-workflows" - }, - { - "action": "workflows.reject_workflow_job", - "description": "A workflow job was rejected.", - "docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments" - }, - { - "action": "workflows.rerun_workflow_run", - "description": "A workflow run was re-run.", - "docs_reference_links": "/actions/managing-workflow-runs/re-running-workflows-and-jobs" - } -] \ No newline at end of file diff --git a/src/audit-logs/data/ghes/user.json b/src/audit-logs/data/ghes/user.json deleted file mode 100644 index 097142f4201f..000000000000 --- a/src/audit-logs/data/ghes/user.json +++ /dev/null @@ -1,772 +0,0 @@ -[ - { - "action": "business.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-fork-pull-requests-in-private-repositories" - }, - { - "action": "business.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs was changed for an enterprise.", - "docs_reference_links": "/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-artifact-and-log-retention-in-your-enterprise" - }, - { - "action": "checks.auto_trigger_disabled", - "description": "Automatic creation of check suites was disabled on a repository in the organization or enterprise.", - "docs_reference_links": "/rest/checks#update-repository-preferences-for-check-suites" - }, - { - "action": "checks.auto_trigger_enabled", - "description": "Automatic creation of check suites was enabled on a repository in the organization or enterprise.", - "docs_reference_links": "/rest/checks#update-repository-preferences-for-check-suites" - }, - { - "action": "custom_hosted_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_hosted_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "custom_hosted_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "github_hosted_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "hook.config_changed", - "description": "A hook's configuration was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "hook.create", - "description": "A new hook was added.", - "docs_reference_links": "/get-started/exploring-integrations/about-webhooks" - }, - { - "action": "hook.destroy", - "description": "A hook was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "hook.events_changed", - "description": "A hook's configured events were changed.", - "docs_reference_links": "N/A" - }, - { - "action": "integration.create", - "description": "A GitHub App was created.", - "docs_reference_links": "N/A" - }, - { - "action": "integration.destroy", - "description": "A GitHub App was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "integration_installation.create", - "description": "A GitHub App was installed.", - "docs_reference_links": "/apps/using-github-apps/authorizing-github-apps" - }, - { - "action": "integration_installation.destroy", - "description": "A GitHub App was uninstalled.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#blocking-access" - }, - { - "action": "integration_installation.repositories_added", - "description": "Repositories were added to a GitHub App.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#modifying-repository-access" - }, - { - "action": "integration_installation.repositories_removed", - "description": "Repositories were removed from a GitHub App.", - "docs_reference_links": "/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#modifying-repository-access" - }, - { - "action": "integration_installation.version_updated", - "description": "Permissions for a GitHub App were updated.", - "docs_reference_links": "/apps/using-github-apps/approving-updated-permissions-for-a-github-app" - }, - { - "action": "integration.manager_added", - "description": "A member of an enterprise or organization was added as a GitHub App manager.", - "docs_reference_links": "/organizations/managing-programmatic-access-to-your-organization/adding-and-removing-github-app-managers-in-your-organization#giving-someone-the-ability-to-manage-all-github-apps-owned-by-the-organization" - }, - { - "action": "integration.manager_removed", - "description": "A member of an enterprise or organization was removed from being a GitHub App manager.", - "docs_reference_links": "/organizations/managing-programmatic-access-to-your-organization/adding-and-removing-github-app-managers-in-your-organization#removing-a-github-app-managers-permissions-for-the-entire-organization" - }, - { - "action": "integration.transfer", - "description": "Ownership of a GitHub App was transferred to another user or organization.", - "docs_reference_links": "/apps/maintaining-github-apps/transferring-ownership-of-a-github-app" - }, - { - "action": "oauth_application.create", - "description": "An OAuth application was created.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.destroy", - "description": "An OAuth application was deleted.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.reset_secret", - "description": "The secret key for an OAuth application was reset.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.revoke_tokens", - "description": "Token(s) for an OAuth application were revoked.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_application.transfer", - "description": "An OAuth application was transferred from one account to another.", - "docs_reference_links": "/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app#registering-your-app" - }, - { - "action": "oauth_authorization.create", - "description": "An authorization for an OAuth application was created.", - "docs_reference_links": "/apps/oauth-apps/using-oauth-apps/authorizing-oauth-apps" - }, - { - "action": "oauth_authorization.destroy", - "description": "An authorization for an OAuth application was deleted.", - "docs_reference_links": "/apps/using-github-apps/reviewing-your-authorized-integrations" - }, - { - "action": "org.add_member", - "description": "A user joined an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_disabled_for_new_repos", - "description": "GitHub Advanced Security was disabled for new repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_disabled_on_all_repos", - "description": "GitHub Advanced Security was disabled for all repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_enabled_for_new_repos", - "description": "GitHub Advanced Security was enabled for new repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.advanced_security_enabled_on_all_repos", - "description": "GitHub Advanced Security was enabled for all repositories in an organization.", - "docs_reference_links": "N/A" - }, - { - "action": "org.remove_member", - "description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.", - "docs_reference_links": "N/A" - }, - { - "action": "org.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for an organization.", - "docs_reference_links": "/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#enabling-workflows-for-private-repository-forks" - }, - { - "action": "org.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs in an organization was changed.", - "docs_reference_links": "/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization" - }, - { - "action": "org.update_member_repository_creation_permission", - "description": "The create repository permission for organization members was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "org.update_member_repository_invitation_permission", - "description": "An organization owner changed the policy setting for organization members inviting outside collaborators to repositories.", - "docs_reference_links": "/organizations/managing-organization-settings/setting-permissions-for-adding-outside-collaborators" - }, - { - "action": "premium_runner.create", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.destroy", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "premium_runner.update", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "public_key.create", - "description": "An SSH key was added to a user account or a deploy key was added to a repository.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account" - }, - { - "action": "public_key.delete", - "description": "An SSH key was removed from a user account or a deploy key was removed from a repository.", - "docs_reference_links": "/authentication/keeping-your-account-and-data-secure/reviewing-your-ssh-keys" - }, - { - "action": "public_key.unverification_failure", - "description": "A user account's SSH key or a repository's deploy key was unable to be unverified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.unverify", - "description": "A user account's SSH key or a repository's deploy key was unverified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.update", - "description": "A user account's SSH key or a repository's deploy key was updated.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.verification_failure", - "description": "A user account's SSH key or a repository's deploy key was unable to be verified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "public_key.verify", - "description": "A user account's SSH key or a repository's deploy key was verified.", - "docs_reference_links": "/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys" - }, - { - "action": "repo.access", - "description": "The visibility of a repository changed.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility" - }, - { - "action": "repo.add_member", - "description": "A collaborator was added to a repository.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository" - }, - { - "action": "repo.add_topic", - "description": "A topic was added to a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics" - }, - { - "action": "repo.advanced_security_disabled", - "description": "GitHub Advanced Security was disabled for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository" - }, - { - "action": "repo.advanced_security_enabled", - "description": "GitHub Advanced Security was enabled for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository" - }, - { - "action": "repo.archived", - "description": "A repository was archived.", - "docs_reference_links": "/repositories/archiving-a-github-repository" - }, - { - "action": "repo.change_merge_setting", - "description": "Pull request merge options were changed for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.code_scanning_analysis_deleted", - "description": "Code scanning analysis for a repository was deleted.", - "docs_reference_links": "/rest/code-scanning#delete-a-code-scanning-analysis-from-a-repository" - }, - { - "action": "repo.code_scanning_configuration_for_branch_deleted", - "description": "A code scanning configuration for a branch of a repository was deleted.", - "docs_reference_links": "/code-security/code-scanning/managing-code-scanning-alerts/managing-code-scanning-alerts-for-your-repository#removing-stale-configurations-and-alerts-from-a-branch" - }, - { - "action": "repo.config.disable_collaborators_only", - "description": "The interaction limit for collaborators only was disabled.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.disable_contributors_only", - "description": "The interaction limit for prior contributors only was disabled in a repository.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.disable_sockpuppet_disallowed", - "description": "The interaction limit for existing users only was disabled in a repository.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_collaborators_only", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_contributors_only", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.config.enable_sockpuppet_disallowed", - "description": "The 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.", - "docs_reference_links": "/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository" - }, - { - "action": "repo.configure_self_hosted_jit_runner", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.create", - "description": "A repository was created.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/creating-a-new-repository" - }, - { - "action": "repo.destroy", - "description": "A repository was deleted.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/deleting-a-repository" - }, - { - "action": "repo.pages_cname", - "description": "A GitHub Pages custom domain was modified in a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_create", - "description": "A GitHub Pages site was created.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_destroy", - "description": "A GitHub Pages site was deleted.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_https_redirect_disabled", - "description": "HTTPS redirects were disabled for a GitHub Pages site.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_https_redirect_enabled", - "description": "HTTPS redirects were enabled for a GitHub Pages site.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_private", - "description": "A GitHub Pages site visibility was changed to private.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_public", - "description": "A GitHub Pages site visibility was changed to public.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.pages_source", - "description": "A GitHub Pages source was modified.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.register_self_hosted_runner", - "description": "A new self-hosted runner was registered.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository" - }, - { - "action": "repo.remove_member", - "description": "A collaborator was removed from a repository.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository" - }, - { - "action": "repo.remove_self_hosted_runner", - "description": "A self-hosted runner was removed.", - "docs_reference_links": "/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository" - }, - { - "action": "repo.remove_topic", - "description": "A topic was removed from a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.rename", - "description": "A repository was renamed.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/renaming-a-repository" - }, - { - "action": "repo.restore", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "repo.set_actions_private_fork_pr_approvals_policy", - "description": "The policy for requiring approval for fork pull request workflows from collaborators without write access to private repos was changed for a repository.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#enabling-workflows-for-forks-of-private-repositories" - }, - { - "action": "repo.set_actions_retention_limit", - "description": "The retention period for GitHub Actions artifacts and logs in a repository was changed.", - "docs_reference_links": "/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository" - }, - { - "action": "repo.staff_unlock", - "description": "An enterprise owner or GitHub staff (with permission from a repository administrator) temporarily unlocked the repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.transfer", - "description": "A user accepted a request to receive a transferred repository.", - "docs_reference_links": "/repositories/creating-and-managing-repositories/transferring-a-repository" - }, - { - "action": "repo.transfer_outgoing", - "description": "A repository was transferred to another repository network.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.transfer_start", - "description": "A user sent a request to transfer a repository to another user or organization.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.unarchived", - "description": "A repository was unarchived.", - "docs_reference_links": "/repositories/archiving-a-github-repository" - }, - { - "action": "repo.update_actions_access_settings", - "description": "The setting to control how a repository was used by GitHub Actions workflows in other repositories was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.update_actions_settings", - "description": "A repository administrator changed GitHub Actions policy settings for a repository.", - "docs_reference_links": "N/A" - }, - { - "action": "repo.update_member", - "description": "A user's permission to a repository was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.accept", - "description": "An invitation to join a repository was accepted.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.cancel", - "description": "An invitation to join a repository was canceled.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.create", - "description": "An invitation to join a repository was sent.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_invitation.reject", - "description": "An invitation to join a repository was declined.", - "docs_reference_links": "N/A" - }, - { - "action": "repository_ruleset.create", - "description": "A repository ruleset was created.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository" - }, - { - "action": "repository_ruleset.destroy", - "description": "A repository ruleset was deleted.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#deleting-a-ruleset" - }, - { - "action": "repository_ruleset.update", - "description": "A repository ruleset was edited.", - "docs_reference_links": "/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#editing-a-ruleset" - }, - { - "action": "security_key.register", - "description": "A security key was registered for an account.", - "docs_reference_links": "N/A" - }, - { - "action": "security_key.remove", - "description": "A security key was removed from an account.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.add_factor", - "description": "A secondary authentication factor was added to a user account.", - "docs_reference_links": "/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication" - }, - { - "action": "two_factor_authentication.disabled", - "description": "Two-factor authentication was disabled for a user account.", - "docs_reference_links": "https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/disabling-two-factor-authentication-for-your-personal-account" - }, - { - "action": "two_factor_authentication.enabled", - "description": "Two-factor authentication was enabled for a user account.", - "docs_reference_links": "https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication" - }, - { - "action": "two_factor_authentication.password_reset_fallback_sms", - "description": "A one-time password code was sent to a user account fallback phone number.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.recovery_codes_regenerated", - "description": "Two factor recovery codes were regenerated for a user account.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.remove_factor", - "description": "A secondary authentication factor was removed from a user account.", - "docs_reference_links": "/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication" - }, - { - "action": "two_factor_authentication.sign_in_fallback_sms", - "description": "A one-time password code was sent to a user account fallback phone number.", - "docs_reference_links": "N/A" - }, - { - "action": "two_factor_authentication.update_fallback", - "description": "The two-factor authentication fallback for a user account was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "user.add_email", - "description": "An email address was added to a user account.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account" - }, - { - "action": "user.async_delete", - "description": "An asynchronous job was started to destroy a user account, eventually triggering a user.delete event.", - "docs_reference_links": "N/A" - }, - { - "action": "user.block_user", - "description": "A user was blocked by another user.", - "docs_reference_links": "N/A" - }, - { - "action": "user.change_password", - "description": "A user changed their password.", - "docs_reference_links": "N/A" - }, - { - "action": "user.create", - "description": "A new user account was created.", - "docs_reference_links": "N/A" - }, - { - "action": "user.creation_rate_limit_exceeded", - "description": "The 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.", - "docs_reference_links": "N/A" - }, - { - "action": "user.delete", - "description": "A user account was destroyed by an asynchronous job.", - "docs_reference_links": "N/A" - }, - { - "action": "user.demote", - "description": "A site administrator was demoted to an ordinary user account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.destroy", - "description": "A user deleted his or her account, triggering user.async_delete.", - "docs_reference_links": "N/A" - }, - { - "action": "user.device_verification_failure", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.device_verification_requested", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.device_verification_success", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.failed_login", - "description": "A user tried to sign in with an incorrect username, password, or two-factor authentication code.", - "docs_reference_links": "N/A" - }, - { - "action": "user.forgot_password", - "description": "A user requested a password reset.", - "docs_reference_links": "/authentication/keeping-your-account-and-data-secure/updating-your-github-access-credentials" - }, - { - "action": "user.grant_github_developer", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.hide_private_contributions_count", - "description": "A user changed the visibility of their private contributions. The number of contributions to private repositories on the user's profile are now hidden.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile" - }, - { - "action": "user.login", - "description": "A user signed in.", - "docs_reference_links": "N/A" - }, - { - "action": "user.logout", - "description": "A user signed out.", - "docs_reference_links": "N/A" - }, - { - "action": "user.promote", - "description": "An ordinary user account was promoted to a site administrator.", - "docs_reference_links": "N/A" - }, - { - "action": "user.recreate", - "description": "A user's account was restored.", - "docs_reference_links": "N/A" - }, - { - "action": "user.remove_email", - "description": "An email address was removed from a user account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.rename", - "description": "A username was changed.", - "docs_reference_links": "N/A" - }, - { - "action": "user.reset_password", - "description": "A user reset their account password.", - "docs_reference_links": "N/A" - }, - { - "action": "user.show_private_contributions_count", - "description": "A user changed the visibility of their private contributions. The number of contributions to private repositories on the user's profile are now shown.", - "docs_reference_links": "/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile" - }, - { - "action": "user.sign_in_from_unrecognized_device", - "description": "A user signed in from an unrecognized device.", - "docs_reference_links": "N/A" - }, - { - "action": "user.sign_in_from_unrecognized_device_and_location", - "description": "A user signed in from an unrecognized device and location.", - "docs_reference_links": "N/A" - }, - { - "action": "user.suspend", - "description": "A user account was suspended.", - "docs_reference_links": "N/A" - }, - { - "action": "user.toggle_warn_private_email", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_challenge_failure", - "description": "A 2FA challenge issued for a user account failed.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_challenge_success", - "description": "A 2FA challenge issued for a user account succeeded.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recover", - "description": "A user used their 2FA recovery codes.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recovery_codes_downloaded", - "description": "A user downloaded 2FA recovery codes for their account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recovery_codes_printed", - "description": "A user printed 2FA recovery codes for their account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_recovery_codes_viewed", - "description": "A user viewed 2FA recovery codes for their account.", - "docs_reference_links": "N/A" - }, - { - "action": "user.two_factor_requested", - "description": "A user was prompted for a two-factor authentication code.", - "docs_reference_links": "/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication" - }, - { - "action": "user.unblock_user", - "description": "A user was unblocked by another user.", - "docs_reference_links": "N/A" - }, - { - "action": "user.unsuspend", - "description": "A user account was unsuspended.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.approve_workflow_job", - "description": "A workflow job was approved.", - "docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments" - }, - { - "action": "workflows.bypass_protection_rules", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.comment_workflow_job", - "description": "N/A", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.delete_workflow_run", - "description": "A workflow run was deleted.", - "docs_reference_links": "/actions/managing-workflow-runs/deleting-a-workflow-run" - }, - { - "action": "workflows.disable_workflow", - "description": "A workflow was disabled.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.enable_workflow", - "description": "A workflow was enabled, after previously being disabled by disable_workflow.", - "docs_reference_links": "N/A" - }, - { - "action": "workflows.reject_workflow_job", - "description": "A workflow job was rejected.", - "docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments" - } -] \ No newline at end of file diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index 87d085cd781d..ea800fa8a575 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -1,4 +1,4 @@ { "apiOnlyEventsAdditionalDescription": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", - "sha": "df100207104ee86448723229e2592fb75049d1fc" + "sha": "ec149115e35914db62db08c0824f23930fc0be22" } \ No newline at end of file diff --git a/src/audit-logs/lib/index.js b/src/audit-logs/lib/index.js index 67b5037d274c..d50f189babe7 100644 --- a/src/audit-logs/lib/index.js +++ b/src/audit-logs/lib/index.js @@ -79,13 +79,13 @@ export function getAuditLogEvents(page, version, categorized = false) { // Filters audit log events based on allowlist values. // // * eventsToCheck: events to consider -// * currentEvents: events already collected // * allowListvalues: allowlist values to filter by +// * currentEvents: events already collected // * pipelineConfig: audit log pipeline config data export function filterByAllowlistValues( eventsToCheck, - currentEvents, allowListValues, + currentEvents, pipelineConfig, ) { if (!Array.isArray(allowListValues)) allowListValues = [allowListValues] @@ -125,8 +125,8 @@ export function filterByAllowlistValues( // event's supported GHES versions. // // * eventsToCheck: events to consider -// * currentEvents: events already collected // * allowListvalue: allowlist value to filter by +// * currentEvents: events already collected // * pipelineConfig: audit log pipeline config data // * auditLogPage: the audit log page the event belongs to // @@ -147,8 +147,8 @@ export function filterByAllowlistValues( // } export function filterAndUpdateGhesDataByAllowlistValues( eventsToCheck, - currentGhesEvents, allowListValue, + currentGhesEvents, pipelineConfig, auditLogPage, ) { diff --git a/src/audit-logs/scripts/sync.js b/src/audit-logs/scripts/sync.js index 670c76ba4984..6f682de255c5 100755 --- a/src/audit-logs/scripts/sync.js +++ b/src/audit-logs/scripts/sync.js @@ -79,14 +79,14 @@ async function main() { // Wrapper around filterByAllowlistValues() because we always need all the // schema events and pipeline config data. const filter = (allowListValues, currentEvents = []) => - filterByAllowlistValues(schemaEvents, currentEvents, allowListValues, pipelineConfig) + filterByAllowlistValues(schemaEvents, allowListValues, currentEvents, pipelineConfig) // Wrapper around filterGhesByAllowlistValues() because we always need all the // schema events and pipeline config data. const filterAndUpdateGhes = (allowListValues, auditLogPage, currentEvents) => filterAndUpdateGhesDataByAllowlistValues( schemaEvents, - currentEvents, allowListValues, + currentEvents, pipelineConfig, auditLogPage, ) @@ -124,8 +124,8 @@ async function main() { // We don't maintain the order of events as we process them so after filtering // all the events based on their allowlist values, we sort them so they're in // order for display on the audit log pages. - for (const pageType of Object.values(auditLogData)) { - for (const events of Object.values(pageType)) { + for (const pageEventData of Object.values(auditLogData)) { + for (const events of Object.values(pageEventData)) { events.sort((e1, e2) => { // Event actions have underscores and periods (e.g. // `enterprise.runner_group_runners_updated`) and we ignore them both diff --git a/src/automated-pipelines/components/AutomatedPage.tsx b/src/automated-pipelines/components/AutomatedPage.tsx index 3625ab56689d..35fa5454e27f 100644 --- a/src/automated-pipelines/components/AutomatedPage.tsx +++ b/src/automated-pipelines/components/AutomatedPage.tsx @@ -11,9 +11,10 @@ import { Breadcrumbs } from 'src/frame/components/page-header/Breadcrumbs' type Props = { children: React.ReactNode + fullWidth?: boolean } -export const AutomatedPage = ({ children }: Props) => { +export const AutomatedPage = ({ children, fullWidth }: Props) => { const { title, intro, renderedPage, miniTocItems, product, permissions } = useAutomatedPageContext() @@ -23,6 +24,7 @@ export const AutomatedPage = ({ children }: Props) => {
diff --git a/src/frame/components/article/ArticleGridLayout.tsx b/src/frame/components/article/ArticleGridLayout.tsx index f9796ff8fcdb..bbf9b4367b8f 100644 --- a/src/frame/components/article/ArticleGridLayout.tsx +++ b/src/frame/components/article/ArticleGridLayout.tsx @@ -12,6 +12,7 @@ type Props = { children?: React.ReactNode className?: string supportPortalVaIframeProps?: SupportPortalVaIframeProps + fullWidth?: boolean } export const ArticleGridLayout = ({ intro, @@ -20,9 +21,11 @@ export const ArticleGridLayout = ({ children, className, supportPortalVaIframeProps, + fullWidth, }: Props) => { + const containerBoxStyles = fullWidth ? '' : styles.containerBox return ( - + {topper && {topper}} {intro && ( diff --git a/src/graphql/pages/breaking-changes.tsx b/src/graphql/pages/breaking-changes.tsx index 2f7572a4f7e1..0e15c9cc3ab9 100644 --- a/src/graphql/pages/breaking-changes.tsx +++ b/src/graphql/pages/breaking-changes.tsx @@ -1,5 +1,4 @@ import { GetServerSideProps } from 'next' -import React from 'react' import GithubSlugger from 'github-slugger' import { MainContextT, MainContext, getMainContext } from 'src/frame/components/context/MainContext' diff --git a/src/graphql/pages/changelog.tsx b/src/graphql/pages/changelog.tsx index cc02e34d3ce8..b434f7f6dab7 100644 --- a/src/graphql/pages/changelog.tsx +++ b/src/graphql/pages/changelog.tsx @@ -1,5 +1,4 @@ import { GetServerSideProps } from 'next' -import React from 'react' import { MainContextT, MainContext, getMainContext } from 'src/frame/components/context/MainContext' import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage' diff --git a/src/graphql/pages/explorer.tsx b/src/graphql/pages/explorer.tsx index 449da0a8f309..25e0e1902180 100644 --- a/src/graphql/pages/explorer.tsx +++ b/src/graphql/pages/explorer.tsx @@ -1,19 +1,24 @@ import { GetServerSideProps } from 'next' import { MainContextT, MainContext, getMainContext } from 'src/frame/components/context/MainContext' -import { DefaultLayout } from 'src/frame/components/DefaultLayout' +import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage' +import { + AutomatedPageContext, + AutomatedPageContextT, + getAutomatedPageContextFromRequest, +} from 'src/automated-pipelines/components/AutomatedPageContext' import { useEffect, useRef } from 'react' type Props = { mainContext: MainContextT graphqlExplorerUrl: string + automatedPageContext: AutomatedPageContextT } -export default function GQLExplorer({ mainContext, graphqlExplorerUrl }: Props) { - // Use TypeScript's "not null assertion" because `context.page` should - // will present in main context if it's gotten to the stage of React - // rendering. - const page = mainContext.page! - +export default function GQLExplorer({ + mainContext, + graphqlExplorerUrl, + automatedPageContext, +}: Props) { const graphiqlRef = useRef(null) useEffect(() => { @@ -24,25 +29,23 @@ export default function GQLExplorer({ mainContext, graphqlExplorerUrl }: Props) return ( - -
-

{page.title}

-
- -
- {/* eslint-disable-next-line jsx-a11y/iframe-has-title */} - -
-
+ + +
+ {/* eslint-disable-next-line jsx-a11y/iframe-has-title */} + +
+
+
) } @@ -54,11 +57,13 @@ export const getServerSideProps: GetServerSideProps = async (context) => process.env.NODE_ENV === 'production' ? 'https://graphql.github.com/explorer' : 'http://localhost:3000' + const automatedPageContext = getAutomatedPageContextFromRequest(req) return { props: { mainContext: await getMainContext(req, res), graphqlExplorerUrl, + automatedPageContext, }, } } diff --git a/src/graphql/pages/reference.tsx b/src/graphql/pages/reference.tsx index 7a54efd95b66..4a882dc069d2 100644 --- a/src/graphql/pages/reference.tsx +++ b/src/graphql/pages/reference.tsx @@ -1,5 +1,4 @@ import { GetServerSideProps } from 'next' -import React from 'react' import { GraphqlPage } from 'src/graphql/components/GraphqlPage' import { diff --git a/src/graphql/pages/schema-previews.tsx b/src/graphql/pages/schema-previews.tsx index 8e737c0471c6..0ed65e406202 100644 --- a/src/graphql/pages/schema-previews.tsx +++ b/src/graphql/pages/schema-previews.tsx @@ -1,5 +1,4 @@ import { GetServerSideProps } from 'next' -import React from 'react' import { MainContextT, diff --git a/src/landings/components/ProductGuidesContext.tsx b/src/landings/components/ProductGuidesContext.tsx index b16977735cb3..65de24591eac 100644 --- a/src/landings/components/ProductGuidesContext.tsx +++ b/src/landings/components/ProductGuidesContext.tsx @@ -7,7 +7,7 @@ export type LearningTrack = { title: string description: string guides?: Array<{ href: string; page?: { type: string }; title: string; intro: string }> -} | null +} export type ArticleGuide = { href: string @@ -20,7 +20,7 @@ export type ArticleGuide = { export type ProductGuidesContextT = { title: string intro: string - learningTracks?: Array + learningTracks: Array includeGuides?: Array } @@ -41,14 +41,16 @@ export const useProductGuidesContext = (): ProductGuidesContextT => { export const getProductGuidesContextFromRequest = (req: any): ProductGuidesContextT => { const page = req.context.page + const learningTracks: LearningTrack[] = (page.learningTracks || []).map((track: any) => ({ + ...pick(track, ['title', 'description', 'trackName', 'trackProduct']), + guides: (track.guides || []).map((guide: any) => { + return pick(guide, ['title', 'intro', 'href', 'page.type']) + }), + })) + return { ...pick(page, ['title', 'intro']), - learningTracks: (page.learningTracks || []).map((track: any) => ({ - ...pick(track, ['title', 'description', 'trackName', 'trackProduct']), - guides: (track.guides || []).map((guide: any) => { - return pick(guide, ['title', 'intro', 'href', 'page.type']) - }), - })), + learningTracks, includeGuides: (page.includeGuides || []).map((guide: any) => { return { ...pick(guide, ['href', 'title', 'intro']), diff --git a/src/learning-track/components/guides/LearningTrack.tsx b/src/learning-track/components/guides/LearningTrack.tsx index f11a6c2eb009..65acb7ff4736 100644 --- a/src/learning-track/components/guides/LearningTrack.tsx +++ b/src/learning-track/components/guides/LearningTrack.tsx @@ -10,8 +10,8 @@ type Props = { } export const LearningTrack = ({ track }: Props) => { - if (!track) return
const { t, tObject } = useTranslation('product_guides') + if (!track) return
return (
diff --git a/src/learning-track/components/guides/LearningTracks.tsx b/src/learning-track/components/guides/LearningTracks.tsx index 6ab35daa6c22..e63888538637 100644 --- a/src/learning-track/components/guides/LearningTracks.tsx +++ b/src/learning-track/components/guides/LearningTracks.tsx @@ -6,8 +6,8 @@ export const LearningTracks = () => { return (
- {(learningTracks || []).map((track) => { - return + {learningTracks.map((track) => { + return })}
) diff --git a/src/learning-track/tests/lint-data.js b/src/learning-track/tests/lint-data.js index 059830ef70da..8f43a03dfc49 100644 --- a/src/learning-track/tests/lint-data.js +++ b/src/learning-track/tests/lint-data.js @@ -14,6 +14,23 @@ describe('learning tracks', () => { test.each(topLevels)('learning-track in data/learning-tracks/%s.yml', (topLevel) => { const learningTracks = allLearningTracks[topLevel] const redirectsContext = { redirects, pages } + + for (const learningTrack of Object.values(learningTracks)) { + const length = learningTrack.guides.length + const size = new Set(learningTrack.guides).size + let errorMessage = '' + if (length !== size) { + errorMessage = `In data/learning-tracks/${topLevel}.yml there are duplicate guides.` + const counts = new Map() + for (const guide of learningTrack.guides) { + counts.set(guide, (counts.get(guide) || 0) + 1) + } + const dupes = [...counts.entries()].filter(([, count]) => count > 1).map(([entry]) => entry) + errorMessage += `\nTo fix this, remove: ${dupes.join(' and ')}` + } + expect(length, errorMessage).toEqual(size) + } + const troubles = Object.entries(learningTracks) .map(([learningTrackKey, learningTrack]) => { return [