tccli 3.0.1271.1__py2.py3-none-any.whl → 3.0.1272.1__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.
@@ -44,7 +44,7 @@
44
44
  {
45
45
  "document": "",
46
46
  "input": "POST / HTTP/1.1\nHost: rce.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNameListDetail\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"NameListId\": 2446\n }\n}",
47
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"OK\",\n \"Value\": {\n \"NameListId\": 2446,\n \"ListName\": \"测试\",\n \"ListType\": 1,\n \"DataType\": 4,\n \"SceneCode\": \"all_scene\",\n \"Status\": 1,\n \"Remark\": \"测试\",\n \"CreateTime\": \"2024-05-22 14:58:21\",\n \"UpdateTime\": \"2024-07-15 14:29:35\",\n \"EncryptionType\": 0\n }\n },\n \"RequestId\": \"bd2f3d71-9102-4c24-b581-4d4f22ebd077\"\n }\n}",
47
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"OK\",\n \"Value\": {\n \"NameListId\": 2446,\n \"ListName\": \"手机号黑名单\",\n \"ListType\": 1,\n \"DataType\": 4,\n \"SceneCode\": \"all_scene\",\n \"Status\": 1,\n \"Remark\": \"手机号黑名单\",\n \"CreateTime\": \"2024-05-22 14:58:21\",\n \"UpdateTime\": \"2024-07-15 14:29:35\",\n \"EncryptionType\": 0\n }\n },\n \"RequestId\": \"bd2f3d71-9102-4c24-b581-4d4f22ebd077\"\n }\n}",
48
48
  "title": "查询黑白名单详情"
49
49
  }
50
50
  ],
