diff --git a/content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md b/content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md index 9702466346f2..956186d64135 100644 --- a/content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md +++ b/content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md @@ -225,7 +225,7 @@ To check SSH ciphers: ghe-crypto check ssh-ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com ``` -For more information about configuring cipher suites and cryptographic algorithms, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls#configuring-cipher-suites-and-cryptographic-algorithms). +For more information about configuring cipher suites and cryptographic algorithms, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls-and-ssh-ciphers). {% endif %} diff --git a/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-ssh-connections-to-your-instance.md b/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-ssh-connections-to-your-instance.md index 74d337303b05..2e1c6d2d3365 100644 --- a/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-ssh-connections-to-your-instance.md +++ b/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-ssh-connections-to-your-instance.md @@ -24,6 +24,12 @@ topics: To accommodate the SSH clients in your environment, you can configure the types of connections that {% data variables.location.product_location %} will accept. +{% ifversion ghes > 3.18 %} + +You can also configure the cryptographic algorithms (ciphers, MAC algorithms, key exchange algorithms, and signature types) that {% data variables.location.product_location %} uses for SSH connections. For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls-and-ssh-ciphers). + +{% endif %} + ## Configuring SSH connections with RSA keys When users perform Git operations on {% data variables.location.product_location %} via SSH over port 22, the client can authenticate with an RSA key. The client may sign the attempt using the SHA-1 hash function. In this context, the SHA-1 hash function is no longer secure. For more information, see [SHA-1](https://en.wikipedia.org/wiki/SHA-1) on Wikipedia. diff --git a/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls-and-ssh-ciphers.md b/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls-and-ssh-ciphers.md new file mode 100644 index 000000000000..226db72f7536 --- /dev/null +++ b/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls-and-ssh-ciphers.md @@ -0,0 +1,401 @@ +--- +title: Configuring TLS and SSH ciphers +shortTitle: Configure TLS and SSH ciphers +intro: 'You can configure the cipher suites and cryptographic algorithms that {% data variables.product.prodname_ghe_server %} uses for TLS and SSH connections to meet specific compliance or security requirements.' +permissions: Site administrators +redirect_from: + - /admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls#configuring-cipher-suites-and-cryptographic-algorithms + - /admin/configuration/configuring-network-settings/configuring-tls#configuring-cipher-suites-and-cryptographic-algorithms + - /admin/configuration/hardening-security-for-your-enterprise/configuring-tls#configuring-cipher-suites-and-cryptographic-algorithms +versions: + ghes: '>=3.19' +type: how_to +topics: + - Enterprise + - Fundamentals + - Infrastructure + - Networking + - Security +--- + + +## About cipher suite and algorithm configuration + +{% data variables.product.prodname_ghe_server %} allows you to configure which cipher suites and cryptographic algorithms to use for: + +* **TLS connections** on ports 443 (HTTPS web interface) and 8443 (HTTPS management console) +* **SSH connections** on port 22 (Git operations via SSH) and port 122 (administrative shell access) + +The default secure cipher suites are based on industry-standard TLS hardening recommendations and modern security best practices. Most organizations should use these defaults unless specific compliance or security requirements dictate otherwise. + +Organizations may need to customize cipher suites and cryptographic algorithms to meet specific organizational security policies, industry standards, or regulatory requirements. + +Starting in {% data variables.product.prodname_ghe_server %} 3.19, TLS ciphers are configurable and the web gateway uses more secure cipher defaults. To maintain backwards compatibility with existing instances, newly provisioned instances will use these new defaults. + +> [!WARNING] +> Configuring overly restrictive cipher suites may prevent clients from connecting to your instance. Always test changes in a non-production environment first, ensure at least one cipher suite is compatible with your clients, and verify connectivity after applying configuration changes. + +> [!NOTE] +> When configuring TLS cipher suites, use comma-separated values in your configuration commands. {% data variables.product.prodname_ghe_server %} automatically converts comma delimiters to colons for the HAProxy configuration. Cipher suites are evaluated in the order specified, so list your preferred ciphers first. + +## Configuring TLS cipher suites + +You can configure the cipher suites used for TLS 1.2 and TLS 1.3 connections. + +### Listing available TLS cipher suites + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. To view the default secure cipher suites for TLS 1.2, run the following command. + + ```shell copy + ghe-crypto list tlsv12-ciphersuites + ``` + +1. To view the default secure cipher suites for TLS 1.3, run the following command. + + ```shell copy + ghe-crypto list tlsv13-ciphersuites + ``` + +### Viewing current cipher configuration + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. To view the configured TLS 1.2 cipher suites, run the following command. + + ```shell copy + ghe-config github-ssl.tlsv12-ciphersuites + ``` + +1. To view the configured TLS 1.3 cipher suites, run the following command. + + ```shell copy + ghe-config github-ssl.tlsv13-ciphersuites + ``` + + If these commands return empty values, the instance is using the secure defaults. + +### Setting TLS 1.2 cipher suites + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Check your desired TLS 1.2 cipher suites using the `ghe-crypto check` command. Replace `CIPHER1,CIPHER2,CIPHER3` with a comma-separated list of cipher suites. + + ```shell copy + ghe-crypto check tlsv12-ciphersuites CIPHER1,CIPHER2,CIPHER3 + ``` + + For example: + + ```shell + ghe-crypto check tlsv12-ciphersuites ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384 + ``` + +1. If the cipher string is valid, set the TLS 1.2 cipher suites. Replace `CIPHER1,CIPHER2,CIPHER3` with your comma-separated list. + + ```shell copy + ghe-config github-ssl.tlsv12-ciphersuites 'CIPHER1,CIPHER2,CIPHER3' + ``` + + For example: + + ```shell + ghe-config github-ssl.tlsv12-ciphersuites 'ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384' + ``` + +1. Check the configuration. + + ```shell copy + ghe-config-check + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + +### Setting TLS 1.3 cipher suites + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Check your desired TLS 1.3 cipher suites using the `ghe-crypto check` command. Replace `CIPHER1,CIPHER2,CIPHER3` with a comma-separated list of cipher suites. + + ```shell copy + ghe-crypto check tlsv13-ciphersuites CIPHER1,CIPHER2,CIPHER3 + ``` + + For example: + + ```shell + ghe-crypto check tlsv13-ciphersuites TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256 + ``` + +1. If the cipher string is valid, set the TLS 1.3 cipher suites. Replace `CIPHER1,CIPHER2,CIPHER3` with your comma-separated list. + + ```shell copy + ghe-config github-ssl.tlsv13-ciphersuites 'CIPHER1,CIPHER2,CIPHER3' + ``` + + For example: + + ```shell + ghe-config github-ssl.tlsv13-ciphersuites 'TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256' + ``` + +1. Check the configuration. + + ```shell copy + ghe-config-check + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + +## Configuring SSH cryptographic algorithms + +You can configure the cryptographic algorithms used for SSH connections on port 22 (Git operations) and port 122 (administrative shell access). + +### Listing available SSH algorithms + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. To view the default secure SSH ciphers, run the following command. + + ```shell copy + ghe-crypto list ssh-ciphers + ``` + +1. To view the default secure SSH MAC algorithms, run the following command. + + ```shell copy + ghe-crypto list ssh-mac-algorithms + ``` + +1. To view the default secure SSH key exchange algorithms, run the following command. + + ```shell copy + ghe-crypto list ssh-kex-algorithms + ``` + +1. To view the default secure SSH signature types, run the following command. + + ```shell copy + ghe-crypto list ssh-signature-types + ``` + +### Viewing current SSH configuration + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. To view the configured SSH ciphers, run the following command. + + ```shell copy + ghe-config github-ssl.ssh-ciphers + ``` + +1. To view the configured SSH MAC algorithms, run the following command. + + ```shell copy + ghe-config github-ssl.ssh-mac-algorithms + ``` + +1. To view the configured SSH key exchange algorithms, run the following command. + + ```shell copy + ghe-config github-ssl.ssh-kex-algorithms + ``` + +1. To view the configured SSH signature types, run the following command. + + ```shell copy + ghe-config github-ssl.ssh-signature-types + ``` + + If these commands return empty values, the instance is using the secure defaults. + +### Setting SSH ciphers + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Check your desired SSH ciphers using the `ghe-crypto check` command. Replace `cipher1,cipher2,cipher3` with a comma-separated list of ciphers. + + ```shell copy + ghe-crypto check ssh-ciphers cipher1,cipher2,cipher3 + ``` + + For example: + + ```shell + ghe-crypto check ssh-ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com + ``` + +1. If the cipher string is valid, set the SSH ciphers. Replace `cipher1,cipher2,cipher3` with your comma-separated list. + + ```shell copy + ghe-config github-ssl.ssh-ciphers 'cipher1,cipher2,cipher3' + ``` + + For example: + + ```shell + ghe-config github-ssl.ssh-ciphers 'chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com' + ``` + +1. Check the configuration. + + ```shell copy + ghe-config-check + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + +### Setting SSH MAC algorithms + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Check your desired SSH MAC algorithms using the `ghe-crypto check` command. Replace `mac1,mac2,mac3` with a comma-separated list of MAC algorithms. + + ```shell copy + ghe-crypto check ssh-mac-algorithms mac1,mac2,mac3 + ``` + + For example: + + ```shell + ghe-crypto check ssh-mac-algorithms hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com + ``` + +1. If the MAC algorithm string is valid, set the SSH MAC algorithms. Replace `mac1,mac2,mac3` with your comma-separated list. + + ```shell copy + ghe-config github-ssl.ssh-mac-algorithms 'mac1,mac2,mac3' + ``` + + For example: + + ```shell + ghe-config github-ssl.ssh-mac-algorithms 'hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com' + ``` + +1. Check the configuration. + + ```shell copy + ghe-config-check + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + +### Setting SSH key exchange algorithms + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Check your desired SSH key exchange algorithms using the `ghe-crypto check` command. Replace `kex1,kex2,kex3` with a comma-separated list of key exchange algorithms. + + ```shell copy + ghe-crypto check ssh-kex-algorithms kex1,kex2,kex3 + ``` + + For example: + + ```shell + ghe-crypto check ssh-kex-algorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp521 + ``` + +1. If the key exchange algorithm string is valid, set the SSH key exchange algorithms. Replace `kex1,kex2,kex3` with your comma-separated list. + + ```shell copy + ghe-config github-ssl.ssh-kex-algorithms 'kex1,kex2,kex3' + ``` + + For example: + + ```shell + ghe-config github-ssl.ssh-kex-algorithms 'curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp521' + ``` + +1. Check the configuration. + + ```shell copy + ghe-config-check + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + +### Setting SSH signature types + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Check your desired SSH signature types using the `ghe-crypto check` command. Replace `sig1,sig2,sig3` with a comma-separated list of signature types. + + ```shell copy + ghe-crypto check ssh-signature-types sig1,sig2,sig3 + ``` + + For example: + + ```shell + ghe-crypto check ssh-signature-types ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384 + ``` + +1. If the signature type string is valid, set the SSH signature types. Replace `sig1,sig2,sig3` with your comma-separated list. + + ```shell copy + ghe-config github-ssl.ssh-signature-types 'sig1,sig2,sig3' + ``` + + For example: + + ```shell + ghe-config github-ssl.ssh-signature-types 'ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384' + ``` + +1. Check the configuration. + + ```shell copy + ghe-config-check + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + +## Troubleshooting cipher configuration + +If clients cannot connect to {% data variables.location.product_location %} after changing cipher configuration, you can troubleshoot the issue. + +1. Check that your clients support the configured TLS or SSH protocol versions. +1. Verify that at least one configured cipher suite is compatible with your clients. +1. Review the instance logs for TLS handshake failures or SSH connection errors. For more information about accessing logs, see [AUTOTITLE](/admin/monitoring-and-managing-your-instance/monitoring-your-instance/about-system-logs). +1. Temporarily restore the default settings to verify the issue is cipher-related. For more information, see [Restoring default cipher suite and algorithm settings](#restoring-default-cipher-suite-and-algorithm-settings). +1. If the issue persists after restoring defaults, contact {% data variables.contact.contact_ent_support %}. + +## Restoring default cipher suite and algorithm settings + +To restore the default secure cipher suites or algorithms, unset the configuration value. + +{% data reusables.enterprise_installation.ssh-into-target-instance %} + +1. Unset the configuration setting. Replace `SETTING` with the name of the setting you want to restore to defaults. + + ```shell copy + ghe-config --unset github-ssl.SETTING + ``` + + For example, to restore default TLS 1.2 cipher suites: + + ```shell + ghe-config --unset github-ssl.tlsv12-ciphersuites + ``` + +{% data reusables.enterprise.apply-configuration %} + +1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. + + diff --git a/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls.md b/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls.md index 398877221500..83bda18b2af5 100644 --- a/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls.md +++ b/content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls.md @@ -127,385 +127,6 @@ To resolve these errors, you must update the Subject Alternative Names (SANs) yo ## Configuring cipher suites and cryptographic algorithms -You can configure the cipher suites and cryptographic algorithms that {% data variables.product.prodname_ghe_server %} uses for TLS connections and SSH connections. - -### About cipher suite and algorithm configuration - -{% data variables.product.prodname_ghe_server %} allows you to configure which cipher suites and cryptographic algorithms to use for: - -* **TLS connections** on ports 443 (HTTPS web interface) and 8443 (HTTPS management console) -* **SSH connections** on port 22 (Git operations via SSH) and port 122 (administrative shell access) - -The default secure cipher suites are based on industry-standard TLS hardening recommendations and modern security best practices. Most organizations should use these defaults unless specific compliance or security requirements dictate otherwise. - -Organizations may need to customize cipher suites and cryptographic algorithms to meet specific organizational security policies, industry standards, or regulatory requirements. - -Starting in {% data variables.product.prodname_ghe_server %} 3.19, TLS ciphers are configurable and the web gateway uses more secure cipher defaults. To maintain backwards compatibility with existing instances, newly provisioned instances will use these new defaults. - -> [!WARNING] -> Configuring overly restrictive cipher suites may prevent clients from connecting to your instance. Always test changes in a non-production environment first, ensure at least one cipher suite is compatible with your clients, and verify connectivity after applying configuration changes. - -> [!NOTE] -> When configuring TLS cipher suites, use comma-separated values in your configuration commands. {% data variables.product.prodname_ghe_server %} automatically converts comma delimiters to colons for the HAProxy configuration. Cipher suites are evaluated in the order specified, so list your preferred ciphers first. - -### Configuring TLS cipher suites - -You can configure the cipher suites used for TLS 1.2 and TLS 1.3 connections. - -#### Listing available TLS cipher suites - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. To view the default secure cipher suites for TLS 1.2, run the following command. - - ```shell copy - ghe-crypto list tlsv12-ciphersuites - ``` - -1. To view the default secure cipher suites for TLS 1.3, run the following command. - - ```shell copy - ghe-crypto list tlsv13-ciphersuites - ``` - -#### Viewing current cipher configuration - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. To view the configured TLS 1.2 cipher suites, run the following command. - - ```shell copy - ghe-config github-ssl.tlsv12-ciphersuites - ``` - -1. To view the configured TLS 1.3 cipher suites, run the following command. - - ```shell copy - ghe-config github-ssl.tlsv13-ciphersuites - ``` - - If these commands return empty values, the instance is using the secure defaults. - -#### Setting TLS 1.2 cipher suites - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Check your desired TLS 1.2 cipher suites using the `ghe-crypto check` command. Replace `CIPHER1,CIPHER2,CIPHER3` with a comma-separated list of cipher suites. - - ```shell copy - ghe-crypto check tlsv12-ciphersuites CIPHER1,CIPHER2,CIPHER3 - ``` - - For example: - - ```shell - ghe-crypto check tlsv12-ciphersuites ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384 - ``` - -1. If the cipher string is valid, set the TLS 1.2 cipher suites. Replace `CIPHER1,CIPHER2,CIPHER3` with your comma-separated list. - - ```shell copy - ghe-config github-ssl.tlsv12-ciphersuites 'CIPHER1,CIPHER2,CIPHER3' - ``` - - For example: - - ```shell - ghe-config github-ssl.tlsv12-ciphersuites 'ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384' - ``` - -1. Check the configuration. - - ```shell copy - ghe-config-check - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. - -#### Setting TLS 1.3 cipher suites - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Check your desired TLS 1.3 cipher suites using the `ghe-crypto check` command. Replace `CIPHER1,CIPHER2,CIPHER3` with a comma-separated list of cipher suites. - - ```shell copy - ghe-crypto check tlsv13-ciphersuites CIPHER1,CIPHER2,CIPHER3 - ``` - - For example: - - ```shell - ghe-crypto check tlsv13-ciphersuites TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256 - ``` - -1. If the cipher string is valid, set the TLS 1.3 cipher suites. Replace `CIPHER1,CIPHER2,CIPHER3` with your comma-separated list. - - ```shell copy - ghe-config github-ssl.tlsv13-ciphersuites 'CIPHER1,CIPHER2,CIPHER3' - ``` - - For example: - - ```shell - ghe-config github-ssl.tlsv13-ciphersuites 'TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256' - ``` - -1. Check the configuration. - - ```shell copy - ghe-config-check - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. - -### Configuring SSH cryptographic algorithms - -You can configure the cryptographic algorithms used for SSH connections on port 22 (Git operations) and port 122 (administrative shell access). - -#### Listing available SSH algorithms - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. To view the default secure SSH ciphers, run the following command. - - ```shell copy - ghe-crypto list ssh-ciphers - ``` - -1. To view the default secure SSH MAC algorithms, run the following command. - - ```shell copy - ghe-crypto list ssh-mac-algorithms - ``` - -1. To view the default secure SSH key exchange algorithms, run the following command. - - ```shell copy - ghe-crypto list ssh-kex-algorithms - ``` - -1. To view the default secure SSH signature types, run the following command. - - ```shell copy - ghe-crypto list ssh-signature-types - ``` - -#### Viewing current SSH configuration - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. To view the configured SSH ciphers, run the following command. - - ```shell copy - ghe-config github-ssl.ssh-ciphers - ``` - -1. To view the configured SSH MAC algorithms, run the following command. - - ```shell copy - ghe-config github-ssl.ssh-mac-algorithms - ``` - -1. To view the configured SSH key exchange algorithms, run the following command. - - ```shell copy - ghe-config github-ssl.ssh-kex-algorithms - ``` - -1. To view the configured SSH signature types, run the following command. - - ```shell copy - ghe-config github-ssl.ssh-signature-types - ``` - - If these commands return empty values, the instance is using the secure defaults. - -#### Setting SSH ciphers - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Check your desired SSH ciphers using the `ghe-crypto check` command. Replace `cipher1,cipher2,cipher3` with a comma-separated list of ciphers. - - ```shell copy - ghe-crypto check ssh-ciphers cipher1,cipher2,cipher3 - ``` - - For example: - - ```shell - ghe-crypto check ssh-ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com - ``` - -1. If the cipher string is valid, set the SSH ciphers. Replace `cipher1,cipher2,cipher3` with your comma-separated list. - - ```shell copy - ghe-config github-ssl.ssh-ciphers 'cipher1,cipher2,cipher3' - ``` - - For example: - - ```shell - ghe-config github-ssl.ssh-ciphers 'chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com' - ``` - -1. Check the configuration. - - ```shell copy - ghe-config-check - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. - -#### Setting SSH MAC algorithms - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Check your desired SSH MAC algorithms using the `ghe-crypto check` command. Replace `mac1,mac2,mac3` with a comma-separated list of MAC algorithms. - - ```shell copy - ghe-crypto check ssh-mac-algorithms mac1,mac2,mac3 - ``` - - For example: - - ```shell - ghe-crypto check ssh-mac-algorithms hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com - ``` - -1. If the MAC algorithm string is valid, set the SSH MAC algorithms. Replace `mac1,mac2,mac3` with your comma-separated list. - - ```shell copy - ghe-config github-ssl.ssh-mac-algorithms 'mac1,mac2,mac3' - ``` - - For example: - - ```shell - ghe-config github-ssl.ssh-mac-algorithms 'hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com' - ``` - -1. Check the configuration. - - ```shell copy - ghe-config-check - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. - -#### Setting SSH key exchange algorithms - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Check your desired SSH key exchange algorithms using the `ghe-crypto check` command. Replace `kex1,kex2,kex3` with a comma-separated list of key exchange algorithms. - - ```shell copy - ghe-crypto check ssh-kex-algorithms kex1,kex2,kex3 - ``` - - For example: - - ```shell - ghe-crypto check ssh-kex-algorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp521 - ``` - -1. If the key exchange algorithm string is valid, set the SSH key exchange algorithms. Replace `kex1,kex2,kex3` with your comma-separated list. - - ```shell copy - ghe-config github-ssl.ssh-kex-algorithms 'kex1,kex2,kex3' - ``` - - For example: - - ```shell - ghe-config github-ssl.ssh-kex-algorithms 'curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp521' - ``` - -1. Check the configuration. - - ```shell copy - ghe-config-check - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. - -#### Setting SSH signature types - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Check your desired SSH signature types using the `ghe-crypto check` command. Replace `sig1,sig2,sig3` with a comma-separated list of signature types. - - ```shell copy - ghe-crypto check ssh-signature-types sig1,sig2,sig3 - ``` - - For example: - - ```shell - ghe-crypto check ssh-signature-types ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384 - ``` - -1. If the signature type string is valid, set the SSH signature types. Replace `sig1,sig2,sig3` with your comma-separated list. - - ```shell copy - ghe-config github-ssl.ssh-signature-types 'sig1,sig2,sig3' - ``` - - For example: - - ```shell - ghe-config github-ssl.ssh-signature-types 'ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384' - ``` - -1. Check the configuration. - - ```shell copy - ghe-config-check - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. - -### Troubleshooting cipher configuration - -If clients cannot connect to {% data variables.location.product_location %} after changing cipher configuration, you can troubleshoot the issue. - -1. Check that your clients support the configured TLS or SSH protocol versions. -1. Verify that at least one configured cipher suite is compatible with your clients. -1. Review the instance logs for TLS handshake failures or SSH connection errors. For more information about accessing logs, see [AUTOTITLE](/admin/monitoring-and-managing-your-instance/monitoring-your-instance/about-system-logs). -1. Temporarily restore the default settings to verify the issue is cipher-related. For more information, see [Restoring default cipher suite and algorithm settings](#restoring-default-cipher-suite-and-algorithm-settings). -1. If the issue persists after restoring defaults, contact {% data variables.contact.contact_ent_support %}. - -### Restoring default cipher suite and algorithm settings - -To restore the default secure cipher suites or algorithms, unset the configuration value. - -{% data reusables.enterprise_installation.ssh-into-target-instance %} - -1. Unset the configuration setting. Replace `SETTING` with the name of the setting you want to restore to defaults. - - ```shell copy - ghe-config --unset github-ssl.SETTING - ``` - - For example, to restore default TLS 1.2 cipher suites: - - ```shell - ghe-config --unset github-ssl.tlsv12-ciphersuites - ``` - -{% data reusables.enterprise.apply-configuration %} - -1. If you configured a user message or maintenance mode, remove the message and disable maintenance mode. +You can configure the cipher suites and cryptographic algorithms that {% data variables.product.prodname_ghe_server %} uses for TLS and SSH connections. For more information, see [AUTOTITLE](/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls-and-ssh-ciphers). {% endif %} diff --git a/content/admin/configuring-settings/hardening-security-for-your-enterprise/index.md b/content/admin/configuring-settings/hardening-security-for-your-enterprise/index.md index 2735cecd11f5..5b3f524a8cf0 100644 --- a/content/admin/configuring-settings/hardening-security-for-your-enterprise/index.md +++ b/content/admin/configuring-settings/hardening-security-for-your-enterprise/index.md @@ -9,6 +9,7 @@ topics: - Enterprise children: - /configuring-tls + - /configuring-tls-and-ssh-ciphers - /troubleshooting-tls-errors - /enabling-private-mode - /enabling-subdomain-isolation diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index a8accc41cd16..c74a77aaa4d2 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "546fd621ad85046db1658ef0e9e3794d3bd6c3b5" + "sha": "dafe0f9ac291168cb41ccc752fbdde576ae44f63" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index f2cd673d0c93..8c1f0a647b5f 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -94515,14 +94515,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -95652,14 +95644,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -96472,15 +96456,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -97133,14 +97108,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -98773,15 +98740,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -99629,14 +99587,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -101268,14 +101218,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -102410,14 +102352,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -103550,14 +103484,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -105961,14 +105887,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -111346,14 +111264,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -112421,14 +112331,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -423492,14 +423394,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -477736,39 +477630,21 @@ "options": [ { "id": "option_1", - "name": { - "html": "Low", - "raw": "Low" - }, + "name": "Low", "color": "GREEN", - "description": { - "html": "Low priority items", - "raw": "Low priority items" - } + "description": "Low priority items" }, { "id": "option_2", - "name": { - "html": "Medium", - "raw": "Medium" - }, + "name": "Medium", "color": "YELLOW", - "description": { - "html": "Medium priority items", - "raw": "Medium priority items" - } + "description": "Medium priority items" }, { "id": "option_3", - "name": { - "html": "High", - "raw": "High" - }, + "name": "High", "color": "RED", - "description": { - "html": "High priority items", - "raw": "High priority items" - } + "description": "High priority items" } ], "created_at": "2022-04-28T12:00:00Z", @@ -478451,1391 +478327,6 @@ "permissions": [] } }, - { - "serverUrl": "https://api.github.com", - "verb": "post", - "requestPath": "/users/{username}/projectsV2/{project_number}/fields", - "title": "Add field to user owned project", - "category": "projects", - "subcategory": "fields", - "parameters": [ - { - "name": "username", - "description": "

