tencentcloud-sdk-csip 3.0.665 → 3.0.666
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 +96 -0
- data/lib/v20221121/models.rb +825 -9
- 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: 188ede8eba3fc4f683b351649a3d0f61c88ea075
|
4
|
+
data.tar.gz: e27b70989f77b41706252f5390770a0c4d9c8f14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda226ea7da16640311de78115161fbf1ae9cd92413c3bb77ae9d4cd5f3789858cb9c72136a3b4e28ba2bc3797e825646b57cad9a035a4bd2c4fa4aa15d8d75c
|
7
|
+
data.tar.gz: d887ae33a4c490264f7551cf3d5ef1a9f3beff17b6509efd6d50a06917b427924c8e4e2eb3b796ce424f41fd239062c11bdcb77b35c9300adefe76d256ebca51
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.666
|
data/lib/v20221121/client.rb
CHANGED
@@ -341,6 +341,30 @@ module TencentCloud
|
|
341
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
342
|
end
|
343
343
|
|
344
|
+
# 获取资产视角的配置风险列表
|
345
|
+
|
346
|
+
# @param request: Request instance for DescribeRiskCenterAssetViewCFGRiskList.
|
347
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewCFGRiskListRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewCFGRiskListResponse`
|
349
|
+
def DescribeRiskCenterAssetViewCFGRiskList(request)
|
350
|
+
body = send_request('DescribeRiskCenterAssetViewCFGRiskList', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DescribeRiskCenterAssetViewCFGRiskListResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
344
368
|
# 获取资产视角的端口风险列表
|
345
369
|
|
346
370
|
# @param request: Request instance for DescribeRiskCenterAssetViewPortRiskList.
|
@@ -389,6 +413,78 @@ module TencentCloud
|
|
389
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
414
|
end
|
391
415
|
|
416
|
+
# 获取资产视角的弱口令风险列表
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribeRiskCenterAssetViewWeakPasswordRiskList.
|
419
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewWeakPasswordRiskListRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewWeakPasswordRiskListResponse`
|
421
|
+
def DescribeRiskCenterAssetViewWeakPasswordRiskList(request)
|
422
|
+
body = send_request('DescribeRiskCenterAssetViewWeakPasswordRiskList', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribeRiskCenterAssetViewWeakPasswordRiskListResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 获取风险服务列表
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeRiskCenterServerRiskList.
|
443
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterServerRiskListRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterServerRiskListResponse`
|
445
|
+
def DescribeRiskCenterServerRiskList(request)
|
446
|
+
body = send_request('DescribeRiskCenterServerRiskList', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeRiskCenterServerRiskListResponse.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
|
+
|
464
|
+
# 获取网站风险列表
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeRiskCenterWebsiteRiskList.
|
467
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterWebsiteRiskListRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterWebsiteRiskListResponse`
|
469
|
+
def DescribeRiskCenterWebsiteRiskList(request)
|
470
|
+
body = send_request('DescribeRiskCenterWebsiteRiskList', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeRiskCenterWebsiteRiskListResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
392
488
|
# 获取扫描报告列表
|
393
489
|
|
394
490
|
# @param request: Request instance for DescribeScanReportList.
|
data/lib/v20221121/models.rb
CHANGED
@@ -381,6 +381,100 @@ module TencentCloud
|
|
381
381
|
end
|
382
382
|
end
|
383
383
|
|
384
|
+
# 资产视角配置风险
|
385
|
+
class AssetViewCFGRisk < TencentCloud::Common::AbstractModel
|
386
|
+
# @param Id: 唯一id
|
387
|
+
# @type Id: String
|
388
|
+
# @param CFGName: 配置名
|
389
|
+
# @type CFGName: String
|
390
|
+
# @param CheckType: 检查类型
|
391
|
+
# @type CheckType: String
|
392
|
+
# @param InstanceId: 实例id
|
393
|
+
# @type InstanceId: String
|
394
|
+
# @param InstanceName: 实例名
|
395
|
+
# @type InstanceName: String
|
396
|
+
# @param InstanceType: 实例类型
|
397
|
+
# @type InstanceType: String
|
398
|
+
# @param AffectAsset: 影响资产
|
399
|
+
# @type AffectAsset: String
|
400
|
+
# @param Level: 风险等级
|
401
|
+
# @type Level: String
|
402
|
+
# @param FirstTime: 首次识别时间
|
403
|
+
# @type FirstTime: String
|
404
|
+
# @param RecentTime: 最近识别时间
|
405
|
+
# @type RecentTime: String
|
406
|
+
# @param From: 来源
|
407
|
+
# @type From: String
|
408
|
+
# @param Status: 状态
|
409
|
+
# @type Status: Integer
|
410
|
+
# @param CFGSTD: -
|
411
|
+
# @type CFGSTD: String
|
412
|
+
# @param CFGDescribe: 配置详情
|
413
|
+
# @type CFGDescribe: String
|
414
|
+
# @param CFGFix: 修复建议
|
415
|
+
# @type CFGFix: String
|
416
|
+
# @param CFGHelpURL: 帮助文档链接
|
417
|
+
# @type CFGHelpURL: String
|
418
|
+
# @param Index: 前端使用索引
|
419
|
+
# @type Index: String
|
420
|
+
# @param AppId: 用户appid
|
421
|
+
# @type AppId: String
|
422
|
+
# @param Nick: 用户昵称
|
423
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
424
|
+
# @type Nick: String
|
425
|
+
# @param Uin: 用户uin
|
426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
427
|
+
# @type Uin: String
|
428
|
+
|
429
|
+
attr_accessor :Id, :CFGName, :CheckType, :InstanceId, :InstanceName, :InstanceType, :AffectAsset, :Level, :FirstTime, :RecentTime, :From, :Status, :CFGSTD, :CFGDescribe, :CFGFix, :CFGHelpURL, :Index, :AppId, :Nick, :Uin
|
430
|
+
|
431
|
+
def initialize(id=nil, cfgname=nil, checktype=nil, instanceid=nil, instancename=nil, instancetype=nil, affectasset=nil, level=nil, firsttime=nil, recenttime=nil, from=nil, status=nil, cfgstd=nil, cfgdescribe=nil, cfgfix=nil, cfghelpurl=nil, index=nil, appid=nil, nick=nil, uin=nil)
|
432
|
+
@Id = id
|
433
|
+
@CFGName = cfgname
|
434
|
+
@CheckType = checktype
|
435
|
+
@InstanceId = instanceid
|
436
|
+
@InstanceName = instancename
|
437
|
+
@InstanceType = instancetype
|
438
|
+
@AffectAsset = affectasset
|
439
|
+
@Level = level
|
440
|
+
@FirstTime = firsttime
|
441
|
+
@RecentTime = recenttime
|
442
|
+
@From = from
|
443
|
+
@Status = status
|
444
|
+
@CFGSTD = cfgstd
|
445
|
+
@CFGDescribe = cfgdescribe
|
446
|
+
@CFGFix = cfgfix
|
447
|
+
@CFGHelpURL = cfghelpurl
|
448
|
+
@Index = index
|
449
|
+
@AppId = appid
|
450
|
+
@Nick = nick
|
451
|
+
@Uin = uin
|
452
|
+
end
|
453
|
+
|
454
|
+
def deserialize(params)
|
455
|
+
@Id = params['Id']
|
456
|
+
@CFGName = params['CFGName']
|
457
|
+
@CheckType = params['CheckType']
|
458
|
+
@InstanceId = params['InstanceId']
|
459
|
+
@InstanceName = params['InstanceName']
|
460
|
+
@InstanceType = params['InstanceType']
|
461
|
+
@AffectAsset = params['AffectAsset']
|
462
|
+
@Level = params['Level']
|
463
|
+
@FirstTime = params['FirstTime']
|
464
|
+
@RecentTime = params['RecentTime']
|
465
|
+
@From = params['From']
|
466
|
+
@Status = params['Status']
|
467
|
+
@CFGSTD = params['CFGSTD']
|
468
|
+
@CFGDescribe = params['CFGDescribe']
|
469
|
+
@CFGFix = params['CFGFix']
|
470
|
+
@CFGHelpURL = params['CFGHelpURL']
|
471
|
+
@Index = params['Index']
|
472
|
+
@AppId = params['AppId']
|
473
|
+
@Nick = params['Nick']
|
474
|
+
@Uin = params['Uin']
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
384
478
|
# 资产视角的端口风险对象
|
385
479
|
class AssetViewPortRisk < TencentCloud::Common::AbstractModel
|
386
480
|
# @param Port: 端口
|
@@ -618,6 +712,104 @@ module TencentCloud
|
|
618
712
|
end
|
619
713
|
end
|
620
714
|
|
715
|
+
# 资产视角的弱口令风险
|
716
|
+
class AssetViewWeakPassRisk < TencentCloud::Common::AbstractModel
|
717
|
+
# @param AffectAsset: 影响资产
|
718
|
+
# @type AffectAsset: String
|
719
|
+
# @param Level: 风险等级
|
720
|
+
# @type Level: String
|
721
|
+
# @param InstanceType: 资产类型
|
722
|
+
# @type InstanceType: String
|
723
|
+
# @param Component: 组件
|
724
|
+
# @type Component: String
|
725
|
+
# @param Service: 服务
|
726
|
+
# @type Service: String
|
727
|
+
# @param RecentTime: 最近识别时间
|
728
|
+
# @type RecentTime: String
|
729
|
+
# @param FirstTime: 首次识别时间
|
730
|
+
# @type FirstTime: String
|
731
|
+
# @param Status: 状态,0未处理、1已处置、2已忽略
|
732
|
+
# @type Status: Integer
|
733
|
+
# @param Id: 资产唯一id
|
734
|
+
# @type Id: String
|
735
|
+
# @param Index: 前端索引
|
736
|
+
# @type Index: String
|
737
|
+
# @param InstanceId: 实例id
|
738
|
+
# @type InstanceId: String
|
739
|
+
# @param InstanceName: 实例名
|
740
|
+
# @type InstanceName: String
|
741
|
+
# @param AppId: 用户appid
|
742
|
+
# @type AppId: String
|
743
|
+
# @param Nick: 用户昵称
|
744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
745
|
+
# @type Nick: String
|
746
|
+
# @param Uin: 用户uin
|
747
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
748
|
+
# @type Uin: String
|
749
|
+
# @param PasswordType: 弱口令类型
|
750
|
+
# @type PasswordType: String
|
751
|
+
# @param From: 来源
|
752
|
+
# @type From: String
|
753
|
+
# @param VULType: 漏洞类型
|
754
|
+
# @type VULType: String
|
755
|
+
# @param VULURL: 漏洞url
|
756
|
+
# @type VULURL: String
|
757
|
+
# @param Fix: 修复建议
|
758
|
+
# @type Fix: String
|
759
|
+
# @param Payload: 负载
|
760
|
+
# @type Payload: String
|
761
|
+
|
762
|
+
attr_accessor :AffectAsset, :Level, :InstanceType, :Component, :Service, :RecentTime, :FirstTime, :Status, :Id, :Index, :InstanceId, :InstanceName, :AppId, :Nick, :Uin, :PasswordType, :From, :VULType, :VULURL, :Fix, :Payload
|
763
|
+
|
764
|
+
def initialize(affectasset=nil, level=nil, instancetype=nil, component=nil, service=nil, recenttime=nil, firsttime=nil, status=nil, id=nil, index=nil, instanceid=nil, instancename=nil, appid=nil, nick=nil, uin=nil, passwordtype=nil, from=nil, vultype=nil, vulurl=nil, fix=nil, payload=nil)
|
765
|
+
@AffectAsset = affectasset
|
766
|
+
@Level = level
|
767
|
+
@InstanceType = instancetype
|
768
|
+
@Component = component
|
769
|
+
@Service = service
|
770
|
+
@RecentTime = recenttime
|
771
|
+
@FirstTime = firsttime
|
772
|
+
@Status = status
|
773
|
+
@Id = id
|
774
|
+
@Index = index
|
775
|
+
@InstanceId = instanceid
|
776
|
+
@InstanceName = instancename
|
777
|
+
@AppId = appid
|
778
|
+
@Nick = nick
|
779
|
+
@Uin = uin
|
780
|
+
@PasswordType = passwordtype
|
781
|
+
@From = from
|
782
|
+
@VULType = vultype
|
783
|
+
@VULURL = vulurl
|
784
|
+
@Fix = fix
|
785
|
+
@Payload = payload
|
786
|
+
end
|
787
|
+
|
788
|
+
def deserialize(params)
|
789
|
+
@AffectAsset = params['AffectAsset']
|
790
|
+
@Level = params['Level']
|
791
|
+
@InstanceType = params['InstanceType']
|
792
|
+
@Component = params['Component']
|
793
|
+
@Service = params['Service']
|
794
|
+
@RecentTime = params['RecentTime']
|
795
|
+
@FirstTime = params['FirstTime']
|
796
|
+
@Status = params['Status']
|
797
|
+
@Id = params['Id']
|
798
|
+
@Index = params['Index']
|
799
|
+
@InstanceId = params['InstanceId']
|
800
|
+
@InstanceName = params['InstanceName']
|
801
|
+
@AppId = params['AppId']
|
802
|
+
@Nick = params['Nick']
|
803
|
+
@Uin = params['Uin']
|
804
|
+
@PasswordType = params['PasswordType']
|
805
|
+
@From = params['From']
|
806
|
+
@VULType = params['VULType']
|
807
|
+
@VULURL = params['VULURL']
|
808
|
+
@Fix = params['Fix']
|
809
|
+
@Payload = params['Payload']
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
621
813
|
# 漏洞详细信息
|
622
814
|
class BugInfoDetail < TencentCloud::Common::AbstractModel
|
623
815
|
# @param Id: 漏洞编号
|
@@ -2275,6 +2467,122 @@ module TencentCloud
|
|
2275
2467
|
end
|
2276
2468
|
end
|
2277
2469
|
|
2470
|
+
# DescribeRiskCenterAssetViewCFGRiskList请求参数结构体
|
2471
|
+
class DescribeRiskCenterAssetViewCFGRiskListRequest < TencentCloud::Common::AbstractModel
|
2472
|
+
# @param Filter: 过滤内容
|
2473
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2474
|
+
|
2475
|
+
attr_accessor :Filter
|
2476
|
+
|
2477
|
+
def initialize(filter=nil)
|
2478
|
+
@Filter = filter
|
2479
|
+
end
|
2480
|
+
|
2481
|
+
def deserialize(params)
|
2482
|
+
unless params['Filter'].nil?
|
2483
|
+
@Filter = Filter.new
|
2484
|
+
@Filter.deserialize(params['Filter'])
|
2485
|
+
end
|
2486
|
+
end
|
2487
|
+
end
|
2488
|
+
|
2489
|
+
# DescribeRiskCenterAssetViewCFGRiskList返回参数结构体
|
2490
|
+
class DescribeRiskCenterAssetViewCFGRiskListResponse < TencentCloud::Common::AbstractModel
|
2491
|
+
# @param TotalCount: 总条数
|
2492
|
+
# @type TotalCount: Integer
|
2493
|
+
# @param Data: 资产视角的配置风险列表
|
2494
|
+
# @type Data: Array
|
2495
|
+
# @param StatusLists: 状态列表
|
2496
|
+
# @type StatusLists: Array
|
2497
|
+
# @param LevelLists: 危险等级列表
|
2498
|
+
# @type LevelLists: Array
|
2499
|
+
# @param CFGNameLists: 配置名列表
|
2500
|
+
# @type CFGNameLists: Array
|
2501
|
+
# @param CheckTypeLists: 检查类型列表
|
2502
|
+
# @type CheckTypeLists: Array
|
2503
|
+
# @param InstanceTypeLists: 资产类型列表
|
2504
|
+
# @type InstanceTypeLists: Array
|
2505
|
+
# @param FromLists: 来源列表
|
2506
|
+
# @type FromLists: Array
|
2507
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2508
|
+
# @type RequestId: String
|
2509
|
+
|
2510
|
+
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :CFGNameLists, :CheckTypeLists, :InstanceTypeLists, :FromLists, :RequestId
|
2511
|
+
|
2512
|
+
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, cfgnamelists=nil, checktypelists=nil, instancetypelists=nil, fromlists=nil, requestid=nil)
|
2513
|
+
@TotalCount = totalcount
|
2514
|
+
@Data = data
|
2515
|
+
@StatusLists = statuslists
|
2516
|
+
@LevelLists = levellists
|
2517
|
+
@CFGNameLists = cfgnamelists
|
2518
|
+
@CheckTypeLists = checktypelists
|
2519
|
+
@InstanceTypeLists = instancetypelists
|
2520
|
+
@FromLists = fromlists
|
2521
|
+
@RequestId = requestid
|
2522
|
+
end
|
2523
|
+
|
2524
|
+
def deserialize(params)
|
2525
|
+
@TotalCount = params['TotalCount']
|
2526
|
+
unless params['Data'].nil?
|
2527
|
+
@Data = []
|
2528
|
+
params['Data'].each do |i|
|
2529
|
+
assetviewcfgrisk_tmp = AssetViewCFGRisk.new
|
2530
|
+
assetviewcfgrisk_tmp.deserialize(i)
|
2531
|
+
@Data << assetviewcfgrisk_tmp
|
2532
|
+
end
|
2533
|
+
end
|
2534
|
+
unless params['StatusLists'].nil?
|
2535
|
+
@StatusLists = []
|
2536
|
+
params['StatusLists'].each do |i|
|
2537
|
+
filterdataobject_tmp = FilterDataObject.new
|
2538
|
+
filterdataobject_tmp.deserialize(i)
|
2539
|
+
@StatusLists << filterdataobject_tmp
|
2540
|
+
end
|
2541
|
+
end
|
2542
|
+
unless params['LevelLists'].nil?
|
2543
|
+
@LevelLists = []
|
2544
|
+
params['LevelLists'].each do |i|
|
2545
|
+
filterdataobject_tmp = FilterDataObject.new
|
2546
|
+
filterdataobject_tmp.deserialize(i)
|
2547
|
+
@LevelLists << filterdataobject_tmp
|
2548
|
+
end
|
2549
|
+
end
|
2550
|
+
unless params['CFGNameLists'].nil?
|
2551
|
+
@CFGNameLists = []
|
2552
|
+
params['CFGNameLists'].each do |i|
|
2553
|
+
filterdataobject_tmp = FilterDataObject.new
|
2554
|
+
filterdataobject_tmp.deserialize(i)
|
2555
|
+
@CFGNameLists << filterdataobject_tmp
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
unless params['CheckTypeLists'].nil?
|
2559
|
+
@CheckTypeLists = []
|
2560
|
+
params['CheckTypeLists'].each do |i|
|
2561
|
+
filterdataobject_tmp = FilterDataObject.new
|
2562
|
+
filterdataobject_tmp.deserialize(i)
|
2563
|
+
@CheckTypeLists << filterdataobject_tmp
|
2564
|
+
end
|
2565
|
+
end
|
2566
|
+
unless params['InstanceTypeLists'].nil?
|
2567
|
+
@InstanceTypeLists = []
|
2568
|
+
params['InstanceTypeLists'].each do |i|
|
2569
|
+
filterdataobject_tmp = FilterDataObject.new
|
2570
|
+
filterdataobject_tmp.deserialize(i)
|
2571
|
+
@InstanceTypeLists << filterdataobject_tmp
|
2572
|
+
end
|
2573
|
+
end
|
2574
|
+
unless params['FromLists'].nil?
|
2575
|
+
@FromLists = []
|
2576
|
+
params['FromLists'].each do |i|
|
2577
|
+
filterdataobject_tmp = FilterDataObject.new
|
2578
|
+
filterdataobject_tmp.deserialize(i)
|
2579
|
+
@FromLists << filterdataobject_tmp
|
2580
|
+
end
|
2581
|
+
end
|
2582
|
+
@RequestId = params['RequestId']
|
2583
|
+
end
|
2584
|
+
end
|
2585
|
+
|
2278
2586
|
# DescribeRiskCenterAssetViewPortRiskList请求参数结构体
|
2279
2587
|
class DescribeRiskCenterAssetViewPortRiskListRequest < TencentCloud::Common::AbstractModel
|
2280
2588
|
# @param Filter: 过滤内容
|
@@ -2485,9 +2793,9 @@ module TencentCloud
|
|
2485
2793
|
end
|
2486
2794
|
end
|
2487
2795
|
|
2488
|
-
#
|
2489
|
-
class
|
2490
|
-
# @param Filter:
|
2796
|
+
# DescribeRiskCenterAssetViewWeakPasswordRiskList请求参数结构体
|
2797
|
+
class DescribeRiskCenterAssetViewWeakPasswordRiskListRequest < TencentCloud::Common::AbstractModel
|
2798
|
+
# @param Filter: 过滤内容
|
2491
2799
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2492
2800
|
|
2493
2801
|
attr_accessor :Filter
|
@@ -2504,15 +2812,275 @@ module TencentCloud
|
|
2504
2812
|
end
|
2505
2813
|
end
|
2506
2814
|
|
2507
|
-
#
|
2508
|
-
class
|
2815
|
+
# DescribeRiskCenterAssetViewWeakPasswordRiskList返回参数结构体
|
2816
|
+
class DescribeRiskCenterAssetViewWeakPasswordRiskListResponse < TencentCloud::Common::AbstractModel
|
2509
2817
|
# @param TotalCount: 总条数
|
2510
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2511
2818
|
# @type TotalCount: Integer
|
2512
|
-
# @param Data:
|
2513
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2819
|
+
# @param Data: 风险列表
|
2514
2820
|
# @type Data: Array
|
2515
|
-
# @param
|
2821
|
+
# @param StatusLists: 状态列表
|
2822
|
+
# @type StatusLists: Array
|
2823
|
+
# @param LevelLists: 危险等级列表
|
2824
|
+
# @type LevelLists: Array
|
2825
|
+
# @param FromLists: 来源列表
|
2826
|
+
# @type FromLists: Array
|
2827
|
+
# @param InstanceTypeLists: 资产类型列表
|
2828
|
+
# @type InstanceTypeLists: Array
|
2829
|
+
# @param PasswordTypeLists: 弱口令类型列表
|
2830
|
+
# @type PasswordTypeLists: Array
|
2831
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2832
|
+
# @type RequestId: String
|
2833
|
+
|
2834
|
+
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :FromLists, :InstanceTypeLists, :PasswordTypeLists, :RequestId
|
2835
|
+
|
2836
|
+
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, fromlists=nil, instancetypelists=nil, passwordtypelists=nil, requestid=nil)
|
2837
|
+
@TotalCount = totalcount
|
2838
|
+
@Data = data
|
2839
|
+
@StatusLists = statuslists
|
2840
|
+
@LevelLists = levellists
|
2841
|
+
@FromLists = fromlists
|
2842
|
+
@InstanceTypeLists = instancetypelists
|
2843
|
+
@PasswordTypeLists = passwordtypelists
|
2844
|
+
@RequestId = requestid
|
2845
|
+
end
|
2846
|
+
|
2847
|
+
def deserialize(params)
|
2848
|
+
@TotalCount = params['TotalCount']
|
2849
|
+
unless params['Data'].nil?
|
2850
|
+
@Data = []
|
2851
|
+
params['Data'].each do |i|
|
2852
|
+
assetviewweakpassrisk_tmp = AssetViewWeakPassRisk.new
|
2853
|
+
assetviewweakpassrisk_tmp.deserialize(i)
|
2854
|
+
@Data << assetviewweakpassrisk_tmp
|
2855
|
+
end
|
2856
|
+
end
|
2857
|
+
unless params['StatusLists'].nil?
|
2858
|
+
@StatusLists = []
|
2859
|
+
params['StatusLists'].each do |i|
|
2860
|
+
filterdataobject_tmp = FilterDataObject.new
|
2861
|
+
filterdataobject_tmp.deserialize(i)
|
2862
|
+
@StatusLists << filterdataobject_tmp
|
2863
|
+
end
|
2864
|
+
end
|
2865
|
+
unless params['LevelLists'].nil?
|
2866
|
+
@LevelLists = []
|
2867
|
+
params['LevelLists'].each do |i|
|
2868
|
+
filterdataobject_tmp = FilterDataObject.new
|
2869
|
+
filterdataobject_tmp.deserialize(i)
|
2870
|
+
@LevelLists << filterdataobject_tmp
|
2871
|
+
end
|
2872
|
+
end
|
2873
|
+
unless params['FromLists'].nil?
|
2874
|
+
@FromLists = []
|
2875
|
+
params['FromLists'].each do |i|
|
2876
|
+
filterdataobject_tmp = FilterDataObject.new
|
2877
|
+
filterdataobject_tmp.deserialize(i)
|
2878
|
+
@FromLists << filterdataobject_tmp
|
2879
|
+
end
|
2880
|
+
end
|
2881
|
+
unless params['InstanceTypeLists'].nil?
|
2882
|
+
@InstanceTypeLists = []
|
2883
|
+
params['InstanceTypeLists'].each do |i|
|
2884
|
+
filterdataobject_tmp = FilterDataObject.new
|
2885
|
+
filterdataobject_tmp.deserialize(i)
|
2886
|
+
@InstanceTypeLists << filterdataobject_tmp
|
2887
|
+
end
|
2888
|
+
end
|
2889
|
+
unless params['PasswordTypeLists'].nil?
|
2890
|
+
@PasswordTypeLists = []
|
2891
|
+
params['PasswordTypeLists'].each do |i|
|
2892
|
+
filterdataobject_tmp = FilterDataObject.new
|
2893
|
+
filterdataobject_tmp.deserialize(i)
|
2894
|
+
@PasswordTypeLists << filterdataobject_tmp
|
2895
|
+
end
|
2896
|
+
end
|
2897
|
+
@RequestId = params['RequestId']
|
2898
|
+
end
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
# DescribeRiskCenterServerRiskList请求参数结构体
|
2902
|
+
class DescribeRiskCenterServerRiskListRequest < TencentCloud::Common::AbstractModel
|
2903
|
+
# @param Filter: 过滤内容
|
2904
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2905
|
+
|
2906
|
+
attr_accessor :Filter
|
2907
|
+
|
2908
|
+
def initialize(filter=nil)
|
2909
|
+
@Filter = filter
|
2910
|
+
end
|
2911
|
+
|
2912
|
+
def deserialize(params)
|
2913
|
+
unless params['Filter'].nil?
|
2914
|
+
@Filter = Filter.new
|
2915
|
+
@Filter.deserialize(params['Filter'])
|
2916
|
+
end
|
2917
|
+
end
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
# DescribeRiskCenterServerRiskList返回参数结构体
|
2921
|
+
class DescribeRiskCenterServerRiskListResponse < TencentCloud::Common::AbstractModel
|
2922
|
+
# @param TotalCount: 总条数
|
2923
|
+
# @type TotalCount: Integer
|
2924
|
+
# @param Data: 风险服务列表
|
2925
|
+
# @type Data: Array
|
2926
|
+
# @param InstanceTypeLists: 资产类型枚举
|
2927
|
+
# @type InstanceTypeLists: Array
|
2928
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2929
|
+
# @type RequestId: String
|
2930
|
+
|
2931
|
+
attr_accessor :TotalCount, :Data, :InstanceTypeLists, :RequestId
|
2932
|
+
|
2933
|
+
def initialize(totalcount=nil, data=nil, instancetypelists=nil, requestid=nil)
|
2934
|
+
@TotalCount = totalcount
|
2935
|
+
@Data = data
|
2936
|
+
@InstanceTypeLists = instancetypelists
|
2937
|
+
@RequestId = requestid
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
def deserialize(params)
|
2941
|
+
@TotalCount = params['TotalCount']
|
2942
|
+
unless params['Data'].nil?
|
2943
|
+
@Data = []
|
2944
|
+
params['Data'].each do |i|
|
2945
|
+
serverrisk_tmp = ServerRisk.new
|
2946
|
+
serverrisk_tmp.deserialize(i)
|
2947
|
+
@Data << serverrisk_tmp
|
2948
|
+
end
|
2949
|
+
end
|
2950
|
+
unless params['InstanceTypeLists'].nil?
|
2951
|
+
@InstanceTypeLists = []
|
2952
|
+
params['InstanceTypeLists'].each do |i|
|
2953
|
+
filterdataobject_tmp = FilterDataObject.new
|
2954
|
+
filterdataobject_tmp.deserialize(i)
|
2955
|
+
@InstanceTypeLists << filterdataobject_tmp
|
2956
|
+
end
|
2957
|
+
end
|
2958
|
+
@RequestId = params['RequestId']
|
2959
|
+
end
|
2960
|
+
end
|
2961
|
+
|
2962
|
+
# DescribeRiskCenterWebsiteRiskList请求参数结构体
|
2963
|
+
class DescribeRiskCenterWebsiteRiskListRequest < TencentCloud::Common::AbstractModel
|
2964
|
+
# @param Filter: 过滤内容
|
2965
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2966
|
+
|
2967
|
+
attr_accessor :Filter
|
2968
|
+
|
2969
|
+
def initialize(filter=nil)
|
2970
|
+
@Filter = filter
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
def deserialize(params)
|
2974
|
+
unless params['Filter'].nil?
|
2975
|
+
@Filter = Filter.new
|
2976
|
+
@Filter.deserialize(params['Filter'])
|
2977
|
+
end
|
2978
|
+
end
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
# DescribeRiskCenterWebsiteRiskList返回参数结构体
|
2982
|
+
class DescribeRiskCenterWebsiteRiskListResponse < TencentCloud::Common::AbstractModel
|
2983
|
+
# @param TotalCount: 总条数
|
2984
|
+
# @type TotalCount: Integer
|
2985
|
+
# @param Data: 资产视角的端口风险列表
|
2986
|
+
# @type Data: Array
|
2987
|
+
# @param StatusLists: 状态列表
|
2988
|
+
# @type StatusLists: Array
|
2989
|
+
# @param LevelLists: 危险等级列表
|
2990
|
+
# @type LevelLists: Array
|
2991
|
+
# @param InstanceTypeLists: 资产类型列表
|
2992
|
+
# @type InstanceTypeLists: Array
|
2993
|
+
# @param DetectEngineLists: 风险类型列表
|
2994
|
+
# @type DetectEngineLists: Array
|
2995
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2996
|
+
# @type RequestId: String
|
2997
|
+
|
2998
|
+
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :InstanceTypeLists, :DetectEngineLists, :RequestId
|
2999
|
+
|
3000
|
+
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, instancetypelists=nil, detectenginelists=nil, requestid=nil)
|
3001
|
+
@TotalCount = totalcount
|
3002
|
+
@Data = data
|
3003
|
+
@StatusLists = statuslists
|
3004
|
+
@LevelLists = levellists
|
3005
|
+
@InstanceTypeLists = instancetypelists
|
3006
|
+
@DetectEngineLists = detectenginelists
|
3007
|
+
@RequestId = requestid
|
3008
|
+
end
|
3009
|
+
|
3010
|
+
def deserialize(params)
|
3011
|
+
@TotalCount = params['TotalCount']
|
3012
|
+
unless params['Data'].nil?
|
3013
|
+
@Data = []
|
3014
|
+
params['Data'].each do |i|
|
3015
|
+
websiterisk_tmp = WebsiteRisk.new
|
3016
|
+
websiterisk_tmp.deserialize(i)
|
3017
|
+
@Data << websiterisk_tmp
|
3018
|
+
end
|
3019
|
+
end
|
3020
|
+
unless params['StatusLists'].nil?
|
3021
|
+
@StatusLists = []
|
3022
|
+
params['StatusLists'].each do |i|
|
3023
|
+
filterdataobject_tmp = FilterDataObject.new
|
3024
|
+
filterdataobject_tmp.deserialize(i)
|
3025
|
+
@StatusLists << filterdataobject_tmp
|
3026
|
+
end
|
3027
|
+
end
|
3028
|
+
unless params['LevelLists'].nil?
|
3029
|
+
@LevelLists = []
|
3030
|
+
params['LevelLists'].each do |i|
|
3031
|
+
filterdataobject_tmp = FilterDataObject.new
|
3032
|
+
filterdataobject_tmp.deserialize(i)
|
3033
|
+
@LevelLists << filterdataobject_tmp
|
3034
|
+
end
|
3035
|
+
end
|
3036
|
+
unless params['InstanceTypeLists'].nil?
|
3037
|
+
@InstanceTypeLists = []
|
3038
|
+
params['InstanceTypeLists'].each do |i|
|
3039
|
+
filterdataobject_tmp = FilterDataObject.new
|
3040
|
+
filterdataobject_tmp.deserialize(i)
|
3041
|
+
@InstanceTypeLists << filterdataobject_tmp
|
3042
|
+
end
|
3043
|
+
end
|
3044
|
+
unless params['DetectEngineLists'].nil?
|
3045
|
+
@DetectEngineLists = []
|
3046
|
+
params['DetectEngineLists'].each do |i|
|
3047
|
+
filterdataobject_tmp = FilterDataObject.new
|
3048
|
+
filterdataobject_tmp.deserialize(i)
|
3049
|
+
@DetectEngineLists << filterdataobject_tmp
|
3050
|
+
end
|
3051
|
+
end
|
3052
|
+
@RequestId = params['RequestId']
|
3053
|
+
end
|
3054
|
+
end
|
3055
|
+
|
3056
|
+
# DescribeScanReportList请求参数结构体
|
3057
|
+
class DescribeScanReportListRequest < TencentCloud::Common::AbstractModel
|
3058
|
+
# @param Filter: 列表过滤条件
|
3059
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3060
|
+
|
3061
|
+
attr_accessor :Filter
|
3062
|
+
|
3063
|
+
def initialize(filter=nil)
|
3064
|
+
@Filter = filter
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
def deserialize(params)
|
3068
|
+
unless params['Filter'].nil?
|
3069
|
+
@Filter = Filter.new
|
3070
|
+
@Filter.deserialize(params['Filter'])
|
3071
|
+
end
|
3072
|
+
end
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
# DescribeScanReportList返回参数结构体
|
3076
|
+
class DescribeScanReportListResponse < TencentCloud::Common::AbstractModel
|
3077
|
+
# @param TotalCount: 总条数
|
3078
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3079
|
+
# @type TotalCount: Integer
|
3080
|
+
# @param Data: 任务日志列表
|
3081
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3082
|
+
# @type Data: Array
|
3083
|
+
# @param UINList: 主账户ID列表
|
2516
3084
|
# @type UINList: Array
|
2517
3085
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2518
3086
|
# @type RequestId: String
|
@@ -3743,6 +4311,164 @@ module TencentCloud
|
|
3743
4311
|
end
|
3744
4312
|
end
|
3745
4313
|
|
4314
|
+
# 服务风险
|
4315
|
+
class ServerRisk < TencentCloud::Common::AbstractModel
|
4316
|
+
# @param ServiceTag: 测绘标签
|
4317
|
+
# @type ServiceTag: String
|
4318
|
+
# @param Port: 端口
|
4319
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4320
|
+
# @type Port: Integer
|
4321
|
+
# @param AffectAsset: 影响资产
|
4322
|
+
# @type AffectAsset: String
|
4323
|
+
# @param InstanceId: 实例id
|
4324
|
+
# @type InstanceId: String
|
4325
|
+
# @param InstanceName: 实例名
|
4326
|
+
# @type InstanceName: String
|
4327
|
+
# @param InstanceType: 资产类型
|
4328
|
+
# @type InstanceType: String
|
4329
|
+
# @param Level: 风险等级
|
4330
|
+
# @type Level: String
|
4331
|
+
# @param Protocol: 协议
|
4332
|
+
# @type Protocol: String
|
4333
|
+
# @param Component: 组件
|
4334
|
+
# @type Component: String
|
4335
|
+
# @param Service: 服务
|
4336
|
+
# @type Service: String
|
4337
|
+
# @param RecentTime: 最近识别时间
|
4338
|
+
# @type RecentTime: String
|
4339
|
+
# @param FirstTime: 首次识别时间
|
4340
|
+
# @type FirstTime: String
|
4341
|
+
# @param RiskDetails: 风险详情
|
4342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4343
|
+
# @type RiskDetails: String
|
4344
|
+
# @param Suggestion: 处置建议
|
4345
|
+
# @type Suggestion: String
|
4346
|
+
# @param Status: 状态,0未处理、1已处置、2已忽略
|
4347
|
+
# @type Status: Integer
|
4348
|
+
# @param Id: 资产唯一id
|
4349
|
+
# @type Id: String
|
4350
|
+
# @param AppId: 用户appid
|
4351
|
+
# @type AppId: String
|
4352
|
+
# @param Nick: 用户昵称
|
4353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4354
|
+
# @type Nick: String
|
4355
|
+
# @param Uin: 用户uin
|
4356
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4357
|
+
# @type Uin: String
|
4358
|
+
# @param ServiceSnapshot: 服务快照
|
4359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4360
|
+
# @type ServiceSnapshot: String
|
4361
|
+
# @param Url: 服务访问的url
|
4362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4363
|
+
# @type Url: String
|
4364
|
+
# @param Index: 列表索引值
|
4365
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4366
|
+
# @type Index: String
|
4367
|
+
# @param RiskList: 风险列表
|
4368
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4369
|
+
# @type RiskList: Array
|
4370
|
+
# @param SuggestionList: 建议列表
|
4371
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4372
|
+
# @type SuggestionList: Array
|
4373
|
+
# @param StatusCode: HTTP响应状态码
|
4374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4375
|
+
# @type StatusCode: String
|
4376
|
+
|
4377
|
+
attr_accessor :ServiceTag, :Port, :AffectAsset, :InstanceId, :InstanceName, :InstanceType, :Level, :Protocol, :Component, :Service, :RecentTime, :FirstTime, :RiskDetails, :Suggestion, :Status, :Id, :AppId, :Nick, :Uin, :ServiceSnapshot, :Url, :Index, :RiskList, :SuggestionList, :StatusCode
|
4378
|
+
|
4379
|
+
def initialize(servicetag=nil, port=nil, affectasset=nil, instanceid=nil, instancename=nil, instancetype=nil, level=nil, protocol=nil, component=nil, service=nil, recenttime=nil, firsttime=nil, riskdetails=nil, suggestion=nil, status=nil, id=nil, appid=nil, nick=nil, uin=nil, servicesnapshot=nil, url=nil, index=nil, risklist=nil, suggestionlist=nil, statuscode=nil)
|
4380
|
+
@ServiceTag = servicetag
|
4381
|
+
@Port = port
|
4382
|
+
@AffectAsset = affectasset
|
4383
|
+
@InstanceId = instanceid
|
4384
|
+
@InstanceName = instancename
|
4385
|
+
@InstanceType = instancetype
|
4386
|
+
@Level = level
|
4387
|
+
@Protocol = protocol
|
4388
|
+
@Component = component
|
4389
|
+
@Service = service
|
4390
|
+
@RecentTime = recenttime
|
4391
|
+
@FirstTime = firsttime
|
4392
|
+
@RiskDetails = riskdetails
|
4393
|
+
@Suggestion = suggestion
|
4394
|
+
@Status = status
|
4395
|
+
@Id = id
|
4396
|
+
@AppId = appid
|
4397
|
+
@Nick = nick
|
4398
|
+
@Uin = uin
|
4399
|
+
@ServiceSnapshot = servicesnapshot
|
4400
|
+
@Url = url
|
4401
|
+
@Index = index
|
4402
|
+
@RiskList = risklist
|
4403
|
+
@SuggestionList = suggestionlist
|
4404
|
+
@StatusCode = statuscode
|
4405
|
+
end
|
4406
|
+
|
4407
|
+
def deserialize(params)
|
4408
|
+
@ServiceTag = params['ServiceTag']
|
4409
|
+
@Port = params['Port']
|
4410
|
+
@AffectAsset = params['AffectAsset']
|
4411
|
+
@InstanceId = params['InstanceId']
|
4412
|
+
@InstanceName = params['InstanceName']
|
4413
|
+
@InstanceType = params['InstanceType']
|
4414
|
+
@Level = params['Level']
|
4415
|
+
@Protocol = params['Protocol']
|
4416
|
+
@Component = params['Component']
|
4417
|
+
@Service = params['Service']
|
4418
|
+
@RecentTime = params['RecentTime']
|
4419
|
+
@FirstTime = params['FirstTime']
|
4420
|
+
@RiskDetails = params['RiskDetails']
|
4421
|
+
@Suggestion = params['Suggestion']
|
4422
|
+
@Status = params['Status']
|
4423
|
+
@Id = params['Id']
|
4424
|
+
@AppId = params['AppId']
|
4425
|
+
@Nick = params['Nick']
|
4426
|
+
@Uin = params['Uin']
|
4427
|
+
@ServiceSnapshot = params['ServiceSnapshot']
|
4428
|
+
@Url = params['Url']
|
4429
|
+
@Index = params['Index']
|
4430
|
+
unless params['RiskList'].nil?
|
4431
|
+
@RiskList = []
|
4432
|
+
params['RiskList'].each do |i|
|
4433
|
+
serverrisksuggestion_tmp = ServerRiskSuggestion.new
|
4434
|
+
serverrisksuggestion_tmp.deserialize(i)
|
4435
|
+
@RiskList << serverrisksuggestion_tmp
|
4436
|
+
end
|
4437
|
+
end
|
4438
|
+
unless params['SuggestionList'].nil?
|
4439
|
+
@SuggestionList = []
|
4440
|
+
params['SuggestionList'].each do |i|
|
4441
|
+
serverrisksuggestion_tmp = ServerRiskSuggestion.new
|
4442
|
+
serverrisksuggestion_tmp.deserialize(i)
|
4443
|
+
@SuggestionList << serverrisksuggestion_tmp
|
4444
|
+
end
|
4445
|
+
end
|
4446
|
+
@StatusCode = params['StatusCode']
|
4447
|
+
end
|
4448
|
+
end
|
4449
|
+
|
4450
|
+
# 风险详情
|
4451
|
+
class ServerRiskSuggestion < TencentCloud::Common::AbstractModel
|
4452
|
+
# @param Title: 标题
|
4453
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4454
|
+
# @type Title: String
|
4455
|
+
# @param Body: 详情
|
4456
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4457
|
+
# @type Body: String
|
4458
|
+
|
4459
|
+
attr_accessor :Title, :Body
|
4460
|
+
|
4461
|
+
def initialize(title=nil, body=nil)
|
4462
|
+
@Title = title
|
4463
|
+
@Body = body
|
4464
|
+
end
|
4465
|
+
|
4466
|
+
def deserialize(params)
|
4467
|
+
@Title = params['Title']
|
4468
|
+
@Body = params['Body']
|
4469
|
+
end
|
4470
|
+
end
|
4471
|
+
|
3746
4472
|
# StopRiskCenterTask请求参数结构体
|
3747
4473
|
class StopRiskCenterTaskRequest < TencentCloud::Common::AbstractModel
|
3748
4474
|
# @param TaskIdList: 任务id 列表
|
@@ -4251,6 +4977,96 @@ module TencentCloud
|
|
4251
4977
|
end
|
4252
4978
|
end
|
4253
4979
|
|
4980
|
+
# 网站风险对象
|
4981
|
+
class WebsiteRisk < TencentCloud::Common::AbstractModel
|
4982
|
+
# @param AffectAsset: 影响资产
|
4983
|
+
# @type AffectAsset: String
|
4984
|
+
# @param Level: 风险等级
|
4985
|
+
# @type Level: String
|
4986
|
+
# @param RecentTime: 最近识别时间
|
4987
|
+
# @type RecentTime: String
|
4988
|
+
# @param FirstTime: 首次识别时间
|
4989
|
+
# @type FirstTime: String
|
4990
|
+
# @param Status: 状态,0未处理、1已处置、2已忽略
|
4991
|
+
# @type Status: Integer
|
4992
|
+
# @param Id: 资产唯一id
|
4993
|
+
# @type Id: String
|
4994
|
+
# @param Index: 前端索引
|
4995
|
+
# @type Index: String
|
4996
|
+
# @param InstanceId: 实例id
|
4997
|
+
# @type InstanceId: String
|
4998
|
+
# @param InstanceName: 实例名
|
4999
|
+
# @type InstanceName: String
|
5000
|
+
# @param AppId: 用户appid
|
5001
|
+
# @type AppId: String
|
5002
|
+
# @param Nick: 用户昵称
|
5003
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5004
|
+
# @type Nick: String
|
5005
|
+
# @param Uin: 用户uin
|
5006
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5007
|
+
# @type Uin: String
|
5008
|
+
# @param URL: 风险链接
|
5009
|
+
# @type URL: String
|
5010
|
+
# @param URLPath: 风险文件地址
|
5011
|
+
# @type URLPath: String
|
5012
|
+
# @param InstanceType: 实例类型
|
5013
|
+
# @type InstanceType: String
|
5014
|
+
# @param DetectEngine: 类型
|
5015
|
+
# @type DetectEngine: String
|
5016
|
+
# @param ResultDescribe: 结果描述
|
5017
|
+
# @type ResultDescribe: String
|
5018
|
+
# @param SourceURL: 源地址url
|
5019
|
+
# @type SourceURL: String
|
5020
|
+
# @param SourceURLPath: 源文件地址
|
5021
|
+
# @type SourceURLPath: String
|
5022
|
+
|
5023
|
+
attr_accessor :AffectAsset, :Level, :RecentTime, :FirstTime, :Status, :Id, :Index, :InstanceId, :InstanceName, :AppId, :Nick, :Uin, :URL, :URLPath, :InstanceType, :DetectEngine, :ResultDescribe, :SourceURL, :SourceURLPath
|
5024
|
+
|
5025
|
+
def initialize(affectasset=nil, level=nil, recenttime=nil, firsttime=nil, status=nil, id=nil, index=nil, instanceid=nil, instancename=nil, appid=nil, nick=nil, uin=nil, url=nil, urlpath=nil, instancetype=nil, detectengine=nil, resultdescribe=nil, sourceurl=nil, sourceurlpath=nil)
|
5026
|
+
@AffectAsset = affectasset
|
5027
|
+
@Level = level
|
5028
|
+
@RecentTime = recenttime
|
5029
|
+
@FirstTime = firsttime
|
5030
|
+
@Status = status
|
5031
|
+
@Id = id
|
5032
|
+
@Index = index
|
5033
|
+
@InstanceId = instanceid
|
5034
|
+
@InstanceName = instancename
|
5035
|
+
@AppId = appid
|
5036
|
+
@Nick = nick
|
5037
|
+
@Uin = uin
|
5038
|
+
@URL = url
|
5039
|
+
@URLPath = urlpath
|
5040
|
+
@InstanceType = instancetype
|
5041
|
+
@DetectEngine = detectengine
|
5042
|
+
@ResultDescribe = resultdescribe
|
5043
|
+
@SourceURL = sourceurl
|
5044
|
+
@SourceURLPath = sourceurlpath
|
5045
|
+
end
|
5046
|
+
|
5047
|
+
def deserialize(params)
|
5048
|
+
@AffectAsset = params['AffectAsset']
|
5049
|
+
@Level = params['Level']
|
5050
|
+
@RecentTime = params['RecentTime']
|
5051
|
+
@FirstTime = params['FirstTime']
|
5052
|
+
@Status = params['Status']
|
5053
|
+
@Id = params['Id']
|
5054
|
+
@Index = params['Index']
|
5055
|
+
@InstanceId = params['InstanceId']
|
5056
|
+
@InstanceName = params['InstanceName']
|
5057
|
+
@AppId = params['AppId']
|
5058
|
+
@Nick = params['Nick']
|
5059
|
+
@Uin = params['Uin']
|
5060
|
+
@URL = params['URL']
|
5061
|
+
@URLPath = params['URLPath']
|
5062
|
+
@InstanceType = params['InstanceType']
|
5063
|
+
@DetectEngine = params['DetectEngine']
|
5064
|
+
@ResultDescribe = params['ResultDescribe']
|
5065
|
+
@SourceURL = params['SourceURL']
|
5066
|
+
@SourceURLPath = params['SourceURLPath']
|
5067
|
+
end
|
5068
|
+
end
|
5069
|
+
|
4254
5070
|
# 过滤条件
|
4255
5071
|
class WhereFilter < TencentCloud::Common::AbstractModel
|
4256
5072
|
# @param Name: 过滤的项
|
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.666
|
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-09-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|