tencentcloud-sdk-csip 3.0.592 → 3.0.593

Sign up to get free protection for your applications and to get access to all the features.
@@ -212,6 +212,345 @@ module TencentCloud
212
212
  end
213
213
  end
214
214
 
215
+ # 集群pod列表
216
+ class AssetClusterPod < TencentCloud::Common::AbstractModel
217
+ # @param AppId: 租户id
218
+ # @type AppId: Integer
219
+ # @param Uin: 租户uin
220
+ # @type Uin: String
221
+ # @param Nick: 租户昵称
222
+ # @type Nick: String
223
+ # @param Region: 地域
224
+ # 注意:此字段可能返回 null,表示取不到有效值。
225
+ # @type Region: String
226
+ # @param AssetId: pod id
227
+ # @type AssetId: String
228
+ # @param AssetName: pod名称
229
+ # @type AssetName: String
230
+ # @param InstanceCreateTime: pod创建时间
231
+ # 注意:此字段可能返回 null,表示取不到有效值。
232
+ # @type InstanceCreateTime: String
233
+ # @param Namespace: 命名空间
234
+ # 注意:此字段可能返回 null,表示取不到有效值。
235
+ # @type Namespace: String
236
+ # @param Status: 状态
237
+ # 注意:此字段可能返回 null,表示取不到有效值。
238
+ # @type Status: String
239
+ # @param ClusterId: 集群id
240
+ # 注意:此字段可能返回 null,表示取不到有效值。
241
+ # @type ClusterId: String
242
+ # @param ClusterName: 集群名称
243
+ # 注意:此字段可能返回 null,表示取不到有效值。
244
+ # @type ClusterName: String
245
+ # @param MachineId: 主机id
246
+ # 注意:此字段可能返回 null,表示取不到有效值。
247
+ # @type MachineId: String
248
+ # @param MachineName: 主机名
249
+ # 注意:此字段可能返回 null,表示取不到有效值。
250
+ # @type MachineName: String
251
+ # @param PodIp: pod ip
252
+ # 注意:此字段可能返回 null,表示取不到有效值。
253
+ # @type PodIp: String
254
+ # @param ServiceCount: 关联service数
255
+ # 注意:此字段可能返回 null,表示取不到有效值。
256
+ # @type ServiceCount: Integer
257
+ # @param ContainerCount: 关联容器数
258
+ # 注意:此字段可能返回 null,表示取不到有效值。
259
+ # @type ContainerCount: Integer
260
+ # @param PublicIp: 公网ip
261
+ # 注意:此字段可能返回 null,表示取不到有效值。
262
+ # @type PublicIp: String
263
+ # @param PrivateIp: 内网ip
264
+ # 注意:此字段可能返回 null,表示取不到有效值。
265
+ # @type PrivateIp: String
266
+ # @param IsCore: 是否核心:1:核心,2:非核心
267
+ # 注意:此字段可能返回 null,表示取不到有效值。
268
+ # @type IsCore: Integer
269
+
270
+ attr_accessor :AppId, :Uin, :Nick, :Region, :AssetId, :AssetName, :InstanceCreateTime, :Namespace, :Status, :ClusterId, :ClusterName, :MachineId, :MachineName, :PodIp, :ServiceCount, :ContainerCount, :PublicIp, :PrivateIp, :IsCore
271
+
272
+ def initialize(appid=nil, uin=nil, nick=nil, region=nil, assetid=nil, assetname=nil, instancecreatetime=nil, namespace=nil, status=nil, clusterid=nil, clustername=nil, machineid=nil, machinename=nil, podip=nil, servicecount=nil, containercount=nil, publicip=nil, privateip=nil, iscore=nil)
273
+ @AppId = appid
274
+ @Uin = uin
275
+ @Nick = nick
276
+ @Region = region
277
+ @AssetId = assetid
278
+ @AssetName = assetname
279
+ @InstanceCreateTime = instancecreatetime
280
+ @Namespace = namespace
281
+ @Status = status
282
+ @ClusterId = clusterid
283
+ @ClusterName = clustername
284
+ @MachineId = machineid
285
+ @MachineName = machinename
286
+ @PodIp = podip
287
+ @ServiceCount = servicecount
288
+ @ContainerCount = containercount
289
+ @PublicIp = publicip
290
+ @PrivateIp = privateip
291
+ @IsCore = iscore
292
+ end
293
+
294
+ def deserialize(params)
295
+ @AppId = params['AppId']
296
+ @Uin = params['Uin']
297
+ @Nick = params['Nick']
298
+ @Region = params['Region']
299
+ @AssetId = params['AssetId']
300
+ @AssetName = params['AssetName']
301
+ @InstanceCreateTime = params['InstanceCreateTime']
302
+ @Namespace = params['Namespace']
303
+ @Status = params['Status']
304
+ @ClusterId = params['ClusterId']
305
+ @ClusterName = params['ClusterName']
306
+ @MachineId = params['MachineId']
307
+ @MachineName = params['MachineName']
308
+ @PodIp = params['PodIp']
309
+ @ServiceCount = params['ServiceCount']
310
+ @ContainerCount = params['ContainerCount']
311
+ @PublicIp = params['PublicIp']
312
+ @PrivateIp = params['PrivateIp']
313
+ @IsCore = params['IsCore']
314
+ end
315
+ end
316
+
317
+ # 资产视角的端口风险对象
318
+ class AssetViewPortRisk < TencentCloud::Common::AbstractModel
319
+ # @param Port: 端口
320
+ # @type Port: Integer
321
+ # @param AffectAsset: 影响资产
322
+ # @type AffectAsset: String
323
+ # @param Level: 风险等级
324
+ # @type Level: String
325
+ # @param InstanceType: 资产类型
326
+ # @type InstanceType: String
327
+ # @param Protocol: 协议
328
+ # @type Protocol: String
329
+ # @param Component: 组件
330
+ # @type Component: String
331
+ # @param Service: 服务
332
+ # @type Service: String
333
+ # @param RecentTime: 最近识别时间
334
+ # @type RecentTime: String
335
+ # @param FirstTime: 首次识别时间
336
+ # @type FirstTime: String
337
+ # @param Suggestion: 处置建议,0保持现状、1限制访问、2封禁端口
338
+ # @type Suggestion: Integer
339
+ # @param Status: 状态,0未处理、1已处置、2已忽略
340
+ # @type Status: Integer
341
+ # @param Id: 资产唯一id
342
+ # @type Id: String
343
+ # @param Index: 前端索引
344
+ # @type Index: String
345
+ # @param InstanceId: 实例id
346
+ # @type InstanceId: String
347
+ # @param InstanceName: 实例名
348
+ # @type InstanceName: String
349
+ # @param AppId: 用户appid
350
+ # @type AppId: String
351
+ # @param Nick: 用户昵称
352
+ # 注意:此字段可能返回 null,表示取不到有效值。
353
+ # @type Nick: String
354
+ # @param Uin: 用户uin
355
+ # 注意:此字段可能返回 null,表示取不到有效值。
356
+ # @type Uin: String
357
+ # @param From: 来源
358
+ # @type From: String
359
+
360
+ attr_accessor :Port, :AffectAsset, :Level, :InstanceType, :Protocol, :Component, :Service, :RecentTime, :FirstTime, :Suggestion, :Status, :Id, :Index, :InstanceId, :InstanceName, :AppId, :Nick, :Uin, :From
361
+
362
+ def initialize(port=nil, affectasset=nil, level=nil, instancetype=nil, protocol=nil, component=nil, service=nil, recenttime=nil, firsttime=nil, suggestion=nil, status=nil, id=nil, index=nil, instanceid=nil, instancename=nil, appid=nil, nick=nil, uin=nil, from=nil)
363
+ @Port = port
364
+ @AffectAsset = affectasset
365
+ @Level = level
366
+ @InstanceType = instancetype
367
+ @Protocol = protocol
368
+ @Component = component
369
+ @Service = service
370
+ @RecentTime = recenttime
371
+ @FirstTime = firsttime
372
+ @Suggestion = suggestion
373
+ @Status = status
374
+ @Id = id
375
+ @Index = index
376
+ @InstanceId = instanceid
377
+ @InstanceName = instancename
378
+ @AppId = appid
379
+ @Nick = nick
380
+ @Uin = uin
381
+ @From = from
382
+ end
383
+
384
+ def deserialize(params)
385
+ @Port = params['Port']
386
+ @AffectAsset = params['AffectAsset']
387
+ @Level = params['Level']
388
+ @InstanceType = params['InstanceType']
389
+ @Protocol = params['Protocol']
390
+ @Component = params['Component']
391
+ @Service = params['Service']
392
+ @RecentTime = params['RecentTime']
393
+ @FirstTime = params['FirstTime']
394
+ @Suggestion = params['Suggestion']
395
+ @Status = params['Status']
396
+ @Id = params['Id']
397
+ @Index = params['Index']
398
+ @InstanceId = params['InstanceId']
399
+ @InstanceName = params['InstanceName']
400
+ @AppId = params['AppId']
401
+ @Nick = params['Nick']
402
+ @Uin = params['Uin']
403
+ @From = params['From']
404
+ end
405
+ end
406
+
407
+ # 资产视角的漏洞风险对象
408
+ class AssetViewVULRisk < TencentCloud::Common::AbstractModel
409
+ # @param AffectAsset: 影响资产
410
+ # @type AffectAsset: String
411
+ # @param Level: 风险等级
412
+ # @type Level: String
413
+ # @param InstanceType: 资产类型
414
+ # @type InstanceType: String
415
+ # @param Component: 组件
416
+ # @type Component: String
417
+ # @param Service: 服务
418
+ # @type Service: String
419
+ # @param RecentTime: 最近识别时间
420
+ # @type RecentTime: String
421
+ # @param FirstTime: 首次识别时间
422
+ # @type FirstTime: String
423
+ # @param Status: 状态,0未处理、1已处置、2已忽略
424
+ # @type Status: Integer
425
+ # @param Id: 资产唯一id
426
+ # @type Id: String
427
+ # @param Index: 前端索引
428
+ # @type Index: String
429
+ # @param InstanceId: 实例id
430
+ # @type InstanceId: String
431
+ # @param InstanceName: 实例名
432
+ # @type InstanceName: String
433
+ # @param AppId: 用户appid
434
+ # @type AppId: String
435
+ # @param Nick: 用户昵称
436
+ # 注意:此字段可能返回 null,表示取不到有效值。
437
+ # @type Nick: String
438
+ # @param Uin: 用户uin
439
+ # 注意:此字段可能返回 null,表示取不到有效值。
440
+ # @type Uin: String
441
+ # @param VULType: 漏洞类型
442
+ # @type VULType: String
443
+ # @param Port: 端口
444
+ # @type Port: String
445
+ # @param Describe: 描述
446
+ # @type Describe: String
447
+ # @param AppName: 版本名
448
+ # @type AppName: String
449
+ # @param References: 相关信息
450
+ # @type References: String
451
+ # @param AppVersion: 版本
452
+ # @type AppVersion: String
453
+ # @param VULURL: 漏洞url
454
+ # @type VULURL: String
455
+ # @param VULName: 漏洞名称
456
+ # @type VULName: String
457
+ # @param CVE: cve
458
+ # @type CVE: String
459
+ # @param Fix: 修复建议
460
+ # @type Fix: String
461
+ # @param POCId: pocid
462
+ # @type POCId: String
463
+ # @param From: 来源
464
+ # @type From: String
465
+ # @param CWPVersion: 主机版本
466
+ # @type CWPVersion: Integer
467
+ # @param IsSupportRepair: 是否支持修复
468
+ # @type IsSupportRepair: Boolean
469
+ # @param IsSupportDetect: 是否支持扫描
470
+ # @type IsSupportDetect: Boolean
471
+ # @param InstanceUUID: 实例uuid
472
+ # @type InstanceUUID: String
473
+ # @param Payload: 负载
474
+ # @type Payload: String
475
+ # @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
476
+ # 注意:此字段可能返回 null,表示取不到有效值。
477
+ # @type EMGCVulType: Integer
478
+
479
+ attr_accessor :AffectAsset, :Level, :InstanceType, :Component, :Service, :RecentTime, :FirstTime, :Status, :Id, :Index, :InstanceId, :InstanceName, :AppId, :Nick, :Uin, :VULType, :Port, :Describe, :AppName, :References, :AppVersion, :VULURL, :VULName, :CVE, :Fix, :POCId, :From, :CWPVersion, :IsSupportRepair, :IsSupportDetect, :InstanceUUID, :Payload, :EMGCVulType
480
+
481
+ 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, vultype=nil, port=nil, describe=nil, appname=nil, references=nil, appversion=nil, vulurl=nil, vulname=nil, cve=nil, fix=nil, pocid=nil, from=nil, cwpversion=nil, issupportrepair=nil, issupportdetect=nil, instanceuuid=nil, payload=nil, emgcvultype=nil)
482
+ @AffectAsset = affectasset
483
+ @Level = level
484
+ @InstanceType = instancetype
485
+ @Component = component
486
+ @Service = service
487
+ @RecentTime = recenttime
488
+ @FirstTime = firsttime
489
+ @Status = status
490
+ @Id = id
491
+ @Index = index
492
+ @InstanceId = instanceid
493
+ @InstanceName = instancename
494
+ @AppId = appid
495
+ @Nick = nick
496
+ @Uin = uin
497
+ @VULType = vultype
498
+ @Port = port
499
+ @Describe = describe
500
+ @AppName = appname
501
+ @References = references
502
+ @AppVersion = appversion
503
+ @VULURL = vulurl
504
+ @VULName = vulname
505
+ @CVE = cve
506
+ @Fix = fix
507
+ @POCId = pocid
508
+ @From = from
509
+ @CWPVersion = cwpversion
510
+ @IsSupportRepair = issupportrepair
511
+ @IsSupportDetect = issupportdetect
512
+ @InstanceUUID = instanceuuid
513
+ @Payload = payload
514
+ @EMGCVulType = emgcvultype
515
+ end
516
+
517
+ def deserialize(params)
518
+ @AffectAsset = params['AffectAsset']
519
+ @Level = params['Level']
520
+ @InstanceType = params['InstanceType']
521
+ @Component = params['Component']
522
+ @Service = params['Service']
523
+ @RecentTime = params['RecentTime']
524
+ @FirstTime = params['FirstTime']
525
+ @Status = params['Status']
526
+ @Id = params['Id']
527
+ @Index = params['Index']
528
+ @InstanceId = params['InstanceId']
529
+ @InstanceName = params['InstanceName']
530
+ @AppId = params['AppId']
531
+ @Nick = params['Nick']
532
+ @Uin = params['Uin']
533
+ @VULType = params['VULType']
534
+ @Port = params['Port']
535
+ @Describe = params['Describe']
536
+ @AppName = params['AppName']
537
+ @References = params['References']
538
+ @AppVersion = params['AppVersion']
539
+ @VULURL = params['VULURL']
540
+ @VULName = params['VULName']
541
+ @CVE = params['CVE']
542
+ @Fix = params['Fix']
543
+ @POCId = params['POCId']
544
+ @From = params['From']
545
+ @CWPVersion = params['CWPVersion']
546
+ @IsSupportRepair = params['IsSupportRepair']
547
+ @IsSupportDetect = params['IsSupportDetect']
548
+ @InstanceUUID = params['InstanceUUID']
549
+ @Payload = params['Payload']
550
+ @EMGCVulType = params['EMGCVulType']
551
+ end
552
+ end
553
+
215
554
  # 主机资产信息
