tccli 3.0.947.1__py2.py3-none-any.whl → 3.0.949.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/apigateway/v20180808/DescribeService.md +1 -0
  3. tccli/examples/bma/v20221115/CreateBPWhiteList.md +5 -1
  4. tccli/examples/bma/v20221115/DescribeBPWhiteLists.md +14 -1
  5. tccli/examples/cdwch/v20200915/DeleteBackUpData.md +21 -0
  6. tccli/examples/cdwch/v20200915/DescribeBackUpJob.md +32 -0
  7. tccli/examples/cdwch/v20200915/DescribeBackUpJobDetail.md +30 -0
  8. tccli/examples/cdwch/v20200915/DescribeCkSqlApis.md +2 -32
  9. tccli/examples/cdwch/v20200915/RecoverBackUpJob.md +21 -0
  10. tccli/examples/cfw/v20190904/DescribeNatAcRule.md +31 -22
  11. tccli/examples/csip/v20221121/DescribeListenerList.md +35 -3
  12. tccli/examples/cvm/v20170312/ModifyImageSharePermission.md +2 -2
  13. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideDistributed.md +35 -0
  14. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideList.md +27 -0
  15. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskTemplateVulnerableList.md +2 -1
  16. tccli/examples/dsgc/v20190723/DescribeDSPAESDiscoveryTaskResultDetail.md +8 -2
  17. tccli/examples/faceid/v20180301/GetEidResult.md +55 -24
  18. tccli/examples/lcic/v20220817/DescribeGroupList.md +79 -9
  19. tccli/examples/vpc/v20170312/CreateNetworkAclEntries.md +30 -0
  20. tccli/examples/vpc/v20170312/DeleteNetworkAclEntries.md +22 -0
  21. tccli/examples/vpc/v20170312/ModifyNetworkAclEntries.md +0 -5
  22. tccli/examples/waf/v20180125/AddAntiFakeUrl.md +46 -0
  23. tccli/examples/waf/v20180125/AddAntiInfoLeakRules.md +26 -0
  24. tccli/examples/waf/v20180125/DeleteAntiFakeUrl.md +21 -0
  25. tccli/examples/waf/v20180125/DeleteAntiInfoLeakRule.md +21 -0
  26. tccli/examples/waf/v20180125/DeleteCCRule.md +23 -0
  27. tccli/examples/waf/v20180125/DescribeAntiFakeRules.md +28 -0
  28. tccli/examples/waf/v20180125/DescribeAntiFakeUrl.md +57 -0
  29. tccli/examples/waf/v20180125/DescribeAntiInfoLeakRules.md +40 -0
  30. tccli/examples/waf/v20180125/DescribeAntiInfoLeakageRules.md +38 -0
  31. tccli/examples/waf/v20180125/DescribeBatchIpAccessControl.md +42 -0
  32. tccli/examples/waf/v20180125/DescribeCCRule.md +71 -0
  33. tccli/examples/waf/v20180125/DescribeCCRuleList.md +36 -0
  34. tccli/examples/waf/v20180125/DescribeSession.md +51 -0
  35. tccli/examples/waf/v20180125/ModifyAntiFakeUrl.md +24 -0
  36. tccli/examples/waf/v20180125/ModifyAntiFakeUrlStatus.md +22 -0
  37. tccli/examples/waf/v20180125/ModifyAntiInfoLeakRuleStatus.md +22 -0
  38. tccli/examples/waf/v20180125/ModifyAntiInfoLeakRules.md +26 -0
  39. tccli/examples/waf/v20180125/ModifyCustomWhiteRuleStatus.md +26 -0
  40. tccli/examples/waf/v20180125/UpsertCCRule.md +95 -0
  41. tccli/examples/waf/v20180125/UpsertSession.md +25 -0
  42. tccli/services/apigateway/v20180808/api.json +22 -2
  43. tccli/services/apigateway/v20180808/examples.json +1 -1
  44. tccli/services/asr/v20190614/api.json +3 -3
  45. tccli/services/bma/v20221115/api.json +27 -6
  46. tccli/services/bma/v20221115/examples.json +2 -2
  47. tccli/services/cdwch/cdwch_client.py +278 -66
  48. tccli/services/cdwch/v20200915/api.json +314 -1
  49. tccli/services/cdwch/v20200915/examples.json +33 -1
  50. tccli/services/cfw/v20190904/api.json +3 -0
  51. tccli/services/cfw/v20190904/examples.json +2 -2
  52. tccli/services/ckafka/v20190819/api.json +83 -15
  53. tccli/services/csip/v20221121/api.json +24 -12
  54. tccli/services/csip/v20221121/examples.json +1 -1
  55. tccli/services/cvm/v20170312/api.json +4 -4
  56. tccli/services/cvm/v20170312/examples.json +1 -1
  57. tccli/services/cwp/v20180228/api.json +20 -2
  58. tccli/services/cynosdb/v20190107/api.json +3 -3
  59. tccli/services/dbbrain/v20210527/api.json +53 -33
  60. tccli/services/dsgc/dsgc_client.py +106 -0
  61. tccli/services/dsgc/v20190723/api.json +414 -46
  62. tccli/services/dsgc/v20190723/examples.json +18 -2
  63. tccli/services/ess/v20201111/api.json +1 -1
  64. tccli/services/faceid/v20180301/api.json +26 -7
  65. tccli/services/faceid/v20180301/examples.json +1 -1
  66. tccli/services/lcic/v20220817/api.json +2 -0
  67. tccli/services/lcic/v20220817/examples.json +10 -4
  68. tccli/services/lighthouse/v20200324/api.json +1 -1
  69. tccli/services/oceanus/v20190422/api.json +122 -36
  70. tccli/services/trtc/v20190722/api.json +3 -3
  71. tccli/services/tsf/v20180326/api.json +26 -8
  72. tccli/services/vod/v20180717/api.json +57 -11
  73. tccli/services/vpc/v20170312/api.json +155 -18
  74. tccli/services/vpc/v20170312/examples.json +19 -3
  75. tccli/services/vpc/vpc_client.py +195 -89
  76. tccli/services/waf/v20180125/api.json +2671 -582
  77. tccli/services/waf/v20180125/examples.json +202 -0
  78. tccli/services/waf/waf_client.py +1365 -305
  79. tccli/services/wedata/v20210820/api.json +40 -30
  80. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/METADATA +2 -2
  81. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/RECORD +84 -56
  82. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/WHEEL +0 -0
  83. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/entry_points.txt +0 -0
  84. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,27 @@