The handle for the GitHub user account.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "project_number", - "description": "

The project's number.

", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "bodyParameters": [ - { - "type": "string", - "name": "name", - "in": "body", - "description": "

The name of the field.

", - "isRequired": true - }, - { - "type": "string", - "name": "data_type", - "in": "body", - "description": "

The field's data type.

", - "isRequired": true, - "enum": [ - "text", - "number", - "date", - "single_select", - "iteration" - ] - }, - { - "type": "array of objects", - "name": "single_select_options", - "in": "body", - "description": "

The options available for single select fields. At least one option must be provided when creating a single select field.

", - "childParamsGroups": [ - { - "type": "string", - "name": "name", - "description": "

The display name of the option.

" - }, - { - "type": "string", - "name": "color", - "description": "

The color associated with the option.

", - "enum": [ - "BLUE", - "GRAY", - "GREEN", - "ORANGE", - "PINK", - "PURPLE", - "RED", - "YELLOW" - ] - }, - { - "type": "string", - "name": "description", - "description": "

The description of the option.

" - } - ] - }, - { - "type": "object", - "name": "iteration_configuration", - "in": "body", - "description": "

The configuration for iteration fields.

", - "childParamsGroups": [ - { - "type": "string", - "name": "start_date", - "description": "

The start date of the first iteration.