216
555
  class CVMAssetVO < TencentCloud::Common::AbstractModel
217
556
  # @param AssetId: 资产id
@@ -361,10 +700,13 @@ module TencentCloud
361
700
  # @param RiskExposure: 风险服务暴露
362
701
  # 注意:此字段可能返回 null,表示取不到有效值。
363
702
  # @type RiskExposure: Integer
703
+ # @param BASAgentStatus: 模拟攻击工具状态。0代表未安装,1代表已安装,2代表已离线
704
+ # 注意:此字段可能返回 null,表示取不到有效值。
705
+ # @type BASAgentStatus: Integer
364
706
 
365
- attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os, :RiskExposure
707
+ attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os, :RiskExposure, :BASAgentStatus
366
708
 
367
- def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil, riskexposure=nil)
709
+ def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil, riskexposure=nil, basagentstatus=nil)
368
710
  @AssetId = assetid
369
711
  @AssetName = assetname
370
712
  @AssetType = assettype
@@ -414,6 +756,7 @@ module TencentCloud
414
756
  @MemberId = memberid
415
757
  @Os = os
416
758
  @RiskExposure = riskexposure
759
+ @BASAgentStatus = basagentstatus
417
760
  end
418
761
 
419
762
  def deserialize(params)
@@ -473,6 +816,7 @@ module TencentCloud
473
816
  @MemberId = params['MemberId']
474
817
  @Os = params['Os']
475
818
  @RiskExposure = params['RiskExposure']
819
+ @BASAgentStatus = params['BASAgentStatus']
476
820
  end
477
821
  end
478
822
 
@@ -915,6 +1259,100 @@ module TencentCloud
915
1259
  end
916
1260
  end
917
1261
 
1262
+ # DescribeClusterPodAssets请求参数结构体
1263
+ class DescribeClusterPodAssetsRequest < TencentCloud::Common::AbstractModel
1264
+ # @param Filter: 过滤
1265
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1266
+
1267
+ attr_accessor :Filter
1268
+
1269
+ def initialize(filter=nil)
1270
+ @Filter = filter
1271
+ end
1272
+
1273
+ def deserialize(params)
1274
+ unless params['Filter'].nil?
1275
+ @Filter = Filter.new
1276
+ @Filter.deserialize(params['Filter'])
1277
+ end
1278
+ end
1279
+ end
1280
+
1281
+ # DescribeClusterPodAssets返回参数结构体
1282
+ class DescribeClusterPodAssetsResponse < TencentCloud::Common::AbstractModel
1283
+ # @param Data: 列表
1284
+ # @type Data: Array
1285
+ # @param TotalCount: 总数
1286
+ # @type TotalCount: Integer
1287
+ # @param PodStatusList: 集群pod状态枚举
1288
+ # @type PodStatusList: Array
1289
+ # @param NamespaceList: 命名空间枚举
1290
+ # @type NamespaceList: Array
1291
+ # @param RegionList: 地域枚举
1292
+ # @type RegionList: Array
1293
+ # @param AppIdList: 租户枚举
1294
+ # @type AppIdList: Array
1295
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1296
+ # @type RequestId: String
1297
+
1298
+ attr_accessor :Data, :TotalCount, :PodStatusList, :NamespaceList, :RegionList, :AppIdList, :RequestId
1299
+
1300
+ def initialize(data=nil, totalcount=nil, podstatuslist=nil, namespacelist=nil, regionlist=nil, appidlist=nil, requestid=nil)
1301
+ @Data = data
1302
+ @TotalCount = totalcount
1303
+ @PodStatusList = podstatuslist
1304
+ @NamespaceList = namespacelist
1305
+ @RegionList = regionlist
1306
+ @AppIdList = appidlist
1307
+ @RequestId = requestid
1308
+ end
1309
+
1310
+ def deserialize(params)
1311
+ unless params['Data'].nil?
1312
+ @Data = []
1313
+ params['Data'].each do |i|
1314
+ assetclusterpod_tmp = AssetClusterPod.new
1315
+ assetclusterpod_tmp.deserialize(i)
1316
+ @Data << assetclusterpod_tmp
1317
+ end
1318
+ end
1319
+ @TotalCount = params['TotalCount']
1320
+ unless params['PodStatusList'].nil?
1321
+ @PodStatusList = []
1322
+ params['PodStatusList'].each do |i|
1323
+ filterdataobject_tmp = FilterDataObject.new
1324
+ filterdataobject_tmp.deserialize(i)
1325
+ @PodStatusList << filterdataobject_tmp
1326
+ end
1327
+ end
1328
+ unless params['NamespaceList'].nil?
1329
+ @NamespaceList = []
1330
+ params['NamespaceList'].each do |i|
1331
+ filterdataobject_tmp = FilterDataObject.new
1332
+ filterdataobject_tmp.deserialize(i)
1333
+ @NamespaceList << filterdataobject_tmp
1334
+ end
1335
+ end
1336
+ unless params['RegionList'].nil?
1337
+ @RegionList = []
1338
+ params['RegionList'].each do |i|
1339
+ filterdataobject_tmp = FilterDataObject.new
1340
+ filterdataobject_tmp.deserialize(i)
1341
+ @RegionList << filterdataobject_tmp
1342
+ end
1343
+ end
1344
+ unless params['AppIdList'].nil?
1345
+ @AppIdList = []
1346
+ params['AppIdList'].each do |i|
1347
+ filterdataobject_tmp = FilterDataObject.new
1348
+ filterdataobject_tmp.deserialize(i)
1349
+ @AppIdList << filterdataobject_tmp
1350
+ end
1351
+ end
1352
+ @RequestId = params['RequestId']
1353
+ end
1354
+ end
1355
+
918
1356
  # DescribeDbAssetInfo请求参数结构体
