tencentcloud-sdk-csip 3.0.685 → 3.0.687
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 +24 -0
- data/lib/v20221121/models.rb +426 -35
- 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: 076e2bb650af4376b1476d332bbe3f6dd9d4ae70
|
4
|
+
data.tar.gz: 23b16e9d73d0869fa4f408c36d133b0ef45f8bbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f15b1856c41597b97a94d812c92fa3488e85443411a0cfd9a2d25588ae3b4435333b842a966fb7e0496d7aa691810a397e5a41575a964be705f097addc381b
|
7
|
+
data.tar.gz: 5aac03624600041313bf0dd7ed167e09e69003f64af2e59948fe3ea9fb8418558563f355976abea708744662f6e32779d9d581883cb27e89b02f55605e9b8457
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.687
|
data/lib/v20221121/client.rb
CHANGED
@@ -677,6 +677,30 @@ module TencentCloud
|
|
677
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
678
|
end
|
679
679
|
|
680
|
+
# 查询漏洞风险高级配置
|
681
|
+
|
682
|
+
# @param request: Request instance for DescribeVULRiskAdvanceCFGList.
|
683
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeVULRiskAdvanceCFGListRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeVULRiskAdvanceCFGListResponse`
|
685
|
+
def DescribeVULRiskAdvanceCFGList(request)
|
686
|
+
body = send_request('DescribeVULRiskAdvanceCFGList', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = DescribeVULRiskAdvanceCFGListResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
680
704
|
# 获取vpc列表
|
681
705
|
|
682
706
|
# @param request: Request instance for DescribeVpcAssets.
|
data/lib/v20221121/models.rb
CHANGED
@@ -381,6 +381,28 @@ module TencentCloud
|
|
381
381
|
end
|
382
382
|
end
|
383
383
|
|
384
|
+
# 安全中心资产标签
|
385
|
+
class AssetTag < TencentCloud::Common::AbstractModel
|
386
|
+
# @param TagKey: 标签的key值,可以是字母、数字、下划线
|
387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
388
|
+
# @type TagKey: String
|
389
|
+
# @param TagValue: 标签的vale值,可以是字母、数字、下划线
|
390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
391
|
+
# @type TagValue: String
|
392
|
+
|
393
|
+
attr_accessor :TagKey, :TagValue
|
394
|
+
|
395
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
396
|
+
@TagKey = tagkey
|
397
|
+
@TagValue = tagvalue
|
398
|
+
end
|
399
|
+
|
400
|
+
def deserialize(params)
|
401
|
+
@TagKey = params['TagKey']
|
402
|
+
@TagValue = params['TagValue']
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
384
406
|
# 资产视角配置风险
|
385
407
|
class AssetViewCFGRisk < TencentCloud::Common::AbstractModel
|
386
408
|
# @param Id: 唯一id
|
@@ -1275,17 +1297,28 @@ module TencentCloud
|
|
1275
1297
|
|
1276
1298
|
# CreateDomainAndIp请求参数结构体
|
1277
1299
|
class CreateDomainAndIpRequest < TencentCloud::Common::AbstractModel
|
1278
|
-
# @param Content:
|
1300
|
+
# @param Content: 公网IP/域名
|
1279
1301
|
# @type Content: Array
|
1302
|
+
# @param Tags: 资产标签
|
1303
|
+
# @type Tags: Array
|
1280
1304
|
|
1281
|
-
attr_accessor :Content
|
1305
|
+
attr_accessor :Content, :Tags
|
1282
1306
|
|
1283
|
-
def initialize(content=nil)
|
1307
|
+
def initialize(content=nil, tags=nil)
|
1284
1308
|
@Content = content
|
1309
|
+
@Tags = tags
|
1285
1310
|
end
|
1286
1311
|
|
1287
1312
|
def deserialize(params)
|
1288
1313
|
@Content = params['Content']
|
1314
|
+
unless params['Tags'].nil?
|
1315
|
+
@Tags = []
|
1316
|
+
params['Tags'].each do |i|
|
1317
|
+
assettag_tmp = AssetTag.new
|
1318
|
+
assettag_tmp.deserialize(i)
|
1319
|
+
@Tags << assettag_tmp
|
1320
|
+
end
|
1321
|
+
end
|
1289
1322
|
end
|
1290
1323
|
end
|
1291
1324
|
|
@@ -1331,10 +1364,12 @@ module TencentCloud
|
|
1331
1364
|
# @type TaskAdvanceCFG: :class:`Tencentcloud::Csip.v20221121.models.TaskAdvanceCFG`
|
1332
1365
|
# @param TaskMode: 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式
|
1333
1366
|
# @type TaskMode: Integer
|
1367
|
+
# @param Tags: 资产标签
|
1368
|
+
# @type Tags: :class:`Tencentcloud::Csip.v20221121.models.AssetTag`
|
1334
1369
|
|
1335
|
-
attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :Assets, :ScanPlanContent, :SelfDefiningAssets, :ScanFrom, :TaskAdvanceCFG, :TaskMode
|
1370
|
+
attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :Assets, :ScanPlanContent, :SelfDefiningAssets, :ScanFrom, :TaskAdvanceCFG, :TaskMode, :Tags
|
1336
1371
|
|
1337
|
-
def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, scanfrom=nil, taskadvancecfg=nil, taskmode=nil)
|
1372
|
+
def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, scanfrom=nil, taskadvancecfg=nil, taskmode=nil, tags=nil)
|
1338
1373
|
@TaskName = taskname
|
1339
1374
|
@ScanAssetType = scanassettype
|
1340
1375
|
@ScanItem = scanitem
|
@@ -1345,6 +1380,7 @@ module TencentCloud
|
|
1345
1380
|
@ScanFrom = scanfrom
|
1346
1381
|
@TaskAdvanceCFG = taskadvancecfg
|
1347
1382
|
@TaskMode = taskmode
|
1383
|
+
@Tags = tags
|
1348
1384
|
end
|
1349
1385
|
|
1350
1386
|
def deserialize(params)
|
@@ -1368,6 +1404,10 @@ module TencentCloud
|
|
1368
1404
|
@TaskAdvanceCFG.deserialize(params['TaskAdvanceCFG'])
|
1369
1405
|
end
|
1370
1406
|
@TaskMode = params['TaskMode']
|
1407
|
+
unless params['Tags'].nil?
|
1408
|
+
@Tags = AssetTag.new
|
1409
|
+
@Tags.deserialize(params['Tags'])
|
1410
|
+
end
|
1371
1411
|
end
|
1372
1412
|
end
|
1373
1413
|
|
@@ -1680,13 +1720,19 @@ module TencentCloud
|
|
1680
1720
|
# @type RetainPath: Integer
|
1681
1721
|
# @param IgnoreAsset: 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略
|
1682
1722
|
# @type IgnoreAsset: Integer
|
1723
|
+
# @param Tags: 资产标签
|
1724
|
+
# @type Tags: Array
|
1725
|
+
# @param Type: 删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。
|
1726
|
+
# @type Type: String
|
1683
1727
|
|
1684
|
-
attr_accessor :Content, :RetainPath, :IgnoreAsset
|
1728
|
+
attr_accessor :Content, :RetainPath, :IgnoreAsset, :Tags, :Type
|
1685
1729
|
|
1686
|
-
def initialize(content=nil, retainpath=nil, ignoreasset=nil)
|
1730
|
+
def initialize(content=nil, retainpath=nil, ignoreasset=nil, tags=nil, type=nil)
|
1687
1731
|
@Content = content
|
1688
1732
|
@RetainPath = retainpath
|
1689
1733
|
@IgnoreAsset = ignoreasset
|
1734
|
+
@Tags = tags
|
1735
|
+
@Type = type
|
1690
1736
|
end
|
1691
1737
|
|
1692
1738
|
def deserialize(params)
|
@@ -1700,6 +1746,15 @@ module TencentCloud
|
|
1700
1746
|
end
|
1701
1747
|
@RetainPath = params['RetainPath']
|
1702
1748
|
@IgnoreAsset = params['IgnoreAsset']
|
1749
|
+
unless params['Tags'].nil?
|
1750
|
+
@Tags = []
|
1751
|
+
params['Tags'].each do |i|
|
1752
|
+
assettag_tmp = AssetTag.new
|
1753
|
+
assettag_tmp.deserialize(i)
|
1754
|
+
@Tags << assettag_tmp
|
1755
|
+
end
|
1756
|
+
end
|
1757
|
+
@Type = params['Type']
|
1703
1758
|
end
|
1704
1759
|
end
|
1705
1760
|
|
@@ -2204,11 +2259,14 @@ module TencentCloud
|
|
2204
2259
|
class DescribeDomainAssetsRequest < TencentCloud::Common::AbstractModel
|
2205
2260
|
# @param Filter: -
|
2206
2261
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2262
|
+
# @param Tags: 安全中心自定义标签
|
2263
|
+
# @type Tags: Array
|
2207
2264
|
|
2208
|
-
attr_accessor :Filter
|
2265
|
+
attr_accessor :Filter, :Tags
|
2209
2266
|
|
2210
|
-
def initialize(filter=nil)
|
2267
|
+
def initialize(filter=nil, tags=nil)
|
2211
2268
|
@Filter = filter
|
2269
|
+
@Tags = tags
|
2212
2270
|
end
|
2213
2271
|
|
2214
2272
|
def deserialize(params)
|
@@ -2216,6 +2274,14 @@ module TencentCloud
|
|
2216
2274
|
@Filter = Filter.new
|
2217
2275
|
@Filter.deserialize(params['Filter'])
|
2218
2276
|
end
|
2277
|
+
unless params['Tags'].nil?
|
2278
|
+
@Tags = []
|
2279
|
+
params['Tags'].each do |i|
|
2280
|
+
assettag_tmp = AssetTag.new
|
2281
|
+
assettag_tmp.deserialize(i)
|
2282
|
+
@Tags << assettag_tmp
|
2283
|
+
end
|
2284
|
+
end
|
2219
2285
|
end
|
2220
2286
|
end
|
2221
2287
|
|
@@ -2356,11 +2422,14 @@ module TencentCloud
|
|
2356
2422
|
class DescribePublicIpAssetsRequest < TencentCloud::Common::AbstractModel
|
2357
2423
|
# @param Filter: filte过滤条件
|
2358
2424
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2425
|
+
# @param Tags: 安全中心自定义标签
|
2426
|
+
# @type Tags: Array
|
2359
2427
|
|
2360
|
-
attr_accessor :Filter
|
2428
|
+
attr_accessor :Filter, :Tags
|
2361
2429
|
|
2362
|
-
def initialize(filter=nil)
|
2430
|
+
def initialize(filter=nil, tags=nil)
|
2363
2431
|
@Filter = filter
|
2432
|
+
@Tags = tags
|
2364
2433
|
end
|
2365
2434
|
|
2366
2435
|
def deserialize(params)
|
@@ -2368,6 +2437,14 @@ module TencentCloud
|
|
2368
2437
|
@Filter = Filter.new
|
2369
2438
|
@Filter.deserialize(params['Filter'])
|
2370
2439
|
end
|
2440
|
+
unless params['Tags'].nil?
|
2441
|
+
@Tags = []
|
2442
|
+
params['Tags'].each do |i|
|
2443
|
+
assettag_tmp = AssetTag.new
|
2444
|
+
assettag_tmp.deserialize(i)
|
2445
|
+
@Tags << assettag_tmp
|
2446
|
+
end
|
2447
|
+
end
|
2371
2448
|
end
|
2372
2449
|
end
|
2373
2450
|
|
@@ -2479,11 +2556,14 @@ module TencentCloud
|
|
2479
2556
|
class DescribeRiskCenterAssetViewCFGRiskListRequest < TencentCloud::Common::AbstractModel
|
2480
2557
|
# @param Filter: 过滤内容
|
2481
2558
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2559
|
+
# @param Tags: 资产标签
|
2560
|
+
# @type Tags: Array
|
2482
2561
|
|
2483
|
-
attr_accessor :Filter
|
2562
|
+
attr_accessor :Filter, :Tags
|
2484
2563
|
|
2485
|
-
def initialize(filter=nil)
|
2564
|
+
def initialize(filter=nil, tags=nil)
|
2486
2565
|
@Filter = filter
|
2566
|
+
@Tags = tags
|
2487
2567
|
end
|
2488
2568
|
|
2489
2569
|
def deserialize(params)
|
@@ -2491,6 +2571,14 @@ module TencentCloud
|
|
2491
2571
|
@Filter = Filter.new
|
2492
2572
|
@Filter.deserialize(params['Filter'])
|
2493
2573
|
end
|
2574
|
+
unless params['Tags'].nil?
|
2575
|
+
@Tags = []
|
2576
|
+
params['Tags'].each do |i|
|
2577
|
+
assettag_tmp = AssetTag.new
|
2578
|
+
assettag_tmp.deserialize(i)
|
2579
|
+
@Tags << assettag_tmp
|
2580
|
+
end
|
2581
|
+
end
|
2494
2582
|
end
|
2495
2583
|
end
|
2496
2584
|
|
@@ -2595,11 +2683,14 @@ module TencentCloud
|
|
2595
2683
|
class DescribeRiskCenterAssetViewPortRiskListRequest < TencentCloud::Common::AbstractModel
|
2596
2684
|
# @param Filter: 过滤内容
|
2597
2685
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2686
|
+
# @param Tags: 资产标签
|
2687
|
+
# @type Tags: Array
|
2598
2688
|
|
2599
|
-
attr_accessor :Filter
|
2689
|
+
attr_accessor :Filter, :Tags
|
2600
2690
|
|
2601
|
-
def initialize(filter=nil)
|
2691
|
+
def initialize(filter=nil, tags=nil)
|
2602
2692
|
@Filter = filter
|
2693
|
+
@Tags = tags
|
2603
2694
|
end
|
2604
2695
|
|
2605
2696
|
def deserialize(params)
|
@@ -2607,6 +2698,14 @@ module TencentCloud
|
|
2607
2698
|
@Filter = Filter.new
|
2608
2699
|
@Filter.deserialize(params['Filter'])
|
2609
2700
|
end
|
2701
|
+
unless params['Tags'].nil?
|
2702
|
+
@Tags = []
|
2703
|
+
params['Tags'].each do |i|
|
2704
|
+
assettag_tmp = AssetTag.new
|
2705
|
+
assettag_tmp.deserialize(i)
|
2706
|
+
@Tags << assettag_tmp
|
2707
|
+
end
|
2708
|
+
end
|
2610
2709
|
end
|
2611
2710
|
end
|
2612
2711
|
|
@@ -2700,11 +2799,14 @@ module TencentCloud
|
|
2700
2799
|
class DescribeRiskCenterAssetViewVULRiskListRequest < TencentCloud::Common::AbstractModel
|
2701
2800
|
# @param Filter: 过滤内容
|
2702
2801
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2802
|
+
# @param Tags: 资产标签
|
2803
|
+
# @type Tags: Array
|
2703
2804
|
|
2704
|
-
attr_accessor :Filter
|
2805
|
+
attr_accessor :Filter, :Tags
|
2705
2806
|
|
2706
|
-
def initialize(filter=nil)
|
2807
|
+
def initialize(filter=nil, tags=nil)
|
2707
2808
|
@Filter = filter
|
2809
|
+
@Tags = tags
|
2708
2810
|
end
|
2709
2811
|
|
2710
2812
|
def deserialize(params)
|
@@ -2712,6 +2814,14 @@ module TencentCloud
|
|
2712
2814
|
@Filter = Filter.new
|
2713
2815
|
@Filter.deserialize(params['Filter'])
|
2714
2816
|
end
|
2817
|
+
unless params['Tags'].nil?
|
2818
|
+
@Tags = []
|
2819
|
+
params['Tags'].each do |i|
|
2820
|
+
assettag_tmp = AssetTag.new
|
2821
|
+
assettag_tmp.deserialize(i)
|
2822
|
+
@Tags << assettag_tmp
|
2823
|
+
end
|
2824
|
+
end
|
2715
2825
|
end
|
2716
2826
|
end
|
2717
2827
|
|
@@ -2805,11 +2915,14 @@ module TencentCloud
|
|
2805
2915
|
class DescribeRiskCenterAssetViewWeakPasswordRiskListRequest < TencentCloud::Common::AbstractModel
|
2806
2916
|
# @param Filter: 过滤内容
|
2807
2917
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2918
|
+
# @param Tags: 资产标签
|
2919
|
+
# @type Tags: Array
|
2808
2920
|
|
2809
|
-
attr_accessor :Filter
|
2921
|
+
attr_accessor :Filter, :Tags
|
2810
2922
|
|
2811
|
-
def initialize(filter=nil)
|
2923
|
+
def initialize(filter=nil, tags=nil)
|
2812
2924
|
@Filter = filter
|
2925
|
+
@Tags = tags
|
2813
2926
|
end
|
2814
2927
|
|
2815
2928
|
def deserialize(params)
|
@@ -2817,6 +2930,14 @@ module TencentCloud
|
|
2817
2930
|
@Filter = Filter.new
|
2818
2931
|
@Filter.deserialize(params['Filter'])
|
2819
2932
|
end
|
2933
|
+
unless params['Tags'].nil?
|
2934
|
+
@Tags = []
|
2935
|
+
params['Tags'].each do |i|
|
2936
|
+
assettag_tmp = AssetTag.new
|
2937
|
+
assettag_tmp.deserialize(i)
|
2938
|
+
@Tags << assettag_tmp
|
2939
|
+
end
|
2940
|
+
end
|
2820
2941
|
end
|
2821
2942
|
end
|
2822
2943
|
|
@@ -2910,11 +3031,14 @@ module TencentCloud
|
|
2910
3031
|
class DescribeRiskCenterPortViewPortRiskListRequest < TencentCloud::Common::AbstractModel
|
2911
3032
|
# @param Filter: 过滤内容
|
2912
3033
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3034
|
+
# @param Tags: 资产标签
|
3035
|
+
# @type Tags: Array
|
2913
3036
|
|
2914
|
-
attr_accessor :Filter
|
3037
|
+
attr_accessor :Filter, :Tags
|
2915
3038
|
|
2916
|
-
def initialize(filter=nil)
|
3039
|
+
def initialize(filter=nil, tags=nil)
|
2917
3040
|
@Filter = filter
|
3041
|
+
@Tags = tags
|
2918
3042
|
end
|
2919
3043
|
|
2920
3044
|
def deserialize(params)
|
@@ -2922,6 +3046,14 @@ module TencentCloud
|
|
2922
3046
|
@Filter = Filter.new
|
2923
3047
|
@Filter.deserialize(params['Filter'])
|
2924
3048
|
end
|
3049
|
+
unless params['Tags'].nil?
|
3050
|
+
@Tags = []
|
3051
|
+
params['Tags'].each do |i|
|
3052
|
+
assettag_tmp = AssetTag.new
|
3053
|
+
assettag_tmp.deserialize(i)
|
3054
|
+
@Tags << assettag_tmp
|
3055
|
+
end
|
3056
|
+
end
|
2925
3057
|
end
|
2926
3058
|
end
|
2927
3059
|
|
@@ -2993,11 +3125,14 @@ module TencentCloud
|
|
2993
3125
|
class DescribeRiskCenterServerRiskListRequest < TencentCloud::Common::AbstractModel
|
2994
3126
|
# @param Filter: 过滤内容
|
2995
3127
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3128
|
+
# @param Tags: 资产标签
|
3129
|
+
# @type Tags: Array
|
2996
3130
|
|
2997
|
-
attr_accessor :Filter
|
3131
|
+
attr_accessor :Filter, :Tags
|
2998
3132
|
|
2999
|
-
def initialize(filter=nil)
|
3133
|
+
def initialize(filter=nil, tags=nil)
|
3000
3134
|
@Filter = filter
|
3135
|
+
@Tags = tags
|
3001
3136
|
end
|
3002
3137
|
|
3003
3138
|
def deserialize(params)
|
@@ -3005,6 +3140,14 @@ module TencentCloud
|
|
3005
3140
|
@Filter = Filter.new
|
3006
3141
|
@Filter.deserialize(params['Filter'])
|
3007
3142
|
end
|
3143
|
+
unless params['Tags'].nil?
|
3144
|
+
@Tags = []
|
3145
|
+
params['Tags'].each do |i|
|
3146
|
+
assettag_tmp = AssetTag.new
|
3147
|
+
assettag_tmp.deserialize(i)
|
3148
|
+
@Tags << assettag_tmp
|
3149
|
+
end
|
3150
|
+
end
|
3008
3151
|
end
|
3009
3152
|
end
|
3010
3153
|
|
@@ -3054,11 +3197,14 @@ module TencentCloud
|
|
3054
3197
|
class DescribeRiskCenterVULViewVULRiskListRequest < TencentCloud::Common::AbstractModel
|
3055
3198
|
# @param Filter: 过滤内容
|
3056
3199
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3200
|
+
# @param Tags: 资产标签
|
3201
|
+
# @type Tags: Array
|
3057
3202
|
|
3058
|
-
attr_accessor :Filter
|
3203
|
+
attr_accessor :Filter, :Tags
|
3059
3204
|
|
3060
|
-
def initialize(filter=nil)
|
3205
|
+
def initialize(filter=nil, tags=nil)
|
3061
3206
|
@Filter = filter
|
3207
|
+
@Tags = tags
|
3062
3208
|
end
|
3063
3209
|
|
3064
3210
|
def deserialize(params)
|
@@ -3066,6 +3212,14 @@ module TencentCloud
|
|
3066
3212
|
@Filter = Filter.new
|
3067
3213
|
@Filter.deserialize(params['Filter'])
|
3068
3214
|
end
|
3215
|
+
unless params['Tags'].nil?
|
3216
|
+
@Tags = []
|
3217
|
+
params['Tags'].each do |i|
|
3218
|
+
assettag_tmp = AssetTag.new
|
3219
|
+
assettag_tmp.deserialize(i)
|
3220
|
+
@Tags << assettag_tmp
|
3221
|
+
end
|
3222
|
+
end
|
3069
3223
|
end
|
3070
3224
|
end
|
3071
3225
|
|
@@ -3137,11 +3291,14 @@ module TencentCloud
|
|
3137
3291
|
class DescribeRiskCenterWebsiteRiskListRequest < TencentCloud::Common::AbstractModel
|
3138
3292
|
# @param Filter: 过滤内容
|
3139
3293
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3294
|
+
# @param Tags: 资产标签
|
3295
|
+
# @type Tags: Array
|
3140
3296
|
|
3141
|
-
attr_accessor :Filter
|
3297
|
+
attr_accessor :Filter, :Tags
|
3142
3298
|
|
3143
|
-
def initialize(filter=nil)
|
3299
|
+
def initialize(filter=nil, tags=nil)
|
3144
3300
|
@Filter = filter
|
3301
|
+
@Tags = tags
|
3145
3302
|
end
|
3146
3303
|
|
3147
3304
|
def deserialize(params)
|
@@ -3149,6 +3306,14 @@ module TencentCloud
|
|
3149
3306
|
@Filter = Filter.new
|
3150
3307
|
@Filter.deserialize(params['Filter'])
|
3151
3308
|
end
|
3309
|
+
unless params['Tags'].nil?
|
3310
|
+
@Tags = []
|
3311
|
+
params['Tags'].each do |i|
|
3312
|
+
assettag_tmp = AssetTag.new
|
3313
|
+
assettag_tmp.deserialize(i)
|
3314
|
+
@Tags << assettag_tmp
|
3315
|
+
end
|
3316
|
+
end
|
3152
3317
|
end
|
3153
3318
|
end
|
3154
3319
|
|
@@ -3287,11 +3452,14 @@ module TencentCloud
|
|
3287
3452
|
class DescribeScanTaskListRequest < TencentCloud::Common::AbstractModel
|
3288
3453
|
# @param Filter: 过滤内容
|
3289
3454
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3455
|
+
# @param Tags: 标签
|
3456
|
+
# @type Tags: Array
|
3290
3457
|
|
3291
|
-
attr_accessor :Filter
|
3458
|
+
attr_accessor :Filter, :Tags
|
3292
3459
|
|
3293
|
-
def initialize(filter=nil)
|
3460
|
+
def initialize(filter=nil, tags=nil)
|
3294
3461
|
@Filter = filter
|
3462
|
+
@Tags = tags
|
3295
3463
|
end
|
3296
3464
|
|
3297
3465
|
def deserialize(params)
|
@@ -3299,6 +3467,14 @@ module TencentCloud
|
|
3299
3467
|
@Filter = Filter.new
|
3300
3468
|
@Filter.deserialize(params['Filter'])
|
3301
3469
|
end
|
3470
|
+
unless params['Tags'].nil?
|
3471
|
+
@Tags = []
|
3472
|
+
params['Tags'].each do |i|
|
3473
|
+
tags_tmp = Tags.new
|
3474
|
+
tags_tmp.deserialize(i)
|
3475
|
+
@Tags << tags_tmp
|
3476
|
+
end
|
3477
|
+
end
|
3302
3478
|
end
|
3303
3479
|
end
|
3304
3480
|
|
@@ -3557,19 +3733,23 @@ module TencentCloud
|
|
3557
3733
|
|
3558
3734
|
# DescribeTaskLogURL请求参数结构体
|
3559
3735
|
class DescribeTaskLogURLRequest < TencentCloud::Common::AbstractModel
|
3560
|
-
# @param ReportItemKeyList: 任务报告Id 列表
|
3561
|
-
# @type ReportItemKeyList: Array
|
3562
3736
|
# @param Type: 0: 预览, 1: 下载
|
3563
3737
|
# @type Type: Integer
|
3738
|
+
# @param ReportItemKeyList: 任务报告Id 列表
|
3739
|
+
# @type ReportItemKeyList: Array
|
3740
|
+
# @param ReportTaskIdList: 报告中任务id列表
|
3741
|
+
# @type ReportTaskIdList: Array
|
3564
3742
|
|
3565
|
-
attr_accessor :ReportItemKeyList, :
|
3743
|
+
attr_accessor :Type, :ReportItemKeyList, :ReportTaskIdList
|
3566
3744
|
|
3567
|
-
def initialize(reportitemkeylist=nil,
|
3568
|
-
@ReportItemKeyList = reportitemkeylist
|
3745
|
+
def initialize(type=nil, reportitemkeylist=nil, reporttaskidlist=nil)
|
3569
3746
|
@Type = type
|
3747
|
+
@ReportItemKeyList = reportitemkeylist
|
3748
|
+
@ReportTaskIdList = reporttaskidlist
|
3570
3749
|
end
|
3571
3750
|
|
3572
3751
|
def deserialize(params)
|
3752
|
+
@Type = params['Type']
|
3573
3753
|
unless params['ReportItemKeyList'].nil?
|
3574
3754
|
@ReportItemKeyList = []
|
3575
3755
|
params['ReportItemKeyList'].each do |i|
|
@@ -3578,7 +3758,14 @@ module TencentCloud
|
|
3578
3758
|
@ReportItemKeyList << reportitemkey_tmp
|
3579
3759
|
end
|
3580
3760
|
end
|
3581
|
-
|
3761
|
+
unless params['ReportTaskIdList'].nil?
|
3762
|
+
@ReportTaskIdList = []
|
3763
|
+
params['ReportTaskIdList'].each do |i|
|
3764
|
+
reporttaskidlist_tmp = ReportTaskIdList.new
|
3765
|
+
reporttaskidlist_tmp.deserialize(i)
|
3766
|
+
@ReportTaskIdList << reporttaskidlist_tmp
|
3767
|
+
end
|
3768
|
+
end
|
3582
3769
|
end
|
3583
3770
|
end
|
3584
3771
|
|
@@ -3609,6 +3796,97 @@ module TencentCloud
|
|
3609
3796
|
end
|
3610
3797
|
end
|
3611
3798
|
|
3799
|
+
# DescribeVULRiskAdvanceCFGList请求参数结构体
|
3800
|
+
class DescribeVULRiskAdvanceCFGListRequest < TencentCloud::Common::AbstractModel
|
3801
|
+
# @param TaskId: 任务ID
|
3802
|
+
# @type TaskId: String
|
3803
|
+
# @param Filter: 过滤条件
|
3804
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
3805
|
+
|
3806
|
+
attr_accessor :TaskId, :Filter
|
3807
|
+
|
3808
|
+
def initialize(taskid=nil, filter=nil)
|
3809
|
+
@TaskId = taskid
|
3810
|
+
@Filter = filter
|
3811
|
+
end
|
3812
|
+
|
3813
|
+
def deserialize(params)
|
3814
|
+
@TaskId = params['TaskId']
|
3815
|
+
unless params['Filter'].nil?
|
3816
|
+
@Filter = Filter.new
|
3817
|
+
@Filter.deserialize(params['Filter'])
|
3818
|
+
end
|
3819
|
+
end
|
3820
|
+
end
|
3821
|
+
|
3822
|
+
# DescribeVULRiskAdvanceCFGList返回参数结构体
|
3823
|
+
class DescribeVULRiskAdvanceCFGListResponse < TencentCloud::Common::AbstractModel
|
3824
|
+
# @param Data: 配置项列表
|
3825
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3826
|
+
# @type Data: Array
|
3827
|
+
# @param TotalCount: 总数
|
3828
|
+
# @type TotalCount: Integer
|
3829
|
+
# @param RiskLevelLists: 风险等级过滤列表
|
3830
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3831
|
+
# @type RiskLevelLists: Array
|
3832
|
+
# @param VULTypeLists: 漏洞类型过滤列表
|
3833
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3834
|
+
# @type VULTypeLists: Array
|
3835
|
+
# @param CheckFromLists: 识别来源过滤列表
|
3836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3837
|
+
# @type CheckFromLists: Array
|
3838
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3839
|
+
# @type RequestId: String
|
3840
|
+
|
3841
|
+
attr_accessor :Data, :TotalCount, :RiskLevelLists, :VULTypeLists, :CheckFromLists, :RequestId
|
3842
|
+
|
3843
|
+
def initialize(data=nil, totalcount=nil, risklevellists=nil, vultypelists=nil, checkfromlists=nil, requestid=nil)
|
3844
|
+
@Data = data
|
3845
|
+
@TotalCount = totalcount
|
3846
|
+
@RiskLevelLists = risklevellists
|
3847
|
+
@VULTypeLists = vultypelists
|
3848
|
+
@CheckFromLists = checkfromlists
|
3849
|
+
@RequestId = requestid
|
3850
|
+
end
|
3851
|
+
|
3852
|
+
def deserialize(params)
|
3853
|
+
unless params['Data'].nil?
|
3854
|
+
@Data = []
|
3855
|
+
params['Data'].each do |i|
|
3856
|
+
vulriskadvancecfglist_tmp = VULRiskAdvanceCFGList.new
|
3857
|
+
vulriskadvancecfglist_tmp.deserialize(i)
|
3858
|
+
@Data << vulriskadvancecfglist_tmp
|
3859
|
+
end
|
3860
|
+
end
|
3861
|
+
@TotalCount = params['TotalCount']
|
3862
|
+
unless params['RiskLevelLists'].nil?
|
3863
|
+
@RiskLevelLists = []
|
3864
|
+
params['RiskLevelLists'].each do |i|
|
3865
|
+
filterdataobject_tmp = FilterDataObject.new
|
3866
|
+
filterdataobject_tmp.deserialize(i)
|
3867
|
+
@RiskLevelLists << filterdataobject_tmp
|
3868
|
+
end
|
3869
|
+
end
|
3870
|
+
unless params['VULTypeLists'].nil?
|
3871
|
+
@VULTypeLists = []
|
3872
|
+
params['VULTypeLists'].each do |i|
|
3873
|
+
filterdataobject_tmp = FilterDataObject.new
|
3874
|
+
filterdataobject_tmp.deserialize(i)
|
3875
|
+
@VULTypeLists << filterdataobject_tmp
|
3876
|
+
end
|
3877
|
+
end
|
3878
|
+
unless params['CheckFromLists'].nil?
|
3879
|
+
@CheckFromLists = []
|
3880
|
+
params['CheckFromLists'].each do |i|
|
3881
|
+
filterdataobject_tmp = FilterDataObject.new
|
3882
|
+
filterdataobject_tmp.deserialize(i)
|
3883
|
+
@CheckFromLists << filterdataobject_tmp
|
3884
|
+
end
|
3885
|
+
end
|
3886
|
+
@RequestId = params['RequestId']
|
3887
|
+
end
|
3888
|
+
end
|
3889
|
+
|
3612
3890
|
# DescribeVpcAssets请求参数结构体
|
3613
3891
|
class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
|
3614
3892
|
# @param Filter: 过滤参数
|
@@ -4324,6 +4602,26 @@ module TencentCloud
|
|
4324
4602
|
end
|
4325
4603
|
end
|
4326
4604
|
|
4605
|
+
# 报告中的task_id list
|
4606
|
+
class ReportTaskIdList < TencentCloud::Common::AbstractModel
|
4607
|
+
# @param TaskIdList: 任务id列表
|
4608
|
+
# @type TaskIdList: Array
|
4609
|
+
# @param AppId: 租户ID
|
4610
|
+
# @type AppId: String
|
4611
|
+
|
4612
|
+
attr_accessor :TaskIdList, :AppId
|
4613
|
+
|
4614
|
+
def initialize(taskidlist=nil, appid=nil)
|
4615
|
+
@TaskIdList = taskidlist
|
4616
|
+
@AppId = appid
|
4617
|
+
end
|
4618
|
+
|
4619
|
+
def deserialize(params)
|
4620
|
+
@TaskIdList = params['TaskIdList']
|
4621
|
+
@AppId = params['AppId']
|
4622
|
+
end
|
4623
|
+
end
|
4624
|
+
|
4327
4625
|
# 风险中心状态处理Key
|
4328
4626
|
class RiskCenterStatusKey < TencentCloud::Common::AbstractModel
|
4329
4627
|
# @param Id: 风险ID
|
@@ -4962,6 +5260,28 @@ module TencentCloud
|
|
4962
5260
|
end
|
4963
5261
|
end
|
4964
5262
|
|
5263
|
+
# 主机标签信息
|
5264
|
+
class Tags < TencentCloud::Common::AbstractModel
|
5265
|
+
# @param TagKey: 无
|
5266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5267
|
+
# @type TagKey: String
|
5268
|
+
# @param TagValue: 无
|
5269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5270
|
+
# @type TagValue: String
|
5271
|
+
|
5272
|
+
attr_accessor :TagKey, :TagValue
|
5273
|
+
|
5274
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
5275
|
+
@TagKey = tagkey
|
5276
|
+
@TagValue = tagvalue
|
5277
|
+
end
|
5278
|
+
|
5279
|
+
def deserialize(params)
|
5280
|
+
@TagKey = params['TagKey']
|
5281
|
+
@TagValue = params['TagValue']
|
5282
|
+
end
|
5283
|
+
end
|
5284
|
+
|
4965
5285
|
# 任务高级配置
|
4966
5286
|
class TaskAdvanceCFG < TencentCloud::Common::AbstractModel
|
4967
5287
|
# @param VulRisk: 漏洞风险高级配置
|
@@ -5231,6 +5551,77 @@ module TencentCloud
|
|
5231
5551
|
end
|
5232
5552
|
end
|
5233
5553
|
|
5554
|
+
# 漏洞风险高级配置列表
|
5555
|
+
class VULRiskAdvanceCFGList < TencentCloud::Common::AbstractModel
|
5556
|
+
# @param VULName: 漏洞名称
|
5557
|
+
# @type VULName: String
|
5558
|
+
# @param RiskLevel: 风险等级
|
5559
|
+
# @type RiskLevel: String
|
5560
|
+
# @param CheckFrom: 识别来源
|
5561
|
+
# @type CheckFrom: String
|
5562
|
+
# @param Enable: 是否启用,1-启用,0-禁用
|
5563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5564
|
+
# @type Enable: Integer
|
5565
|
+
# @param VULType: 风险类型
|
5566
|
+
# @type VULType: String
|
5567
|
+
# @param ImpactVersion: 影响版本
|
5568
|
+
# @type ImpactVersion: String
|
5569
|
+
# @param CVE: CVE
|
5570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5571
|
+
# @type CVE: String
|
5572
|
+
# @param VULTag: 漏洞标签
|
5573
|
+
# @type VULTag: Array
|
5574
|
+
# @param FixMethod: 修复方式
|
5575
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5576
|
+
# @type FixMethod: Array
|
5577
|
+
# @param ReleaseTime: 披露时间
|
5578
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5579
|
+
# @type ReleaseTime: String
|
5580
|
+
# @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
|
5581
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5582
|
+
# @type EMGCVulType: Integer
|
5583
|
+
# @param VULDescribe: 漏洞描述
|
5584
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5585
|
+
# @type VULDescribe: String
|
5586
|
+
# @param ImpactComponent: 影响组件
|
5587
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5588
|
+
# @type ImpactComponent: String
|
5589
|
+
|
5590
|
+
attr_accessor :VULName, :RiskLevel, :CheckFrom, :Enable, :VULType, :ImpactVersion, :CVE, :VULTag, :FixMethod, :ReleaseTime, :EMGCVulType, :VULDescribe, :ImpactComponent
|
5591
|
+
|
5592
|
+
def initialize(vulname=nil, risklevel=nil, checkfrom=nil, enable=nil, vultype=nil, impactversion=nil, cve=nil, vultag=nil, fixmethod=nil, releasetime=nil, emgcvultype=nil, vuldescribe=nil, impactcomponent=nil)
|
5593
|
+
@VULName = vulname
|
5594
|
+
@RiskLevel = risklevel
|
5595
|
+
@CheckFrom = checkfrom
|
5596
|
+
@Enable = enable
|
5597
|
+
@VULType = vultype
|
5598
|
+
@ImpactVersion = impactversion
|
5599
|
+
@CVE = cve
|
5600
|
+
@VULTag = vultag
|
5601
|
+
@FixMethod = fixmethod
|
5602
|
+
@ReleaseTime = releasetime
|
5603
|
+
@EMGCVulType = emgcvultype
|
5604
|
+
@VULDescribe = vuldescribe
|
5605
|
+
@ImpactComponent = impactcomponent
|
5606
|
+
end
|
5607
|
+
|
5608
|
+
def deserialize(params)
|
5609
|
+
@VULName = params['VULName']
|
5610
|
+
@RiskLevel = params['RiskLevel']
|
5611
|
+
@CheckFrom = params['CheckFrom']
|
5612
|
+
@Enable = params['Enable']
|
5613
|
+
@VULType = params['VULType']
|
5614
|
+
@ImpactVersion = params['ImpactVersion']
|
5615
|
+
@CVE = params['CVE']
|
5616
|
+
@VULTag = params['VULTag']
|
5617
|
+
@FixMethod = params['FixMethod']
|
5618
|
+
@ReleaseTime = params['ReleaseTime']
|
5619
|
+
@EMGCVulType = params['EMGCVulType']
|
5620
|
+
@VULDescribe = params['VULDescribe']
|
5621
|
+
@ImpactComponent = params['ImpactComponent']
|
5622
|
+
end
|
5623
|
+
end
|
5624
|
+
|
5234
5625
|
# 漏洞视角的漏洞风险对象
|
5235
5626
|
class VULViewVULRisk < TencentCloud::Common::AbstractModel
|
5236
5627
|
# @param Port: 端口
|
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.687
|
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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|