tencentcloud-sdk-python-cfw 3.1.166__py2.py3-none-any.whl → 3.1.174__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/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
- tencentcloud/cfw/v20190904/models.py +660 -0
- {tencentcloud_sdk_python_cfw-3.1.166.dist-info → tencentcloud_sdk_python_cfw-3.1.174.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_cfw-3.1.174.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_cfw-3.1.166.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_cfw-3.1.166.dist-info → tencentcloud_sdk_python_cfw-3.1.174.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cfw-3.1.166.dist-info → tencentcloud_sdk_python_cfw-3.1.174.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1822,6 +1822,29 @@ class CfwClient(AbstractClient):
|
|
|
1822
1822
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1823
1823
|
|
|
1824
1824
|
|
|
1825
|
+
def DescribeNDRDataLeakOutAlertList(self, request):
|
|
1826
|
+
r"""DescribeNDRDataLeakOutAlertList -- 查询NDR数据泄露出站告警列表
|
|
1827
|
+
|
|
1828
|
+
:param request: Request instance for DescribeNDRDataLeakOutAlertList.
|
|
1829
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertListRequest`
|
|
1830
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRDataLeakOutAlertListResponse`
|
|
1831
|
+
|
|
1832
|
+
"""
|
|
1833
|
+
try:
|
|
1834
|
+
params = request._serialize()
|
|
1835
|
+
headers = request.headers
|
|
1836
|
+
body = self.call("DescribeNDRDataLeakOutAlertList", params, headers=headers)
|
|
1837
|
+
response = json.loads(body)
|
|
1838
|
+
model = models.DescribeNDRDataLeakOutAlertListResponse()
|
|
1839
|
+
model._deserialize(response["Response"])
|
|
1840
|
+
return model
|
|
1841
|
+
except Exception as e:
|
|
1842
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1843
|
+
raise
|
|
1844
|
+
else:
|
|
1845
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1846
|
+
|
|
1847
|
+
|
|
1825
1848
|
def DescribeNatAcRule(self, request):
|
|
1826
1849
|
r"""查询NAT访问控制列表
|
|
1827
1850
|
|
|
@@ -1431,6 +1431,24 @@ class CfwClient(AbstractClient):
|
|
|
1431
1431
|
|
|
1432
1432
|
return await self.call_and_deserialize(**kwargs)
|
|
1433
1433
|
|
|
1434
|
+
async def DescribeNDRDataLeakOutAlertList(
|
|
1435
|
+
self,
|
|
1436
|
+
request: models.DescribeNDRDataLeakOutAlertListRequest,
|
|
1437
|
+
opts: Dict = None,
|
|
1438
|
+
) -> models.DescribeNDRDataLeakOutAlertListResponse:
|
|
1439
|
+
"""
|
|
1440
|
+
DescribeNDRDataLeakOutAlertList -- 查询NDR数据泄露出站告警列表
|
|
1441
|
+
"""
|
|
1442
|
+
|
|
1443
|
+
kwargs = {}
|
|
1444
|
+
kwargs["action"] = "DescribeNDRDataLeakOutAlertList"
|
|
1445
|
+
kwargs["params"] = request._serialize()
|
|
1446
|
+
kwargs["resp_cls"] = models.DescribeNDRDataLeakOutAlertListResponse
|
|
1447
|
+
kwargs["headers"] = request.headers
|
|
1448
|
+
kwargs["opts"] = opts or {}
|
|
1449
|
+
|
|
1450
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1451
|
+
|
|
1434
1452
|
async def DescribeNatAcRule(
|
|
1435
1453
|
self,
|
|
1436
1454
|
request: models.DescribeNatAcRuleRequest,
|
|
@@ -7655,6 +7655,402 @@ class CustomWhiteRule(AbstractModel):
|
|
|
7655
7655
|
|
|
7656
7656
|
|
|
7657
7657
|
|
|
7658
|
+
class DataLeakOutAlertEvent(AbstractModel):
|
|
7659
|
+
r"""NDR出站数据泄露-告警事件
|
|
7660
|
+
|
|
7661
|
+
"""
|
|
7662
|
+
|
|
7663
|
+
def __init__(self):
|
|
7664
|
+
r"""
|
|
7665
|
+
:param _RiskID: 风险ID
|
|
7666
|
+
:type RiskID: str
|
|
7667
|
+
:param _InstanceId: 实例ID
|
|
7668
|
+
:type InstanceId: str
|
|
7669
|
+
:param _InstanceName: 实例名称
|
|
7670
|
+
:type InstanceName: str
|
|
7671
|
+
:param _InstanceType: 实例类型
|
|
7672
|
+
:type InstanceType: str
|
|
7673
|
+
:param _Region: 地域
|
|
7674
|
+
:type Region: str
|
|
7675
|
+
:param _SrcIP: 源IP
|
|
7676
|
+
:type SrcIP: str
|
|
7677
|
+
:param _DstIPPort: 目的IP端口,多个以逗号连接:1.1.1.1:80,1.1.1.1:8080
|
|
7678
|
+
:type DstIPPort: str
|
|
7679
|
+
:param _Hostname: hostname
|
|
7680
|
+
:type Hostname: str
|
|
7681
|
+
:param _DstServiceType: 目的服务类型
|
|
7682
|
+
:type DstServiceType: str
|
|
7683
|
+
:param _DstServiceName: 目的服务名称
|
|
7684
|
+
:type DstServiceName: str
|
|
7685
|
+
:param _LeakTypeSet: 以逗号连接的敏感类型ID集合: 10001,10002,10003
|
|
7686
|
+
:type LeakTypeSet: str
|
|
7687
|
+
:param _EventCount: 事件数量
|
|
7688
|
+
:type EventCount: int
|
|
7689
|
+
:param _FirstIdentificationTime: 首次识别时间
|
|
7690
|
+
:type FirstIdentificationTime: str
|
|
7691
|
+
:param _LatestIdentificationTime: 最近识别时间
|
|
7692
|
+
:type LatestIdentificationTime: str
|
|
7693
|
+
:param _Level: 风险等级
|
|
7694
|
+
:type Level: int
|
|
7695
|
+
:param _Status: 处置状态
|
|
7696
|
+
:type Status: int
|
|
7697
|
+
:param _Comment: 备注
|
|
7698
|
+
:type Comment: str
|
|
7699
|
+
:param _ApiPattern: API
|
|
7700
|
+
:type ApiPattern: str
|
|
7701
|
+
:param _AnalysisStatus: AI分析状态
|
|
7702
|
+
:type AnalysisStatus: int
|
|
7703
|
+
:param _AnalysisFailReason: AI分析失败原因(失败时)
|
|
7704
|
+
:type AnalysisFailReason: str
|
|
7705
|
+
:param _ApiBizType: API业务类型
|
|
7706
|
+
:type ApiBizType: str
|
|
7707
|
+
:param _RiskScenario: 风险类型(风险场景)
|
|
7708
|
+
:type RiskScenario: str
|
|
7709
|
+
:param _AiSuggestedLevel: AI建议风险等级
|
|
7710
|
+
:type AiSuggestedLevel: int
|
|
7711
|
+
:param _DstGeoLocation: 目的IP地理信息
|
|
7712
|
+
:type DstGeoLocation: str
|
|
7713
|
+
:param _HighestLevel: 最高敏感等级
|
|
7714
|
+
:type HighestLevel: str
|
|
7715
|
+
"""
|
|
7716
|
+
self._RiskID = None
|
|
7717
|
+
self._InstanceId = None
|
|
7718
|
+
self._InstanceName = None
|
|
7719
|
+
self._InstanceType = None
|
|
7720
|
+
self._Region = None
|
|
7721
|
+
self._SrcIP = None
|
|
7722
|
+
self._DstIPPort = None
|
|
7723
|
+
self._Hostname = None
|
|
7724
|
+
self._DstServiceType = None
|
|
7725
|
+
self._DstServiceName = None
|
|
7726
|
+
self._LeakTypeSet = None
|
|
7727
|
+
self._EventCount = None
|
|
7728
|
+
self._FirstIdentificationTime = None
|
|
7729
|
+
self._LatestIdentificationTime = None
|
|
7730
|
+
self._Level = None
|
|
7731
|
+
self._Status = None
|
|
7732
|
+
self._Comment = None
|
|
7733
|
+
self._ApiPattern = None
|
|
7734
|
+
self._AnalysisStatus = None
|
|
7735
|
+
self._AnalysisFailReason = None
|
|
7736
|
+
self._ApiBizType = None
|
|
7737
|
+
self._RiskScenario = None
|
|
7738
|
+
self._AiSuggestedLevel = None
|
|
7739
|
+
self._DstGeoLocation = None
|
|
7740
|
+
self._HighestLevel = None
|
|
7741
|
+
|
|
7742
|
+
@property
|
|
7743
|
+
def RiskID(self):
|
|
7744
|
+
r"""风险ID
|
|
7745
|
+
:rtype: str
|
|
7746
|
+
"""
|
|
7747
|
+
return self._RiskID
|
|
7748
|
+
|
|
7749
|
+
@RiskID.setter
|
|
7750
|
+
def RiskID(self, RiskID):
|
|
7751
|
+
self._RiskID = RiskID
|
|
7752
|
+
|
|
7753
|
+
@property
|
|
7754
|
+
def InstanceId(self):
|
|
7755
|
+
r"""实例ID
|
|
7756
|
+
:rtype: str
|
|
7757
|
+
"""
|
|
7758
|
+
return self._InstanceId
|
|
7759
|
+
|
|
7760
|
+
@InstanceId.setter
|
|
7761
|
+
def InstanceId(self, InstanceId):
|
|
7762
|
+
self._InstanceId = InstanceId
|
|
7763
|
+
|
|
7764
|
+
@property
|
|
7765
|
+
def InstanceName(self):
|
|
7766
|
+
r"""实例名称
|
|
7767
|
+
:rtype: str
|
|
7768
|
+
"""
|
|
7769
|
+
return self._InstanceName
|
|
7770
|
+
|
|
7771
|
+
@InstanceName.setter
|
|
7772
|
+
def InstanceName(self, InstanceName):
|
|
7773
|
+
self._InstanceName = InstanceName
|
|
7774
|
+
|
|
7775
|
+
@property
|
|
7776
|
+
def InstanceType(self):
|
|
7777
|
+
r"""实例类型
|
|
7778
|
+
:rtype: str
|
|
7779
|
+
"""
|
|
7780
|
+
return self._InstanceType
|
|
7781
|
+
|
|
7782
|
+
@InstanceType.setter
|
|
7783
|
+
def InstanceType(self, InstanceType):
|
|
7784
|
+
self._InstanceType = InstanceType
|
|
7785
|
+
|
|
7786
|
+
@property
|
|
7787
|
+
def Region(self):
|
|
7788
|
+
r"""地域
|
|
7789
|
+
:rtype: str
|
|
7790
|
+
"""
|
|
7791
|
+
return self._Region
|
|
7792
|
+
|
|
7793
|
+
@Region.setter
|
|
7794
|
+
def Region(self, Region):
|
|
7795
|
+
self._Region = Region
|
|
7796
|
+
|
|
7797
|
+
@property
|
|
7798
|
+
def SrcIP(self):
|
|
7799
|
+
r"""源IP
|
|
7800
|
+
:rtype: str
|
|
7801
|
+
"""
|
|
7802
|
+
return self._SrcIP
|
|
7803
|
+
|
|
7804
|
+
@SrcIP.setter
|
|
7805
|
+
def SrcIP(self, SrcIP):
|
|
7806
|
+
self._SrcIP = SrcIP
|
|
7807
|
+
|
|
7808
|
+
@property
|
|
7809
|
+
def DstIPPort(self):
|
|
7810
|
+
r"""目的IP端口,多个以逗号连接:1.1.1.1:80,1.1.1.1:8080
|
|
7811
|
+
:rtype: str
|
|
7812
|
+
"""
|
|
7813
|
+
return self._DstIPPort
|
|
7814
|
+
|
|
7815
|
+
@DstIPPort.setter
|
|
7816
|
+
def DstIPPort(self, DstIPPort):
|
|
7817
|
+
self._DstIPPort = DstIPPort
|
|
7818
|
+
|
|
7819
|
+
@property
|
|
7820
|
+
def Hostname(self):
|
|
7821
|
+
r"""hostname
|
|
7822
|
+
:rtype: str
|
|
7823
|
+
"""
|
|
7824
|
+
return self._Hostname
|
|
7825
|
+
|
|
7826
|
+
@Hostname.setter
|
|
7827
|
+
def Hostname(self, Hostname):
|
|
7828
|
+
self._Hostname = Hostname
|
|
7829
|
+
|
|
7830
|
+
@property
|
|
7831
|
+
def DstServiceType(self):
|
|
7832
|
+
r"""目的服务类型
|
|
7833
|
+
:rtype: str
|
|
7834
|
+
"""
|
|
7835
|
+
return self._DstServiceType
|
|
7836
|
+
|
|
7837
|
+
@DstServiceType.setter
|
|
7838
|
+
def DstServiceType(self, DstServiceType):
|
|
7839
|
+
self._DstServiceType = DstServiceType
|
|
7840
|
+
|
|
7841
|
+
@property
|
|
7842
|
+
def DstServiceName(self):
|
|
7843
|
+
r"""目的服务名称
|
|
7844
|
+
:rtype: str
|
|
7845
|
+
"""
|
|
7846
|
+
return self._DstServiceName
|
|
7847
|
+
|
|
7848
|
+
@DstServiceName.setter
|
|
7849
|
+
def DstServiceName(self, DstServiceName):
|
|
7850
|
+
self._DstServiceName = DstServiceName
|
|
7851
|
+
|
|
7852
|
+
@property
|
|
7853
|
+
def LeakTypeSet(self):
|
|
7854
|
+
r"""以逗号连接的敏感类型ID集合: 10001,10002,10003
|
|
7855
|
+
:rtype: str
|
|
7856
|
+
"""
|
|
7857
|
+
return self._LeakTypeSet
|
|
7858
|
+
|
|
7859
|
+
@LeakTypeSet.setter
|
|
7860
|
+
def LeakTypeSet(self, LeakTypeSet):
|
|
7861
|
+
self._LeakTypeSet = LeakTypeSet
|
|
7862
|
+
|
|
7863
|
+
@property
|
|
7864
|
+
def EventCount(self):
|
|
7865
|
+
r"""事件数量
|
|
7866
|
+
:rtype: int
|
|
7867
|
+
"""
|
|
7868
|
+
return self._EventCount
|
|
7869
|
+
|
|
7870
|
+
@EventCount.setter
|
|
7871
|
+
def EventCount(self, EventCount):
|
|
7872
|
+
self._EventCount = EventCount
|
|
7873
|
+
|
|
7874
|
+
@property
|
|
7875
|
+
def FirstIdentificationTime(self):
|
|
7876
|
+
r"""首次识别时间
|
|
7877
|
+
:rtype: str
|
|
7878
|
+
"""
|
|
7879
|
+
return self._FirstIdentificationTime
|
|
7880
|
+
|
|
7881
|
+
@FirstIdentificationTime.setter
|
|
7882
|
+
def FirstIdentificationTime(self, FirstIdentificationTime):
|
|
7883
|
+
self._FirstIdentificationTime = FirstIdentificationTime
|
|
7884
|
+
|
|
7885
|
+
@property
|
|
7886
|
+
def LatestIdentificationTime(self):
|
|
7887
|
+
r"""最近识别时间
|
|
7888
|
+
:rtype: str
|
|
7889
|
+
"""
|
|
7890
|
+
return self._LatestIdentificationTime
|
|
7891
|
+
|
|
7892
|
+
@LatestIdentificationTime.setter
|
|
7893
|
+
def LatestIdentificationTime(self, LatestIdentificationTime):
|
|
7894
|
+
self._LatestIdentificationTime = LatestIdentificationTime
|
|
7895
|
+
|
|
7896
|
+
@property
|
|
7897
|
+
def Level(self):
|
|
7898
|
+
r"""风险等级
|
|
7899
|
+
:rtype: int
|
|
7900
|
+
"""
|
|
7901
|
+
return self._Level
|
|
7902
|
+
|
|
7903
|
+
@Level.setter
|
|
7904
|
+
def Level(self, Level):
|
|
7905
|
+
self._Level = Level
|
|
7906
|
+
|
|
7907
|
+
@property
|
|
7908
|
+
def Status(self):
|
|
7909
|
+
r"""处置状态
|
|
7910
|
+
:rtype: int
|
|
7911
|
+
"""
|
|
7912
|
+
return self._Status
|
|
7913
|
+
|
|
7914
|
+
@Status.setter
|
|
7915
|
+
def Status(self, Status):
|
|
7916
|
+
self._Status = Status
|
|
7917
|
+
|
|
7918
|
+
@property
|
|
7919
|
+
def Comment(self):
|
|
7920
|
+
r"""备注
|
|
7921
|
+
:rtype: str
|
|
7922
|
+
"""
|
|
7923
|
+
return self._Comment
|
|
7924
|
+
|
|
7925
|
+
@Comment.setter
|
|
7926
|
+
def Comment(self, Comment):
|
|
7927
|
+
self._Comment = Comment
|
|
7928
|
+
|
|
7929
|
+
@property
|
|
7930
|
+
def ApiPattern(self):
|
|
7931
|
+
r"""API
|
|
7932
|
+
:rtype: str
|
|
7933
|
+
"""
|
|
7934
|
+
return self._ApiPattern
|
|
7935
|
+
|
|
7936
|
+
@ApiPattern.setter
|
|
7937
|
+
def ApiPattern(self, ApiPattern):
|
|
7938
|
+
self._ApiPattern = ApiPattern
|
|
7939
|
+
|
|
7940
|
+
@property
|
|
7941
|
+
def AnalysisStatus(self):
|
|
7942
|
+
r"""AI分析状态
|
|
7943
|
+
:rtype: int
|
|
7944
|
+
"""
|
|
7945
|
+
return self._AnalysisStatus
|
|
7946
|
+
|
|
7947
|
+
@AnalysisStatus.setter
|
|
7948
|
+
def AnalysisStatus(self, AnalysisStatus):
|
|
7949
|
+
self._AnalysisStatus = AnalysisStatus
|
|
7950
|
+
|
|
7951
|
+
@property
|
|
7952
|
+
def AnalysisFailReason(self):
|
|
7953
|
+
r"""AI分析失败原因(失败时)
|
|
7954
|
+
:rtype: str
|
|
7955
|
+
"""
|
|
7956
|
+
return self._AnalysisFailReason
|
|
7957
|
+
|
|
7958
|
+
@AnalysisFailReason.setter
|
|
7959
|
+
def AnalysisFailReason(self, AnalysisFailReason):
|
|
7960
|
+
self._AnalysisFailReason = AnalysisFailReason
|
|
7961
|
+
|
|
7962
|
+
@property
|
|
7963
|
+
def ApiBizType(self):
|
|
7964
|
+
r"""API业务类型
|
|
7965
|
+
:rtype: str
|
|
7966
|
+
"""
|
|
7967
|
+
return self._ApiBizType
|
|
7968
|
+
|
|
7969
|
+
@ApiBizType.setter
|
|
7970
|
+
def ApiBizType(self, ApiBizType):
|
|
7971
|
+
self._ApiBizType = ApiBizType
|
|
7972
|
+
|
|
7973
|
+
@property
|
|
7974
|
+
def RiskScenario(self):
|
|
7975
|
+
r"""风险类型(风险场景)
|
|
7976
|
+
:rtype: str
|
|
7977
|
+
"""
|
|
7978
|
+
return self._RiskScenario
|
|
7979
|
+
|
|
7980
|
+
@RiskScenario.setter
|
|
7981
|
+
def RiskScenario(self, RiskScenario):
|
|
7982
|
+
self._RiskScenario = RiskScenario
|
|
7983
|
+
|
|
7984
|
+
@property
|
|
7985
|
+
def AiSuggestedLevel(self):
|
|
7986
|
+
r"""AI建议风险等级
|
|
7987
|
+
:rtype: int
|
|
7988
|
+
"""
|
|
7989
|
+
return self._AiSuggestedLevel
|
|
7990
|
+
|
|
7991
|
+
@AiSuggestedLevel.setter
|
|
7992
|
+
def AiSuggestedLevel(self, AiSuggestedLevel):
|
|
7993
|
+
self._AiSuggestedLevel = AiSuggestedLevel
|
|
7994
|
+
|
|
7995
|
+
@property
|
|
7996
|
+
def DstGeoLocation(self):
|
|
7997
|
+
r"""目的IP地理信息
|
|
7998
|
+
:rtype: str
|
|
7999
|
+
"""
|
|
8000
|
+
return self._DstGeoLocation
|
|
8001
|
+
|
|
8002
|
+
@DstGeoLocation.setter
|
|
8003
|
+
def DstGeoLocation(self, DstGeoLocation):
|
|
8004
|
+
self._DstGeoLocation = DstGeoLocation
|
|
8005
|
+
|
|
8006
|
+
@property
|
|
8007
|
+
def HighestLevel(self):
|
|
8008
|
+
r"""最高敏感等级
|
|
8009
|
+
:rtype: str
|
|
8010
|
+
"""
|
|
8011
|
+
return self._HighestLevel
|
|
8012
|
+
|
|
8013
|
+
@HighestLevel.setter
|
|
8014
|
+
def HighestLevel(self, HighestLevel):
|
|
8015
|
+
self._HighestLevel = HighestLevel
|
|
8016
|
+
|
|
8017
|
+
|
|
8018
|
+
def _deserialize(self, params):
|
|
8019
|
+
self._RiskID = params.get("RiskID")
|
|
8020
|
+
self._InstanceId = params.get("InstanceId")
|
|
8021
|
+
self._InstanceName = params.get("InstanceName")
|
|
8022
|
+
self._InstanceType = params.get("InstanceType")
|
|
8023
|
+
self._Region = params.get("Region")
|
|
8024
|
+
self._SrcIP = params.get("SrcIP")
|
|
8025
|
+
self._DstIPPort = params.get("DstIPPort")
|
|
8026
|
+
self._Hostname = params.get("Hostname")
|
|
8027
|
+
self._DstServiceType = params.get("DstServiceType")
|
|
8028
|
+
self._DstServiceName = params.get("DstServiceName")
|
|
8029
|
+
self._LeakTypeSet = params.get("LeakTypeSet")
|
|
8030
|
+
self._EventCount = params.get("EventCount")
|
|
8031
|
+
self._FirstIdentificationTime = params.get("FirstIdentificationTime")
|
|
8032
|
+
self._LatestIdentificationTime = params.get("LatestIdentificationTime")
|
|
8033
|
+
self._Level = params.get("Level")
|
|
8034
|
+
self._Status = params.get("Status")
|
|
8035
|
+
self._Comment = params.get("Comment")
|
|
8036
|
+
self._ApiPattern = params.get("ApiPattern")
|
|
8037
|
+
self._AnalysisStatus = params.get("AnalysisStatus")
|
|
8038
|
+
self._AnalysisFailReason = params.get("AnalysisFailReason")
|
|
8039
|
+
self._ApiBizType = params.get("ApiBizType")
|
|
8040
|
+
self._RiskScenario = params.get("RiskScenario")
|
|
8041
|
+
self._AiSuggestedLevel = params.get("AiSuggestedLevel")
|
|
8042
|
+
self._DstGeoLocation = params.get("DstGeoLocation")
|
|
8043
|
+
self._HighestLevel = params.get("HighestLevel")
|
|
8044
|
+
memeber_set = set(params.keys())
|
|
8045
|
+
for name, value in vars(self).items():
|
|
8046
|
+
property_name = name[1:]
|
|
8047
|
+
if property_name in memeber_set:
|
|
8048
|
+
memeber_set.remove(property_name)
|
|
8049
|
+
if len(memeber_set) > 0:
|
|
8050
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8051
|
+
|
|
8052
|
+
|
|
8053
|
+
|
|
7658
8054
|
class DatabaseWhiteListRuleData(AbstractModel):
|
|
7659
8055
|
r"""数据库白名单规则数据
|
|
7660
8056
|
|
|
@@ -17635,6 +18031,270 @@ class DescribeNDRAssetIdentificationListResponse(AbstractModel):
|
|
|
17635
18031
|
self._RequestId = params.get("RequestId")
|
|
17636
18032
|
|
|
17637
18033
|
|
|
18034
|
+
class DescribeNDRDataLeakOutAlertListRequest(AbstractModel):
|
|
18035
|
+
r"""DescribeNDRDataLeakOutAlertList请求参数结构体
|
|
18036
|
+
|
|
18037
|
+
"""
|
|
18038
|
+
|
|
18039
|
+
def __init__(self):
|
|
18040
|
+
r"""
|
|
18041
|
+
:param _Limit: 每页条数
|
|
18042
|
+
:type Limit: int
|
|
18043
|
+
:param _Offset: 偏移量
|
|
18044
|
+
:type Offset: int
|
|
18045
|
+
:param _Order: 排序方式,asc正序 desc倒序
|
|
18046
|
+
:type Order: str
|
|
18047
|
+
:param _By: 排序字段
|
|
18048
|
+
:type By: str
|
|
18049
|
+
:param _Filters: 查询过滤条件,多个条件之间为AND的关系
|
|
18050
|
+
:type Filters: list of OperatorFilter
|
|
18051
|
+
"""
|
|
18052
|
+
self._Limit = None
|
|
18053
|
+
self._Offset = None
|
|
18054
|
+
self._Order = None
|
|
18055
|
+
self._By = None
|
|
18056
|
+
self._Filters = None
|
|
18057
|
+
|
|
18058
|
+
@property
|
|
18059
|
+
def Limit(self):
|
|
18060
|
+
r"""每页条数
|
|
18061
|
+
:rtype: int
|
|
18062
|
+
"""
|
|
18063
|
+
return self._Limit
|
|
18064
|
+
|
|
18065
|
+
@Limit.setter
|
|
18066
|
+
def Limit(self, Limit):
|
|
18067
|
+
self._Limit = Limit
|
|
18068
|
+
|
|
18069
|
+
@property
|
|
18070
|
+
def Offset(self):
|
|
18071
|
+
r"""偏移量
|
|
18072
|
+
:rtype: int
|
|
18073
|
+
"""
|
|
18074
|
+
return self._Offset
|
|
18075
|
+
|
|
18076
|
+
@Offset.setter
|
|
18077
|
+
def Offset(self, Offset):
|
|
18078
|
+
self._Offset = Offset
|
|
18079
|
+
|
|
18080
|
+
@property
|
|
18081
|
+
def Order(self):
|
|
18082
|
+
r"""排序方式,asc正序 desc倒序
|
|
18083
|
+
:rtype: str
|
|
18084
|
+
"""
|
|
18085
|
+
return self._Order
|
|
18086
|
+
|
|
18087
|
+
@Order.setter
|
|
18088
|
+
def Order(self, Order):
|
|
18089
|
+
self._Order = Order
|
|
18090
|
+
|
|
18091
|
+
@property
|
|
18092
|
+
def By(self):
|
|
18093
|
+
r"""排序字段
|
|
18094
|
+
:rtype: str
|
|
18095
|
+
"""
|
|
18096
|
+
return self._By
|
|
18097
|
+
|
|
18098
|
+
@By.setter
|
|
18099
|
+
def By(self, By):
|
|
18100
|
+
self._By = By
|
|
18101
|
+
|
|
18102
|
+
@property
|
|
18103
|
+
def Filters(self):
|
|
18104
|
+
r"""查询过滤条件,多个条件之间为AND的关系
|
|
18105
|
+
:rtype: list of OperatorFilter
|
|
18106
|
+
"""
|
|
18107
|
+
return self._Filters
|
|
18108
|
+
|
|
18109
|
+
@Filters.setter
|
|
18110
|
+
def Filters(self, Filters):
|
|
18111
|
+
self._Filters = Filters
|
|
18112
|
+
|
|
18113
|
+
|
|
18114
|
+
def _deserialize(self, params):
|
|
18115
|
+
self._Limit = params.get("Limit")
|
|
18116
|
+
self._Offset = params.get("Offset")
|
|
18117
|
+
self._Order = params.get("Order")
|
|
18118
|
+
self._By = params.get("By")
|
|
18119
|
+
if params.get("Filters") is not None:
|
|
18120
|
+
self._Filters = []
|
|
18121
|
+
for item in params.get("Filters"):
|
|
18122
|
+
obj = OperatorFilter()
|
|
18123
|
+
obj._deserialize(item)
|
|
18124
|
+
self._Filters.append(obj)
|
|
18125
|
+
memeber_set = set(params.keys())
|
|
18126
|
+
for name, value in vars(self).items():
|
|
18127
|
+
property_name = name[1:]
|
|
18128
|
+
if property_name in memeber_set:
|
|
18129
|
+
memeber_set.remove(property_name)
|
|
18130
|
+
if len(memeber_set) > 0:
|
|
18131
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18132
|
+
|
|
18133
|
+
|
|
18134
|
+
|
|
18135
|
+
class DescribeNDRDataLeakOutAlertListResponse(AbstractModel):
|
|
18136
|
+
r"""DescribeNDRDataLeakOutAlertList返回参数结构体
|
|
18137
|
+
|
|
18138
|
+
"""
|
|
18139
|
+
|
|
18140
|
+
def __init__(self):
|
|
18141
|
+
r"""
|
|
18142
|
+
:param _Total: 符合查询条件的总条数
|
|
18143
|
+
:type Total: int
|
|
18144
|
+
:param _Data: 查询结果列表
|
|
18145
|
+
:type Data: list of DataLeakOutAlertEvent
|
|
18146
|
+
:param _InstanceTypeOptions: 实例类型可选项
|
|
18147
|
+
:type InstanceTypeOptions: list of FieldOption
|
|
18148
|
+
:param _RegionOptions: 地域可选项
|
|
18149
|
+
:type RegionOptions: list of FieldOption
|
|
18150
|
+
:param _DstServiceTypeOptions: 目标服务类型可选项
|
|
18151
|
+
:type DstServiceTypeOptions: list of FieldOption
|
|
18152
|
+
:param _RiskScenarioOptions: 风险场景(类型)可选项
|
|
18153
|
+
:type RiskScenarioOptions: list of FieldOption
|
|
18154
|
+
:param _AnalysisStatusOptions: AI分析任务状态可选项
|
|
18155
|
+
:type AnalysisStatusOptions: list of FieldOption
|
|
18156
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18157
|
+
:type RequestId: str
|
|
18158
|
+
"""
|
|
18159
|
+
self._Total = None
|
|
18160
|
+
self._Data = None
|
|
18161
|
+
self._InstanceTypeOptions = None
|
|
18162
|
+
self._RegionOptions = None
|
|
18163
|
+
self._DstServiceTypeOptions = None
|
|
18164
|
+
self._RiskScenarioOptions = None
|
|
18165
|
+
self._AnalysisStatusOptions = None
|
|
18166
|
+
self._RequestId = None
|
|
18167
|
+
|
|
18168
|
+
@property
|
|
18169
|
+
def Total(self):
|
|
18170
|
+
r"""符合查询条件的总条数
|
|
18171
|
+
:rtype: int
|
|
18172
|
+
"""
|
|
18173
|
+
return self._Total
|
|
18174
|
+
|
|
18175
|
+
@Total.setter
|
|
18176
|
+
def Total(self, Total):
|
|
18177
|
+
self._Total = Total
|
|
18178
|
+
|
|
18179
|
+
@property
|
|
18180
|
+
def Data(self):
|
|
18181
|
+
r"""查询结果列表
|
|
18182
|
+
:rtype: list of DataLeakOutAlertEvent
|
|
18183
|
+
"""
|
|
18184
|
+
return self._Data
|
|
18185
|
+
|
|
18186
|
+
@Data.setter
|
|
18187
|
+
def Data(self, Data):
|
|
18188
|
+
self._Data = Data
|
|
18189
|
+
|
|
18190
|
+
@property
|
|
18191
|
+
def InstanceTypeOptions(self):
|
|
18192
|
+
r"""实例类型可选项
|
|
18193
|
+
:rtype: list of FieldOption
|
|
18194
|
+
"""
|
|
18195
|
+
return self._InstanceTypeOptions
|
|
18196
|
+
|
|
18197
|
+
@InstanceTypeOptions.setter
|
|
18198
|
+
def InstanceTypeOptions(self, InstanceTypeOptions):
|
|
18199
|
+
self._InstanceTypeOptions = InstanceTypeOptions
|
|
18200
|
+
|
|
18201
|
+
@property
|
|
18202
|
+
def RegionOptions(self):
|
|
18203
|
+
r"""地域可选项
|
|
18204
|
+
:rtype: list of FieldOption
|
|
18205
|
+
"""
|
|
18206
|
+
return self._RegionOptions
|
|
18207
|
+
|
|
18208
|
+
@RegionOptions.setter
|
|
18209
|
+
def RegionOptions(self, RegionOptions):
|
|
18210
|
+
self._RegionOptions = RegionOptions
|
|
18211
|
+
|
|
18212
|
+
@property
|
|
18213
|
+
def DstServiceTypeOptions(self):
|
|
18214
|
+
r"""目标服务类型可选项
|
|
18215
|
+
:rtype: list of FieldOption
|
|
18216
|
+
"""
|
|
18217
|
+
return self._DstServiceTypeOptions
|
|
18218
|
+
|
|
18219
|
+
@DstServiceTypeOptions.setter
|
|
18220
|
+
def DstServiceTypeOptions(self, DstServiceTypeOptions):
|
|
18221
|
+
self._DstServiceTypeOptions = DstServiceTypeOptions
|
|
18222
|
+
|
|
18223
|
+
@property
|
|
18224
|
+
def RiskScenarioOptions(self):
|
|
18225
|
+
r"""风险场景(类型)可选项
|
|
18226
|
+
:rtype: list of FieldOption
|
|
18227
|
+
"""
|
|
18228
|
+
return self._RiskScenarioOptions
|
|
18229
|
+
|
|
18230
|
+
@RiskScenarioOptions.setter
|
|
18231
|
+
def RiskScenarioOptions(self, RiskScenarioOptions):
|
|
18232
|
+
self._RiskScenarioOptions = RiskScenarioOptions
|
|
18233
|
+
|
|
18234
|
+
@property
|
|
18235
|
+
def AnalysisStatusOptions(self):
|
|
18236
|
+
r"""AI分析任务状态可选项
|
|
18237
|
+
:rtype: list of FieldOption
|
|
18238
|
+
"""
|
|
18239
|
+
return self._AnalysisStatusOptions
|
|
18240
|
+
|
|
18241
|
+
@AnalysisStatusOptions.setter
|
|
18242
|
+
def AnalysisStatusOptions(self, AnalysisStatusOptions):
|
|
18243
|
+
self._AnalysisStatusOptions = AnalysisStatusOptions
|
|
18244
|
+
|
|
18245
|
+
@property
|
|
18246
|
+
def RequestId(self):
|
|
18247
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18248
|
+
:rtype: str
|
|
18249
|
+
"""
|
|
18250
|
+
return self._RequestId
|
|
18251
|
+
|
|
18252
|
+
@RequestId.setter
|
|
18253
|
+
def RequestId(self, RequestId):
|
|
18254
|
+
self._RequestId = RequestId
|
|
18255
|
+
|
|
18256
|
+
|
|
18257
|
+
def _deserialize(self, params):
|
|
18258
|
+
self._Total = params.get("Total")
|
|
18259
|
+
if params.get("Data") is not None:
|
|
18260
|
+
self._Data = []
|
|
18261
|
+
for item in params.get("Data"):
|
|
18262
|
+
obj = DataLeakOutAlertEvent()
|
|
18263
|
+
obj._deserialize(item)
|
|
18264
|
+
self._Data.append(obj)
|
|
18265
|
+
if params.get("InstanceTypeOptions") is not None:
|
|
18266
|
+
self._InstanceTypeOptions = []
|
|
18267
|
+
for item in params.get("InstanceTypeOptions"):
|
|
18268
|
+
obj = FieldOption()
|
|
18269
|
+
obj._deserialize(item)
|
|
18270
|
+
self._InstanceTypeOptions.append(obj)
|
|
18271
|
+
if params.get("RegionOptions") is not None:
|
|
18272
|
+
self._RegionOptions = []
|
|
18273
|
+
for item in params.get("RegionOptions"):
|
|
18274
|
+
obj = FieldOption()
|
|
18275
|
+
obj._deserialize(item)
|
|
18276
|
+
self._RegionOptions.append(obj)
|
|
18277
|
+
if params.get("DstServiceTypeOptions") is not None:
|
|
18278
|
+
self._DstServiceTypeOptions = []
|
|
18279
|
+
for item in params.get("DstServiceTypeOptions"):
|
|
18280
|
+
obj = FieldOption()
|
|
18281
|
+
obj._deserialize(item)
|
|
18282
|
+
self._DstServiceTypeOptions.append(obj)
|
|
18283
|
+
if params.get("RiskScenarioOptions") is not None:
|
|
18284
|
+
self._RiskScenarioOptions = []
|
|
18285
|
+
for item in params.get("RiskScenarioOptions"):
|
|
18286
|
+
obj = FieldOption()
|
|
18287
|
+
obj._deserialize(item)
|
|
18288
|
+
self._RiskScenarioOptions.append(obj)
|
|
18289
|
+
if params.get("AnalysisStatusOptions") is not None:
|
|
18290
|
+
self._AnalysisStatusOptions = []
|
|
18291
|
+
for item in params.get("AnalysisStatusOptions"):
|
|
18292
|
+
obj = FieldOption()
|
|
18293
|
+
obj._deserialize(item)
|
|
18294
|
+
self._AnalysisStatusOptions.append(obj)
|
|
18295
|
+
self._RequestId = params.get("RequestId")
|
|
18296
|
+
|
|
18297
|
+
|
|
17638
18298
|
class DescribeNatAcRuleRequest(AbstractModel):
|
|
17639
18299
|
r"""DescribeNatAcRule请求参数结构体
|
|
17640
18300
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfw
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.174
|
|
4
4
|
Summary: Tencent Cloud Cfw SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.174
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=esw5mAtP-wSVUm7MlZoBUDjPFfrpvvFOh8YDeYbxFAU,630
|
|
2
|
+
tencentcloud/cfw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/cfw/v20190904/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/cfw/v20190904/cfw_client.py,sha256=hNT2KG7lOkkTOFvIVrRaDom6p0-2hMHPp3QNlHotzhg,157137
|
|
5
|
+
tencentcloud/cfw/v20190904/cfw_client_async.py,sha256=z-k0Y33_xa0fua94fgVH-OTX4NlXZ35yZKb8wWdQmE0,106961
|
|
6
|
+
tencentcloud/cfw/v20190904/errorcodes.py,sha256=stHSiv13FWhtpW2Kc-M8RMKWIgd6cLODnrtucdRYUl0,5035
|
|
7
|
+
tencentcloud/cfw/v20190904/models.py,sha256=1TvF98Dx5NIWVwP4h9oq4ajfrgxwU2RMCVE0UTLKCi8,1340697
|
|
8
|
+
tencentcloud_sdk_python_cfw-3.1.174.dist-info/METADATA,sha256=kMdHvSb425eM2-xMmTt2YD6dplWwxfrv80e8kE6ecgY,1497
|
|
9
|
+
tencentcloud_sdk_python_cfw-3.1.174.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cfw-3.1.174.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cfw-3.1.174.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=yhpZww772TBu5Yq4CtKLQ0oSRJtTQXXtyIoWDqLX-L4,630
|
|
2
|
-
tencentcloud/cfw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/cfw/v20190904/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/cfw/v20190904/cfw_client.py,sha256=frJym9E-Bl2WS8k3MTHpLBwJDROPPMjmsbTgRihsxZU,156127
|
|
5
|
-
tencentcloud/cfw/v20190904/cfw_client_async.py,sha256=rb59UbnCqhuV51yhJFuU1FguHIbP1zxZnWhW6cvwdGM,106264
|
|
6
|
-
tencentcloud/cfw/v20190904/errorcodes.py,sha256=stHSiv13FWhtpW2Kc-M8RMKWIgd6cLODnrtucdRYUl0,5035
|
|
7
|
-
tencentcloud/cfw/v20190904/models.py,sha256=TZcFaYc-gDZUSCE_er4G6CFJS28d39Rxht7SWxT-PRg,1321496
|
|
8
|
-
tencentcloud_sdk_python_cfw-3.1.166.dist-info/METADATA,sha256=4U5uvuYmP_kGCjc2AxTdwhtx96_FinJdfUsidMaWdpI,1497
|
|
9
|
-
tencentcloud_sdk_python_cfw-3.1.166.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_cfw-3.1.166.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_cfw-3.1.166.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|