919
1357
  class DescribeDbAssetInfoRequest < TencentCloud::Common::AbstractModel
920
1358
  # @param AssetId: 资产id
@@ -1055,9 +1493,9 @@ module TencentCloud
1055
1493
  end
1056
1494
  end
1057
1495
 
1058
- # DescribeScanReportList请求参数结构体
1059
- class DescribeScanReportListRequest < TencentCloud::Common::AbstractModel
1060
- # @param Filter: 列表过滤条件
1496
+ # DescribeDomainAssets请求参数结构体
1497
+ class DescribeDomainAssetsRequest < TencentCloud::Common::AbstractModel
1498
+ # @param Filter: -
1061
1499
  # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1062
1500
 
1063
1501
  attr_accessor :Filter
@@ -1074,46 +1512,90 @@ module TencentCloud
1074
1512
  end
1075
1513
  end
1076
1514
 
1077
- # DescribeScanReportList返回参数结构体
1078
- class DescribeScanReportListResponse < TencentCloud::Common::AbstractModel
1079
- # @param TotalCount: 总条数
1515
+ # DescribeDomainAssets返回参数结构体
1516
+ class DescribeDomainAssetsResponse < TencentCloud::Common::AbstractModel
1517
+ # @param Total: -
1080
1518
  # 注意:此字段可能返回 null,表示取不到有效值。
1081
- # @type TotalCount: Integer
1082
- # @param Data: 任务日志列表
1519
+ # @type Total: Integer
1520
+ # @param Data: -
1083
1521
  # 注意:此字段可能返回 null,表示取不到有效值。
1084
1522
  # @type Data: Array
1085
- # @param UINList: 主账户ID列表
1086
- # @type UINList: Array
1523
+ # @param DefenseStatusList: 防护状态列表
1524
+ # 注意:此字段可能返回 null,表示取不到有效值。
1525
+ # @type DefenseStatusList: Array
1526
+ # @param AssetLocationList: 资产归属地列表
1527
+ # 注意:此字段可能返回 null,表示取不到有效值。
1528
+ # @type AssetLocationList: Array
1529
+ # @param SourceTypeList: 资产类型列表
1530
+ # 注意:此字段可能返回 null,表示取不到有效值。
1531
+ # @type SourceTypeList: Array
1532
+ # @param RegionList: 地域列表
1533
+ # 注意:此字段可能返回 null,表示取不到有效值。
1534
+ # @type RegionList: Array
1087
1535
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1088
1536
  # @type RequestId: String
1089
1537
 
1090
- attr_accessor :TotalCount, :Data, :UINList, :RequestId
1538
+ attr_accessor :Total, :Data, :DefenseStatusList, :AssetLocationList, :SourceTypeList, :RegionList, :RequestId
1091
1539
 
1092
- def initialize(totalcount=nil, data=nil, uinlist=nil, requestid=nil)
1093
- @TotalCount = totalcount
1540
+ def initialize(total=nil, data=nil, defensestatuslist=nil, assetlocationlist=nil, sourcetypelist=nil, regionlist=nil, requestid=nil)
1541
+ @Total = total
1094
1542
  @Data = data
1095
- @UINList = uinlist
1543
+ @DefenseStatusList = defensestatuslist
1544
+ @AssetLocationList = assetlocationlist
1545
+ @SourceTypeList = sourcetypelist
1546
+ @RegionList = regionlist
1096
1547
  @RequestId = requestid
1097
1548
  end
1098
1549
 
1099
1550
  def deserialize(params)
1100
- @TotalCount = params['TotalCount']
1551
+ @Total = params['Total']
1101
1552
  unless params['Data'].nil?
1102
1553
  @Data = []
1103
1554
  params['Data'].each do |i|
1104
- scantaskinfo_tmp = ScanTaskInfo.new
1105
- scantaskinfo_tmp.deserialize(i)
1106
- @Data << scantaskinfo_tmp
1555
+ domainassetvo_tmp = DomainAssetVO.new
1556
+ domainassetvo_tmp.deserialize(i)
1557
+ @Data << domainassetvo_tmp
1558
+ end
1559
+ end
1560
+ unless params['DefenseStatusList'].nil?
1561
+ @DefenseStatusList = []
1562
+ params['DefenseStatusList'].each do |i|
1563
+ filterdataobject_tmp = FilterDataObject.new
1564
+ filterdataobject_tmp.deserialize(i)
1565
+ @DefenseStatusList << filterdataobject_tmp
1566
+ end
1567
+ end
1568
+ unless params['AssetLocationList'].nil?
1569
+ @AssetLocationList = []
1570
+ params['AssetLocationList'].each do |i|
1571
+ filterdataobject_tmp = FilterDataObject.new
1572
+ filterdataobject_tmp.deserialize(i)
1573
+ @AssetLocationList << filterdataobject_tmp
1574
+ end
1575
+ end
1576
+ unless params['SourceTypeList'].nil?
1577
+ @SourceTypeList = []
1578
+ params['SourceTypeList'].each do |i|
1579
+ filterdataobject_tmp = FilterDataObject.new
1580
+ filterdataobject_tmp.deserialize(i)
1581
+ @SourceTypeList << filterdataobject_tmp
1582
+ end
1583
+ end
1584
+ unless params['RegionList'].nil?
1585
+ @RegionList = []
1586
+ params['RegionList'].each do |i|
1587
+ filterdataobject_tmp = FilterDataObject.new
1588
+ filterdataobject_tmp.deserialize(i)
1589
+ @RegionList << filterdataobject_tmp
1107
1590
  end
1108
1591
  end
1109
- @UINList = params['UINList']
1110
1592
  @RequestId = params['RequestId']
1111
1593
  end
1112
1594
  end
1113
1595
 
1114
- # DescribeSubnetAssets请求参数结构体
1115
- class DescribeSubnetAssetsRequest < TencentCloud::Common::AbstractModel
1116
- # @param Filter: 过滤参数
1596
+ # DescribePublicIpAssets请求参数结构体
1597
+ class DescribePublicIpAssetsRequest < TencentCloud::Common::AbstractModel
1598
+ # @param Filter: filte过滤条件
1117
1599
  # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1118
1600
 
1119
1601
  attr_accessor :Filter
@@ -1130,32 +1612,45 @@ module TencentCloud
1130
1612
  end
1131
1613
  end
1132
1614
 
1133
- # DescribeSubnetAssets返回参数结构体
1134
- class DescribeSubnetAssetsResponse < TencentCloud::Common::AbstractModel
1615
+ # DescribePublicIpAssets返回参数结构体
1616
+ class DescribePublicIpAssetsResponse < TencentCloud::Common::AbstractModel
1135
1617
  # @param Data: 列表
1618
+ # 注意:此字段可能返回 null,表示取不到有效值。
1136
1619
  # @type Data: Array
1137
- # @param TotalCount: 总数
1138
- # @type TotalCount: Integer
1139
- # @param RegionList: 地域列表
1620
+ # @param Total: 总数
1621
+ # @type Total: Integer
1622
+ # @param AssetLocationList: 资产归属地
1623
+ # 注意:此字段可能返回 null,表示取不到有效值。
1624
+ # @type AssetLocationList: Array
1625
+ # @param IpTypeList: ip列表枚举
1626
+ # 注意:此字段可能返回 null,表示取不到有效值。
1627
+ # @type IpTypeList: Array
1628
+ # @param RegionList: 地域列表枚举
1629
+ # 注意:此字段可能返回 null,表示取不到有效值。
1140
1630
  # @type RegionList: Array
1141
- # @param VpcList: vpc列表
1142
- # @type VpcList: Array
1143
- # @param AppIdList: appid列表
1144
- # @type AppIdList: Array
1145
- # @param ZoneList: 可用区列表
1146
- # @type ZoneList: Array
1631
+ # @param DefenseStatusList: 防护枚举
1632
+ # 注意:此字段可能返回 null,表示取不到有效值。
1633
+ # @type DefenseStatusList: Array
1634
+ # @param AssetTypeList: 资产类型枚举
1635
+ # 注意:此字段可能返回 null,表示取不到有效值。
1636
+ # @type AssetTypeList: Array
1637
+ # @param AppIdList: AppId枚举
1638
+ # 注意:此字段可能返回 null,表示取不到有效值。
1639
+ # @type AppIdList: Array
1147
1640
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1148
1641
  # @type RequestId: String
