tencentcloud-sdk-csip 3.0.675 → 3.0.677
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 +437 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d46bdef4dd8ae9943b21cafc67c78e1e88be514
|
4
|
+
data.tar.gz: 8ffd9fa5240a5f3792e040b4af2e91627da79eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d26ecb91407be36dfe373ebbcbd9e7e598a72532377fd1a7672f4b66407f75219694b706411f41819cb27264ecdd5b4ccd0c60d778526195c33a83368d330f24
|
7
|
+
data.tar.gz: 6812a07c774d1facc4535d9a6e93046a36c53bdc12d0b088a47b10498c224cd3e1a60616bb2235cd9a5490fbbaac96a0dbb3e6acd85d2eb22958523b65363b97
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.677
|
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
@@ -1325,14 +1325,16 @@ module TencentCloud
|
|
1325
1325
|
# @type ScanPlanContent: String
|
1326
1326
|
# @param SelfDefiningAssets: ip/域名/url数组
|
1327
1327
|
# @type SelfDefiningAssets: Array
|
1328
|
+
# @param ScanFrom: 请求发起源,默认为vss表示漏洞扫描服务,云安全中心的用户请填充csip
|
1329
|
+
# @type ScanFrom: String
|
1328
1330
|
# @param TaskAdvanceCFG: 高级配置
|
1329
1331
|
# @type TaskAdvanceCFG: :class:`Tencentcloud::Csip.v20221121.models.TaskAdvanceCFG`
|
1330
1332
|
# @param TaskMode: 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式
|
1331
1333
|
# @type TaskMode: Integer
|
1332
1334
|
|
1333
|
-
attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :Assets, :ScanPlanContent, :SelfDefiningAssets, :TaskAdvanceCFG, :TaskMode
|
1335
|
+
attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :Assets, :ScanPlanContent, :SelfDefiningAssets, :ScanFrom, :TaskAdvanceCFG, :TaskMode
|
1334
1336
|
|
1335
|
-
def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, taskadvancecfg=nil, taskmode=nil)
|
1337
|
+
def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, scanfrom=nil, taskadvancecfg=nil, taskmode=nil)
|
1336
1338
|
@TaskName = taskname
|
1337
1339
|
@ScanAssetType = scanassettype
|
1338
1340
|
@ScanItem = scanitem
|
@@ -1340,6 +1342,7 @@ module TencentCloud
|
|
1340
1342
|
@Assets = assets
|
1341
1343
|
@ScanPlanContent = scanplancontent
|
1342
1344
|
@SelfDefiningAssets = selfdefiningassets
|
1345
|
+
@ScanFrom = scanfrom
|
1343
1346
|
@TaskAdvanceCFG = taskadvancecfg
|
1344
1347
|
@TaskMode = taskmode
|
1345
1348
|
end
|
@@ -1359,6 +1362,7 @@ module TencentCloud
|
|
1359
1362
|
end
|
1360
1363
|
@ScanPlanContent = params['ScanPlanContent']
|
1361
1364
|
@SelfDefiningAssets = params['SelfDefiningAssets']
|
1365
|
+
@ScanFrom = params['ScanFrom']
|
1362
1366
|
unless params['TaskAdvanceCFG'].nil?
|
1363
1367
|
@TaskAdvanceCFG = TaskAdvanceCFG.new
|
1364
1368
|
@TaskAdvanceCFG.deserialize(params['TaskAdvanceCFG'])
|
@@ -2902,6 +2906,89 @@ module TencentCloud
|
|
2902
2906
|
end
|
2903
2907
|
end
|
2904
2908
|
|
2909
|
+
# DescribeRiskCenterPortViewPortRiskList请求参数结构体
|
2910
|
+
class DescribeRiskCenterPortViewPortRiskListRequest < TencentCloud::Common::AbstractModel
|
2911
|
+
# @param Filter: 过滤内容
|
2912
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2913
|
+
|
2914
|
+
attr_accessor :Filter
|
2915
|
+
|
2916
|
+
def initialize(filter=nil)
|
2917
|
+
@Filter = filter
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
def deserialize(params)
|
2921
|
+
unless params['Filter'].nil?
|
2922
|
+
@Filter = Filter.new
|
2923
|
+
@Filter.deserialize(params['Filter'])
|
2924
|
+
end
|
2925
|
+
end
|
2926
|
+
end
|
2927
|
+
|
2928
|
+
# DescribeRiskCenterPortViewPortRiskList返回参数结构体
|
2929
|
+
class DescribeRiskCenterPortViewPortRiskListResponse < TencentCloud::Common::AbstractModel
|
2930
|
+
# @param TotalCount: 总条数
|
2931
|
+
# @type TotalCount: Integer
|
2932
|
+
# @param Data: 资产视角的端口风险列表
|
2933
|
+
# @type Data: Array
|
2934
|
+
# @param LevelLists: 危险等级列表
|
2935
|
+
# @type LevelLists: Array
|
2936
|
+
# @param SuggestionLists: 处置建议列表
|
2937
|
+
# @type SuggestionLists: Array
|
2938
|
+
# @param FromLists: 来源列表
|
2939
|
+
# @type FromLists: Array
|
2940
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2941
|
+
# @type RequestId: String
|
2942
|
+
|
2943
|
+
attr_accessor :TotalCount, :Data, :LevelLists, :SuggestionLists, :FromLists, :RequestId
|
2944
|
+
|
2945
|
+
def initialize(totalcount=nil, data=nil, levellists=nil, suggestionlists=nil, fromlists=nil, requestid=nil)
|
2946
|
+
@TotalCount = totalcount
|
2947
|
+
@Data = data
|
2948
|
+
@LevelLists = levellists
|
2949
|
+
@SuggestionLists = suggestionlists
|
2950
|
+
@FromLists = fromlists
|
2951
|
+
@RequestId = requestid
|
2952
|
+
end
|
2953
|
+
|
2954
|
+
def deserialize(params)
|
2955
|
+
@TotalCount = params['TotalCount']
|
2956
|
+
unless params['Data'].nil?
|
2957
|
+
@Data = []
|
2958
|
+
params['Data'].each do |i|
|
2959
|
+
portviewportrisk_tmp = PortViewPortRisk.new
|
2960
|
+
portviewportrisk_tmp.deserialize(i)
|
2961
|
+
@Data << portviewportrisk_tmp
|
2962
|
+
end
|
2963
|
+
end
|
2964
|
+
unless params['LevelLists'].nil?
|
2965
|
+
@LevelLists = []
|
2966
|
+
params['LevelLists'].each do |i|
|
2967
|
+
filterdataobject_tmp = FilterDataObject.new
|
2968
|
+
filterdataobject_tmp.deserialize(i)
|
2969
|
+
@LevelLists << filterdataobject_tmp
|
2970
|
+
end
|
2971
|
+
end
|
2972
|
+
unless params['SuggestionLists'].nil?
|
2973
|
+
@SuggestionLists = []
|
2974
|
+
params['SuggestionLists'].each do |i|
|
2975
|
+
filterdataobject_tmp = FilterDataObject.new
|
2976
|
+
filterdataobject_tmp.deserialize(i)
|
2977
|
+
@SuggestionLists << filterdataobject_tmp
|
2978
|
+
end
|
2979
|
+
end
|
2980
|
+
unless params['FromLists'].nil?
|
2981
|
+
@FromLists = []
|
2982
|
+
params['FromLists'].each do |i|
|
2983
|
+
filterdataobject_tmp = FilterDataObject.new
|
2984
|
+
filterdataobject_tmp.deserialize(i)
|
2985
|
+
@FromLists << filterdataobject_tmp
|
2986
|
+
end
|
2987
|
+
end
|
2988
|
+
@RequestId = params['RequestId']
|
2989
|
+
end
|
2990
|
+
end
|
2991
|
+
|
2905
2992
|
# DescribeRiskCenterServerRiskList请求参数结构体
|
2906
2993
|
class DescribeRiskCenterServerRiskListRequest < TencentCloud::Common::AbstractModel
|
2907
2994
|
# @param Filter: 过滤内容
|
@@ -2963,6 +3050,89 @@ module TencentCloud
|
|
2963
3050
|
end
|
2964
3051
|
end
|
2965
3052
|
|
3053
|
+
# DescribeRiskCenterVULViewVULRiskList请求参数结构体
|
3054
|
+
class DescribeRiskCenterVULViewVULRiskListRequest < TencentCloud::Common::AbstractModel
|
3055
|
+
# @param Filter: 过滤内容
|
3056
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3057
|
+
|
3058
|
+
attr_accessor :Filter
|
3059
|
+
|
3060
|
+
def initialize(filter=nil)
|
3061
|
+
@Filter = filter
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
def deserialize(params)
|
3065
|
+
unless params['Filter'].nil?
|
3066
|
+
@Filter = Filter.new
|
3067
|
+
@Filter.deserialize(params['Filter'])
|
3068
|
+
end
|
3069
|
+
end
|
3070
|
+
end
|
3071
|
+
|
3072
|
+
# DescribeRiskCenterVULViewVULRiskList返回参数结构体
|
3073
|
+
class DescribeRiskCenterVULViewVULRiskListResponse < TencentCloud::Common::AbstractModel
|
3074
|
+
# @param TotalCount: 总条数
|
3075
|
+
# @type TotalCount: Integer
|
3076
|
+
# @param Data: 漏洞产视角的漏洞风险列表
|
3077
|
+
# @type Data: Array
|
3078
|
+
# @param LevelLists: 危险等级列表
|
3079
|
+
# @type LevelLists: Array
|
3080
|
+
# @param FromLists: 来源列表
|
3081
|
+
# @type FromLists: Array
|
3082
|
+
# @param VULTypeLists: 漏洞类型列表
|
3083
|
+
# @type VULTypeLists: Array
|
3084
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3085
|
+
# @type RequestId: String
|
3086
|
+
|
3087
|
+
attr_accessor :TotalCount, :Data, :LevelLists, :FromLists, :VULTypeLists, :RequestId
|
3088
|
+
|
3089
|
+
def initialize(totalcount=nil, data=nil, levellists=nil, fromlists=nil, vultypelists=nil, requestid=nil)
|
3090
|
+
@TotalCount = totalcount
|
3091
|
+
@Data = data
|
3092
|
+
@LevelLists = levellists
|
3093
|
+
@FromLists = fromlists
|
3094
|
+
@VULTypeLists = vultypelists
|
3095
|
+
@RequestId = requestid
|
3096
|
+
end
|
3097
|
+
|
3098
|
+
def deserialize(params)
|
3099
|
+
@TotalCount = params['TotalCount']
|
3100
|
+
unless params['Data'].nil?
|
3101
|
+
@Data = []
|
3102
|
+
params['Data'].each do |i|
|
3103
|
+
vulviewvulrisk_tmp = VULViewVULRisk.new
|
3104
|
+
vulviewvulrisk_tmp.deserialize(i)
|
3105
|
+
@Data << vulviewvulrisk_tmp
|
3106
|
+
end
|
3107
|
+
end
|
3108
|
+
unless params['LevelLists'].nil?
|
3109
|
+
@LevelLists = []
|
3110
|
+
params['LevelLists'].each do |i|
|
3111
|
+
filterdataobject_tmp = FilterDataObject.new
|
3112
|
+
filterdataobject_tmp.deserialize(i)
|
3113
|
+
@LevelLists << filterdataobject_tmp
|
3114
|
+
end
|
3115
|
+
end
|
3116
|
+
unless params['FromLists'].nil?
|
3117
|
+
@FromLists = []
|
3118
|
+
params['FromLists'].each do |i|
|
3119
|
+
filterdataobject_tmp = FilterDataObject.new
|
3120
|
+
filterdataobject_tmp.deserialize(i)
|
3121
|
+
@FromLists << filterdataobject_tmp
|
3122
|
+
end
|
3123
|
+
end
|
3124
|
+
unless params['VULTypeLists'].nil?
|
3125
|
+
@VULTypeLists = []
|
3126
|
+
params['VULTypeLists'].each do |i|
|
3127
|
+
filterdataobject_tmp = FilterDataObject.new
|
3128
|
+
filterdataobject_tmp.deserialize(i)
|
3129
|
+
@VULTypeLists << filterdataobject_tmp
|
3130
|
+
end
|
3131
|
+
end
|
3132
|
+
@RequestId = params['RequestId']
|
3133
|
+
end
|
3134
|
+
end
|
3135
|
+
|
2966
3136
|
# DescribeRiskCenterWebsiteRiskList请求参数结构体
|
2967
3137
|
class DescribeRiskCenterWebsiteRiskListRequest < TencentCloud::Common::AbstractModel
|
2968
3138
|
# @param Filter: 过滤内容
|
@@ -3997,6 +4167,131 @@ module TencentCloud
|
|
3997
4167
|
end
|
3998
4168
|
end
|
3999
4169
|
|
4170
|
+
# ModifyRiskCenterRiskStatus请求参数结构体
|
4171
|
+
class ModifyRiskCenterRiskStatusRequest < TencentCloud::Common::AbstractModel
|
4172
|
+
# @param RiskStatusKeys: 风险资产相关数据
|
4173
|
+
# @type RiskStatusKeys: Array
|
4174
|
+
# @param Status: 处置状态,1为已处置、2为已忽略,3为取消已处置,4为取消已忽略
|
4175
|
+
# @type Status: Integer
|
4176
|
+
# @param Type: 风险类型,0-端口风险, 1-漏洞风险,2-弱口令风险, 3-网站内容风险,4-配置风险,5-风险服务暴露
|
4177
|
+
# @type Type: Integer
|
4178
|
+
|
4179
|
+
attr_accessor :RiskStatusKeys, :Status, :Type
|
4180
|
+
|
4181
|
+
def initialize(riskstatuskeys=nil, status=nil, type=nil)
|
4182
|
+
@RiskStatusKeys = riskstatuskeys
|
4183
|
+
@Status = status
|
4184
|
+
@Type = type
|
4185
|
+
end
|
4186
|
+
|
4187
|
+
def deserialize(params)
|
4188
|
+
unless params['RiskStatusKeys'].nil?
|
4189
|
+
@RiskStatusKeys = []
|
4190
|
+
params['RiskStatusKeys'].each do |i|
|
4191
|
+
riskcenterstatuskey_tmp = RiskCenterStatusKey.new
|
4192
|
+
riskcenterstatuskey_tmp.deserialize(i)
|
4193
|
+
@RiskStatusKeys << riskcenterstatuskey_tmp
|
4194
|
+
end
|
4195
|
+
end
|
4196
|
+
@Status = params['Status']
|
4197
|
+
@Type = params['Type']
|
4198
|
+
end
|
4199
|
+
end
|
4200
|
+
|
4201
|
+
# ModifyRiskCenterRiskStatus返回参数结构体
|
4202
|
+
class ModifyRiskCenterRiskStatusResponse < TencentCloud::Common::AbstractModel
|
4203
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4204
|
+
# @type RequestId: String
|
4205
|
+
|
4206
|
+
attr_accessor :RequestId
|
4207
|
+
|
4208
|
+
def initialize(requestid=nil)
|
4209
|
+
@RequestId = requestid
|
4210
|
+
end
|
4211
|
+
|
4212
|
+
def deserialize(params)
|
4213
|
+
@RequestId = params['RequestId']
|
4214
|
+
end
|
4215
|
+
end
|
4216
|
+
|
4217
|
+
# 端口视角的端口风险对象
|
4218
|
+
class PortViewPortRisk < TencentCloud::Common::AbstractModel
|
4219
|
+
# @param NoHandleCount: 影响资产
|
4220
|
+
# @type NoHandleCount: Integer
|
4221
|
+
# @param Level: 风险等级
|
4222
|
+
# @type Level: String
|
4223
|
+
# @param Protocol: 协议
|
4224
|
+
# @type Protocol: String
|
4225
|
+
# @param Component: 组件
|
4226
|
+
# @type Component: String
|
4227
|
+
# @param Port: 端口
|
4228
|
+
# @type Port: Integer
|
4229
|
+
# @param RecentTime: 最近识别时间
|
4230
|
+
# @type RecentTime: String
|
4231
|
+
# @param FirstTime: 首次识别时间
|
4232
|
+
# @type FirstTime: String
|
4233
|
+
# @param Suggestion: 处置建议,0保持现状、1限制访问、2封禁端口
|
4234
|
+
# @type Suggestion: Integer
|
4235
|
+
# @param AffectAssetCount: 状态,0未处理、1已处置、2已忽略
|
4236
|
+
# @type AffectAssetCount: String
|
4237
|
+
# @param Id: 资产唯一id
|
4238
|
+
# @type Id: String
|
4239
|
+
# @param From: 资产子类型
|
4240
|
+
# @type From: String
|
4241
|
+
# @param Index: 前端索引
|
4242
|
+
# @type Index: String
|
4243
|
+
# @param AppId: 用户appid
|
4244
|
+
# @type AppId: String
|
4245
|
+
# @param Nick: 用户昵称
|
4246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4247
|
+
# @type Nick: String
|
4248
|
+
# @param Uin: 用户uin
|
4249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4250
|
+
# @type Uin: String
|
4251
|
+
# @param Service: 服务
|
4252
|
+
# @type Service: String
|
4253
|
+
|
4254
|
+
attr_accessor :NoHandleCount, :Level, :Protocol, :Component, :Port, :RecentTime, :FirstTime, :Suggestion, :AffectAssetCount, :Id, :From, :Index, :AppId, :Nick, :Uin, :Service
|
4255
|
+
|
4256
|
+
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)
|
4257
|
+
@NoHandleCount = nohandlecount
|
4258
|
+
@Level = level
|
4259
|
+
@Protocol = protocol
|
4260
|
+
@Component = component
|
4261
|
+
@Port = port
|
4262
|
+
@RecentTime = recenttime
|
4263
|
+
@FirstTime = firsttime
|
4264
|
+
@Suggestion = suggestion
|
4265
|
+
@AffectAssetCount = affectassetcount
|
4266
|
+
@Id = id
|
4267
|
+
@From = from
|
4268
|
+
@Index = index
|
4269
|
+
@AppId = appid
|
4270
|
+
@Nick = nick
|
4271
|
+
@Uin = uin
|
4272
|
+
@Service = service
|
4273
|
+
end
|
4274
|
+
|
4275
|
+
def deserialize(params)
|
4276
|
+
@NoHandleCount = params['NoHandleCount']
|
4277
|
+
@Level = params['Level']
|
4278
|
+
@Protocol = params['Protocol']
|
4279
|
+
@Component = params['Component']
|
4280
|
+
@Port = params['Port']
|
4281
|
+
@RecentTime = params['RecentTime']
|
4282
|
+
@FirstTime = params['FirstTime']
|
4283
|
+
@Suggestion = params['Suggestion']
|
4284
|
+
@AffectAssetCount = params['AffectAssetCount']
|
4285
|
+
@Id = params['Id']
|
4286
|
+
@From = params['From']
|
4287
|
+
@Index = params['Index']
|
4288
|
+
@AppId = params['AppId']
|
4289
|
+
@Nick = params['Nick']
|
4290
|
+
@Uin = params['Uin']
|
4291
|
+
@Service = params['Service']
|
4292
|
+
end
|
4293
|
+
end
|
4294
|
+
|
4000
4295
|
# 公网IP和域名资产列表key
|
4001
4296
|
class PublicIpDomainListKey < TencentCloud::Common::AbstractModel
|
4002
4297
|
# @param Asset: 资产值
|
@@ -4029,6 +4324,34 @@ module TencentCloud
|
|
4029
4324
|
end
|
4030
4325
|
end
|
4031
4326
|
|
4327
|
+
# 风险中心状态处理Key
|
4328
|
+
class RiskCenterStatusKey < TencentCloud::Common::AbstractModel
|
4329
|
+
# @param Id: 风险ID
|
4330
|
+
# @type Id: String
|
4331
|
+
# @param AppId: APP ID
|
4332
|
+
# @type AppId: String
|
4333
|
+
# @param PublicIPDomain: 公网IP/域名
|
4334
|
+
# @type PublicIPDomain: String
|
4335
|
+
# @param InstanceId: 实例ID
|
4336
|
+
# @type InstanceId: String
|
4337
|
+
|
4338
|
+
attr_accessor :Id, :AppId, :PublicIPDomain, :InstanceId
|
4339
|
+
|
4340
|
+
def initialize(id=nil, appid=nil, publicipdomain=nil, instanceid=nil)
|
4341
|
+
@Id = id
|
4342
|
+
@AppId = appid
|
4343
|
+
@PublicIPDomain = publicipdomain
|
4344
|
+
@InstanceId = instanceid
|
4345
|
+
end
|
4346
|
+
|
4347
|
+
def deserialize(params)
|
4348
|
+
@Id = params['Id']
|
4349
|
+
@AppId = params['AppId']
|
4350
|
+
@PublicIPDomain = params['PublicIPDomain']
|
4351
|
+
@InstanceId = params['InstanceId']
|
4352
|
+
end
|
4353
|
+
end
|
4354
|
+
|
4032
4355
|
# 扫描任务详情
|
4033
4356
|
class ScanTaskInfo < TencentCloud::Common::AbstractModel
|
4034
4357
|
# @param TaskId: 任务日志Id
|
@@ -4908,6 +5231,118 @@ module TencentCloud
|
|
4908
5231
|
end
|
4909
5232
|
end
|
4910
5233
|
|
5234
|
+
# 漏洞视角的漏洞风险对象
|
5235
|
+
class VULViewVULRisk < TencentCloud::Common::AbstractModel
|
5236
|
+
# @param Port: 端口
|
5237
|
+
# @type Port: String
|
5238
|
+
# @param NoHandleCount: 影响资产
|
5239
|
+
# @type NoHandleCount: Integer
|
5240
|
+
# @param Level: 风险等级
|
5241
|
+
# @type Level: String
|
5242
|
+
# @param Component: 组件
|
5243
|
+
# @type Component: String
|
5244
|
+
# @param RecentTime: 最近识别时间
|
5245
|
+
# @type RecentTime: String
|
5246
|
+
# @param FirstTime: 首次识别时间
|
5247
|
+
# @type FirstTime: String
|
5248
|
+
# @param AffectAssetCount: 状态,0未处理、1已处置、2已忽略
|
5249
|
+
# @type AffectAssetCount: Integer
|
5250
|
+
# @param Id: 资产唯一id
|
5251
|
+
# @type Id: String
|
5252
|
+
# @param From: 资产子类型
|
5253
|
+
# @type From: String
|
5254
|
+
# @param Index: 前端索引
|
5255
|
+
# @type Index: String
|
5256
|
+
# @param VULType: 漏洞类型
|
5257
|
+
# @type VULType: String
|
5258
|
+
# @param VULName: 漏洞名
|
5259
|
+
# @type VULName: String
|
5260
|
+
# @param CVE: cve
|
5261
|
+
# @type CVE: String
|
5262
|
+
# @param Describe: 描述
|
5263
|
+
# @type Describe: String
|
5264
|
+
# @param Payload: 负载
|
5265
|
+
# @type Payload: String
|
5266
|
+
# @param AppName: 版本名
|
5267
|
+
# @type AppName: String
|
5268
|
+
# @param References: 相关引用
|
5269
|
+
# @type References: String
|
5270
|
+
# @param AppVersion: 版本
|
5271
|
+
# @type AppVersion: String
|
5272
|
+
# @param VULURL: 漏洞链接
|
5273
|
+
# @type VULURL: String
|
5274
|
+
# @param Nick: 用户昵称
|
5275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5276
|
+
# @type Nick: String
|
5277
|
+
# @param AppId: 用户appid
|
5278
|
+
# @type AppId: String
|
5279
|
+
# @param Uin: 用户uin
|
5280
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5281
|
+
# @type Uin: String
|
5282
|
+
# @param Fix: 修复建议
|
5283
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5284
|
+
# @type Fix: String
|
5285
|
+
# @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
|
5286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5287
|
+
# @type EMGCVulType: Integer
|
5288
|
+
|
5289
|
+
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
|
5290
|
+
|
5291
|
+
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)
|
5292
|
+
@Port = port
|
5293
|
+
@NoHandleCount = nohandlecount
|
5294
|
+
@Level = level
|
5295
|
+
@Component = component
|
5296
|
+
@RecentTime = recenttime
|
5297
|
+
@FirstTime = firsttime
|
5298
|
+
@AffectAssetCount = affectassetcount
|
5299
|
+
@Id = id
|
5300
|
+
@From = from
|
5301
|
+
@Index = index
|
5302
|
+
@VULType = vultype
|
5303
|
+
@VULName = vulname
|
5304
|
+
@CVE = cve
|
5305
|
+
@Describe = describe
|
5306
|
+
@Payload = payload
|
5307
|
+
@AppName = appname
|
5308
|
+
@References = references
|
5309
|
+
@AppVersion = appversion
|
5310
|
+
@VULURL = vulurl
|
5311
|
+
@Nick = nick
|
5312
|
+
@AppId = appid
|
5313
|
+
@Uin = uin
|
5314
|
+
@Fix = fix
|
5315
|
+
@EMGCVulType = emgcvultype
|
5316
|
+
end
|
5317
|
+
|
5318
|
+
def deserialize(params)
|
5319
|
+
@Port = params['Port']
|
5320
|
+
@NoHandleCount = params['NoHandleCount']
|
5321
|
+
@Level = params['Level']
|
5322
|
+
@Component = params['Component']
|
5323
|
+
@RecentTime = params['RecentTime']
|
5324
|
+
@FirstTime = params['FirstTime']
|
5325
|
+
@AffectAssetCount = params['AffectAssetCount']
|
5326
|
+
@Id = params['Id']
|
5327
|
+
@From = params['From']
|
5328
|
+
@Index = params['Index']
|
5329
|
+
@VULType = params['VULType']
|
5330
|
+
@VULName = params['VULName']
|
5331
|
+
@CVE = params['CVE']
|
5332
|
+
@Describe = params['Describe']
|
5333
|
+
@Payload = params['Payload']
|
5334
|
+
@AppName = params['AppName']
|
5335
|
+
@References = params['References']
|
5336
|
+
@AppVersion = params['AppVersion']
|
5337
|
+
@VULURL = params['VULURL']
|
5338
|
+
@Nick = params['Nick']
|
5339
|
+
@AppId = params['AppId']
|
5340
|
+
@Uin = params['Uin']
|
5341
|
+
@Fix = params['Fix']
|
5342
|
+
@EMGCVulType = params['EMGCVulType']
|
5343
|
+
end
|
5344
|
+
end
|
5345
|
+
|
4911
5346
|
# vpc列表数据
|
4912
5347
|
class Vpc < TencentCloud::Common::AbstractModel
|
4913
5348
|
# @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.677
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|