@@ -10019,7 +10019,7 @@
10019
10019
  {
10020
10020
  "disabled": false,
10021
10021
  "document": "资源配置",
10022
- "example": "[]",
10022
+ "example": "[{\"Role\":\"WORKER\",\"Cpu\":1000,\"Memory\":1024,\"GpuType\":\"\",\"Gpu\":0,\"InstanceType\":\"\",\"InstanceTypeAlias\":\"\",\"InstanceNum\":1,\"RDMAConfig\":{\"Enable\":false},\"ExtendedResourceList\":{},\"ArchType\":\"\"}]",
10023
10023
  "member": "ResourceConfigInfo",
10024
10024
  "name": "ResourceConfigInfos",
10025
10025
  "output_required": true,
@@ -10029,7 +10029,7 @@
10029
10029
  {
10030
10030
  "disabled": false,
10031
10031
  "document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
10032
- "example": "[]",
10032
+ "example": "[\"test\":\"test\"]",
10033
10033
  "member": "Tag",
10034
10034
  "name": "Tags",
10035
10035
  "output_required": true,
@@ -10079,7 +10079,7 @@
10079
10079
  {
10080
10080
  "disabled": false,
10081
10081
  "document": "数据配置\n注意:此字段可能返回 null,表示取不到有效值。",
10082
- "example": "[]",
10082
+ "example": "[{\"MappingPath\":\"/opt/ml/output/data\",\"DataSourceType\":\"CFS\",\"DataSourceUsage\":\"OUTPUT\",\"CFSSource\":{\"Id\":\"cfs-123abcd\",\"Path\":\"/exp1/output\"}}]",
10083
10083
  "member": "DataConfig",
10084
10084
  "name": "DataConfigs",
10085
10085
  "output_required": true,
@@ -10395,7 +10395,7 @@
10395
10395
  {
10396
10396
  "disabled": false,
10397
10397
  "document": "资源配置",
10398
- "example": "[ { \"Role\": \"WORKER\", \"Cpu\": 1000, \"Memory\": 1024, \"GpuType\": \"\", \"Gpu\": 0, \"InstanceType\": \"\", \"InstanceTypeAlias\": \"\", \"InstanceNum\": 1, \"RDMAConfig\": { \"Enable\": false }, \"ExtendedResourceList\": {}, \"ArchType\": \"\" } ]",
10398
+ "example": "[{\"Role\":\"WORKER\",\"Cpu\":1000,\"Memory\":1024,\"GpuType\":\"\",\"Gpu\":0,\"InstanceType\":\"\",\"InstanceTypeAlias\":\"\",\"InstanceNum\":1,\"RDMAConfig\":{\"Enable\":false},\"ExtendedResourceList\":{},\"ArchType\":\"\"}]",
10399
10399
  "member": "ResourceConfigInfo",
10400
10400
  "name": "ResourceConfigInfos",
10401
10401
  "output_required": true,
@@ -228,7 +228,7 @@
228
228
  {
229
229
  "document": "Notebook列表",
230
230
  "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNotebooks\n<公共请求参数>\n\n{\n \"OrderField\": \"string\",\n \"TagFilters\": [\n {\n \"TagValues\": [\n \"string\"\n ],\n \"TagKey\": \"string\"\n }\n ],\n \"Limit\": 0,\n \"Filters\": [\n {\n \"Fuzzy\": true,\n \"Values\": [\n \"string\"\n ],\n \"Name\": \"string\",\n \"Negative\": true\n }\n ],\n \"Offset\": 0,\n \"Order\": \"string\"\n}",
231
- "output": "{\n \"Response\": {\n \"NotebookSet\": [\n {\n \"Id\": \"nb-1188508294472113920\",\n \"Name\": \"notebook-test\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ResourceConf\": {\n \"Gpu\": 1,\n \"Cpu\": 2018,\n \"GpuType\": \"V100\",\n \"InstanceType\": \"TI.S.MEDIUM.POST\",\n \"Memory\": 4000\n },\n \"ResourceGroupId\": \"trsg-dwpqnjmk\",\n \"VolumeSizeInGB\": 100,\n \"BillingInfos\": [\n \"info\"\n ],\n \"Tags\": [\n {\n \"TagKey\": \"test-key\",\n \"TagValue\": \"test-value\"\n }\n ],\n \"CreateTime\": \"2024-11-11T10:50:44+08\",\n \"StartTime\": \"2024-11-11T10:51:44+08\",\n \"UpdateTime\": \"2024-11-11T10:51:44+08\",\n \"RuntimeInSeconds\": 100,\n \"ChargeStatus\": \"BILLING\",\n \"Status\": \"Stopped\",\n \"FailureReason\": \"errMsg\",\n \"EndTime\": \"2024-11-14T17:22:16+08\",\n \"PodName\": \"nb-1188501796310898048-912gqy8i0xvk\",\n \"InstanceTypeAlias\": \"2C4G\",\n \"ResourceGroupName\": \"resource-test\",\n \"AutoStopping\": true,\n \"AutomaticStopTime\": 100,\n \"VolumeSourceType\": \"CFS\",\n \"VolumeSourceCFS\": {\n \"Id\": \"cfs-9su5kqtv\",\n \"Path\": \"/\",\n \"Protocol\": \"NFS\",\n \"MountType\": \"STORAGE\"\n },\n \"Message\": \"message1\",\n \"UserTypes\": [\n \"AiMarket\"\n ],\n \"SSHConfig\": {\n \"Enable\": true,\n \"PublicKey\": \"ssh-rsa AAAA*.00=\",\n \"Port\": 6001,\n \"LoginCommand\": \"ssh -p 127.0.0.1:6001\"\n }\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"ecc8d2f6-9772-40df-856f-f6e48c6a7008\"\n }\n}",
231
+ "output": "{\n \"Response\": {\n \"NotebookSet\": [\n {\n \"Id\": \"nb-1188508294472113920\",\n \"Name\": \"notebook-test\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ResourceConf\": {\n \"Gpu\": 1,\n \"Cpu\": 2018,\n \"GpuType\": \"V100\",\n \"InstanceType\": \"TI.S.MEDIUM.POST\",\n \"Memory\": 4000\n },\n \"ResourceGroupId\": \"trsg-dwpqnjmk\",\n \"VolumeSizeInGB\": 100,\n \"BillingInfos\": [\n \"info\"\n ],\n \"Tags\": [\n {\n \"TagKey\": \"test-key\",\n \"TagValue\": \"test-value\"\n }\n ],\n \"CreateTime\": \"2024-11-11T10:50:44+08\",\n \"StartTime\": \"2024-11-11T10:51:44+08\",\n \"UpdateTime\": \"2024-11-11T10:51:44+08\",\n \"RuntimeInSeconds\": 100,\n \"ChargeStatus\": \"BILLING\",\n \"Status\": \"Stopped\",\n \"FailureReason\": \"errMsg\",\n \"EndTime\": \"2024-11-14T17:22:16+08\",\n \"PodName\": \"nb-1188501796310898048-912gqy8i0xvk\",\n \"InstanceTypeAlias\": \"2C4G\",\n \"ResourceGroupName\": \"resource-test\",\n \"AutoStopping\": true,\n \"AutomaticStopTime\": 100,\n \"VolumeSourceType\": \"CFS\",\n \"VolumeSourceCFS\": {\n \"Id\": \"cfs-9su5kqtv\",\n \"Path\": \"/path\",\n \"Protocol\": \"NFS\",\n \"MountType\": \"STORAGE\"\n },\n \"Message\": \"message1\",\n \"UserTypes\": [\n \"AiMarket\"\n ],\n \"SSHConfig\": {\n \"Enable\": true,\n \"PublicKey\": \"ssh-rsa AAAA*.00=\",\n \"Port\": 6001,\n \"LoginCommand\": \"ssh -p 127.0.0.1:6001\"\n }\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"ecc8d2f6-9772-40df-856f-f6e48c6a7008\"\n }\n}",
232
232
  "title": "Notebook列表"
233
233
  }
234
234
  ],
@@ -5761,7 +5761,7 @@
5761
5761
  "members": [
5762
5762
  {
5763
5763
  "disabled": false,
5764
- "document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. 详细说明参考:[AI智能识别计费说明](https://cloud.tencent.com/document/product/647/111976)\n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n\n- \"zh\": 中文\n\n- \"zh-TW\": 中国台湾\n\n- \"en\": 英语\n\n**标准版:**\n\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n\n- \"zh-dialect\": 中国方言\n\n- \"zh-yue\": 中国粤语\n\n- \"vi\": 越南语\n\n- \"ja\": 日语\n\n- \"ko\": 韩语\n\n- \"id\": 印度尼西亚语\n\n- \"th\": 泰语\n\n- \"pt\": 葡萄牙语\n\n- \"tr\": 土耳其语\n\n- \"ar\": 阿拉伯语\n\n- \"es\": 西班牙语\n\n- \"hi\": 印地语\n\n- \"fr\": 法语\n\n- \"ms\": 马来语\n\n- \"fil\": 菲律宾语\n\n- \"de\": 德语\n\n- \"it\": 意大利语\n\n- \"ru\": 俄语\n\n- \"sv\": 瑞典语\n\n- \"da\": 丹麦语\n\n- \"no\": 挪威语\n\n**注意:**\n\n如果缺少满足您需求的语言,请联系我们技术人员。\n\n示例值:zh",
5764
+ "document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. 详细说明参考:[AI智能识别计费说明](https://cloud.tencent.com/document/product/647/111976)\n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n- \"zh\": 中文\n- \"zh-TW\": 中国台湾\n- \"en\": 英语\n\n**标准版:**\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n- \"zh-dialect\": 中国方言\n- \"zh-yue\": 中国粤语\n- \"vi\": 越南语\n- \"ja\": 日语\n- \"ko\": 韩语\n- \"id\": 印度尼西亚语\n- \"th\": 泰语\n- \"pt\": 葡萄牙语\n- \"tr\": 土耳其语\n- \"ar\": 阿拉伯语\n- \"es\": 西班牙语\n- \"hi\": 印地语\n- \"fr\": 法语\n- \"ms\": 马来语\n- \"fil\": 菲律宾语\n- \"de\": 德语\n- \"it\": 意大利语\n- \"ru\": 俄语\n- \"sv\": 瑞典语\n- \"da\": 丹麦语\n- \"no\": 挪威语\n\n**注意:**\n如果缺少满足您需求的语言,请联系我们技术人员。",
5765
5765
  "example": "zh",
5766
5766
  "member": "string",
5767
5767
  "name": "Language",
@@ -6204,6 +6204,15 @@
6204
6204
  "name": "TTSConfig",
6205
6205
  "required": false,
6206
6206
  "type": "string"
6207
+ },
6208
+ {
6209
+ "disabled": false,
6210
+ "document": "数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**",
6211
+ "example": "{\\\"AvatarType\\\": \\\"tencent\\\", \\\"Appkey\\\": \\\"数字人的appkey\\\", \\\"AccessToken\\\": \\\"token\\\",\\\"AssetVirtualmanKey\\\": \\\"2d64a32c02604b8db35d457ba0db0d75\\\", \\\"AvatarUserID\\\": \\\"robot_xiaowei\\\", \\\"DriverType\\\": 1, \\\"AvatarUserSig\\\": \\\"user_sign\\\"}",
6212
+ "member": "string",
6213
+ "name": "AvatarConfig",
6214
+ "required": false,
6215
+ "type": "string"
6207
6216
  }
6208
6217
  ],
6209
6218
  "type": "object"
@@ -324,7 +324,7 @@
324
324
  {
325
325
  "document": "",
326
326
  "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartAIConversation\n<公共请求参数>\n\n{\n \"SdkAppId\": 12345678,\n \"RoomId\": \"room_987654321\",\n \"RoomIdType\": 1,\n \"AgentConfig\": {\n \"UserId\": \"user_12345\",\n \"UserSig\": \"user_signature_example\",\n \"MaxIdleTime\": 120,\n \"TargetUserId\": \"target_user_54321\"\n },\n \"SessionId\": \"session_1234567890abcdef\",\n \"STTConfig\": {\n \"Language\": \"en-US\",\n \"AlternativeLanguage\": [\n \"en-US\",\n \"zh\"\n ]\n },\n \"LLMConfig\": \"{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-3.5-turbo\\\", \\\"APIKey\\\": \\\"xxx\\\", \\\"APIUrl\\\": \\\"http://xxxx-api.woa.com/v1/chat/completions\\\", \\\"Streaming\\\": true}\",\n \"TTSConfig\": \"{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 130000000, \\\"SecretId\\\": \\\"AKIDxxxxx\\\", \\\"SecretKey\\\": \\\"HlDxxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}\"\n}",
327
- "output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
327
+ "output": "{\n \"Response\": {\n \"TaskId\": \"v2_20250224_udqgoOzzpAFOoiXR_sHbeVCwys3hy0PLs1uRLvS7wY9mjZMEIQuDPhT\",\n \"RequestId\": \"df81f274-c1b8-4342-b0a1-e552072cc48e\"\n }\n}",
328
328
  "title": "启动一个AI机器人对话"
329
329
  }
330
330
  ],
@@ -1833,7 +1833,7 @@
1833
1833
  "type": "string"
1834
1834
  },
1835
1835
  {
1836
- "disabled": false,
1836
+ "disabled": true,
1837
1837
  "document": "放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。默认是\"geoip,cc,owasp,ai,antileakage\"",
1838
1838
  "example": "cc,bot",
1839
1839
  "member": "string",
@@ -1903,6 +1903,15 @@
1903
1903
  "name": "PageId",
1904
1904
  "required": false,
1905
1905
  "type": "string"
1906
+ },
1907
+ {
1908
+ "disabled": false,
1909
+ "document": "匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系",
1910
+ "example": "and",
1911
+ "member": "string",
1912
+ "name": "LogicalOp",
1913
+ "required": false,
1914
+ "type": "string"
1906
1915
  }
1907
1916
  ],