1149
1642
 
1150
- attr_accessor :Data, :TotalCount, :RegionList, :VpcList, :AppIdList, :ZoneList, :RequestId
1643
+ attr_accessor :Data, :Total, :AssetLocationList, :IpTypeList, :RegionList, :DefenseStatusList, :AssetTypeList, :AppIdList, :RequestId
1151
1644
 
1152
- def initialize(data=nil, totalcount=nil, regionlist=nil, vpclist=nil, appidlist=nil, zonelist=nil, requestid=nil)
1645
+ def initialize(data=nil, total=nil, assetlocationlist=nil, iptypelist=nil, regionlist=nil, defensestatuslist=nil, assettypelist=nil, appidlist=nil, requestid=nil)
1153
1646
  @Data = data
1154
- @TotalCount = totalcount
1647
+ @Total = total
1648
+ @AssetLocationList = assetlocationlist
1649
+ @IpTypeList = iptypelist
1155
1650
  @RegionList = regionlist
1156
- @VpcList = vpclist
1651
+ @DefenseStatusList = defensestatuslist
1652
+ @AssetTypeList = assettypelist
1157
1653
  @AppIdList = appidlist
1158
- @ZoneList = zonelist
1159
1654
  @RequestId = requestid
1160
1655
  end
1161
1656
 
@@ -1163,12 +1658,28 @@ module TencentCloud
1163
1658
  unless params['Data'].nil?
1164
1659
  @Data = []
1165
1660
  params['Data'].each do |i|
1166
- subnetasset_tmp = SubnetAsset.new
1167
- subnetasset_tmp.deserialize(i)
1168
- @Data << subnetasset_tmp
1661
+ ipassetlistvo_tmp = IpAssetListVO.new
1662
+ ipassetlistvo_tmp.deserialize(i)
1663
+ @Data << ipassetlistvo_tmp
1664
+ end
1665
+ end
1666
+ @Total = params['Total']
1667
+ unless params['AssetLocationList'].nil?
1668
+ @AssetLocationList = []
1669
+ params['AssetLocationList'].each do |i|
1670
+ filterdataobject_tmp = FilterDataObject.new
1671
+ filterdataobject_tmp.deserialize(i)
1672
+ @AssetLocationList << filterdataobject_tmp
1673
+ end
1674
+ end
1675
+ unless params['IpTypeList'].nil?
1676
+ @IpTypeList = []
1677
+ params['IpTypeList'].each do |i|
1678
+ filterdataobject_tmp = FilterDataObject.new
1679
+ filterdataobject_tmp.deserialize(i)
1680
+ @IpTypeList << filterdataobject_tmp
1169
1681
  end
1170
1682
  end
1171
- @TotalCount = params['TotalCount']
1172
1683
  unless params['RegionList'].nil?
1173
1684
  @RegionList = []
1174
1685
  params['RegionList'].each do |i|
@@ -1177,12 +1688,20 @@ module TencentCloud
1177
1688
  @RegionList << filterdataobject_tmp
1178
1689
  end
1179
1690
  end
1180
- unless params['VpcList'].nil?
1181
- @VpcList = []
1182
- params['VpcList'].each do |i|
1691
+ unless params['DefenseStatusList'].nil?
1692
+ @DefenseStatusList = []
1693
+ params['DefenseStatusList'].each do |i|
1183
1694
  filterdataobject_tmp = FilterDataObject.new
1184
1695
  filterdataobject_tmp.deserialize(i)
1185
- @VpcList << filterdataobject_tmp
1696
+ @DefenseStatusList << filterdataobject_tmp
1697
+ end
1698
+ end
1699
+ unless params['AssetTypeList'].nil?
1700
+ @AssetTypeList = []
1701
+ params['AssetTypeList'].each do |i|
1702
+ filterdataobject_tmp = FilterDataObject.new
1703
+ filterdataobject_tmp.deserialize(i)
1704
+ @AssetTypeList << filterdataobject_tmp
1186
1705
  end
1187
1706
  end
1188
1707
  unless params['AppIdList'].nil?
@@ -1193,21 +1712,118 @@ module TencentCloud
1193
1712
  @AppIdList << filterdataobject_tmp
1194
1713
  end
1195
1714
  end
1196
- unless params['ZoneList'].nil?
1197
- @ZoneList = []
1198
- params['ZoneList'].each do |i|
1715
+ @RequestId = params['RequestId']
1716
+ end
1717
+ end
1718
+
1719
+ # DescribeRiskCenterAssetViewPortRiskList请求参数结构体
1720
+ class DescribeRiskCenterAssetViewPortRiskListRequest < TencentCloud::Common::AbstractModel
1721
+ # @param Filter: 过滤内容
1722
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1723
+
1724
+ attr_accessor :Filter
1725
+
1726
+ def initialize(filter=nil)
1727
+ @Filter = filter
1728
+ end
1729
+
1730
+ def deserialize(params)
1731
+ unless params['Filter'].nil?
1732
+ @Filter = Filter.new
1733
+ @Filter.deserialize(params['Filter'])
1734
+ end
1735
+ end
1736
+ end
1737
+
1738
+ # DescribeRiskCenterAssetViewPortRiskList返回参数结构体
1739
+ class DescribeRiskCenterAssetViewPortRiskListResponse < TencentCloud::Common::AbstractModel
1740
+ # @param TotalCount: 总条数
1741
+ # @type TotalCount: Integer
1742
+ # @param Data: 资产视角的配置风险列表
1743
+ # @type Data: Array
1744
+ # @param StatusLists: 状态列表
1745
+ # @type StatusLists: Array
1746
+ # @param LevelLists: 危险等级列表
1747
+ # @type LevelLists: Array
1748
+ # @param SuggestionLists: 建议列表
1749
+ # @type SuggestionLists: Array
1750
+ # @param InstanceTypeLists: 资产类型列表
1751
+ # @type InstanceTypeLists: Array
1752
+ # @param FromLists: 来源列表
1753
+ # @type FromLists: Array
1754
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1755
+ # @type RequestId: String
1756
+
1757
+ attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :SuggestionLists, :InstanceTypeLists, :FromLists, :RequestId
1758
+
1759
+ def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, suggestionlists=nil, instancetypelists=nil, fromlists=nil, requestid=nil)
1760
+ @TotalCount = totalcount
1761
+ @Data = data
1762
+ @StatusLists = statuslists
1763
+ @LevelLists = levellists
1764
+ @SuggestionLists = suggestionlists
1765
+ @InstanceTypeLists = instancetypelists
1766
+ @FromLists = fromlists
1767
+ @RequestId = requestid
1768
+ end
1769
+
1770
+ def deserialize(params)
1771
+ @TotalCount = params['TotalCount']
1772
+ unless params['Data'].nil?
1773
+ @Data = []
1774
+ params['Data'].each do |i|
1775
+ assetviewportrisk_tmp = AssetViewPortRisk.new
1776
+ assetviewportrisk_tmp.deserialize(i)
1777
+ @Data << assetviewportrisk_tmp
1778
+ end
1779
+ end
1780
+ unless params['StatusLists'].nil?
1781
+ @StatusLists = []
1782
+ params['StatusLists'].each do |i|
1199
1783
  filterdataobject_tmp = FilterDataObject.new
1200
1784
  filterdataobject_tmp.deserialize(i)
1201
- @ZoneList << filterdataobject_tmp
1785
+ @StatusLists << filterdataobject_tmp
1786
+ end
1787
+ end
1788
+ unless params['LevelLists'].nil?
1789
+ @LevelLists = []
1790
+ params['LevelLists'].each do |i|
1791
+ filterdataobject_tmp = FilterDataObject.new
1792
+ filterdataobject_tmp.deserialize(i)
1793
+ @LevelLists << filterdataobject_tmp
1794
+ end
1795
+ end
1796
+ unless params['SuggestionLists'].nil?
1797
+ @SuggestionLists = []
1798
+ params['SuggestionLists'].each do |i|
1799
+ filterdataobject_tmp = FilterDataObject.new
1800
+ filterdataobject_tmp.deserialize(i)
1801
+ @SuggestionLists << filterdataobject_tmp
1802
+ end
1803
+ end
1804
+ unless params['InstanceTypeLists'].nil?
1805
+ @InstanceTypeLists = []
1806
+ params['InstanceTypeLists'].each do |i|
1807
+ filterdataobject_tmp = FilterDataObject.new
1808
+ filterdataobject_tmp.deserialize(i)
1809
+ @InstanceTypeLists << filterdataobject_tmp
1810
+ end
1811
+ end
1812
+ unless params['FromLists'].nil?
1813
+ @FromLists = []
1814
+ params['FromLists'].each do |i|
1815
+ filterdataobject_tmp = FilterDataObject.new
1816
+ filterdataobject_tmp.deserialize(i)
1817
+ @FromLists << filterdataobject_tmp
1202
1818
  end
1203
1819
  end
1204
1820
  @RequestId = params['RequestId']
1205
1821
  end
1206
1822
  end
1207
1823
 
1208
- # DescribeVpcAssets请求参数结构体
1209
- class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
1210
- # @param Filter: 过滤参数
1824
+ # DescribeRiskCenterAssetViewVULRiskList请求参数结构体
1825
+ class DescribeRiskCenterAssetViewVULRiskListRequest < TencentCloud::Common::AbstractModel
1826
+ # @param Filter: 过滤内容
1211
1827
  # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1212
1828
 
1213
1829
  attr_accessor :Filter
@@ -1224,134 +1840,757 @@ module TencentCloud
1224
1840
  end
