Skip to content

Commit 85ecabe

Browse files
fix(openapi): sync with openapi definition (#330)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 30446f3 commit 85ecabe

File tree

2 files changed

+68
-2
lines changed

2 files changed

+68
-2
lines changed

openapi.json

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27271,6 +27271,24 @@
2727127271
"type": "string"
2727227272
}
2727327273
},
27274+
{
27275+
"name": "filters.alertFixType",
27276+
"in": "query",
27277+
"required": false,
27278+
"description": "Comma-separated list of alert fix types (\"upgrade\", \"cve\", or \"remove\") that should be included",
27279+
"schema": {
27280+
"type": "string"
27281+
}
27282+
},
27283+
{
27284+
"name": "filters.alertFixType.notIn",
27285+
"in": "query",
27286+
"required": false,
27287+
"description": "Comma-separated list of alert fix types (\"upgrade\", \"cve\", or \"remove\") that should be included",
27288+
"schema": {
27289+
"type": "string"
27290+
}
27291+
},
2727427292
{
2727527293
"name": "filters.alertCategory",
2727627294
"in": "query",
@@ -27865,6 +27883,15 @@
2786527883
},
2786627884
"description": "Comma-separated list of alert action source types (\"triage\", \"org-policy\", \"repo-label-policy\", \"socket-yml\", or \"fallback\") that should be included"
2786727885
},
27886+
"alertFixType": {
27887+
"type": "array",
27888+
"items": {
27889+
"type": "string",
27890+
"description": "",
27891+
"default": ""
27892+
},
27893+
"description": "Comma-separated list of alert fix types (\"upgrade\", \"cve\", or \"remove\") that should be included"
27894+
},
2786827895
"alertCategory": {
2786927896
"type": "array",
2787027897
"items": {
@@ -28027,7 +28054,7 @@
2802728054
"name": "aggregation.fields",
2802828055
"in": "query",
2802928056
"required": false,
28030-
"description": "Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertActionSourceType,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertPriority,dependencyDirect,dependencyDev,dependencyDead)",
28057+
"description": "Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertActionSourceType,alertFixType,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertPriority,dependencyDirect,dependencyDev,dependencyDead)",
2803128058
"schema": {
2803228059
"type": "string",
2803328060
"default": ""
@@ -28177,6 +28204,24 @@
2817728204
"type": "string"
2817828205
}
2817928206
},
28207+
{
28208+
"name": "filters.alertFixType",
28209+
"in": "query",
28210+
"required": false,
28211+
"description": "Comma-separated list of alert fix types (\"upgrade\", \"cve\", or \"remove\") that should be included",
28212+
"schema": {
28213+
"type": "string"
28214+
}
28215+
},
28216+
{
28217+
"name": "filters.alertFixType.notIn",
28218+
"in": "query",
28219+
"required": false,
28220+
"description": "Comma-separated list of alert fix types (\"upgrade\", \"cve\", or \"remove\") that should be included",
28221+
"schema": {
28222+
"type": "string"
28223+
}
28224+
},
2818028225
{
2818128226
"name": "filters.alertCategory",
2818228227
"in": "query",
@@ -28502,6 +28547,15 @@
2850228547
},
2850328548
"description": "Comma-separated list of alert action source types (\"triage\", \"org-policy\", \"repo-label-policy\", \"socket-yml\", or \"fallback\") that should be included"
2850428549
},
28550+
"alertFixType": {
28551+
"type": "array",
28552+
"items": {
28553+
"type": "string",
28554+
"description": "",
28555+
"default": ""
28556+
},
28557+
"description": "Comma-separated list of alert fix types (\"upgrade\", \"cve\", or \"remove\") that should be included"
28558+
},
2850528559
"alertCategory": {
2850628560
"type": "array",
2850728561
"items": {

types/api.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11149,6 +11149,10 @@ export interface operations {
1114911149
'filters.alertActionSourceType'?: string
1115011150
/** @description Comma-separated list of alert action source types ("triage", "org-policy", "repo-label-policy", "socket-yml", or "fallback") that should be included */
1115111151
'filters.alertActionSourceType.notIn'?: string
11152+
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included */
11153+
'filters.alertFixType'?: string
11154+
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included */
11155+
'filters.alertFixType.notIn'?: string
1115211156
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included */
1115311157
'filters.alertCategory'?: string
1115411158
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included */
@@ -11310,6 +11314,8 @@ export interface operations {
1131011314
alertAction?: string[]
1131111315
/** @description Comma-separated list of alert action source types ("triage", "org-policy", "repo-label-policy", "socket-yml", or "fallback") that should be included */
1131211316
alertActionSourceType?: string[]
11317+
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included */
11318+
alertFixType?: string[]
1131311319
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included */
1131411320
alertCategory?: string[]
1131511321
/** @description CVE ID */
@@ -11355,7 +11361,7 @@ export interface operations {
1135511361
date?: string
1135611362
/** @description The number of days of data to fetch as an offset from input date */
1135711363
range?: string
11358-
/** @description Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertActionSourceType,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertPriority,dependencyDirect,dependencyDev,dependencyDead) */
11364+
/** @description Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertActionSourceType,alertFixType,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertPriority,dependencyDirect,dependencyDev,dependencyDead) */
1135911365
'aggregation.fields'?: string
1136011366
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included */
1136111367
'filters.alertSeverity'?: string
@@ -11389,6 +11395,10 @@ export interface operations {
1138911395
'filters.alertActionSourceType'?: string
1139011396
/** @description Comma-separated list of alert action source types ("triage", "org-policy", "repo-label-policy", "socket-yml", or "fallback") that should be included */
1139111397
'filters.alertActionSourceType.notIn'?: string
11398+
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included */
11399+
'filters.alertFixType'?: string
11400+
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included */
11401+
'filters.alertFixType.notIn'?: string
1139211402
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included */
1139311403
'filters.alertCategory'?: string
1139411404
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included */
@@ -11466,6 +11476,8 @@ export interface operations {
1146611476
alertAction?: string[]
1146711477
/** @description Comma-separated list of alert action source types ("triage", "org-policy", "repo-label-policy", "socket-yml", or "fallback") that should be included */
1146811478
alertActionSourceType?: string[]
11479+
/** @description Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included */
11480+
alertFixType?: string[]
1146911481
/** @description Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included */
1147011482
alertCategory?: string[]
1147111483
/** @description CVE ID */

0 commit comments

Comments
 (0)