tencentcloud-sdk-python 3.0.1401__py2.py3-none-any.whl → 3.0.1403__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bmvpc/v20180625/bmvpc_client.py +54 -18
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/ckafka/v20190819/errorcodes.py +1 -1
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +767 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -0
- tencentcloud/ess/v20201111/models.py +55 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
- tencentcloud/essbasic/v20210526/models.py +49 -12
- tencentcloud/goosefs/v20220519/goosefs_client.py +23 -0
- tencentcloud/goosefs/v20220519/models.py +94 -0
- tencentcloud/gs/v20191118/gs_client.py +69 -0
- tencentcloud/gs/v20191118/models.py +408 -2
- tencentcloud/hunyuan/v20230901/models.py +119 -0
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +669 -0
- tencentcloud/lke/v20231130/models.py +49 -4
- tencentcloud/ocr/v20181119/models.py +6 -6
- tencentcloud/tat/v20201028/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +218 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/trtc/v20190722/errorcodes.py +5 -2
- tencentcloud/trtc/v20190722/models.py +91 -4
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1401.dist-info → tencentcloud_sdk_python-3.0.1403.dist-info}/top_level.txt +0 -0
@@ -10783,6 +10783,185 @@ class DescribeDomainAssetsResponse(AbstractModel):
|
|
10783
10783
|
self._RequestId = params.get("RequestId")
|
10784
10784
|
|
10785
10785
|
|
10786
|
+
class DescribeExposuresRequest(AbstractModel):
|
10787
|
+
"""DescribeExposures请求参数结构体
|
10788
|
+
|
10789
|
+
"""
|
10790
|
+
|
10791
|
+
def __init__(self):
|
10792
|
+
r"""
|
10793
|
+
:param _MemberId: 集团账号的成员id
|
10794
|
+
:type MemberId: list of str
|
10795
|
+
:param _Filters: 过滤内容
|
10796
|
+
:type Filters: list of Filters
|
10797
|
+
:param _Limit: 分页大小
|
10798
|
+
:type Limit: int
|
10799
|
+
:param _Offset: 偏移量
|
10800
|
+
:type Offset: int
|
10801
|
+
:param _Order: 排序类型
|
10802
|
+
:type Order: str
|
10803
|
+
:param _By: 排序字段
|
10804
|
+
:type By: str
|
10805
|
+
"""
|
10806
|
+
self._MemberId = None
|
10807
|
+
self._Filters = None
|
10808
|
+
self._Limit = None
|
10809
|
+
self._Offset = None
|
10810
|
+
self._Order = None
|
10811
|
+
self._By = None
|
10812
|
+
|
10813
|
+
@property
|
10814
|
+
def MemberId(self):
|
10815
|
+
"""集团账号的成员id
|
10816
|
+
:rtype: list of str
|
10817
|
+
"""
|
10818
|
+
return self._MemberId
|
10819
|
+
|
10820
|
+
@MemberId.setter
|
10821
|
+
def MemberId(self, MemberId):
|
10822
|
+
self._MemberId = MemberId
|
10823
|
+
|
10824
|
+
@property
|
10825
|
+
def Filters(self):
|
10826
|
+
"""过滤内容
|
10827
|
+
:rtype: list of Filters
|
10828
|
+
"""
|
10829
|
+
return self._Filters
|
10830
|
+
|
10831
|
+
@Filters.setter
|
10832
|
+
def Filters(self, Filters):
|
10833
|
+
self._Filters = Filters
|
10834
|
+
|
10835
|
+
@property
|
10836
|
+
def Limit(self):
|
10837
|
+
"""分页大小
|
10838
|
+
:rtype: int
|
10839
|
+
"""
|
10840
|
+
return self._Limit
|
10841
|
+
|
10842
|
+
@Limit.setter
|
10843
|
+
def Limit(self, Limit):
|
10844
|
+
self._Limit = Limit
|
10845
|
+
|
10846
|
+
@property
|
10847
|
+
def Offset(self):
|
10848
|
+
"""偏移量
|
10849
|
+
:rtype: int
|
10850
|
+
"""
|
10851
|
+
return self._Offset
|
10852
|
+
|
10853
|
+
@Offset.setter
|
10854
|
+
def Offset(self, Offset):
|
10855
|
+
self._Offset = Offset
|
10856
|
+
|
10857
|
+
@property
|
10858
|
+
def Order(self):
|
10859
|
+
"""排序类型
|
10860
|
+
:rtype: str
|
10861
|
+
"""
|
10862
|
+
return self._Order
|
10863
|
+
|
10864
|
+
@Order.setter
|
10865
|
+
def Order(self, Order):
|
10866
|
+
self._Order = Order
|
10867
|
+
|
10868
|
+
@property
|
10869
|
+
def By(self):
|
10870
|
+
"""排序字段
|
10871
|
+
:rtype: str
|
10872
|
+
"""
|
10873
|
+
return self._By
|
10874
|
+
|
10875
|
+
@By.setter
|
10876
|
+
def By(self, By):
|
10877
|
+
self._By = By
|
10878
|
+
|
10879
|
+
|
10880
|
+
def _deserialize(self, params):
|
10881
|
+
self._MemberId = params.get("MemberId")
|
10882
|
+
if params.get("Filters") is not None:
|
10883
|
+
self._Filters = []
|
10884
|
+
for item in params.get("Filters"):
|
10885
|
+
obj = Filters()
|
10886
|
+
obj._deserialize(item)
|
10887
|
+
self._Filters.append(obj)
|
10888
|
+
self._Limit = params.get("Limit")
|
10889
|
+
self._Offset = params.get("Offset")
|
10890
|
+
self._Order = params.get("Order")
|
10891
|
+
self._By = params.get("By")
|
10892
|
+
memeber_set = set(params.keys())
|
10893
|
+
for name, value in vars(self).items():
|
10894
|
+
property_name = name[1:]
|
10895
|
+
if property_name in memeber_set:
|
10896
|
+
memeber_set.remove(property_name)
|
10897
|
+
if len(memeber_set) > 0:
|
10898
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10899
|
+
|
10900
|
+
|
10901
|
+
|
10902
|
+
class DescribeExposuresResponse(AbstractModel):
|
10903
|
+
"""DescribeExposures返回参数结构体
|
10904
|
+
|
10905
|
+
"""
|
10906
|
+
|
10907
|
+
def __init__(self):
|
10908
|
+
r"""
|
10909
|
+
:param _TotalCount: 互联网暴露资产数量
|
10910
|
+
:type TotalCount: int
|
10911
|
+
:param _ExposeList: 互联网暴露资产列表
|
10912
|
+
:type ExposeList: list of ExposesItem
|
10913
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10914
|
+
:type RequestId: str
|
10915
|
+
"""
|
10916
|
+
self._TotalCount = None
|
10917
|
+
self._ExposeList = None
|
10918
|
+
self._RequestId = None
|
10919
|
+
|
10920
|
+
@property
|
10921
|
+
def TotalCount(self):
|
10922
|
+
"""互联网暴露资产数量
|
10923
|
+
:rtype: int
|
10924
|
+
"""
|
10925
|
+
return self._TotalCount
|
10926
|
+
|
10927
|
+
@TotalCount.setter
|
10928
|
+
def TotalCount(self, TotalCount):
|
10929
|
+
self._TotalCount = TotalCount
|
10930
|
+
|
10931
|
+
@property
|
10932
|
+
def ExposeList(self):
|
10933
|
+
"""互联网暴露资产列表
|
10934
|
+
:rtype: list of ExposesItem
|
10935
|
+
"""
|
10936
|
+
return self._ExposeList
|
10937
|
+
|
10938
|
+
@ExposeList.setter
|
10939
|
+
def ExposeList(self, ExposeList):
|
10940
|
+
self._ExposeList = ExposeList
|
10941
|
+
|
10942
|
+
@property
|
10943
|
+
def RequestId(self):
|
10944
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10945
|
+
:rtype: str
|
10946
|
+
"""
|
10947
|
+
return self._RequestId
|
10948
|
+
|
10949
|
+
@RequestId.setter
|
10950
|
+
def RequestId(self, RequestId):
|
10951
|
+
self._RequestId = RequestId
|
10952
|
+
|
10953
|
+
|
10954
|
+
def _deserialize(self, params):
|
10955
|
+
self._TotalCount = params.get("TotalCount")
|
10956
|
+
if params.get("ExposeList") is not None:
|
10957
|
+
self._ExposeList = []
|
10958
|
+
for item in params.get("ExposeList"):
|
10959
|
+
obj = ExposesItem()
|
10960
|
+
obj._deserialize(item)
|
10961
|
+
self._ExposeList.append(obj)
|
10962
|
+
self._RequestId = params.get("RequestId")
|
10963
|
+
|
10964
|
+
|
10786
10965
|
class DescribeGatewayAssetsRequest(AbstractModel):
|
10787
10966
|
"""DescribeGatewayAssets请求参数结构体
|
10788
10967
|
|
@@ -14617,13 +14796,61 @@ class DescribeTopAttackInfoRequest(AbstractModel):
|
|
14617
14796
|
|
14618
14797
|
def __init__(self):
|
14619
14798
|
r"""
|
14799
|
+
:param _StartTime: 起始时间
|
14800
|
+
:type StartTime: str
|
14801
|
+
:param _EndTime: 结束时间
|
14802
|
+
:type EndTime: str
|
14803
|
+
:param _QueryType: 1:攻击类型 2:攻击者
|
14804
|
+
:type QueryType: int
|
14620
14805
|
:param _MemberId: 集团账号的成员id
|
14621
14806
|
:type MemberId: list of str
|
14622
14807
|
:param _OperatedMemberId: 被调用的集团账号的成员id
|
14623
14808
|
:type OperatedMemberId: list of str
|
14809
|
+
:param _AssetName: 资产名称
|
14810
|
+
:type AssetName: str
|
14811
|
+
:param _AssetType: 0: 默认全部 1:资产ID 2:域名
|
14812
|
+
:type AssetType: int
|
14624
14813
|
"""
|
14814
|
+
self._StartTime = None
|
14815
|
+
self._EndTime = None
|
14816
|
+
self._QueryType = None
|
14625
14817
|
self._MemberId = None
|
14626
14818
|
self._OperatedMemberId = None
|
14819
|
+
self._AssetName = None
|
14820
|
+
self._AssetType = None
|
14821
|
+
|
14822
|
+
@property
|
14823
|
+
def StartTime(self):
|
14824
|
+
"""起始时间
|
14825
|
+
:rtype: str
|
14826
|
+
"""
|
14827
|
+
return self._StartTime
|
14828
|
+
|
14829
|
+
@StartTime.setter
|
14830
|
+
def StartTime(self, StartTime):
|
14831
|
+
self._StartTime = StartTime
|
14832
|
+
|
14833
|
+
@property
|
14834
|
+
def EndTime(self):
|
14835
|
+
"""结束时间
|
14836
|
+
:rtype: str
|
14837
|
+
"""
|
14838
|
+
return self._EndTime
|
14839
|
+
|
14840
|
+
@EndTime.setter
|
14841
|
+
def EndTime(self, EndTime):
|
14842
|
+
self._EndTime = EndTime
|
14843
|
+
|
14844
|
+
@property
|
14845
|
+
def QueryType(self):
|
14846
|
+
"""1:攻击类型 2:攻击者
|
14847
|
+
:rtype: int
|
14848
|
+
"""
|
14849
|
+
return self._QueryType
|
14850
|
+
|
14851
|
+
@QueryType.setter
|
14852
|
+
def QueryType(self, QueryType):
|
14853
|
+
self._QueryType = QueryType
|
14627
14854
|
|
14628
14855
|
@property
|
14629
14856
|
def MemberId(self):
|
@@ -14647,10 +14874,37 @@ class DescribeTopAttackInfoRequest(AbstractModel):
|
|
14647
14874
|
def OperatedMemberId(self, OperatedMemberId):
|
14648
14875
|
self._OperatedMemberId = OperatedMemberId
|
14649
14876
|
|
14877
|
+
@property
|
14878
|
+
def AssetName(self):
|
14879
|
+
"""资产名称
|
14880
|
+
:rtype: str
|
14881
|
+
"""
|
14882
|
+
return self._AssetName
|
14883
|
+
|
14884
|
+
@AssetName.setter
|
14885
|
+
def AssetName(self, AssetName):
|
14886
|
+
self._AssetName = AssetName
|
14887
|
+
|
14888
|
+
@property
|
14889
|
+
def AssetType(self):
|
14890
|
+
"""0: 默认全部 1:资产ID 2:域名
|
14891
|
+
:rtype: int
|
14892
|
+
"""
|
14893
|
+
return self._AssetType
|
14894
|
+
|
14895
|
+
@AssetType.setter
|
14896
|
+
def AssetType(self, AssetType):
|
14897
|
+
self._AssetType = AssetType
|
14898
|
+
|
14650
14899
|
|
14651
14900
|
def _deserialize(self, params):
|
14901
|
+
self._StartTime = params.get("StartTime")
|
14902
|
+
self._EndTime = params.get("EndTime")
|
14903
|
+
self._QueryType = params.get("QueryType")
|
14652
14904
|
self._MemberId = params.get("MemberId")
|
14653
14905
|
self._OperatedMemberId = params.get("OperatedMemberId")
|
14906
|
+
self._AssetName = params.get("AssetName")
|
14907
|
+
self._AssetType = params.get("AssetType")
|
14654
14908
|
memeber_set = set(params.keys())
|
14655
14909
|
for name, value in vars(self).items():
|
14656
14910
|
property_name = name[1:]
|
@@ -16291,6 +16545,447 @@ class Element(AbstractModel):
|
|
16291
16545
|
|
16292
16546
|
|
16293
16547
|
|
16548
|
+
class ExposesItem(AbstractModel):
|
16549
|
+
"""暴露资产
|
16550
|
+
|
16551
|
+
"""
|
16552
|
+
|
16553
|
+
def __init__(self):
|
16554
|
+
r"""
|
16555
|
+
:param _Provider: 云厂商
|
16556
|
+
:type Provider: str
|
16557
|
+
:param _CloudAccountName: 云账号名称
|
16558
|
+
:type CloudAccountName: str
|
16559
|
+
:param _CloudAccountId: 云账号
|
16560
|
+
:type CloudAccountId: str
|
16561
|
+
:param _Domain: 域名
|
16562
|
+
:type Domain: str
|
16563
|
+
:param _Ip: IP
|
16564
|
+
:type Ip: str
|
16565
|
+
:param _Port: 端口或者端口范围
|
16566
|
+
:type Port: str
|
16567
|
+
:param _Status: 开放
|
16568
|
+
:type Status: str
|
16569
|
+
:param _RiskType: 风险类型
|
16570
|
+
:type RiskType: str
|
16571
|
+
:param _AclType: acl类型
|
16572
|
+
:type AclType: str
|
16573
|
+
:param _AclList: acl列表
|
16574
|
+
:type AclList: str
|
16575
|
+
:param _AssetId: 资产ID
|
16576
|
+
:type AssetId: str
|
16577
|
+
:param _InstanceName: 实例名称
|
16578
|
+
:type InstanceName: str
|
16579
|
+
:param _AssetType: 资产类型
|
16580
|
+
:type AssetType: str
|
16581
|
+
:param _PortServiceCount: 端口服务数量
|
16582
|
+
:type PortServiceCount: int
|
16583
|
+
:param _HighRiskPortServiceCount: 高危端口数量
|
16584
|
+
:type HighRiskPortServiceCount: int
|
16585
|
+
:param _WebAppCount: web应用数量
|
16586
|
+
:type WebAppCount: int
|
16587
|
+
:param _RiskWebAppCount: 有风险web应用数量
|
16588
|
+
:type RiskWebAppCount: int
|
16589
|
+
:param _WeakPasswordCount: 弱口令数量
|
16590
|
+
:type WeakPasswordCount: int
|
16591
|
+
:param _VulCount: 漏洞数量
|
16592
|
+
:type VulCount: int
|
16593
|
+
:param _CreateTime: 首次发现时间
|
16594
|
+
:type CreateTime: str
|
16595
|
+
:param _UpdateTime: 最近更新时间
|
16596
|
+
:type UpdateTime: str
|
16597
|
+
:param _AssetTypeName: 实例类型名称
|
16598
|
+
:type AssetTypeName: str
|
16599
|
+
:param _DisplayStatus: 开放状态
|
16600
|
+
:type DisplayStatus: str
|
16601
|
+
:param _DisplayRiskType: 端口状态
|
16602
|
+
:type DisplayRiskType: str
|
16603
|
+
:param _ScanTaskStatus: 扫描任务状态
|
16604
|
+
:type ScanTaskStatus: str
|
16605
|
+
:param _Uuid: uuid
|
16606
|
+
:type Uuid: str
|
16607
|
+
:param _HasScan: 是否进行过安全体检
|
16608
|
+
:type HasScan: str
|
16609
|
+
:param _AppId: 租户ID
|
16610
|
+
:type AppId: int
|
16611
|
+
"""
|
16612
|
+
self._Provider = None
|
16613
|
+
self._CloudAccountName = None
|
16614
|
+
self._CloudAccountId = None
|
16615
|
+
self._Domain = None
|
16616
|
+
self._Ip = None
|
16617
|
+
self._Port = None
|
16618
|
+
self._Status = None
|
16619
|
+
self._RiskType = None
|
16620
|
+
self._AclType = None
|
16621
|
+
self._AclList = None
|
16622
|
+
self._AssetId = None
|
16623
|
+
self._InstanceName = None
|
16624
|
+
self._AssetType = None
|
16625
|
+
self._PortServiceCount = None
|
16626
|
+
self._HighRiskPortServiceCount = None
|
16627
|
+
self._WebAppCount = None
|
16628
|
+
self._RiskWebAppCount = None
|
16629
|
+
self._WeakPasswordCount = None
|
16630
|
+
self._VulCount = None
|
16631
|
+
self._CreateTime = None
|
16632
|
+
self._UpdateTime = None
|
16633
|
+
self._AssetTypeName = None
|
16634
|
+
self._DisplayStatus = None
|
16635
|
+
self._DisplayRiskType = None
|
16636
|
+
self._ScanTaskStatus = None
|
16637
|
+
self._Uuid = None
|
16638
|
+
self._HasScan = None
|
16639
|
+
self._AppId = None
|
16640
|
+
|
16641
|
+
@property
|
16642
|
+
def Provider(self):
|
16643
|
+
"""云厂商
|
16644
|
+
:rtype: str
|
16645
|
+
"""
|
16646
|
+
return self._Provider
|
16647
|
+
|
16648
|
+
@Provider.setter
|
16649
|
+
def Provider(self, Provider):
|
16650
|
+
self._Provider = Provider
|
16651
|
+
|
16652
|
+
@property
|
16653
|
+
def CloudAccountName(self):
|
16654
|
+
"""云账号名称
|
16655
|
+
:rtype: str
|
16656
|
+
"""
|
16657
|
+
return self._CloudAccountName
|
16658
|
+
|
16659
|
+
@CloudAccountName.setter
|
16660
|
+
def CloudAccountName(self, CloudAccountName):
|
16661
|
+
self._CloudAccountName = CloudAccountName
|
16662
|
+
|
16663
|
+
@property
|
16664
|
+
def CloudAccountId(self):
|
16665
|
+
"""云账号
|
16666
|
+
:rtype: str
|
16667
|
+
"""
|
16668
|
+
return self._CloudAccountId
|
16669
|
+
|
16670
|
+
@CloudAccountId.setter
|
16671
|
+
def CloudAccountId(self, CloudAccountId):
|
16672
|
+
self._CloudAccountId = CloudAccountId
|
16673
|
+
|
16674
|
+
@property
|
16675
|
+
def Domain(self):
|
16676
|
+
"""域名
|
16677
|
+
:rtype: str
|
16678
|
+
"""
|
16679
|
+
return self._Domain
|
16680
|
+
|
16681
|
+
@Domain.setter
|
16682
|
+
def Domain(self, Domain):
|
16683
|
+
self._Domain = Domain
|
16684
|
+
|
16685
|
+
@property
|
16686
|
+
def Ip(self):
|
16687
|
+
"""IP
|
16688
|
+
:rtype: str
|
16689
|
+
"""
|
16690
|
+
return self._Ip
|
16691
|
+
|
16692
|
+
@Ip.setter
|
16693
|
+
def Ip(self, Ip):
|
16694
|
+
self._Ip = Ip
|
16695
|
+
|
16696
|
+
@property
|
16697
|
+
def Port(self):
|
16698
|
+
"""端口或者端口范围
|
16699
|
+
:rtype: str
|
16700
|
+
"""
|
16701
|
+
return self._Port
|
16702
|
+
|
16703
|
+
@Port.setter
|
16704
|
+
def Port(self, Port):
|
16705
|
+
self._Port = Port
|
16706
|
+
|
16707
|
+
@property
|
16708
|
+
def Status(self):
|
16709
|
+
"""开放
|
16710
|
+
:rtype: str
|
16711
|
+
"""
|
16712
|
+
return self._Status
|
16713
|
+
|
16714
|
+
@Status.setter
|
16715
|
+
def Status(self, Status):
|
16716
|
+
self._Status = Status
|
16717
|
+
|
16718
|
+
@property
|
16719
|
+
def RiskType(self):
|
16720
|
+
"""风险类型
|
16721
|
+
:rtype: str
|
16722
|
+
"""
|
16723
|
+
return self._RiskType
|
16724
|
+
|
16725
|
+
@RiskType.setter
|
16726
|
+
def RiskType(self, RiskType):
|
16727
|
+
self._RiskType = RiskType
|
16728
|
+
|
16729
|
+
@property
|
16730
|
+
def AclType(self):
|
16731
|
+
"""acl类型
|
16732
|
+
:rtype: str
|
16733
|
+
"""
|
16734
|
+
return self._AclType
|
16735
|
+
|
16736
|
+
@AclType.setter
|
16737
|
+
def AclType(self, AclType):
|
16738
|
+
self._AclType = AclType
|
16739
|
+
|
16740
|
+
@property
|
16741
|
+
def AclList(self):
|
16742
|
+
"""acl列表
|
16743
|
+
:rtype: str
|
16744
|
+
"""
|
16745
|
+
return self._AclList
|
16746
|
+
|
16747
|
+
@AclList.setter
|
16748
|
+
def AclList(self, AclList):
|
16749
|
+
self._AclList = AclList
|
16750
|
+
|
16751
|
+
@property
|
16752
|
+
def AssetId(self):
|
16753
|
+
"""资产ID
|
16754
|
+
:rtype: str
|
16755
|
+
"""
|
16756
|
+
return self._AssetId
|
16757
|
+
|
16758
|
+
@AssetId.setter
|
16759
|
+
def AssetId(self, AssetId):
|
16760
|
+
self._AssetId = AssetId
|
16761
|
+
|
16762
|
+
@property
|
16763
|
+
def InstanceName(self):
|
16764
|
+
"""实例名称
|
16765
|
+
:rtype: str
|
16766
|
+
"""
|
16767
|
+
return self._InstanceName
|
16768
|
+
|
16769
|
+
@InstanceName.setter
|
16770
|
+
def InstanceName(self, InstanceName):
|
16771
|
+
self._InstanceName = InstanceName
|
16772
|
+
|
16773
|
+
@property
|
16774
|
+
def AssetType(self):
|
16775
|
+
"""资产类型
|
16776
|
+
:rtype: str
|
16777
|
+
"""
|
16778
|
+
return self._AssetType
|
16779
|
+
|
16780
|
+
@AssetType.setter
|
16781
|
+
def AssetType(self, AssetType):
|
16782
|
+
self._AssetType = AssetType
|
16783
|
+
|
16784
|
+
@property
|
16785
|
+
def PortServiceCount(self):
|
16786
|
+
"""端口服务数量
|
16787
|
+
:rtype: int
|
16788
|
+
"""
|
16789
|
+
return self._PortServiceCount
|
16790
|
+
|
16791
|
+
@PortServiceCount.setter
|
16792
|
+
def PortServiceCount(self, PortServiceCount):
|
16793
|
+
self._PortServiceCount = PortServiceCount
|
16794
|
+
|
16795
|
+
@property
|
16796
|
+
def HighRiskPortServiceCount(self):
|
16797
|
+
"""高危端口数量
|
16798
|
+
:rtype: int
|
16799
|
+
"""
|
16800
|
+
return self._HighRiskPortServiceCount
|
16801
|
+
|
16802
|
+
@HighRiskPortServiceCount.setter
|
16803
|
+
def HighRiskPortServiceCount(self, HighRiskPortServiceCount):
|
16804
|
+
self._HighRiskPortServiceCount = HighRiskPortServiceCount
|
16805
|
+
|
16806
|
+
@property
|
16807
|
+
def WebAppCount(self):
|
16808
|
+
"""web应用数量
|
16809
|
+
:rtype: int
|
16810
|
+
"""
|
16811
|
+
return self._WebAppCount
|
16812
|
+
|
16813
|
+
@WebAppCount.setter
|
16814
|
+
def WebAppCount(self, WebAppCount):
|
16815
|
+
self._WebAppCount = WebAppCount
|
16816
|
+
|
16817
|
+
@property
|
16818
|
+
def RiskWebAppCount(self):
|
16819
|
+
"""有风险web应用数量
|
16820
|
+
:rtype: int
|
16821
|
+
"""
|
16822
|
+
return self._RiskWebAppCount
|
16823
|
+
|
16824
|
+
@RiskWebAppCount.setter
|
16825
|
+
def RiskWebAppCount(self, RiskWebAppCount):
|
16826
|
+
self._RiskWebAppCount = RiskWebAppCount
|
16827
|
+
|
16828
|
+
@property
|
16829
|
+
def WeakPasswordCount(self):
|
16830
|
+
"""弱口令数量
|
16831
|
+
:rtype: int
|
16832
|
+
"""
|
16833
|
+
return self._WeakPasswordCount
|
16834
|
+
|
16835
|
+
@WeakPasswordCount.setter
|
16836
|
+
def WeakPasswordCount(self, WeakPasswordCount):
|
16837
|
+
self._WeakPasswordCount = WeakPasswordCount
|
16838
|
+
|
16839
|
+
@property
|
16840
|
+
def VulCount(self):
|
16841
|
+
"""漏洞数量
|
16842
|
+
:rtype: int
|
16843
|
+
"""
|
16844
|
+
return self._VulCount
|
16845
|
+
|
16846
|
+
@VulCount.setter
|
16847
|
+
def VulCount(self, VulCount):
|
16848
|
+
self._VulCount = VulCount
|
16849
|
+
|
16850
|
+
@property
|
16851
|
+
def CreateTime(self):
|
16852
|
+
"""首次发现时间
|
16853
|
+
:rtype: str
|
16854
|
+
"""
|
16855
|
+
return self._CreateTime
|
16856
|
+
|
16857
|
+
@CreateTime.setter
|
16858
|
+
def CreateTime(self, CreateTime):
|
16859
|
+
self._CreateTime = CreateTime
|
16860
|
+
|
16861
|
+
@property
|
16862
|
+
def UpdateTime(self):
|
16863
|
+
"""最近更新时间
|
16864
|
+
:rtype: str
|
16865
|
+
"""
|
16866
|
+
return self._UpdateTime
|
16867
|
+
|
16868
|
+
@UpdateTime.setter
|
16869
|
+
def UpdateTime(self, UpdateTime):
|
16870
|
+
self._UpdateTime = UpdateTime
|
16871
|
+
|
16872
|
+
@property
|
16873
|
+
def AssetTypeName(self):
|
16874
|
+
"""实例类型名称
|
16875
|
+
:rtype: str
|
16876
|
+
"""
|
16877
|
+
return self._AssetTypeName
|
16878
|
+
|
16879
|
+
@AssetTypeName.setter
|
16880
|
+
def AssetTypeName(self, AssetTypeName):
|
16881
|
+
self._AssetTypeName = AssetTypeName
|
16882
|
+
|
16883
|
+
@property
|
16884
|
+
def DisplayStatus(self):
|
16885
|
+
"""开放状态
|
16886
|
+
:rtype: str
|
16887
|
+
"""
|
16888
|
+
return self._DisplayStatus
|
16889
|
+
|
16890
|
+
@DisplayStatus.setter
|
16891
|
+
def DisplayStatus(self, DisplayStatus):
|
16892
|
+
self._DisplayStatus = DisplayStatus
|
16893
|
+
|
16894
|
+
@property
|
16895
|
+
def DisplayRiskType(self):
|
16896
|
+
"""端口状态
|
16897
|
+
:rtype: str
|
16898
|
+
"""
|
16899
|
+
return self._DisplayRiskType
|
16900
|
+
|
16901
|
+
@DisplayRiskType.setter
|
16902
|
+
def DisplayRiskType(self, DisplayRiskType):
|
16903
|
+
self._DisplayRiskType = DisplayRiskType
|
16904
|
+
|
16905
|
+
@property
|
16906
|
+
def ScanTaskStatus(self):
|
16907
|
+
"""扫描任务状态
|
16908
|
+
:rtype: str
|
16909
|
+
"""
|
16910
|
+
return self._ScanTaskStatus
|
16911
|
+
|
16912
|
+
@ScanTaskStatus.setter
|
16913
|
+
def ScanTaskStatus(self, ScanTaskStatus):
|
16914
|
+
self._ScanTaskStatus = ScanTaskStatus
|
16915
|
+
|
16916
|
+
@property
|
16917
|
+
def Uuid(self):
|
16918
|
+
"""uuid
|
16919
|
+
:rtype: str
|
16920
|
+
"""
|
16921
|
+
return self._Uuid
|
16922
|
+
|
16923
|
+
@Uuid.setter
|
16924
|
+
def Uuid(self, Uuid):
|
16925
|
+
self._Uuid = Uuid
|
16926
|
+
|
16927
|
+
@property
|
16928
|
+
def HasScan(self):
|
16929
|
+
"""是否进行过安全体检
|
16930
|
+
:rtype: str
|
16931
|
+
"""
|
16932
|
+
return self._HasScan
|
16933
|
+
|
16934
|
+
@HasScan.setter
|
16935
|
+
def HasScan(self, HasScan):
|
16936
|
+
self._HasScan = HasScan
|
16937
|
+
|
16938
|
+
@property
|
16939
|
+
def AppId(self):
|
16940
|
+
"""租户ID
|
16941
|
+
:rtype: int
|
16942
|
+
"""
|
16943
|
+
return self._AppId
|
16944
|
+
|
16945
|
+
@AppId.setter
|
16946
|
+
def AppId(self, AppId):
|
16947
|
+
self._AppId = AppId
|
16948
|
+
|
16949
|
+
|
16950
|
+
def _deserialize(self, params):
|
16951
|
+
self._Provider = params.get("Provider")
|
16952
|
+
self._CloudAccountName = params.get("CloudAccountName")
|
16953
|
+
self._CloudAccountId = params.get("CloudAccountId")
|
16954
|
+
self._Domain = params.get("Domain")
|
16955
|
+
self._Ip = params.get("Ip")
|
16956
|
+
self._Port = params.get("Port")
|
16957
|
+
self._Status = params.get("Status")
|
16958
|
+
self._RiskType = params.get("RiskType")
|
16959
|
+
self._AclType = params.get("AclType")
|
16960
|
+
self._AclList = params.get("AclList")
|
16961
|
+
self._AssetId = params.get("AssetId")
|
16962
|
+
self._InstanceName = params.get("InstanceName")
|
16963
|
+
self._AssetType = params.get("AssetType")
|
16964
|
+
self._PortServiceCount = params.get("PortServiceCount")
|
16965
|
+
self._HighRiskPortServiceCount = params.get("HighRiskPortServiceCount")
|
16966
|
+
self._WebAppCount = params.get("WebAppCount")
|
16967
|
+
self._RiskWebAppCount = params.get("RiskWebAppCount")
|
16968
|
+
self._WeakPasswordCount = params.get("WeakPasswordCount")
|
16969
|
+
self._VulCount = params.get("VulCount")
|
16970
|
+
self._CreateTime = params.get("CreateTime")
|
16971
|
+
self._UpdateTime = params.get("UpdateTime")
|
16972
|
+
self._AssetTypeName = params.get("AssetTypeName")
|
16973
|
+
self._DisplayStatus = params.get("DisplayStatus")
|
16974
|
+
self._DisplayRiskType = params.get("DisplayRiskType")
|
16975
|
+
self._ScanTaskStatus = params.get("ScanTaskStatus")
|
16976
|
+
self._Uuid = params.get("Uuid")
|
16977
|
+
self._HasScan = params.get("HasScan")
|
16978
|
+
self._AppId = params.get("AppId")
|
16979
|
+
memeber_set = set(params.keys())
|
16980
|
+
for name, value in vars(self).items():
|
16981
|
+
property_name = name[1:]
|
16982
|
+
if property_name in memeber_set:
|
16983
|
+
memeber_set.remove(property_name)
|
16984
|
+
if len(memeber_set) > 0:
|
16985
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16986
|
+
|
16987
|
+
|
16988
|
+
|
16294
16989
|
class Filter(AbstractModel):
|
16295
16990
|
"""列表查询接口采用新filter 接口,直接传给后台供后台查询过滤
|
16296
16991
|
|
@@ -16473,6 +17168,78 @@ class FilterDataObject(AbstractModel):
|
|
16473
17168
|
|
16474
17169
|
|
16475
17170
|
|
17171
|
+
class Filters(AbstractModel):
|
17172
|
+
"""filter过滤条件
|
17173
|
+
|
17174
|
+
"""
|
17175
|
+
|
17176
|
+
def __init__(self):
|
17177
|
+
r"""
|
17178
|
+
:param _Name: 无
|
17179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17180
|
+
:type Name: str
|
17181
|
+
:param _Values: 无
|
17182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17183
|
+
:type Values: list of str
|
17184
|
+
:param _ExactMatch: 模糊匹配
|
17185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17186
|
+
:type ExactMatch: str
|
17187
|
+
"""
|
17188
|
+
self._Name = None
|
17189
|
+
self._Values = None
|
17190
|
+
self._ExactMatch = None
|
17191
|
+
|
17192
|
+
@property
|
17193
|
+
def Name(self):
|
17194
|
+
"""无
|
17195
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17196
|
+
:rtype: str
|
17197
|
+
"""
|
17198
|
+
return self._Name
|
17199
|
+
|
17200
|
+
@Name.setter
|
17201
|
+
def Name(self, Name):
|
17202
|
+
self._Name = Name
|
17203
|
+
|
17204
|
+
@property
|
17205
|
+
def Values(self):
|
17206
|
+
"""无
|
17207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17208
|
+
:rtype: list of str
|
17209
|
+
"""
|
17210
|
+
return self._Values
|
17211
|
+
|
17212
|
+
@Values.setter
|
17213
|
+
def Values(self, Values):
|
17214
|
+
self._Values = Values
|
17215
|
+
|
17216
|
+
@property
|
17217
|
+
def ExactMatch(self):
|
17218
|
+
"""模糊匹配
|
17219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17220
|
+
:rtype: str
|
17221
|
+
"""
|
17222
|
+
return self._ExactMatch
|
17223
|
+
|
17224
|
+
@ExactMatch.setter
|
17225
|
+
def ExactMatch(self, ExactMatch):
|
17226
|
+
self._ExactMatch = ExactMatch
|
17227
|
+
|
17228
|
+
|
17229
|
+
def _deserialize(self, params):
|
17230
|
+
self._Name = params.get("Name")
|
17231
|
+
self._Values = params.get("Values")
|
17232
|
+
self._ExactMatch = params.get("ExactMatch")
|
17233
|
+
memeber_set = set(params.keys())
|
17234
|
+
for name, value in vars(self).items():
|
17235
|
+
property_name = name[1:]
|
17236
|
+
if property_name in memeber_set:
|
17237
|
+
memeber_set.remove(property_name)
|
17238
|
+
if len(memeber_set) > 0:
|
17239
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17240
|
+
|
17241
|
+
|
17242
|
+
|
16476
17243
|
class GateWayAsset(AbstractModel):
|
16477
17244
|
"""网关资产
|
16478
17245
|
|