diff --git a/content/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team.md b/content/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team.md
index 37e0b0286517..917d782ab2c1 100644
--- a/content/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team.md
+++ b/content/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team.md
@@ -34,7 +34,7 @@ When you choose to only notify requested team members, you disable sending notif
When you enable auto assignment, any time your team has been requested to review a pull request, the team is removed as a reviewer and a specified subset of team members are assigned in the team's place. Code review assignments allow you to decide whether the whole team or just a subset of team members are notified when a team is requested for review.
-When code owners are automatically requested for review, the team is still removed and replaced with individuals. The individual approvals don't satisfy the requirement for code owner approval in a protected branch. For more information, see "[About code owners](/github/creating-cloning-and-archiving-repositories/about-code-owners)."
+When code owners are automatically requested for review, the team is still removed and replaced with individuals unless a branch protection rule is configured to require review from code owners. If such a branch protection rule is in place, the team request cannot be removed and so the individual request will appear in addition.
{% ifversion fpt %}
To further enhance your team's collaboration abilities, you can upgrade to {% data variables.product.prodname_ghe_cloud %}, which includes features like protected branches and code owners on private repositories. {% data reusables.enterprise.link-to-ghec-trial %}
diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md
index 1cc57f9028ea..e0a56d66e5c0 100644
--- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md
+++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md
@@ -25,8 +25,6 @@ Code owners are automatically requested for review when someone opens a pull req
When someone with admin or owner permissions has enabled required reviews, they also can optionally require approval from a code owner before the author can merge a pull request in the repository. For more information, see "[About protected branches](/github/administering-a-repository/about-protected-branches#require-pull-request-reviews-before-merging)."
-{% ifversion fpt or ghae or ghes or ghec %}If a team has enabled code review assignments, the individual approvals won't satisfy the requirement for code owner approval in a protected branch. For more information, see "[Managing code review settings for your team](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)."{% endif %}
-
If a file has a code owner, you can see who the code owner is before you open a pull request. In the repository, you can browse to the file and hover over {% octicon "shield-lock" aria-label="The edit icon" %}.
![Code owner for a file in a repository](/assets/images/help/repository/code-owner-for-a-file.png)
diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json
index 1604f070c234..6d56de30c6dc 100644
--- a/lib/rest/static/decorated/api.github.com.json
+++ b/lib/rest/static/decorated/api.github.com.json
@@ -48169,8 +48169,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "
The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -48264,8 +48263,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -48437,8 +48435,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
},
@@ -48617,8 +48614,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
@@ -76111,8 +76107,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -76206,8 +76201,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
diff --git a/lib/rest/static/decorated/ghes-3.0.json b/lib/rest/static/decorated/ghes-3.0.json
index 3e4553125015..3295960a88a4 100644
--- a/lib/rest/static/decorated/ghes-3.0.json
+++ b/lib/rest/static/decorated/ghes-3.0.json
@@ -45889,8 +45889,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -45984,8 +45983,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -46211,8 +46209,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
diff --git a/lib/rest/static/decorated/ghes-3.1.json b/lib/rest/static/decorated/ghes-3.1.json
index ae6168ce3c8a..d9b0dd5f17af 100644
--- a/lib/rest/static/decorated/ghes-3.1.json
+++ b/lib/rest/static/decorated/ghes-3.1.json
@@ -46144,8 +46144,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -46239,8 +46238,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -46412,8 +46410,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
},
@@ -46592,8 +46589,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
@@ -71371,8 +71367,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -71466,8 +71461,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
diff --git a/lib/rest/static/decorated/ghes-3.2.json b/lib/rest/static/decorated/ghes-3.2.json
index d371229bcbc2..301943fc91e5 100644
--- a/lib/rest/static/decorated/ghes-3.2.json
+++ b/lib/rest/static/decorated/ghes-3.2.json
@@ -47390,8 +47390,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -47485,8 +47484,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -47658,8 +47656,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
},
@@ -47838,8 +47835,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
@@ -73695,8 +73691,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -73790,8 +73785,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
diff --git a/lib/rest/static/decorated/ghes-3.3.json b/lib/rest/static/decorated/ghes-3.3.json
index db2fbb60948a..072e2db21921 100644
--- a/lib/rest/static/decorated/ghes-3.3.json
+++ b/lib/rest/static/decorated/ghes-3.3.json
@@ -47679,8 +47679,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -47774,8 +47773,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -47947,8 +47945,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
},
@@ -48127,8 +48124,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
@@ -74014,8 +74010,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -74109,8 +74104,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json
index 294535912d5e..29018f2e39c8 100644
--- a/lib/rest/static/decorated/github.ae.json
+++ b/lib/rest/static/decorated/github.ae.json
@@ -39306,8 +39306,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -39401,8 +39400,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -39574,8 +39572,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
},
@@ -39754,8 +39751,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
@@ -64213,8 +64209,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
@@ -64308,8 +64303,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"descriptionHTML": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number
field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts
operation.
"
}
diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json
index cafe1a14b4a2..446b833c7056 100644
--- a/lib/rest/static/dereferenced/api.github.com.deref.json
+++ b/lib/rest/static/dereferenced/api.github.com.deref.json
@@ -93219,29 +93219,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -178239,36 +178235,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -178795,8 +178786,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -178811,36 +178801,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -179355,8 +179340,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -179409,36 +179393,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -179954,8 +179933,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
},
{
@@ -180294,8 +180272,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
}
}
],
@@ -180340,8 +180317,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -180359,14 +180335,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -180629,8 +180603,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -180648,14 +180621,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -181130,15 +181101,13 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"url": {
"type": "string",
"description": "The REST API URL for checking the status of the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
},
@@ -344844,29 +344813,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -345152,8 +345117,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -345168,29 +345132,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -345443,8 +345403,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -345498,29 +345457,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
diff --git a/lib/rest/static/dereferenced/ghes-3.0.deref.json b/lib/rest/static/dereferenced/ghes-3.0.deref.json
index f976a8292d1f..8d29d1372e0a 100644
--- a/lib/rest/static/dereferenced/ghes-3.0.deref.json
+++ b/lib/rest/static/dereferenced/ghes-3.0.deref.json
@@ -154593,36 +154593,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -155149,8 +155144,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -155165,36 +155159,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -155701,8 +155690,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -155755,36 +155743,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -156341,8 +156324,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
}
}
],
@@ -156387,8 +156369,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -156406,14 +156387,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -156684,15 +156663,13 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"url": {
"type": "string",
"description": "The REST API URL for checking the status of the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
},
diff --git a/lib/rest/static/dereferenced/ghes-3.1.deref.json b/lib/rest/static/dereferenced/ghes-3.1.deref.json
index ce48cdf67647..5e581bcfa5b4 100644
--- a/lib/rest/static/dereferenced/ghes-3.1.deref.json
+++ b/lib/rest/static/dereferenced/ghes-3.1.deref.json
@@ -156507,36 +156507,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -157063,8 +157058,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -157079,36 +157073,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -157615,8 +157604,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -157669,36 +157657,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -158206,8 +158189,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
},
{
@@ -158546,8 +158528,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
}
}
],
@@ -158592,8 +158573,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -158611,14 +158591,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -158884,8 +158862,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -158903,14 +158880,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -159388,15 +159363,13 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"url": {
"type": "string",
"description": "The REST API URL for checking the status of the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
},
@@ -304627,29 +304600,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -304935,8 +304904,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -304951,29 +304919,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -305226,8 +305190,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -305281,29 +305244,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
diff --git a/lib/rest/static/dereferenced/ghes-3.2.deref.json b/lib/rest/static/dereferenced/ghes-3.2.deref.json
index 15b2f5d9c3d8..d9dff0a103db 100644
--- a/lib/rest/static/dereferenced/ghes-3.2.deref.json
+++ b/lib/rest/static/dereferenced/ghes-3.2.deref.json
@@ -160172,36 +160172,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -160728,8 +160723,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -160744,36 +160738,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -161291,8 +161280,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -161345,36 +161333,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -161893,8 +161876,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
},
{
@@ -162233,8 +162215,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
}
}
],
@@ -162279,8 +162260,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -162298,14 +162278,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -162571,8 +162549,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -162590,14 +162567,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -163075,15 +163050,13 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"url": {
"type": "string",
"description": "The REST API URL for checking the status of the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
},
@@ -312009,29 +311982,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -312317,8 +312286,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -312333,29 +312301,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -312608,8 +312572,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -312663,29 +312626,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
diff --git a/lib/rest/static/dereferenced/ghes-3.3.deref.json b/lib/rest/static/dereferenced/ghes-3.3.deref.json
index b1bc1fbb5fba..25e0846c4f49 100644
--- a/lib/rest/static/dereferenced/ghes-3.3.deref.json
+++ b/lib/rest/static/dereferenced/ghes-3.3.deref.json
@@ -84189,29 +84189,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -167160,36 +167156,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -167716,8 +167707,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -167732,36 +167722,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -168276,8 +168261,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -168330,36 +168314,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -168875,8 +168854,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
},
{
@@ -169215,8 +169193,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
}
}
],
@@ -169261,8 +169238,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -169280,14 +169256,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -169550,8 +169524,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -169569,14 +169542,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -170051,15 +170022,13 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"url": {
"type": "string",
"description": "The REST API URL for checking the status of the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
},
@@ -318967,29 +318936,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -319275,8 +319240,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -319291,29 +319255,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -319566,8 +319526,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -319621,29 +319580,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json
index 13f49ce74551..1925812e057a 100644
--- a/lib/rest/static/dereferenced/github.ae.deref.json
+++ b/lib/rest/static/dereferenced/github.ae.deref.json
@@ -129813,36 +129813,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -130369,8 +130364,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -130385,36 +130379,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -130929,8 +130918,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -130983,36 +130971,31 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"instances_url": {
"type": "string",
"description": "The REST API URL for fetching the list of instances for an alert.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"state": {
"type": "string",
@@ -131528,8 +131511,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
},
{
@@ -131868,8 +131850,7 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
}
}
],
@@ -131914,8 +131895,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -131933,14 +131913,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -132203,8 +132181,7 @@
"type": "string",
"description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"results_count": {
"type": "integer",
@@ -132222,14 +132199,12 @@
"type": "string",
"description": "The REST API URL of the analysis resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"tool": {
"type": "object",
@@ -132474,15 +132449,13 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
- "nullable": false
+ "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
},
"url": {
"type": "string",
"description": "The REST API URL for checking the status of the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
},
@@ -278850,29 +278823,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -279158,8 +279127,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -279174,29 +279142,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",
@@ -279449,8 +279413,7 @@
"schema": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
}
}
],
@@ -279504,29 +279467,25 @@
"number": {
"type": "integer",
"description": "The security alert number.",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"created_at": {
"type": "string",
"description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"url": {
"type": "string",
"description": "The REST API URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"html_url": {
"type": "string",
"description": "The GitHub URL of the alert resource.",
"format": "uri",
- "readOnly": true,
- "nullable": false
+ "readOnly": true
},
"locations_url": {
"type": "string",