tencentcloud-sdk-python 3.0.1170__py2.py3-none-any.whl → 3.0.1171__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11214,6 +11214,160 @@ class DescribeVULRiskAdvanceCFGListResponse(AbstractModel):
11214
11214
  self._RequestId = params.get("RequestId")
11215
11215
 
11216
11216
 
11217
+ class DescribeVULRiskDetailRequest(AbstractModel):
11218
+ """DescribeVULRiskDetail请求参数结构体
11219
+
11220
+ """
11221
+
11222
+ def __init__(self):
11223
+ r"""
11224
+ :param _MemberId: 集团账号的成员id
11225
+ :type MemberId: list of str
11226
+ :param _RiskId: 风险id
11227
+ :type RiskId: str
11228
+ :param _PCMGRId: pcMgrId
11229
+ :type PCMGRId: str
11230
+ """
11231
+ self._MemberId = None
11232
+ self._RiskId = None
11233
+ self._PCMGRId = None
11234
+
11235
+ @property
11236
+ def MemberId(self):
11237
+ return self._MemberId
11238
+
11239
+ @MemberId.setter
11240
+ def MemberId(self, MemberId):
11241
+ self._MemberId = MemberId
11242
+
11243
+ @property
11244
+ def RiskId(self):
11245
+ return self._RiskId
11246
+
11247
+ @RiskId.setter
11248
+ def RiskId(self, RiskId):
11249
+ self._RiskId = RiskId
11250
+
11251
+ @property
11252
+ def PCMGRId(self):
11253
+ return self._PCMGRId
11254
+
11255
+ @PCMGRId.setter
11256
+ def PCMGRId(self, PCMGRId):
11257
+ self._PCMGRId = PCMGRId
11258
+
11259
+
11260
+ def _deserialize(self, params):
11261
+ self._MemberId = params.get("MemberId")
11262
+ self._RiskId = params.get("RiskId")
11263
+ self._PCMGRId = params.get("PCMGRId")
11264
+ memeber_set = set(params.keys())
11265
+ for name, value in vars(self).items():
11266
+ property_name = name[1:]
11267
+ if property_name in memeber_set:
11268
+ memeber_set.remove(property_name)
11269
+ if len(memeber_set) > 0:
11270
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11271
+
11272
+
11273
+
11274
+ class DescribeVULRiskDetailResponse(AbstractModel):
11275
+ """DescribeVULRiskDetail返回参数结构体
11276
+
11277
+ """
11278
+
11279
+ def __init__(self):
11280
+ r"""
11281
+ :param _ServiceSupport: 安全产品支持情况
11282
+ :type ServiceSupport: list of ServiceSupport
11283
+ :param _VulTrend: 漏洞趋势
11284
+ :type VulTrend: list of VulTrend
11285
+ :param _VulData: 漏洞补充信息
11286
+ :type VulData: :class:`tencentcloud.csip.v20221121.models.VULRiskInfo`
11287
+ :param _QuestionId: 小助手问答id
11288
+ :type QuestionId: str
11289
+ :param _SessionId: 会话id
11290
+ :type SessionId: str
11291
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11292
+ :type RequestId: str
11293
+ """
11294
+ self._ServiceSupport = None
11295
+ self._VulTrend = None
11296
+ self._VulData = None
11297
+ self._QuestionId = None
11298
+ self._SessionId = None
11299
+ self._RequestId = None
11300
+
11301
+ @property
11302
+ def ServiceSupport(self):
11303
+ return self._ServiceSupport
11304
+
11305
+ @ServiceSupport.setter
11306
+ def ServiceSupport(self, ServiceSupport):
11307
+ self._ServiceSupport = ServiceSupport
11308
+
11309
+ @property
11310
+ def VulTrend(self):
11311
+ return self._VulTrend
11312
+
11313
+ @VulTrend.setter
11314
+ def VulTrend(self, VulTrend):
11315
+ self._VulTrend = VulTrend
11316
+
11317
+ @property
11318
+ def VulData(self):
11319
+ return self._VulData
11320
+
11321
+ @VulData.setter
11322
+ def VulData(self, VulData):
11323
+ self._VulData = VulData
11324
+
11325
+ @property
11326
+ def QuestionId(self):
11327
+ return self._QuestionId
11328
+
11329
+ @QuestionId.setter
11330
+ def QuestionId(self, QuestionId):
11331
+ self._QuestionId = QuestionId
11332
+
11333
+ @property
11334
+ def SessionId(self):
11335
+ return self._SessionId
11336
+
11337
+ @SessionId.setter
11338
+ def SessionId(self, SessionId):
11339
+ self._SessionId = SessionId
11340
+
11341
+ @property
11342
+ def RequestId(self):
11343
+ return self._RequestId
11344
+
11345
+ @RequestId.setter
11346
+ def RequestId(self, RequestId):
11347
+ self._RequestId = RequestId
11348
+
11349
+
11350
+ def _deserialize(self, params):
11351
+ if params.get("ServiceSupport") is not None:
11352
+ self._ServiceSupport = []
11353
+ for item in params.get("ServiceSupport"):
11354
+ obj = ServiceSupport()
11355
+ obj._deserialize(item)
11356
+ self._ServiceSupport.append(obj)
11357
+ if params.get("VulTrend") is not None:
11358
+ self._VulTrend = []
11359
+ for item in params.get("VulTrend"):
11360
+ obj = VulTrend()
11361
+ obj._deserialize(item)
11362
+ self._VulTrend.append(obj)
11363
+ if params.get("VulData") is not None:
11364
+ self._VulData = VULRiskInfo()
11365
+ self._VulData._deserialize(params.get("VulData"))
11366
+ self._QuestionId = params.get("QuestionId")
11367
+ self._SessionId = params.get("SessionId")
11368
+ self._RequestId = params.get("RequestId")
11369
+
11370
+
11217
11371
  class DescribeVpcAssetsRequest(AbstractModel):
11218
11372
  """DescribeVpcAssets请求参数结构体
11219
11373
 
@@ -11354,91 +11508,279 @@ class DescribeVpcAssetsResponse(AbstractModel):
11354
11508
  self._RequestId = params.get("RequestId")
11355
11509
 
11356
11510
 
11357
- class DomainAssetVO(AbstractModel):
11358
- """域名资产
11511
+ class DescribeVulViewVulRiskListRequest(AbstractModel):
11512
+ """DescribeVulViewVulRiskList请求参数结构体
11359
11513
 
11360
11514
  """
