diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index cea6c2b0b012..15ebb0ccce5a 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "0305b93e5aebf14aeb7548bd4d4d53adcf054386" + "sha": "0cbc71f6c0f48a2bc81be56158ea04b535402355" } \ 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 dd7c7a738391..9e87a140f85b 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -474088,6 +474088,10 @@ "httpStatusCode": "302", "description": "
Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index cf082e9a8d9d..b60e07ebdee2 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -497630,6 +497630,10 @@ "httpStatusCode": "302", "description": "Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 2a2382eb13e1..2ff9f985c61b 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -436725,6 +436725,10 @@ "httpStatusCode": "302", "description": "Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 662ffb01fe5f..936a8dc93df9 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -442781,6 +442781,10 @@ "httpStatusCode": "302", "description": "Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 76dc27e97de7..b520271f1873 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -445658,6 +445658,10 @@ "httpStatusCode": "302", "description": "Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index 19c4c718132d..cfe95a0c9149 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -450439,6 +450439,10 @@ "httpStatusCode": "302", "description": "Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index d24fb85aa55f..bd6779ec90c5 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -430204,6 +430204,10 @@ "httpStatusCode": "302", "description": "Found
" }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, { "httpStatusCode": "403", "description": "Forbidden
" diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 64b9eedf3674..1795cf10ed11 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "0305b93e5aebf14aeb7548bd4d4d53adcf054386" + "sha": "0cbc71f6c0f48a2bc81be56158ea04b535402355" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 02976bf7b0b2..91d8f8eef925 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -208262,6 +208262,11 @@ "name": "secret_type", "description": "The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
A secret scanning push protection bypass request was cancelled.
", + "summaryHtml": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.
\nFor more information, see \"Enabling delegated bypass for push protection.\"
\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
\nNote: Delegated bypass for push protection is currently in beta and subject to change.
", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "cancelled" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "description": "An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
A request from a user to be exempted from a set of rules.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption request.
" + }, + { + "type": "integer", + "name": "number", + "description": "The number uniquely identifying the exemption request within it's repository.
" + }, + { + "type": "integer", + "name": "repository_id", + "description": "The ID of the repository the exemption request is for.
" + }, + { + "type": "integer", + "name": "requester_id", + "description": "The ID of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "requester_login", + "description": "The login of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "request_type", + "description": "The type of request.
", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "Push rules that are being requested to be bypassed.
" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "The unique identifier for the request type of the exemption request. For example, a commit SHA.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption request.
", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "The comment the requester provided when creating the exemption request.
" + }, + { + "type": "object or null", + "name": "metadata", + "description": "Metadata about the exemption request.
", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "Metadata for a secret scanning push protection exemption request.
", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "The label for the secret type
" + }, + { + "type": "string", + "name": "reason", + "description": "The reason for the exemption request
", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "The date and time the exemption request will expire.
" + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "The responses to the exemption request.
", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "The URL to view the exemption request in a browser.
" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "The GitHub user that triggered the event. This property is included in every webhook payload.
", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "cancelled", + "category": "bypass_request_secret_scanning" + }, + "completed": { + "descriptionHtml": "A secret scanning bypass request was completed.
", + "summaryHtml": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.
\nFor more information, see \"Enabling delegated bypass for push protection.\"
\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
\nNote: Delegated bypass for push protection is currently in beta and subject to change.
", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "completed" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "description": "An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
A request from a user to be exempted from a set of rules.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption request.
" + }, + { + "type": "integer", + "name": "number", + "description": "The number uniquely identifying the exemption request within it's repository.
" + }, + { + "type": "integer", + "name": "repository_id", + "description": "The ID of the repository the exemption request is for.
" + }, + { + "type": "integer", + "name": "requester_id", + "description": "The ID of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "requester_login", + "description": "The login of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "request_type", + "description": "The type of request.
", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "Push rules that are being requested to be bypassed.
" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "The unique identifier for the request type of the exemption request. For example, a commit SHA.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption request.
", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "The comment the requester provided when creating the exemption request.
" + }, + { + "type": "object or null", + "name": "metadata", + "description": "Metadata about the exemption request.
", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "Metadata for a secret scanning push protection exemption request.
", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "The label for the secret type
" + }, + { + "type": "string", + "name": "reason", + "description": "The reason for the exemption request
", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "The date and time the exemption request will expire.
" + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "The responses to the exemption request.
", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "The URL to view the exemption request in a browser.
" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "The GitHub user that triggered the event. This property is included in every webhook payload.
", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "completed", + "category": "bypass_request_secret_scanning" + }, + "created": { + "descriptionHtml": "A secret scanning push protection bypass request was created.
", + "summaryHtml": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.
\nFor more information, see \"Enabling delegated bypass for push protection.\"
\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
\nNote: Delegated bypass for push protection is currently in beta and subject to change.
", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "created" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "description": "An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
A request from a user to be exempted from a set of rules.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption request.
" + }, + { + "type": "integer", + "name": "number", + "description": "The number uniquely identifying the exemption request within it's repository.
" + }, + { + "type": "integer", + "name": "repository_id", + "description": "The ID of the repository the exemption request is for.
" + }, + { + "type": "integer", + "name": "requester_id", + "description": "The ID of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "requester_login", + "description": "The login of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "request_type", + "description": "The type of request.
", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "Push rules that are being requested to be bypassed.
" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "The unique identifier for the request type of the exemption request. For example, a commit SHA.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption request.
", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "The comment the requester provided when creating the exemption request.
" + }, + { + "type": "object or null", + "name": "metadata", + "description": "Metadata about the exemption request.
", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "Metadata for a secret scanning push protection exemption request.
", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "The label for the secret type
" + }, + { + "type": "string", + "name": "reason", + "description": "The reason for the exemption request
", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "The date and time the exemption request will expire.
" + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "The responses to the exemption request.
", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "The URL to view the exemption request in a browser.
" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "The GitHub user that triggered the event. This property is included in every webhook payload.
", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "created", + "category": "bypass_request_secret_scanning" + }, + "response_dismissed": { + "descriptionHtml": "A secret scanning push protection bypass response was dismissed.
", + "summaryHtml": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.
\nFor more information, see \"Enabling delegated bypass for push protection.\"
\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
\nNote: Delegated bypass for push protection is currently in beta and subject to change.
", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "response_dismissed" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "description": "An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
A request from a user to be exempted from a set of rules.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption request.
" + }, + { + "type": "integer", + "name": "number", + "description": "The number uniquely identifying the exemption request within it's repository.
" + }, + { + "type": "integer", + "name": "repository_id", + "description": "The ID of the repository the exemption request is for.
" + }, + { + "type": "integer", + "name": "requester_id", + "description": "The ID of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "requester_login", + "description": "The login of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "request_type", + "description": "The type of request.
", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "Push rules that are being requested to be bypassed.
" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "The unique identifier for the request type of the exemption request. For example, a commit SHA.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption request.
", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "The comment the requester provided when creating the exemption request.
" + }, + { + "type": "object or null", + "name": "metadata", + "description": "Metadata about the exemption request.
", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "Metadata for a secret scanning push protection exemption request.
", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "The label for the secret type
" + }, + { + "type": "string", + "name": "reason", + "description": "The reason for the exemption request
", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "The date and time the exemption request will expire.
" + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "The responses to the exemption request.
", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "The URL to view the exemption request in a browser.
" + } + ] + }, + { + "type": "object", + "name": "exemption_response", + "in": "body", + "description": "A response to an exemption request by a delegated bypasser.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "The GitHub user that triggered the event. This property is included in every webhook payload.
", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "response_dismissed", + "category": "bypass_request_secret_scanning" + }, + "response_submitted": { + "descriptionHtml": "A response either approving or rejecting the secret scanning push protection bypass request was submitted.
", + "summaryHtml": "This event occurs when there is activity related to a user's request to bypass secret scanning push protection.
\nFor more information, see \"Enabling delegated bypass for push protection.\"
\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
\nNote: Delegated bypass for push protection is currently in beta and subject to change.
", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "response_submitted" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "description": "An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
A request from a user to be exempted from a set of rules.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption request.
" + }, + { + "type": "integer", + "name": "number", + "description": "The number uniquely identifying the exemption request within it's repository.
" + }, + { + "type": "integer", + "name": "repository_id", + "description": "The ID of the repository the exemption request is for.
" + }, + { + "type": "integer", + "name": "requester_id", + "description": "The ID of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "requester_login", + "description": "The login of the user who requested the exemption.
" + }, + { + "type": "string", + "name": "request_type", + "description": "The type of request.
", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "Push rules that are being requested to be bypassed.
" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "The unique identifier for the request type of the exemption request. For example, a commit SHA.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption request.
", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "The comment the requester provided when creating the exemption request.
" + }, + { + "type": "object or null", + "name": "metadata", + "description": "Metadata about the exemption request.
", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "Metadata for a secret scanning push protection exemption request.
", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "The label for the secret type
" + }, + { + "type": "string", + "name": "reason", + "description": "The reason for the exemption request
", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "The date and time the exemption request will expire.
" + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "The responses to the exemption request.
", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "The URL to view the exemption request in a browser.
" + } + ] + }, + { + "type": "object", + "name": "exemption_response", + "in": "body", + "description": "A response to an exemption request by a delegated bypasser.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "The ID of the exemption response.
" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "The ID of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "The login of the user who reviewed the exemption request.
" + }, + { + "type": "string", + "name": "status", + "description": "The status of the exemption response.
", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "The date and time the exemption request was created.
" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "The GitHub user that triggered the event. This property is included in every webhook payload.
", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "response_submitted", + "category": "bypass_request_secret_scanning" + } + }, "check_run": { "completed": { "descriptionHtml": "A check run was completed, and a conclusion is available.
", @@ -207827,12 +208962,297 @@ "repository", "organization" ], - "action": "reopen", + "action": "reopen", + "category": "repository_vulnerability_alert" + }, + "resolve": { + "descriptionHtml": "A repository vulnerability alert was marked as resolved.
", + "summaryHtml": "This event occurs when there is activity relating to a security vulnerability alert in a repository.
\nNote: This event is deprecated. Use the dependabot_alert
event instead.
The security alert of the vulnerable dependency.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "affected_package_name", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "affected_range", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "dismiss_reason", + "description": "" + }, + { + "type": "string", + "name": "dismissed_at", + "description": "" + }, + { + "type": "object or null", + "name": "dismisser", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "string", + "name": "external_identifier", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "external_reference", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "fix_reason", + "description": "" + }, + { + "type": "string", + "name": "fixed_at", + "description": "" + }, + { + "type": "string", + "name": "fixed_in", + "description": "" + }, + { + "type": "string", + "name": "ghsa_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "severity", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "state", + "description": "", + "isRequired": true, + "enum": [ + "fixed", + "open" + ] + } + ] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "description": "An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
The GitHub user that triggered the event. This property is included in every webhook payload.
", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization" + ], + "action": "resolve", "category": "repository_vulnerability_alert" - }, - "resolve": { - "descriptionHtml": "A repository vulnerability alert was marked as resolved.
", - "summaryHtml": "This event occurs when there is activity relating to a security vulnerability alert in a repository.
\nNote: This event is deprecated. Use the dependabot_alert
event instead.
A secret scanning alert was created.
", + "summaryHtml": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.
\nFor activity relating to secret scanning alert locations, use the secret_scanning_alert_location
event.
To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
", "bodyParameters": [ { "type": "string", @@ -207841,7 +209261,7 @@ "description": "", "isRequired": true, "enum": [ - "resolve" + "created" ], "childParamsGroups": [] }, @@ -207849,50 +209269,66 @@ "type": "object", "name": "alert", "in": "body", - "description": "The security alert of the vulnerable dependency.
", + "description": "", "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "affected_package_name", - "description": "", - "isRequired": true + "type": "integer", + "name": "number", + "description": "The security alert number.
" }, { "type": "string", - "name": "affected_range", - "description": "", - "isRequired": true + "name": "created_at", + "description": "The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The REST API URL of the alert resource.
" }, { "type": "string", - "name": "dismiss_reason", - "description": "" + "name": "html_url", + "description": "The GitHub URL of the alert resource.
" }, { "type": "string", - "name": "dismissed_at", - "description": "" + "name": "locations_url", + "description": "The REST API URL of the code locations for this alert.
" }, { - "type": "object or null", - "name": "dismisser", - "description": "", + "type": "string or null", + "name": "resolution", + "description": "The reason for resolving the alert.
", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + { + "type": "string or null", + "name": "resolved_at", + "description": "The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
A GitHub user.
", "childParamsGroups": [ { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", + "type": "string or null", + "name": "name", "description": "" }, { @@ -207902,169 +209338,283 @@ }, { "type": "string", - "name": "events_url", - "description": "" + "name": "login", + "description": "", + "isRequired": true }, { - "type": "string", - "name": "followers_url", - "description": "" + "type": "integer", + "name": "id", + "description": "", + "isRequired": true }, { "type": "string", - "name": "following_url", - "description": "" + "name": "node_id", + "description": "", + "isRequired": true }, { "type": "string", - "name": "gists_url", - "description": "" + "name": "avatar_url", + "description": "", + "isRequired": true }, { - "type": "string", + "type": "string or null", "name": "gravatar_id", - "description": "" + "description": "", + "isRequired": true }, { "type": "string", - "name": "html_url", - "description": "" + "name": "url", + "description": "", + "isRequired": true }, { - "type": "integer", - "name": "id", + "type": "string", + "name": "html_url", "description": "", "isRequired": true }, { "type": "string", - "name": "login", + "name": "followers_url", "description": "", "isRequired": true }, { "type": "string", - "name": "name", - "description": "" + "name": "following_url", + "description": "", + "isRequired": true }, { "type": "string", - "name": "node_id", - "description": "" + "name": "gists_url", + "description": "", + "isRequired": true }, { "type": "string", - "name": "organizations_url", - "description": "" + "name": "starred_url", + "description": "", + "isRequired": true }, { "type": "string", - "name": "received_events_url", - "description": "" + "name": "subscriptions_url", + "description": "", + "isRequired": true }, { "type": "string", - "name": "repos_url", - "description": "" + "name": "organizations_url", + "description": "", + "isRequired": true }, { - "type": "boolean", - "name": "site_admin", - "description": "" + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true }, { "type": "string", - "name": "starred_url", - "description": "" + "name": "events_url", + "description": "", + "isRequired": true }, { "type": "string", - "name": "subscriptions_url", - "description": "" + "name": "received_events_url", + "description": "", + "isRequired": true }, { "type": "string", "name": "type", "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true }, { "type": "string", - "name": "url", + "name": "starred_at", "description": "" } ] }, - { - "type": "string", - "name": "external_identifier", - "description": "", - "isRequired": true - }, { "type": "string or null", - "name": "external_reference", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "fix_reason", - "description": "" - }, - { - "type": "string", - "name": "fixed_at", - "description": "" + "name": "resolution_comment", + "description": "An optional comment to resolve an alert.
" }, { "type": "string", - "name": "fixed_in", - "description": "" + "name": "secret_type", + "description": "The type of secret that secret scanning detected.
" }, { "type": "string", - "name": "ghsa_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The token status as of the latest validity check.
", + "enum": [ + "active", + "inactive", + "unknown" + ] }, { - "type": "integer", - "name": "number", - "description": "", - "isRequired": true + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "Whether push protection was bypassed for the detected secret.
" }, { - "type": "string", - "name": "severity", - "description": "", - "isRequired": true + "type": "object", + "name": "push_protection_bypassed_by", + "description": "A GitHub user.
", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] }, { - "type": "string", - "name": "state", - "description": "", - "isRequired": true, - "enum": [ - "fixed", - "open" - ] + "type": "string or null", + "name": "push_protection_bypassed_at", + "description": "The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The GitHub user that triggered the event. This property is included in every webhook payload.
", - "isRequired": true, "childParamsGroups": [] } ], "availability": [ "repository", - "organization" + "organization", + "app" ], - "action": "resolve", - "category": "repository_vulnerability_alert" - } - }, - "secret_scanning_alert": { - "created": { - "descriptionHtml": "A secret scanning alert was created.
", + "action": "created", + "category": "secret_scanning_alert" + }, + "reopened": { + "descriptionHtml": "A previously closed secret scanning alert was reopened.
", "summaryHtml": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.
\nFor activity relating to secret scanning alert locations, use the secret_scanning_alert_location
event.
To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
", "bodyParameters": [ { @@ -208126,7 +209674,7 @@ "description": "", "isRequired": true, "enum": [ - "created" + "reopened" ], "childParamsGroups": [] }, @@ -208326,6 +209874,11 @@ "name": "secret_type", "description": "The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
A previously closed secret scanning alert was reopened.
", + "resolved": { + "descriptionHtml": "A secret scanning alert was closed.
", "summaryHtml": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.
\nFor activity relating to secret scanning alert locations, use the secret_scanning_alert_location
event.
To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
", "bodyParameters": [ { @@ -208534,7 +210087,7 @@ "description": "", "isRequired": true, "enum": [ - "reopened" + "resolved" ], "childParamsGroups": [] }, @@ -208736,411 +210289,8 @@ }, { "type": "string", - "name": "validity", - "description": "The token status as of the latest validity check.
", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "Whether push protection was bypassed for the detected secret.
" - }, - { - "type": "object", - "name": "push_protection_bypassed_by", - "description": "A GitHub user.
", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
An enterprise on GitHub. Webhook payloads contain the enterprise
property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"
A GitHub organization. Webhook payloads contain the organization
property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.
The repository on GitHub where the event occurred. Webhook payloads contain the repository
property\nwhen the event occurs from activity in a repository.
The GitHub user that triggered the event. This property is included in every webhook payload.
", - "childParamsGroups": [] - } - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "secret_scanning_alert" - }, - "resolved": { - "descriptionHtml": "A secret scanning alert was closed.
", - "summaryHtml": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.
\nFor activity relating to secret scanning alert locations, use the secret_scanning_alert_location
event.
To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.
", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "", - "isRequired": true, - "enum": [ - "resolved" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "number", - "description": "The security alert number.
" - }, - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The REST API URL of the alert resource.
" - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.
" - }, - { - "type": "string", - "name": "locations_url", - "description": "The REST API URL of the code locations for this alert.
" - }, - { - "type": "string or null", - "name": "resolution", - "description": "The reason for resolving the alert.
", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null - ] - }, - { - "type": "string or null", - "name": "resolved_at", - "description": "The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
A GitHub user.
", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "resolution_comment", - "description": "An optional comment to resolve an alert.
" - }, - { - "type": "string", - "name": "secret_type", - "description": "The type of secret that secret scanning detected.
" + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"
The type of secret that secret scanning detected.
" }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "User-friendly name for the detected secret, matching the secret_type
.\nFor a list of built-in patterns, see \"Secret scanning patterns.\"