1908
1917
  "type": "object"
@@ -1960,15 +1969,6 @@
1960
1969
  "required": true,
1961
1970
  "type": "string"
1962
1971
  },
1963
- {
1964
- "disabled": false,
1965
- "document": "过期时间",
1966
- "example": "2023-11-15 19:23:06",
1967
- "member": "string",
1968
- "name": "ExpireTime",
1969
- "required": true,
1970
- "type": "string"
1971
- },
1972
1972
  {
1973
1973
  "disabled": false,
1974
1974
  "document": "策略详情",
@@ -1989,13 +1989,22 @@
1989
1989
  },
1990
1990
  {
1991
1991
  "disabled": false,
1992
- "document": "放行的详情",
1992
+ "document": "放行的模块,多个模块之间用逗号连接。支持的模块:acl(自定义规则)、owasp(规则引擎)、webshell(恶意文件检测)、geoip(地域封禁)、bwip(IP黑白名单)、cc、botrpc(BOT防护)、antileakage(信息防泄露)、api(API安全)、ai(AI引擎)、ip_auto_deny(IP封禁)、applet(小程序流量风控)",
1993
1993
  "example": "cc",
1994
1994
  "member": "string",
1995
1995
  "name": "Bypass",
1996
1996
  "required": true,
1997
1997
  "type": "string"
1998
1998
  },