1225
1841
  end
1226
1842
 
1227
- # DescribeVpcAssets返回参数结构体
1228
- class DescribeVpcAssetsResponse < TencentCloud::Common::AbstractModel
1229
- # @param Data: 列表
1230
- # @type Data: Array
1231
- # @param TotalCount: 总数
1843
+ # DescribeRiskCenterAssetViewVULRiskList返回参数结构体
1844
+ class DescribeRiskCenterAssetViewVULRiskListResponse < TencentCloud::Common::AbstractModel
1845
+ # @param TotalCount: 总条数
1232
1846
  # @type TotalCount: Integer
1233
- # @param VpcList: vpc列表
1234
- # @type VpcList: Array
1235
- # @param RegionList: 地域列表
1236
- # @type RegionList: Array
1237
- # @param AppIdList: appid列表
1238
- # @type AppIdList: Array
1847
+ # @param Data: 资产视角的漏洞风险列表
1848
+ # @type Data: Array
1849
+ # @param StatusLists: 状态列表
1850
+ # @type StatusLists: Array
1851
+ # @param LevelLists: 危险等级列表
1852
+ # @type LevelLists: Array
1853
+ # @param FromLists: 来源列表
1854
+ # @type FromLists: Array
1855
+ # @param VULTypeLists: 漏洞类型列表
1856
+ # @type VULTypeLists: Array
1857
+ # @param InstanceTypeLists: 资产类型列表
1858
+ # @type InstanceTypeLists: Array
1239
1859
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1240
1860
  # @type RequestId: String
1241
1861
 
1242
- attr_accessor :Data, :TotalCount, :VpcList, :RegionList, :AppIdList, :RequestId
1862
+ attr_accessor :TotalCount, :Data, :StatusLists, :LevelLists, :FromLists, :VULTypeLists, :InstanceTypeLists, :RequestId
1243
1863
 
1244
- def initialize(data=nil, totalcount=nil, vpclist=nil, regionlist=nil, appidlist=nil, requestid=nil)
1245
- @Data = data
1864
+ def initialize(totalcount=nil, data=nil, statuslists=nil, levellists=nil, fromlists=nil, vultypelists=nil, instancetypelists=nil, requestid=nil)
1246
1865
  @TotalCount = totalcount
1247
- @VpcList = vpclist
1248
- @RegionList = regionlist
1249
- @AppIdList = appidlist
1866
+ @Data = data
1867
+ @StatusLists = statuslists
1868
+ @LevelLists = levellists
1869
+ @FromLists = fromlists
1870
+ @VULTypeLists = vultypelists
1871
+ @InstanceTypeLists = instancetypelists
1250
1872
  @RequestId = requestid
1251
1873
  end
1252
1874
 
1253
1875
  def deserialize(params)
1876
+ @TotalCount = params['TotalCount']
1254
1877
  unless params['Data'].nil?
1255
1878
  @Data = []
1256
1879
  params['Data'].each do |i|
1257
- vpc_tmp = Vpc.new
1258
- vpc_tmp.deserialize(i)
1259
- @Data << vpc_tmp
1880
+ assetviewvulrisk_tmp = AssetViewVULRisk.new
1881
+ assetviewvulrisk_tmp.deserialize(i)
1882
+ @Data << assetviewvulrisk_tmp
1260
1883
  end
1261
1884
  end
1262
- @TotalCount = params['TotalCount']
1263
- unless params['VpcList'].nil?
1264
- @VpcList = []
1265
- params['VpcList'].each do |i|
1885
+ unless params['StatusLists'].nil?
1886
+ @StatusLists = []
1887
+ params['StatusLists'].each do |i|
1266
1888
  filterdataobject_tmp = FilterDataObject.new
1267
1889
  filterdataobject_tmp.deserialize(i)
1268
- @VpcList << filterdataobject_tmp
1890
+ @StatusLists << filterdataobject_tmp
1269
1891
  end
1270
1892
  end
1271
- unless params['RegionList'].nil?
1272
- @RegionList = []
1273
- params['RegionList'].each do |i|
1893
+ unless params['LevelLists'].nil?
1894
+ @LevelLists = []
1895
+ params['LevelLists'].each do |i|
1274
1896
  filterdataobject_tmp = FilterDataObject.new
1275
1897
  filterdataobject_tmp.deserialize(i)
1276
- @RegionList << filterdataobject_tmp
1898
+ @LevelLists << filterdataobject_tmp
1277
1899
  end
1278
1900
  end
1279
- unless params['AppIdList'].nil?
1280
- @AppIdList = []
1281
- params['AppIdList'].each do |i|
1901
+ unless params['FromLists'].nil?
1902
+ @FromLists = []
1903
+ params['FromLists'].each do |i|
1282
1904
  filterdataobject_tmp = FilterDataObject.new
1283
1905
  filterdataobject_tmp.deserialize(i)
1284
- @AppIdList << filterdataobject_tmp
1906
+ @FromLists << filterdataobject_tmp
1907
+ end
1908
+ end
1909
+ unless params['VULTypeLists'].nil?
1910
+ @VULTypeLists = []
1911
+ params['VULTypeLists'].each do |i|
1912
+ filterdataobject_tmp = FilterDataObject.new
1913
+ filterdataobject_tmp.deserialize(i)
1914
+ @VULTypeLists << filterdataobject_tmp
1915
+ end
1916
+ end
1917
+ unless params['InstanceTypeLists'].nil?
1918
+ @InstanceTypeLists = []
1919
+ params['InstanceTypeLists'].each do |i|
1920
+ filterdataobject_tmp = FilterDataObject.new
1921
+ filterdataobject_tmp.deserialize(i)
1922
+ @InstanceTypeLists << filterdataobject_tmp
1285
1923
  end
1286
1924
  end
1287
1925
  @RequestId = params['RequestId']
1288
1926
  end
1289
1927
  end
1290
1928
 
1291
- # 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤
1292
- class Filter < TencentCloud::Common::AbstractModel
1293
- # @param Limit: 查询数量限制
1294
- # @type Limit: Integer
1295
- # @param Offset: 查询偏移位置
1296
- # @type Offset: Integer
1297
- # @param Order: 排序采用升序还是降序 升:asc 降 desc
1298
- # @type Order: String
1299
- # @param By: 需排序的字段
1300
- # @type By: String
1301
- # @param Filters: 过滤的列及内容
1302
- # @type Filters: Array
1303
- # @param StartTime: 可填无, 日志使用查询时间
1304
- # @type StartTime: String
1305
- # @param EndTime: 可填无, 日志使用查询时间
1306
- # @type EndTime: String
1929
+ # DescribeScanReportList请求参数结构体
1930
+ class DescribeScanReportListRequest < TencentCloud::Common::AbstractModel
1931
+ # @param Filter: 列表过滤条件
1932
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1307
1933
 
1308
- attr_accessor :Limit, :Offset, :Order, :By, :Filters, :StartTime, :EndTime
1934
+ attr_accessor :Filter
1309
1935
 
1310
- def initialize(limit=nil, offset=nil, order=nil, by=nil, filters=nil, starttime=nil, endtime=nil)
1311
- @Limit = limit
1312
- @Offset = offset
1313
- @Order = order
1314
- @By = by
1315
- @Filters = filters
1316
- @StartTime = starttime
1317
- @EndTime = endtime
1936
+ def initialize(filter=nil)
1937
+ @Filter = filter
1318
1938
  end
1319
1939
 
1320
1940
  def deserialize(params)
1321
- @Limit = params['Limit']
1322
- @Offset = params['Offset']
1323
- @Order = params['Order']
1324
- @By = params['By']
1325
- unless params['Filters'].nil?
1326
- @Filters = []
1327
- params['Filters'].each do |i|
1328
- wherefilter_tmp = WhereFilter.new
1329
- wherefilter_tmp.deserialize(i)
1330
- @Filters << wherefilter_tmp
1331
- end
1941
+ unless params['Filter'].nil?
1942
+ @Filter = Filter.new
1943
+ @Filter.deserialize(params['Filter'])
1332
1944
  end
1333
- @StartTime = params['StartTime']
1334
- @EndTime = params['EndTime']
1335
1945
  end
1336
1946
  end
1337
1947
 
1338
- # 过滤数据对象
1339
- class FilterDataObject < TencentCloud::Common::AbstractModel
1340
- # @param Value: 英文翻译
1341
- # @type Value: String
1342
- # @param Text: 中文翻译
1343
- # @type Text: String
1948
+ # DescribeScanReportList返回参数结构体
1949
+ class DescribeScanReportListResponse < TencentCloud::Common::AbstractModel
1950
+ # @param TotalCount: 总条数
1951
+ # 注意:此字段可能返回 null,表示取不到有效值。
1952
+ # @type TotalCount: Integer
1953
+ # @param Data: 任务日志列表
1954
+ # 注意:此字段可能返回 null,表示取不到有效值。
1955
+ # @type Data: Array
1956
+ # @param UINList: 主账户ID列表
1957
+ # @type UINList: Array
1958
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1959
+ # @type RequestId: String
1344
1960
 
1345
- attr_accessor :Value, :Text
1961
+ attr_accessor :TotalCount, :Data, :UINList, :RequestId
1346
1962
 
1347
- def initialize(value=nil, text=nil)
1348
- @Value = value
1349
- @Text = text
1963
+ def initialize(totalcount=nil, data=nil, uinlist=nil, requestid=nil)
1964
+ @TotalCount = totalcount
1965
+ @Data = data
1966
+ @UINList = uinlist
1967
+ @RequestId = requestid
1350
1968
  end
1351
1969
 
1352
1970
  def deserialize(params)
