tencentcloud-sdk-csip 3.0.664 → 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 +168 -0
- data/lib/v20221121/models.rb +1031 -50
- metadata +2 -2
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: 漏洞编号
|
@@ -1476,6 +1668,96 @@ module TencentCloud
|
|
1476
1668
|
end
|
1477
1669
|
end
|
1478
1670
|
|
1671
|
+
# DeleteDomainAndIp请求参数结构体
|
1672
|
+
class DeleteDomainAndIpRequest < TencentCloud::Common::AbstractModel
|
1673
|
+
# @param Content: -
|
1674
|
+
# @type Content: Array
|
1675
|
+
# @param RetainPath: 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留
|
1676
|
+
# @type RetainPath: Integer
|
1677
|
+
# @param IgnoreAsset: 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略
|
1678
|
+
# @type IgnoreAsset: Integer
|
1679
|
+
|
1680
|
+
attr_accessor :Content, :RetainPath, :IgnoreAsset
|
1681
|
+
|
1682
|
+
def initialize(content=nil, retainpath=nil, ignoreasset=nil)
|
1683
|
+
@Content = content
|
1684
|
+
@RetainPath = retainpath
|
1685
|
+
@IgnoreAsset = ignoreasset
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
def deserialize(params)
|
1689
|
+
unless params['Content'].nil?
|
1690
|
+
@Content = []
|
1691
|
+
params['Content'].each do |i|
|
1692
|
+
publicipdomainlistkey_tmp = PublicIpDomainListKey.new
|
1693
|
+
publicipdomainlistkey_tmp.deserialize(i)
|
1694
|
+
@Content << publicipdomainlistkey_tmp
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
@RetainPath = params['RetainPath']
|
1698
|
+
@IgnoreAsset = params['IgnoreAsset']
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
# DeleteDomainAndIp返回参数结构体
|
1703
|
+
class DeleteDomainAndIpResponse < TencentCloud::Common::AbstractModel
|
1704
|
+
# @param Data: 删除的资产数量
|
1705
|
+
# @type Data: Integer
|
1706
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1707
|
+
# @type RequestId: String
|
1708
|
+
|
1709
|
+
attr_accessor :Data, :RequestId
|
1710
|
+
|
1711
|
+
def initialize(data=nil, requestid=nil)
|
1712
|
+
@Data = data
|
1713
|
+
@RequestId = requestid
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
def deserialize(params)
|
1717
|
+
@Data = params['Data']
|
1718
|
+
@RequestId = params['RequestId']
|
1719
|
+
end
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# DeleteRiskScanTask请求参数结构体
|
1723
|
+
class DeleteRiskScanTaskRequest < TencentCloud::Common::AbstractModel
|
1724
|
+
# @param TaskIdList: 任务id 列表
|
1725
|
+
# @type TaskIdList: Array
|
1726
|
+
|
1727
|
+
attr_accessor :TaskIdList
|
1728
|
+
|
1729
|
+
def initialize(taskidlist=nil)
|
1730
|
+
@TaskIdList = taskidlist
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
def deserialize(params)
|
1734
|
+
unless params['TaskIdList'].nil?
|
1735
|
+
@TaskIdList = []
|
1736
|
+
params['TaskIdList'].each do |i|
|
1737
|
+
taskidlistkey_tmp = TaskIdListKey.new
|
1738
|
+
taskidlistkey_tmp.deserialize(i)
|
1739
|
+
@TaskIdList << taskidlistkey_tmp
|
1740
|
+
end
|
1741
|
+
end
|
1742
|
+
end
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
# DeleteRiskScanTask返回参数结构体
|
1746
|
+
class DeleteRiskScanTaskResponse < TencentCloud::Common::AbstractModel
|
1747
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1748
|
+
# @type RequestId: String
|
1749
|
+
|
1750
|
+
attr_accessor :RequestId
|
1751
|
+
|
1752
|
+
def initialize(requestid=nil)
|
1753
|
+
@RequestId = requestid
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
def deserialize(params)
|
1757
|
+
@RequestId = params['RequestId']
|
1758
|
+
end
|
1759
|
+
end
|
1760
|
+
|
1479
1761
|
# DescribeCVMAssetInfo请求参数结构体
|
1480
1762
|
class DescribeCVMAssetInfoRequest < TencentCloud::Common::AbstractModel
|
1481
1763
|
# @param AssetId: -
|
@@ -2185,8 +2467,8 @@ module TencentCloud
|
|
2185
2467
|
end
|
2186
2468
|
end
|
2187
2469
|
|
2188
|
-
#
|
2189
|
-
class
|
2470
|
+
# DescribeRiskCenterAssetViewCFGRiskList请求参数结构体
|
2471
|
+
class DescribeRiskCenterAssetViewCFGRiskListRequest < TencentCloud::Common::AbstractModel
|
2190
2472
|
# @param Filter: 过滤内容
|
2191
2473
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2192
2474
|
|
@@ -2204,8 +2486,8 @@ module TencentCloud
|
|
2204
2486
|
end
|
2205
2487
|
end
|
2206
2488
|
|
2207
|
-
#
|
2208
|
-
class
|
2489
|
+
# DescribeRiskCenterAssetViewCFGRiskList返回参数结构体
|
2490
|
+
class DescribeRiskCenterAssetViewCFGRiskListResponse < TencentCloud::Common::AbstractModel
|
2209
2491
|
# @param TotalCount: 总条数
|
2210
2492
|
# @type TotalCount: Integer
|
2211
2493
|
# @param Data: 资产视角的配置风险列表
|
@@ -2214,8 +2496,10 @@ module TencentCloud
|
|
2214
2496
|
# @type StatusLists: Array
|
2215
2497
|
# @param LevelLists: 危险等级列表
|
2216
2498
|
# @type LevelLists: Array
|
2217
|
-
# @param
|
2218
|
-
# @type
|
2499
|
+
# @param CFGNameLists: 配置名列表
|
2500
|
+
# @type CFGNameLists: Array
|
2501
|
+
# @param CheckTypeLists: 检查类型列表
|
2502
|
+
# @type CheckTypeLists: Array
|
2219
2503
|
# @param InstanceTypeLists: 资产类型列表
|
2220
2504
|
# @type InstanceTypeLists: Array
|
2221
2505
|
# @param FromLists: 来源列表
|
@@ -2223,14 +2507,15 @@ module TencentCloud
|
|
2223
2507
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2224
2508
|
# @type RequestId: String
|
2225
2509
|
|
2226
|
-
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :
|
2510
|
+
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :CFGNameLists, :CheckTypeLists, :InstanceTypeLists, :FromLists, :RequestId
|
2227
2511
|
|
2228
|
-
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil,
|
2512
|
+
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, cfgnamelists=nil, checktypelists=nil, instancetypelists=nil, fromlists=nil, requestid=nil)
|
2229
2513
|
@TotalCount = totalcount
|
2230
2514
|
@Data = data
|
2231
2515
|
@StatusLists = statuslists
|
2232
2516
|
@LevelLists = levellists
|
2233
|
-
@
|
2517
|
+
@CFGNameLists = cfgnamelists
|
2518
|
+
@CheckTypeLists = checktypelists
|
2234
2519
|
@InstanceTypeLists = instancetypelists
|
2235
2520
|
@FromLists = fromlists
|
2236
2521
|
@RequestId = requestid
|
@@ -2241,9 +2526,9 @@ module TencentCloud
|
|
2241
2526
|
unless params['Data'].nil?
|
2242
2527
|
@Data = []
|
2243
2528
|
params['Data'].each do |i|
|
2244
|
-
|
2245
|
-
|
2246
|
-
@Data <<
|
2529
|
+
assetviewcfgrisk_tmp = AssetViewCFGRisk.new
|
2530
|
+
assetviewcfgrisk_tmp.deserialize(i)
|
2531
|
+
@Data << assetviewcfgrisk_tmp
|
2247
2532
|
end
|
2248
2533
|
end
|
2249
2534
|
unless params['StatusLists'].nil?
|
@@ -2262,12 +2547,20 @@ module TencentCloud
|
|
2262
2547
|
@LevelLists << filterdataobject_tmp
|
2263
2548
|
end
|
2264
2549
|
end
|
2265
|
-
unless params['
|
2266
|
-
@
|
2267
|
-
params['
|
2550
|
+
unless params['CFGNameLists'].nil?
|
2551
|
+
@CFGNameLists = []
|
2552
|
+
params['CFGNameLists'].each do |i|
|
2268
2553
|
filterdataobject_tmp = FilterDataObject.new
|
2269
2554
|
filterdataobject_tmp.deserialize(i)
|
2270
|
-
@
|
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
|
2271
2564
|
end
|
2272
2565
|
end
|
2273
2566
|
unless params['InstanceTypeLists'].nil?
|
@@ -2290,8 +2583,8 @@ module TencentCloud
|
|
2290
2583
|
end
|
2291
2584
|
end
|
2292
2585
|
|
2293
|
-
#
|
2294
|
-
class
|
2586
|
+
# DescribeRiskCenterAssetViewPortRiskList请求参数结构体
|
2587
|
+
class DescribeRiskCenterAssetViewPortRiskListRequest < TencentCloud::Common::AbstractModel
|
2295
2588
|
# @param Filter: 过滤内容
|
2296
2589
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2297
2590
|
|
@@ -2309,35 +2602,35 @@ module TencentCloud
|
|
2309
2602
|
end
|
2310
2603
|
end
|
2311
2604
|
|
2312
|
-
#
|
2313
|
-
class
|
2605
|
+
# DescribeRiskCenterAssetViewPortRiskList返回参数结构体
|
2606
|
+
class DescribeRiskCenterAssetViewPortRiskListResponse < TencentCloud::Common::AbstractModel
|
2314
2607
|
# @param TotalCount: 总条数
|
2315
2608
|
# @type TotalCount: Integer
|
2316
|
-
# @param Data:
|
2609
|
+
# @param Data: 资产视角的配置风险列表
|
2317
2610
|
# @type Data: Array
|
2318
2611
|
# @param StatusLists: 状态列表
|
2319
2612
|
# @type StatusLists: Array
|
2320
2613
|
# @param LevelLists: 危险等级列表
|
2321
2614
|
# @type LevelLists: Array
|
2322
|
-
# @param
|
2323
|
-
# @type
|
2324
|
-
# @param VULTypeLists: 漏洞类型列表
|
2325
|
-
# @type VULTypeLists: Array
|
2615
|
+
# @param SuggestionLists: 建议列表
|
2616
|
+
# @type SuggestionLists: Array
|
2326
2617
|
# @param InstanceTypeLists: 资产类型列表
|
2327
2618
|
# @type InstanceTypeLists: Array
|
2619
|
+
# @param FromLists: 来源列表
|
2620
|
+
# @type FromLists: Array
|
2328
2621
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2329
2622
|
# @type RequestId: String
|
2330
2623
|
|
2331
|
-
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :
|
2624
|
+
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :SuggestionLists, :InstanceTypeLists, :FromLists, :RequestId
|
2332
2625
|
|
2333
|
-
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil,
|
2626
|
+
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, suggestionlists=nil, instancetypelists=nil, fromlists=nil, requestid=nil)
|
2334
2627
|
@TotalCount = totalcount
|
2335
2628
|
@Data = data
|
2336
2629
|
@StatusLists = statuslists
|
2337
2630
|
@LevelLists = levellists
|
2338
|
-
@
|
2339
|
-
@VULTypeLists = vultypelists
|
2631
|
+
@SuggestionLists = suggestionlists
|
2340
2632
|
@InstanceTypeLists = instancetypelists
|
2633
|
+
@FromLists = fromlists
|
2341
2634
|
@RequestId = requestid
|
2342
2635
|
end
|
2343
2636
|
|
@@ -2346,11 +2639,384 @@ module TencentCloud
|
|
2346
2639
|
unless params['Data'].nil?
|
2347
2640
|
@Data = []
|
2348
2641
|
params['Data'].each do |i|
|
2349
|
-
|
2350
|
-
|
2351
|
-
@Data <<
|
2352
|
-
end
|
2353
|
-
end
|
2642
|
+
assetviewportrisk_tmp = AssetViewPortRisk.new
|
2643
|
+
assetviewportrisk_tmp.deserialize(i)
|
2644
|
+
@Data << assetviewportrisk_tmp
|
2645
|
+
end
|
2646
|
+
end
|
2647
|
+
unless params['StatusLists'].nil?
|
2648
|
+
@StatusLists = []
|
2649
|
+
params['StatusLists'].each do |i|
|
2650
|
+
filterdataobject_tmp = FilterDataObject.new
|
2651
|
+
filterdataobject_tmp.deserialize(i)
|
2652
|
+
@StatusLists << filterdataobject_tmp
|
2653
|
+
end
|
2654
|
+
end
|
2655
|
+
unless params['LevelLists'].nil?
|
2656
|
+
@LevelLists = []
|
2657
|
+
params['LevelLists'].each do |i|
|
2658
|
+
filterdataobject_tmp = FilterDataObject.new
|
2659
|
+
filterdataobject_tmp.deserialize(i)
|
2660
|
+
@LevelLists << filterdataobject_tmp
|
2661
|
+
end
|
2662
|
+
end
|
2663
|
+
unless params['SuggestionLists'].nil?
|
2664
|
+
@SuggestionLists = []
|
2665
|
+
params['SuggestionLists'].each do |i|
|
2666
|
+
filterdataobject_tmp = FilterDataObject.new
|
2667
|
+
filterdataobject_tmp.deserialize(i)
|
2668
|
+
@SuggestionLists << filterdataobject_tmp
|
2669
|
+
end
|
2670
|
+
end
|
2671
|
+
unless params['InstanceTypeLists'].nil?
|
2672
|
+
@InstanceTypeLists = []
|
2673
|
+
params['InstanceTypeLists'].each do |i|
|
2674
|
+
filterdataobject_tmp = FilterDataObject.new
|
2675
|
+
filterdataobject_tmp.deserialize(i)
|
2676
|
+
@InstanceTypeLists << filterdataobject_tmp
|
2677
|
+
end
|
2678
|
+
end
|
2679
|
+
unless params['FromLists'].nil?
|
2680
|
+
@FromLists = []
|
2681
|
+
params['FromLists'].each do |i|
|
2682
|
+
filterdataobject_tmp = FilterDataObject.new
|
2683
|
+
filterdataobject_tmp.deserialize(i)
|
2684
|
+
@FromLists << filterdataobject_tmp
|
2685
|
+
end
|
2686
|
+
end
|
2687
|
+
@RequestId = params['RequestId']
|
2688
|
+
end
|
2689
|
+
end
|
2690
|
+
|
2691
|
+
# DescribeRiskCenterAssetViewVULRiskList请求参数结构体
|
2692
|
+
class DescribeRiskCenterAssetViewVULRiskListRequest < TencentCloud::Common::AbstractModel
|
2693
|
+
# @param Filter: 过滤内容
|
2694
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2695
|
+
|
2696
|
+
attr_accessor :Filter
|
2697
|
+
|
2698
|
+
def initialize(filter=nil)
|
2699
|
+
@Filter = filter
|
2700
|
+
end
|
2701
|
+
|
2702
|
+
def deserialize(params)
|
2703
|
+
unless params['Filter'].nil?
|
2704
|
+
@Filter = Filter.new
|
2705
|
+
@Filter.deserialize(params['Filter'])
|
2706
|
+
end
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
|
2710
|
+
# DescribeRiskCenterAssetViewVULRiskList返回参数结构体
|
2711
|
+
class DescribeRiskCenterAssetViewVULRiskListResponse < TencentCloud::Common::AbstractModel
|
2712
|
+
# @param TotalCount: 总条数
|
2713
|
+
# @type TotalCount: Integer
|
2714
|
+
# @param Data: 资产视角的漏洞风险列表
|
2715
|
+
# @type Data: Array
|
2716
|
+
# @param StatusLists: 状态列表
|
2717
|
+
# @type StatusLists: Array
|
2718
|
+
# @param LevelLists: 危险等级列表
|
2719
|
+
# @type LevelLists: Array
|
2720
|
+
# @param FromLists: 来源列表
|
2721
|
+
# @type FromLists: Array
|
2722
|
+
# @param VULTypeLists: 漏洞类型列表
|
2723
|
+
# @type VULTypeLists: Array
|
2724
|
+
# @param InstanceTypeLists: 资产类型列表
|
2725
|
+
# @type InstanceTypeLists: Array
|
2726
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2727
|
+
# @type RequestId: String
|
2728
|
+
|
2729
|
+
attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :FromLists, :VULTypeLists, :InstanceTypeLists, :RequestId
|
2730
|
+
|
2731
|
+
def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, fromlists=nil, vultypelists=nil, instancetypelists=nil, requestid=nil)
|
2732
|
+
@TotalCount = totalcount
|
2733
|
+
@Data = data
|
2734
|
+
@StatusLists = statuslists
|
2735
|
+
@LevelLists = levellists
|
2736
|
+
@FromLists = fromlists
|
2737
|
+
@VULTypeLists = vultypelists
|
2738
|
+
@InstanceTypeLists = instancetypelists
|
2739
|
+
@RequestId = requestid
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
def deserialize(params)
|
2743
|
+
@TotalCount = params['TotalCount']
|
2744
|
+
unless params['Data'].nil?
|
2745
|
+
@Data = []
|
2746
|
+
params['Data'].each do |i|
|
2747
|
+
assetviewvulrisk_tmp = AssetViewVULRisk.new
|
2748
|
+
assetviewvulrisk_tmp.deserialize(i)
|
2749
|
+
@Data << assetviewvulrisk_tmp
|
2750
|
+
end
|
2751
|
+
end
|
2752
|
+
unless params['StatusLists'].nil?
|
2753
|
+
@StatusLists = []
|
2754
|
+
params['StatusLists'].each do |i|
|
2755
|
+
filterdataobject_tmp = FilterDataObject.new
|
2756
|
+
filterdataobject_tmp.deserialize(i)
|
2757
|
+
@StatusLists << filterdataobject_tmp
|
2758
|
+
end
|
2759
|
+
end
|
2760
|
+
unless params['LevelLists'].nil?
|
2761
|
+
@LevelLists = []
|
2762
|
+
params['LevelLists'].each do |i|
|
2763
|
+
filterdataobject_tmp = FilterDataObject.new
|
2764
|
+
filterdataobject_tmp.deserialize(i)
|
2765
|
+
@LevelLists << filterdataobject_tmp
|
2766
|
+
end
|
2767
|
+
end
|
2768
|
+
unless params['FromLists'].nil?
|
2769
|
+
@FromLists = []
|
2770
|
+
params['FromLists'].each do |i|
|
2771
|
+
filterdataobject_tmp = FilterDataObject.new
|
2772
|
+
filterdataobject_tmp.deserialize(i)
|
2773
|
+
@FromLists << filterdataobject_tmp
|
2774
|
+
end
|
2775
|
+
end
|
2776
|
+
unless params['VULTypeLists'].nil?
|
2777
|
+
@VULTypeLists = []
|
2778
|
+
params['VULTypeLists'].each do |i|
|
2779
|
+
filterdataobject_tmp = FilterDataObject.new
|
2780
|
+
filterdataobject_tmp.deserialize(i)
|
2781
|
+
@VULTypeLists << filterdataobject_tmp
|
2782
|
+
end
|
2783
|
+
end
|
2784
|
+
unless params['InstanceTypeLists'].nil?
|
2785
|
+
@InstanceTypeLists = []
|
2786
|
+
params['InstanceTypeLists'].each do |i|
|
2787
|
+
filterdataobject_tmp = FilterDataObject.new
|
2788
|
+
filterdataobject_tmp.deserialize(i)
|
2789
|
+
@InstanceTypeLists << filterdataobject_tmp
|
2790
|
+
end
|
2791
|
+
end
|
2792
|
+
@RequestId = params['RequestId']
|
2793
|
+
end
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
# DescribeRiskCenterAssetViewWeakPasswordRiskList请求参数结构体
|
2797
|
+
class DescribeRiskCenterAssetViewWeakPasswordRiskListRequest < TencentCloud::Common::AbstractModel
|
2798
|
+
# @param Filter: 过滤内容
|
2799
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2800
|
+
|
2801
|
+
attr_accessor :Filter
|
2802
|
+
|
2803
|
+
def initialize(filter=nil)
|
2804
|
+
@Filter = filter
|
2805
|
+
end
|
2806
|
+
|
2807
|
+
def deserialize(params)
|
2808
|
+
unless params['Filter'].nil?
|
2809
|
+
@Filter = Filter.new
|
2810
|
+
@Filter.deserialize(params['Filter'])
|
2811
|
+
end
|
2812
|
+
end
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
# DescribeRiskCenterAssetViewWeakPasswordRiskList返回参数结构体
|
2816
|
+
class DescribeRiskCenterAssetViewWeakPasswordRiskListResponse < TencentCloud::Common::AbstractModel
|
2817
|
+
# @param TotalCount: 总条数
|
2818
|
+
# @type TotalCount: Integer
|
2819
|
+
# @param Data: 风险列表
|
2820
|
+
# @type Data: Array
|
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
|
2354
3020
|
unless params['StatusLists'].nil?
|
2355
3021
|
@StatusLists = []
|
2356
3022
|
params['StatusLists'].each do |i|
|
@@ -2367,22 +3033,6 @@ module TencentCloud
|
|
2367
3033
|
@LevelLists << filterdataobject_tmp
|
2368
3034
|
end
|
2369
3035
|
end
|
2370
|
-
unless params['FromLists'].nil?
|
2371
|
-
@FromLists = []
|
2372
|
-
params['FromLists'].each do |i|
|
2373
|
-
filterdataobject_tmp = FilterDataObject.new
|
2374
|
-
filterdataobject_tmp.deserialize(i)
|
2375
|
-
@FromLists << filterdataobject_tmp
|
2376
|
-
end
|
2377
|
-
end
|
2378
|
-
unless params['VULTypeLists'].nil?
|
2379
|
-
@VULTypeLists = []
|
2380
|
-
params['VULTypeLists'].each do |i|
|
2381
|
-
filterdataobject_tmp = FilterDataObject.new
|
2382
|
-
filterdataobject_tmp.deserialize(i)
|
2383
|
-
@VULTypeLists << filterdataobject_tmp
|
2384
|
-
end
|
2385
|
-
end
|
2386
3036
|
unless params['InstanceTypeLists'].nil?
|
2387
3037
|
@InstanceTypeLists = []
|
2388
3038
|
params['InstanceTypeLists'].each do |i|
|
@@ -2391,6 +3041,14 @@ module TencentCloud
|
|
2391
3041
|
@InstanceTypeLists << filterdataobject_tmp
|
2392
3042
|
end
|
2393
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
|
2394
3052
|
@RequestId = params['RequestId']
|
2395
3053
|
end
|
2396
3054
|
end
|
@@ -3335,6 +3993,22 @@ module TencentCloud
|
|
3335
3993
|
end
|
3336
3994
|
end
|
3337
3995
|
|
3996
|
+
# 公网IP和域名资产列表key
|
3997
|
+
class PublicIpDomainListKey < TencentCloud::Common::AbstractModel
|
3998
|
+
# @param Asset: 资产值
|
3999
|
+
# @type Asset: String
|
4000
|
+
|
4001
|
+
attr_accessor :Asset
|
4002
|
+
|
4003
|
+
def initialize(asset=nil)
|
4004
|
+
@Asset = asset
|
4005
|
+
end
|
4006
|
+
|
4007
|
+
def deserialize(params)
|
4008
|
+
@Asset = params['Asset']
|
4009
|
+
end
|
4010
|
+
end
|
4011
|
+
|
3338
4012
|
# 报告项key
|
3339
4013
|
class ReportItemKey < TencentCloud::Common::AbstractModel
|
3340
4014
|
# @param TaskLogList: 日志Id列表
|
@@ -3637,6 +4311,207 @@ module TencentCloud
|
|
3637
4311
|
end
|
3638
4312
|
end
|
3639
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
|
+
|
4472
|
+
# StopRiskCenterTask请求参数结构体
|
4473
|
+
class StopRiskCenterTaskRequest < TencentCloud::Common::AbstractModel
|
4474
|
+
# @param TaskIdList: 任务id 列表
|
4475
|
+
# @type TaskIdList: Array
|
4476
|
+
|
4477
|
+
attr_accessor :TaskIdList
|
4478
|
+
|
4479
|
+
def initialize(taskidlist=nil)
|
4480
|
+
@TaskIdList = taskidlist
|
4481
|
+
end
|
4482
|
+
|
4483
|
+
def deserialize(params)
|
4484
|
+
unless params['TaskIdList'].nil?
|
4485
|
+
@TaskIdList = []
|
4486
|
+
params['TaskIdList'].each do |i|
|
4487
|
+
taskidlistkey_tmp = TaskIdListKey.new
|
4488
|
+
taskidlistkey_tmp.deserialize(i)
|
4489
|
+
@TaskIdList << taskidlistkey_tmp
|
4490
|
+
end
|
4491
|
+
end
|
4492
|
+
end
|
4493
|
+
end
|
4494
|
+
|
4495
|
+
# StopRiskCenterTask返回参数结构体
|
4496
|
+
class StopRiskCenterTaskResponse < TencentCloud::Common::AbstractModel
|
4497
|
+
# @param Status: Status为0, 停止成功
|
4498
|
+
# @type Status: Integer
|
4499
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4500
|
+
# @type RequestId: String
|
4501
|
+
|
4502
|
+
attr_accessor :Status, :RequestId
|
4503
|
+
|
4504
|
+
def initialize(status=nil, requestid=nil)
|
4505
|
+
@Status = status
|
4506
|
+
@RequestId = requestid
|
4507
|
+
end
|
4508
|
+
|
4509
|
+
def deserialize(params)
|
4510
|
+
@Status = params['Status']
|
4511
|
+
@RequestId = params['RequestId']
|
4512
|
+
end
|
4513
|
+
end
|
4514
|
+
|
3640
4515
|
# 子网资产
|
3641
4516
|
class SubnetAsset < TencentCloud::Common::AbstractModel
|
3642
4517
|
# @param AppId: appid
|
@@ -3900,6 +4775,22 @@ module TencentCloud
|
|
3900
4775
|
end
|
3901
4776
|
end
|
3902
4777
|
|
4778
|
+
# 任务ID列表Key
|
4779
|
+
class TaskIdListKey < TencentCloud::Common::AbstractModel
|
4780
|
+
# @param TaskId: 任务ID
|
4781
|
+
# @type TaskId: String
|
4782
|
+
|
4783
|
+
attr_accessor :TaskId
|
4784
|
+
|
4785
|
+
def initialize(taskid=nil)
|
4786
|
+
@TaskId = taskid
|
4787
|
+
end
|
4788
|
+
|
4789
|
+
def deserialize(params)
|
4790
|
+
@TaskId = params['TaskId']
|
4791
|
+
end
|
4792
|
+
end
|
4793
|
+
|
3903
4794
|
# 任务报告信息
|
3904
4795
|
class TaskLogInfo < TencentCloud::Common::AbstractModel
|
3905
4796
|
# @param TaskLogName: 报告名称
|
@@ -4086,6 +4977,96 @@ module TencentCloud
|
|
4086
4977
|
end
|
4087
4978
|
end
|
4088
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
|
+
|
4089
5070
|
# 过滤条件
|
4090
5071
|
class WhereFilter < TencentCloud::Common::AbstractModel
|
4091
5072
|
# @param Name: 过滤的项
|