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 3977
3977
"type" : {
3978
3978
"type" : " string" ,
3979
3979
"enum" : [
3980
- " gptMalware "
3980
+ " gptSecurity "
3981
3981
]
3982
3982
},
3983
3983
"value" : {
3997
3997
"type" : " object" ,
3998
3998
"additionalProperties" : false ,
3999
3999
"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" : " "
4013
4003
},
4014
4004
"confidence" : {
4015
4005
"type" : " number" ,
4021
4011
}
4022
4012
},
4023
4013
"required" : [
4024
- " analysis" ,
4025
4014
" confidence" ,
4026
- " issues " ,
4015
+ " notes " ,
4027
4016
" severity"
4028
4017
]
4029
4018
},
4047
4036
"type" : {
4048
4037
"type" : " string" ,
4049
4038
"enum" : [
4050
- " gptSecurity "
4039
+ " gptAnomaly "
4051
4040
]
4052
4041
},
4053
4042
"value" : {
4067
4056
"type" : " object" ,
4068
4057
"additionalProperties" : false ,
4069
4058
"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" : " "
4083
4062
},
4084
4063
"confidence" : {
4085
4064
"type" : " number" ,
4091
4070
}
4092
4071
},
4093
4072
"required" : [
4094
- " analysis" ,
4095
4073
" confidence" ,
4096
- " issues " ,
4074
+ " notes " ,
4097
4075
" severity"
4098
4076
]
4099
4077
},
5682
5660
"type" : " object" ,
5683
5661
"additionalProperties" : false ,
5684
5662
"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
+ },
5685
5719
"typeModule" : {
5686
5720
"type" : " object" ,
5687
5721
"additionalProperties" : false ,
5710
5744
" value"
5711
5745
]
5712
5746
},
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
+ },
5713
5803
"defaultBranch" : {
5714
5804
"type" : " object" ,
5715
5805
"additionalProperties" : false ,
5768
5858
}
5769
5859
},
5770
5860
"required" : [
5771
- " typeModule"
5861
+ " byteCount" ,
5862
+ " fileCount" ,
5863
+ " typeModule" ,
5864
+ " versionAuthorEmail" ,
5865
+ " versionAuthorName"
5772
5866
]
5773
5867
},
5774
5868
"limit" : {
5780
5874
"enum" : [
5781
5875
" 0" ,
5782
5876
" 1" ,
5783
- " 2"
5877
+ " 2" ,
5878
+ " 3" ,
5879
+ " 4" ,
5880
+ " 5" ,
5881
+ " 6"
5784
5882
],
5785
5883
"default" : " 0"
5786
5884
}
6086
6184
"type" : " string" ,
6087
6185
"default" : " "
6088
6186
},
6187
+ "artifact" : {
6188
+ "type" : " string" ,
6189
+ "default" : " "
6190
+ },
6089
6191
"file" : {
6090
6192
"$ref" : " #/components/schemas/SocketRefFile"
6091
6193
}
Original file line number Diff line number Diff line change @@ -1098,13 +1098,13 @@ export interface components {
1098
1098
} > &
1099
1099
Partial < {
1100
1100
/** @enum {string} */
1101
- type ?: "gptMalware " ;
1101
+ type ?: "gptSecurity " ;
1102
1102
value ?: components [ "schemas" ] [ "SocketIssueBasics" ] & {
1103
1103
/** @default */
1104
1104
description : string ;
1105
1105
props : {
1106
- issues : string [ ] ;
1107
- analysis : string [ ] ;
1106
+ /** @default */
1107
+ notes : string ;
1108
1108
/** @default 0 */
1109
1109
confidence : number ;
1110
1110
/** @default 0 */
@@ -1115,13 +1115,13 @@ export interface components {
1115
1115
} > &
1116
1116
Partial < {
1117
1117
/** @enum {string} */
1118
- type ?: "gptSecurity " ;
1118
+ type ?: "gptAnomaly " ;
1119
1119
value ?: components [ "schemas" ] [ "SocketIssueBasics" ] & {
1120
1120
/** @default */
1121
1121
description : string ;
1122
1122
props : {
1123
- issues : string [ ] ;
1124
- analysis : string [ ] ;
1123
+ /** @default */
1124
+ notes : string ;
1125
1125
/** @default 0 */
1126
1126
confidence : number ;
1127
1127
/** @default 0 */
@@ -1695,6 +1695,26 @@ export interface components {
1695
1695
/** @default 0 */
1696
1696
score : number ;
1697
1697
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
+ } ;
1698
1718
typeModule : {
1699
1719
/** @default 0 */
1700
1720
score : number ;
@@ -1705,6 +1725,26 @@ export interface components {
1705
1725
/** @default false */
1706
1726
value : boolean ;
1707
1727
} ;
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
+ } ;
1708
1748
defaultBranch ?: {
1709
1749
/** @default 0 */
1710
1750
score : number ;
@@ -1732,7 +1772,7 @@ export interface components {
1732
1772
* @default 0
1733
1773
* @enum {string}
1734
1774
*/
1735
- limitingMetric ?: "0" | "1" | "2" ;
1775
+ limitingMetric ?: "0" | "1" | "2" | "3" | "4" | "5" | "6" ;
1736
1776
} ;
1737
1777
SocketIssueBasics : {
1738
1778
severity : components [ "schemas" ] [ "SocketIssueSeverity" ] ;
@@ -1846,6 +1886,8 @@ export interface components {
1846
1886
package : string ;
1847
1887
/** @default */
1848
1888
version ?: string ;
1889
+ /** @default */
1890
+ artifact ?: string ;
1849
1891
file ?: components [ "schemas" ] [ "SocketRefFile" ] ;
1850
1892
} ;
1851
1893
} ;
You can’t perform that action at this time.
0 commit comments