tencentcloud-sdk-dsgc 3.0.648 → 3.0.649
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/v20190723/client.rb +48 -0
- data/lib/v20190723/models.rb +281 -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: 45f07843efc000b239ff573867ff448928788018
|
4
|
+
data.tar.gz: f0efaefafd2a67f379c67e2333002fdb7d6d4a73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa7e08db5d5cd7840a9bf750a5f2163bc722c04d4c6d44af08bdddf20de72ae1d855d0684891a05dce39d258d87f8dd644ff9d793ffb8d1ef7f393408260e14
|
7
|
+
data.tar.gz: 48cf5ee79031d0f51ac9abe7870be45c55fbd6eac2fd0d52cc7353893eee59c2b334eaf527013a5e52711691753bcbf9a9255bb200b3dcda13483ec165461865
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.649
|
data/lib/v20190723/client.rb
CHANGED
@@ -1381,6 +1381,54 @@ module TencentCloud
|
|
1381
1381
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1382
1382
|
end
|
1383
1383
|
|
1384
|
+
# 风险评估概览页,查询风险面的分布
|
1385
|
+
|
1386
|
+
# @param request: Request instance for DescribeDSPAAssessmentRiskSideDistributed.
|
1387
|
+
# @type request: :class:`Tencentcloud::dsgc::V20190723::DescribeDSPAAssessmentRiskSideDistributedRequest`
|
1388
|
+
# @rtype: :class:`Tencentcloud::dsgc::V20190723::DescribeDSPAAssessmentRiskSideDistributedResponse`
|
1389
|
+
def DescribeDSPAAssessmentRiskSideDistributed(request)
|
1390
|
+
body = send_request('DescribeDSPAAssessmentRiskSideDistributed', request.serialize)
|
1391
|
+
response = JSON.parse(body)
|
1392
|
+
if response['Response'].key?('Error') == false
|
1393
|
+
model = DescribeDSPAAssessmentRiskSideDistributedResponse.new
|
1394
|
+
model.deserialize(response['Response'])
|
1395
|
+
model
|
1396
|
+
else
|
1397
|
+
code = response['Response']['Error']['Code']
|
1398
|
+
message = response['Response']['Error']['Message']
|
1399
|
+
reqid = response['Response']['RequestId']
|
1400
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1401
|
+
end
|
1402
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1403
|
+
raise e
|
1404
|
+
rescue StandardError => e
|
1405
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# 风险评估概览页,查询风险面的分布
|
1409
|
+
|
1410
|
+
# @param request: Request instance for DescribeDSPAAssessmentRiskSideList.
|
1411
|
+
# @type request: :class:`Tencentcloud::dsgc::V20190723::DescribeDSPAAssessmentRiskSideListRequest`
|
1412
|
+
# @rtype: :class:`Tencentcloud::dsgc::V20190723::DescribeDSPAAssessmentRiskSideListResponse`
|
1413
|
+
def DescribeDSPAAssessmentRiskSideList(request)
|
1414
|
+
body = send_request('DescribeDSPAAssessmentRiskSideList', request.serialize)
|
1415
|
+
response = JSON.parse(body)
|
1416
|
+
if response['Response'].key?('Error') == false
|
1417
|
+
model = DescribeDSPAAssessmentRiskSideListResponse.new
|
1418
|
+
model.deserialize(response['Response'])
|
1419
|
+
model
|
1420
|
+
else
|
1421
|
+
code = response['Response']['Error']['Code']
|
1422
|
+
message = response['Response']['Error']['Message']
|
1423
|
+
reqid = response['Response']['RequestId']
|
1424
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1425
|
+
end
|
1426
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1427
|
+
raise e
|
1428
|
+
rescue StandardError => e
|
1429
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1430
|
+
end
|
1431
|
+
|
1384
1432
|
# 风险项页面--查看评估模版详情
|
1385
1433
|
|
1386
1434
|
# @param request: Request instance for DescribeDSPAAssessmentRiskTemplateDetail.
|
data/lib/v20190723/models.rb
CHANGED
@@ -160,10 +160,13 @@ module TencentCloud
|
|
160
160
|
# @param RiskType: 风险类型
|
161
161
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
162
162
|
# @type RiskType: String
|
163
|
+
# @param RiskSide: 风险面
|
164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
165
|
+
# @type RiskSide: String
|
163
166
|
|
164
|
-
attr_accessor :RiskId, :RiskDescription, :TemplateId, :TemplateName, :ControlItemId, :ControlItemName, :ControlItemDesc, :RiskLevel, :RiskMitigation, :Status, :CreatedTime, :RiskOwner, :RelatedAsset, :DataSourceId, :DataSourceName, :AssetName, :SecurityProduct, :RiskType
|
167
|
+
attr_accessor :RiskId, :RiskDescription, :TemplateId, :TemplateName, :ControlItemId, :ControlItemName, :ControlItemDesc, :RiskLevel, :RiskMitigation, :Status, :CreatedTime, :RiskOwner, :RelatedAsset, :DataSourceId, :DataSourceName, :AssetName, :SecurityProduct, :RiskType, :RiskSide
|
165
168
|
|
166
|
-
def initialize(riskid=nil, riskdescription=nil, templateid=nil, templatename=nil, controlitemid=nil, controlitemname=nil, controlitemdesc=nil, risklevel=nil, riskmitigation=nil, status=nil, createdtime=nil, riskowner=nil, relatedasset=nil, datasourceid=nil, datasourcename=nil, assetname=nil, securityproduct=nil, risktype=nil)
|
169
|
+
def initialize(riskid=nil, riskdescription=nil, templateid=nil, templatename=nil, controlitemid=nil, controlitemname=nil, controlitemdesc=nil, risklevel=nil, riskmitigation=nil, status=nil, createdtime=nil, riskowner=nil, relatedasset=nil, datasourceid=nil, datasourcename=nil, assetname=nil, securityproduct=nil, risktype=nil, riskside=nil)
|
167
170
|
@RiskId = riskid
|
168
171
|
@RiskDescription = riskdescription
|
169
172
|
@TemplateId = templateid
|
@@ -182,6 +185,7 @@ module TencentCloud
|
|
182
185
|
@AssetName = assetname
|
183
186
|
@SecurityProduct = securityproduct
|
184
187
|
@RiskType = risktype
|
188
|
+
@RiskSide = riskside
|
185
189
|
end
|
186
190
|
|
187
191
|
def deserialize(params)
|
@@ -210,6 +214,7 @@ module TencentCloud
|
|
210
214
|
end
|
211
215
|
end
|
212
216
|
@RiskType = params['RiskType']
|
217
|
+
@RiskSide = params['RiskSide']
|
213
218
|
end
|
214
219
|
end
|
215
220
|
|
@@ -236,10 +241,16 @@ module TencentCloud
|
|
236
241
|
# @param SupportDataSource: 支持的数据源
|
237
242
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
238
243
|
# @type SupportDataSource: Array
|
244
|
+
# @param RiskSide: 风险面
|
245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
246
|
+
# @type RiskSide: String
|
247
|
+
# @param ReferTemplateList: 关联模版列表
|
248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
249
|
+
# @type ReferTemplateList: Array
|
239
250
|
|
240
|
-
attr_accessor :Id, :RiskName, :Level, :Description, :RiskType, :ReferTemplateCount, :SupportDataSource
|
251
|
+
attr_accessor :Id, :RiskName, :Level, :Description, :RiskType, :ReferTemplateCount, :SupportDataSource, :RiskSide, :ReferTemplateList
|
241
252
|
|
242
|
-
def initialize(id=nil, riskname=nil, level=nil, description=nil, risktype=nil, refertemplatecount=nil, supportdatasource=nil)
|
253
|
+
def initialize(id=nil, riskname=nil, level=nil, description=nil, risktype=nil, refertemplatecount=nil, supportdatasource=nil, riskside=nil, refertemplatelist=nil)
|
243
254
|
@Id = id
|
244
255
|
@RiskName = riskname
|
245
256
|
@Level = level
|
@@ -247,6 +258,8 @@ module TencentCloud
|
|
247
258
|
@RiskType = risktype
|
248
259
|
@ReferTemplateCount = refertemplatecount
|
249
260
|
@SupportDataSource = supportdatasource
|
261
|
+
@RiskSide = riskside
|
262
|
+
@ReferTemplateList = refertemplatelist
|
250
263
|
end
|
251
264
|
|
252
265
|
def deserialize(params)
|
@@ -257,6 +270,15 @@ module TencentCloud
|
|
257
270
|
@RiskType = params['RiskType']
|
258
271
|
@ReferTemplateCount = params['ReferTemplateCount']
|
259
272
|
@SupportDataSource = params['SupportDataSource']
|
273
|
+
@RiskSide = params['RiskSide']
|
274
|
+
unless params['ReferTemplateList'].nil?
|
275
|
+
@ReferTemplateList = []
|
276
|
+
params['ReferTemplateList'].each do |i|
|
277
|
+
templateinfo_tmp = TemplateInfo.new
|
278
|
+
templateinfo_tmp.deserialize(i)
|
279
|
+
@ReferTemplateList << templateinfo_tmp
|
280
|
+
end
|
281
|
+
end
|
260
282
|
end
|
261
283
|
end
|
262
284
|
|
@@ -379,10 +401,13 @@ module TencentCloud
|
|
379
401
|
# @param SupportDataSource: 支持的数据源类型
|
380
402
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
381
403
|
# @type SupportDataSource: Array
|
404
|
+
# @param IsASMTemplate: 是否包含攻击面风险
|
405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
406
|
+
# @type IsASMTemplate: Boolean
|
382
407
|
|
383
|
-
attr_accessor :Id, :TemplateId, :TemplateName, :Description, :Source, :UseType, :CreatedTime, :ControlItemCount, :AppliedItemCount, :Status, :SupportDataSource
|
408
|
+
attr_accessor :Id, :TemplateId, :TemplateName, :Description, :Source, :UseType, :CreatedTime, :ControlItemCount, :AppliedItemCount, :Status, :SupportDataSource, :IsASMTemplate
|
384
409
|
|
385
|
-
def initialize(id=nil, templateid=nil, templatename=nil, description=nil, source=nil, usetype=nil, createdtime=nil, controlitemcount=nil, applieditemcount=nil, status=nil, supportdatasource=nil)
|
410
|
+
def initialize(id=nil, templateid=nil, templatename=nil, description=nil, source=nil, usetype=nil, createdtime=nil, controlitemcount=nil, applieditemcount=nil, status=nil, supportdatasource=nil, isasmtemplate=nil)
|
386
411
|
@Id = id
|
387
412
|
@TemplateId = templateid
|
388
413
|
@TemplateName = templatename
|
@@ -394,6 +419,7 @@ module TencentCloud
|
|
394
419
|
@AppliedItemCount = applieditemcount
|
395
420
|
@Status = status
|
396
421
|
@SupportDataSource = supportdatasource
|
422
|
+
@IsASMTemplate = isasmtemplate
|
397
423
|
end
|
398
424
|
|
399
425
|
def deserialize(params)
|
@@ -408,6 +434,7 @@ module TencentCloud
|
|
408
434
|
@AppliedItemCount = params['AppliedItemCount']
|
409
435
|
@Status = params['Status']
|
410
436
|
@SupportDataSource = params['SupportDataSource']
|
437
|
+
@IsASMTemplate = params['IsASMTemplate']
|
411
438
|
end
|
412
439
|
end
|
413
440
|
|
@@ -1343,8 +1370,6 @@ module TencentCloud
|
|
1343
1370
|
# @type Name: String
|
1344
1371
|
# @param TemplateId: 评估模版Id,格式“template-xxxxxxxx”
|
1345
1372
|
# @type TemplateId: String
|
1346
|
-
# @param DiscoveryCondition: 敏感数据扫描数据源条件。
|
1347
|
-
# @type DiscoveryCondition: :class:`Tencentcloud::Dsgc.v20190723.models.DiscoveryCondition`
|
1348
1373
|
# @param BusinessName: 评估业务名称。1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字
|
1349
1374
|
# @type BusinessName: String
|
1350
1375
|
# @param BusinessDept: 业务所属部门。1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字
|
@@ -1353,10 +1378,12 @@ module TencentCloud
|
|
1353
1378
|
# @type BusinessOwner: String
|
1354
1379
|
# @param ComplianceId: 分类分级模版Id
|
1355
1380
|
# @type ComplianceId: Integer
|
1381
|
+
# @param DiscoveryCondition: 敏感数据扫描数据源条件。
|
1382
|
+
# @type DiscoveryCondition: :class:`Tencentcloud::Dsgc.v20190723.models.DiscoveryCondition`
|
1356
1383
|
# @param Description: 说明
|
1357
1384
|
# @type Description: String
|
1358
1385
|
|
1359
|
-
attr_accessor :DspaId, :Name, :TemplateId, :
|
1386
|
+
attr_accessor :DspaId, :Name, :TemplateId, :BusinessName, :BusinessDept, :BusinessOwner, :ComplianceId, :DiscoveryCondition, :Description
|
1360
1387
|
extend Gem::Deprecate
|
1361
1388
|
deprecate :BusinessName, :none, 2023, 8
|
1362
1389
|
deprecate :BusinessName=, :none, 2023, 8
|
@@ -1365,15 +1392,15 @@ module TencentCloud
|
|
1365
1392
|
deprecate :BusinessOwner, :none, 2023, 8
|
1366
1393
|
deprecate :BusinessOwner=, :none, 2023, 8
|
1367
1394
|
|
1368
|
-
def initialize(dspaid=nil, name=nil, templateid=nil,
|
1395
|
+
def initialize(dspaid=nil, name=nil, templateid=nil, businessname=nil, businessdept=nil, businessowner=nil, complianceid=nil, discoverycondition=nil, description=nil)
|
1369
1396
|
@DspaId = dspaid
|
1370
1397
|
@Name = name
|
1371
1398
|
@TemplateId = templateid
|
1372
|
-
@DiscoveryCondition = discoverycondition
|
1373
1399
|
@BusinessName = businessname
|
1374
1400
|
@BusinessDept = businessdept
|
1375
1401
|
@BusinessOwner = businessowner
|
1376
1402
|
@ComplianceId = complianceid
|
1403
|
+
@DiscoveryCondition = discoverycondition
|
1377
1404
|
@Description = description
|
1378
1405
|
end
|
1379
1406
|
|
@@ -1381,14 +1408,14 @@ module TencentCloud
|
|
1381
1408
|
@DspaId = params['DspaId']
|
1382
1409
|
@Name = params['Name']
|
1383
1410
|
@TemplateId = params['TemplateId']
|
1384
|
-
unless params['DiscoveryCondition'].nil?
|
1385
|
-
@DiscoveryCondition = DiscoveryCondition.new
|
1386
|
-
@DiscoveryCondition.deserialize(params['DiscoveryCondition'])
|
1387
|
-
end
|
1388
1411
|
@BusinessName = params['BusinessName']
|
1389
1412
|
@BusinessDept = params['BusinessDept']
|
1390
1413
|
@BusinessOwner = params['BusinessOwner']
|
1391
1414
|
@ComplianceId = params['ComplianceId']
|
1415
|
+
unless params['DiscoveryCondition'].nil?
|
1416
|
+
@DiscoveryCondition = DiscoveryCondition.new
|
1417
|
+
@DiscoveryCondition.deserialize(params['DiscoveryCondition'])
|
1418
|
+
end
|
1392
1419
|
@Description = params['Description']
|
1393
1420
|
end
|
1394
1421
|
end
|
@@ -3458,17 +3485,22 @@ module TencentCloud
|
|
3458
3485
|
# @type DspaId: String
|
3459
3486
|
# @param TemplateId: 评估模版id
|
3460
3487
|
# @type TemplateId: Integer
|
3488
|
+
# @param Filter: 过滤条件, rdb(数据库)cos(对象存储)
|
3489
|
+
# 不传就是全部
|
3490
|
+
# @type Filter: String
|
3461
3491
|
|
3462
|
-
attr_accessor :DspaId, :TemplateId
|
3492
|
+
attr_accessor :DspaId, :TemplateId, :Filter
|
3463
3493
|
|
3464
|
-
def initialize(dspaid=nil, templateid=nil)
|
3494
|
+
def initialize(dspaid=nil, templateid=nil, filter=nil)
|
3465
3495
|
@DspaId = dspaid
|
3466
3496
|
@TemplateId = templateid
|
3497
|
+
@Filter = filter
|
3467
3498
|
end
|
3468
3499
|
|
3469
3500
|
def deserialize(params)
|
3470
3501
|
@DspaId = params['DspaId']
|
3471
3502
|
@TemplateId = params['TemplateId']
|
3503
|
+
@Filter = params['Filter']
|
3472
3504
|
end
|
3473
3505
|
end
|
3474
3506
|
|
@@ -3687,10 +3719,12 @@ module TencentCloud
|
|
3687
3719
|
# @type EndTime: String
|
3688
3720
|
# @param RiskLevel: 风险等级筛选
|
3689
3721
|
# @type RiskLevel: String
|
3722
|
+
# @param RiskSide: 风险面筛选
|
3723
|
+
# @type RiskSide: Array
|
3690
3724
|
|
3691
|
-
attr_accessor :DspaId, :TemplateId, :Limit, :Offset, :DataSourceId, :RiskType, :ControlItemId, :Status, :BeginTime, :EndTime, :RiskLevel
|
3725
|
+
attr_accessor :DspaId, :TemplateId, :Limit, :Offset, :DataSourceId, :RiskType, :ControlItemId, :Status, :BeginTime, :EndTime, :RiskLevel, :RiskSide
|
3692
3726
|
|
3693
|
-
def initialize(dspaid=nil, templateid=nil, limit=nil, offset=nil, datasourceid=nil, risktype=nil, controlitemid=nil, status=nil, begintime=nil, endtime=nil, risklevel=nil)
|
3727
|
+
def initialize(dspaid=nil, templateid=nil, limit=nil, offset=nil, datasourceid=nil, risktype=nil, controlitemid=nil, status=nil, begintime=nil, endtime=nil, risklevel=nil, riskside=nil)
|
3694
3728
|
@DspaId = dspaid
|
3695
3729
|
@TemplateId = templateid
|
3696
3730
|
@Limit = limit
|
@@ -3702,6 +3736,7 @@ module TencentCloud
|
|
3702
3736
|
@BeginTime = begintime
|
3703
3737
|
@EndTime = endtime
|
3704
3738
|
@RiskLevel = risklevel
|
3739
|
+
@RiskSide = riskside
|
3705
3740
|
end
|
3706
3741
|
|
3707
3742
|
def deserialize(params)
|
@@ -3716,6 +3751,7 @@ module TencentCloud
|
|
3716
3751
|
@BeginTime = params['BeginTime']
|
3717
3752
|
@EndTime = params['EndTime']
|
3718
3753
|
@RiskLevel = params['RiskLevel']
|
3754
|
+
@RiskSide = params['RiskSide']
|
3719
3755
|
end
|
3720
3756
|
end
|
3721
3757
|
|
@@ -4093,17 +4129,22 @@ module TencentCloud
|
|
4093
4129
|
# @type DspaId: String
|
4094
4130
|
# @param TemplateId: 评估模版id
|
4095
4131
|
# @type TemplateId: Integer
|
4132
|
+
# @param Filter: 风险资产分布的过滤条件
|
4133
|
+
# (rdb,cos,不传就筛选全部)
|
4134
|
+
# @type Filter: String
|
4096
4135
|
|
4097
|
-
attr_accessor :DspaId, :TemplateId
|
4136
|
+
attr_accessor :DspaId, :TemplateId, :Filter
|
4098
4137
|
|
4099
|
-
def initialize(dspaid=nil, templateid=nil)
|
4138
|
+
def initialize(dspaid=nil, templateid=nil, filter=nil)
|
4100
4139
|
@DspaId = dspaid
|
4101
4140
|
@TemplateId = templateid
|
4141
|
+
@Filter = filter
|
4102
4142
|
end
|
4103
4143
|
|
4104
4144
|
def deserialize(params)
|
4105
4145
|
@DspaId = params['DspaId']
|
4106
4146
|
@TemplateId = params['TemplateId']
|
4147
|
+
@Filter = params['Filter']
|
4107
4148
|
end
|
4108
4149
|
end
|
4109
4150
|
|
@@ -4477,6 +4518,102 @@ module TencentCloud
|
|
4477
4518
|
end
|
4478
4519
|
end
|
4479
4520
|
|
4521
|
+
# DescribeDSPAAssessmentRiskSideDistributed请求参数结构体
|
4522
|
+
class DescribeDSPAAssessmentRiskSideDistributedRequest < TencentCloud::Common::AbstractModel
|
4523
|
+
# @param DspaId: DSPA实例ID
|
4524
|
+
# @type DspaId: String
|
4525
|
+
# @param TemplateId: 评估模版id
|
4526
|
+
# @type TemplateId: Integer
|
4527
|
+
|
4528
|
+
attr_accessor :DspaId, :TemplateId
|
4529
|
+
|
4530
|
+
def initialize(dspaid=nil, templateid=nil)
|
4531
|
+
@DspaId = dspaid
|
4532
|
+
@TemplateId = templateid
|
4533
|
+
end
|
4534
|
+
|
4535
|
+
def deserialize(params)
|
4536
|
+
@DspaId = params['DspaId']
|
4537
|
+
@TemplateId = params['TemplateId']
|
4538
|
+
end
|
4539
|
+
end
|
4540
|
+
|
4541
|
+
# DescribeDSPAAssessmentRiskSideDistributed返回参数结构体
|
4542
|
+
class DescribeDSPAAssessmentRiskSideDistributedResponse < TencentCloud::Common::AbstractModel
|
4543
|
+
# @param RiskSideDistributed: 风险面的分布
|
4544
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4545
|
+
# @type RiskSideDistributed: Array
|
4546
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4547
|
+
# @type RequestId: String
|
4548
|
+
|
4549
|
+
attr_accessor :RiskSideDistributed, :RequestId
|
4550
|
+
|
4551
|
+
def initialize(risksidedistributed=nil, requestid=nil)
|
4552
|
+
@RiskSideDistributed = risksidedistributed
|
4553
|
+
@RequestId = requestid
|
4554
|
+
end
|
4555
|
+
|
4556
|
+
def deserialize(params)
|
4557
|
+
unless params['RiskSideDistributed'].nil?
|
4558
|
+
@RiskSideDistributed = []
|
4559
|
+
params['RiskSideDistributed'].each do |i|
|
4560
|
+
risksidedistributed_tmp = RiskSideDistributed.new
|
4561
|
+
risksidedistributed_tmp.deserialize(i)
|
4562
|
+
@RiskSideDistributed << risksidedistributed_tmp
|
4563
|
+
end
|
4564
|
+
end
|
4565
|
+
@RequestId = params['RequestId']
|
4566
|
+
end
|
4567
|
+
end
|
4568
|
+
|
4569
|
+
# DescribeDSPAAssessmentRiskSideList请求参数结构体
|
4570
|
+
class DescribeDSPAAssessmentRiskSideListRequest < TencentCloud::Common::AbstractModel
|
4571
|
+
# @param DspaId: DSPA实例ID
|
4572
|
+
# @type DspaId: String
|
4573
|
+
# @param TemplateId: 评估模版id
|
4574
|
+
# @type TemplateId: Integer
|
4575
|
+
|
4576
|
+
attr_accessor :DspaId, :TemplateId
|
4577
|
+
|
4578
|
+
def initialize(dspaid=nil, templateid=nil)
|
4579
|
+
@DspaId = dspaid
|
4580
|
+
@TemplateId = templateid
|
4581
|
+
end
|
4582
|
+
|
4583
|
+
def deserialize(params)
|
4584
|
+
@DspaId = params['DspaId']
|
4585
|
+
@TemplateId = params['TemplateId']
|
4586
|
+
end
|
4587
|
+
end
|
4588
|
+
|
4589
|
+
# DescribeDSPAAssessmentRiskSideList返回参数结构体
|
4590
|
+
class DescribeDSPAAssessmentRiskSideListResponse < TencentCloud::Common::AbstractModel
|
4591
|
+
# @param RiskSideItmeList: 风险面列表
|
4592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4593
|
+
# @type RiskSideItmeList: Array
|
4594
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4595
|
+
# @type RequestId: String
|
4596
|
+
|
4597
|
+
attr_accessor :RiskSideItmeList, :RequestId
|
4598
|
+
|
4599
|
+
def initialize(risksideitmelist=nil, requestid=nil)
|
4600
|
+
@RiskSideItmeList = risksideitmelist
|
4601
|
+
@RequestId = requestid
|
4602
|
+
end
|
4603
|
+
|
4604
|
+
def deserialize(params)
|
4605
|
+
unless params['RiskSideItmeList'].nil?
|
4606
|
+
@RiskSideItmeList = []
|
4607
|
+
params['RiskSideItmeList'].each do |i|
|
4608
|
+
note_tmp = Note.new
|
4609
|
+
note_tmp.deserialize(i)
|
4610
|
+
@RiskSideItmeList << note_tmp
|
4611
|
+
end
|
4612
|
+
end
|
4613
|
+
@RequestId = params['RequestId']
|
4614
|
+
end
|
4615
|
+
end
|
4616
|
+
|
4480
4617
|
# DescribeDSPAAssessmentRiskTemplateDetail请求参数结构体
|
4481
4618
|
class DescribeDSPAAssessmentRiskTemplateDetailRequest < TencentCloud::Common::AbstractModel
|
4482
4619
|
# @param DspaId: dspa实例id
|
@@ -4576,15 +4713,18 @@ module TencentCloud
|
|
4576
4713
|
# @type RiskType: String
|
4577
4714
|
# @param RiskName: 风险名称
|
4578
4715
|
# @type RiskName: String
|
4716
|
+
# @param RiskSide: 风险面
|
4717
|
+
# @type RiskSide: String
|
4579
4718
|
|
4580
|
-
attr_accessor :DspaId, :Limit, :Offset, :RiskType, :RiskName
|
4719
|
+
attr_accessor :DspaId, :Limit, :Offset, :RiskType, :RiskName, :RiskSide
|
4581
4720
|
|
4582
|
-
def initialize(dspaid=nil, limit=nil, offset=nil, risktype=nil, riskname=nil)
|
4721
|
+
def initialize(dspaid=nil, limit=nil, offset=nil, risktype=nil, riskname=nil, riskside=nil)
|
4583
4722
|
@DspaId = dspaid
|
4584
4723
|
@Limit = limit
|
4585
4724
|
@Offset = offset
|
4586
4725
|
@RiskType = risktype
|
4587
4726
|
@RiskName = riskname
|
4727
|
+
@RiskSide = riskside
|
4588
4728
|
end
|
4589
4729
|
|
4590
4730
|
def deserialize(params)
|
@@ -4593,6 +4733,7 @@ module TencentCloud
|
|
4593
4733
|
@Offset = params['Offset']
|
4594
4734
|
@RiskType = params['RiskType']
|
4595
4735
|
@RiskName = params['RiskName']
|
4736
|
+
@RiskSide = params['RiskSide']
|
4596
4737
|
end
|
4597
4738
|
end
|
4598
4739
|
|
@@ -6390,10 +6531,12 @@ module TencentCloud
|
|
6390
6531
|
# @type CategoryIdList: Array
|
6391
6532
|
# @param LevelId: 敏感数据分级ID
|
6392
6533
|
# @type LevelId: Integer
|
6534
|
+
# @param DbName: 索引名称
|
6535
|
+
# @type DbName: String
|
6393
6536
|
|
6394
|
-
attr_accessor :DspaId, :TaskId, :ComplianceId, :Offset, :Limit, :CategoryIdList, :LevelId
|
6537
|
+
attr_accessor :DspaId, :TaskId, :ComplianceId, :Offset, :Limit, :CategoryIdList, :LevelId, :DbName
|
6395
6538
|
|
6396
|
-
def initialize(dspaid=nil, taskid=nil, complianceid=nil, offset=nil, limit=nil, categoryidlist=nil, levelid=nil)
|
6539
|
+
def initialize(dspaid=nil, taskid=nil, complianceid=nil, offset=nil, limit=nil, categoryidlist=nil, levelid=nil, dbname=nil)
|
6397
6540
|
@DspaId = dspaid
|
6398
6541
|
@TaskId = taskid
|
6399
6542
|
@ComplianceId = complianceid
|
@@ -6401,6 +6544,7 @@ module TencentCloud
|
|
6401
6544
|
@Limit = limit
|
6402
6545
|
@CategoryIdList = categoryidlist
|
6403
6546
|
@LevelId = levelid
|
6547
|
+
@DbName = dbname
|
6404
6548
|
end
|
6405
6549
|
|
6406
6550
|
def deserialize(params)
|
@@ -6411,6 +6555,7 @@ module TencentCloud
|
|
6411
6555
|
@Limit = params['Limit']
|
6412
6556
|
@CategoryIdList = params['CategoryIdList']
|
6413
6557
|
@LevelId = params['LevelId']
|
6558
|
+
@DbName = params['DbName']
|
6414
6559
|
end
|
6415
6560
|
end
|
6416
6561
|
|
@@ -9651,10 +9796,13 @@ module TencentCloud
|
|
9651
9796
|
# @param LevelName: 分级名称
|
9652
9797
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9653
9798
|
# @type LevelName: String
|
9799
|
+
# @param LevelRiskScore: 分级分数
|
9800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9801
|
+
# @type LevelRiskScore: Integer
|
9654
9802
|
|
9655
|
-
attr_accessor :Id, :TaskId, :FieldName, :RuleId, :RuleName, :CategoryId, :CategoryName, :CategoryArr, :LevelId, :LevelName
|
9803
|
+
attr_accessor :Id, :TaskId, :FieldName, :RuleId, :RuleName, :CategoryId, :CategoryName, :CategoryArr, :LevelId, :LevelName, :LevelRiskScore
|
9656
9804
|
|
9657
|
-
def initialize(id=nil, taskid=nil, fieldname=nil, ruleid=nil, rulename=nil, categoryid=nil, categoryname=nil, categoryarr=nil, levelid=nil, levelname=nil)
|
9805
|
+
def initialize(id=nil, taskid=nil, fieldname=nil, ruleid=nil, rulename=nil, categoryid=nil, categoryname=nil, categoryarr=nil, levelid=nil, levelname=nil, levelriskscore=nil)
|
9658
9806
|
@Id = id
|
9659
9807
|
@TaskId = taskid
|
9660
9808
|
@FieldName = fieldname
|
@@ -9665,6 +9813,7 @@ module TencentCloud
|
|
9665
9813
|
@CategoryArr = categoryarr
|
9666
9814
|
@LevelId = levelid
|
9667
9815
|
@LevelName = levelname
|
9816
|
+
@LevelRiskScore = levelriskscore
|
9668
9817
|
end
|
9669
9818
|
|
9670
9819
|
def deserialize(params)
|
@@ -9678,6 +9827,7 @@ module TencentCloud
|
|
9678
9827
|
@CategoryArr = params['CategoryArr']
|
9679
9828
|
@LevelId = params['LevelId']
|
9680
9829
|
@LevelName = params['LevelName']
|
9830
|
+
@LevelRiskScore = params['LevelRiskScore']
|
9681
9831
|
end
|
9682
9832
|
end
|
9683
9833
|
|
@@ -10017,6 +10167,12 @@ module TencentCloud
|
|
10017
10167
|
# @param InstanceId: 实例id
|
10018
10168
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10019
10169
|
# @type InstanceId: String
|
10170
|
+
# @param DataSourceType: 数据源类型
|
10171
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10172
|
+
# @type DataSourceType: String
|
10173
|
+
# @param DataSourceName: 数据源名称
|
10174
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10175
|
+
# @type DataSourceName: String
|
10020
10176
|
# @param AssetsName: 资产对象名称
|
10021
10177
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10022
10178
|
# @type AssetsName: String
|
@@ -10029,23 +10185,37 @@ module TencentCloud
|
|
10029
10185
|
# @param TotalRiskCount: 总的风险个数
|
10030
10186
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10031
10187
|
# @type TotalRiskCount: Integer
|
10188
|
+
# @param RiskSide: 风险面
|
10189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10190
|
+
# @type RiskSide: String
|
10191
|
+
# @param ResourceRegion: 地域
|
10192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10193
|
+
# @type ResourceRegion: String
|
10032
10194
|
|
10033
|
-
attr_accessor :InstanceId, :AssetsName, :HighRiskCount, :RiskType, :TotalRiskCount
|
10195
|
+
attr_accessor :InstanceId, :DataSourceType, :DataSourceName, :AssetsName, :HighRiskCount, :RiskType, :TotalRiskCount, :RiskSide, :ResourceRegion
|
10034
10196
|
|
10035
|
-
def initialize(instanceid=nil, assetsname=nil, highriskcount=nil, risktype=nil, totalriskcount=nil)
|
10197
|
+
def initialize(instanceid=nil, datasourcetype=nil, datasourcename=nil, assetsname=nil, highriskcount=nil, risktype=nil, totalriskcount=nil, riskside=nil, resourceregion=nil)
|
10036
10198
|
@InstanceId = instanceid
|
10199
|
+
@DataSourceType = datasourcetype
|
10200
|
+
@DataSourceName = datasourcename
|
10037
10201
|
@AssetsName = assetsname
|
10038
10202
|
@HighRiskCount = highriskcount
|
10039
10203
|
@RiskType = risktype
|
10040
10204
|
@TotalRiskCount = totalriskcount
|
10205
|
+
@RiskSide = riskside
|
10206
|
+
@ResourceRegion = resourceregion
|
10041
10207
|
end
|
10042
10208
|
|
10043
10209
|
def deserialize(params)
|
10044
10210
|
@InstanceId = params['InstanceId']
|
10211
|
+
@DataSourceType = params['DataSourceType']
|
10212
|
+
@DataSourceName = params['DataSourceName']
|
10045
10213
|
@AssetsName = params['AssetsName']
|
10046
10214
|
@HighRiskCount = params['HighRiskCount']
|
10047
10215
|
@RiskType = params['RiskType']
|
10048
10216
|
@TotalRiskCount = params['TotalRiskCount']
|
10217
|
+
@RiskSide = params['RiskSide']
|
10218
|
+
@ResourceRegion = params['ResourceRegion']
|
10049
10219
|
end
|
10050
10220
|
end
|
10051
10221
|
|
@@ -10402,15 +10572,21 @@ module TencentCloud
|
|
10402
10572
|
# @type Note: String
|
10403
10573
|
# @param ProcessPeople: 处置人
|
10404
10574
|
# @type ProcessPeople: String
|
10575
|
+
# @param BathRiskIdList: 批量处理的列表
|
10576
|
+
# @type BathRiskIdList: Array
|
10405
10577
|
|
10406
|
-
attr_accessor :DspaId, :RiskLatestTableId, :Status, :Note, :ProcessPeople
|
10578
|
+
attr_accessor :DspaId, :RiskLatestTableId, :Status, :Note, :ProcessPeople, :BathRiskIdList
|
10579
|
+
extend Gem::Deprecate
|
10580
|
+
deprecate :RiskLatestTableId, :none, 2023, 8
|
10581
|
+
deprecate :RiskLatestTableId=, :none, 2023, 8
|
10407
10582
|
|
10408
|
-
def initialize(dspaid=nil, risklatesttableid=nil, status=nil, note=nil, processpeople=nil)
|
10583
|
+
def initialize(dspaid=nil, risklatesttableid=nil, status=nil, note=nil, processpeople=nil, bathriskidlist=nil)
|
10409
10584
|
@DspaId = dspaid
|
10410
10585
|
@RiskLatestTableId = risklatesttableid
|
10411
10586
|
@Status = status
|
10412
10587
|
@Note = note
|
10413
10588
|
@ProcessPeople = processpeople
|
10589
|
+
@BathRiskIdList = bathriskidlist
|
10414
10590
|
end
|
10415
10591
|
|
10416
10592
|
def deserialize(params)
|
@@ -10419,6 +10595,7 @@ module TencentCloud
|
|
10419
10595
|
@Status = params['Status']
|
10420
10596
|
@Note = params['Note']
|
10421
10597
|
@ProcessPeople = params['ProcessPeople']
|
10598
|
+
@BathRiskIdList = params['BathRiskIdList']
|
10422
10599
|
end
|
10423
10600
|
end
|
10424
10601
|
|
@@ -11846,17 +12023,22 @@ module TencentCloud
|
|
11846
12023
|
# @type RiskLevel: String
|
11847
12024
|
# @param Count: 该等级风险项数量
|
11848
12025
|
# @type Count: Integer
|
12026
|
+
# @param RiskLevelName: 风险等级名称
|
12027
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12028
|
+
# @type RiskLevelName: String
|
11849
12029
|
|
11850
|
-
attr_accessor :RiskLevel, :Count
|
12030
|
+
attr_accessor :RiskLevel, :Count, :RiskLevelName
|
11851
12031
|
|
11852
|
-
def initialize(risklevel=nil, count=nil)
|
12032
|
+
def initialize(risklevel=nil, count=nil, risklevelname=nil)
|
11853
12033
|
@RiskLevel = risklevel
|
11854
12034
|
@Count = count
|
12035
|
+
@RiskLevelName = risklevelname
|
11855
12036
|
end
|
11856
12037
|
|
11857
12038
|
def deserialize(params)
|
11858
12039
|
@RiskLevel = params['RiskLevel']
|
11859
12040
|
@Count = params['Count']
|
12041
|
+
@RiskLevelName = params['RiskLevelName']
|
11860
12042
|
end
|
11861
12043
|
end
|
11862
12044
|
|
@@ -11922,6 +12104,9 @@ module TencentCloud
|
|
11922
12104
|
# @param DataSourceType: 数据源类型
|
11923
12105
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11924
12106
|
# @type DataSourceType: String
|
12107
|
+
# @param ResourceRegion: 资源地域
|
12108
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12109
|
+
# @type ResourceRegion: String
|
11925
12110
|
# @param AssetName: 资产名称
|
11926
12111
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11927
12112
|
# @type AssetName: String
|
@@ -11958,14 +12143,18 @@ module TencentCloud
|
|
11958
12143
|
# @param ItemSubType: 类型
|
11959
12144
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11960
12145
|
# @type ItemSubType: String
|
12146
|
+
# @param RiskSide: 风险面
|
12147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12148
|
+
# @type RiskSide: String
|
11961
12149
|
|
11962
|
-
attr_accessor :Id, :DataSourceId, :DataSourceName, :DataSourceType, :AssetName, :RiskType, :RiskName, :RiskLevel, :RiskDescription, :SuggestAction, :SecurityProduct, :Status, :ScanTime, :LastProcessTime, :IdentifyComplianceId, :ItemSubType
|
12150
|
+
attr_accessor :Id, :DataSourceId, :DataSourceName, :DataSourceType, :ResourceRegion, :AssetName, :RiskType, :RiskName, :RiskLevel, :RiskDescription, :SuggestAction, :SecurityProduct, :Status, :ScanTime, :LastProcessTime, :IdentifyComplianceId, :ItemSubType, :RiskSide
|
11963
12151
|
|
11964
|
-
def initialize(id=nil, datasourceid=nil, datasourcename=nil, datasourcetype=nil, assetname=nil, risktype=nil, riskname=nil, risklevel=nil, riskdescription=nil, suggestaction=nil, securityproduct=nil, status=nil, scantime=nil, lastprocesstime=nil, identifycomplianceid=nil, itemsubtype=nil)
|
12152
|
+
def initialize(id=nil, datasourceid=nil, datasourcename=nil, datasourcetype=nil, resourceregion=nil, assetname=nil, risktype=nil, riskname=nil, risklevel=nil, riskdescription=nil, suggestaction=nil, securityproduct=nil, status=nil, scantime=nil, lastprocesstime=nil, identifycomplianceid=nil, itemsubtype=nil, riskside=nil)
|
11965
12153
|
@Id = id
|
11966
12154
|
@DataSourceId = datasourceid
|
11967
12155
|
@DataSourceName = datasourcename
|
11968
12156
|
@DataSourceType = datasourcetype
|
12157
|
+
@ResourceRegion = resourceregion
|
11969
12158
|
@AssetName = assetname
|
11970
12159
|
@RiskType = risktype
|
11971
12160
|
@RiskName = riskname
|
@@ -11978,6 +12167,7 @@ module TencentCloud
|
|
11978
12167
|
@LastProcessTime = lastprocesstime
|
11979
12168
|
@IdentifyComplianceId = identifycomplianceid
|
11980
12169
|
@ItemSubType = itemsubtype
|
12170
|
+
@RiskSide = riskside
|
11981
12171
|
end
|
11982
12172
|
|
11983
12173
|
def deserialize(params)
|
@@ -11985,6 +12175,7 @@ module TencentCloud
|
|
11985
12175
|
@DataSourceId = params['DataSourceId']
|
11986
12176
|
@DataSourceName = params['DataSourceName']
|
11987
12177
|
@DataSourceType = params['DataSourceType']
|
12178
|
+
@ResourceRegion = params['ResourceRegion']
|
11988
12179
|
@AssetName = params['AssetName']
|
11989
12180
|
@RiskType = params['RiskType']
|
11990
12181
|
@RiskName = params['RiskName']
|
@@ -12004,6 +12195,7 @@ module TencentCloud
|
|
12004
12195
|
@LastProcessTime = params['LastProcessTime']
|
12005
12196
|
@IdentifyComplianceId = params['IdentifyComplianceId']
|
12006
12197
|
@ItemSubType = params['ItemSubType']
|
12198
|
+
@RiskSide = params['RiskSide']
|
12007
12199
|
end
|
12008
12200
|
end
|
12009
12201
|
|
@@ -12140,6 +12332,38 @@ module TencentCloud
|
|
12140
12332
|
end
|
12141
12333
|
end
|
12142
12334
|
|
12335
|
+
# 风险面的分布
|
12336
|
+
class RiskSideDistributed < TencentCloud::Common::AbstractModel
|
12337
|
+
# @param AssessmentRiskSide: 风险面
|
12338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12339
|
+
# @type AssessmentRiskSide: :class:`Tencentcloud::Dsgc.v20190723.models.Note`
|
12340
|
+
# @param AssessmentRisk: 风险类型
|
12341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12342
|
+
# @type AssessmentRisk: Array
|
12343
|
+
|
12344
|
+
attr_accessor :AssessmentRiskSide, :AssessmentRisk
|
12345
|
+
|
12346
|
+
def initialize(assessmentriskside=nil, assessmentrisk=nil)
|
12347
|
+
@AssessmentRiskSide = assessmentriskside
|
12348
|
+
@AssessmentRisk = assessmentrisk
|
12349
|
+
end
|
12350
|
+
|
12351
|
+
def deserialize(params)
|
12352
|
+
unless params['AssessmentRiskSide'].nil?
|
12353
|
+
@AssessmentRiskSide = Note.new
|
12354
|
+
@AssessmentRiskSide.deserialize(params['AssessmentRiskSide'])
|
12355
|
+
end
|
12356
|
+
unless params['AssessmentRisk'].nil?
|
12357
|
+
@AssessmentRisk = []
|
12358
|
+
params['AssessmentRisk'].each do |i|
|
12359
|
+
note_tmp = Note.new
|
12360
|
+
note_tmp.deserialize(i)
|
12361
|
+
@AssessmentRisk << note_tmp
|
12362
|
+
end
|
12363
|
+
end
|
12364
|
+
end
|
12365
|
+
end
|
12366
|
+
|
12143
12367
|
# 数据资产报告-rdb的敏感数据规则分布
|
12144
12368
|
class RuleDistribution < TencentCloud::Common::AbstractModel
|
12145
12369
|
# @param RuleId: 规则id
|
@@ -12497,6 +12721,28 @@ module TencentCloud
|
|
12497
12721
|
end
|
12498
12722
|
end
|
12499
12723
|
|
12724
|
+
# 评估模版的详情数据
|
12725
|
+
class TemplateInfo < TencentCloud::Common::AbstractModel
|
12726
|
+
# @param TemplateId: 模版id
|
12727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12728
|
+
# @type TemplateId: Integer
|
12729
|
+
# @param TemplateName: 模版名称
|
12730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12731
|
+
# @type TemplateName: String
|
12732
|
+
|
12733
|
+
attr_accessor :TemplateId, :TemplateName
|
12734
|
+
|
12735
|
+
def initialize(templateid=nil, templatename=nil)
|
12736
|
+
@TemplateId = templateid
|
12737
|
+
@TemplateName = templatename
|
12738
|
+
end
|
12739
|
+
|
12740
|
+
def deserialize(params)
|
12741
|
+
@TemplateId = params['TemplateId']
|
12742
|
+
@TemplateName = params['TemplateName']
|
12743
|
+
end
|
12744
|
+
end
|
12745
|
+
|
12500
12746
|
# 数据资产报告-涉敏top的资产
|
12501
12747
|
class TopAsset < TencentCloud::Common::AbstractModel
|
12502
12748
|
# @param LevelName: 分级名称
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dsgc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.649
|
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-08-
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|