" - }, - { - "type": "integer", - "name": "duration", - "description": "

The duration of the iteration in days.

" - }, - { - "type": "array of objects", - "name": "iterations", - "description": "

Zero or more iterations for the field.

", - "childParamsGroups": [ - { - "type": "string", - "name": "title", - "description": "

The title for the iteration.

" - }, - { - "type": "string", - "name": "start_date", - "description": "

The start date of the iteration.

" - }, - { - "type": "integer", - "name": "duration", - "description": "

The duration of the iteration in days.

" - } - ] - } - ] - } - ], - "descriptionHTML": "

Add a field to a specified user owned project.

", - "codeExamples": [ - { - "key": "text_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 24680, - "node_id": "PVTF_lADOABCD2468024680", - "name": "Team notes", - "data_type": "text", - "project_url": "https://api.github.com/projects/67890", - "created_at": "2022-05-15T08:00:00Z", - "updated_at": "2022-05-15T08:00:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a text field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Team notes", - "data_type": "text" - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "number_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 13579, - "node_id": "PVTF_lADOABCD1357913579", - "name": "Story points", - "data_type": "number", - "project_url": "https://api.github.com/projects/67890", - "created_at": "2022-06-01T14:30:00Z", - "updated_at": "2022-06-01T14:30:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a number field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Story points", - "data_type": "number" - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "date_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 98765, - "node_id": "PVTF_lADOABCD9876598765", - "name": "Due date", - "data_type": "date", - "project_url": "https://api.github.com/projects/67890", - "created_at": "2022-06-10T09:15:00Z", - "updated_at": "2022-06-10T09:15:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a date field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Due date", - "data_type": "date" - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "single_select_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": { - "html": "Low", - "raw": "Low" - }, - "color": "GREEN", - "description": { - "html": "Low priority items", - "raw": "Low priority items" - } - }, - { - "id": "option_2", - "name": { - "html": "Medium", - "raw": "Medium" - }, - "color": "YELLOW", - "description": { - "html": "Medium priority items", - "raw": "Medium priority items" - } - }, - { - "id": "option_3", - "name": { - "html": "High", - "raw": "High" - }, - "color": "RED", - "description": { - "html": "High priority items", - "raw": "High priority items" - } - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a single select field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Priority", - "data_type": "single_select", - "single_select_options": [ - { - "name": { - "raw": "Low", - "html": "Low" - }, - "color": "GREEN", - "description": { - "raw": "Low priority items", - "html": "Low priority items" - } - }, - { - "name": { - "raw": "Medium", - "html": "Medium" - }, - "color": "YELLOW", - "description": { - "raw": "Medium priority items", - "html": "Medium priority items" - } - }, - { - "name": { - "raw": "High", - "html": "High" - }, - "color": "RED", - "description": { - "raw": "High priority items", - "html": "High priority items" - } - } - ] - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "iteration_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 11223, - "node_id": "PVTF_lADOABCD1122311223", - "name": "Sprint", - "data_type": "iteration", - "project_url": "https://api.github.com/projects/67890", - "configuration": { - "duration": 14, - "start_day": 1, - "iterations": [ - { - "id": "iter_1", - "title": { - "html": "Sprint 1", - "raw": "Sprint 1" - }, - "start_date": "2022-07-01", - "duration": 14 - }, - { - "id": "iter_2", - "title": { - "html": "Sprint 2", - "raw": "Sprint 2" - }, - "start_date": "2022-07-15", - "duration": 14 - } - ] - }, - "created_at": "2022-06-20T16:45:00Z", - "updated_at": "2022-06-20T16:45:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create an iteration field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Sprint", - "data_type": "iteration", - "iteration_configuration": { - "start_day": 1, - "duration": 14, - "iterations": [ - { - "title": { - "raw": "Sprint 1", - "html": "Sprint 1" - }, - "start_date": "2022-07-01", - "duration": 14 - }, - { - "title": { - "raw": "Sprint 2", - "html": "Sprint 2" - }, - "start_date": "2022-07-15", - "duration": 14 - } - ] - } - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "201", - "description": "

