diff options
Diffstat (limited to 'descriptions/api.github.com/api.github.com.json')
-rw-r--r-- | descriptions/api.github.com/api.github.com.json | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index b76ea3869..f538052ea 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2177,10 +2177,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -2526,10 +2528,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -11405,10 +11409,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -11868,10 +11874,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -44638,7 +44646,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -98107,7 +98115,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -104631,7 +104641,7 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "organization": { "$ref": "#/components/schemas/nullable-organization-simple" @@ -104687,7 +104697,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false |