summaryrefslogtreecommitdiffstats
path: root/descriptions/ghes-3.16
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2025-03-12 03:07:35 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2025-03-12 03:07:35 -0700
commitcc301afa5f684a7361cd1c839977496b1e29cd21 (patch)
treeef922e50b3c152da0f27d8b244a3152b33d3f255 /descriptions/ghes-3.16
parentb7df7fac50d77f5692ca6433b5f2836a0793da58 (diff)
downloadrest-api-description-cc301afa5f684a7361cd1c839977496b1e29cd21.tar.gz
rest-api-description-cc301afa5f684a7361cd1c839977496b1e29cd21.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/ghes-3.16')
-rw-r--r--descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json520
-rw-r--r--descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml37
-rw-r--r--descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json520
-rw-r--r--descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml37
-rw-r--r--descriptions/ghes-3.16/ghes-3.16.2022-11-28.json58
-rw-r--r--descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml40
-rw-r--r--descriptions/ghes-3.16/ghes-3.16.json58
-rw-r--r--descriptions/ghes-3.16/ghes-3.16.yaml40
8 files changed, 1262 insertions, 48 deletions
diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json
index 3b817d56c..c85b4713c 100644
--- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json
+++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json
@@ -495309,7 +495309,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -495431,6 +495432,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -495458,7 +495486,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -495499,6 +495527,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -497205,7 +497253,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -497327,6 +497376,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -497354,7 +497430,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -497395,6 +497471,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -499101,7 +499197,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -499223,6 +499320,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -499250,7 +499374,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -499291,6 +499415,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -500997,7 +501141,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -501119,6 +501264,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -501146,7 +501318,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -501187,6 +501359,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -502932,7 +503124,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -503054,6 +503247,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -503081,7 +503301,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -503122,6 +503342,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -504867,7 +505107,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -504989,6 +505230,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -505016,7 +505284,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -505057,6 +505325,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -506763,7 +507051,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -506885,6 +507174,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -506912,7 +507228,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -506953,6 +507269,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -508659,7 +508995,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -508781,6 +509118,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -508808,7 +509172,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -508849,6 +509213,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -510555,7 +510939,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -510677,6 +511062,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -510704,7 +511116,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -510745,6 +511157,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -512490,7 +512922,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -512612,6 +513045,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -512639,7 +513099,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -512680,6 +513140,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml
index b02f3646a..579fae3c2 100644
--- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml
+++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml
@@ -95259,6 +95259,7 @@ x-webhooks:
- push_ruleset_bypass
- secret_scanning
- secret_scanning_closure
+ - code_scanning_alert_dismissal
exemption_request_data:
oneOf:
- title: Push ruleset bypass exemption request data
@@ -95352,6 +95353,25 @@ x-webhooks:
alert_number:
type: string
description: The number of the alert that was detected
+ - title: Code scanning alert dismissal request data
+ description: Code scanning alerts that have dismissal requests.
+ type: object
+ properties:
+ type:
+ type: string
+ description: The type of request
+ enum:
+ - code_scanning_alert_dismissal
+ data:
+ type: array
+ description: The data related to the code scanning alerts
+ that have dismissal requests.
+ items:
+ type: object
+ properties:
+ alert_number:
+ type: string
+ description: The number of the alert to be dismissed
resource_identifier:
type: string
description: The unique identifier for the request type of the
@@ -95374,7 +95394,7 @@ x-webhooks:
type: object
description: Metadata about the exemption request.
nullable: true
- oneOf:
+ anyOf:
- title: Secret Scanning Push Protection Exemption Request Metadata
description: Metadata for a secret scanning push protection
exemption request.
@@ -95406,6 +95426,21 @@ x-webhooks:
- false_positive
- tests
- revoked
+ - title: Code scanning alert dismissal request metadata
+ description: Metadata for a code scanning alert dismissal
+ request.
+ type: object
+ properties:
+ alert_title:
+ type: string
+ description: The title of the code scanning alert
+ reason:
+ type: string
+ description: The reason for the dismissal request
+ enum:
+ - false positive
+ - won't fix
+ - used in tests
expires_at:
type: string
format: date-time
diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json
index 3b817d56c..c85b4713c 100644
--- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json
+++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json
@@ -495309,7 +495309,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -495431,6 +495432,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -495458,7 +495486,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -495499,6 +495527,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -497205,7 +497253,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -497327,6 +497376,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -497354,7 +497430,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -497395,6 +497471,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -499101,7 +499197,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -499223,6 +499320,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -499250,7 +499374,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -499291,6 +499415,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -500997,7 +501141,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -501119,6 +501264,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -501146,7 +501318,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -501187,6 +501359,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -502932,7 +503124,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -503054,6 +503247,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -503081,7 +503301,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -503122,6 +503342,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -504867,7 +505107,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -504989,6 +505230,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -505016,7 +505284,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -505057,6 +505325,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -506763,7 +507051,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -506885,6 +507174,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -506912,7 +507228,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -506953,6 +507269,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -508659,7 +508995,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -508781,6 +509118,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -508808,7 +509172,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -508849,6 +509213,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -510555,7 +510939,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -510677,6 +511062,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -510704,7 +511116,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -510745,6 +511157,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
@@ -512490,7 +512922,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -512612,6 +513045,33 @@
}
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
}
]
},
@@ -512639,7 +513099,7 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -512680,6 +513140,26 @@
]
}
}
+ },
+ {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
}
]
},
diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml
index b02f3646a..579fae3c2 100644
--- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml
+++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml
@@ -95259,6 +95259,7 @@ x-webhooks:
- push_ruleset_bypass
- secret_scanning
- secret_scanning_closure
+ - code_scanning_alert_dismissal
exemption_request_data:
oneOf:
- title: Push ruleset bypass exemption request data
@@ -95352,6 +95353,25 @@ x-webhooks:
alert_number:
type: string
description: The number of the alert that was detected
+ - title: Code scanning alert dismissal request data
+ description: Code scanning alerts that have dismissal requests.
+ type: object
+ properties:
+ type:
+ type: string
+ description: The type of request
+ enum:
+ - code_scanning_alert_dismissal
+ data:
+ type: array
+ description: The data related to the code scanning alerts
+ that have dismissal requests.
+ items:
+ type: object
+ properties:
+ alert_number:
+ type: string
+ description: The number of the alert to be dismissed
resource_identifier:
type: string
description: The unique identifier for the request type of the
@@ -95374,7 +95394,7 @@ x-webhooks:
type: object
description: Metadata about the exemption request.
nullable: true
- oneOf:
+ anyOf:
- title: Secret Scanning Push Protection Exemption Request Metadata
description: Metadata for a secret scanning push protection
exemption request.
@@ -95406,6 +95426,21 @@ x-webhooks:
- false_positive
- tests
- revoked
+ - title: Code scanning alert dismissal request metadata
+ description: Metadata for a code scanning alert dismissal
+ request.
+ type: object
+ properties:
+ alert_title:
+ type: string
+ description: The title of the code scanning alert
+ reason:
+ type: string
+ description: The reason for the dismissal request
+ enum:
+ - false positive
+ - won't fix
+ - used in tests
expires_at:
type: string
format: date-time
diff --git a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json
index 8a0fb5029..4d6a95b48 100644
--- a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json
+++ b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json
@@ -127850,6 +127850,33 @@
}
}
},
+ "dismissal-request-code-scanning": {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
+ },
"exemption-request-secret-scanning-metadata": {
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -127891,6 +127918,26 @@
}
}
},
+ "dismissal-request-code-scanning-metadata": {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
+ },
"exemption-response": {
"title": "Exemption response",
"description": "A response to an exemption request by a delegated bypasser.",
@@ -127961,7 +128008,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -127974,6 +128022,9 @@
},
{
"$ref": "#/components/schemas/dismissal-request-secret-scanning"
+ },
+ {
+ "$ref": "#/components/schemas/dismissal-request-code-scanning"
}
]
},
@@ -128001,12 +128052,15 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"$ref": "#/components/schemas/exemption-request-secret-scanning-metadata"
},
{
"$ref": "#/components/schemas/dismissal-request-secret-scanning-metadata"
+ },
+ {
+ "$ref": "#/components/schemas/dismissal-request-code-scanning-metadata"
}
]
},
diff --git a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml
index bc54c9ff5..95cf62e34 100644
--- a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml
+++ b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml
@@ -93671,6 +93671,26 @@ components:
alert_number:
type: string
description: The number of the alert that was detected
+ dismissal-request-code-scanning:
+ title: Code scanning alert dismissal request data
+ description: Code scanning alerts that have dismissal requests.
+ type: object
+ properties:
+ type:
+ type: string
+ description: The type of request
+ enum:
+ - code_scanning_alert_dismissal
+ data:
+ type: array
+ description: The data related to the code scanning alerts that have dismissal
+ requests.
+ items:
+ type: object
+ properties:
+ alert_number:
+ type: string
+ description: The number of the alert to be dismissed
exemption-request-secret-scanning-metadata:
title: Secret Scanning Push Protection Exemption Request Metadata
description: Metadata for a secret scanning push protection exemption request.
@@ -93702,6 +93722,21 @@ components:
- false_positive
- tests
- revoked
+ dismissal-request-code-scanning-metadata:
+ title: Code scanning alert dismissal request metadata
+ description: Metadata for a code scanning alert dismissal request.
+ type: object
+ properties:
+ alert_title:
+ type: string
+ description: The title of the code scanning alert
+ reason:
+ type: string
+ description: The reason for the dismissal request
+ enum:
+ - false positive
+ - won't fix
+ - used in tests
exemption-response:
title: Exemption response
description: A response to an exemption request by a delegated bypasser.
@@ -93761,11 +93796,13 @@ components:
- push_ruleset_bypass
- secret_scanning
- secret_scanning_closure
+ - code_scanning_alert_dismissal
exemption_request_data:
oneOf:
- "$ref": "#/components/schemas/exemption-request-push-ruleset-bypass"
- "$ref": "#/components/schemas/exemption-request-secret-scanning"
- "$ref": "#/components/schemas/dismissal-request-secret-scanning"
+ - "$ref": "#/components/schemas/dismissal-request-code-scanning"
resource_identifier:
type: string
description: The unique identifier for the request type of the exemption
@@ -93788,9 +93825,10 @@ components:
type: object
description: Metadata about the exemption request.
nullable: true
- oneOf:
+ anyOf:
- "$ref": "#/components/schemas/exemption-request-secret-scanning-metadata"
- "$ref": "#/components/schemas/dismissal-request-secret-scanning-metadata"
+ - "$ref": "#/components/schemas/dismissal-request-code-scanning-metadata"
expires_at:
type: string
format: date-time
diff --git a/descriptions/ghes-3.16/ghes-3.16.json b/descriptions/ghes-3.16/ghes-3.16.json
index 8a0fb5029..4d6a95b48 100644
--- a/descriptions/ghes-3.16/ghes-3.16.json
+++ b/descriptions/ghes-3.16/ghes-3.16.json
@@ -127850,6 +127850,33 @@
}
}
},
+ "dismissal-request-code-scanning": {
+ "title": "Code scanning alert dismissal request data",
+ "description": "Code scanning alerts that have dismissal requests.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of request",
+ "enum": [
+ "code_scanning_alert_dismissal"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "description": "The data related to the code scanning alerts that have dismissal requests.",
+ "items": {
+ "type": "object",
+ "properties": {
+ "alert_number": {
+ "type": "string",
+ "description": "The number of the alert to be dismissed"
+ }
+ }
+ }
+ }
+ }
+ },
"exemption-request-secret-scanning-metadata": {
"title": "Secret Scanning Push Protection Exemption Request Metadata",
"description": "Metadata for a secret scanning push protection exemption request.",
@@ -127891,6 +127918,26 @@
}
}
},
+ "dismissal-request-code-scanning-metadata": {
+ "title": "Code scanning alert dismissal request metadata",
+ "description": "Metadata for a code scanning alert dismissal request.",
+ "type": "object",
+ "properties": {
+ "alert_title": {
+ "type": "string",
+ "description": "The title of the code scanning alert"
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the dismissal request",
+ "enum": [
+ "false positive",
+ "won't fix",
+ "used in tests"
+ ]
+ }
+ }
+ },
"exemption-response": {
"title": "Exemption response",
"description": "A response to an exemption request by a delegated bypasser.",
@@ -127961,7 +128008,8 @@
"enum": [
"push_ruleset_bypass",
"secret_scanning",
- "secret_scanning_closure"
+ "secret_scanning_closure",
+ "code_scanning_alert_dismissal"
]
},
"exemption_request_data": {
@@ -127974,6 +128022,9 @@
},
{
"$ref": "#/components/schemas/dismissal-request-secret-scanning"
+ },
+ {
+ "$ref": "#/components/schemas/dismissal-request-code-scanning"
}
]
},
@@ -128001,12 +128052,15 @@
"type": "object",
"description": "Metadata about the exemption request.",
"nullable": true,
- "oneOf": [
+ "anyOf": [
{
"$ref": "#/components/schemas/exemption-request-secret-scanning-metadata"
},
{
"$ref": "#/components/schemas/dismissal-request-secret-scanning-metadata"
+ },
+ {
+ "$ref": "#/components/schemas/dismissal-request-code-scanning-metadata"
}
]
},
diff --git a/descriptions/ghes-3.16/ghes-3.16.yaml b/descriptions/ghes-3.16/ghes-3.16.yaml
index bc54c9ff5..95cf62e34 100644
--- a/descriptions/ghes-3.16/ghes-3.16.yaml
+++ b/descriptions/ghes-3.16/ghes-3.16.yaml
@@ -93671,6 +93671,26 @@ components:
alert_number:
type: string
description: The number of the alert that was detected
+ dismissal-request-code-scanning:
+ title: Code scanning alert dismissal request data
+ description: Code scanning alerts that have dismissal requests.
+ type: object
+ properties:
+ type:
+ type: string
+ description: The type of request
+ enum:
+ - code_scanning_alert_dismissal
+ data:
+ type: array
+ description: The data related to the code scanning alerts that have dismissal
+ requests.
+ items:
+ type: object
+ properties:
+ alert_number:
+ type: string
+ description: The number of the alert to be dismissed
exemption-request-secret-scanning-metadata:
title: Secret Scanning Push Protection Exemption Request Metadata
description: Metadata for a secret scanning push protection exemption request.
@@ -93702,6 +93722,21 @@ components:
- false_positive
- tests
- revoked
+ dismissal-request-code-scanning-metadata:
+ title: Code scanning alert dismissal request metadata
+ description: Metadata for a code scanning alert dismissal request.
+ type: object
+ properties:
+ alert_title:
+ type: string
+ description: The title of the code scanning alert
+ reason:
+ type: string
+ description: The reason for the dismissal request
+ enum:
+ - false positive
+ - won't fix
+ - used in tests
exemption-response:
title: Exemption response
description: A response to an exemption request by a delegated bypasser.
@@ -93761,11 +93796,13 @@ components:
- push_ruleset_bypass
- secret_scanning
- secret_scanning_closure
+ - code_scanning_alert_dismissal
exemption_request_data:
oneOf:
- "$ref": "#/components/schemas/exemption-request-push-ruleset-bypass"
- "$ref": "#/components/schemas/exemption-request-secret-scanning"
- "$ref": "#/components/schemas/dismissal-request-secret-scanning"
+ - "$ref": "#/components/schemas/dismissal-request-code-scanning"
resource_identifier:
type: string
description: The unique identifier for the request type of the exemption
@@ -93788,9 +93825,10 @@ components:
type: object
description: Metadata about the exemption request.
nullable: true
- oneOf:
+ anyOf:
- "$ref": "#/components/schemas/exemption-request-secret-scanning-metadata"
- "$ref": "#/components/schemas/dismissal-request-secret-scanning-metadata"
+ - "$ref": "#/components/schemas/dismissal-request-code-scanning-metadata"
expires_at:
type: string
format: date-time