diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json
index f3b8e64d3c..7bd8b5f434 100644
--- a/lib/rest/static/decorated/api.github.com.json
+++ b/lib/rest/static/decorated/api.github.com.json
@@ -41282,6 +41282,11 @@
"httpStatusMessage": "Accepted",
"description": "Response"
},
+ {
+ "httpStatusCode": "400",
+ "httpStatusMessage": "Bad Request",
+ "description": "Response if the sarif field is invalid"
+ },
{
"httpStatusCode": "403",
"httpStatusMessage": "Forbidden",
@@ -41291,6 +41296,11 @@
"httpStatusCode": "404",
"httpStatusMessage": "Not Found",
"description": "Response if commit sha or ref cannot be found"
+ },
+ {
+ "httpStatusCode": "413",
+ "httpStatusMessage": "Payload Too Large",
+ "description": "Response if the sarif field is too large"
}
],
"descriptionHTML": "
Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes. GitHub Apps must have the security_events write permission to use this endpoint.
",
diff --git a/lib/rest/static/decorated/ghes-2.22.json b/lib/rest/static/decorated/ghes-2.22.json
index 838bb66771..e417ad8343 100644
--- a/lib/rest/static/decorated/ghes-2.22.json
+++ b/lib/rest/static/decorated/ghes-2.22.json
@@ -39166,6 +39166,11 @@
"httpStatusMessage": "Accepted",
"description": "Response"
},
+ {
+ "httpStatusCode": "400",
+ "httpStatusMessage": "Bad Request",
+ "description": "Response if the sarif field is invalid"
+ },
{
"httpStatusCode": "403",
"httpStatusMessage": "Forbidden",
@@ -39175,6 +39180,11 @@
"httpStatusCode": "404",
"httpStatusMessage": "Not Found",
"description": "Response if commit sha or ref cannot be found"
+ },
+ {
+ "httpStatusCode": "413",
+ "httpStatusMessage": "Payload Too Large",
+ "description": "Response if the sarif field is too large"
}
],
"descriptionHTML": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the repo scope. For public repos, you must use an access token with public_repo and repo:security_events scopes. GitHub Apps must have the security_events write permission to use this endpoint.
",
diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json
index 5b9f42858b..8ac0644c6b 100644
--- a/lib/rest/static/dereferenced/api.github.com.deref.json
+++ b/lib/rest/static/dereferenced/api.github.com.deref.json
@@ -125547,6 +125547,12 @@
},
"404": {
"description": "Response if `commit_sha` or `ref` cannot be found"
+ },
+ "400": {
+ "description": "Response if the `sarif` field is invalid"
+ },
+ "413": {
+ "description": "Response if the `sarif` field is too large"
}
},
"x-github": {
diff --git a/lib/rest/static/dereferenced/ghes-2.22.deref.json b/lib/rest/static/dereferenced/ghes-2.22.deref.json
index 7c2d92dd26..670019927a 100644
--- a/lib/rest/static/dereferenced/ghes-2.22.deref.json
+++ b/lib/rest/static/dereferenced/ghes-2.22.deref.json
@@ -116192,6 +116192,12 @@
},
"404": {
"description": "Response if `commit_sha` or `ref` cannot be found"
+ },
+ "400": {
+ "description": "Response if the `sarif` field is invalid"
+ },
+ "413": {
+ "description": "Response if the `sarif` field is too large"
}
},
"x-github": {