1999
+ {
2000
+ "disabled": false,
2001
+ "document": "如果没有设置JobDateTime字段则用此字段,0表示永久生效,其它表示定时生效的截止时间(单位为秒)",
2002
+ "example": "0",
2003
+ "member": "string",
2004
+ "name": "ExpireTime",
2005
+ "required": false,
2006
+ "type": "string"
2007
+ },
1999
2008
  {
2000
2009
  "disabled": false,
2001
2010
  "document": "规则执行的方式,TimedJob为定时执行,CronJob为周期执行",
@@ -2008,7 +2017,7 @@
2008
2017
  {
2009
2018
  "disabled": false,
2010
2019
  "document": "定时任务配置",
2011
- "example": "{ \"Timed\": [ { \"StartDateTime\": 1711618518, \"EndDateTime\": 1711918518 } ], \"Cron\": [ { \"Day\": 12, \"WDay\": 2, \"StartTime\": \"12:11\", \"EndTime\": \"21:00\" } ], \"TimeTZone\": \"UTC+8\" }",
2020
+ "example": "{\"Timed\":[{\"StartDateTime\":1711618518,\"EndDateTime\":1711918518}],\"Cron\":[{\"Day\":12,\"WDay\":2,\"StartTime\":\"12:11\",\"EndTime\":\"21:00\"}],\"TimeTZone\":\"UTC+8\"}",
2012
2021
  "member": "JobDateTime",
2013
2022
  "name": "JobDateTime",
2014
2023
  "required": false,
@@ -2529,6 +2538,24 @@
2529
2538
  "name": "GmSSLId",
2530
2539
  "required": false,
2531
2540
  "type": "string"
2541
+ },
2542
+ {
2543
+ "disabled": false,
2544
+ "document": "回源策略,支持负载均衡回源和分流回源两种方式。0:默认值,负载均衡回源;1:分流回源",
2545
+ "example": "0",
2546
+ "member": "int64",
2547
+ "name": "UpstreamPolicy",
2548
+ "required": false,
2549
+ "type": "int"
2550
+ },
2551
+ {
2552
+ "disabled": false,
2553
+ "document": "分流回源时生效,分流回源的规则。",
2554
+ "example": "[{\"KeyName\":\"host\",\"Symbol\": \"equal\", \"ContentList\":[\"up2.randy.qcloudwaf.com\"], \"AddressList\":[\"162.14.105.228\",\"114.132.246.237\"], \"BalanceType\":0},{\"KeyName\":\"uri\",\"Symbol\": \"belong\", \"ContentList\":[\"/aa\",\"/bb\"], \"AddressList\":[\"114.132.246.237\",\"101.34.251.68\"], \"BalanceType\":1}]",
2555
+ "member": "UpstreamRule",
2556
+ "name": "UpstreamRules",
2557
+ "required": false,
2558
+ "type": "list"
2532
2559
  }
2533
2560
  ],
2534
2561
  "type": "object"
@@ -3294,7 +3321,7 @@
3294
3321
  "document": "批量多域名黑白名单列表Ip",
