tencentcloud-sdk-python-waf 3.1.45__py2.py3-none-any.whl → 3.1.51__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/waf/v20180125/models.py +2 -2
- {tencentcloud_sdk_python_waf-3.1.45.dist-info → tencentcloud_sdk_python_waf-3.1.51.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_waf-3.1.45.dist-info → tencentcloud_sdk_python_waf-3.1.51.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_waf-3.1.45.dist-info → tencentcloud_sdk_python_waf-3.1.51.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python_waf-3.1.45.dist-info → tencentcloud_sdk_python_waf-3.1.51.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -53891,7 +53891,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
53891
53891
|
:type Url: str
|
|
53892
53892
|
:param _MatchFunc: 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
|
53893
53893
|
:type MatchFunc: int
|
|
53894
|
-
:param _OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{
|
|
53894
|
+
:param _OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{"key":"Method","args":["=R0VU"],"match":"0","encodeflag":true}] Key可选值为 URL、Method、Post、Referer、Cookie、User-Agent、CustomHeader、IPLocation、CaptchaRisk、CaptchaDeviceRisk、CaptchaScore,match可选值为:当Key为URL的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)。 当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含), 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、4(内容为空)、5(不存在)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。 Key为CaptchaRisk时,可选值为15(数值等于)、16(数值不等于)、13(属于)、14(不属于)、12(存在)、5(不存在)。 Key为CaptchaDeviceRisk时,可选值为13(属于)、14(不属于)、12(存在)、5(不存在)。 Key为CaptchaScore时,可选值为15(数值等于)、17(数值大于)、18(数值小于)、19(数值大于等于)、20(数值小于等于)、12(存在)、5(不存在)。args用来表示匹配内容,需要设置encodeflag为true。当匹配字段(Key)为Post、Cookie、CustomHeader时,需要将具体的参数名和参数值分别进行Base64编码并去掉末尾的等号=,然后再用等号=连接起来,类似YWJj=ZGVm;当匹配字段(Key)为Referer、User-Agent时,只需将目标值进行Base64编码并去掉末尾的等号=,然后再在其前面用等号=来串接,类似=YWJj。
|
|
53895
53895
|
:type OptionsArr: str
|
|
53896
53896
|
:param _Edition: waf版本,sparta-waf或者clb-waf
|
|
53897
53897
|
:type Edition: str
|
|
@@ -54081,7 +54081,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
54081
54081
|
|
|
54082
54082
|
@property
|
|
54083
54083
|
def OptionsArr(self):
|
|
54084
|
-
r"""CC的匹配条件JSON序列化的字符串,示例:[{
|
|
54084
|
+
r"""CC的匹配条件JSON序列化的字符串,示例:[{"key":"Method","args":["=R0VU"],"match":"0","encodeflag":true}] Key可选值为 URL、Method、Post、Referer、Cookie、User-Agent、CustomHeader、IPLocation、CaptchaRisk、CaptchaDeviceRisk、CaptchaScore,match可选值为:当Key为URL的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)。 当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含), 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、4(内容为空)、5(不存在)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。 Key为CaptchaRisk时,可选值为15(数值等于)、16(数值不等于)、13(属于)、14(不属于)、12(存在)、5(不存在)。 Key为CaptchaDeviceRisk时,可选值为13(属于)、14(不属于)、12(存在)、5(不存在)。 Key为CaptchaScore时,可选值为15(数值等于)、17(数值大于)、18(数值小于)、19(数值大于等于)、20(数值小于等于)、12(存在)、5(不存在)。args用来表示匹配内容,需要设置encodeflag为true。当匹配字段(Key)为Post、Cookie、CustomHeader时,需要将具体的参数名和参数值分别进行Base64编码并去掉末尾的等号=,然后再用等号=连接起来,类似YWJj=ZGVm;当匹配字段(Key)为Referer、User-Agent时,只需将目标值进行Base64编码并去掉末尾的等号=,然后再在其前面用等号=来串接,类似=YWJj。
|
|
54085
54085
|
:rtype: str
|
|
54086
54086
|
"""
|
|
54087
54087
|
return self._OptionsArr
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.51
|
|
4
4
|
Summary: Tencent Cloud Waf 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.51
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_waf-3.1.45.dist-info → tencentcloud_sdk_python_waf-3.1.51.dist-info}/RECORD
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=PMVHB2WKg5lme-kDJUySgKWvLoAdss1lO3KMUCUWRN0,629
|
|
2
2
|
tencentcloud/waf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/waf/v20180125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/waf/v20180125/errorcodes.py,sha256=4oNbe88QyKM5o_XNXuoL31SK8f2PWUBNI2lbbwmLaIc,9933
|
|
5
|
-
tencentcloud/waf/v20180125/models.py,sha256=
|
|
5
|
+
tencentcloud/waf/v20180125/models.py,sha256=W0jgiUD9HYOAQRozmM1C5QuBAFjWcbGfwIjjNaGBxg4,1604881
|
|
6
6
|
tencentcloud/waf/v20180125/waf_client.py,sha256=aC86kj68_rrL31Je3x7jrSw5xYGYOi4se2_UJt5BL8I,182487
|
|
7
7
|
tencentcloud/waf/v20180125/waf_client_async.py,sha256=mlKWKICOvUcWuhJH_U3vMyldsEvXI9oXNCOvfHecRgk,122305
|
|
8
|
-
tencentcloud_sdk_python_waf-3.1.
|
|
9
|
-
tencentcloud_sdk_python_waf-3.1.
|
|
10
|
-
tencentcloud_sdk_python_waf-3.1.
|
|
11
|
-
tencentcloud_sdk_python_waf-3.1.
|
|
8
|
+
tencentcloud_sdk_python_waf-3.1.51.dist-info/METADATA,sha256=9sJ843giRYigiN4HNHwpM0bz0mJ7sFXaBV8hW6-MUIw,1495
|
|
9
|
+
tencentcloud_sdk_python_waf-3.1.51.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_waf-3.1.51.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_waf-3.1.51.dist-info/RECORD,,
|
|
File without changes
|