11361
11515
 
11362
11516
  def __init__(self):
11363
11517
  r"""
11364
- :param _AssetId: 资产id
11365
- 注意:此字段可能返回 null,表示取不到有效值。
11366
- :type AssetId: list of str
11367
- :param _AssetName: 资产名
11368
- 注意:此字段可能返回 null,表示取不到有效值。
11369
- :type AssetName: list of str
11370
- :param _AssetType: 资产类型
11371
- 注意:此字段可能返回 null,表示取不到有效值。
11372
- :type AssetType: list of str
11373
- :param _Region: 地域
11374
- 注意:此字段可能返回 null,表示取不到有效值。
11375
- :type Region: list of str
11376
- :param _WAFStatus: Waf状态
11377
- 注意:此字段可能返回 null,表示取不到有效值。
11378
- :type WAFStatus: int
11379
- :param _AssetCreateTime: 资产创建时间
11380
- 注意:此字段可能返回 null,表示取不到有效值。
11381
- :type AssetCreateTime: str
11382
- :param _AppId: Appid
11383
- 注意:此字段可能返回 null,表示取不到有效值。
11384
- :type AppId: int
11385
- :param _Uin: 账号id
11386
- 注意:此字段可能返回 null,表示取不到有效值。
11387
- :type Uin: str
11388
- :param _NickName: 账号名称
11389
- 注意:此字段可能返回 null,表示取不到有效值。
11390
- :type NickName: str
11391
- :param _IsCore: 是否核心
11392
- 注意:此字段可能返回 null,表示取不到有效值。
11393
- :type IsCore: int
11394
- :param _IsCloud: 是否云上资产
11395
- 注意:此字段可能返回 null,表示取不到有效值。
11396
- :type IsCloud: int
11397
- :param _Attack: 网络攻击
11398
- 注意:此字段可能返回 null,表示取不到有效值。
11399
- :type Attack: int
11400
- :param _Access: 网络访问
11401
- 注意:此字段可能返回 null,表示取不到有效值。
11402
- :type Access: int
11403
- :param _Intercept: 网络拦截
11404
- 注意:此字段可能返回 null,表示取不到有效值。
11405
- :type Intercept: int
11406
- :param _InBandwidth: 入站峰值带宽
11407
- 注意:此字段可能返回 null,表示取不到有效值。
11408
- :type InBandwidth: str
11409
- :param _OutBandwidth: 出站峰值带宽
11410
- 注意:此字段可能返回 null,表示取不到有效值。
11411
- :type OutBandwidth: str
11412
- :param _InFlow: 入站累计流量
11413
- 注意:此字段可能返回 null,表示取不到有效值。
11414
- :type InFlow: str
11415
- :param _OutFlow: 出站累计流量
11416
- 注意:此字段可能返回 null,表示取不到有效值。
11417
- :type OutFlow: str
11418
- :param _LastScanTime: 最近扫描时间
11419
- 注意:此字段可能返回 null,表示取不到有效值。
11420
- :type LastScanTime: str
11421
- :param _PortRisk: 端口风险
11422
- 注意:此字段可能返回 null,表示取不到有效值。
11423
- :type PortRisk: int
11424
- :param _VulnerabilityRisk: 漏洞风险
11425
- 注意:此字段可能返回 null,表示取不到有效值。
11426
- :type VulnerabilityRisk: int
11427
- :param _ConfigurationRisk: 配置风险
11428
- 注意:此字段可能返回 null,表示取不到有效值。
11429
- :type ConfigurationRisk: int
11430
- :param _ScanTask: 扫描任务
11431
- 注意:此字段可能返回 null,表示取不到有效值。
11432
- :type ScanTask: int
11433
- :param _SubDomain: 域名
11434
- 注意:此字段可能返回 null,表示取不到有效值。
11435
- :type SubDomain: str
11436
- :param _SeverIp: 解析ip
11518
+ :param _MemberId: 集团账号的成员id
11519
+ :type MemberId: list of str
11520
+ :param _Filter: 过滤内容
11521
+ :type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
11522
+ :param _Tags: 资产标签
11523
+ :type Tags: list of AssetTag
11524
+ """
11525
+ self._MemberId = None
11526
+ self._Filter = None
11527
+ self._Tags = None
11528
+
11529
+ @property
11530
+ def MemberId(self):
11531
+ return self._MemberId
11532
+
11533
+ @MemberId.setter
11534
+ def MemberId(self, MemberId):
11535
+ self._MemberId = MemberId
11536
+
11537
+ @property
11538
+ def Filter(self):
11539
+ return self._Filter
11540
+
11541
+ @Filter.setter
11542
+ def Filter(self, Filter):
11543
+ self._Filter = Filter
11544
+
11545
+ @property
11546
+ def Tags(self):
11547
+ return self._Tags
11548
+
11549
+ @Tags.setter
11550
+ def Tags(self, Tags):
11551
+ self._Tags = Tags
11552
+
11553
+
11554
+ def _deserialize(self, params):
11555
+ self._MemberId = params.get("MemberId")
11556
+ if params.get("Filter") is not None:
11557
+ self._Filter = Filter()
11558
+ self._Filter._deserialize(params.get("Filter"))
11559
+ if params.get("Tags") is not None:
11560
+ self._Tags = []
11561
+ for item in params.get("Tags"):
11562
+ obj = AssetTag()
11563
+ obj._deserialize(item)
11564
+ self._Tags.append(obj)
11565
+ memeber_set = set(params.keys())
11566
+ for name, value in vars(self).items():
11567
+ property_name = name[1:]
11568
+ if property_name in memeber_set:
11569
+ memeber_set.remove(property_name)
11570
+ if len(memeber_set) > 0:
11571
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11572
+
11573
+
11574
+
11575
+ class DescribeVulViewVulRiskListResponse(AbstractModel):
11576
+ """DescribeVulViewVulRiskList返回参数结构体
11577
+
11578
+ """
11579
+
11580
+ def __init__(self):
11581
+ r"""
11582
+ :param _TotalCount: 总条数
11583
+ :type TotalCount: int
11584
+ :param _Data: 漏洞产视角的漏洞风险列表
11437
11585
  注意:此字段可能返回 null,表示取不到有效值。
11438
- :type SeverIp: list of str
11439
- :param _BotCount: bot攻击数量
11586
+ :type Data: list of VULViewVULRiskData
11587
+ :param _LevelLists: 危险等级列表
11588
+ :type LevelLists: list of FilterDataObject
11589
+ :param _FromLists: 来源列表
11590
+ :type FromLists: list of FilterDataObject
11591
+ :param _VULTypeLists: 漏洞类型列表
11592
+ :type VULTypeLists: list of FilterDataObject
11593
+ :param _Tags: tag枚举
11440
11594
  注意:此字段可能返回 null,表示取不到有效值。
11441
- :type BotCount: int
11595
+ :type Tags: list of FilterDataObject
11596
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11597
+ :type RequestId: str
11598
+ """
11599
+ self._TotalCount = None
11600
+ self._Data = None
11601
+ self._LevelLists = None
11602
+ self._FromLists = None
11603
+ self._VULTypeLists = None
11604
+ self._Tags = None
11605
+ self._RequestId = None
11606
+
11607
+ @property
11608
+ def TotalCount(self):
11609
+ return self._TotalCount
11610
+
11611
+ @TotalCount.setter
11612
+ def TotalCount(self, TotalCount):
11613
+ self._TotalCount = TotalCount
11614
+
11615
+ @property
11616
+ def Data(self):
11617
+ return self._Data
11618
+
11619
+ @Data.setter
11620
+ def Data(self, Data):
11621
+ self._Data = Data
11622
+
11623
+ @property
11624
+ def LevelLists(self):
11625
+ return self._LevelLists
11626
+
11627
+ @LevelLists.setter
11628
+ def LevelLists(self, LevelLists):
11629
+ self._LevelLists = LevelLists
11630
+
11631
+ @property
11632
+ def FromLists(self):
11633
+ return self._FromLists
11634
+
11635
+ @FromLists.setter
11636
+ def FromLists(self, FromLists):
11637
+ self._FromLists = FromLists
11638
+
11639
+ @property
11640
+ def VULTypeLists(self):
11641
+ return self._VULTypeLists
11642
+
11643
+ @VULTypeLists.setter
11644
+ def VULTypeLists(self, VULTypeLists):
11645
+ self._VULTypeLists = VULTypeLists
11646
+
11647
+ @property
11648
+ def Tags(self):
11649
+ return self._Tags
11650
+
11651
+ @Tags.setter
11652
+ def Tags(self, Tags):
11653
+ self._Tags = Tags
11654
+
11655
+ @property
11656
+ def RequestId(self):
11657
+ return self._RequestId
11658
+
11659
+ @RequestId.setter
11660
+ def RequestId(self, RequestId):
11661
+ self._RequestId = RequestId
11662
+
11663
+
11664
+ def _deserialize(self, params):
11665
+ self._TotalCount = params.get("TotalCount")
11666
+ if params.get("Data") is not None:
11667
+ self._Data = []
11668
+ for item in params.get("Data"):
11669
+ obj = VULViewVULRiskData()
11670
+ obj._deserialize(item)
11671
+ self._Data.append(obj)
11672
+ if params.get("LevelLists") is not None:
11673
+ self._LevelLists = []
11674
+ for item in params.get("LevelLists"):
11675
+ obj = FilterDataObject()
11676
+ obj._deserialize(item)
11677
+ self._LevelLists.append(obj)
11678
+ if params.get("FromLists") is not None:
11679
+ self._FromLists = []
11680
+ for item in params.get("FromLists"):
11681
+ obj = FilterDataObject()
11682
+ obj._deserialize(item)
11683
+ self._FromLists.append(obj)
11684
+ if params.get("VULTypeLists") is not None:
11685
+ self._VULTypeLists = []
11686
+ for item in params.get("VULTypeLists"):
11687
+ obj = FilterDataObject()
11688
+ obj._deserialize(item)
11689
+ self._VULTypeLists.append(obj)
11690
+ if params.get("Tags") is not None:
11691
+ self._Tags = []
11692
+ for item in params.get("Tags"):
11693
+ obj = FilterDataObject()
11694
+ obj._deserialize(item)
11695
+ self._Tags.append(obj)
11696
+ self._RequestId = params.get("RequestId")
11697
+
11698
+
11699
+ class DomainAssetVO(AbstractModel):
11700
+ """域名资产
11701
+
11702
+ """
11703
+
11704
+ def __init__(self):
11705
+ r"""
11706
+ :param _AssetId: 资产id
11707
+ 注意:此字段可能返回 null,表示取不到有效值。
11708
+ :type AssetId: list of str
11709
+ :param _AssetName: 资产名
11710
+ 注意:此字段可能返回 null,表示取不到有效值。
11711
+ :type AssetName: list of str
11712
+ :param _AssetType: 资产类型
11713
+ 注意:此字段可能返回 null,表示取不到有效值。
11714
+ :type AssetType: list of str
11715
+ :param _Region: 地域
11716
+ 注意:此字段可能返回 null,表示取不到有效值。
11717
+ :type Region: list of str
11718
+ :param _WAFStatus: Waf状态
11719
+ 注意:此字段可能返回 null,表示取不到有效值。
11720
+ :type WAFStatus: int
11721
+ :param _AssetCreateTime: 资产创建时间
11722
+ 注意:此字段可能返回 null,表示取不到有效值。
11723
+ :type AssetCreateTime: str
11724
+ :param _AppId: Appid
11725
+ 注意:此字段可能返回 null,表示取不到有效值。
11726
+ :type AppId: int
11727
+ :param _Uin: 账号id
11728
+ 注意:此字段可能返回 null,表示取不到有效值。
11729
+ :type Uin: str
11730
+ :param _NickName: 账号名称
11731
+ 注意:此字段可能返回 null,表示取不到有效值。
11732
+ :type NickName: str
11733
+ :param _IsCore: 是否核心
11734
+ 注意:此字段可能返回 null,表示取不到有效值。
11735
+ :type IsCore: int
11736
+ :param _IsCloud: 是否云上资产
11737
+ 注意:此字段可能返回 null,表示取不到有效值。
11738
+ :type IsCloud: int
11739
+ :param _Attack: 网络攻击
11740
+ 注意:此字段可能返回 null,表示取不到有效值。
11741
+ :type Attack: int
11742
+ :param _Access: 网络访问
11743
+ 注意:此字段可能返回 null,表示取不到有效值。
11744
+ :type Access: int
11745
+ :param _Intercept: 网络拦截
11746
+ 注意:此字段可能返回 null,表示取不到有效值。
11747
+ :type Intercept: int
11748
+ :param _InBandwidth: 入站峰值带宽
11749
+ 注意:此字段可能返回 null,表示取不到有效值。
11750
+ :type InBandwidth: str
11751
+ :param _OutBandwidth: 出站峰值带宽
11752
+ 注意:此字段可能返回 null,表示取不到有效值。
11753
+ :type OutBandwidth: str
11754
+ :param _InFlow: 入站累计流量
11755
+ 注意:此字段可能返回 null,表示取不到有效值。
11756
+ :type InFlow: str
11757
+ :param _OutFlow: 出站累计流量
11758
+ 注意:此字段可能返回 null,表示取不到有效值。
11759
+ :type OutFlow: str
11760
+ :param _LastScanTime: 最近扫描时间
11761
+ 注意:此字段可能返回 null,表示取不到有效值。
11762
+ :type LastScanTime: str
11763
+ :param _PortRisk: 端口风险
11764
+ 注意:此字段可能返回 null,表示取不到有效值。
11765
+ :type PortRisk: int
11766
+ :param _VulnerabilityRisk: 漏洞风险
11767
+ 注意:此字段可能返回 null,表示取不到有效值。
11768
+ :type VulnerabilityRisk: int
11769
+ :param _ConfigurationRisk: 配置风险
11770
+ 注意:此字段可能返回 null,表示取不到有效值。
11771
+ :type ConfigurationRisk: int
11772
+ :param _ScanTask: 扫描任务
11773
+ 注意:此字段可能返回 null,表示取不到有效值。
11774
+ :type ScanTask: int
11775
+ :param _SubDomain: 域名
11776
+ 注意:此字段可能返回 null,表示取不到有效值。
11777
+ :type SubDomain: str
11778
+ :param _SeverIp: 解析ip
11779
+ 注意:此字段可能返回 null,表示取不到有效值。
11780
+ :type SeverIp: list of str
11781
+ :param _BotCount: bot攻击数量
11782
+ 注意:此字段可能返回 null,表示取不到有效值。
11783
+ :type BotCount: int
11442
11784
  :param _WeakPassword: 弱口令风险
11443
11785
  注意:此字段可能返回 null,表示取不到有效值。
11444
11786
  :type WeakPassword: int
@@ -17698,6 +18040,84 @@ class VULRiskAdvanceCFGList(AbstractModel):
17698
18040
 
17699
18041
 
17700
18042
 
18043
+ class VULRiskInfo(AbstractModel):
18044
+ """漏洞风险信息
18045
+
18046
+ """
18047
+
18048
+ def __init__(self):
18049
+ r"""
18050
+ :param _Fix: 修复建议
18051
+ 注意:此字段可能返回 null,表示取不到有效值。
18052
+ :type Fix: str
18053
+ :param _References: 技术参考/参考链接
18054
+ 注意:此字段可能返回 null,表示取不到有效值。
18055
+ :type References: str
18056
+ :param _Describe: 漏洞描述
18057
+ 注意:此字段可能返回 null,表示取不到有效值。
18058
+ :type Describe: str
18059
+ :param _ImpactComponent: 受影响组件
18060
+ 注意:此字段可能返回 null,表示取不到有效值。
18061
+ :type ImpactComponent: list of VulImpactComponentInfo
18062
+ """
18063
+ self._Fix = None
18064
+ self._References = None
18065
+ self._Describe = None
18066
+ self._ImpactComponent = None
18067
+
18068
+ @property
18069
+ def Fix(self):
18070
+ return self._Fix
18071
+
18072
+ @Fix.setter
18073
+ def Fix(self, Fix):
18074
+ self._Fix = Fix
18075
+
18076
+ @property
18077
+ def References(self):
18078
+ return self._References
18079
+
18080
+ @References.setter
18081
+ def References(self, References):
18082
+ self._References = References
18083
+
18084
+ @property
18085
+ def Describe(self):
18086
+ return self._Describe
18087
+
18088
+ @Describe.setter
18089
+ def Describe(self, Describe):
18090
+ self._Describe = Describe
18091
+
18092
+ @property
18093
+ def ImpactComponent(self):
18094
+ return self._ImpactComponent
18095
+
18096
+ @ImpactComponent.setter
18097
+ def ImpactComponent(self, ImpactComponent):
18098
+ self._ImpactComponent = ImpactComponent
18099
+
18100
+
18101
+ def _deserialize(self, params):
18102
+ self._Fix = params.get("Fix")
18103
+ self._References = params.get("References")
18104
+ self._Describe = params.get("Describe")
18105
+ if params.get("ImpactComponent") is not None:
18106
+ self._ImpactComponent = []
18107
+ for item in params.get("ImpactComponent"):
18108
+ obj = VulImpactComponentInfo()
18109
+ obj._deserialize(item)
18110
+ self._ImpactComponent.append(obj)
18111
+ memeber_set = set(params.keys())
18112
+ for name, value in vars(self).items():
18113
+ property_name = name[1:]
18114
+ if property_name in memeber_set:
18115
+ memeber_set.remove(property_name)
18116
+ if len(memeber_set) > 0:
18117
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18118
+
18119
+
18120
+
17701
18121
  class VULViewVULRisk(AbstractModel):
17702
18122
  """漏洞视角的漏洞风险对象