3295
3322
  "members": [
3296
3323
  {
3297
- "disabled": false,
3324
+ "disabled": true,
3298
3325
  "document": "mongo表自增Id",
3299
3326
  "example": "64f9ad91ca22cf647117e44d",
3300
3327
  "member": "string",
@@ -3314,7 +3341,7 @@
3314
3341
  "value_allowed_null": false
3315
3342
  },
3316
3343
  {
3317
- "disabled": false,
3344
+ "disabled": true,
3318
3345
  "document": "黑白名单的IP",
3319
3346
  "example": "1.1.1.1",
3320
3347
  "member": "string",
@@ -3335,7 +3362,7 @@
3335
3362
  },
3336
3363
  {
3337
3364
  "disabled": false,
3338
- "document": "添加路径",
3365
+ "document": "batch为批量域名,batch-group为防护对象组",
3339
3366
  "example": "batch",
3340
3367
  "member": "string",
3341
3368
  "name": "Source",
@@ -3442,6 +3469,16 @@
3442
3469
  "output_required": false,
3443
3470
  "type": "int",
3444
3471
  "value_allowed_null": false
3472
+ },
3473
+ {
3474
+ "disabled": false,
3475
+ "document": "防护对象组ID列表,如果绑定的是防护对象组",
3476
+ "example": "[11101,11102]\t",
3477
+ "member": "uint64",
3478
+ "name": "GroupIds",
3479
+ "output_required": false,
3480
+ "type": "list",
3481
+ "value_allowed_null": false
3445
3482
  }
3446
3483
  ],
3447
3484
  "usage": "out"
