File tree Expand file tree Collapse file tree 2 files changed +126
-7
lines changed Expand file tree Collapse file tree 2 files changed +126
-7
lines changed Original file line number Diff line number Diff line change 259
259
" avgSupplyChainRisk" ,
260
260
" avgVulnerability"
261
261
]
262
+ },
263
+ "url" : {
264
+ "type" : " string" ,
265
+ "default" : " "
262
266
}
263
267
},
264
268
"required" : [
265
269
" healthy" ,
266
270
" id" ,
267
271
" issues" ,
268
- " score"
272
+ " score" ,
273
+ " url"
269
274
]
270
275
},
271
276
"SocketIssue" : {
3992
3997
"type" : " object" ,
3993
3998
"additionalProperties" : false ,
3994
3999
"properties" : {
3995
- "notes" : {
3996
- "type" : " string" ,
3997
- "default" : " "
4000
+ "issues" : {
4001
+ "type" : " array" ,
4002
+ "items" : {
4003
+ "type" : " string" ,
4004
+ "default" : " "
4005
+ }
4006
+ },
4007
+ "analysis" : {
4008
+ "type" : " array" ,
4009
+ "items" : {
4010
+ "type" : " string" ,
4011
+ "default" : " "
4012
+ }
4013
+ },
4014
+ "confidence" : {
4015
+ "type" : " number" ,
4016
+ "default" : 0
4017
+ },
4018
+ "severity" : {
4019
+ "type" : " number" ,
4020
+ "default" : 0
4021
+ }
4022
+ },
4023
+ "required" : [
4024
+ " analysis" ,
4025
+ " confidence" ,
4026
+ " issues" ,
4027
+ " severity"
4028
+ ]
4029
+ },
4030
+ "usage" : {
4031
+ "$ref" : " #/components/schemas/SocketUsageRef"
4032
+ }
4033
+ },
4034
+ "required" : [
4035
+ " description" ,
4036
+ " props"
4037
+ ]
4038
+ }
4039
+ ]
4040
+ }
4041
+ }
4042
+ },
4043
+ {
4044
+ "type" : " object" ,
4045
+ "additionalProperties" : false ,
4046
+ "properties" : {
4047
+ "type" : {
4048
+ "type" : " string" ,
4049
+ "enum" : [
4050
+ " gptSecurity"
4051
+ ]
4052
+ },
4053
+ "value" : {
4054
+ "allOf" : [
4055
+ {
4056
+ "$ref" : " #/components/schemas/SocketIssueBasics"
4057
+ },
4058
+ {
4059
+ "type" : " object" ,
4060
+ "additionalProperties" : false ,
4061
+ "properties" : {
4062
+ "description" : {
4063
+ "type" : " string" ,
4064
+ "default" : " "
4065
+ },
4066
+ "props" : {
4067
+ "type" : " object" ,
4068
+ "additionalProperties" : false ,
4069
+ "properties" : {
4070
+ "issues" : {
4071
+ "type" : " array" ,
4072
+ "items" : {
4073
+ "type" : " string" ,
4074
+ "default" : " "
4075
+ }
4076
+ },
4077
+ "analysis" : {
4078
+ "type" : " array" ,
4079
+ "items" : {
4080
+ "type" : " string" ,
4081
+ "default" : " "
4082
+ }
4083
+ },
4084
+ "confidence" : {
4085
+ "type" : " number" ,
4086
+ "default" : 0
4087
+ },
4088
+ "severity" : {
4089
+ "type" : " number" ,
4090
+ "default" : 0
3998
4091
}
3999
4092
},
4000
4093
"required" : [
4001
- " notes"
4094
+ " analysis" ,
4095
+ " confidence" ,
4096
+ " issues" ,
4097
+ " severity"
4002
4098
]
4003
4099
},
4004
4100
"usage" : {
Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ export interface components {
111
111
/** @default 0 */
112
112
avgLicense : number ;
113
113
} ;
114
+ /** @default */
115
+ url : string ;
114
116
} ;
115
117
SocketIssue : Partial < {
116
118
/** @enum {string} */
@@ -1101,8 +1103,29 @@ export interface components {
1101
1103
/** @default */
1102
1104
description : string ;
1103
1105
props : {
1104
- /** @default */
1105
- notes : string ;
1106
+ issues : string [ ] ;
1107
+ analysis : string [ ] ;
1108
+ /** @default 0 */
1109
+ confidence : number ;
1110
+ /** @default 0 */
1111
+ severity : number ;
1112
+ } ;
1113
+ usage ?: components [ "schemas" ] [ "SocketUsageRef" ] ;
1114
+ } ;
1115
+ } > &
1116
+ Partial < {
1117
+ /** @enum {string} */
1118
+ type ?: "gptSecurity" ;
1119
+ value ?: components [ "schemas" ] [ "SocketIssueBasics" ] & {
1120
+ /** @default */
1121
+ description : string ;
1122
+ props : {
1123
+ issues : string [ ] ;
1124
+ analysis : string [ ] ;
1125
+ /** @default 0 */
1126
+ confidence : number ;
1127
+ /** @default 0 */
1128
+ severity : number ;
1106
1129
} ;
1107
1130
usage ?: components [ "schemas" ] [ "SocketUsageRef" ] ;
1108
1131
} ;
You can’t perform that action at this time.
0 commit comments