tencentcloud-sdk-python-waf 3.0.1326__tar.gz → 3.0.1328__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-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud/waf/v20180125/models.py +2 -2
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1328/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1326/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud/waf/v20180125/waf_client.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1326 → tencentcloud-sdk-python-waf-3.0.1328}/tencentcloud_sdk_python_waf.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-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1328"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -36050,7 +36050,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
36050
36050
|
:type Priority: int
|
|
36051
36051
|
:param _ValidTime: 动作有效时间
|
|
36052
36052
|
:type ValidTime: int
|
|
36053
|
-
:param _OptionsArr: [{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
|
36053
|
+
:param _OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
|
36054
36054
|
:type OptionsArr: str
|
|
36055
36055
|
:param _Edition: waf版本,sparta-waf或者clb-waf
|
|
36056
36056
|
:type Edition: str
|
|
@@ -36210,7 +36210,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
36210
36210
|
|
|
36211
36211
|
@property
|
|
36212
36212
|
def OptionsArr(self):
|
|
36213
|
-
"""[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
|
36213
|
+
"""CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
|
36214
36214
|
:rtype: str
|
|
36215
36215
|
"""
|
|
36216
36216
|
return self._OptionsArr
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1328
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1326
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|