tencentcloud-sdk-python-cwp 3.0.1112__tar.gz → 3.0.1114__tar.gz
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-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud/cwp/v20180228/models.py +62 -2
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1114/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1112/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud/cwp/v20180228/cwp_client.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1112 → tencentcloud-sdk-python-cwp-3.0.1114}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cwp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1114"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -12352,7 +12352,17 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12352
12352
|
:param _CreateTime: 创建时间
|
|
12353
12353
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12354
12354
|
:type CreateTime: str
|
|
12355
|
-
:param _BanStatus:
|
|
12355
|
+
:param _BanStatus: 0 -不阻断(客户端版本不支持)
|
|
12356
|
+
1 -已阻断
|
|
12357
|
+
2 -阻断失败(程序异常)
|
|
12358
|
+
3 -不阻断(内网不阻断)
|
|
12359
|
+
4 -可用区不支持阻断
|
|
12360
|
+
10-阻断中
|
|
12361
|
+
81-不阻断(未开启阻断)
|
|
12362
|
+
82-不阻断(非专业版)
|
|
12363
|
+
83-不阻断(已加白名单)
|
|
12364
|
+
86-不阻断(系统白名单)
|
|
12365
|
+
87-不阻断(客户端离线)
|
|
12356
12366
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12357
12367
|
:type BanStatus: int
|
|
12358
12368
|
:param _EventType: 事件类型:200-暴力破解事件,300-暴力破解成功事件(页面展示),400-暴力破解不存在的帐号事件
|
|
@@ -12394,6 +12404,12 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12394
12404
|
:param _DataFrom: 事件来源:0--阻断规则,1--威胁情报
|
|
12395
12405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12396
12406
|
:type DataFrom: int
|
|
12407
|
+
:param _AttackStatusDesc: 破解状态说明
|
|
12408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12409
|
+
:type AttackStatusDesc: str
|
|
12410
|
+
:param _BanExpiredTime: 阻断过期时间(仅阻断中事件有效)
|
|
12411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12412
|
+
:type BanExpiredTime: str
|
|
12397
12413
|
"""
|
|
12398
12414
|
self._Id = None
|
|
12399
12415
|
self._Uuid = None
|
|
@@ -12420,6 +12436,8 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12420
12436
|
self._Location = None
|
|
12421
12437
|
self._RiskLevel = None
|
|
12422
12438
|
self._DataFrom = None
|
|
12439
|
+
self._AttackStatusDesc = None
|
|
12440
|
+
self._BanExpiredTime = None
|
|
12423
12441
|
|
|
12424
12442
|
@property
|
|
12425
12443
|
def Id(self):
|
|
@@ -12621,6 +12639,22 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12621
12639
|
def DataFrom(self, DataFrom):
|
|
12622
12640
|
self._DataFrom = DataFrom
|
|
12623
12641
|
|
|
12642
|
+
@property
|
|
12643
|
+
def AttackStatusDesc(self):
|
|
12644
|
+
return self._AttackStatusDesc
|
|
12645
|
+
|
|
12646
|
+
@AttackStatusDesc.setter
|
|
12647
|
+
def AttackStatusDesc(self, AttackStatusDesc):
|
|
12648
|
+
self._AttackStatusDesc = AttackStatusDesc
|
|
12649
|
+
|
|
12650
|
+
@property
|
|
12651
|
+
def BanExpiredTime(self):
|
|
12652
|
+
return self._BanExpiredTime
|
|
12653
|
+
|
|
12654
|
+
@BanExpiredTime.setter
|
|
12655
|
+
def BanExpiredTime(self, BanExpiredTime):
|
|
12656
|
+
self._BanExpiredTime = BanExpiredTime
|
|
12657
|
+
|
|
12624
12658
|
|
|
12625
12659
|
def _deserialize(self, params):
|
|
12626
12660
|
self._Id = params.get("Id")
|
|
@@ -12650,6 +12684,8 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12650
12684
|
self._Location = params.get("Location")
|
|
12651
12685
|
self._RiskLevel = params.get("RiskLevel")
|
|
12652
12686
|
self._DataFrom = params.get("DataFrom")
|
|
12687
|
+
self._AttackStatusDesc = params.get("AttackStatusDesc")
|
|
12688
|
+
self._BanExpiredTime = params.get("BanExpiredTime")
|
|
12653
12689
|
memeber_set = set(params.keys())
|
|
12654
12690
|
for name, value in vars(self).items():
|
|
12655
12691
|
property_name = name[1:]
|
|
@@ -26937,11 +26973,14 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
26937
26973
|
:type Status: int
|
|
26938
26974
|
:param _ShowTips: 是否弹窗提示信息 false: 关闭,true: 开启
|
|
26939
26975
|
:type ShowTips: bool
|
|
26976
|
+
:param _OpenSmartMode: 是否开启智能过白模式
|
|
26977
|
+
:type OpenSmartMode: bool
|
|
26940
26978
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26941
26979
|
:type RequestId: str
|
|
26942
26980
|
"""
|
|
26943
26981
|
self._Status = None
|
|
26944
26982
|
self._ShowTips = None
|
|
26983
|
+
self._OpenSmartMode = None
|
|
26945
26984
|
self._RequestId = None
|
|
26946
26985
|
|
|
26947
26986
|
@property
|
|
@@ -26960,6 +26999,14 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
26960
26999
|
def ShowTips(self, ShowTips):
|
|
26961
27000
|
self._ShowTips = ShowTips
|
|
26962
27001
|
|
|
27002
|
+
@property
|
|
27003
|
+
def OpenSmartMode(self):
|
|
27004
|
+
return self._OpenSmartMode
|
|
27005
|
+
|
|
27006
|
+
@OpenSmartMode.setter
|
|
27007
|
+
def OpenSmartMode(self, OpenSmartMode):
|
|
27008
|
+
self._OpenSmartMode = OpenSmartMode
|
|
27009
|
+
|
|
26963
27010
|
@property
|
|
26964
27011
|
def RequestId(self):
|
|
26965
27012
|
return self._RequestId
|
|
@@ -26972,6 +27019,7 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
26972
27019
|
def _deserialize(self, params):
|
|
26973
27020
|
self._Status = params.get("Status")
|
|
26974
27021
|
self._ShowTips = params.get("ShowTips")
|
|
27022
|
+
self._OpenSmartMode = params.get("OpenSmartMode")
|
|
26975
27023
|
self._RequestId = params.get("RequestId")
|
|
26976
27024
|
|
|
26977
27025
|
|
|
@@ -68618,10 +68666,13 @@ class ModifyBanStatusRequest(AbstractModel):
|
|
|
68618
68666
|
|
|
68619
68667
|
def __init__(self):
|
|
68620
68668
|
r"""
|
|
68621
|
-
:param _Status:
|
|
68669
|
+
:param _Status: 阻断开关状态: 0 -- 关闭 1 -- 高级阻断 2 -- 基础阻断(只阻断情报库黑ip)
|
|
68622
68670
|
:type Status: int
|
|
68671
|
+
:param _OpenSmartMode: 是否开启智能过白模式
|
|
68672
|
+
:type OpenSmartMode: bool
|
|
68623
68673
|
"""
|
|
68624
68674
|
self._Status = None
|
|
68675
|
+
self._OpenSmartMode = None
|
|
68625
68676
|
|
|
68626
68677
|
@property
|
|
68627
68678
|
def Status(self):
|
|
@@ -68631,9 +68682,18 @@ class ModifyBanStatusRequest(AbstractModel):
|
|
|
68631
68682
|
def Status(self, Status):
|
|
68632
68683
|
self._Status = Status
|
|
68633
68684
|
|
|
68685
|
+
@property
|
|
68686
|
+
def OpenSmartMode(self):
|
|
68687
|
+
return self._OpenSmartMode
|
|
68688
|
+
|
|
68689
|
+
@OpenSmartMode.setter
|
|
68690
|
+
def OpenSmartMode(self, OpenSmartMode):
|
|
68691
|
+
self._OpenSmartMode = OpenSmartMode
|
|
68692
|
+
|
|
68634
68693
|
|
|
68635
68694
|
def _deserialize(self, params):
|
|
68636
68695
|
self._Status = params.get("Status")
|
|
68696
|
+
self._OpenSmartMode = params.get("OpenSmartMode")
|
|
68637
68697
|
memeber_set = set(params.keys())
|
|
68638
68698
|
for name, value in vars(self).items():
|
|
68639
68699
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1114
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1112
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|