tencentcloud-sdk-csip 3.0.674 → 3.0.676
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20221121/client.rb +72 -0
- data/lib/v20221121/models.rb +431 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2403fc3d353308274522d0b55b9f58ba6ae2c8a
|
4
|
+
data.tar.gz: f26931ddc56872b77adc31ed3cc30a01a62168ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 523b958ba9192c9fdb28657533ec958ff2e334eee620a3dd769b0ad6b16b00d904405a6faa353021bc247179e42df6f54e62999ddc6b59bb4e6781328c69909f
|
7
|
+
data.tar.gz: 5edf69baf6625cf08fd532cb85ce4c965591359e7047bb3ace5b81c7082ff6e60e27249554ec4e5aec4b41334f3e6745ae13e4fa6e1a2b4fb1f4086f9d3b84fd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.676
|
data/lib/v20221121/client.rb
CHANGED
@@ -437,6 +437,30 @@ module TencentCloud
|
|
437
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
438
|
end
|
439
439
|
|
440
|
+
# 获取端口视角的端口风险列表
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeRiskCenterPortViewPortRiskList.
|
443
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterPortViewPortRiskListRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterPortViewPortRiskListResponse`
|
445
|
+
def DescribeRiskCenterPortViewPortRiskList(request)
|
446
|
+
body = send_request('DescribeRiskCenterPortViewPortRiskList', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeRiskCenterPortViewPortRiskListResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
440
464
|
# 获取风险服务列表
|
441
465
|
|
442
466
|
# @param request: Request instance for DescribeRiskCenterServerRiskList.
|
@@ -461,6 +485,30 @@ module TencentCloud
|
|
461
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
486
|
end
|
463
487
|
|
488
|
+
# 获取漏洞视角的漏洞风险列表
|
489
|
+
|
490
|
+
# @param request: Request instance for DescribeRiskCenterVULViewVULRiskList.
|
491
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterVULViewVULRiskListRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterVULViewVULRiskListResponse`
|
493
|
+
def DescribeRiskCenterVULViewVULRiskList(request)
|
494
|
+
body = send_request('DescribeRiskCenterVULViewVULRiskList', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = DescribeRiskCenterVULViewVULRiskListResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
464
512
|
# 获取网站风险列表
|
465
513
|
|
466
514
|
# @param request: Request instance for DescribeRiskCenterWebsiteRiskList.
|
@@ -653,6 +701,30 @@ module TencentCloud
|
|
653
701
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
702
|
end
|
655
703
|
|
704
|
+
# 修改风险中心风险状态
|
705
|
+
|
706
|
+
# @param request: Request instance for ModifyRiskCenterRiskStatus.
|
707
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::ModifyRiskCenterRiskStatusRequest`
|
708
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::ModifyRiskCenterRiskStatusResponse`
|
709
|
+
def ModifyRiskCenterRiskStatus(request)
|
710
|
+
body = send_request('ModifyRiskCenterRiskStatus', request.serialize)
|
711
|
+
response = JSON.parse(body)
|
712
|
+
if response['Response'].key?('Error') == false
|
713
|
+
model = ModifyRiskCenterRiskStatusResponse.new
|
714
|
+
model.deserialize(response['Response'])
|
715
|
+
model
|
716
|
+
else
|
717
|
+
code = response['Response']['Error']['Code']
|
718
|
+
message = response['Response']['Error']['Message']
|
719
|
+
reqid = response['Response']['RequestId']
|
720
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
+
end
|
722
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
+
raise e
|
724
|
+
rescue StandardError => e
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
+
end
|
727
|
+
|
656
728
|
# 停止扫风险中心扫描任务
|
657
729
|
|
658
730
|
# @param request: Request instance for StopRiskCenterTask.
|
data/lib/v20221121/models.rb
CHANGED
@@ -2902,6 +2902,89 @@ module TencentCloud
|
|
2902
2902
|
end
|
2903
2903
|
end
|
2904
2904
|
|
2905
|
+
# DescribeRiskCenterPortViewPortRiskList请求参数结构体
|
2906
|
+
class DescribeRiskCenterPortViewPortRiskListRequest < TencentCloud::Common::AbstractModel
|
2907
|
+
# @param Filter: 过滤内容
|
2908
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2909
|
+
|
2910
|
+
attr_accessor :Filter
|
2911
|
+
|
2912
|
+
def initialize(filter=nil)
|
2913
|
+
@Filter = filter
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
def deserialize(params)
|
2917
|
+
unless params['Filter'].nil?
|
2918
|
+
@Filter = Filter.new
|
2919
|
+
@Filter.deserialize(params['Filter'])
|
2920
|
+
end
|
2921
|
+
end
|
2922
|
+
end
|
2923
|
+
|
2924
|
+
# DescribeRiskCenterPortViewPortRiskList返回参数结构体
|
2925
|
+
class DescribeRiskCenterPortViewPortRiskListResponse < TencentCloud::Common::AbstractModel
|
2926
|
+
# @param TotalCount: 总条数
|
2927
|
+
# @type TotalCount: Integer
|
2928
|
+
# @param Data: 资产视角的端口风险列表
|
2929
|
+
# @type Data: Array
|
2930
|
+
# @param LevelLists: 危险等级列表
|
2931
|
+
# @type LevelLists: Array
|
2932
|
+
# @param SuggestionLists: 处置建议列表
|
2933
|
+
# @type SuggestionLists: Array
|
2934
|
+
# @param FromLists: 来源列表
|
2935
|
+
# @type FromLists: Array
|
2936
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2937
|
+
# @type RequestId: String
|
2938
|
+
|
2939
|
+
attr_accessor :TotalCount, :Data, :LevelLists, :SuggestionLists, :FromLists, :RequestId
|
2940
|
+
|
2941
|
+
def initialize(totalcount=nil, data=nil, levellists=nil, suggestionlists=nil, fromlists=nil, requestid=nil)
|
2942
|
+
@TotalCount = totalcount
|
2943
|
+
@Data = data
|
2944
|
+
@LevelLists = levellists
|
2945
|
+
@SuggestionLists = suggestionlists
|
2946
|
+
@FromLists = fromlists
|
2947
|
+
@RequestId = requestid
|
2948
|
+
end
|
2949
|
+
|
2950
|
+
def deserialize(params)
|
2951
|
+
@TotalCount = params['TotalCount']
|
2952
|
+
unless params['Data'].nil?
|
2953
|
+
@Data = []
|
2954
|
+
params['Data'].each do |i|
|
2955
|
+
portviewportrisk_tmp = PortViewPortRisk.new
|
2956
|
+
portviewportrisk_tmp.deserialize(i)
|
2957
|
+
@Data << portviewportrisk_tmp
|
2958
|
+
end
|
2959
|
+
end
|
2960
|
+
unless params['LevelLists'].nil?
|
2961
|
+
@LevelLists = []
|
2962
|
+
params['LevelLists'].each do |i|
|
2963
|
+
filterdataobject_tmp = FilterDataObject.new
|
2964
|
+
filterdataobject_tmp.deserialize(i)
|
2965
|
+
@LevelLists << filterdataobject_tmp
|
2966
|
+
end
|
2967
|
+
end
|
2968
|
+
unless params['SuggestionLists'].nil?
|
2969
|
+
@SuggestionLists = []
|
2970
|
+
params['SuggestionLists'].each do |i|
|
2971
|
+
filterdataobject_tmp = FilterDataObject.new
|
2972
|
+
filterdataobject_tmp.deserialize(i)
|
2973
|
+
@SuggestionLists << filterdataobject_tmp
|
2974
|
+
end
|
2975
|
+
end
|
2976
|
+
unless params['FromLists'].nil?
|
2977
|
+
@FromLists = []
|
2978
|
+
params['FromLists'].each do |i|
|
2979
|
+
filterdataobject_tmp = FilterDataObject.new
|
2980
|
+
filterdataobject_tmp.deserialize(i)
|
2981
|
+
@FromLists << filterdataobject_tmp
|
2982
|
+
end
|
2983
|
+
end
|
2984
|
+
@RequestId = params['RequestId']
|
2985
|
+
end
|
2986
|
+
end
|
2987
|
+
|
2905
2988
|
# DescribeRiskCenterServerRiskList请求参数结构体
|
2906
2989
|
class DescribeRiskCenterServerRiskListRequest < TencentCloud::Common::AbstractModel
|
2907
2990
|
# @param Filter: 过滤内容
|
@@ -2963,6 +3046,89 @@ module TencentCloud
|
|
2963
3046
|
end
|
2964
3047
|
end
|
2965
3048
|
|
3049
|
+
# DescribeRiskCenterVULViewVULRiskList请求参数结构体
|
3050
|
+
class DescribeRiskCenterVULViewVULRiskListRequest < TencentCloud::Common::AbstractModel
|
3051
|
+
# @param Filter: 过滤内容
|
3052
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3053
|
+
|
3054
|
+
attr_accessor :Filter
|
3055
|
+
|
3056
|
+
def initialize(filter=nil)
|
3057
|
+
@Filter = filter
|
3058
|
+
end
|
3059
|
+
|
3060
|
+
def deserialize(params)
|
3061
|
+
unless params['Filter'].nil?
|
3062
|
+
@Filter = Filter.new
|
3063
|
+
@Filter.deserialize(params['Filter'])
|
3064
|
+
end
|
3065
|
+
end
|
3066
|
+
end
|
3067
|
+
|
3068
|
+
# DescribeRiskCenterVULViewVULRiskList返回参数结构体
|
3069
|
+
class DescribeRiskCenterVULViewVULRiskListResponse < TencentCloud::Common::AbstractModel
|
3070
|
+
# @param TotalCount: 总条数
|
3071
|
+
# @type TotalCount: Integer
|
3072
|
+
# @param Data: 漏洞产视角的漏洞风险列表
|
3073
|
+
# @type Data: Array
|
3074
|
+
# @param LevelLists: 危险等级列表
|
3075
|
+
# @type LevelLists: Array
|
3076
|
+
# @param FromLists: 来源列表
|
3077
|
+
# @type FromLists: Array
|
3078
|
+
# @param VULTypeLists: 漏洞类型列表
|
3079
|
+
# @type VULTypeLists: Array
|
3080
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3081
|
+
# @type RequestId: String
|
3082
|
+
|
3083
|
+
attr_accessor :TotalCount, :Data, :LevelLists, :FromLists, :VULTypeLists, :RequestId
|
3084
|
+
|
3085
|
+
def initialize(totalcount=nil, data=nil, levellists=nil, fromlists=nil, vultypelists=nil, requestid=nil)
|
3086
|
+
@TotalCount = totalcount
|
3087
|
+
@Data = data
|
3088
|
+
@LevelLists = levellists
|
3089
|
+
@FromLists = fromlists
|
3090
|
+
@VULTypeLists = vultypelists
|
3091
|
+
@RequestId = requestid
|
3092
|
+
end
|
3093
|
+
|
3094
|
+
def deserialize(params)
|
3095
|
+
@TotalCount = params['TotalCount']
|
3096
|
+
unless params['Data'].nil?
|
3097
|
+
@Data = []
|
3098
|
+
params['Data'].each do |i|
|
3099
|
+
vulviewvulrisk_tmp = VULViewVULRisk.new
|
3100
|
+
vulviewvulrisk_tmp.deserialize(i)
|
3101
|
+
@Data << vulviewvulrisk_tmp
|
3102
|
+
end
|
3103
|
+
end
|
3104
|
+
unless params['LevelLists'].nil?
|
3105
|
+
@LevelLists = []
|
3106
|
+
params['LevelLists'].each do |i|
|
3107
|
+
filterdataobject_tmp = FilterDataObject.new
|
3108
|
+
filterdataobject_tmp.deserialize(i)
|
3109
|
+
@LevelLists << filterdataobject_tmp
|
3110
|
+
end
|
3111
|
+
end
|
3112
|
+
unless params['FromLists'].nil?
|
3113
|
+
@FromLists = []
|
3114
|
+
params['FromLists'].each do |i|
|
3115
|
+
filterdataobject_tmp = FilterDataObject.new
|
3116
|
+
filterdataobject_tmp.deserialize(i)
|
3117
|
+
@FromLists << filterdataobject_tmp
|
3118
|
+
end
|
3119
|
+
end
|
3120
|
+
unless params['VULTypeLists'].nil?
|
3121
|
+
@VULTypeLists = []
|
3122
|
+
params['VULTypeLists'].each do |i|
|
3123
|
+
filterdataobject_tmp = FilterDataObject.new
|
3124
|
+
filterdataobject_tmp.deserialize(i)
|
3125
|
+
@VULTypeLists << filterdataobject_tmp
|
3126
|
+
end
|
3127
|
+
end
|
3128
|
+
@RequestId = params['RequestId']
|
3129
|
+
end
|
3130
|
+
end
|
3131
|
+
|
2966
3132
|
# DescribeRiskCenterWebsiteRiskList请求参数结构体
|
2967
3133
|
class DescribeRiskCenterWebsiteRiskListRequest < TencentCloud::Common::AbstractModel
|
2968
3134
|
# @param Filter: 过滤内容
|
@@ -3997,6 +4163,131 @@ module TencentCloud
|
|
3997
4163
|
end
|
3998
4164
|
end
|
3999
4165
|
|
4166
|
+
# ModifyRiskCenterRiskStatus请求参数结构体
|
4167
|
+
class ModifyRiskCenterRiskStatusRequest < TencentCloud::Common::AbstractModel
|
4168
|
+
# @param RiskStatusKeys: 风险资产相关数据
|
4169
|
+
# @type RiskStatusKeys: Array
|
4170
|
+
# @param Status: 处置状态,1为已处置、2为已忽略,3为取消已处置,4为取消已忽略
|
4171
|
+
# @type Status: Integer
|
4172
|
+
# @param Type: 风险类型,0-端口风险, 1-漏洞风险,2-弱口令风险, 3-网站内容风险,4-配置风险,5-风险服务暴露
|
4173
|
+
# @type Type: Integer
|
4174
|
+
|
4175
|
+
attr_accessor :RiskStatusKeys, :Status, :Type
|
4176
|
+
|
4177
|
+
def initialize(riskstatuskeys=nil, status=nil, type=nil)
|
4178
|
+
@RiskStatusKeys = riskstatuskeys
|
4179
|
+
@Status = status
|
4180
|
+
@Type = type
|
4181
|
+
end
|
4182
|
+
|
4183
|
+
def deserialize(params)
|
4184
|
+
unless params['RiskStatusKeys'].nil?
|
4185
|
+
@RiskStatusKeys = []
|
4186
|
+
params['RiskStatusKeys'].each do |i|
|
4187
|
+
riskcenterstatuskey_tmp = RiskCenterStatusKey.new
|
4188
|
+
riskcenterstatuskey_tmp.deserialize(i)
|
4189
|
+
@RiskStatusKeys << riskcenterstatuskey_tmp
|
4190
|
+
end
|
4191
|
+
end
|
4192
|
+
@Status = params['Status']
|
4193
|
+
@Type = params['Type']
|
4194
|
+
end
|
4195
|
+
end
|
4196
|
+
|
4197
|
+
# ModifyRiskCenterRiskStatus返回参数结构体
|
4198
|
+
class ModifyRiskCenterRiskStatusResponse < TencentCloud::Common::AbstractModel
|
4199
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4200
|
+
# @type RequestId: String
|
4201
|
+
|
4202
|
+
attr_accessor :RequestId
|
4203
|
+
|
4204
|
+
def initialize(requestid=nil)
|
4205
|
+
@RequestId = requestid
|
4206
|
+
end
|
4207
|
+
|
4208
|
+
def deserialize(params)
|
4209
|
+
@RequestId = params['RequestId']
|
4210
|
+
end
|
4211
|
+
end
|
4212
|
+
|
4213
|
+
# 端口视角的端口风险对象
|
4214
|
+
class PortViewPortRisk < TencentCloud::Common::AbstractModel
|
4215
|
+
# @param NoHandleCount: 影响资产
|
4216
|
+
# @type NoHandleCount: Integer
|
4217
|
+
# @param Level: 风险等级
|
4218
|
+
# @type Level: String
|
4219
|
+
# @param Protocol: 协议
|
4220
|
+
# @type Protocol: String
|
4221
|
+
# @param Component: 组件
|
4222
|
+
# @type Component: String
|
4223
|
+
# @param Port: 端口
|
4224
|
+
# @type Port: Integer
|
4225
|
+
# @param RecentTime: 最近识别时间
|
4226
|
+
# @type RecentTime: String
|
4227
|
+
# @param FirstTime: 首次识别时间
|
4228
|
+
# @type FirstTime: String
|
4229
|
+
# @param Suggestion: 处置建议,0保持现状、1限制访问、2封禁端口
|
4230
|
+
# @type Suggestion: Integer
|
4231
|
+
# @param AffectAssetCount: 状态,0未处理、1已处置、2已忽略
|
4232
|
+
# @type AffectAssetCount: String
|
4233
|
+
# @param Id: 资产唯一id
|
4234
|
+
# @type Id: String
|
4235
|
+
# @param From: 资产子类型
|
4236
|
+
# @type From: String
|
4237
|
+
# @param Index: 前端索引
|
4238
|
+
# @type Index: String
|
4239
|
+
# @param AppId: 用户appid
|
4240
|
+
# @type AppId: String
|
4241
|
+
# @param Nick: 用户昵称
|
4242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4243
|
+
# @type Nick: String
|
4244
|
+
# @param Uin: 用户uin
|
4245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4246
|
+
# @type Uin: String
|
4247
|
+
# @param Service: 服务
|
4248
|
+
# @type Service: String
|
4249
|
+
|
4250
|
+
attr_accessor :NoHandleCount, :Level, :Protocol, :Component, :Port, :RecentTime, :FirstTime, :Suggestion, :AffectAssetCount, :Id, :From, :Index, :AppId, :Nick, :Uin, :Service
|
4251
|
+
|
4252
|
+
def initialize(nohandlecount=nil, level=nil, protocol=nil, component=nil, port=nil, recenttime=nil, firsttime=nil, suggestion=nil, affectassetcount=nil, id=nil, from=nil, index=nil, appid=nil, nick=nil, uin=nil, service=nil)
|
4253
|
+
@NoHandleCount = nohandlecount
|
4254
|
+
@Level = level
|
4255
|
+
@Protocol = protocol
|
4256
|
+
@Component = component
|
4257
|
+
@Port = port
|
4258
|
+
@RecentTime = recenttime
|
4259
|
+
@FirstTime = firsttime
|
4260
|
+
@Suggestion = suggestion
|
4261
|
+
@AffectAssetCount = affectassetcount
|
4262
|
+
@Id = id
|
4263
|
+
@From = from
|
4264
|
+
@Index = index
|
4265
|
+
@AppId = appid
|
4266
|
+
@Nick = nick
|
4267
|
+
@Uin = uin
|
4268
|
+
@Service = service
|
4269
|
+
end
|
4270
|
+
|
4271
|
+
def deserialize(params)
|
4272
|
+
@NoHandleCount = params['NoHandleCount']
|
4273
|
+
@Level = params['Level']
|
4274
|
+
@Protocol = params['Protocol']
|
4275
|
+
@Component = params['Component']
|
4276
|
+
@Port = params['Port']
|
4277
|
+
@RecentTime = params['RecentTime']
|
4278
|
+
@FirstTime = params['FirstTime']
|
4279
|
+
@Suggestion = params['Suggestion']
|
4280
|
+
@AffectAssetCount = params['AffectAssetCount']
|
4281
|
+
@Id = params['Id']
|
4282
|
+
@From = params['From']
|
4283
|
+
@Index = params['Index']
|
4284
|
+
@AppId = params['AppId']
|
4285
|
+
@Nick = params['Nick']
|
4286
|
+
@Uin = params['Uin']
|
4287
|
+
@Service = params['Service']
|
4288
|
+
end
|
4289
|
+
end
|
4290
|
+
|
4000
4291
|
# 公网IP和域名资产列表key
|
4001
4292
|
class PublicIpDomainListKey < TencentCloud::Common::AbstractModel
|
4002
4293
|
# @param Asset: 资产值
|
@@ -4029,6 +4320,34 @@ module TencentCloud
|
|
4029
4320
|
end
|
4030
4321
|
end
|
4031
4322
|
|
4323
|
+
# 风险中心状态处理Key
|
4324
|
+
class RiskCenterStatusKey < TencentCloud::Common::AbstractModel
|
4325
|
+
# @param Id: 风险ID
|
4326
|
+
# @type Id: String
|
4327
|
+
# @param AppId: APP ID
|
4328
|
+
# @type AppId: String
|
4329
|
+
# @param PublicIPDomain: 公网IP/域名
|
4330
|
+
# @type PublicIPDomain: String
|
4331
|
+
# @param InstanceId: 实例ID
|
4332
|
+
# @type InstanceId: String
|
4333
|
+
|
4334
|
+
attr_accessor :Id, :AppId, :PublicIPDomain, :InstanceId
|
4335
|
+
|
4336
|
+
def initialize(id=nil, appid=nil, publicipdomain=nil, instanceid=nil)
|
4337
|
+
@Id = id
|
4338
|
+
@AppId = appid
|
4339
|
+
@PublicIPDomain = publicipdomain
|
4340
|
+
@InstanceId = instanceid
|
4341
|
+
end
|
4342
|
+
|
4343
|
+
def deserialize(params)
|
4344
|
+
@Id = params['Id']
|
4345
|
+
@AppId = params['AppId']
|
4346
|
+
@PublicIPDomain = params['PublicIPDomain']
|
4347
|
+
@InstanceId = params['InstanceId']
|
4348
|
+
end
|
4349
|
+
end
|
4350
|
+
|
4032
4351
|
# 扫描任务详情
|
4033
4352
|
class ScanTaskInfo < TencentCloud::Common::AbstractModel
|
4034
4353
|
# @param TaskId: 任务日志Id
|
@@ -4908,6 +5227,118 @@ module TencentCloud
|
|
4908
5227
|
end
|
4909
5228
|
end
|
4910
5229
|
|
5230
|
+
# 漏洞视角的漏洞风险对象
|
5231
|
+
class VULViewVULRisk < TencentCloud::Common::AbstractModel
|
5232
|
+
# @param Port: 端口
|
5233
|
+
# @type Port: String
|
5234
|
+
# @param NoHandleCount: 影响资产
|
5235
|
+
# @type NoHandleCount: Integer
|
5236
|
+
# @param Level: 风险等级
|
5237
|
+
# @type Level: String
|
5238
|
+
# @param Component: 组件
|
5239
|
+
# @type Component: String
|
5240
|
+
# @param RecentTime: 最近识别时间
|
5241
|
+
# @type RecentTime: String
|
5242
|
+
# @param FirstTime: 首次识别时间
|
5243
|
+
# @type FirstTime: String
|
5244
|
+
# @param AffectAssetCount: 状态,0未处理、1已处置、2已忽略
|
5245
|
+
# @type AffectAssetCount: Integer
|
5246
|
+
# @param Id: 资产唯一id
|
5247
|
+
# @type Id: String
|
5248
|
+
# @param From: 资产子类型
|
5249
|
+
# @type From: String
|
5250
|
+
# @param Index: 前端索引
|
5251
|
+
# @type Index: String
|
5252
|
+
# @param VULType: 漏洞类型
|
5253
|
+
# @type VULType: String
|
5254
|
+
# @param VULName: 漏洞名
|
5255
|
+
# @type VULName: String
|
5256
|
+
# @param CVE: cve
|
5257
|
+
# @type CVE: String
|
5258
|
+
# @param Describe: 描述
|
5259
|
+
# @type Describe: String
|
5260
|
+
# @param Payload: 负载
|
5261
|
+
# @type Payload: String
|
5262
|
+
# @param AppName: 版本名
|
5263
|
+
# @type AppName: String
|
5264
|
+
# @param References: 相关引用
|
5265
|
+
# @type References: String
|
5266
|
+
# @param AppVersion: 版本
|
5267
|
+
# @type AppVersion: String
|
5268
|
+
# @param VULURL: 漏洞链接
|
5269
|
+
# @type VULURL: String
|
5270
|
+
# @param Nick: 用户昵称
|
5271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5272
|
+
# @type Nick: String
|
5273
|
+
# @param AppId: 用户appid
|
5274
|
+
# @type AppId: String
|
5275
|
+
# @param Uin: 用户uin
|
5276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5277
|
+
# @type Uin: String
|
5278
|
+
# @param Fix: 修复建议
|
5279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5280
|
+
# @type Fix: String
|
5281
|
+
# @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
|
5282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5283
|
+
# @type EMGCVulType: Integer
|
5284
|
+
|
5285
|
+
attr_accessor :Port, :NoHandleCount, :Level, :Component, :RecentTime, :FirstTime, :AffectAssetCount, :Id, :From, :Index, :VULType, :VULName, :CVE, :Describe, :Payload, :AppName, :References, :AppVersion, :VULURL, :Nick, :AppId, :Uin, :Fix, :EMGCVulType
|
5286
|
+
|
5287
|
+
def initialize(port=nil, nohandlecount=nil, level=nil, component=nil, recenttime=nil, firsttime=nil, affectassetcount=nil, id=nil, from=nil, index=nil, vultype=nil, vulname=nil, cve=nil, describe=nil, payload=nil, appname=nil, references=nil, appversion=nil, vulurl=nil, nick=nil, appid=nil, uin=nil, fix=nil, emgcvultype=nil)
|
5288
|
+
@Port = port
|
5289
|
+
@NoHandleCount = nohandlecount
|
5290
|
+
@Level = level
|
5291
|
+
@Component = component
|
5292
|
+
@RecentTime = recenttime
|
5293
|
+
@FirstTime = firsttime
|
5294
|
+
@AffectAssetCount = affectassetcount
|
5295
|
+
@Id = id
|
5296
|
+
@From = from
|
5297
|
+
@Index = index
|
5298
|
+
@VULType = vultype
|
5299
|
+
@VULName = vulname
|
5300
|
+
@CVE = cve
|
5301
|
+
@Describe = describe
|
5302
|
+
@Payload = payload
|
5303
|
+
@AppName = appname
|
5304
|
+
@References = references
|
5305
|
+
@AppVersion = appversion
|
5306
|
+
@VULURL = vulurl
|
5307
|
+
@Nick = nick
|
5308
|
+
@AppId = appid
|
5309
|
+
@Uin = uin
|
5310
|
+
@Fix = fix
|
5311
|
+
@EMGCVulType = emgcvultype
|
5312
|
+
end
|
5313
|
+
|
5314
|
+
def deserialize(params)
|
5315
|
+
@Port = params['Port']
|
5316
|
+
@NoHandleCount = params['NoHandleCount']
|
5317
|
+
@Level = params['Level']
|
5318
|
+
@Component = params['Component']
|
5319
|
+
@RecentTime = params['RecentTime']
|
5320
|
+
@FirstTime = params['FirstTime']
|
5321
|
+
@AffectAssetCount = params['AffectAssetCount']
|
5322
|
+
@Id = params['Id']
|
5323
|
+
@From = params['From']
|
5324
|
+
@Index = params['Index']
|
5325
|
+
@VULType = params['VULType']
|
5326
|
+
@VULName = params['VULName']
|
5327
|
+
@CVE = params['CVE']
|
5328
|
+
@Describe = params['Describe']
|
5329
|
+
@Payload = params['Payload']
|
5330
|
+
@AppName = params['AppName']
|
5331
|
+
@References = params['References']
|
5332
|
+
@AppVersion = params['AppVersion']
|
5333
|
+
@VULURL = params['VULURL']
|
5334
|
+
@Nick = params['Nick']
|
5335
|
+
@AppId = params['AppId']
|
5336
|
+
@Uin = params['Uin']
|
5337
|
+
@Fix = params['Fix']
|
5338
|
+
@EMGCVulType = params['EMGCVulType']
|
5339
|
+
end
|
5340
|
+
end
|
5341
|
+
|
4911
5342
|
# vpc列表数据
|
4912
5343
|
class Vpc < TencentCloud::Common::AbstractModel
|
4913
5344
|
# @param Subnet: 子网(只支持32位)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.676
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20221121/models.rb
|
37
|
-
- lib/v20221121/client.rb
|
38
36
|
- lib/tencentcloud-sdk-csip.rb
|
37
|
+
- lib/v20221121/client.rb
|
38
|
+
- lib/v20221121/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|