tccli 3.0.1288.1__py2.py3-none-any.whl → 3.0.1290.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.
- tccli/__init__.py +1 -1
- tccli/plugins/sso/__init__.py +11 -1
- tccli/plugins/sso/login.py +3 -3
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/asr/v20190614/examples.json +4 -4
- tccli/services/bi/v20220105/api.json +43 -0
- tccli/services/billing/v20180709/api.json +326 -266
- tccli/services/billing/v20180709/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +64 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdwpg/v20201230/api.json +5 -5
- tccli/services/cdwpg/v20201230/examples.json +6 -6
- tccli/services/cdz/v20221123/api.json +4 -4
- tccli/services/cfg/v20210820/api.json +197 -197
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +21 -16
- tccli/services/cls/v20201016/api.json +230 -198
- tccli/services/cls/v20201016/examples.json +2 -2
- tccli/services/cwp/v20180228/api.json +39 -9
- tccli/services/cynosdb/v20190107/api.json +2 -2
- tccli/services/dbbrain/dbbrain_client.py +383 -12
- tccli/services/dbbrain/v20191016/api.json +24 -21
- tccli/services/dbbrain/v20210527/api.json +851 -68
- tccli/services/dbbrain/v20210527/examples.json +56 -0
- tccli/services/domain/v20180808/api.json +11 -11
- tccli/services/dts/v20180330/api.json +34 -34
- tccli/services/dts/v20180330/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +225 -223
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +30 -3
- tccli/services/essbasic/v20210526/api.json +29 -2
- tccli/services/fmu/v20191213/api.json +2 -2
- tccli/services/goosefs/v20220519/api.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/iotcloud/v20210408/api.json +66 -66
- tccli/services/iotcloud/v20210408/examples.json +13 -13
- tccli/services/iotexplorer/iotexplorer_client.py +159 -0
- tccli/services/iotexplorer/v20190423/api.json +561 -0
- tccli/services/iotexplorer/v20190423/examples.json +24 -0
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20211125/api.json +105 -0
- tccli/services/iotvideo/v20211125/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +53 -53
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/lke/v20231130/api.json +12 -2
- tccli/services/lkeap/v20240522/api.json +2 -2
- tccli/services/lowcode/v20210108/api.json +2 -2
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +144 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mps/mps_client.py +501 -24
- tccli/services/mps/v20190612/api.json +2118 -247
- tccli/services/mps/v20190612/examples.json +72 -0
- tccli/services/mqtt/v20240516/api.json +4 -4
- tccli/services/mqtt/v20240516/examples.json +5 -11
- tccli/services/organization/v20210331/api.json +113 -113
- tccli/services/redis/redis_client.py +53 -0
- tccli/services/redis/v20180412/api.json +34 -0
- tccli/services/redis/v20180412/examples.json +8 -0
- tccli/services/svp/v20240125/api.json +1 -1
- tccli/services/tcb/tcb_client.py +53 -0
- tccli/services/tcb/v20180608/api.json +224 -157
- tccli/services/tcb/v20180608/examples.json +8 -0
- tccli/services/tcbr/v20220217/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +379 -285
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +541 -5
- tccli/services/teo/v20220901/examples.json +21 -3
- tccli/services/tione/v20211111/api.json +64 -6
- tccli/services/vdb/v20230616/api.json +31 -2
- tccli/services/vdb/v20230616/examples.json +8 -2
- tccli/services/vrs/v20200824/api.json +14 -2
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +102 -0
- tccli/services/weilingwith/v20230427/api.json +997 -997
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/RECORD +81 -81
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/license_files/LICENSE +0 -0
@@ -812,7 +812,7 @@
|
|
812
812
|
{
|
813
813
|
"document": "",
|
814
814
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopUsages\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-abc\",\n \"MetricName\": \"consumeLag\",\n \"Limit\": 1\n}",
|
815
|
-
"output": "{\n \"Response\": {\n \"Dimensions\": [\n {\n \"Dimensions\": [\n {},\n {},\n {}\n ]\n },\n {\n \"Dimensions\": [\n {},\n {},\n {}\n ]\n }\n ],\n \"RequestId\": \"f0288e86-ee7d-4a73-a788-81ca6680b06c\",\n \"Values\": [\n 309,\n 0\n ]\n }\n}",
|
815
|
+
"output": "{\n \"Response\": {\n \"Dimensions\": [\n {\n \"Dimensions\": [\n {\n \"Name\": \"tenant\",\n \"Value\": \"rocketmq-vvqb9emabapx\"\n },\n {\n \"Name\": \"namespace\",\n \"Value\": \"test_ns\"\n },\n {\n \"Name\": \"topic\",\n \"Value\": \"test_topic\"\n }\n ]\n },\n {\n \"Dimensions\": [\n {\n \"Name\": \"tenant\",\n \"Value\": \"rocketmq-vvqb9emabapx\"\n },\n {\n \"Name\": \"namespace\",\n \"Value\": \"test_ns\"\n },\n {\n \"Name\": \"topic\",\n \"Value\": \"test_topic2\"\n }\n ]\n }\n ],\n \"RequestId\": \"f0288e86-ee7d-4a73-a788-81ca6680b06c\",\n \"Values\": [\n 309,\n 0\n ]\n }\n}",
|
816
816
|
"title": "获取 Group 堆积数量排序"
|
817
817
|
}
|
818
818
|
],
|
@@ -2625,6 +2625,23 @@
|
|
2625
2625
|
],
|
2626
2626
|
"type": "object"
|
2627
2627
|
},
|
2628
|
+
"BlockIPActionParameters": {
|
2629
|
+
"document": "Web安全IP封禁的附加参数",
|
2630
|
+
"members": [
|
2631
|
+
{
|
2632
|
+
"disabled": false,
|
2633
|
+
"document": "封禁 IP 的惩罚时长。支持的单位有:<li>s:秒,取值范围1~120;</li><li>m:分,取值范围1~120;</li><li>h:小时,取值范围1~48。</li>",
|
2634
|
+
"example": "80s",
|
2635
|
+
"member": "string",
|
2636
|
+
"name": "Duration",
|
2637
|
+
"output_required": true,
|
2638
|
+
"required": true,
|
2639
|
+
"type": "string",
|
2640
|
+
"value_allowed_null": false
|
2641
|
+
}
|
2642
|
+
],
|
2643
|
+
"usage": "both"
|
2644
|
+
},
|
2628
2645
|
"BotConfig": {
|
2629
2646
|
"document": "安全Bot配置",
|
2630
2647
|
"members": [
|
@@ -6292,6 +6309,106 @@
|
|
6292
6309
|
],
|
6293
6310
|
"usage": "both"
|
6294
6311
|
},
|
6312
|
+
"CustomRule": {
|
6313
|
+
"document": "Web安全的自定义规则",
|
6314
|
+
"members": [
|
6315
|
+
{
|
6316
|
+
"disabled": false,
|
6317
|
+
"document": "自定义规则的名称。",
|
6318
|
+
"example": "SampleBasicACLRule",
|
6319
|
+
"member": "string",
|
6320
|
+
"name": "Name",
|
6321
|
+
"output_required": true,
|
6322
|
+
"required": true,
|
6323
|
+
"type": "string",
|
6324
|
+
"value_allowed_null": false
|
6325
|
+
},
|
6326
|
+
{
|
6327
|
+
"disabled": false,
|
6328
|
+
"document": "自定义规则的具体内容,需符合表达式语法,详细规范参见产品文档。",
|
6329
|
+
"example": "${http.request.ip} in ['1.1.1.1', '10.10.10.0/24', ${security.ip_group['123'@'zone-2xsnpvkhdjes']} ]",
|
6330
|
+
"member": "string",
|
6331
|
+
"name": "Condition",
|
6332
|
+
"output_required": true,
|
6333
|
+
"required": true,
|
6334
|
+
"type": "string",
|
6335
|
+
"value_allowed_null": false
|
6336
|
+
},
|
6337
|
+
{
|
6338
|
+
"disabled": false,
|
6339
|
+
"document": "自定义规则的执行动作。\tSecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>ReturnCustomPage:使用指定页面拦截;</li><li>Redirect:重定向至 URL;</li><li>BlockIP:IP 封禁;</li><li>JSChallenge:JavaScript 挑战;</li><li>ManagedChallenge:托管挑战;</li><li>Allow:放行。</li>",
|
6340
|
+
"example": "参考SecurityAction结构",
|
6341
|
+
"member": "SecurityAction",
|
6342
|
+
"name": "Action",
|
6343
|
+
"output_required": true,
|
6344
|
+
"required": true,
|
6345
|
+
"type": "object",
|
6346
|
+
"value_allowed_null": false
|
6347
|
+
},
|
6348
|
+
{
|
6349
|
+
"disabled": false,
|
6350
|
+
"document": "自定义规则是否开启。取值有:<li>on:开启</li><li>off:关闭</li>",
|
6351
|
+
"example": "on",
|
6352
|
+
"member": "string",
|
6353
|
+
"name": "Enabled",
|
6354
|
+
"output_required": true,
|
6355
|
+
"required": true,
|
6356
|
+
"type": "string",
|
6357
|
+
"value_allowed_null": false
|
6358
|
+
},
|
6359
|
+
{
|
6360
|
+
"disabled": false,
|
6361
|
+
"document": "自定义规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> - 增加新规则:ID 为空或不指定 ID 参数;<br> - 修改已有规则:指定需要更新/修改的规则 ID;<br> - 删除已有规则:CustomRules 参数中,Rules 列表中未包含的已有规则将被删除。",
|
6362
|
+
"example": "1492837231",
|
6363
|
+
"member": "string",
|
6364
|
+
"name": "Id",
|
6365
|
+
"output_required": true,
|
6366
|
+
"required": false,
|
6367
|
+
"type": "string",
|
6368
|
+
"value_allowed_null": false
|
6369
|
+
},
|
6370
|
+
{
|
6371
|
+
"disabled": false,
|
6372
|
+
"document": "自定义规则的类型。取值有:<li>BasicAccessRule:基础访问管控;</li><li>PreciseMatchRule:精准匹配规则,默认;</li><li>ManagedAccessRule:专家定制规则,仅出参。</li><br/>默认为PreciseMatchRule。",
|
6373
|
+
"example": "PreciseMatchRule",
|
6374
|
+
"member": "string",
|
6375
|
+
"name": "RuleType",
|
6376
|
+
"output_required": true,
|
6377
|
+
"required": false,
|
6378
|
+
"type": "string",
|
6379
|
+
"value_allowed_null": false
|
6380
|
+
},
|
6381
|
+
{
|
6382
|
+
"disabled": false,
|
6383
|
+
"document": "自定义规则的优先级,范围是 0 ~ 100,默认为 0,仅支持精准匹配规则(PreciseMatchRule)。",
|
6384
|
+
"example": "10",
|
6385
|
+
"member": "int64",
|
6386
|
+
"name": "Priority",
|
6387
|
+
"output_required": true,
|
6388
|
+
"required": false,
|
6389
|
+
"type": "int",
|
6390
|
+
"value_allowed_null": false
|
6391
|
+
}
|
6392
|
+
],
|
6393
|
+
"usage": "both"
|
6394
|
+
},
|
6395
|
+
"CustomRules": {
|
6396
|
+
"document": "Web安全的自定义规则结构",
|
6397
|
+
"members": [
|
6398
|
+
{
|
6399
|
+
"disabled": false,
|
6400
|
+
"document": "自定义规则的定义列表。<br>使用 ModifySecurityPolicy 修改 Web 防护配置时: <br> - 若未指定 Rules 参数,或 Rules 参数长度为零:清空所有自定义规则配置。<br> - 若 SecurityPolicy 参数中,未指定 CustomRules 参数值:保持已有自定义规则配置,不做修改。",
|
6401
|
+
"example": "参考 CustomRule 结构",
|
6402
|
+
"member": "CustomRule",
|
6403
|
+
"name": "Rules",
|
6404
|
+
"output_required": false,
|
6405
|
+
"required": false,
|
6406
|
+
"type": "list",
|
6407
|
+
"value_allowed_null": false
|
6408
|
+
}
|
6409
|
+
],
|
6410
|
+
"usage": "both"
|
6411
|
+
},
|
6295
6412
|
"CustomTime": {
|
6296
6413
|
"document": "节点缓存 TTL 自定义缓存时间参数配置。",
|
6297
6414
|
"members": [
|
@@ -14693,6 +14810,284 @@
|
|
14693
14810
|
],
|
14694
14811
|
"usage": "both"
|
14695
14812
|
},
|
14813
|
+
"ManagedRuleAction": {
|
14814
|
+
"document": "托管规则的项配置",
|
14815
|
+
"members": [
|
14816
|
+
{
|
14817
|
+
"disabled": false,
|
14818
|
+
"document": "托管规则组下的具体项,用于改写此单条规则项配置的内容,具体参考产品文档。\t",
|
14819
|
+
"example": "4312344811",
|
14820
|
+
"member": "string",
|
14821
|
+
"name": "RuleId",
|
14822
|
+
"output_required": true,
|
14823
|
+
"required": true,
|
14824
|
+
"type": "string",
|
14825
|
+
"value_allowed_null": false
|
14826
|
+
},
|
14827
|
+
{
|
14828
|
+
"disabled": false,
|
14829
|
+
"document": "RuleId 中指定托管规则项的处置动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>Disabled:未启用,不扫描请求跳过该规则。</li>",
|
14830
|
+
"example": "参考 SecurityAction 结构",
|
14831
|
+
"member": "SecurityAction",
|
14832
|
+
"name": "Action",
|
14833
|
+
"output_required": true,
|
14834
|
+
"required": true,
|
14835
|
+
"type": "object",
|
14836
|
+
"value_allowed_null": false
|
14837
|
+
}
|
14838
|
+
],
|
14839
|
+
"usage": "both"
|
14840
|
+
},
|
14841
|
+
"ManagedRuleAutoUpdate": {
|
14842
|
+
"document": "托管规则自动更新选项",
|
14843
|
+
"members": [
|
14844
|
+
{
|
14845
|
+
"disabled": false,
|
14846
|
+
"document": "是否开启自动更新至最新版本。取值有:<li>on:开启</li><li>off:关闭</li>",
|
14847
|
+
"example": "on",
|
14848
|
+
"member": "string",
|
14849
|
+
"name": "AutoUpdateToLatestVersion",
|
14850
|
+
"output_required": true,
|
14851
|
+
"required": true,
|
14852
|
+
"type": "string",
|
14853
|
+
"value_allowed_null": false
|
14854
|
+
},
|
14855
|
+
{
|
14856
|
+
"disabled": false,
|
14857
|
+
"document": "当前使用的版本,格式符合ISO 8601标准,如2023-12-21T12:00:32Z,默认为空,仅出参。",
|
14858
|
+
"example": "2023-12-21T12:00:32Z",
|
14859
|
+
"member": "string",
|
14860
|
+
"name": "RulesetVersion",
|
14861
|
+
"output_required": false,
|
14862
|
+
"required": false,
|
14863
|
+
"type": "string",
|
14864
|
+
"value_allowed_null": false
|
14865
|
+
}
|
14866
|
+
],
|
14867
|
+
"usage": "both"
|
14868
|
+
},
|
14869
|
+
"ManagedRuleDetail": {
|
14870
|
+
"document": "托管规则详情",
|
14871
|
+
"members": [
|
14872
|
+
{
|
14873
|
+
"disabled": false,
|
14874
|
+
"document": "托管规则Id。",
|
14875
|
+
"example": "4401213776",
|
14876
|
+
"member": "string",
|
14877
|
+
"name": "RuleId",
|
14878
|
+
"output_required": true,
|
14879
|
+
"required": false,
|
14880
|
+
"type": "string",
|
14881
|
+
"value_allowed_null": false
|
14882
|
+
},
|
14883
|
+
{
|
14884
|
+
"disabled": false,
|
14885
|
+
"document": "托管规则的防护级别。取值有:<li>low:低风险,此规则风险较低,适用于非常严格控制环境下的访问场景,该等级规则可能造成较多的误报;</li><li>medium:中风险,表示此条规则风险正常,适用较为严格的防护场景;</li><li>high:高风险,表示此条规则风险较高,大多数场景不会产生误报;</li><li>extreme:超高风险,表示此条规则风险极高,基本不会产生误报;</li>",
|
14886
|
+
"example": "extreme",
|
14887
|
+
"member": "string",
|
14888
|
+
"name": "RiskLevel",
|
14889
|
+
"output_required": true,
|
14890
|
+
"required": false,
|
14891
|
+
"type": "string",
|
14892
|
+
"value_allowed_null": false
|
14893
|
+
},
|
14894
|
+
{
|
14895
|
+
"disabled": false,
|
14896
|
+
"document": "规则描述。",
|
14897
|
+
"example": "针对嵌入式数据库中,使用 create_alias 进行代码执行的操作",
|
14898
|
+
"member": "string",
|
14899
|
+
"name": "Description",
|
14900
|
+
"output_required": true,
|
14901
|
+
"required": false,
|
14902
|
+
"type": "string",
|
14903
|
+
"value_allowed_null": false
|
14904
|
+
},
|
14905
|
+
{
|
14906
|
+
"disabled": false,
|
14907
|
+
"document": "规则标签。部分类型的规则不存在标签。",
|
14908
|
+
"example": "[\"OWASP\"]",
|
14909
|
+
"member": "string",
|
14910
|
+
"name": "Tags",
|
14911
|
+
"output_required": true,
|
14912
|
+
"required": false,
|
14913
|
+
"type": "list",
|
14914
|
+
"value_allowed_null": false
|
14915
|
+
},
|
14916
|
+
{
|
14917
|
+
"disabled": false,
|
14918
|
+
"document": "规则所属版本。",
|
14919
|
+
"example": "2023-12-21T12:00:32Z",
|
14920
|
+
"member": "string",
|
14921
|
+
"name": "RuleVersion",
|
14922
|
+
"output_required": true,
|
14923
|
+
"required": false,
|
14924
|
+
"type": "string",
|
14925
|
+
"value_allowed_null": false
|
14926
|
+
}
|
14927
|
+
],
|
14928
|
+
"usage": "both"
|
14929
|
+
},
|
14930
|
+
"ManagedRuleGroup": {
|
14931
|
+
"document": "托管规则组配置。",
|
14932
|
+
"members": [
|
14933
|
+
{
|
14934
|
+
"disabled": false,
|
14935
|
+
"document": "托管规则的组名称,未指定配置的规则分组将按照默认配置处理,GroupId 的具体取值参考产品文档。",
|
14936
|
+
"example": "wafmanagedrulegroup-file-upload-attacks",
|
14937
|
+
"member": "string",
|
14938
|
+
"name": "GroupId",
|
14939
|
+
"output_required": true,
|
14940
|
+
"required": true,
|
14941
|
+
"type": "string",
|
14942
|
+
"value_allowed_null": false
|
14943
|
+
},
|
14944
|
+
{
|
14945
|
+
"disabled": false,
|
14946
|
+
"document": "托管规则组的防护级别。取值有:<li>loose:宽松,只包含超高风险规则,此时需配置Action,且RuleActions配置无效;</li><li>normal:正常,包含超高风险和高风险规则,此时需配置Action,且RuleActions配置无效;</li><li>strict:严格,包含超高风险、高风险和中风险规则,此时需配置Action,且RuleActions配置无效;</li><li>extreme:超严格,包含超高风险、高风险、中风险和低风险规则,此时需配置Action,且RuleActions配置无效;</li><li>custom:自定义,精细化策略,按单条规则配置处置方式,此时Action字段无效,使用RuleActions配置单条规则的精细化策略。</li>\t",
|
14947
|
+
"example": "loose",
|
14948
|
+
"member": "string",
|
14949
|
+
"name": "SensitivityLevel",
|
14950
|
+
"output_required": true,
|
14951
|
+
"required": true,
|
14952
|
+
"type": "string",
|
14953
|
+
"value_allowed_null": false
|
14954
|
+
},
|
14955
|
+
{
|
14956
|
+
"disabled": false,
|
14957
|
+
"document": "托管规则组的处置动作。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>Disabled:未启用,不扫描请求跳过该规则。</li>",
|
14958
|
+
"example": "参考 SecurityAction 结构。",
|
14959
|
+
"member": "SecurityAction",
|
14960
|
+
"name": "Action",
|
14961
|
+
"output_required": true,
|
14962
|
+
"required": true,
|
14963
|
+
"type": "object",
|
14964
|
+
"value_allowed_null": false
|
14965
|
+
},
|
14966
|
+
{
|
14967
|
+
"disabled": false,
|
14968
|
+
"document": "托管规则组下规则项的具体配置,仅在 SensitivityLevel 为 custom 时配置生效。",
|
14969
|
+
"example": "参考 ManagedRuleAction 结构。",
|
14970
|
+
"member": "ManagedRuleAction",
|
14971
|
+
"name": "RuleActions",
|
14972
|
+
"output_required": false,
|
14973
|
+
"required": false,
|
14974
|
+
"type": "list",
|
14975
|
+
"value_allowed_null": false
|
14976
|
+
},
|
14977
|
+
{
|
14978
|
+
"disabled": false,
|
14979
|
+
"document": "托管规则组信息,仅出参。\t",
|
14980
|
+
"example": "参考 ManagedRuleGroupMeta 结构。",
|
14981
|
+
"member": "ManagedRuleGroupMeta",
|
14982
|
+
"name": "MetaData",
|
14983
|
+
"output_required": true,
|
14984
|
+
"required": false,
|
14985
|
+
"type": "object",
|
14986
|
+
"value_allowed_null": false
|
14987
|
+
}
|
14988
|
+
],
|
14989
|
+
"usage": "both"
|
14990
|
+
},
|
14991
|
+
"ManagedRuleGroupMeta": {
|
14992
|
+
"document": "托管规则组信息",
|
14993
|
+
"members": [
|
14994
|
+
{
|
14995
|
+
"disabled": false,
|
14996
|
+
"document": "托管规则组描述,仅出参。",
|
14997
|
+
"example": "SQL 注入攻击防护",
|
14998
|
+
"member": "string",
|
14999
|
+
"name": "GroupDetail",
|
15000
|
+
"output_required": true,
|
15001
|
+
"required": false,
|
15002
|
+
"type": "string",
|
15003
|
+
"value_allowed_null": false
|
15004
|
+
},
|
15005
|
+
{
|
15006
|
+
"disabled": false,
|
15007
|
+
"document": "托管规则组名称,仅出参。",
|
15008
|
+
"example": "SQL 注入攻击防护",
|
15009
|
+
"member": "string",
|
15010
|
+
"name": "GroupName",
|
15011
|
+
"output_required": true,
|
15012
|
+
"required": false,
|
15013
|
+
"type": "string",
|
15014
|
+
"value_allowed_null": false
|
15015
|
+
},
|
15016
|
+
{
|
15017
|
+
"disabled": false,
|
15018
|
+
"document": "当前托管规则组下的所有子规则信息,仅出参。",
|
15019
|
+
"example": "参考 ManagedRulesMeta 结构。",
|
15020
|
+
"member": "ManagedRuleDetail",
|
15021
|
+
"name": "RuleDetails",
|
15022
|
+
"output_required": true,
|
15023
|
+
"required": false,
|
15024
|
+
"type": "list",
|
15025
|
+
"value_allowed_null": false
|
15026
|
+
}
|
15027
|
+
],
|
15028
|
+
"usage": "both"
|
15029
|
+
},
|
15030
|
+
"ManagedRules": {
|
15031
|
+
"document": "Web安全的托管规则",
|
15032
|
+
"members": [
|
15033
|
+
{
|
15034
|
+
"disabled": false,
|
15035
|
+
"document": "托管规则是否开启。取值有:<li>on:开启,所有托管规则按配置生效;</li><li>off:关闭,所有托管规则不生效。</li>",
|
15036
|
+
"example": "on",
|
15037
|
+
"member": "string",
|
15038
|
+
"name": "Enabled",
|
15039
|
+
"output_required": true,
|
15040
|
+
"required": true,
|
15041
|
+
"type": "string",
|
15042
|
+
"value_allowed_null": false
|
15043
|
+
},
|
15044
|
+
{
|
15045
|
+
"disabled": false,
|
15046
|
+
"document": "评估模式是否开启,仅在 Enabled 参数为 on 时有效。取值有:<li>on:开启,表示所有托管规则以观察模式生效;</li><li>off:关闭,表示所有托管规则以实际配置生效。</li>",
|
15047
|
+
"example": "on",
|
15048
|
+
"member": "string",
|
15049
|
+
"name": "DetectionOnly",
|
15050
|
+
"output_required": true,
|
15051
|
+
"required": true,
|
15052
|
+
"type": "string",
|
15053
|
+
"value_allowed_null": false
|
15054
|
+
},
|
15055
|
+
{
|
15056
|
+
"disabled": false,
|
15057
|
+
"document": "托管规则语义分析选项是否开启,仅在 Enabled 参数为 on 时有效。取值有:<li>on:开启,对请求进行语义分析后进行处理;</li><li>off:关闭,对请求不进行语义分析,直接进行处理。</li> <br/>默认为 off。",
|
15058
|
+
"example": "on",
|
15059
|
+
"member": "string",
|
15060
|
+
"name": "SemanticAnalysis",
|
15061
|
+
"output_required": true,
|
15062
|
+
"required": false,
|
15063
|
+
"type": "string",
|
15064
|
+
"value_allowed_null": false
|
15065
|
+
},
|
15066
|
+
{
|
15067
|
+
"disabled": false,
|
15068
|
+
"document": "托管规则自动更新选项。",
|
15069
|
+
"example": "参考 ManagedRulesAutoUpdate 结构",
|
15070
|
+
"member": "ManagedRuleAutoUpdate",
|
15071
|
+
"name": "AutoUpdate",
|
15072
|
+
"output_required": true,
|
15073
|
+
"required": false,
|
15074
|
+
"type": "object",
|
15075
|
+
"value_allowed_null": false
|
15076
|
+
},
|
15077
|
+
{
|
15078
|
+
"disabled": false,
|
15079
|
+
"document": "托管规则组的配置。如果此结构传空数组或 GroupId 未包含在列表内将按照默认方式处理。",
|
15080
|
+
"example": "参考 ManagedRuleGroup 结构",
|
15081
|
+
"member": "ManagedRuleGroup",
|
15082
|
+
"name": "ManagedRuleGroups",
|
15083
|
+
"output_required": true,
|
15084
|
+
"required": false,
|
15085
|
+
"type": "list",
|
15086
|
+
"value_allowed_null": false
|
15087
|
+
}
|
15088
|
+
],
|
15089
|
+
"usage": "both"
|
15090
|
+
},
|
14696
15091
|
"MaxAge": {
|
14697
15092
|
"document": "浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态",
|
14698
15093
|
"members": [
|
@@ -16544,7 +16939,7 @@
|
|
16544
16939
|
"members": [
|
16545
16940
|
{
|
16546
16941
|
"disabled": false,
|
16547
|
-
"document": "站点
|
16942
|
+
"document": "站点 ID。",
|
16548
16943
|
"example": "zone-225qgrnvbi9w",
|
16549
16944
|
"member": "string",
|
16550
16945
|
"name": "ZoneId",
|
@@ -16553,7 +16948,7 @@
|
|
16553
16948
|
},
|
16554
16949
|
{
|
16555
16950
|
"disabled": false,
|
16556
|
-
"document": "
|
16951
|
+
"document": "安全策略配置。<li>当 SecurityPolicy 参数中的 CustomRule 被设置时,SecurityConfig 参数中的 AclConfg、 IpTableConfg 将被忽略;</li><li>当 SecurityPolicy 参数中的 ManagedRule 被设置时,SecurityConfig 参数中的 WafConfig 将被忽略。</li><li>对于自定义规则以及托管规则策略配置建议使用 SecurityPolicy 参数进行设置。</li>",
|
16557
16952
|
"example": "无",
|
16558
16953
|
"member": "SecurityConfig",
|
16559
16954
|
"name": "SecurityConfig",
|
@@ -16562,8 +16957,17 @@
|
|
16562
16957
|
},
|
16563
16958
|
{
|
16564
16959
|
"disabled": false,
|
16565
|
-
"document": "
|
16566
|
-
"example": "
|
16960
|
+
"document": "安全策略配置。对 Web 防护自定义策略和托管规则配置建议使用,支持表达式语法对安全策略进行配置。",
|
16961
|
+
"example": "参考\tSecurityPolicy 结构",
|
16962
|
+
"member": "SecurityPolicy",
|
16963
|
+
"name": "SecurityPolicy",
|
16964
|
+
"required": false,
|
16965
|
+
"type": "object"
|
16966
|
+
},
|
16967
|
+
{
|
16968
|
+
"disabled": false,
|
16969
|
+
"document": "安全策略类型,可使用以下参数值: <li>ZoneDefaultPolicy:用于指定站点级策略;</li><li>Template:用于指定策略模板,需要同时指定 TemplateId 参数;</li><li>Host:用于指定域名级策略(注意:当使用域名来指定域名服务策略时,仅支持已经应用了域名级策略的域名服务或者策略模板)。</li>",
|
16970
|
+
"example": "Host",
|
16567
16971
|
"member": "string",
|
16568
16972
|
"name": "Entity",
|
16569
16973
|
"required": false,
|
@@ -16571,7 +16975,16 @@
|
|
16571
16975
|
},
|
16572
16976
|
{
|
16573
16977
|
"disabled": false,
|
16574
|
-
"document": "
|
16978
|
+
"document": "指定域名。当 Entity 参数值为 Host 时,使用本参数指定的域名级策略,例如:使用 www.example.com ,配置该域名的域名级策略。",
|
16979
|
+
"example": "www.example.com",
|
16980
|
+
"member": "string",
|
16981
|
+
"name": "Host",
|
16982
|
+
"required": false,
|
16983
|
+
"type": "string"
|
16984
|
+
},
|
16985
|
+
{
|
16986
|
+
"disabled": false,
|
16987
|
+
"document": "指定策略模板 ID。当 Entity 参数值为 Template 时,使用本参数指定策略模板的 ID。",
|
16575
16988
|
"example": "temp-wj86oi2",
|
16576
16989
|
"member": "string",
|
16577
16990
|
"name": "TemplateId",
|
@@ -18798,6 +19211,23 @@
|
|
18798
19211
|
],
|
18799
19212
|
"usage": "out"
|
18800
19213
|
},
|
19214
|
+
"RedirectActionParameters": {
|
19215
|
+
"document": "Web安全重定向的附加参数",
|
19216
|
+
"members": [
|
19217
|
+
{
|
19218
|
+
"disabled": false,
|
19219
|
+
"document": "重定向的URL。",
|
19220
|
+
"example": "https://www.tencent.com",
|
19221
|
+
"member": "string",
|
19222
|
+
"name": "URL",
|
19223
|
+
"output_required": true,
|
19224
|
+
"required": true,
|
19225
|
+
"type": "string",
|
19226
|
+
"value_allowed_null": false
|
19227
|
+
}
|
19228
|
+
],
|
19229
|
+
"usage": "both"
|
19230
|
+
},
|
18801
19231
|
"RenewFlag": {
|
18802
19232
|
"document": "预付费套餐自动续费配置项。",
|
18803
19233
|
"members": [
|
@@ -19043,6 +19473,34 @@
|
|
19043
19473
|
],
|
19044
19474
|
"usage": "both"
|
19045
19475
|
},
|
19476
|
+
"ReturnCustomPageActionParameters": {
|
19477
|
+
"document": "Web安全自定义页面的附加参数",
|
19478
|
+
"members": [
|
19479
|
+
{
|
19480
|
+
"disabled": false,
|
19481
|
+
"document": "响应状态码。",
|
19482
|
+
"example": "404",
|
19483
|
+
"member": "string",
|
19484
|
+
"name": "ResponseCode",
|
19485
|
+
"output_required": true,
|
19486
|
+
"required": true,
|
19487
|
+
"type": "string",
|
19488
|
+
"value_allowed_null": false
|
19489
|
+
},
|
19490
|
+
{
|
19491
|
+
"disabled": false,
|
19492
|
+
"document": "响应的自定义页面ID。",
|
19493
|
+
"example": "p-2yr7ncnju1yk",
|
19494
|
+
"member": "string",
|
19495
|
+
"name": "ErrorPageId",
|
19496
|
+
"output_required": true,
|
19497
|
+
"required": true,
|
19498
|
+
"type": "string",
|
19499
|
+
"value_allowed_null": false
|
19500
|
+
}
|
19501
|
+
],
|
19502
|
+
"usage": "both"
|
19503
|
+
},
|
19046
19504
|
"RewriteAction": {
|
19047
19505
|
"document": "规则引擎HTTP请求头/响应头类型的动作",
|
19048
19506
|
"members": [
|
@@ -20298,6 +20756,56 @@
|
|
20298
20756
|
],
|
20299
20757
|
"usage": "out"
|
20300
20758
|
},
|
20759
|
+
"SecurityAction": {
|
20760
|
+
"document": "安全的执行动作",
|
20761
|
+
"members": [
|
20762
|
+
{
|
20763
|
+
"disabled": false,
|
20764
|
+
"document": "安全执行的具体动作。取值有:\n<li>Deny:拦截;</li><li>Monitor:观察;</li><li>ReturnCustomPage:使用指定页面拦截;</li><li>Redirect:重定向至 URL;</li><li>BlockIP:IP 封禁;</li><li>JSChallenge:JavaScript 挑战;</li><li>ManagedChallenge:托管挑战;</li><li>Disabled:未启用;</li><li>Allow:放行。</li>",
|
20765
|
+
"example": "Deny",
|
20766
|
+
"member": "string",
|
20767
|
+
"name": "Name",
|
20768
|
+
"output_required": true,
|
20769
|
+
"required": true,
|
20770
|
+
"type": "string",
|
20771
|
+
"value_allowed_null": false
|
20772
|
+
},
|
20773
|
+
{
|
20774
|
+
"disabled": false,
|
20775
|
+
"document": "当 Name 为 BlockIP 时的附加参数。",
|
20776
|
+
"example": "参考 BlockIPActionParameters 结构",
|
20777
|
+
"member": "BlockIPActionParameters",
|
20778
|
+
"name": "BlockIPActionParameters",
|
20779
|
+
"output_required": false,
|
20780
|
+
"required": false,
|
20781
|
+
"type": "object",
|
20782
|
+
"value_allowed_null": false
|
20783
|
+
},
|
20784
|
+
{
|
20785
|
+
"disabled": false,
|
20786
|
+
"document": "当 Name 为 ReturnCustomPage 时的附加参数。",
|
20787
|
+
"example": "参考 ReturnCustomPageActionParameters 结构",
|
20788
|
+
"member": "ReturnCustomPageActionParameters",
|
20789
|
+
"name": "ReturnCustomPageActionParameters",
|
20790
|
+
"output_required": false,
|
20791
|
+
"required": false,
|
20792
|
+
"type": "object",
|
20793
|
+
"value_allowed_null": false
|
20794
|
+
},
|
20795
|
+
{
|
20796
|
+
"disabled": false,
|
20797
|
+
"document": "当 Name 为 Redirect 时的附加参数。",
|
20798
|
+
"example": "参考 RedirectActionParameters 结构",
|
20799
|
+
"member": "RedirectActionParameters",
|
20800
|
+
"name": "RedirectActionParameters",
|
20801
|
+
"output_required": false,
|
20802
|
+
"required": false,
|
20803
|
+
"type": "object",
|
20804
|
+
"value_allowed_null": false
|
20805
|
+
}
|
20806
|
+
],
|
20807
|
+
"usage": "both"
|
20808
|
+
},
|
20301
20809
|
"SecurityConfig": {
|
20302
20810
|
"document": "Web安全配置",
|
20303
20811
|
"members": [
|
@@ -20425,6 +20933,34 @@
|
|
20425
20933
|
],
|
20426
20934
|
"usage": "both"
|
20427
20935
|
},
|
20936
|
+
"SecurityPolicy": {
|
20937
|
+
"document": "安全策略配置",
|
20938
|
+
"members": [
|
20939
|
+
{
|
20940
|
+
"disabled": false,
|
20941
|
+
"document": "自定义规则配置。",
|
20942
|
+
"example": "参考 CustomRules 示例",
|
20943
|
+
"member": "CustomRules",
|
20944
|
+
"name": "CustomRules",
|
20945
|
+
"output_required": false,
|
20946
|
+
"required": false,
|
20947
|
+
"type": "object",
|
20948
|
+
"value_allowed_null": false
|
20949
|
+
},
|
20950
|
+
{
|
20951
|
+
"disabled": false,
|
20952
|
+
"document": "托管规则配置。",
|
20953
|
+
"example": "参考 ManagedRules 示例",
|
20954
|
+
"member": "ManagedRules",
|
20955
|
+
"name": "ManagedRules",
|
20956
|
+
"output_required": false,
|
20957
|
+
"required": false,
|
20958
|
+
"type": "object",
|
20959
|
+
"value_allowed_null": false
|
20960
|
+
}
|
20961
|
+
],
|
20962
|
+
"usage": "both"
|
20963
|
+
},
|
20428
20964
|
"SecurityTemplateBinding": {
|
20429
20965
|
"document": "安全策略模板的绑定关系。",
|
20430
20966
|
"members": [
|