1
1
  {
2
2
  "actions": {
3
+ "AddAntiFakeUrl": [
4
+ {
5
+ "document": "",
6
+ "input": "https://waf.tencentcloudapi.com/?Action=AddAntiFakeUrl\r\n&Domain=www.test.com\r\n&Name=test\r\n&Uri=http://zanyang.qcloudwaf.com/index.html\r\n&<公共请求参数>",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"09f0ad6a-cca6-4652-9be0-723d474c2d84\",\n \"Result\": \"failure\"\n }\n}",
8
+ "title": "添加防篡改url"
9
+ },
10
+ {
11
+ "document": "",
12
+ "input": "https://waf.tencentcloudapi.com/?Action=AddAntiFakeUrl\r\n&Domain=www.test1.com\r\n&Name=test\r\n&Uri=http://www.test1.com/a1.html\r\n&<公共请求参数>",
13
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ce58ce20-e508-4c68-9a55-18233f703e6f\",\n \"Result\": \"success\"\n }\n}",
14
+ "title": "添加成功"
15
+ }
16
+ ],
17
+ "AddAntiInfoLeakRules": [
18
+ {
19
+ "document": "",
20
+ "input": "https://waf.tencentcloudapi.com/?Action=AddAntiInfoLeakRules\n&Domain=www.test1.com\n&Name=test\n&ActionType=1\n&Strategies.0.Field=information\n&Strategies.0.CompareFunc=contains\n&Strategies.0.Content=idcard\n&Uri=http://www.test1.com/123.txt\n&<公共请求参数>",
21
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1a16a333-76ac-42f5-8066-c0ea93cc8dc7\"\n }\n}",
22
+ "title": "添加信息防泄漏规则"
23
+ }
24
+ ],
3
25
  "AddCustomRule": [
4
26
  {
5
27
  "document": "增加访问控制(自定义策略)",
@@ -90,6 +112,22 @@
90
112
  "title": "删除访问日志导出"
91
113
  }
92
114
  ],
115
+ "DeleteAntiFakeUrl": [
116
+ {
117
+ "document": "",
118
+ "input": "https://waf.tencentcloudapi.com/?Action=DeleteAntiFakeUrl\r\n&Domain=www.test.com\r\n&Id=123\r\n&<公共请求参数>",
119
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8c20d0a3-9539-4ef8-aea1-06b5ce29e0c9\"\n }\n}",
120
+ "title": "删除防篡改url"
121
+ }
122
+ ],
123
+ "DeleteAntiInfoLeakRule": [
124
+ {
125
+ "document": "",
126
+ "input": "https://waf.tencentcloudapi.com/?Action=DeleteAntiInfoLeakRule\r\n&Domain=www.test.com\r\n&RuleId=123\r\n&<公共请求参数>",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"36809618-b248-46fc-9513-0ecf86675215\"\n }\n}",
128
+ "title": "信息防泄漏删除规则"
129
+ }
130
+ ],
93
131
  "DeleteAttackDownloadRecord": [
94
132
  {
95
133
  "document": "",
@@ -98,6 +136,14 @@
98
136
  "title": "删除攻击日志下载任务记录"
99
137
  }
100
138
  ],
139
+ "DeleteCCRule": [
140
+ {
141
+ "document": "",
142
+ "input": "https://waf.tencentcloudapi.com/?Action=DeleteCCRule\r\n&Domain=test.com\r\n&Name=test\r\n&Edition=clb-waf\r\n&<公共请求参数>",
143
+ "output": "{\n \"Response\": {\n \"Data\": null,\n \"RequestId\": \"d29f2d93-b894-4c04-b047-ea6470bc0acd\"\n }\n}",
144
+ "title": "Waf CC V2 Delete接口"
145
+ }
146
+ ],
101
147
  "DeleteCustomRule": [
102
148
  {
103
149
  "document": "",
@@ -194,6 +240,44 @@
194
240
  "title": "访问日志索引配置信息"
195
241
  }
196
242
  ],
243
+ "DescribeAntiFakeRules": [
244
+ {
245
+ "document": "",
246
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiFakeRules\n<公共请求参数>\n\n{\n \"Domain\": \"xx\",\n \"Order\": \"xx\",\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"xx\"\n ],\n \"Name\": \"xx\",\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 1,\n \"By\": \"xx\"\n}",
247
+ "output": "{\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"08e8410d-6e80-4d1f-89ff-62669042369d\"\n }\n}",
248
+ "title": "获取防篡改url"
249
+ }
250
+ ],
251
+ "DescribeAntiFakeUrl": [
252
+ {
253
+ "document": "",
254
+ "input": "https://waf.tencentcloudapi.com/?Action=DescribeAntiFakeUrl\r\n&Domain=www.test.com\r\n&PageInfo.PageNumber=0\r\n&PageInfo.PageSize=10\r\n&<公共请求参数>",
255
+ "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"08e8410d-6e80-4d1f-89ff-62669042369d\",\n \"Total\": \"0\"\n }\n}",
256
+ "title": "获取防篡改url"
257
+ },
258
+ {
259
+ "document": "",
260
+ "input": "https://waf.tencentcloudapi.com/?Action=DescribeAntiFakeUrl\r\n&Domain=www.test.com\r\n&PageInfo.PageNumber=0\r\n&PageInfo.PageSize=10\r\n&<公共请求参数>",
261
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Domain\": \"www.test1.com\",\n \"Id\": \"135\",\n \"Name\": \"test\",\n \"Protocol\": \"http\",\n \"Status\": \"1\",\n \"Uri\": \"http://www.test1.com/a1.html\"\n }\n ],\n \"RequestId\": \"0f0d7ca8-2ece-48af-886c-7ef178b5940a\",\n \"Total\": \"1\"\n }\n}",
262
+ "title": "获取配置的防篡改策略--有数据返回场景"
263
+ }
264
+ ],
265
+ "DescribeAntiInfoLeakRules": [
266
+ {
267
+ "document": "获取信息防泄漏规则列表",
268
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiInfoLeakRules\n<公共请求参数>\n\n{\n \"Domain\": \"abc\",\n \"ActionType\": 0,\n \"PageInfo\": {\n \"PageNumber\": \"abc\",\n \"PageSize\": \"abc\"\n }\n}",
269
+ "output": "{\n \"Response\": {\n \"TotalCount\": \"abc\",\n \"RuleList\": [\n {\n \"RuleId\": \"abc\",\n \"Name\": \"abc\",\n \"Status\": \"abc\",\n \"ActionType\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Strategies\": [\n {\n \"Field\": \"abc\",\n \"CompareFunc\": \"abc\",\n \"Content\": \"abc\"\n }\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
270
+ "title": "获取信息防泄漏规则列表"
271
+ }
272
+ ],
273
+ "DescribeAntiInfoLeakageRules": [
274
+ {
275
+ "document": "获取信息防泄漏规则列表",
276
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiInfoLeakageRules\n<公共请求参数>\n\n{\n \"Domain\": \"xx\"\n}",
277
+ "output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"xx\",\n \"RuleList\": [\n {\n \"Status\": 1,\n \"Name\": \"xx\",\n \"RuleId\": 1,\n \"Uri\": \"xx\",\n \"Action\": \"xx\",\n \"Strategies\": [\n {\n \"Content\": \"xx\",\n \"Field\": \"xx\",\n \"CompareFunc\": \"xx\"\n }\n ],\n \"CreateTime\": \"xx\"\n }\n ]\n }\n}",
278
+ "title": "获取信息防泄漏规则列表"
279
+ }
280
+ ],
197
281
  "DescribeAttackOverview": [
198
282
  {
199
283
  "document": "获取指定时间段内请求总数,这个接口不需要客户购买日志服务",
@@ -210,6 +294,42 @@
210
294
  "title": "描述WAF自动封禁IP 详情"
211
295
  }
212
296
  ],
297
+ "DescribeBatchIpAccessControl": [
298
+ {
299
+ "document": "",
300
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBatchIpAccessControl\n<公共请求参数>\n\n{\n \"Sort\": \"ts_version:-1\",\n \"Limit\": 20,\n \"Filters\": [\n {\n \"Values\": [\n \"Domain\"\n ],\n \"Name\": \"www.q.com\",\n \"ExactMatch\": true\n }\n ],\n \"OffSet\": 0\n}",
301
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"ActionType\": 42,\n \"Ip\": \"1.1.1.1\",\n \"Note\": \"\",\n \"Source\": \"custom\",\n \"TsVersion\": 1579074751421,\n \"ValidTs\": 1579017599,\n \"Hosts\": [\n \"www.q.com\",\n \"www.b.com\"\n ]\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"c937ce96-cf53-4df8-b288-07c6e092072d\"\n }\n}",
302
+ "title": "Waf 多域名ip黑白名单查询"
303
+ }
304
+ ],
305
+ "DescribeCCRule": [
306
+ {
307
+ "document": "",
308
+ "input": "https://waf.tencentcloudapi.com/?Action=DescribeCCRule\n&Domain=www.test.com\n&Limit=10\n&Offset=0\n&Edition=clb-waf\n&Sort=priority:1;ts_version:-1\n&<公共请求参数>",
309
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [],\n \"TotalCount\": 0\n },\n \"RequestId\": \"b22fc98c-6c4f-4716-b043-f11ccbffde70\"\n }\n}",
310
+ "title": "Waf CC V2 Query接口 无数据返回场景"
311
+ },
312
+ {
313
+ "document": "",
314
+ "input": "https://waf.tencentcloudapi.com/?Action=DescribeCCRule\n&Domain=test.com\n&Limit=10\n&Offset=0\n&Edition=clb-waf\n&Sort=priority:1;ts_version:-1\n&<公共请求参数>",
315
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"ActionType\": 22,\n \"Advance\": 0,\n \"Interval\": 60,\n \"Limit\": 60,\n \"MatchFunc\": 0,\n \"Name\": \"test1\",\n \"OptionsArr\": \"[{\\\"key\\\":\\\"get\\\",\\\"args\\\":[\\\"=\\\"]}]\",\n \"Priority\": 50,\n \"Status\": 1,\n \"TsVersion\": 1579058116920,\n \"Url\": \"///\",\n \"ValidTime\": 600\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
316
+ "title": "Waf CC V2 Query接口 有数据返回场景"
317
+ }
318
+ ],
319
+ "DescribeCCRuleList": [
320
+ {
321
+ "document": "",
322
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCRuleList\n<公共请求参数>\n\n{}",
323
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
324
+ "title": "根据URL查询API规则"
325
+ },
326
+ {
327
+ "document": "",
328
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCRuleList\n<公共请求参数>\n\n{}",
329
+ "output": "{\n \"Response\": {\n \"RequestId\": \"41b55f8b-1ed1-484c-aab7-c14c0889f78b\"\n }\n}",
330
+ "title": "test1"
331
+ }
332
+ ],
213
333
  "DescribeCiphersDetail": [
214
334
  {
215
335
  "document": "",
@@ -376,6 +496,20 @@
376
496
  "title": "DescribeRuleLimit"
377
497
  }
378
498
  ],
499
+ "DescribeSession": [
500
+ {
501
+ "document": "",
502
+ "input": "https://waf.tencentcloudapi.com/?Action=DescribeSession\r\n&Domain=test.com\r\n&Edition=clb-waf\r\n&<公共请求参数>",
503
+ "output": "{\r\n \"Res\":[\r\n {\r\n \"Category\":\"match\",\r\n \"EndMat\":\"&\",\r\n \"EndOffset\":\"-1\",\r\n \"KeyOrStartMat\":\"hashId\",\r\n \"Source\":\"get\",\r\n \"StartOffset\":\"-1\",\r\n \"TsVersion\":\"1578366436093\"\r\n }\r\n ]\r\n}",
504
+ "title": "Waf 会话定义查询接口"
505
+ },
506
+ {
507
+ "document": "",
508
+ "input": "https://waf.tencentcloudapi.com/?Action=DescribeSession\r\n&Domain=test.com\r\n&Edition=clb-waf\r\n&<公共请求参数>",
509
+ "output": "{\n \"Response\": {\n \"Data\": null,\n \"RequestId\": \"e08991ed-f8f8-4a6e-b8be-74f1a34eab5f\"\n }\n}",
510
+ "title": "没有设置Seesion的场景"
511
+ }
512
+ ],
379
513
  "DescribeTlsVersion": [
380
514
  {
381
515
  "document": "",
@@ -486,6 +620,38 @@
486
620
  "title": "删除访问日志导出"
487
621
  }
488
622
  ],
623
+ "ModifyAntiFakeUrl": [
624
+ {
625
+ "document": "",
626
+ "input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiFakeUrl\r\n&Domain=www.test.com\r\n&Name=test\r\n&Uri=http://zanyang.qcloudwaf.com/index.html\r\n&Id=123\r\n&<公共请求参数>",
627
+ "output": "{\n \"Response\": {\n \"RequestId\": \"32e5e790-5999-4aa6-a3cb-34ed4c570d14\",\n \"Result\": \"success\"\n }\n}",
628
+ "title": "编辑防篡改url"
629
+ }
630
+ ],
631
+ "ModifyAntiFakeUrlStatus": [
632
+ {
633
+ "document": "",
634
+ "input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiFakeUrlStatus\r\n&Domain=test.com\r\n&Status=0\r\n&Ids.0=123\r\n&Ids.1=345\r\n&<公共请求参数>",
635
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c68bdee7-2c14-4bd3-ba41-cdf1421c0d0c\"\n }\n}",
636
+ "title": "切换防篡改开关"
637
+ }
638
+ ],
639
+ "ModifyAntiInfoLeakRuleStatus": [
640
+ {
641
+ "document": "",
642
+ "input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiInfoLeakRuleStatus\r\n&Domain=www.test.com\r\n&RuleId=123\r\n&Status=1\r\n&<公共请求参数>",
643
+ "output": "{\n \"Response\": {\n \"RequestId\": \"800f0a0c-6f8b-409a-af67-ccd12354e8f4\"\n }\n}",
644
+ "title": "信息防泄漏切换规则开关"
645
+ }
646
+ ],
647
+ "ModifyAntiInfoLeakRules": [
648
+ {
649
+ "document": "编辑信息防泄漏规则",
650
+ "input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiInfoLeakRules\r\n&RuleId=167\r\n&Name=test1\r\n&Domain=www.test1.com\r\n&ActionType=0\r\n&Strategies.0.Field=information\r\n&Strategies.0.CompareFunc=contains\r\n&Strategies.0.Content=phone\r\n&<公共请求参数>",
651
+ "output": "{\n \"Response\": {\n \"RequestId\": \"640e40da-d57a-4402-8e3d-39c5bed8addd\"\n }\n}",
652
+ "title": "编辑信息防泄漏规则"
653
+ }
654
+ ],
489
655
  "ModifyApiAnalyzeStatus": [
490
656
  {
491
657
  "document": "api分析页面开关",
@@ -558,6 +724,14 @@
558
724
  "title": "编辑精准白名单规则"
559
725
  }
560
726
  ],
727
+ "ModifyCustomWhiteRuleStatus": [
728
+ {
729
+ "document": "",
730
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomWhiteRuleStatus\n<公共请求参数>\n\n{\n \"RuleId\": 1100000001,\n \"Domain\": \"waf.tencentcloudapi.com\",\n \"Status\": 1\n}",
731
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\",\n \"Success\": {\n \"Message\": \"Success\",\n \"Code\": \"Success\"\n }\n }\n}",
732
+ "title": "切换精准白名单规则的开关"
733
+ }
734
+ ],
561
735
  "ModifyDomainIpv6Status": [
562
736
  {
563
737
  "document": "",
@@ -726,6 +900,26 @@
726
900
  "title": "切换域名的规则开关"
727
901
  }
728
902
  ],
903
+ "UpsertCCRule": [
904
+ {
905
+ "document": "",
906
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertCCRule\n<公共请求参数>\n\n{\n \"Status\": \"0\",\n \"Advance\": \"0\",\n \"Domain\": \"test.com\",\n \"Name\": \"test2\",\n \"Url\": \"/test\",\n \"Priority\": \"50\",\n \"Interval\": \"60\",\n \"MatchFunc\": \"0\",\n \"ValidTime\": \"600\\n\",\n \"Limit\": \"60\",\n \"ActionType\": \"22\",\n \"OptionsArr\": \"[{\\\"key\\\":\\\"get\\\",\\\"args\\\":[\\\"a=12\\\"]}]\"\n}",
907
+ "output": "{\n \"Response\": {\n \"Data\": null,\n \"RequestId\": \"5029e2b0-493c-4dcc-9e4e-d53ab98ede99\"\n }\n}",
908
+ "title": "Waf CC V2 Upsert接口"
909
+ },
910
+ {
911
+ "document": "",
912
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertCCRule\n<公共请求参数>\n\n{\n \"Status\": \"0\",\n \"MatchFunc\": \"0\",\n \"Domain\": \"hzh.qcloud.com\",\n \"Name\": \"ddp\",\n \"Advance\": \"0\",\n \"ValidTime\": \"61\",\n \"Interval\": \"10\",\n \"Priority\": \"1\",\n \"Url\": \"/test\",\n \"Limit\": \"10\",\n \"ActionType\": \"20\"\n}",
913
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2ca5c6bb-05b7-4183-bbf2-3c7059544317\",\n \"Data\": \"\"\n }\n}",
914
+ "title": "test"
915
+ },
916
+ {
917
+ "document": "",
918
+ "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertCCRule\n<公共请求参数>\n\n{\n \"Status\": \"0\",\n \"MatchFunc\": \"0\",\n \"Domain\": \"hzh.qcloud.com\",\n \"Name\": \"ddp\",\n \"Advance\": \"0\",\n \"ValidTime\": \"61\",\n \"Interval\": \"10\",\n \"Priority\": \"1\",\n \"Url\": \"/test\",\n \"Limit\": \"10\",\n \"ActionType\": \"20\"\n}",
919
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2ca5c6bb-05b7-4183-bbf2-3c7059544317\",\n \"Data\": \"\"\n }\n}",
920
+ "title": "test1"
921
+ }
922
+ ],
729
923
  "UpsertIpAccessControl": [
730
924
  {
731
925
  "document": "IP黑白名单Upsert接口",
@@ -733,6 +927,14 @@
733
927
  "output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"FailedItems\": \"\",\n \"RequestId\": \"fea2e723-002b-40e6-8297-7c54455cb7d6\"\n }\n}",
734
928
  "title": "UpsertIpAccessControl"
735
929
  }
930
+ ],
931
+ "UpsertSession": [
932
+ {
933
+ "document": "",
934
+ "input": "https://waf.tencentcloudapi.com/?Action=UpsertSession\n&Domain=test.com\n&Category=match\n&KeyOrStartMat=hashId\n&EndMat=12\n&Source=get\n&StartOffset=-1\n&EndOffset=-1\n&Edition=clb-waf\n&<公共请求参数>",
935
+ "output": "{\r\n \"Data\":null\r\n}",
936
+ "title": "Waf 会话定义 Upsert接口"
937
+ }
736
938
  ]
737
939
  },
738
940
  "version": "1.0"