Created

" - }, - { - "httpStatusCode": "304", - "description": "

Not modified

" - }, - { - "httpStatusCode": "401", - "description": "

Requires authentication

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [] - } - }, { "serverUrl": "https://api.github.com", "verb": "get", @@ -479899,39 +478390,21 @@ "options": [ { "id": "option_1", - "name": { - "html": "Low", - "raw": "Low" - }, + "name": "Low", "color": "GREEN", - "description": { - "html": "Low priority items", - "raw": "Low priority items" - } + "description": "Low priority items" }, { "id": "option_2", - "name": { - "html": "Medium", - "raw": "Medium" - }, + "name": "Medium", "color": "YELLOW", - "description": { - "html": "Medium priority items", - "raw": "Medium priority items" - } + "description": "Medium priority items" }, { "id": "option_3", - "name": { - "html": "High", - "raw": "High" - }, + "name": "High", "color": "RED", - "description": { - "html": "High priority items", - "raw": "High priority items" - } + "description": "High priority items" } ], "created_at": "2022-04-28T12:00:00Z", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index dbcbf676a340..7d6988091e99 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -105152,14 +105152,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -106305,14 +106297,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -107141,15 +107125,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -107820,14 +107795,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -109476,15 +109443,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -110350,14 +110308,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -112005,14 +111955,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -113163,14 +113105,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -114319,14 +114253,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -116746,14 +116672,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -122147,14 +122065,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -123238,14 +123148,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -303979,14 +303881,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -304941,14 +304835,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -306386,14 +306272,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -467595,14 +467473,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -526478,39 +526348,21 @@ "options": [ { "id": "option_1", - "name": { - "html": "Low", - "raw": "Low" - }, + "name": "Low", "color": "GREEN", - "description": { - "html": "Low priority items", - "raw": "Low priority items" - } + "description": "Low priority items" }, { "id": "option_2", - "name": { - "html": "Medium", - "raw": "Medium" - }, + "name": "Medium", "color": "YELLOW", - "description": { - "html": "Medium priority items", - "raw": "Medium priority items" - } + "description": "Medium priority items" }, { "id": "option_3", - "name": { - "html": "High", - "raw": "High" - }, + "name": "High", "color": "RED", - "description": { - "html": "High priority items", - "raw": "High priority items" - } + "description": "High priority items" } ], "created_at": "2022-04-28T12:00:00Z", @@ -527193,1391 +527045,6 @@ "permissions": [] } }, - { - "serverUrl": "https://api.github.com", - "verb": "post", - "requestPath": "/users/{username}/projectsV2/{project_number}/fields", - "title": "Add field to user owned project", - "category": "projects", - "subcategory": "fields", - "parameters": [ - { - "name": "username", - "description": "

The handle for the GitHub user account.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "project_number", - "description": "

The project's number.

", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "bodyParameters": [ - { - "type": "string", - "name": "name", - "in": "body", - "description": "

The name of the field.

", - "isRequired": true - }, - { - "type": "string", - "name": "data_type", - "in": "body", - "description": "

The field's data type.

", - "isRequired": true, - "enum": [ - "text", - "number", - "date", - "single_select", - "iteration" - ] - }, - { - "type": "array of objects", - "name": "single_select_options", - "in": "body", - "description": "

The options available for single select fields. At least one option must be provided when creating a single select field.

", - "childParamsGroups": [ - { - "type": "string", - "name": "name", - "description": "

The display name of the option.

" - }, - { - "type": "string", - "name": "color", - "description": "

The color associated with the option.

", - "enum": [ - "BLUE", - "GRAY", - "GREEN", - "ORANGE", - "PINK", - "PURPLE", - "RED", - "YELLOW" - ] - }, - { - "type": "string", - "name": "description", - "description": "

The description of the option.

" - } - ] - }, - { - "type": "object", - "name": "iteration_configuration", - "in": "body", - "description": "

The configuration for iteration fields.

", - "childParamsGroups": [ - { - "type": "string", - "name": "start_date", - "description": "

The start date of the first iteration.

" - }, - { - "type": "integer", - "name": "duration", - "description": "

The duration of the iteration in days.

" - }, - { - "type": "array of objects", - "name": "iterations", - "description": "

Zero or more iterations for the field.

", - "childParamsGroups": [ - { - "type": "string", - "name": "title", - "description": "

The title for the iteration.

" - }, - { - "type": "string", - "name": "start_date", - "description": "

The start date of the iteration.

" - }, - { - "type": "integer", - "name": "duration", - "description": "

The duration of the iteration in days.

" - } - ] - } - ] - } - ], - "descriptionHTML": "

Add a field to a specified user owned project.

", - "codeExamples": [ - { - "key": "text_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 24680, - "node_id": "PVTF_lADOABCD2468024680", - "name": "Team notes", - "data_type": "text", - "project_url": "https://api.github.com/projects/67890", - "created_at": "2022-05-15T08:00:00Z", - "updated_at": "2022-05-15T08:00:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a text field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Team notes", - "data_type": "text" - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "number_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 13579, - "node_id": "PVTF_lADOABCD1357913579", - "name": "Story points", - "data_type": "number", - "project_url": "https://api.github.com/projects/67890", - "created_at": "2022-06-01T14:30:00Z", - "updated_at": "2022-06-01T14:30:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a number field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Story points", - "data_type": "number" - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "date_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 98765, - "node_id": "PVTF_lADOABCD9876598765", - "name": "Due date", - "data_type": "date", - "project_url": "https://api.github.com/projects/67890", - "created_at": "2022-06-10T09:15:00Z", - "updated_at": "2022-06-10T09:15:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a date field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Due date", - "data_type": "date" - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "single_select_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": { - "html": "Low", - "raw": "Low" - }, - "color": "GREEN", - "description": { - "html": "Low priority items", - "raw": "Low priority items" - } - }, - { - "id": "option_2", - "name": { - "html": "Medium", - "raw": "Medium" - }, - "color": "YELLOW", - "description": { - "html": "Medium priority items", - "raw": "Medium priority items" - } - }, - { - "id": "option_3", - "name": { - "html": "High", - "raw": "High" - }, - "color": "RED", - "description": { - "html": "High priority items", - "raw": "High priority items" - } - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create a single select field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Priority", - "data_type": "single_select", - "single_select_options": [ - { - "name": { - "raw": "Low", - "html": "Low" - }, - "color": "GREEN", - "description": { - "raw": "Low priority items", - "html": "Low priority items" - } - }, - { - "name": { - "raw": "Medium", - "html": "Medium" - }, - "color": "YELLOW", - "description": { - "raw": "Medium priority items", - "html": "Medium priority items" - } - }, - { - "name": { - "raw": "High", - "html": "High" - }, - "color": "RED", - "description": { - "raw": "High priority items", - "html": "High priority items" - } - } - ] - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - }, - { - "key": "iteration_field", - "response": { - "statusCode": "201", - "contentType": "application/json", - "description": "

Response

", - "example": { - "id": 11223, - "node_id": "PVTF_lADOABCD1122311223", - "name": "Sprint", - "data_type": "iteration", - "project_url": "https://api.github.com/projects/67890", - "configuration": { - "duration": 14, - "start_day": 1, - "iterations": [ - { - "id": "iter_1", - "title": { - "html": "Sprint 1", - "raw": "Sprint 1" - }, - "start_date": "2022-07-01", - "duration": 14 - }, - { - "id": "iter_2", - "title": { - "html": "Sprint 2", - "raw": "Sprint 2" - }, - "start_date": "2022-07-15", - "duration": 14 - } - ] - }, - "created_at": "2022-06-20T16:45:00Z", - "updated_at": "2022-06-20T16:45:00Z" - }, - "schema": { - "title": "Projects v2 Field", - "description": "A field inside a projects v2 project", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the field." - }, - "node_id": { - "type": "string", - "description": "The node ID of the field." - }, - "project_url": { - "type": "string", - "description": "The API URL of the project that contains the field.", - "examples": [ - "https://api.github.com/projects/1" - ] - }, - "name": { - "type": "string", - "description": "The name of the field." - }, - "data_type": { - "type": "string", - "description": "The field's data type.", - "enum": [ - "assignees", - "linked_pull_requests", - "reviewers", - "labels", - "milestone", - "repository", - "title", - "text", - "single_select", - "number", - "date", - "iteration", - "issue_type", - "parent_issue", - "sub_issues_progress" - ] - }, - "options": { - "type": "array", - "description": "The options available for single select fields.", - "items": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the option." - }, - "name": { - "type": "object", - "description": "The display name of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "description": { - "type": "object", - "description": "The description of the option, in raw text and HTML formats.", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ] - }, - "color": { - "type": "string", - "description": "The color associated with the option." - } - }, - "required": [ - "id", - "name", - "description", - "color" - ] - } - }, - "configuration": { - "type": "object", - "description": "Configuration for iteration fields.", - "properties": { - "start_day": { - "type": "integer", - "description": "The day of the week when the iteration starts." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "iterations": { - "type": "array", - "items": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier of the iteration setting." - }, - "start_date": { - "type": "string", - "format": "date", - "description": "The start date of the iteration." - }, - "duration": { - "type": "integer", - "description": "The duration of the iteration in days." - }, - "title": { - "type": "object", - "properties": { - "raw": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "raw", - "html" - ], - "description": "The iteration title, in raw text and HTML formats." - }, - "completed": { - "type": "boolean", - "description": "Whether the iteration has been completed." - } - }, - "required": [ - "id", - "start_date", - "duration", - "title", - "completed" - ] - } - } - } - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was created.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The time when the field was last updated.", - "examples": [ - "2022-04-28T12:00:00Z" - ] - } - }, - "required": [ - "id", - "name", - "data_type", - "created_at", - "updated_at", - "project_url" - ] - } - }, - "request": { - "contentType": "application/json", - "description": "Create an iteration field", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "name": "Sprint", - "data_type": "iteration", - "iteration_configuration": { - "start_day": 1, - "duration": 14, - "iterations": [ - { - "title": { - "raw": "Sprint 1", - "html": "Sprint 1" - }, - "start_date": "2022-07-01", - "duration": 14 - }, - { - "title": { - "raw": "Sprint 2", - "html": "Sprint 2" - }, - "start_date": "2022-07-15", - "duration": 14 - } - ] - } - }, - "parameters": { - "username": "USERNAME", - "project_number": "PROJECT_NUMBER" - } - } - } - ], - "statusCodes": [ - { - "httpStatusCode": "201", - "description": "

Created

" - }, - { - "httpStatusCode": "304", - "description": "

Not modified

" - }, - { - "httpStatusCode": "401", - "description": "

Requires authentication

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" - } - ], - "previews": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [] - } - }, { "serverUrl": "https://api.github.com", "verb": "get", @@ -528641,39 +527108,21 @@ "options": [ { "id": "option_1", - "name": { - "html": "Low", - "raw": "Low" - }, + "name": "Low", "color": "GREEN", - "description": { - "html": "Low priority items", - "raw": "Low priority items" - } + "description": "Low priority items" }, { "id": "option_2", - "name": { - "html": "Medium", - "raw": "Medium" - }, + "name": "Medium", "color": "YELLOW", - "description": { - "html": "Medium priority items", - "raw": "Medium priority items" - } + "description": "Medium priority items" }, { "id": "option_3", - "name": { - "html": "High", - "raw": "High" - }, + "name": "High", "color": "RED", - "description": { - "html": "High priority items", - "raw": "High priority items" - } + "description": "High priority items" } ], "created_at": "2022-04-28T12:00:00Z", diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index f0b2bbdb6035..1d08670b082b 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -94093,14 +94093,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -95213,14 +95205,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -96016,15 +96000,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -96658,14 +96633,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -98281,15 +98248,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -99118,14 +99076,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -100734,14 +100684,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -101859,14 +101801,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -102982,14 +102916,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -105376,14 +105302,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -107874,14 +107792,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -108932,14 +108842,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -221762,14 +221664,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -223218,14 +223112,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -224199,14 +224085,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -332258,14 +332136,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -333320,14 +333190,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -334397,14 +334259,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -335381,14 +335235,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -336462,14 +336308,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -337447,14 +337285,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -338466,14 +338296,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -339536,14 +339358,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -342884,14 +342698,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", diff --git a/src/rest/data/ghes-3.15-2022-11-28/schema.json b/src/rest/data/ghes-3.15-2022-11-28/schema.json index ce11e9d544bd..baf7f642cde8 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.15-2022-11-28/schema.json @@ -94417,14 +94417,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -95545,14 +95537,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -96356,15 +96340,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -97007,14 +96982,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -98638,15 +98605,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -99484,14 +99442,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -101114,14 +101064,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -102247,14 +102189,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -103378,14 +103312,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -105780,14 +105706,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -108286,14 +108204,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -109352,14 +109262,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -224659,14 +224561,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -226123,14 +226017,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -227112,14 +226998,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -335515,14 +335393,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -336585,14 +336455,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -337670,14 +337532,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -338662,14 +338516,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -339751,14 +339597,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -340744,14 +340582,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -341771,14 +341601,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -342849,14 +342671,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -346205,14 +346019,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", diff --git a/src/rest/data/ghes-3.16-2022-11-28/schema.json b/src/rest/data/ghes-3.16-2022-11-28/schema.json index 4fcc7699e6f0..758768d7c093 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.16-2022-11-28/schema.json @@ -94417,14 +94417,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -95553,14 +95545,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -96372,15 +96356,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -97032,14 +97007,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -98671,15 +98638,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -99526,14 +99484,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -101164,14 +101114,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -102305,14 +102247,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -103444,14 +103378,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -105854,14 +105780,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -108368,14 +108286,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -109442,14 +109352,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -229795,14 +229697,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -231267,14 +231161,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -232264,14 +232150,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -340675,14 +340553,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -341753,14 +341623,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -342846,14 +342708,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -343846,14 +343700,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -344943,14 +344789,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -345944,14 +345782,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -346979,14 +346809,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -348065,14 +347887,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -351451,14 +351265,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", diff --git a/src/rest/data/ghes-3.17-2022-11-28/schema.json b/src/rest/data/ghes-3.17-2022-11-28/schema.json index 02aa14538d90..57ac434e5f06 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.17-2022-11-28/schema.json @@ -94609,14 +94609,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -95745,14 +95737,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -96564,15 +96548,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -97224,14 +97199,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -98863,15 +98830,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -99718,14 +99676,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -101356,14 +101306,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -102497,14 +102439,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -103636,14 +103570,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -106046,14 +105972,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -108560,14 +108478,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -109634,14 +109544,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -230597,14 +230499,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -232069,14 +231963,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -233066,14 +232952,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -341613,14 +341491,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -342691,14 +342561,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -343784,14 +343646,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -344784,14 +344638,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -345881,14 +345727,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -346882,14 +346720,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -347917,14 +347747,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -349003,14 +348825,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -352389,14 +352203,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", diff --git a/src/rest/data/ghes-3.18-2022-11-28/schema.json b/src/rest/data/ghes-3.18-2022-11-28/schema.json index aa7c66d0866e..320a99de65c0 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.18-2022-11-28/schema.json @@ -94689,14 +94689,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -95825,14 +95817,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -96644,15 +96628,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -97304,14 +97279,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -98943,15 +98910,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "

The level of permission to grant the access token to create and retrieve build artifact metadata records.

", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -99798,14 +99756,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -101436,14 +101386,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -102577,14 +102519,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -103716,14 +103650,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -106126,14 +106052,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -108640,14 +108558,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -109714,14 +109624,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -232914,14 +232816,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -234386,14 +234280,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -235383,14 +235269,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -343940,14 +343818,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -345018,14 +344888,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -346111,14 +345973,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -347111,14 +346965,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -348208,14 +348054,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -349209,14 +349047,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -350244,14 +350074,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -351330,14 +351152,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", @@ -354716,14 +354530,6 @@ "write" ] }, - "artifact_metadata": { - "type": "string", - "description": "The level of permission to grant the access token to create and retrieve build artifact metadata records.", - "enum": [ - "read", - "write" - ] - }, "attestations": { "type": "string", "description": "The level of permission to create and retrieve the access token for repository attestations.", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index b0fb761fde99..bb77b7ad19e2 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -50,5 +50,5 @@ ] } }, - "sha": "546fd621ad85046db1658ef0e9e3794d3bd6c3b5" + "sha": "dafe0f9ac291168cb41ccc752fbdde576ae44f63" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index a405430d22c1..a4fbedef34a0 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -10798,15 +10798,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -11740,15 +11731,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 1e61eaa25a2a..cee13e3ee544 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -12737,15 +12737,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -13679,15 +13670,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/data/ghes-3.14/schema.json b/src/webhooks/data/ghes-3.14/schema.json index a63eb7ebe849..6ed68107747f 100644 --- a/src/webhooks/data/ghes-3.14/schema.json +++ b/src/webhooks/data/ghes-3.14/schema.json @@ -12420,15 +12420,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -13362,15 +13353,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/data/ghes-3.15/schema.json b/src/webhooks/data/ghes-3.15/schema.json index c1cc0e33b453..f7f18d82d5d6 100644 --- a/src/webhooks/data/ghes-3.15/schema.json +++ b/src/webhooks/data/ghes-3.15/schema.json @@ -12603,15 +12603,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -13545,15 +13536,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/data/ghes-3.16/schema.json b/src/webhooks/data/ghes-3.16/schema.json index ff85a1fc00e0..5c3f93a7ed16 100644 --- a/src/webhooks/data/ghes-3.16/schema.json +++ b/src/webhooks/data/ghes-3.16/schema.json @@ -12603,15 +12603,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -13545,15 +13536,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/data/ghes-3.17/schema.json b/src/webhooks/data/ghes-3.17/schema.json index 9baafdbc4493..647631ee6b86 100644 --- a/src/webhooks/data/ghes-3.17/schema.json +++ b/src/webhooks/data/ghes-3.17/schema.json @@ -12667,15 +12667,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -13609,15 +13600,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/data/ghes-3.18/schema.json b/src/webhooks/data/ghes-3.18/schema.json index ba4d15da9ba6..b8f3f1e18fc4 100644 --- a/src/webhooks/data/ghes-3.18/schema.json +++ b/src/webhooks/data/ghes-3.18/schema.json @@ -12687,15 +12687,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", @@ -13629,15 +13620,6 @@ "write" ] }, - { - "type": "string", - "name": "artifact_metadata", - "description": "", - "enum": [ - "read", - "write" - ] - }, { "type": "string", "name": "attestations", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 03701cdf58c6..4c0b862cfe7f 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "546fd621ad85046db1658ef0e9e3794d3bd6c3b5" + "sha": "dafe0f9ac291168cb41ccc752fbdde576ae44f63" } \ No newline at end of file