tencentcloud-sdk-csip 3.0.684 → 3.0.686
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/models.rb +264 -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: be0ecf81f854b95aca83ce5af90be4b78114cf18
|
4
|
+
data.tar.gz: 06a296c8b8b3d184e99aa020031430180dabb890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03e5319dcf02a8ac65ada3e1150159c7073a4280478201b13c7506519b2df1a1969dcb0308adffc652d221b6c6bc2c0b8e781d67d222677ce174f3058c1d840c
|
7
|
+
data.tar.gz: 9ffd0515ec1359e6f0e33170f9b18f546c4f0664ec0a7c4abab4a9678eb439848adfefe86ba4c798294b93d95251d9c194058799c72c17ba7db954dd4565302d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.686
|
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
|
|
@@ -4324,6 +4511,26 @@ module TencentCloud
|
|
4324
4511
|
end
|
4325
4512
|
end
|
4326
4513
|
|
4514
|
+
# 报告中的task_id list
|
4515
|
+
class ReportTaskIdList < TencentCloud::Common::AbstractModel
|
4516
|
+
# @param TaskIdList: 任务id列表
|
4517
|
+
# @type TaskIdList: Array
|
4518
|
+
# @param AppId: 租户ID
|
4519
|
+
# @type AppId: String
|
4520
|
+
|
4521
|
+
attr_accessor :TaskIdList, :AppId
|
4522
|
+
|
4523
|
+
def initialize(taskidlist=nil, appid=nil)
|
4524
|
+
@TaskIdList = taskidlist
|
4525
|
+
@AppId = appid
|
4526
|
+
end
|
4527
|
+
|
4528
|
+
def deserialize(params)
|
4529
|
+
@TaskIdList = params['TaskIdList']
|
4530
|
+
@AppId = params['AppId']
|
4531
|
+
end
|
4532
|
+
end
|
4533
|
+
|
4327
4534
|
# 风险中心状态处理Key
|
4328
4535
|
class RiskCenterStatusKey < TencentCloud::Common::AbstractModel
|
4329
4536
|
# @param Id: 风险ID
|
@@ -4962,6 +5169,28 @@ module TencentCloud
|
|
4962
5169
|
end
|
4963
5170
|
end
|
4964
5171
|
|
5172
|
+
# 主机标签信息
|
5173
|
+
class Tags < TencentCloud::Common::AbstractModel
|
5174
|
+
# @param TagKey: 无
|
5175
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5176
|
+
# @type TagKey: String
|
5177
|
+
# @param TagValue: 无
|
5178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5179
|
+
# @type TagValue: String
|
5180
|
+
|
5181
|
+
attr_accessor :TagKey, :TagValue
|
5182
|
+
|
5183
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
5184
|
+
@TagKey = tagkey
|
5185
|
+
@TagValue = tagvalue
|
5186
|
+
end
|
5187
|
+
|
5188
|
+
def deserialize(params)
|
5189
|
+
@TagKey = params['TagKey']
|
5190
|
+
@TagValue = params['TagValue']
|
5191
|
+
end
|
5192
|
+
end
|
5193
|
+
|
4965
5194
|
# 任务高级配置
|
4966
5195
|
class TaskAdvanceCFG < TencentCloud::Common::AbstractModel
|
4967
5196
|
# @param VulRisk: 漏洞风险高级配置
|
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.686
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|