File tree Expand file tree Collapse file tree 2 files changed +61
-2
lines changed Expand file tree Collapse file tree 2 files changed +61
-2
lines changed Original file line number Diff line number Diff line change 1973019730 "description": "Order asc or desc by the createdAt attribute.",
1973119731 "schema": {
1973219732 "type": "string",
19733+ "enum": [
19734+ "desc",
19735+ "asc"
19736+ ],
1973319737 "default": "desc"
1973419738 }
1973519739 },
1974019744 "description": "Filter what type of threats to return",
1974119745 "schema": {
1974219746 "type": "string",
19747+ "enum": [
19748+ "u",
19749+ "c",
19750+ "fp",
19751+ "tp",
19752+ "mal",
19753+ "vuln",
19754+ "anom",
19755+ "joke",
19756+ "spy",
19757+ "typo",
19758+ "secret"
19759+ ],
1974319760 "default": "mal"
1974419761 }
19762+ },
19763+ {
19764+ "name": "name",
19765+ "in": "query",
19766+ "required": false,
19767+ "description": "Filter threats by package name",
19768+ "schema": {
19769+ "type": "string",
19770+ "default": ""
19771+ }
19772+ },
19773+ {
19774+ "name": "version",
19775+ "in": "query",
19776+ "required": false,
19777+ "description": "Filter threats by package version",
19778+ "schema": {
19779+ "type": "string",
19780+ "default": ""
19781+ }
19782+ },
19783+ {
19784+ "name": "ecosystem",
19785+ "in": "query",
19786+ "required": false,
19787+ "description": "Filter threats by package ecosystem type",
19788+ "schema": {
19789+ "type": "string",
19790+ "enum": [
19791+ "gem",
19792+ "golang",
19793+ "maven",
19794+ "npm",
19795+ "pypi"
19796+ ]
19797+ }
1974519798 }
1974619799 ],
1974719800 "security": [
Original file line number Diff line number Diff line change @@ -7303,9 +7303,15 @@ export interface operations {
73037303 /** @description Page token */
73047304 page ?: string ;
73057305 /** @description Order asc or desc by the createdAt attribute. */
7306- direction ?: string ;
7306+ direction ?: "desc" | "asc" ;
73077307 /** @description Filter what type of threats to return */
7308- filter ?: string ;
7308+ filter ?: "u" | "c" | "fp" | "tp" | "mal" | "vuln" | "anom" | "joke" | "spy" | "typo" | "secret" ;
7309+ /** @description Filter threats by package name */
7310+ name ?: string ;
7311+ /** @description Filter threats by package version */
7312+ version ?: string ;
7313+ /** @description Filter threats by package ecosystem type */
7314+ ecosystem ?: "gem" | "golang" | "maven" | "npm" | "pypi" ;
73097315 } ;
73107316 } ;
73117317 responses : {
You can’t perform that action at this time.
0 commit comments