1353
- @Value = params['Value']
1354
- @Text = params['Text']
1971
+ @TotalCount = params['TotalCount']
1972
+ unless params['Data'].nil?
1973
+ @Data = []
1974
+ params['Data'].each do |i|
1975
+ scantaskinfo_tmp = ScanTaskInfo.new
1976
+ scantaskinfo_tmp.deserialize(i)
1977
+ @Data << scantaskinfo_tmp
1978
+ end
1979
+ end
1980
+ @UINList = params['UINList']
1981
+ @RequestId = params['RequestId']
1982
+ end
1983
+ end
1984
+
1985
+ # DescribeSubnetAssets请求参数结构体
1986
+ class DescribeSubnetAssetsRequest < TencentCloud::Common::AbstractModel
1987
+ # @param Filter: 过滤参数
1988
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
1989
+
1990
+ attr_accessor :Filter
1991
+
1992
+ def initialize(filter=nil)
1993
+ @Filter = filter
1994
+ end
1995
+
1996
+ def deserialize(params)
1997
+ unless params['Filter'].nil?
1998
+ @Filter = Filter.new
1999
+ @Filter.deserialize(params['Filter'])
2000
+ end
2001
+ end
2002
+ end
2003
+
2004
+ # DescribeSubnetAssets返回参数结构体
2005
+ class DescribeSubnetAssetsResponse < TencentCloud::Common::AbstractModel
2006
+ # @param Data: 列表
2007
+ # @type Data: Array
2008
+ # @param TotalCount: 总数
2009
+ # @type TotalCount: Integer
2010
+ # @param RegionList: 地域列表
2011
+ # @type RegionList: Array
2012
+ # @param VpcList: vpc列表
2013
+ # @type VpcList: Array
2014
+ # @param AppIdList: appid列表
2015
+ # @type AppIdList: Array
2016
+ # @param ZoneList: 可用区列表
2017
+ # @type ZoneList: Array
2018
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2019
+ # @type RequestId: String
2020
+
2021
+ attr_accessor :Data, :TotalCount, :RegionList, :VpcList, :AppIdList, :ZoneList, :RequestId
2022
+
2023
+ def initialize(data=nil, totalcount=nil, regionlist=nil, vpclist=nil, appidlist=nil, zonelist=nil, requestid=nil)
2024
+ @Data = data
2025
+ @TotalCount = totalcount
2026
+ @RegionList = regionlist
2027
+ @VpcList = vpclist
2028
+ @AppIdList = appidlist
2029
+ @ZoneList = zonelist
2030
+ @RequestId = requestid
2031
+ end
2032
+
2033
+ def deserialize(params)
2034
+ unless params['Data'].nil?
2035
+ @Data = []
2036
+ params['Data'].each do |i|
2037
+ subnetasset_tmp = SubnetAsset.new
2038
+ subnetasset_tmp.deserialize(i)
2039
+ @Data << subnetasset_tmp
2040
+ end
2041
+ end
2042
+ @TotalCount = params['TotalCount']
2043
+ unless params['RegionList'].nil?
2044
+ @RegionList = []
2045
+ params['RegionList'].each do |i|
2046
+ filterdataobject_tmp = FilterDataObject.new
2047
+ filterdataobject_tmp.deserialize(i)
2048
+ @RegionList << filterdataobject_tmp
2049
+ end
2050
+ end
2051
+ unless params['VpcList'].nil?
2052
+ @VpcList = []
2053
+ params['VpcList'].each do |i|
2054
+ filterdataobject_tmp = FilterDataObject.new
2055
+ filterdataobject_tmp.deserialize(i)
2056
+ @VpcList << filterdataobject_tmp
2057
+ end
2058
+ end
2059
+ unless params['AppIdList'].nil?
2060
+ @AppIdList = []
2061
+ params['AppIdList'].each do |i|
2062
+ filterdataobject_tmp = FilterDataObject.new
2063
+ filterdataobject_tmp.deserialize(i)
2064
+ @AppIdList << filterdataobject_tmp
2065
+ end
2066
+ end
2067
+ unless params['ZoneList'].nil?
2068
+ @ZoneList = []
2069
+ params['ZoneList'].each do |i|
2070
+ filterdataobject_tmp = FilterDataObject.new
2071
+ filterdataobject_tmp.deserialize(i)
2072
+ @ZoneList << filterdataobject_tmp
2073
+ end
2074
+ end
2075
+ @RequestId = params['RequestId']
2076
+ end
2077
+ end
2078
+
2079
+ # DescribeVpcAssets请求参数结构体
2080
+ class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
2081
+ # @param Filter: 过滤参数
2082
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
2083
+
2084
+ attr_accessor :Filter
2085
+
2086
+ def initialize(filter=nil)
2087
+ @Filter = filter
2088
+ end
2089
+
2090
+ def deserialize(params)
2091
+ unless params['Filter'].nil?
2092
+ @Filter = Filter.new
2093
+ @Filter.deserialize(params['Filter'])
2094
+ end
2095
+ end
2096
+ end
2097
+
2098
+ # DescribeVpcAssets返回参数结构体
2099
+ class DescribeVpcAssetsResponse < TencentCloud::Common::AbstractModel
2100
+ # @param Data: 列表
2101
+ # @type Data: Array
2102
+ # @param TotalCount: 总数
2103
+ # @type TotalCount: Integer
2104
+ # @param VpcList: vpc列表
2105
+ # @type VpcList: Array
2106
+ # @param RegionList: 地域列表
2107
+ # @type RegionList: Array
2108
+ # @param AppIdList: appid列表
2109
+ # @type AppIdList: Array
2110
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2111
+ # @type RequestId: String
2112
+
2113
+ attr_accessor :Data, :TotalCount, :VpcList, :RegionList, :AppIdList, :RequestId
2114
+
2115
+ def initialize(data=nil, totalcount=nil, vpclist=nil, regionlist=nil, appidlist=nil, requestid=nil)
2116
+ @Data = data
2117
+ @TotalCount = totalcount
2118
+ @VpcList = vpclist
2119
+ @RegionList = regionlist
2120
+ @AppIdList = appidlist
2121
+ @RequestId = requestid
2122
+ end
2123
+
2124
+ def deserialize(params)
2125
+ unless params['Data'].nil?
2126
+ @Data = []
2127
+ params['Data'].each do |i|
2128
+ vpc_tmp = Vpc.new
2129
+ vpc_tmp.deserialize(i)
2130
+ @Data << vpc_tmp
2131
+ end
2132
+ end
2133
+ @TotalCount = params['TotalCount']
2134
+ unless params['VpcList'].nil?
2135
+ @VpcList = []
2136
+ params['VpcList'].each do |i|
2137
+ filterdataobject_tmp = FilterDataObject.new
2138
+ filterdataobject_tmp.deserialize(i)
2139
+ @VpcList << filterdataobject_tmp
2140
+ end
2141
+ end
2142
+ unless params['RegionList'].nil?
2143
+ @RegionList = []
2144
+ params['RegionList'].each do |i|
2145
+ filterdataobject_tmp = FilterDataObject.new
2146
+ filterdataobject_tmp.deserialize(i)
2147
+ @RegionList << filterdataobject_tmp
2148
+ end
2149
+ end
2150
+ unless params['AppIdList'].nil?
2151
+ @AppIdList = []
2152
+ params['AppIdList'].each do |i|
2153
+ filterdataobject_tmp = FilterDataObject.new
2154
+ filterdataobject_tmp.deserialize(i)
2155
+ @AppIdList << filterdataobject_tmp
2156
+ end
2157
+ end
2158
+ @RequestId = params['RequestId']
2159
+ end
2160
+ end
2161
+
2162
+ # 域名资产
2163
+ class DomainAssetVO < TencentCloud::Common::AbstractModel
2164
+ # @param AssetId: 资产id
2165
+ # 注意:此字段可能返回 null,表示取不到有效值。
2166
+ # @type AssetId: Array
2167
+ # @param AssetName: 资产名
2168
+ # 注意:此字段可能返回 null,表示取不到有效值。
2169
+ # @type AssetName: Array
2170
+ # @param AssetType: 资产类型
2171
+ # 注意:此字段可能返回 null,表示取不到有效值。
2172
+ # @type AssetType: Array
2173
+ # @param Region: 地域
2174
+ # 注意:此字段可能返回 null,表示取不到有效值。
2175
+ # @type Region: Array
2176
+ # @param WAFStatus: Waf状态
2177
+ # 注意:此字段可能返回 null,表示取不到有效值。
2178
+ # @type WAFStatus: Integer
2179
+ # @param AssetCreateTime: 资产创建时间
2180
+ # 注意:此字段可能返回 null,表示取不到有效值。
2181
+ # @type AssetCreateTime: String
2182
+ # @param AppId: Appid
2183
+ # 注意:此字段可能返回 null,表示取不到有效值。
2184
+ # @type AppId: Integer
2185
+ # @param Uin: 账号id
2186
+ # 注意:此字段可能返回 null,表示取不到有效值。
2187
+ # @type Uin: String
2188
+ # @param NickName: 账号名称
2189
+ # 注意:此字段可能返回 null,表示取不到有效值。
2190
+ # @type NickName: String
2191
+ # @param IsCore: 是否核心
2192
+ # 注意:此字段可能返回 null,表示取不到有效值。
2193
+ # @type IsCore: Integer
2194
+ # @param IsCloud: 是否云上资产
2195
+ # 注意:此字段可能返回 null,表示取不到有效值。
2196
+ # @type IsCloud: Integer
2197
+ # @param Attack: 网络攻击
2198
+ # 注意:此字段可能返回 null,表示取不到有效值。
2199
+ # @type Attack: Integer
2200
+ # @param Access: 网络访问
2201
+ # 注意:此字段可能返回 null,表示取不到有效值。
2202
+ # @type Access: Integer
2203
+ # @param Intercept: 网络拦截
2204
+ # 注意:此字段可能返回 null,表示取不到有效值。
2205
+ # @type Intercept: Integer
2206
+ # @param InBandwidth: 入站峰值带宽
2207
+ # 注意:此字段可能返回 null,表示取不到有效值。
2208
+ # @type InBandwidth: String
2209
+ # @param OutBandwidth: 出站峰值带宽
2210
+ # 注意:此字段可能返回 null,表示取不到有效值。
2211
+ # @type OutBandwidth: String
2212
+ # @param InFlow: 入站累计流量
2213
+ # 注意:此字段可能返回 null,表示取不到有效值。
2214
+ # @type InFlow: String
2215
+ # @param OutFlow: 出站累计流量
2216
+ # 注意:此字段可能返回 null,表示取不到有效值。
2217
+ # @type OutFlow: String
2218
+ # @param LastScanTime: 最近扫描时间
2219
+ # 注意:此字段可能返回 null,表示取不到有效值。
2220
+ # @type LastScanTime: String
2221
+ # @param PortRisk: 端口风险
2222
+ # 注意:此字段可能返回 null,表示取不到有效值。
2223
+ # @type PortRisk: Integer
2224
+ # @param VulnerabilityRisk: 漏洞风险
2225
+ # 注意:此字段可能返回 null,表示取不到有效值。
2226
+ # @type VulnerabilityRisk: Integer
2227
+ # @param ConfigurationRisk: 配置风险
2228
+ # 注意:此字段可能返回 null,表示取不到有效值。
2229
+ # @type ConfigurationRisk: Integer
2230
+ # @param ScanTask: 扫描任务
2231
+ # 注意:此字段可能返回 null,表示取不到有效值。
2232
+ # @type ScanTask: Integer
2233
+ # @param SubDomain: 域名
2234
+ # 注意:此字段可能返回 null,表示取不到有效值。
2235
+ # @type SubDomain: String
2236
+ # @param SeverIp: 解析ip
2237
+ # 注意:此字段可能返回 null,表示取不到有效值。
2238
+ # @type SeverIp: Array
2239
+ # @param BotCount: boi访问数量
2240
+ # 注意:此字段可能返回 null,表示取不到有效值。
2241
+ # @type BotCount: Integer
2242
+ # @param WeakPassword: 弱口令风险
2243
+ # 注意:此字段可能返回 null,表示取不到有效值。
2244
+ # @type WeakPassword: Integer
2245
+ # @param WebContentRisk: 内容风险
2246
+ # 注意:此字段可能返回 null,表示取不到有效值。
2247
+ # @type WebContentRisk: Integer
2248
+ # @param Tag: tag标签
2249
+ # 注意:此字段可能返回 null,表示取不到有效值。
2250
+ # @type Tag: Array
2251
+ # @param SourceType: 关联实例类型
2252
+ # 注意:此字段可能返回 null,表示取不到有效值。
2253
+ # @type SourceType: String
2254
+ # @param MemberId: memberiD
2255
+ # 注意:此字段可能返回 null,表示取不到有效值。
2256
+ # @type MemberId: String
2257
+ # @param CCAttack: cc攻击
2258
+ # 注意:此字段可能返回 null,表示取不到有效值。
2259
+ # @type CCAttack: Integer
2260
+ # @param WebAttack: web攻击
2261
+ # 注意:此字段可能返回 null,表示取不到有效值。
2262
+ # @type WebAttack: Integer
2263
+
2264
+ attr_accessor :AssetId, :AssetName, :AssetType, :Region, :WAFStatus, :AssetCreateTime, :AppId, :Uin, :NickName, :IsCore, :IsCloud, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :SubDomain, :SeverIp, :BotCount, :WeakPassword, :WebContentRisk, :Tag, :SourceType, :MemberId, :CCAttack, :WebAttack
2265
+
2266
+ def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, wafstatus=nil, assetcreatetime=nil, appid=nil, uin=nil, nickname=nil, iscore=nil, iscloud=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, subdomain=nil, severip=nil, botcount=nil, weakpassword=nil, webcontentrisk=nil, tag=nil, sourcetype=nil, memberid=nil, ccattack=nil, webattack=nil)
2267
+ @AssetId = assetid
2268
+ @AssetName = assetname
2269
+ @AssetType = assettype
2270
+ @Region = region
2271
+ @WAFStatus = wafstatus
2272
+ @AssetCreateTime = assetcreatetime
2273
+ @AppId = appid
2274
+ @Uin = uin
2275
+ @NickName = nickname
2276
+ @IsCore = iscore
2277
+ @IsCloud = iscloud
2278
+ @Attack = attack
2279
+ @Access = access
2280
+ @Intercept = intercept
2281
+ @InBandwidth = inbandwidth
2282
+ @OutBandwidth = outbandwidth
2283
+ @InFlow = inflow
2284
+ @OutFlow = outflow
2285
+ @LastScanTime = lastscantime
2286
+ @PortRisk = portrisk
2287
+ @VulnerabilityRisk = vulnerabilityrisk
2288
+ @ConfigurationRisk = configurationrisk
2289
+ @ScanTask = scantask
2290
+ @SubDomain = subdomain
2291
+ @SeverIp = severip
2292
+ @BotCount = botcount
2293
+ @WeakPassword = weakpassword
2294
+ @WebContentRisk = webcontentrisk
2295
+ @Tag = tag
2296
+ @SourceType = sourcetype
2297
+ @MemberId = memberid
2298
+ @CCAttack = ccattack
2299
+ @WebAttack = webattack
2300
+ end
2301
+
2302
+ def deserialize(params)
2303
+ @AssetId = params['AssetId']
2304
+ @AssetName = params['AssetName']
2305
+ @AssetType = params['AssetType']
2306
+ @Region = params['Region']
2307
+ @WAFStatus = params['WAFStatus']
2308
+ @AssetCreateTime = params['AssetCreateTime']
2309
+ @AppId = params['AppId']
2310
+ @Uin = params['Uin']
2311
+ @NickName = params['NickName']
2312
+ @IsCore = params['IsCore']
2313
+ @IsCloud = params['IsCloud']
2314
+ @Attack = params['Attack']
2315
+ @Access = params['Access']
2316
+ @Intercept = params['Intercept']
2317
+ @InBandwidth = params['InBandwidth']
2318
+ @OutBandwidth = params['OutBandwidth']
2319
+ @InFlow = params['InFlow']
2320
+ @OutFlow = params['OutFlow']
2321
+ @LastScanTime = params['LastScanTime']
2322
+ @PortRisk = params['PortRisk']
2323
+ @VulnerabilityRisk = params['VulnerabilityRisk']
2324
+ @ConfigurationRisk = params['ConfigurationRisk']
2325
+ @ScanTask = params['ScanTask']
2326
+ @SubDomain = params['SubDomain']
2327
+ @SeverIp = params['SeverIp']
2328
+ @BotCount = params['BotCount']
2329
+ @WeakPassword = params['WeakPassword']
2330
+ @WebContentRisk = params['WebContentRisk']
2331
+ unless params['Tag'].nil?
2332
+ @Tag = []
2333
+ params['Tag'].each do |i|
2334
+ tag_tmp = Tag.new
2335
+ tag_tmp.deserialize(i)
2336
+ @Tag << tag_tmp
2337
+ end
2338
+ end
2339
+ @SourceType = params['SourceType']
2340
+ @MemberId = params['MemberId']
2341
+ @CCAttack = params['CCAttack']
2342
+ @WebAttack = params['WebAttack']
2343
+ end
2344
+ end
2345
+
2346
+ # 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤
2347
+ class Filter < TencentCloud::Common::AbstractModel
2348
+ # @param Limit: 查询数量限制
2349
+ # @type Limit: Integer
2350
+ # @param Offset: 查询偏移位置
2351
+ # @type Offset: Integer
2352
+ # @param Order: 排序采用升序还是降序 升:asc 降 desc
2353
+ # @type Order: String
2354
+ # @param By: 需排序的字段
2355
+ # @type By: String
2356
+ # @param Filters: 过滤的列及内容
2357
+ # @type Filters: Array
2358
+ # @param StartTime: 可填无, 日志使用查询时间
2359
+ # @type StartTime: String
2360
+ # @param EndTime: 可填无, 日志使用查询时间
2361
+ # @type EndTime: String
2362
+
2363
+ attr_accessor :Limit, :Offset, :Order, :By, :Filters, :StartTime, :EndTime
2364
+
2365
+ def initialize(limit=nil, offset=nil, order=nil, by=nil, filters=nil, starttime=nil, endtime=nil)
2366
+ @Limit = limit
2367
+ @Offset = offset
2368
+ @Order = order
2369
+ @By = by
2370
+ @Filters = filters
2371
+ @StartTime = starttime
2372
+ @EndTime = endtime
2373
+ end
2374
+
2375
+ def deserialize(params)
2376
+ @Limit = params['Limit']
2377
+ @Offset = params['Offset']
2378
+ @Order = params['Order']
2379
+ @By = params['By']
2380
+ unless params['Filters'].nil?
2381
+ @Filters = []
2382
+ params['Filters'].each do |i|
2383
+ wherefilter_tmp = WhereFilter.new
2384
+ wherefilter_tmp.deserialize(i)
2385
+ @Filters << wherefilter_tmp
2386
+ end
2387
+ end
2388
+ @StartTime = params['StartTime']
2389
+ @EndTime = params['EndTime']
2390
+ end
2391
+ end
2392
+
2393
+ # 过滤数据对象
2394
+ class FilterDataObject < TencentCloud::Common::AbstractModel
2395
+ # @param Value: 英文翻译
2396
+ # @type Value: String
2397
+ # @param Text: 中文翻译
2398
+ # @type Text: String
2399
+
2400
+ attr_accessor :Value, :Text
2401
+
2402
+ def initialize(value=nil, text=nil)
2403
+ @Value = value
2404
+ @Text = text
2405
+ end
2406
+
2407
+ def deserialize(params)
2408
+ @Value = params['Value']
2409
+ @Text = params['Text']
2410
+ end
2411
+ end
2412
+
2413
+ # ip列表
2414
+ class IpAssetListVO < TencentCloud::Common::AbstractModel
2415
+ # @param AssetId: 资产id
2416
+ # 注意:此字段可能返回 null,表示取不到有效值。
2417
+ # @type AssetId: String
2418
+ # @param AssetName: 资产name
2419
+ # 注意:此字段可能返回 null,表示取不到有效值。
2420
+ # @type AssetName: String
2421
+ # @param AssetType: 资产类型
2422
+ # 注意:此字段可能返回 null,表示取不到有效值。
2423
+ # @type AssetType: String
2424
+ # @param Region: 地域
2425
+ # 注意:此字段可能返回 null,表示取不到有效值。
2426
+ # @type Region: String
2427
+ # @param CFWStatus: 云防状态
2428
+ # 注意:此字段可能返回 null,表示取不到有效值。
2429
+ # @type CFWStatus: Integer
2430
+ # @param AssetCreateTime: 资产创建时间
2431
+ # 注意:此字段可能返回 null,表示取不到有效值。
2432
+ # @type AssetCreateTime: String
2433
+ # @param PublicIp: 公网ip
2434
+ # 注意:此字段可能返回 null,表示取不到有效值。
2435
+ # @type PublicIp: String
2436
+ # @param PublicIpType: 公网ip类型
2437
+ # 注意:此字段可能返回 null,表示取不到有效值。
2438
+ # @type PublicIpType: Integer
2439
+ # @param VpcId: vpc
2440
+ # 注意:此字段可能返回 null,表示取不到有效值。
2441
+ # @type VpcId: String
2442
+ # @param VpcName: vpc名
2443
+ # 注意:此字段可能返回 null,表示取不到有效值。
2444
+ # @type VpcName: String
2445
+ # @param AppId: appid
2446
+ # 注意:此字段可能返回 null,表示取不到有效值。
2447
+ # @type AppId: Integer
2448
+ # @param Uin: 用户uin
2449
+ # 注意:此字段可能返回 null,表示取不到有效值。
2450
+ # @type Uin: String
2451
+ # @param NickName: 名称
2452
+ # 注意:此字段可能返回 null,表示取不到有效值。
2453
+ # @type NickName: String
2454
+ # @param IsCore: 核心
2455
+ # 注意:此字段可能返回 null,表示取不到有效值。
2456
+ # @type IsCore: Integer
2457
+ # @param IsCloud: 云上
2458
+ # 注意:此字段可能返回 null,表示取不到有效值。
2459
+ # @type IsCloud: Integer
2460
+ # @param Attack: 网络攻击
2461
+ # 注意:此字段可能返回 null,表示取不到有效值。
2462
+ # @type Attack: Integer
2463
+ # @param Access: 网络访问
2464
+ # 注意:此字段可能返回 null,表示取不到有效值。
2465
+ # @type Access: Integer
2466
+ # @param Intercept: 网络拦截
2467
+ # 注意:此字段可能返回 null,表示取不到有效值。
2468
+ # @type Intercept: Integer
2469
+ # @param InBandwidth: 入向带宽
2470
+ # 注意:此字段可能返回 null,表示取不到有效值。
2471
+ # @type InBandwidth: String
2472
+ # @param OutBandwidth: 出向带宽
2473
+ # 注意:此字段可能返回 null,表示取不到有效值。
2474
+ # @type OutBandwidth: String
2475
+ # @param InFlow: 入向流量
2476
+ # 注意:此字段可能返回 null,表示取不到有效值。
2477
+ # @type InFlow: String
2478
+ # @param OutFlow: 出向流量
2479
+ # 注意:此字段可能返回 null,表示取不到有效值。
2480
+ # @type OutFlow: String
2481
+ # @param LastScanTime: 最近扫描时间
2482
+ # 注意:此字段可能返回 null,表示取不到有效值。
2483
+ # @type LastScanTime: String
2484
+ # @param PortRisk: 端口风险
2485
+ # 注意:此字段可能返回 null,表示取不到有效值。
2486
+ # @type PortRisk: Integer
2487
+ # @param VulnerabilityRisk: 漏洞风险
2488
+ # 注意:此字段可能返回 null,表示取不到有效值。
2489
+ # @type VulnerabilityRisk: Integer
2490
+ # @param ConfigurationRisk: 配置风险
2491
+ # 注意:此字段可能返回 null,表示取不到有效值。
2492
+ # @type ConfigurationRisk: Integer
2493
+ # @param ScanTask: 扫描任务
2494
+ # 注意:此字段可能返回 null,表示取不到有效值。
2495
+ # @type ScanTask: Integer
2496
+ # @param WeakPassword: 弱口令
2497
+ # 注意:此字段可能返回 null,表示取不到有效值。
2498
+ # @type WeakPassword: Integer
2499
+ # @param WebContentRisk: 内容风险
2500
+ # 注意:此字段可能返回 null,表示取不到有效值。
2501
+ # @type WebContentRisk: Integer
2502
+ # @param Tag: 标签
2503
+ # 注意:此字段可能返回 null,表示取不到有效值。
2504
+ # @type Tag: Array
2505
+ # @param AddressId: eip主键
2506
+ # 注意:此字段可能返回 null,表示取不到有效值。
2507
+ # @type AddressId: String
2508
+ # @param MemberId: memberid信息
2509
+ # 注意:此字段可能返回 null,表示取不到有效值。
2510
+ # @type MemberId: String
2511
+ # @param RiskExposure: 风险服务暴露
2512
+ # 注意:此字段可能返回 null,表示取不到有效值。
2513
+ # @type RiskExposure: Integer
2514
+
2515
+ attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CFWStatus, :AssetCreateTime, :PublicIp, :PublicIpType, :VpcId, :VpcName, :AppId, :Uin, :NickName, :IsCore, :IsCloud, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :WeakPassword, :WebContentRisk, :Tag, :AddressId, :MemberId, :RiskExposure
2516
+
2517
+ def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cfwstatus=nil, assetcreatetime=nil, publicip=nil, publiciptype=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, iscore=nil, iscloud=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, weakpassword=nil, webcontentrisk=nil, tag=nil, addressid=nil, memberid=nil, riskexposure=nil)
2518
+ @AssetId = assetid
2519
+ @AssetName = assetname
2520
+ @AssetType = assettype
2521
+ @Region = region
2522
+ @CFWStatus = cfwstatus
2523
+ @AssetCreateTime = assetcreatetime
2524
+ @PublicIp = publicip
2525
+ @PublicIpType = publiciptype
2526
+ @VpcId = vpcid
2527
+ @VpcName = vpcname
2528
+ @AppId = appid
2529
+ @Uin = uin
2530
+ @NickName = nickname
2531
+ @IsCore = iscore
2532
+ @IsCloud = iscloud
2533
+ @Attack = attack
2534
+ @Access = access
2535
+ @Intercept = intercept
2536
+ @InBandwidth = inbandwidth
2537
+ @OutBandwidth = outbandwidth
2538
+ @InFlow = inflow
2539
+ @OutFlow = outflow
2540
+ @LastScanTime = lastscantime
2541
+ @PortRisk = portrisk
2542
+ @VulnerabilityRisk = vulnerabilityrisk
2543
+ @ConfigurationRisk = configurationrisk
2544
+ @ScanTask = scantask
2545
+ @WeakPassword = weakpassword
2546
+ @WebContentRisk = webcontentrisk
2547
+ @Tag = tag
2548
+ @AddressId = addressid
2549
+ @MemberId = memberid
2550
+ @RiskExposure = riskexposure
2551
+ end
2552
+
2553
+ def deserialize(params)
2554
+ @AssetId = params['AssetId']
2555
+ @AssetName = params['AssetName']
2556
+ @AssetType = params['AssetType']
2557
+ @Region = params['Region']
2558
+ @CFWStatus = params['CFWStatus']
2559
+ @AssetCreateTime = params['AssetCreateTime']
2560
+ @PublicIp = params['PublicIp']
2561
+ @PublicIpType = params['PublicIpType']
2562
+ @VpcId = params['VpcId']
2563
+ @VpcName = params['VpcName']
2564
+ @AppId = params['AppId']
2565
+ @Uin = params['Uin']
2566
+ @NickName = params['NickName']
2567
+ @IsCore = params['IsCore']
2568
+ @IsCloud = params['IsCloud']
2569
+ @Attack = params['Attack']
2570
+ @Access = params['Access']
2571
+ @Intercept = params['Intercept']
2572
+ @InBandwidth = params['InBandwidth']
2573
+ @OutBandwidth = params['OutBandwidth']
2574
+ @InFlow = params['InFlow']
2575
+ @OutFlow = params['OutFlow']
2576
+ @LastScanTime = params['LastScanTime']
2577
+ @PortRisk = params['PortRisk']
2578
+ @VulnerabilityRisk = params['VulnerabilityRisk']
2579
+ @ConfigurationRisk = params['ConfigurationRisk']
2580
+ @ScanTask = params['ScanTask']
2581
+ @WeakPassword = params['WeakPassword']
2582
+ @WebContentRisk = params['WebContentRisk']
2583
+ unless params['Tag'].nil?
2584
+ @Tag = []
2585
+ params['Tag'].each do |i|
2586
+ tag_tmp = Tag.new
2587
+ tag_tmp.deserialize(i)
2588
+ @Tag << tag_tmp
2589
+ end
2590
+ end
2591
+ @AddressId = params['AddressId']
2592
+ @MemberId = params['MemberId']
2593
+ @RiskExposure = params['RiskExposure']
1355
2594
  end
1356
2595
  end
1357
2596