File tree Expand file tree Collapse file tree 2 files changed +185
-41
lines changed
Expand file tree Collapse file tree 2 files changed +185
-41
lines changed Original file line number Diff line number Diff line change 39773977 "type" : {
39783978 "type" : " string" ,
39793979 "enum" : [
3980- " gptMalware "
3980+ " gptSecurity "
39813981 ]
39823982 },
39833983 "value" : {
39973997 "type" : " object" ,
39983998 "additionalProperties" : false ,
39993999 "properties" : {
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- }
4000+ "notes" : {
4001+ "type" : " string" ,
4002+ "default" : " "
40134003 },
40144004 "confidence" : {
40154005 "type" : " number" ,
40214011 }
40224012 },
40234013 "required" : [
4024- " analysis" ,
40254014 " confidence" ,
4026- " issues " ,
4015+ " notes " ,
40274016 " severity"
40284017 ]
40294018 },
40474036 "type" : {
40484037 "type" : " string" ,
40494038 "enum" : [
4050- " gptSecurity "
4039+ " gptAnomaly "
40514040 ]
40524041 },
40534042 "value" : {
40674056 "type" : " object" ,
40684057 "additionalProperties" : false ,
40694058 "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- }
4059+ "notes" : {
4060+ "type" : " string" ,
4061+ "default" : " "
40834062 },
40844063 "confidence" : {
40854064 "type" : " number" ,
40914070 }
40924071 },
40934072 "required" : [
4094- " analysis" ,
40954073 " confidence" ,
4096- " issues " ,
4074+ " notes " ,
40974075 " severity"
40984076 ]
40994077 },
56825660 "type" : " object" ,
56835661 "additionalProperties" : false ,
56845662 "properties" : {
5663+ "byteCount" : {
5664+ "type" : " object" ,
5665+ "additionalProperties" : false ,
5666+ "properties" : {
5667+ "score" : {
5668+ "type" : " number" ,
5669+ "default" : 0
5670+ },
5671+ "maxScore" : {
5672+ "type" : " number" ,
5673+ "default" : 0
5674+ },
5675+ "limit" : {
5676+ "type" : " number" ,
5677+ "default" : 0
5678+ },
5679+ "value" : {
5680+ "type" : " integer" ,
5681+ "default" : 0
5682+ }
5683+ },
5684+ "required" : [
5685+ " limit" ,
5686+ " maxScore" ,
5687+ " score" ,
5688+ " value"
5689+ ]
5690+ },
5691+ "fileCount" : {
5692+ "type" : " object" ,
5693+ "additionalProperties" : false ,
5694+ "properties" : {
5695+ "score" : {
5696+ "type" : " number" ,
5697+ "default" : 0
5698+ },
5699+ "maxScore" : {
5700+ "type" : " number" ,
5701+ "default" : 0
5702+ },
5703+ "limit" : {
5704+ "type" : " number" ,
5705+ "default" : 0
5706+ },
5707+ "value" : {
5708+ "type" : " integer" ,
5709+ "default" : 0
5710+ }
5711+ },
5712+ "required" : [
5713+ " limit" ,
5714+ " maxScore" ,
5715+ " score" ,
5716+ " value"
5717+ ]
5718+ },
56855719 "typeModule" : {
56865720 "type" : " object" ,
56875721 "additionalProperties" : false ,
57105744 " value"
57115745 ]
57125746 },
5747+ "versionAuthorEmail" : {
5748+ "type" : " object" ,
5749+ "additionalProperties" : false ,
5750+ "properties" : {
5751+ "score" : {
5752+ "type" : " number" ,
5753+ "default" : 0
5754+ },
5755+ "maxScore" : {
5756+ "type" : " number" ,
5757+ "default" : 0
5758+ },
5759+ "limit" : {
5760+ "type" : " number" ,
5761+ "default" : 0
5762+ },
5763+ "value" : {
5764+ "type" : " string" ,
5765+ "default" : " "
5766+ }
5767+ },
5768+ "required" : [
5769+ " limit" ,
5770+ " maxScore" ,
5771+ " score" ,
5772+ " value"
5773+ ]
5774+ },
5775+ "versionAuthorName" : {
5776+ "type" : " object" ,
5777+ "additionalProperties" : false ,
5778+ "properties" : {
5779+ "score" : {
5780+ "type" : " number" ,
5781+ "default" : 0
5782+ },
5783+ "maxScore" : {
5784+ "type" : " number" ,
5785+ "default" : 0
5786+ },
5787+ "limit" : {
5788+ "type" : " number" ,
5789+ "default" : 0
5790+ },
5791+ "value" : {
5792+ "type" : " string" ,
5793+ "default" : " "
5794+ }
5795+ },
5796+ "required" : [
5797+ " limit" ,
5798+ " maxScore" ,
5799+ " score" ,
5800+ " value"
5801+ ]
5802+ },
57135803 "defaultBranch" : {
57145804 "type" : " object" ,
57155805 "additionalProperties" : false ,
57685858 }
57695859 },
57705860 "required" : [
5771- " typeModule"
5861+ " byteCount" ,
5862+ " fileCount" ,
5863+ " typeModule" ,
5864+ " versionAuthorEmail" ,
5865+ " versionAuthorName"
57725866 ]
57735867 },
57745868 "limit" : {
57805874 "enum" : [
57815875 " 0" ,
57825876 " 1" ,
5783- " 2"
5877+ " 2" ,
5878+ " 3" ,
5879+ " 4" ,
5880+ " 5" ,
5881+ " 6"
57845882 ],
57855883 "default" : " 0"
57865884 }
60866184 "type" : " string" ,
60876185 "default" : " "
60886186 },
6187+ "artifact" : {
6188+ "type" : " string" ,
6189+ "default" : " "
6190+ },
60896191 "file" : {
60906192 "$ref" : " #/components/schemas/SocketRefFile"
60916193 }
Original file line number Diff line number Diff line change @@ -1098,13 +1098,13 @@ export interface components {
10981098 } > &
10991099 Partial < {
11001100 /** @enum {string} */
1101- type ?: "gptMalware " ;
1101+ type ?: "gptSecurity " ;
11021102 value ?: components [ "schemas" ] [ "SocketIssueBasics" ] & {
11031103 /** @default */
11041104 description : string ;
11051105 props : {
1106- issues : string [ ] ;
1107- analysis : string [ ] ;
1106+ /** @default */
1107+ notes : string ;
11081108 /** @default 0 */
11091109 confidence : number ;
11101110 /** @default 0 */
@@ -1115,13 +1115,13 @@ export interface components {
11151115 } > &
11161116 Partial < {
11171117 /** @enum {string} */
1118- type ?: "gptSecurity " ;
1118+ type ?: "gptAnomaly " ;
11191119 value ?: components [ "schemas" ] [ "SocketIssueBasics" ] & {
11201120 /** @default */
11211121 description : string ;
11221122 props : {
1123- issues : string [ ] ;
1124- analysis : string [ ] ;
1123+ /** @default */
1124+ notes : string ;
11251125 /** @default 0 */
11261126 confidence : number ;
11271127 /** @default 0 */
@@ -1695,6 +1695,26 @@ export interface components {
16951695 /** @default 0 */
16961696 score : number ;
16971697 components : {
1698+ byteCount : {
1699+ /** @default 0 */
1700+ score : number ;
1701+ /** @default 0 */
1702+ maxScore : number ;
1703+ /** @default 0 */
1704+ limit : number ;
1705+ /** @default 0 */
1706+ value : number ;
1707+ } ;
1708+ fileCount : {
1709+ /** @default 0 */
1710+ score : number ;
1711+ /** @default 0 */
1712+ maxScore : number ;
1713+ /** @default 0 */
1714+ limit : number ;
1715+ /** @default 0 */
1716+ value : number ;
1717+ } ;
16981718 typeModule : {
16991719 /** @default 0 */
17001720 score : number ;
@@ -1705,6 +1725,26 @@ export interface components {
17051725 /** @default false */
17061726 value : boolean ;
17071727 } ;
1728+ versionAuthorEmail : {
1729+ /** @default 0 */
1730+ score : number ;
1731+ /** @default 0 */
1732+ maxScore : number ;
1733+ /** @default 0 */
1734+ limit : number ;
1735+ /** @default */
1736+ value : string ;
1737+ } ;
1738+ versionAuthorName : {
1739+ /** @default 0 */
1740+ score : number ;
1741+ /** @default 0 */
1742+ maxScore : number ;
1743+ /** @default 0 */
1744+ limit : number ;
1745+ /** @default */
1746+ value : string ;
1747+ } ;
17081748 defaultBranch ?: {
17091749 /** @default 0 */
17101750 score : number ;
@@ -1732,7 +1772,7 @@ export interface components {
17321772 * @default 0
17331773 * @enum {string}
17341774 */
1735- limitingMetric ?: "0" | "1" | "2" ;
1775+ limitingMetric ?: "0" | "1" | "2" | "3" | "4" | "5" | "6" ;
17361776 } ;
17371777 SocketIssueBasics : {
17381778 severity : components [ "schemas" ] [ "SocketIssueSeverity" ] ;
@@ -1846,6 +1886,8 @@ export interface components {
18461886 package : string ;
18471887 /** @default */
18481888 version ?: string ;
1889+ /** @default */
1890+ artifact ?: string ;
18491891 file ?: components [ "schemas" ] [ "SocketRefFile" ] ;
18501892 } ;
18511893 } ;
You can’t perform that action at this time.
0 commit comments