diff --git a/lib/rest/static/decorated/api.github.com.2022-11-28.json b/lib/rest/static/decorated/api.github.com.2022-11-28.json index 72357733a1..f57ae7582f 100644 --- a/lib/rest/static/decorated/api.github.com.2022-11-28.json +++ b/lib/rest/static/decorated/api.github.com.2022-11-28.json @@ -473448,9 +473448,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -473470,7 +473476,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -473543,10 +473550,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -473556,7 +473563,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/decorated/ghec.2022-11-28.json b/lib/rest/static/decorated/ghec.2022-11-28.json index dac34e8834..94ff85146b 100644 --- a/lib/rest/static/decorated/ghec.2022-11-28.json +++ b/lib/rest/static/decorated/ghec.2022-11-28.json @@ -477591,9 +477591,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -477613,7 +477619,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -477686,10 +477693,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -477699,7 +477706,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index ae0cd93461..cd93be43ff 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -365216,9 +365216,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -365238,7 +365244,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -365311,10 +365318,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -365324,7 +365331,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json b/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json index 62c1e95699..4575b759fd 100644 --- a/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json @@ -415356,7 +415356,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -415429,10 +415430,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -415442,7 +415443,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { @@ -415489,9 +415507,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -1069221,7 +1069245,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -1069294,10 +1069319,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -1069307,7 +1069332,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 62c1e95699..4575b759fd 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -415356,7 +415356,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -415429,10 +415430,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -415442,7 +415443,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { @@ -415489,9 +415507,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -1069221,7 +1069245,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -1069294,10 +1069319,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -1069307,7 +1069332,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json b/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json index 7dd0a32a1e..092b4679e9 100644 --- a/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json +++ b/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json @@ -418271,7 +418271,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -418344,10 +418345,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -418357,7 +418358,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { @@ -418404,9 +418422,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -1076435,7 +1076459,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -1076508,10 +1076533,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -1076521,7 +1076546,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/dereferenced/ghec.deref.json b/lib/rest/static/dereferenced/ghec.deref.json index 7dd0a32a1e..092b4679e9 100644 --- a/lib/rest/static/dereferenced/ghec.deref.json +++ b/lib/rest/static/dereferenced/ghec.deref.json @@ -418271,7 +418271,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -418344,10 +418345,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -418357,7 +418358,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { @@ -418404,9 +418422,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -1076435,7 +1076459,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -1076508,10 +1076533,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -1076521,7 +1076546,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index f18d3843bc..cf4974de6a 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -343685,7 +343685,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -343758,10 +343759,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -343771,7 +343772,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { @@ -343818,9 +343836,15 @@ } }, { - "type": "issue", + "type": "issue_title", "details": { - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + { + "type": "issue_body", + "details": { + "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" } }, { @@ -904341,7 +904365,8 @@ "type": "string", "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ], "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.", @@ -904414,10 +904439,10 @@ ] }, { - "description": "Represents an 'issue' secret scanning location type. This location type shows that a secret was detected in the title or description of an issue.", + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", "type": "object", "properties": { - "issue_url": { + "issue_title_url": { "type": "string", "format": "uri", "description": "The API URL to get the issue where the secret was detected.", @@ -904427,7 +904452,24 @@ } }, "required": [ - "issue_url" + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" ] }, { diff --git a/lib/webhooks/static/decorated/api.github.com.json b/lib/webhooks/static/decorated/api.github.com.json index cc647f02c8..791a779ddd 100644 --- a/lib/webhooks/static/decorated/api.github.com.json +++ b/lib/webhooks/static/decorated/api.github.com.json @@ -150907,12 +150907,13 @@ "isRequired": true, "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ] }, { - "type": "object or object or object", + "type": "object or object or object or object", "name": "details", "description": "
Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.
", "isRequired": true diff --git a/lib/webhooks/static/decorated/ghec.json b/lib/webhooks/static/decorated/ghec.json index 772ffba7f6..82d3eb0bc4 100644 --- a/lib/webhooks/static/decorated/ghec.json +++ b/lib/webhooks/static/decorated/ghec.json @@ -150907,12 +150907,13 @@ "isRequired": true, "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ] }, { - "type": "object or object or object", + "type": "object or object or object or object", "name": "details", "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.
", "isRequired": true diff --git a/lib/webhooks/static/decorated/github.ae.json b/lib/webhooks/static/decorated/github.ae.json index d82430e352..fe8db755eb 100644 --- a/lib/webhooks/static/decorated/github.ae.json +++ b/lib/webhooks/static/decorated/github.ae.json @@ -150447,12 +150447,13 @@ "isRequired": true, "enum": [ "commit", - "issue", + "issue_title", + "issue_body", "issue_comment" ] }, { - "type": "object or object or object", + "type": "object or object or object or object", "name": "details", "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.
", "isRequired": true