17703
18123
 
@@ -17751,12 +18171,345 @@ class VULViewVULRisk(AbstractModel):
17751
18171
  :param _Uin: 用户uin
17752
18172
  注意:此字段可能返回 null,表示取不到有效值。
17753
18173
  :type Uin: str
17754
- :param _Fix: 修复建议
17755
- 注意:此字段可能返回 null,表示取不到有效值。
17756
- :type Fix: str
18174
+ :param _Fix: 修复建议
18175
+ 注意:此字段可能返回 null,表示取不到有效值。
18176
+ :type Fix: str
18177
+ :param _EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
18178
+ 注意:此字段可能返回 null,表示取不到有效值。
18179
+ :type EMGCVulType: int
18180
+ """
18181
+ self._Port = None
18182
+ self._NoHandleCount = None
18183
+ self._Level = None
18184
+ self._Component = None
18185
+ self._RecentTime = None
18186
+ self._FirstTime = None
18187
+ self._AffectAssetCount = None
18188
+ self._Id = None
18189
+ self._From = None
18190
+ self._Index = None
18191
+ self._VULType = None
18192
+ self._VULName = None
18193
+ self._CVE = None
18194
+ self._Describe = None
18195
+ self._Payload = None
18196
+ self._AppName = None
18197
+ self._References = None
18198
+ self._AppVersion = None
18199
+ self._VULURL = None
18200
+ self._Nick = None
18201
+ self._AppId = None
18202
+ self._Uin = None
18203
+ self._Fix = None
18204
+ self._EMGCVulType = None
18205
+
18206
+ @property
18207
+ def Port(self):
18208
+ return self._Port
18209
+
18210
+ @Port.setter
18211
+ def Port(self, Port):
18212
+ self._Port = Port
18213
+
18214
+ @property
18215
+ def NoHandleCount(self):
18216
+ return self._NoHandleCount
18217
+
18218
+ @NoHandleCount.setter
18219
+ def NoHandleCount(self, NoHandleCount):
18220
+ self._NoHandleCount = NoHandleCount
18221
+
18222
+ @property
18223
+ def Level(self):
18224
+ return self._Level
18225
+
18226
+ @Level.setter
18227
+ def Level(self, Level):
18228
+ self._Level = Level
18229
+
18230
+ @property
18231
+ def Component(self):
18232
+ return self._Component
18233
+
18234
+ @Component.setter
18235
+ def Component(self, Component):
18236
+ self._Component = Component
18237
+
18238
+ @property
18239
+ def RecentTime(self):
18240
+ return self._RecentTime
18241
+
18242
+ @RecentTime.setter
18243
+ def RecentTime(self, RecentTime):
18244
+ self._RecentTime = RecentTime
18245
+
18246
+ @property
18247
+ def FirstTime(self):
18248
+ return self._FirstTime
18249
+
18250
+ @FirstTime.setter
18251
+ def FirstTime(self, FirstTime):
18252
+ self._FirstTime = FirstTime
18253
+
18254
+ @property
18255
+ def AffectAssetCount(self):
18256
+ return self._AffectAssetCount
18257
+
18258
+ @AffectAssetCount.setter
18259
+ def AffectAssetCount(self, AffectAssetCount):
18260
+ self._AffectAssetCount = AffectAssetCount
18261
+
18262
+ @property
18263
+ def Id(self):
18264
+ return self._Id
18265
+
18266
+ @Id.setter
18267
+ def Id(self, Id):
18268
+ self._Id = Id
18269
+
18270
+ @property
18271
+ def From(self):
18272
+ return self._From
18273
+
18274
+ @From.setter
18275
+ def From(self, From):
18276
+ self._From = From
18277
+
18278
+ @property
18279
+ def Index(self):
18280
+ return self._Index
18281
+
18282
+ @Index.setter
18283
+ def Index(self, Index):
18284
+ self._Index = Index
18285
+
18286
+ @property
18287
+ def VULType(self):
18288
+ return self._VULType
18289
+
18290
+ @VULType.setter
18291
+ def VULType(self, VULType):
18292
+ self._VULType = VULType
18293
+
18294
+ @property
18295
+ def VULName(self):
18296
+ return self._VULName
18297
+
18298
+ @VULName.setter
18299
+ def VULName(self, VULName):
18300
+ self._VULName = VULName
18301
+
18302
+ @property
18303
+ def CVE(self):
18304
+ return self._CVE
18305
+
18306
+ @CVE.setter
18307
+ def CVE(self, CVE):
18308
+ self._CVE = CVE
18309
+
18310
+ @property
18311
+ def Describe(self):
18312
+ return self._Describe
18313
+
18314
+ @Describe.setter
18315
+ def Describe(self, Describe):
18316
+ self._Describe = Describe
18317
+
18318
+ @property
18319
+ def Payload(self):
18320
+ return self._Payload
18321
+
18322
+ @Payload.setter
18323
+ def Payload(self, Payload):
18324
+ self._Payload = Payload
18325
+
18326
+ @property
18327
+ def AppName(self):
18328
+ return self._AppName
18329
+
18330
+ @AppName.setter
18331
+ def AppName(self, AppName):
18332
+ self._AppName = AppName
18333
+
18334
+ @property
18335
+ def References(self):
18336
+ return self._References
18337
+
18338
+ @References.setter
18339
+ def References(self, References):
18340
+ self._References = References
18341
+
18342
+ @property
18343
+ def AppVersion(self):
18344
+ return self._AppVersion
18345
+
18346
+ @AppVersion.setter
18347
+ def AppVersion(self, AppVersion):
18348
+ self._AppVersion = AppVersion
18349
+
18350
+ @property
18351
+ def VULURL(self):
18352
+ return self._VULURL
18353
+
18354
+ @VULURL.setter
18355
+ def VULURL(self, VULURL):
18356
+ self._VULURL = VULURL
18357
+
18358
+ @property
18359
+ def Nick(self):
18360
+ return self._Nick
18361
+
18362
+ @Nick.setter
18363
+ def Nick(self, Nick):
18364
+ self._Nick = Nick
18365
+
18366
+ @property
18367
+ def AppId(self):
18368
+ return self._AppId
18369
+
18370
+ @AppId.setter
18371
+ def AppId(self, AppId):
18372
+ self._AppId = AppId
18373
+
18374
+ @property
18375
+ def Uin(self):
18376
+ return self._Uin
18377
+
18378
+ @Uin.setter
18379
+ def Uin(self, Uin):
18380
+ self._Uin = Uin
18381
+
18382
+ @property
18383
+ def Fix(self):
18384
+ return self._Fix
18385
+
18386
+ @Fix.setter
18387
+ def Fix(self, Fix):
18388
+ self._Fix = Fix
18389
+
18390
+ @property
18391
+ def EMGCVulType(self):
18392
+ return self._EMGCVulType
18393
+
18394
+ @EMGCVulType.setter
18395
+ def EMGCVulType(self, EMGCVulType):
18396
+ self._EMGCVulType = EMGCVulType
18397
+
18398
+
18399
+ def _deserialize(self, params):
18400
+ self._Port = params.get("Port")
18401
+ self._NoHandleCount = params.get("NoHandleCount")
18402
+ self._Level = params.get("Level")
18403
+ self._Component = params.get("Component")
18404
+ self._RecentTime = params.get("RecentTime")
18405
+ self._FirstTime = params.get("FirstTime")
18406
+ self._AffectAssetCount = params.get("AffectAssetCount")
18407
+ self._Id = params.get("Id")
18408
+ self._From = params.get("From")
18409
+ self._Index = params.get("Index")
18410
+ self._VULType = params.get("VULType")
18411
+ self._VULName = params.get("VULName")
18412
+ self._CVE = params.get("CVE")
18413
+ self._Describe = params.get("Describe")
18414
+ self._Payload = params.get("Payload")
18415
+ self._AppName = params.get("AppName")
18416
+ self._References = params.get("References")
18417
+ self._AppVersion = params.get("AppVersion")
18418
+ self._VULURL = params.get("VULURL")
18419
+ self._Nick = params.get("Nick")
18420
+ self._AppId = params.get("AppId")
18421
+ self._Uin = params.get("Uin")
18422
+ self._Fix = params.get("Fix")
18423
+ self._EMGCVulType = params.get("EMGCVulType")
18424
+ memeber_set = set(params.keys())
18425
+ for name, value in vars(self).items():
18426
+ property_name = name[1:]
18427
+ if property_name in memeber_set:
18428
+ memeber_set.remove(property_name)
18429
+ if len(memeber_set) > 0:
18430
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18431
+
18432
+
18433
+
18434
+ class VULViewVULRiskData(AbstractModel):
18435
+ """漏洞视角的漏洞风险对象
18436
+
18437
+ """
18438
+
18439
+ def __init__(self):
18440
+ r"""
18441
+ :param _Port: 端口
18442
+ :type Port: str
18443
+ :param _NoHandleCount: 影响资产
18444
+ :type NoHandleCount: int
18445
+ :param _Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
18446
+ :type Level: str
18447
+ :param _Component: 组件
18448
+ :type Component: str
18449
+ :param _RecentTime: 最近识别时间
18450
+ :type RecentTime: str
18451
+ :param _FirstTime: 首次识别时间
18452
+ :type FirstTime: str
18453
+ :param _AffectAssetCount: 影响资产数量
18454
+ :type AffectAssetCount: int
18455
+ :param _RiskId: 风险ID
18456
+ :type RiskId: str
18457
+ :param _From: 扫描来源,具体看接口返回枚举类型
18458
+ :type From: str
18459
+ :param _Index: 前端索引
18460
+ :type Index: str
18461
+ :param _VULType: 漏洞类型
18462
+ :type VULType: str
18463
+ :param _VULName: 漏洞名
18464
+ :type VULName: str
18465
+ :param _CVE: cve
18466
+ :type CVE: str
18467
+ :param _Payload: 漏洞payload
18468
+ :type Payload: str
18469
+ :param _AppName: 漏洞影响组件
18470
+ :type AppName: str
18471
+ :param _AppVersion: 漏洞影响版本
18472
+ :type AppVersion: str
18473
+ :param _VULURL: 风险点
18474
+ :type VULURL: str
18475
+ :param _Nick: 用户昵称
18476
+ 注意:此字段可能返回 null,表示取不到有效值。
18477
+ :type Nick: str
18478
+ :param _AppId: 用户appid
18479
+ :type AppId: str
18480
+ :param _Uin: 用户uin
18481
+ 注意:此字段可能返回 null,表示取不到有效值。
18482
+ :type Uin: str
17757
18483
  :param _EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