@@ -6493,7 +6530,7 @@
6493
6530
  {
6494
6531
  "disabled": false,
6495
6532
  "document": "目前支持根据create_time、modify_time、id排序",
6496
- "example": "\"ts\"",
6533
+ "example": "\"create_time\"",
6497
6534
  "member": "string",
6498
6535
  "name": "By",
6499
6536
  "required": false,
@@ -6518,7 +6555,7 @@
6518
6555
  {
6519
6556
  "disabled": false,
6520
6557
  "document": "返回值",
6521
- "example": "[{ \"Id\": 3200052851, \"Name\": \"1\", \"Domain\": \"www.qcloudwaf.com\", \"Uri\": \"/a.txt\", \"Protocol\": \"http\", \"Status\": 1, \"CreateTime\": \"2024-06-04T10:35:33+08:00\", \"ModifyTime\": \"2024-06-04T10:35:33+08:00\" }]",
6558
+ "example": "[{\"Id\": 3200052851,\"Name\": \"1\",\"Domain\": \"www.qcloudwaf.com\",\"Uri\": \"/a.txt\",\"Protocol\": \"http\",\"Status\": 1}]",
6522
6559
  "member": "CacheUrlItems",
6523
6560
  "name": "Data",
6524
6561
  "output_required": true,
@@ -7706,7 +7743,7 @@
7706
7743
  "members": [
7707
7744
  {
7708
7745
  "disabled": false,
7709
- "document": "筛选条件,支持 ActionType,可选的值为40(白名单)42(黑名单),ValidStatus,可选的值为1(生效)0(过期)",
7746
+ "document": "筛选条件,支持 ActionType(可选的值为40:白名单,42:黑名单),ValidStatus(可选的值0:全部,1:生效,2:过期),Ip,Domains(域名列表),GroupId(防护对象组ID),GroupName(防护对象组名),RuleId(规则ID),TimerType(生效方式,1:永久生效,2:定时生效,3:按周周期生效,4:按月周期生效)",
7710
7747
  "example": "[{\"Name\":\"ValidStatus\",\"Values\":[\"1\"],\"ExactMatch\":true},{\"ExactMatch\":false,\"Name\":\"ActionType\",\"Values\":[\"42\"]}]",
7711
7748
  "member": "FiltersItemNew",
7712
7749
  "name": "Filters",
@@ -8453,6 +8490,16 @@
8453
8490
  "output_required": false,
8454
8491
  "type": "string",
8455
8492
  "value_allowed_null": false
8493
+ },
8494
+ {
8495
+ "disabled": false,
8496
+ "document": "匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系",
8497
+ "example": "and",
8498
+ "member": "string",
8499
+ "name": "LogicalOp",
8500
+ "output_required": false,
8501
+ "type": "string",
8502
+ "value_allowed_null": false
8456
8503
  }
8457
8504
  ],
8458
8505
  "usage": "out"
@@ -9603,7 +9650,7 @@
9603
9650
  },
9604
9651
  {
9605
9652
  "disabled": false,
9606
- "document": "生效状态",
9653
+ "document": "生效状态,1表示生效中,2表示过期,0表示全部",
9607
9654
  "example": "1",
9608
9655
  "member": "int64",
9609
9656
  "name": "ValidStatus",
@@ -9639,7 +9686,7 @@
9639
9686
  },
9640
9687
  {
9641
9688
  "disabled": false,
9642
- "document": "定时任务类型筛选0 1 2 3 4",
9689
+ "document": "0表示全部,1表示永久生效,2表示定时生效,3表示周粒度生效,4表示月粒度生效",
9643
9690
  "example": "1",
9644
9691
  "member": "int64",
9645
9692
  "name": "TimerType",
@@ -9655,7 +9702,7 @@
9655
9702
  {
9656
9703
  "disabled": false,
9657
9704
  "document": "输出",
9658
- "example": "{ \"Res\": [ { \"ActionType\": 40, \"Ip\": \"1.1.1.234\", \"Note\": \"测试白\", \"Source\": \"custom\", \"TsVersion\": 1675087938186, \"ValidTs\": 2019571199 } ], \"TotalCount\": 1 }, \"RequestId\": \"4afdae60-51ec-44f0-b09b-faf904ae6c6b\" }",
9705
+ "example": "{ \"Res\": [ { \"Id\": \"66a341dd8f33c805d65f4765\", \"RuleId\": 5501526871, \"IpList\": [ \"113.108.77.69\" ], \"ActionType\": 42, \"Ip\": \"113.108.77.69\", \"Note\": \"\", \"Source\": \"custom\", \"TsVersion\": 1721975261208, \"CreateTime\": 1721975261208, \"ValidTs\": 2019571199, \"JobType\": \"TimedJob\", \"JobDateTime\": { \"Timed\": [ { \"StartDateTime\": 0, \"EndDateTime\": 0 } ], \"Cron\": null, \"TimeTZone\": \"UTC+8\" }, \"CronType\": \"-\", \"ValidStatus\": 1 } ], \"TotalCount\": 1 }",
9659
9706
  "member": "IpAccessControlData",
9660
9707
  "name": "Data",
9661
9708
  "output_required": true,
@@ -9705,7 +9752,7 @@
9705
9752
  {
9706
9753
  "disabled": false,
9707
9754
  "document": "类别,ip封禁传值auto_deny",
9708
- "example": "threat_intelligence",
9755
+ "example": "auto_deny",
9709
9756
  "member": "string",
9710
9757
  "name": "Category",
9711
9758
  "required": true,
@@ -9758,7 +9805,7 @@
9758
9805
  },
9759
9806
  {
9760
9807
  "disabled": false,
9761
- "document": "限制数目",
9808
+ "document": "限制数目,category不等于threat_intelligence时,该值需要必传",
9762
9809
  "example": "10",
9763
9810
  "member": "uint64",
9764
9811
  "name": "Limit",
@@ -9785,7 +9832,7 @@
9785
9832
  },
9786
9833
  {
9787
9834
  "disabled": false,
9788
- "document": "IP",
9835
+ "document": "IP,category传threat_intelligence的时候,该值必传",
9789
9836
  "example": "1.2.3.4",
9790
9837
  "member": "string",
9791
9838
  "name": "Ip",
@@ -12620,6 +12667,26 @@
12620
12667
  "output_required": false,
12621
12668
  "type": "int",
12622
12669
  "value_allowed_null": false
12670
+ },
12671
+ {
12672
+ "disabled": false,
12673
+ "document": "回源策略。\n0:负载均衡回源\n1:分流回源",
12674
+ "example": "1",
12675
+ "member": "int64",
12676
+ "name": "UpstreamPolicy",
12677
+ "output_required": false,
12678
+ "type": "int",
12679
+ "value_allowed_null": false
12680
+ },
12681
+ {
12682
+ "disabled": false,
12683
+ "document": "分流回源策略",
12684
+ "example": "[{\"KeyName\":\"host\",\"Symbol\": \"equal\", \"ContentList\":[\"up2.randy.qcloudwaf.com\"], \"AddressList\":[\"162.14.105.228\",\"114.132.246.237\"], \"BalanceType\":0},{\"KeyName\":\"uri\",\"Symbol\": \"belong\", \"ContentList\":[\"/aa\",\"/bb\"], \"AddressList\":[\"114.132.246.237\",\"101.34.251.68\"], \"BalanceType\":1}]",
12685
+ "member": "UpstreamRule",
12686
+ "name": "UpstreamRules",
12687
+ "output_required": false,
12688
+ "type": "list",
12689
+ "value_allowed_null": false
12623
12690
  }
12624
12691
  ],
12625
12692
  "usage": "out"
@@ -15126,36 +15193,36 @@
15126
15193
  "members": [
15127
15194
  {
15128
15195
  "disabled": false,
15129
- "document": "定时执行的时间参数",
15196
+ "document": "定时执行的时间参数\n注意:此字段可能返回 null,表示取不到有效值。",
15130
15197
  "example": "[{\"StartDateTime\":1711618518\t,\"EndDateTime\":1711918518}]",
15131
15198
  "member": "TimedJob",
15132
15199
  "name": "Timed",
15133
15200
  "output_required": false,
15134
15201
  "required": false,
15135
15202
  "type": "list",
15136
- "value_allowed_null": false
15203
+ "value_allowed_null": true
15137
15204
  },
15138
15205
  {
15139
15206
  "disabled": false,
15140
- "document": "周期执行的时间参数",
15207
+ "document": "周期执行的时间参数\n注意:此字段可能返回 null,表示取不到有效值。",
15141
15208
  "example": "[{\"Day\":12,\"WDay\":2,\"StartTime\":\"12:11\",\"EndTime\":\"21:00\"}]",
15142
15209
  "member": "CronJob",
15143
15210
  "name": "Cron",
15144
15211
  "output_required": false,
15145
15212
  "required": false,
15146
15213
  "type": "list",
15147
- "value_allowed_null": false
15214
+ "value_allowed_null": true
15148
15215
  },
15149
15216
  {
15150
15217
  "disabled": false,
15151
- "document": "时区",
15218
+ "document": "时区\n注意:此字段可能返回 null,表示取不到有效值。",
15152
15219
  "example": "UTC+8\t",
15153
15220
  "member": "string",
15154
15221
  "name": "TimeTZone",
15155
15222
  "output_required": false,
15156
15223
  "required": false,
15157
15224
  "type": "string",
15158
- "value_allowed_null": false
15225
+ "value_allowed_null": true
15159
15226
  }
15160
15227
  ],
15161
15228
  "usage": "both"
@@ -16624,7 +16691,7 @@
16624
16691
  "type": "string"
16625
16692
  },
16626
16693
  {
16627
- "disabled": false,
16694
+ "disabled": true,
16628
16695
  "document": "放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。\n默认是\"geoip,cc,owasp,ai,antileakage\"",
16629
16696
  "example": "geoip",
16630
16697
  "member": "string",
@@ -16694,6 +16761,15 @@
16694
16761
  "name": "PageId",
16695
16762
  "required": false,
16696
16763
  "type": "string"
16764
+ },
16765
+ {
16766
+ "disabled": false,
16767
+ "document": "匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系",
16768
+ "example": "and",
16769
+ "member": "string",
16770
+ "name": "LogicalOp",
16771
+ "required": false,
16772
+ "type": "string"
16697
16773
  }
16698
16774
  ],
