You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10387,6 +10387,9 @@ paths:
10387
10387
get:
10388
10388
summary: Get code security and analysis features for an enterprise
10389
10389
description: |-
10390
+
> [!WARNING]
10391
+
> **Deprecation notice:** The ability to fetch code security and analysis settings for an enterprise is deprecated. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).
10392
+
10390
10393
Gets code security and analysis settings for the specified enterprise.
10391
10394
10392
10395
The authenticated user must be an administrator of the enterprise in order to use this endpoint.
@@ -10476,9 +10479,15 @@ paths:
10476
10479
enabledForGitHubApps: false
10477
10480
category: enterprise-admin
10478
10481
subcategory: code-security-and-analysis
10482
+
deprecationDate: '2024-09-27'
10483
+
removalDate: '2025-09-27'
10484
+
deprecated: true
10479
10485
patch:
10480
10486
summary: Update code security and analysis features for an enterprise
10481
10487
description: |-
10488
+
> [!WARNING]
10489
+
> **Deprecation notice:** The ability to update code security and analysis settings for an enterprise is deprecated. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).
10490
+
10482
10491
Updates the settings for advanced security, Dependabot alerts, secret scanning, and push protection for new repositories in an enterprise.
10483
10492
10484
10493
The authenticated user must be an administrator of the enterprise to use this endpoint.
@@ -10556,6 +10565,9 @@ paths:
10556
10565
enabledForGitHubApps: false
10557
10566
category: enterprise-admin
10558
10567
subcategory: code-security-and-analysis
10568
+
deprecationDate: '2024-09-27'
10569
+
removalDate: '2025-09-27'
10570
+
deprecated: true
10559
10571
"/enterprises/{enterprise}/consumed-licenses":
10560
10572
get:
10561
10573
summary: List enterprise consumed licenses
@@ -13265,6 +13277,9 @@ paths:
13265
13277
post:
13266
13278
summary: Enable or disable a security feature
13267
13279
description: |-
13280
+
> [!WARNING]
13281
+
> **Deprecation notice:** The ability to enable or disable a security feature for an enterprise is deprecated. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-09-27-upcoming-replacement-of-enterprise-code-security-enablement-ui-and-apis).
13282
+
13268
13283
Enables or disables the specified security feature for all repositories in an enterprise.
13269
13284
13270
13285
The authenticated user must be an administrator of the enterprise to use this endpoint.
@@ -13316,6 +13331,9 @@ paths:
13316
13331
enabledForGitHubApps: false
13317
13332
category: enterprise-admin
13318
13333
subcategory: code-security-and-analysis
13334
+
deprecationDate: '2024-09-27'
13335
+
removalDate: '2025-09-27'
13336
+
deprecated: true
13319
13337
"/events":
13320
13338
get:
13321
13339
summary: List public events
@@ -35105,8 +35123,9 @@ paths:
35105
35123
description: The ID of the actor that can bypass a ruleset.
35106
35124
If `actor_type` is `OrganizationAdmin`, this should
35107
35125
be `1`. If `actor_type` is `DeployKey`, this should
35108
-
be null. `OrganizationAdmin` is not applicable for personal
35109
-
repositories.
35126
+
be null. If `actor_type` is `EnterpriseOwner`, `actor_id`
35127
+
is ignored. `OrganizationAdmin` and `EnterpriseOwner`
35128
+
are not applicable for personal repositories.
35110
35129
actor_type:
35111
35130
type: string
35112
35131
enum:
@@ -35115,7 +35134,8 @@ paths:
35115
35134
- RepositoryRole
35116
35135
- Team
35117
35136
- DeployKey
35118
-
description: The type of actor that can bypass a ruleset.
35137
+
- EnterpriseOwner
35138
+
description: The type of actor that can bypass a ruleset
35119
35139
bypass_mode:
35120
35140
type: string
35121
35141
description: When the specified actor can bypass the ruleset.
0 commit comments