17758
18484
  注意:此字段可能返回 null,表示取不到有效值。
17759
18485
  :type EMGCVulType: int
18486
+ :param _CVSS: CVSS评分
18487
+ 注意:此字段可能返回 null,表示取不到有效值。
18488
+ :type CVSS: float
18489
+ :param _PCMGRId: PCMGRId
18490
+ 注意:此字段可能返回 null,表示取不到有效值。
18491
+ :type PCMGRId: str
18492
+ :param _VulTag: 漏洞标签。搜索时应急 必修传参VulTag=SuggestRepair/EMGCVul
18493
+ 注意:此字段可能返回 null,表示取不到有效值。
18494
+ :type VulTag: list of str
18495
+ :param _DisclosureTime: 漏洞披露时间
18496
+ 注意:此字段可能返回 null,表示取不到有效值。
18497
+ :type DisclosureTime: str
18498
+ :param _AttackHeat: 攻击热度
18499
+ 注意:此字段可能返回 null,表示取不到有效值。
18500
+ :type AttackHeat: int
18501
+ :param _IsSuggest: 是否必修漏洞1是,0不是
18502
+ 注意:此字段可能返回 null,表示取不到有效值。
18503
+ :type IsSuggest: int
18504
+ :param _HandleTaskId: 处置任务id
18505
+ 注意:此字段可能返回 null,表示取不到有效值。
18506
+ :type HandleTaskId: str
18507
+ :param _EngineSource: 引擎来源
18508
+ 注意:此字段可能返回 null,表示取不到有效值。
18509
+ :type EngineSource: str
18510
+ :param _VulRiskId: 新的漏洞风险id
18511
+ 注意:此字段可能返回 null,表示取不到有效值。
18512
+ :type VulRiskId: str
17760
18513
  """
17761
18514
  self._Port = None
17762
18515
  self._NoHandleCount = None
@@ -17765,23 +18518,29 @@ class VULViewVULRisk(AbstractModel):
17765
18518
  self._RecentTime = None
17766
18519
  self._FirstTime = None
17767
18520
  self._AffectAssetCount = None
17768
- self._Id = None
18521
+ self._RiskId = None
17769
18522
  self._From = None
17770
18523
  self._Index = None
17771
18524
  self._VULType = None
17772
18525
  self._VULName = None
17773
18526
  self._CVE = None
17774
- self._Describe = None
17775
18527
  self._Payload = None
17776
18528
  self._AppName = None
17777
- self._References = None
17778
18529
  self._AppVersion = None
17779
18530
  self._VULURL = None
17780
18531
  self._Nick = None
17781
18532
  self._AppId = None
17782
18533
  self._Uin = None
17783
- self._Fix = None
17784
18534
  self._EMGCVulType = None
18535
+ self._CVSS = None
18536
+ self._PCMGRId = None
18537
+ self._VulTag = None
18538
+ self._DisclosureTime = None
18539
+ self._AttackHeat = None
18540
+ self._IsSuggest = None
18541
+ self._HandleTaskId = None
18542
+ self._EngineSource = None
18543
+ self._VulRiskId = None
17785
18544
 
17786
18545
  @property
17787
18546
  def Port(self):
@@ -17840,12 +18599,12 @@ class VULViewVULRisk(AbstractModel):
17840
18599
  self._AffectAssetCount = AffectAssetCount
17841
18600
 
17842
18601
  @property
17843
- def Id(self):
17844
- return self._Id
18602
+ def RiskId(self):
18603
+ return self._RiskId
17845
18604
 
17846
- @Id.setter
17847
- def Id(self, Id):
17848
- self._Id = Id
18605
+ @RiskId.setter
18606
+ def RiskId(self, RiskId):
18607
+ self._RiskId = RiskId
17849
18608
 
17850
18609
  @property
17851
18610
  def From(self):
@@ -17887,14 +18646,6 @@ class VULViewVULRisk(AbstractModel):
17887
18646
  def CVE(self, CVE):
17888
18647
  self._CVE = CVE
17889
18648
 
17890
- @property
17891
- def Describe(self):
17892
- return self._Describe
17893
-
17894
- @Describe.setter
17895
- def Describe(self, Describe):
17896
- self._Describe = Describe
17897
-
17898
18649
  @property
17899
18650
  def Payload(self):
17900
18651
  return self._Payload
@@ -17911,14 +18662,6 @@ class VULViewVULRisk(AbstractModel):
17911
18662
  def AppName(self, AppName):
17912
18663
  self._AppName = AppName
17913
18664
 
17914
- @property
17915
- def References(self):
17916
- return self._References
17917
-
17918
- @References.setter
17919
- def References(self, References):
17920
- self._References = References
17921
-
17922
18665
  @property
17923
18666
  def AppVersion(self):
17924
18667
  return self._AppVersion
@@ -17959,14 +18702,6 @@ class VULViewVULRisk(AbstractModel):
17959
18702
  def Uin(self, Uin):
17960
18703
  self._Uin = Uin
17961
18704
 
17962
- @property
17963
- def Fix(self):
17964
- return self._Fix
17965
-
17966
- @Fix.setter
17967
- def Fix(self, Fix):
17968
- self._Fix = Fix
17969
-
17970
18705
  @property
17971
18706
  def EMGCVulType(self):
17972
18707
  return self._EMGCVulType
@@ -17975,6 +18710,78 @@ class VULViewVULRisk(AbstractModel):
17975
18710
  def EMGCVulType(self, EMGCVulType):
17976
18711
  self._EMGCVulType = EMGCVulType
17977
18712
 
18713
+ @property
18714
+ def CVSS(self):
18715
+ return self._CVSS
18716
+
18717
+ @CVSS.setter
18718
+ def CVSS(self, CVSS):
18719
+ self._CVSS = CVSS
18720
+
18721
+ @property
18722
+ def PCMGRId(self):
18723
+ return self._PCMGRId
18724
+
18725
+ @PCMGRId.setter
18726
+ def PCMGRId(self, PCMGRId):
18727
+ self._PCMGRId = PCMGRId
18728
+
18729
+ @property
18730
+ def VulTag(self):
18731
+ return self._VulTag
18732
+
18733
+ @VulTag.setter
18734
+ def VulTag(self, VulTag):
18735
+ self._VulTag = VulTag
18736
+
18737
+ @property
18738
+ def DisclosureTime(self):
18739
+ return self._DisclosureTime
18740
+
18741
+ @DisclosureTime.setter
18742
+ def DisclosureTime(self, DisclosureTime):
18743
+ self._DisclosureTime = DisclosureTime
18744
+
18745
+ @property
18746
+ def AttackHeat(self):
18747
+ return self._AttackHeat
18748
+
18749
+ @AttackHeat.setter
18750
+ def AttackHeat(self, AttackHeat):
18751
+ self._AttackHeat = AttackHeat
18752
+
18753
+ @property
18754
+ def IsSuggest(self):
18755
+ return self._IsSuggest
18756
+
18757
+ @IsSuggest.setter
18758
+ def IsSuggest(self, IsSuggest):
18759
+ self._IsSuggest = IsSuggest
18760
+
18761
+ @property
18762
+ def HandleTaskId(self):
18763
+ return self._HandleTaskId
18764
+
18765
+ @HandleTaskId.setter
18766
+ def HandleTaskId(self, HandleTaskId):
18767
+ self._HandleTaskId = HandleTaskId
18768
+
18769
+ @property
18770
+ def EngineSource(self):
18771
+ return self._EngineSource
18772
+
18773
+ @EngineSource.setter
18774
+ def EngineSource(self, EngineSource):
18775
+ self._EngineSource = EngineSource
18776
+
18777
+ @property
18778
+ def VulRiskId(self):
18779
+ return self._VulRiskId
18780
+
18781
+ @VulRiskId.setter
18782
+ def VulRiskId(self, VulRiskId):
18783
+ self._VulRiskId = VulRiskId
18784
+
17978
18785
 
17979
18786
  def _deserialize(self, params):
17980
18787
  self._Port = params.get("Port")
@@ -17984,23 +18791,29 @@ class VULViewVULRisk(AbstractModel):
17984
18791
  self._RecentTime = params.get("RecentTime")
17985
18792
  self._FirstTime = params.get("FirstTime")
17986
18793
  self._AffectAssetCount = params.get("AffectAssetCount")
17987
- self._Id = params.get("Id")
18794
+ self._RiskId = params.get("RiskId")
17988
18795
  self._From = params.get("From")
17989
18796
  self._Index = params.get("Index")
17990
18797
  self._VULType = params.get("VULType")
17991
18798
  self._VULName = params.get("VULName")
17992
18799
  self._CVE = params.get("CVE")
17993
- self._Describe = params.get("Describe")
17994
18800
  self._Payload = params.get("Payload")
17995
18801
  self._AppName = params.get("AppName")
17996
- self._References = params.get("References")
17997
18802
  self._AppVersion = params.get("AppVersion")
17998
18803
  self._VULURL = params.get("VULURL")
17999
18804
  self._Nick = params.get("Nick")
18000
18805
  self._AppId = params.get("AppId")
18001
18806
  self._Uin = params.get("Uin")
18002
- self._Fix = params.get("Fix")
18003
18807
  self._EMGCVulType = params.get("EMGCVulType")
18808
+ self._CVSS = params.get("CVSS")
18809
+ self._PCMGRId = params.get("PCMGRId")
18810
+ self._VulTag = params.get("VulTag")
18811
+ self._DisclosureTime = params.get("DisclosureTime")
18812
+ self._AttackHeat = params.get("AttackHeat")
18813
+ self._IsSuggest = params.get("IsSuggest")
18814
+ self._HandleTaskId = params.get("HandleTaskId")
18815
+ self._EngineSource = params.get("EngineSource")
18816
+ self._VulRiskId = params.get("VulRiskId")
18004
18817
  memeber_set = set(params.keys())
18005
18818
  for name, value in vars(self).items():
18006
18819
  property_name = name[1:]
@@ -18221,6 +19034,126 @@ class Vpc(AbstractModel):
18221
19034
 
18222
19035
 
18223
19036
 
19037
+ class VulImpactComponentInfo(AbstractModel):
19038
+ """漏洞影响组件信息
19039
+
19040
+ """
19041
+
19042
+ def __init__(self):
19043
+ r"""
19044
+ :param _Component: 组件名称
19045
+ 注意:此字段可能返回 null,表示取不到有效值。
19046
+ :type Component: str
19047
+ :param _Version: 版本名称
19048
+ 注意:此字段可能返回 null,表示取不到有效值。
19049
+ :type Version: str
19050
+ """
19051
+ self._Component = None
19052
+ self._Version = None
19053
+
19054
+ @property
19055
+ def Component(self):
19056
+ return self._Component
19057
+
19058
+ @Component.setter
19059
+ def Component(self, Component):
19060
+ self._Component = Component
19061
+
19062
+ @property
19063
+ def Version(self):
19064
+ return self._Version
19065
+
19066
+ @Version.setter
19067
+ def Version(self, Version):
19068
+ self._Version = Version
19069
+
19070
+
19071
+ def _deserialize(self, params):
19072
+ self._Component = params.get("Component")
19073
+ self._Version = params.get("Version")
19074
+ memeber_set = set(params.keys())
19075
+ for name, value in vars(self).items():
19076
+ property_name = name[1:]
19077
+ if property_name in memeber_set:
19078
+ memeber_set.remove(property_name)
19079
+ if len(memeber_set) > 0:
19080
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19081
+
19082
+
19083
+
19084
+ class VulTrend(AbstractModel):
19085
+ """漏洞趋势-攻击趋势、影响用户、影响资产
19086
+
19087
+ """
19088
+
19089
+ def __init__(self):
19090
+ r"""
19091
+ :param _AffectAssetCount: 影响的资产数
19092
+ 注意:此字段可能返回 null,表示取不到有效值。
19093
+ :type AffectAssetCount: int
19094
+ :param _AffectUserCount: 影响的用户数
19095
+ 注意:此字段可能返回 null,表示取不到有效值。
19096
+ :type AffectUserCount: int
19097
+ :param _AttackCount: 攻击数
19098
+ 注意:此字段可能返回 null,表示取不到有效值。
19099
+ :type AttackCount: int
19100
+ :param _Date: 时间
19101
+ 注意:此字段可能返回 null,表示取不到有效值。
19102
+ :type Date: str
19103
+ """
19104
+ self._AffectAssetCount = None
19105
+ self._AffectUserCount = None
19106
+ self._AttackCount = None
19107
+ self._Date = None
19108
+
19109
+ @property
19110
+ def AffectAssetCount(self):
19111
+ return self._AffectAssetCount
19112
+
19113
+ @AffectAssetCount.setter
19114
+ def AffectAssetCount(self, AffectAssetCount):
19115
+ self._AffectAssetCount = AffectAssetCount
19116
+
19117
+ @property
19118
+ def AffectUserCount(self):
19119
+ return self._AffectUserCount
19120
+
19121
+ @AffectUserCount.setter
19122
+ def AffectUserCount(self, AffectUserCount):
19123
+ self._AffectUserCount = AffectUserCount
19124
+
19125
+ @property
19126
+ def AttackCount(self):
19127
+ return self._AttackCount
19128
+
19129
+ @AttackCount.setter
19130
+ def AttackCount(self, AttackCount):
19131
+ self._AttackCount = AttackCount
19132
+
19133
+ @property
19134
+ def Date(self):
19135
+ return self._Date
19136
+
19137
+ @Date.setter
19138
+ def Date(self, Date):
19139
+ self._Date = Date
19140
+
19141
+
19142
+ def _deserialize(self, params):
19143
+ self._AffectAssetCount = params.get("AffectAssetCount")
19144
+ self._AffectUserCount = params.get("AffectUserCount")
19145
+ self._AttackCount = params.get("AttackCount")
19146
+ self._Date = params.get("Date")
19147
+ memeber_set = set(params.keys())
19148
+ for name, value in vars(self).items():
19149
+ property_name = name[1:]
19150
+ if property_name in memeber_set:
19151
+ memeber_set.remove(property_name)
19152
+ if len(memeber_set) > 0:
19153
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19154
+
19155
+
19156
+
18224
19157
  class WebsiteRisk(AbstractModel):
18225
19158
  """网站风险对象
18226
19159