16699
16775
  "type": "object"
@@ -16843,7 +16919,7 @@
16843
16919
  },
16844
16920
  {
16845
16921
  "disabled": false,
16846
- "document": "规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。",
16922
+ "document": "如果没有设置JobDateTime字段则用此字段,0表示永久生效,其它表示定时生效的截止时间(单位为秒)",
16847
16923
  "example": "0",
16848
16924
  "member": "uint64",
16849
16925
  "name": "ExpireTime",
@@ -18408,6 +18484,24 @@
18408
18484
  "name": "GmSSLId",
18409
18485
  "required": false,
18410
18486
  "type": "string"
18487
+ },
18488
+ {
18489
+ "disabled": false,
18490
+ "document": "回源策略,支持负载均衡回源和分流回源两种方式。0:默认值,负载均衡回源;1:分流回源",
18491
+ "example": "0",
18492
+ "member": "int64",
18493
+ "name": "UpstreamPolicy",
18494
+ "required": false,
18495
+ "type": "int"
18496
+ },
18497
+ {
18498
+ "disabled": false,
18499
+ "document": "分流回源时生效,分流回源的规则。",
18500
+ "example": "[{\"KeyName\":\"host\",\"Symbol\": \"equal\", \"ContentList\":[\"up2.randy.qcloudwaf.com\"], \"AddressList\":[\"162.14.105.228\",\"114.132.246.237\"], \"BalanceType\":0},{\"KeyName\":\"uri\",\"Symbol\": \"belong\", \"ContentList\":[\"/aa\",\"/bb\"], \"AddressList\":[\"114.132.246.237\",\"101.34.251.68\"], \"BalanceType\":1}]",
18501
+ "member": "UpstreamRule",
18502
+ "name": "UpstreamRules",
18503
+ "required": false,
18504
+ "type": "list"
18411
18505
  }
18412
18506
  ],
18413
18507
  "type": "object"
@@ -20244,7 +20338,7 @@
20244
20338
  "members": [
20245
20339
  {
20246
20340
  "disabled": false,
20247
- "document": "匹配字段\n\n 匹配字段不同,相应的匹配参数、逻辑符号、匹配内容有所不同\u000b具体如下所示:\n<table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color=\"Red\">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color=\"Red\">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color=\"Red\">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr></tbody></table>",
20341
+ "document": "匹配字段\n\n 匹配字段不同,相应的匹配参数、逻辑符号、匹配内容有所不同\u000b具体如下所示:\n<table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color=\"Red\">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color=\"Red\">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color=\"Red\">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color=\"Red\">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>CONTENT_LENGTH(Content-length)</td><td>支持参数录入</td><td>numgt(数值大于)<br/>numlt(数值小于)<br/>numeq(数值等于)<br/></td><td>请输入0-9999999999999之间的整数</td></tr><tr><td>IP_GEO(来源IP归属地)</td><td>支持参数录入</td><td>geo_in(属于)<br/>geo_not_in(不属于)<br/></td><td>请输入内容,10240字符以内,格式为序列化的JSON,格式为:[{\"Country\":\"中国\",\"Region\":\"广东\",\"City\":\"深圳\"}]</td></tr>\n</tbody></table>",
20248
20342
  "example": "IP-来源IP",
20249
20343
  "member": "string",
20250
20344
  "name": "Field",
@@ -20255,7 +20349,7 @@
20255
20349
  },
20256
20350
  {
20257
20351
  "disabled": false,
20258
- "document": "逻辑符号 \n\n 逻辑符号一共分为以下几种类型:\n empty ( 内容为空)\n null (不存在)\n eq ( 等于)\n neq ( 不等于)\n contains ( 包含)\n ncontains ( 不包含)\n strprefix ( 前缀匹配)\n strsuffix ( 后缀匹配)\n len_eq ( 长度等于)\n len_gt ( 长度大于)\n len_lt ( 长度小于)\n ipmatch ( 属于)\n ipnmatch ( 不属于)\n 各匹配字段对应的逻辑符号不同,详见上述匹配字段表格\n",
20352
+ "document": "逻辑符号 \n\n 逻辑符号一共分为以下几种类型:\n empty ( 内容为空)\n null (不存在)\n eq ( 等于)\n neq ( 不等于)\n contains ( 包含)\n ncontains ( 不包含)\n strprefix ( 前缀匹配)\n strsuffix ( 后缀匹配)\n len_eq ( 长度等于)\n len_gt ( 长度大于)\n len_lt ( 长度小于)\n ipmatch ( 属于)\n ipnmatch ( 不属于)\n numgt ( 数值大于)\n numlt ( 数值小于)\n numeq ( 数值等于)\n geo_in ( IP地理属于)\n geo_not_in ( IP地理不属于)\n 各匹配字段对应的逻辑符号不同,详见上述匹配字段表格\n",
20259
20353
  "example": "contains - 包含",
20260
20354
  "member": "string",
20261
20355
  "name": "CompareFunc",
@@ -20697,7 +20791,7 @@
20697
20791
  },
20698
20792
  {
20699
20793
  "disabled": false,
20700
- "document": "匹配方法,0表示等于,1表示前缀匹配,2表示包含",
20794
+ "document": "匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含",
20701
20795
  "example": "0",
20702
20796
  "member": "int64",
20703
20797
  "name": "MatchFunc",
@@ -20733,7 +20827,7 @@
20733
20827
  },
20734
20828
  {
20735
20829
  "disabled": false,
20736
- "document": "附加参数",
20830
+ "document": "[{\\\"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。",
20737
20831
  "example": "\"[]\"",
20738
20832
  "member": "string",
20739
20833
  "name": "OptionsArr",
@@ -21059,6 +21153,67 @@
21059
21153
  ],
21060
21154
  "type": "object"
21061
21155
  },
21156
+ "UpstreamRule": {
21157
+ "document": "SAASWAF规则回源时的规则数据结构",
21158
+ "members": [
21159
+ {
21160
+ "disabled": false,
21161
+ "document": "匹配的关键字。目前支持host、uri两种",
21162
+ "example": "host",
21163
+ "member": "string",
21164
+ "name": "KeyName",
21165
+ "output_required": false,
21166
+ "required": true,
21167
+ "type": "string",
21168
+ "value_allowed_null": false
21169
+ },
21170
+ {
21171
+ "disabled": false,
21172
+ "document": "逻辑符号。\nequal:等于\nnot equal:不等于\nbelong:属于\nnot belong:不属于",
21173
+ "example": "equal",
21174
+ "member": "string",
21175
+ "name": "Symbol",
21176
+ "output_required": false,
21177
+ "required": true,
21178
+ "type": "string",
21179
+ "value_allowed_null": false
21180
+ },
21181
+ {
21182
+ "disabled": false,
21183
+ "document": "匹配的内容。equal和not equal时,数组只能有一个元素",
21184
+ "example": "[\"randy.test.qcloudwaf.com\"]",
21185
+ "member": "string",
21186
+ "name": "ContentList",
21187
+ "output_required": false,
21188
+ "required": true,
21189
+ "type": "list",
21190
+ "value_allowed_null": false
21191
+ },
21192
+ {
21193
+ "disabled": false,
21194
+ "document": "规则匹配后生效的回源地址。",
21195
+ "example": "[\"36.211.56.3\",\"54.168.6.35\"]",
21196
+ "member": "string",
21197
+ "name": "AddressList",
21198
+ "output_required": false,
21199
+ "required": true,
21200
+ "type": "list",
21201
+ "value_allowed_null": false
21202
+ },
21203
+ {
21204
+ "disabled": false,
21205
+ "document": "回源负载均衡类型,仅多个回源地址时生效。\n0:轮询\n1:IP_HASH",
21206
+ "example": "0",
21207
+ "member": "uint64",
21208
+ "name": "BalanceType",
21209
+ "output_required": false,
21210
+ "required": true,
21211
+ "type": "int",
21212
+ "value_allowed_null": false
21213
+ }
21214
+ ],
21215
+ "usage": "both"
21216
+ },
21062
21217
  "UserDomainInfo": {
21063
21218
  "document": "saas和clb信息",
21064
21219
  "members": [