tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,13 +3,13 @@
|
|
3
3
|
"AddAntiFakeUrl": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "https://waf.tencentcloudapi.com/?Action=AddAntiFakeUrl\
|
6
|
+
"input": "https://waf.tencentcloudapi.com/?Action=AddAntiFakeUrl\n&Domain=www.test.com\n&Name=rulename\n&Uri=http://www.test.com/a1.html\n&<公共请求参数>",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ce58ce20-e508-4c68-9a55-18233f703e6f\",\n \"Result\": \"success\"\n }\n}",
|
8
8
|
"title": "添加成功"
|
9
9
|
},
|
10
10
|
{
|
11
11
|
"document": "",
|
12
|
-
"input": "https://waf.tencentcloudapi.com/?Action=AddAntiFakeUrl\
|
12
|
+
"input": "https://waf.tencentcloudapi.com/?Action=AddAntiFakeUrl\n&Domain=www.test.com\n&Name=rulename\n&Uri=http://zanyang.qcloudwaf.com/index.html\n&<公共请求参数>",
|
13
13
|
"output": "{\n \"Response\": {\n \"RequestId\": \"09f0ad6a-cca6-4652-9be0-723d474c2d84\",\n \"Result\": \"failure\"\n }\n}",
|
14
14
|
"title": "添加防篡改url"
|
15
15
|
}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"AddAntiInfoLeakRules": [
|
18
18
|
{
|
19
19
|
"document": "",
|
20
|
-
"input": "https://waf.tencentcloudapi.com/?Action=AddAntiInfoLeakRules\n&Domain=www.
|
20
|
+
"input": "https://waf.tencentcloudapi.com/?Action=AddAntiInfoLeakRules\n&Domain=www.test.com\n&Name=rulename\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
21
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1a16a333-76ac-42f5-8066-c0ea93cc8dc7\"\n }\n}",
|
22
22
|
"title": "添加信息防泄漏规则"
|
23
23
|
}
|
@@ -26,7 +26,7 @@
|
|
26
26
|
{
|
27
27
|
"document": "",
|
28
28
|
"input": "https://waf.tencentcloudapi.com/?Action=AddAreaBanAreas\r\n&Domain=test.qcloud.com\r\n&Edition=clb-waf\r\n&Areas.0=新疆\r\n&Areas.1=江西\r\n&<公共请求参数>",
|
29
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
29
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8d630afc-0da8-43f6-862a-045e21ebfdba\"\n }\n}",
|
30
30
|
"title": "添加封禁地域"
|
31
31
|
}
|
32
32
|
],
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"AddCustomRule": [
|
42
42
|
{
|
43
43
|
"document": "增加访问控制(自定义策略)",
|
44
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddCustomRule\n<公共请求参数>\n\n{\n \"Redirect\": \"
|
44
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddCustomRule\n<公共请求参数>\n\n{\n \"Redirect\": \"/redirect_url\",\n \"Domain\": \"www.test.com\",\n \"Name\": \"name\",\n \"SortId\": \"100\",\n \"ExpireTime\": \"0\",\n \"Edition\": \"clb-waf\",\n \"ActionType\": \"1\",\n \"Strategies\": [\n {\n \"Content\": \"cookie_value\",\n \"Field\": \"COOKIE\",\n \"CompareFunc\": \"eq\",\n \"Arg\": \"cookie_key\"\n }\n ]\n}",
|
45
45
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1a16a333-76ac-42f5-8066-c0ea93cc8dc7\",\n \"RuleId\": 7025,\n \"Success\": {\n \"Message\": \"Success\",\n \"Code\": \"Success\"\n }\n }\n}",
|
46
46
|
"title": "添加访问控制(自定义策略)"
|
47
47
|
}
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"AddCustomWhiteRule": [
|
50
50
|
{
|
51
51
|
"document": "",
|
52
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddCustomWhiteRule\n<公共请求参数>\n\n{\n \"Name\": \"
|
52
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddCustomWhiteRule\n<公共请求参数>\n\n{\n \"Name\": \"name\",\n \"SortId\": \"100\",\n \"ExpireTime\": \"0\",\n \"Domain\": \"waf.tencentcloudapi.com\",\n \"Bypass\": \"cc,bot\",\n \"Strategies\": [\n {\n \"Field\": \"COOKIE\",\n \"CompareFunc\": \"eq\",\n \"Content\": \"cookie_value\",\n \"Arg\": \"cookie_key\"\n }\n ]\n}",
|
53
53
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\",\n \"RuleId\": 7025,\n \"Success\": {\n \"Message\": \"Success\",\n \"Code\": \"Success\"\n }\n }\n}",
|
54
54
|
"title": "增加精准白名单规则"
|
55
55
|
}
|
@@ -64,34 +64,24 @@
|
|
64
64
|
],
|
65
65
|
"AddSpartaProtection": [
|
66
66
|
{
|
67
|
-
"document": "
|
68
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSpartaProtection\n<公共请求参数>\n\n{\n \"
|
69
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"87c8499e-3748-4bb0-9740-b2683a003975\"\n }\n}",
|
70
|
-
"title": "添加域名"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"document": "添加域名-1",
|
74
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSpartaProtection\n<公共请求参数>\n\n{\n \"UpstreamScheme\": \"http\",\n \"IsGray\": \"1\",\n \"Domain\": \"lucas0919.qcloudwaf.com\",\n \"LoadBalance\": \"1\",\n \"HttpsUpstreamPort\": \"80\",\n \"InstanceID\": \"lucas\",\n \"UpstreamType\": \"1\",\n \"UpstreamDomain\": \"lucas0622.qcloudwaf.com\",\n \"IsWebsocket\": \"1\",\n \"IsHttp2\": \"1\",\n \"Edition\": \"saas\",\n \"CertType\": \"0\",\n \"Weights\": [\n \"1\"\n ],\n \"IsKeepAlive\": \"1\",\n \"ActiveCheck\": \"1\",\n \"IsCdn\": \"1\",\n \"TLSVersion\": \"3\",\n \"Ports\": [\n {\n \"NginxServerId\": \"0\",\n \"Protocol\": \"http\",\n \"Port\": \"80\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"HttpsRewrite\": \"1\"\n}",
|
75
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a5e5757a-2b04-4d56-a049-54eb8f053e75\"\n }\n}",
|
76
|
-
"title": "添加域名-1"
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"document": "重复添加的场景",
|
80
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSpartaProtection\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloud.com\",\n \"LoadBalance\": \"0\",\n \"Edition\": \"clb-waf\",\n \"UpstreamType\": \"0\",\n \"CertType\": \"0\",\n \"InstanceID\": \"waf-9dasfds6gsd\",\n \"IsKeepAlive\": \"1\",\n \"Ports\": [\n {\n \"NginxServerId\": \"0\",\n \"Protocol\": \"http\",\n \"Port\": \"80\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"SrcList\": [\n \"1.1.1.1\"\n ],\n \"IsCdn\": \"0\",\n \"IsWebsocket\": \"0\",\n \"IsGray\": \"0\",\n \"IsHttp2\": \"0\"\n}",
|
81
|
-
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InternalError\",\n \"Message\": \"域名已经存在,请勿重复添加\"\n },\n \"RequestId\": \"4f284280-a493-4932-95f4-3d87e7320b3e\"\n }\n}",
|
82
|
-
"title": "重复添加的场景"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"document": "添加SAAS-WAF防护域名",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSpartaProtection\n<公共请求参数>\n\n{\n \"Domain\": \"test1.qcloud.com\",\n \"LoadBalance\": \"0\",\n \"Edition\": \"clb-waf\",\n \"UpstreamType\": \"0\",\n \"CertType\": \"0\",\n \"InstanceID\": \"waf-7dasgds2nfsafg\",\n \"IsKeepAlive\": \"1\",\n \"Ports\": [\n {\n \"NginxServerId\": \"0\",\n \"Protocol\": \"http\",\n \"Port\": \"80\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"SrcList\": [\n \"1.1.1.1\"\n ],\n \"IsCdn\": \"0\",\n \"IsWebsocket\": \"0\",\n \"IsGray\": \"0\",\n \"IsHttp2\": \"0\"\n}",
|
67
|
+
"document": "添加SaaS型WAF防护域名",
|
68
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSpartaProtection\n<公共请求参数>\n\n{\n \"Ports\": [\n {\n \"NginxServerId\": \"0\",\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"Domain\": \"randy.qcloudwaf.com\",\n \"SrcList\": [\n \"125.36.35.4\"\n ],\n \"Weights\": [],\n \"UpstreamType\": 0,\n \"HttpsRewrite\": 0,\n \"CertType\": 0,\n \"IsCdn\": 3,\n \"IsGray\": 0,\n \"IsHttp2\": 0,\n \"IsWebsocket\": 0,\n \"ProxyBuffer\": 1,\n \"ActiveCheck\": 0,\n \"CipherTemplate\": 1,\n \"TLSVersion\": 3,\n \"Ciphers\": [],\n \"IsKeepAlive\": \"1\",\n \"LoadBalance\": \"0\",\n \"InstanceID\": \"waf_2kw60zgy0908e8j3\",\n \"Anycast\": 0,\n \"ProxyReadTimeout\": 300,\n \"ProxySendTimeout\": 300,\n \"SniHost\": \"randy.sni.com\",\n \"SniType\": 0,\n \"IpHeaders\": [\n \"x-real-ip\"\n ],\n \"XFFReset\": 0,\n \"UpstreamHost\": \"randy.upstream.com\",\n \"Note\": \"randy test domain\",\n \"ProbeStatus\": 1\n}",
|
87
69
|
"output": "{\n \"Response\": {\n \"RequestId\": \"9ee8be5b-6caa-4c39-ab70-890e0e673515\"\n }\n}",
|
88
|
-
"title": "添加
|
70
|
+
"title": "添加SaaS型WAF防护域名"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"BatchOperateUserSignatureRules": [
|
74
|
+
{
|
75
|
+
"document": "",
|
76
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchOperateUserSignatureRules\n<公共请求参数>\n\n{\n \"Domain\": \"test.waf.com\",\n \"Status\": \"1\",\n \"RuleIds\": [\n \"10000006\",\n \"10000009\",\n \"10000011\",\n \"10000030\"\n ],\n \"Reason\": 0,\n \"SelectedAll\": true,\n \"Filters\": [\n {\n \"ExactMatch\": true,\n \"Name\": \"MainClassID\",\n \"Values\": [\n \"010000000\"\n ]\n }\n ]\n}",
|
77
|
+
"output": "{\n \"Response\": {\n \"CommonRsp\": {\n \"Code\": 0,\n \"Msg\": \"Success\"\n },\n \"RequestId\": \"546b2091-1a59-4bd9-818d-47ab565102d9\"\n }\n}",
|
78
|
+
"title": "批量操作tiga子规则"
|
89
79
|
}
|
90
80
|
],
|
91
81
|
"CreateAccessExport": [
|
92
82
|
{
|
93
83
|
"document": "",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccessExport\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Count\": 6221,\n \"Query\": \"\",\n \"Order\": \"desc\",\n \"Format\": \"json\"\n}",
|
84
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccessExport\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Count\": 6221,\n \"Query\": \"bot:1\",\n \"Order\": \"desc\",\n \"Format\": \"json\"\n}",
|
95
85
|
"output": "{\n \"Response\": {\n \"ExportId\": \"export-61daca5c-f341-4796-aeb3-4f2f598a06c7\",\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
96
86
|
"title": "创建访问日志导出"
|
97
87
|
}
|
@@ -99,15 +89,15 @@
|
|
99
89
|
"CreateDeals": [
|
100
90
|
{
|
101
91
|
"document": "",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDeals\n<公共请求参数>\n\n{\n \"Goods\": [\n {\n \"GoodsCategoryId\": 0,\n \"GoodsNum\": 0,\n \"GoodsDetail\": {\n \"TimeSpan\":
|
103
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"DealNames\": [\n \"
|
92
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDeals\n<公共请求参数>\n\n{\n \"Goods\": [\n {\n \"GoodsCategoryId\": 0,\n \"GoodsNum\": 0,\n \"GoodsDetail\": {\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\",\n \"SubProductCode\": \"sp_wsm_waf_ultimate\",\n \"Pid\": 0,\n \"InstanceName\": \"cd-Default\",\n \"AutoRenewFlag\": 0,\n \"RealRegion\": 0,\n \"LabelTypes\": [\n \"sv_wsm_waf_package_ultimate\"\n ],\n \"LabelCounts\": [\n 1\n ],\n \"CurDeadline\": \"2024-10-21 12:45:00\",\n \"InstanceId\": \"waf_22piczm885bfd9x5\",\n \"ResourceId\": \"waf_22piczm885bfd9x5\"\n },\n \"RegionId\": 0\n }\n ]\n}",
|
93
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DealNames\": [\n \"20241029942071711427531\"\n ],\n \"BigDealId\": \"20241029942071711427531\"\n },\n \"Status\": 0,\n \"ReturnMessage\": \"ok\",\n \"RequestId\": \"d55b94a8-07bb-4326-b82f-e6678151afe0\"\n }\n}",
|
104
94
|
"title": "样例"
|
105
95
|
}
|
106
96
|
],
|
107
97
|
"CreateHost": [
|
108
98
|
{
|
109
99
|
"document": "",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateHost\n<公共请求参数>\n\n{\n \"InstanceID\": \"
|
100
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateHost\n<公共请求参数>\n\n{\n \"InstanceID\": \"waf_2kzgm331pk3213\",\n \"Host\": {\n \"Status\": \"1\",\n \"Engine\": \"1\",\n \"Domain\": \"lucainfo.qcloudwaf.com\",\n \"DomainId\": \"waf-d4foqwZy\",\n \"LoadBalancerSet\": [\n {\n \"Protocol\": \"HTTP\",\n \"Zone\": \"1\",\n \"Region\": \"gz\",\n \"LoadBalancerName\": \"门户\",\n \"ListenerId\": \"lbl-87vxk72\",\n \"Vip\": \"127.0.0.1\",\n \"ListenerName\": \"监听器测试\",\n \"LoadBalancerId\": \"lb-2s7f791x\",\n \"Vport\": \"80\"\n }\n ],\n \"Level\": \"1\",\n \"MainDomain\": \"snv.vom\",\n \"Region\": \"cd\",\n \"FlowMode\": \"1\",\n \"State\": \"1\",\n \"ClsStatus\": \"1\",\n \"IsCdn\": \"1\",\n \"Mode\": \"1\",\n \"Edition\": \"clb-waf\"\n }\n}",
|
111
101
|
"output": "{\n \"Response\": {\n \"RequestId\": \"97720395-7456-4a21-bcd9-1f32a7deaa90\",\n \"Error\": {\n \"Code\": \"ResourceInUse\",\n \"Message\": \"DomainExisted\"\n }\n }\n}",
|
112
102
|
"title": "添加负载均衡型WAF域名"
|
113
103
|
}
|
@@ -115,8 +105,8 @@
|
|
115
105
|
"CreateIpAccessControl": [
|
116
106
|
{
|
117
107
|
"document": "",
|
118
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertIpAccessControlV2\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_0xabc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.2.1\"\n ],\n \"Edition\": \"
|
119
|
-
"output": "{\n \"Response\": {\n \"RuleId\": 55201922,\n \"RequestId\": \"
|
108
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertIpAccessControlV2\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_0xabc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.2.1\"\n ],\n \"Edition\": \"clb-waf\",\n \"ValidTS\": 1680570420,\n \"ActionType\": 42,\n \"SourceType\": \"custom\"\n}",
|
109
|
+
"output": "{\n \"Response\": {\n \"RuleId\": 55201922,\n \"RequestId\": \"fea2e723-002b-40e6-8297-7c54455cb7d6\"\n }\n}",
|
120
110
|
"title": "新增IP黑白名单"
|
121
111
|
}
|
122
112
|
],
|
@@ -131,7 +121,7 @@
|
|
131
121
|
"DeleteAntiFakeUrl": [
|
132
122
|
{
|
133
123
|
"document": "",
|
134
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DeleteAntiFakeUrl\
|
124
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DeleteAntiFakeUrl\n&Domain=www.test.com\n&Id=1110112\n&<公共请求参数>",
|
135
125
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8c20d0a3-9539-4ef8-aea1-06b5ce29e0c9\"\n }\n}",
|
136
126
|
"title": "删除防篡改url"
|
137
127
|
}
|
@@ -139,7 +129,7 @@
|
|
139
129
|
"DeleteAntiInfoLeakRule": [
|
140
130
|
{
|
141
131
|
"document": "",
|
142
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DeleteAntiInfoLeakRule\
|
132
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DeleteAntiInfoLeakRule\n&Domain=www.test.com\n&RuleId=110233\n&<公共请求参数>",
|
143
133
|
"output": "{\n \"Response\": {\n \"RequestId\": \"36809618-b248-46fc-9513-0ecf86675215\"\n }\n}",
|
144
134
|
"title": "信息防泄漏删除规则"
|
145
135
|
}
|
@@ -155,16 +145,16 @@
|
|
155
145
|
"DeleteAttackWhiteRule": [
|
156
146
|
{
|
157
147
|
"document": "",
|
158
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAttackWhiteRule\n<公共请求参数>\n\n{\n \"Domain\": \"\",\n \"Ids\": [\n 1,\n 2\n ]\n}",
|
159
|
-
"output": "{\n \"Response\": {\n \"FailIds\": [\n 1\n ],\n \"RequestId\": \"
|
148
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAttackWhiteRule\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\",\n \"Ids\": [\n 1,\n 2\n ]\n}",
|
149
|
+
"output": "{\n \"Response\": {\n \"FailIds\": [\n 1\n ],\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
|
160
150
|
"title": "查询示例"
|
161
151
|
}
|
162
152
|
],
|
163
153
|
"DeleteCCRule": [
|
164
154
|
{
|
165
155
|
"document": "",
|
166
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DeleteCCRule\
|
167
|
-
"output": "{\n \"Response\": {\n \"Data\":
|
156
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DeleteCCRule\n&Domain=test.com\n&Name=ccrulename\n&Edition=clb-waf\n&<公共请求参数>",
|
157
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"d29f2d93-b894-4c04-b047-ea6470bc0acd\"\n }\n}",
|
168
158
|
"title": "Waf CC V2 Delete接口"
|
169
159
|
}
|
170
160
|
],
|
@@ -188,22 +178,14 @@
|
|
188
178
|
{
|
189
179
|
"document": "删除域名规则白名单",
|
190
180
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDomainWhiteRules\n<公共请求参数>\n\n{\n \"Domain\": \"abc.qcloudwaf.com\",\n \"Ids\": [\n 111,\n 222\n ]\n}",
|
191
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"46757c6e-786c-48ca-b5c4-9fa29ece1c9e\",\n \"Data\": \"
|
181
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"46757c6e-786c-48ca-b5c4-9fa29ece1c9e\",\n \"Data\": \"success\"\n }\n}",
|
192
182
|
"title": "删除域名规则白名单"
|
193
183
|
}
|
194
184
|
],
|
195
|
-
"DeleteDownloadRecord": [
|
196
|
-
{
|
197
|
-
"document": "",
|
198
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DeleteDownloadRecord\n&Flow=xxxxxx-xxxxxx-xxxxxx \n&<公共请求参数>",
|
199
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx-xxxxx\"\n }\n}",
|
200
|
-
"title": "删除下载记录"
|
201
|
-
}
|
202
|
-
],
|
203
185
|
"DeleteHost": [
|
204
186
|
{
|
205
187
|
"document": "",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHost\n<公共请求参数>\n\n{\n \"HostsDel\": [\n {\n \"Domain\": \"
|
188
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHost\n<公共请求参数>\n\n{\n \"HostsDel\": [\n {\n \"Domain\": \"txwafclb.qcloudwaf.com\",\n \"DomainId\": \"waf-n7GFuVNJ\",\n \"InstanceID\": \"waf_2kuil2fm02vqm7z3\"\n }\n ]\n}",
|
207
189
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
208
190
|
"title": "删除负载均衡型WAF防护域名"
|
209
191
|
}
|
@@ -212,7 +194,7 @@
|
|
212
194
|
{
|
213
195
|
"document": "删除IP黑白名单",
|
214
196
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControl\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloudwaf.com\",\n \"Items\": [\n \"1.2.3.4\"\n ],\n \"DeleteAll\": false\n}",
|
215
|
-
"output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"FailedItems\": \"\",\n \"RequestId\": \"9fbb7be2-214b-44df-a5b9-6a69ca456409\"\n }\n}",
|
197
|
+
"output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"FailedItems\": \"192.16.8.1.1\",\n \"RequestId\": \"9fbb7be2-214b-44df-a5b9-6a69ca456409\"\n }\n}",
|
216
198
|
"title": "Waf IP黑白名单Delete接口"
|
217
199
|
}
|
218
200
|
],
|
@@ -220,7 +202,7 @@
|
|
220
202
|
{
|
221
203
|
"document": "",
|
222
204
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"DeleteAll\": true,\n \"SourceType\": \"log\",\n \"ActionType\": 1,\n \"RuleIds\": [\n 55102222,\n 55562222\n ]\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"RequestId\": \"
|
205
|
+
"output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"RequestId\": \"46757c6e-786c-48ca-b5c4-9fa29ece1c9e\"\n }\n}",
|
224
206
|
"title": "删除IP黑白名单"
|
225
207
|
}
|
226
208
|
],
|
@@ -228,22 +210,30 @@
|
|
228
210
|
{
|
229
211
|
"document": "",
|
230
212
|
"input": "https://waf.tencentcloudapi.com/?Action=DeleteSession\n&Domain=test.com\n&Edition=clb-waf\n&<公共请求参数>",
|
231
|
-
"output": "{\n \"Response\": {\n \"Data\":
|
213
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"0746a563-2597-43ec-8aaf-d3267b093efa\"\n }\n}",
|
232
214
|
"title": "Waf 会话定义 Delete接口"
|
233
215
|
}
|
234
216
|
],
|
217
|
+
"DeleteSpartaProtection": [
|
218
|
+
{
|
219
|
+
"document": "",
|
220
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSpartaProtection\n<公共请求参数>\n\n{\n \"Domains\": [\n \"randy.qcloudwaf.com\"\n ],\n \"InstanceID\": \"waf_2kw60zgy0908e8j3\"\n}",
|
221
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"afa27f36-13f0-4c2c-b36b-bc70e79b4896\"\n }\n}",
|
222
|
+
"title": "SaaS型WAF删除防护域名"
|
223
|
+
}
|
224
|
+
],
|
235
225
|
"DescribeAccessExports": [
|
236
226
|
{
|
237
227
|
"document": "",
|
238
228
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessExports\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\"\n}",
|
239
|
-
"output": "{\n \"Response\": {\n \"Exports\": [\n {\n \"ExportId\": \"export-61daca5c-f341-4796-aeb3-4f2f598a06c7\",\n \"Query\": \"
|
229
|
+
"output": "{\n \"Response\": {\n \"Exports\": [\n {\n \"ExportId\": \"export-61daca5c-f341-4796-aeb3-4f2f598a06c7\",\n \"Query\": \"bot:1\",\n \"FileName\": \"log_100005604621_1ae37c76-df99-4e2b-998c-20f39eba6226_20210713_export-61daca5c-f341-4796-aeb3-4f2f598a06c7_1626174454.tar.gz\",\n \"FileSize\": 279519,\n \"Order\": \"desc\",\n \"Format\": \"json\",\n \"Count\": 6221,\n \"Status\": \"Completed\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"CosPath\": \"https://export-cd-1254077820.cos.ap-chengdu.myqcloud.com/%2Fexport%2F20210713%2Flog_100005604621_1ae37c76-df99-4e2b-998c-20f39eba6226_20210713_export-61daca5c-f341-4796-aeb3-4f2f598a06c7_1626174454.tar.gz?q-sign-algorithm=sha1&q-ak=xxx&q-sign-time=1626175178%3B1626178778&q-key-time=1626175178%3B1626178778&q-header-list=host&q-url-param-list=&q-signature=ebb37d76834b5be4ff0c8bfa263d88d1adf5685d\",\n \"CreateTime\": \"2021-07-13 19:07:15\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
240
230
|
"title": "获取访问日志导出列表"
|
241
231
|
}
|
242
232
|
],
|
243
233
|
"DescribeAccessFastAnalysis": [
|
244
234
|
{
|
245
235
|
"document": "",
|
246
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessFastAnalysis\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"
|
236
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessFastAnalysis\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"bot:1\",\n \"FieldName\": \"host\"\n}",
|
247
237
|
"output": "{\n \"Response\": {\n \"FieldValueRatioInfos\": [\n {\n \"Count\": 4451,\n \"Ratio\": 0.7154798263944704,\n \"Value\": \"bluehha.qcloudwaf.com\"\n },\n {\n \"Count\": 1687,\n \"Ratio\": 0.2711782671596206,\n \"Value\": \"qhy.17173.com\"\n },\n {\n \"Count\": 48,\n \"Ratio\": 0.007715801318116058,\n \"Value\": \"qqq323.qcloudwaf.com\"\n },\n {\n \"Count\": 20,\n \"Ratio\": 0.003214917215881691,\n \"Value\": \"0709.qcloudwaf.com\"\n },\n {\n \"Count\": 7,\n \"Ratio\": 0.001125221025558592,\n \"Value\": \"attack_log.qcloudwaf.com\"\n },\n {\n \"Count\": 7,\n \"Ratio\": 0.001125221025558592,\n \"Value\": \"bangskt.qcloudwaf.com\"\n },\n {\n \"Count\": 1,\n \"Ratio\": 0.00016074586079408456,\n \"Value\": \"zjm-mt.qcloudwaf.com\"\n }\n ],\n \"TotalCount\": 7,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
248
238
|
"title": "访问日志快速分析"
|
249
239
|
}
|
@@ -251,7 +241,7 @@
|
|
251
241
|
"DescribeAccessHistogram": [
|
252
242
|
{
|
253
243
|
"document": "",
|
254
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessHistogram\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"\"\n}",
|
244
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessHistogram\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"bot_ai:0\"\n}",
|
255
245
|
"output": "{\n \"Response\": {\n \"Interval\": 12096000,\n \"TotalCount\": 6221,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\",\n \"HistogramInfos\": [\n {\n \"BTime\": 0,\n \"BeginTime\": 0,\n \"Count\": 0\n }\n ]\n }\n}",
|
256
246
|
"title": "访问日志柱状趋势图"
|
257
247
|
}
|
@@ -260,67 +250,39 @@
|
|
260
250
|
{
|
261
251
|
"document": "访问日志索引配置信息",
|
262
252
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessIndex\n<公共请求参数>\n\n{}",
|
263
|
-
"output": "{\n \"Response\": {\n \"Status\": true,\n \"Rule\": {\n \"FullText\": {\n \"CaseSensitive\": true,\n \"Tokenizer\": \"!@#%^&*()-_=\\\"', <>/?|\\\\;:\\n\\t\\r[]{}\",\n \"ContainZH\": false\n },\n \"KeyValue\": {\n \"CaseSensitive\": false,\n \"KeyValues\": [\n {\n \"Key\": \"method\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"schema\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"host\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"url\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"client\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"status\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"upstream_status\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"user_agent\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"x_forwarded_for\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"referer\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"domain\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"cookie\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"body\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"uuid\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"query\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n }\n ]\n }\n },\n \"ModifyTime\": \"2021-06-18 16:02:20\",\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
253
|
+
"output": "{\n \"Response\": {\n \"Status\": true,\n \"Rule\": {\n \"FullText\": null,\n \"KeyValue\": {\n \"CaseSensitive\": false,\n \"KeyValues\": [\n {\n \"Key\": \"bot_action\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_ai\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_label\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_module\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_scene_id\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_score\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_stat\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_ti_tags\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_token\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bot_ua\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"bytes_sent\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"client\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"cookie\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"domain\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"headers\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"host\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"instance\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ipinfo_city\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ipinfo_isp\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ipinfo_nation\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ipinfo_province\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ipinfo_state\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"method\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"query\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"referer\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"request_time\",\n \"Value\": {\n \"Type\": \"double\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"schema\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"sec_chain\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"status\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ua_goodbot\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"ua_type\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"upstream\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"upstream_connect_time\",\n \"Value\": {\n \"Type\": \"double\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"upstream_response_time\",\n \"Value\": {\n \"Type\": \"double\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"upstream_status\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"url\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"user_agent\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": true,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"uuid\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n },\n {\n \"Key\": \"x_forwarded_for\",\n \"Value\": {\n \"Type\": \"text\",\n \"Tokenizer\": \"token\",\n \"SqlFlag\": false,\n \"ContainZH\": false\n }\n }\n ]\n },\n \"Tag\": null\n },\n \"ModifyTime\": \"2024-10-24 22:15:00\",\n \"RequestId\": \"5ccd823d-ede6-4f21-b520-0db96a19f5f1\"\n }\n}",
|
264
254
|
"title": "访问日志索引配置信息"
|
265
255
|
}
|
266
256
|
],
|
267
257
|
"DescribeAntiFakeRules": [
|
268
258
|
{
|
269
259
|
"document": "",
|
270
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiFakeRules\n<公共请求参数>\n\n{\n \"Domain\": \"
|
260
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiFakeRules\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"RuleID\",\n \"Values\": [\n \"1102111\"\n ],\n \"ExactMatch\": true\n }\n ],\n \"Order\": \"desc\",\n \"By\": \"ts\"\n}",
|
271
261
|
"output": "{\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"08e8410d-6e80-4d1f-89ff-62669042369d\",\n \"Total\": 0\n }\n}",
|
272
262
|
"title": "获取防篡改url"
|
273
263
|
}
|
274
264
|
],
|
275
|
-
"DescribeAntiFakeUrl": [
|
276
|
-
{
|
277
|
-
"document": "",
|
278
|
-
"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&<公共请求参数>",
|
279
|
-
"output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"08e8410d-6e80-4d1f-89ff-62669042369d\",\n \"Total\": \"0\"\n }\n}",
|
280
|
-
"title": "获取防篡改url"
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"document": "",
|
284
|
-
"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&<公共请求参数>",
|
285
|
-
"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}",
|
286
|
-
"title": "获取配置的防篡改策略--有数据返回场景"
|
287
|
-
}
|
288
|
-
],
|
289
|
-
"DescribeAntiInfoLeakRules": [
|
290
|
-
{
|
291
|
-
"document": "获取信息防泄漏规则列表",
|
292
|
-
"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}",
|
293
|
-
"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}",
|
294
|
-
"title": "获取信息防泄漏规则列表"
|
295
|
-
}
|
296
|
-
],
|
297
265
|
"DescribeAntiInfoLeakageRules": [
|
298
266
|
{
|
299
267
|
"document": "获取信息防泄漏规则列表",
|
300
268
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiInfoLeakageRules\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Order\": \"Desc\",\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"0\"\n ],\n \"Name\": \"Action\",\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 1\n}",
|
301
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"66ec4266-fce2-4238-bb69-8b99f3b19ad0\",\n \"RuleList\": [\n {\n \"Status\": 1,\n \"Name\": \"RuleName\",\n \"RuleId\": 1,\n \"Uri\": \"/url\",\n \"Action\": \"0\",\n \"Strategies\": [\n {\n \"Content\": \"\",\n \"Field\": \"information\",\n \"CompareFunc\": \"contains\"\n }\n ],\n \"CreateTime\": \"2022-10-26T16:31:43+08:00\"\n }\n ]\n }\n}",
|
269
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"66ec4266-fce2-4238-bb69-8b99f3b19ad0\",\n \"RuleList\": [\n {\n \"Status\": 1,\n \"Name\": \"RuleName\",\n \"RuleId\": 1,\n \"Uri\": \"/url\",\n \"Action\": \"0\",\n \"Strategies\": [\n {\n \"Content\": \"180080\",\n \"Field\": \"information\",\n \"CompareFunc\": \"contains\"\n }\n ],\n \"CreateTime\": \"2022-10-26T16:31:43+08:00\"\n }\n ]\n }\n}",
|
302
270
|
"title": "获取信息防泄漏规则列表"
|
303
271
|
}
|
304
272
|
],
|
305
273
|
"DescribeApiDetail": [
|
306
274
|
{
|
307
|
-
"document": "
|
275
|
+
"document": "获取Api请求详情信息",
|
308
276
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApiDetail\n<公共请求参数>\n\n{\n \"Domain\": \"hzh.qcloud.com\",\n \"Method\": \"POST\",\n \"ApiName\": \"/test\"\n}",
|
309
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6088f081-3e69-421e-9bbe-b91510af0414\",\n \"Log\": \"{\\\"other\\\":{}}\",\n \"ParameterList\": [],\n \"Scene\": \"\",\n \"SensitiveFields\": [],\n \"IsActive\": false,\n \"IpCount\": 0,\n \"RegionCount\": 0,\n \"EventCount\": 0,\n \"SensitiveCount\": 0,\n \"RspLog\": \"{}\",\n \"Level\": 0\n }\n}",
|
310
|
-
"title": "
|
277
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6088f081-3e69-421e-9bbe-b91510af0414\",\n \"Log\": \"{\\\"other\\\":{}}\",\n \"ParameterList\": [],\n \"Scene\": \"waf\",\n \"SensitiveFields\": [],\n \"IsActive\": false,\n \"IpCount\": 0,\n \"RegionCount\": 0,\n \"EventCount\": 0,\n \"SensitiveCount\": 0,\n \"RspLog\": \"{\\\"other\\\":{}}\",\n \"Level\": 0\n }\n}",
|
278
|
+
"title": "获取Api请求详情信息"
|
311
279
|
}
|
312
280
|
],
|
313
281
|
"DescribeApiListVersionTwo": [
|
314
282
|
{
|
315
283
|
"document": "",
|
316
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApiListVersionTwo\n<公共请求参数>\n\n{\n \"
|
317
|
-
"output": "{\n \"Response\": {\n \"
|
318
|
-
"title": "test3"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"document": "",
|
322
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApiListVersionTwo\n<公共请求参数>\n\n{\n \"Domain\": \"abc\",\n \"Filters\": [\n {\n \"Entity\": \"abc\",\n \"Operator\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"PageIndex\": 0,\n \"PageSize\": 0,\n \"Sort\": [\n \"abc\"\n ],\n \"NeedTotalCount\": true,\n \"StartTs\": 0,\n \"EndTs\": 0\n}",
|
323
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Domain\": \"abc\",\n \"Method\": \"abc\",\n \"ApiName\": \"abc\",\n \"Scene\": \"abc\",\n \"Label\": [\n \"abc\"\n ],\n \"Active\": true,\n \"Timestamp\": 1,\n \"InsertTime\": 1,\n \"Mode\": \"abc\",\n \"Level\": \"abc\",\n \"Count\": 1,\n \"Remark\": \"abc\",\n \"IsAuth\": 0,\n \"ApiRequestRuleId\": 0,\n \"ApiLimitRuleId\": 0\n }\n ],\n \"Total\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
284
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApiListVersionTwo\n<公共请求参数>\n\n{\n \"Domain\": \"qcloudwaf.com\",\n \"Filters\": [\n {\n \"Entity\": \"key\",\n \"Operator\": \"=\",\n \"Value\": \"waf\"\n }\n ],\n \"PageIndex\": 0,\n \"PageSize\": 0,\n \"Sort\": [\n \"timestamp\"\n ],\n \"NeedTotalCount\": true,\n \"StartTs\": 0,\n \"EndTs\": 0\n}",
|
285
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Domain\": \"qcloudwaf.com\",\n \"Method\": \"GET\",\n \"ApiName\": \"/test/aa\",\n \"Scene\": \"login\",\n \"Label\": [\n \"login\"\n ],\n \"Active\": true,\n \"Timestamp\": 123131231123,\n \"InsertTime\": 123131312321,\n \"Mode\": \"1\",\n \"Level\": \"300\",\n \"Count\": 1,\n \"Remark\": \"adasd\",\n \"IsAuth\": 0,\n \"ApiRequestRuleId\": 0,\n \"ApiLimitRuleId\": 0\n }\n ],\n \"Total\": 0,\n \"RequestId\": \"asdq2we41234123cszd\"\n }\n}",
|
324
286
|
"title": "API资产列表"
|
325
287
|
}
|
326
288
|
],
|
@@ -334,7 +296,7 @@
|
|
334
296
|
{
|
335
297
|
"document": "",
|
336
298
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribeAreaBanAreas\r\n&Domain=www.test.com\r\n&<公共请求参数>",
|
337
|
-
"output": "{\n \"Response\": {\n \"Data\": null,\n \"RequestId\": \"7b9c4e2b-8282-4a6a-90cf-f64f2caef67a\"\n }\n}",
|
299
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Status\": \"0\",\n \"Source\": \"custom\",\n \"Areas\": [\n \"山东\"\n ],\n \"JobType\": \"TimedJob\",\n \"JobDateTime\": {\n \"Timed\": [\n {\n \"StartDateTime\": 0,\n \"EndDateTime\": 0\n }\n ],\n \"Cron\": null,\n \"TimeTZone\": \"UTC+8\"\n },\n \"CronType\": \"week\"\n },\n \"RequestId\": \"7b9c4e2b-8282-4a6a-90cf-f64f2caef67a\"\n }\n}",
|
338
300
|
"title": "未设置封禁区域的场景"
|
339
301
|
}
|
340
302
|
],
|
@@ -365,16 +327,16 @@
|
|
365
327
|
"DescribeAttackWhiteRule": [
|
366
328
|
{
|
367
329
|
"document": "",
|
368
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAttackWhiteRule\n<公共请求参数>\n\n{\n \"Domain\": \"\",\n \"Offset\":
|
369
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"List\": [\n {\n \"WhiteRuleId\":
|
330
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAttackWhiteRule\n<公共请求参数>\n\n{\n \"Domain\": \"test.domain.com\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"Order\": \"dsc\",\n \"By\": \"modify_time\"\n}",
|
331
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"List\": [\n {\n \"WhiteRuleId\": 14931,\n \"Name\": \"whiteRuleName\",\n \"SignatureId\": \"30000163\",\n \"SignatureIds\": [\n \"30000163\"\n ],\n \"TypeId\": \"01000000\",\n \"TypeIds\": [\n \"10000001\"\n ],\n \"Mode\": 0,\n \"Status\": 1,\n \"MatchField\": \"URL\",\n \"MatchMethod\": \"eq\",\n \"MatchContent\": \"/asdfad\",\n \"MatchInfo\": [\n {\n \"MatchField\": \"URL\",\n \"MatchMethod\": \"eq\",\n \"MatchContent\": \"/asdfad\"\n }\n ],\n \"MatchInfoStr\": \"[{\\\"MatchField\\\":\\\"URL\\\",\\\"MatchParams\\\":\\\"\\\",\\\"MatchMethod\\\":\\\"eq\\\",\\\"MatchContent\\\":\\\"/asdfad\\\"}]\",\n \"CreateTime\": \"2024-10-29T21:19:12+08:00\",\n \"ModifyTime\": \"2024-10-29T21:19:12+08:00\"\n }\n ],\n \"RequestId\": \"d3f9fc57-dbfd-4503-ad95-eab902c6257c\"\n }\n}",
|
370
332
|
"title": "查询示例"
|
371
333
|
}
|
372
334
|
],
|
373
335
|
"DescribeAutoDenyIP": [
|
374
336
|
{
|
375
337
|
"document": "",
|
376
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoDenyIP\n<公共请求参数>\n\n{\n \"Count\": 0,\n \"Category\": \"\",\n \"Domain\": \"\",\n \"Name\": \"\",\n \"Ip\": \"\",\n \"VtsMax\": 1,\n \"VtsMin\": 1,\n \"Sort\": \"\",\n \"Limit\": 1,\n \"CtsMin\": 1,\n \"Skip\": 1,\n \"CtsMax\": 1\n}",
|
377
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [],\n \"TotalCount\": 0\n },\n \"RequestId\": \"a4010dd1-d24b-43f5-bab4-8a6b204835b7\"\n }\n}",
|
338
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoDenyIP\n<公共请求参数>\n\n{\n \"Count\": 0,\n \"Category\": \"cc\",\n \"Domain\": \"www.test.com\",\n \"Name\": \"name\",\n \"Ip\": \"192.168.1.1\",\n \"VtsMax\": 1,\n \"VtsMin\": 1,\n \"Sort\": \"CreateTime\",\n \"Limit\": 1,\n \"CtsMin\": 1,\n \"Skip\": 1,\n \"CtsMax\": 1\n}",
|
339
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"Action\": 32,\n \"Category\": \"cc\",\n \"Ip\": \"192.168.1.1\",\n \"Name\": \"name\",\n \"TsVersion\": 1730625888,\n \"ValidTs\": 1730625888\n }\n ],\n \"TotalCount\": 0\n },\n \"RequestId\": \"a4010dd1-d24b-43f5-bab4-8a6b204835b7\"\n }\n}",
|
378
340
|
"title": "描述WAF自动封禁IP 详情"
|
379
341
|
}
|
380
342
|
],
|
@@ -382,7 +344,7 @@
|
|
382
344
|
{
|
383
345
|
"document": "",
|
384
346
|
"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}",
|
385
|
-
"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}",
|
347
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"ActionType\": 42,\n \"Ip\": \"1.1.1.1\",\n \"Note\": \"remark\",\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}",
|
386
348
|
"title": "Waf 多域名ip黑白名单查询"
|
387
349
|
}
|
388
350
|
],
|
@@ -409,24 +371,18 @@
|
|
409
371
|
}
|
410
372
|
],
|
411
373
|
"DescribeCCRuleList": [
|
412
|
-
{
|
413
|
-
"document": "",
|
414
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCRuleList\n<公共请求参数>\n\n{\n \"By\": \"ts_version\",\n \"Domain\": \"hzh.qcloud.com\",\n \"Limit\": \"10\",\n \"Order\": \"asc\",\n \"Offset\": \"10000002\"\n}",
|
415
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"41b55f8b-1ed1-484c-aab7-c14c0889f78b\",\n \"Data\": {\n \"Res\": [\n {\n \"Name\": \"test\",\n \"Status\": 0,\n \"Advance\": 0,\n \"Limit\": 2,\n \"Interval\": 60,\n \"Url\": \"/\",\n \"MatchFunc\": 0,\n \"ActionType\": 22,\n \"Priority\": 50,\n \"ValidTime\": 600,\n \"TsVersion\": 1609769256761,\n \"Options\": \"[]\",\n \"RuleId\": 0,\n \"EventId\": \"11\"\n },\n {\n \"Name\": \"ddp\",\n \"Status\": 0,\n \"Advance\": 0,\n \"Limit\": 10,\n \"Interval\": 10,\n \"Url\": \"/test\",\n \"MatchFunc\": 0,\n \"ActionType\": 20,\n \"Priority\": 1,\n \"ValidTime\": 61,\n \"TsVersion\": 1669794335102,\n \"Options\": \"\",\n \"RuleId\": 1900009616,\n \"EventId\": \"111\"\n }\n ],\n \"TotalCount\": 2\n }\n }\n}",
|
416
|
-
"title": "test1"
|
417
|
-
},
|
418
374
|
{
|
419
375
|
"document": "",
|
420
376
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCRuleList\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"clb\",\n \"saas\"\n ],\n \"Name\": \"InstanceType\",\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 1,\n \"By\": \"ts_version\"\n}",
|
421
|
-
"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\": \"
|
377
|
+
"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\": \"ccRuleName\",\n \"Priority\": 50,\n \"Options\": \"[{\\\"key\\\":\\\"Post\\\",\\\"args\\\":[\\\"a2V5YQ=dmFsdWVh\\\"],\\\"match\\\":\\\"0\\\",\\\"encodeflag\\\":true}]\",\n \"Status\": 1,\n \"TsVersion\": 1579058116920,\n \"Url\": \"///\",\n \"ValidTime\": 600,\n \"RuleId\": 1900009616,\n \"EventId\": \"12983ac\"\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
|
422
378
|
"title": "根据URL查询API规则"
|
423
379
|
}
|
424
380
|
],
|
425
381
|
"DescribeCertificateVerifyResult": [
|
426
382
|
{
|
427
383
|
"document": "",
|
428
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DescribeCertificateVerifyResult\n&Domain=
|
429
|
-
"output": "{\n \"Response\": {\n \"Changed\": 0,\n \"Detail\": [\n \"x509: certificate is valid for *.testwaf.com, testwaf.com, not
|
384
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeCertificateVerifyResult\n&Domain=randy.qcloudwaf.com\n&CertType=1\n&CertID=D3a93\n&<公共请求参数>",
|
385
|
+
"output": "{\n \"Response\": {\n \"Changed\": 0,\n \"Detail\": [\n \"x509: certificate is valid for *.testwaf.com, testwaf.com, not randy.qcloudwaf.com\"\n ],\n \"NotAfter\": \"2024-04-05 23:59:59\",\n \"RequestId\": \"a4824af0-ae9c-470e-b6c3-8d2a3bf89a18\",\n \"Status\": 310\n }\n}",
|
430
386
|
"title": "获取证书校验结果"
|
431
387
|
}
|
432
388
|
],
|
@@ -434,21 +390,15 @@
|
|
434
390
|
{
|
435
391
|
"document": "",
|
436
392
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCiphersDetail\n<公共请求参数>\n\n{}",
|
437
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"767bb64b-0c26-4797-b77d-3242a63199b9\",\n \"Ciphers\": [\n {\n \"VersionId\": 0,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n }\n ]\n }\n}",
|
393
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9b4a918c-b442-4dfe-a783-9b082f5a70bb\",\n \"Ciphers\": [\n {\n \"VersionId\": 0,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 1,\n \"CipherName\": \"ECDHE-RSA-DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 2,\n \"CipherName\": \"AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 3,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 4,\n \"CipherName\": \"AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 5,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 6,\n \"CipherName\": \"AES256-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 7,\n \"CipherName\": \"AES256-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 8,\n \"CipherName\": \"AES256-CCM(支持版本:TLS 1.2) \"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 9,\n \"CipherName\": \"AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 10,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 11,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 12,\n \"CipherName\": \"ECDHE-RSA-AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 13,\n \"CipherName\": \"AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 14,\n \"CipherName\": \"AES128-CCM(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 15,\n \"CipherName\": \"AES128-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 16,\n \"CipherName\": \"AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 17,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 18,\n \"CipherName\": \"ECDHE-RSA-AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 19,\n \"CipherName\": \"ECDHE-RSA-CHACHA20-POLY1305(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 20,\n \"CipherName\": \"TLS_AES_256_GCM_SHA384(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 21,\n \"CipherName\": \"TLS_CHACHA20_POLY1305_SHA256(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 0,\n \"CipherId\": 22,\n \"CipherName\": \"TLS_AES_128_GCM_SHA256(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 1,\n \"CipherName\": \"ECDHE-RSA-DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 2,\n \"CipherName\": \"AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 3,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 4,\n \"CipherName\": \"AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 5,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 6,\n \"CipherName\": \"AES256-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 7,\n \"CipherName\": \"AES256-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 8,\n \"CipherName\": \"AES256-CCM(支持版本:TLS 1.2) \"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 9,\n \"CipherName\": \"AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 10,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 11,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 12,\n \"CipherName\": \"ECDHE-RSA-AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 13,\n \"CipherName\": \"AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 14,\n \"CipherName\": \"AES128-CCM(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 15,\n \"CipherName\": \"AES128-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 16,\n \"CipherName\": \"AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 17,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 18,\n \"CipherName\": \"ECDHE-RSA-AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 19,\n \"CipherName\": \"ECDHE-RSA-CHACHA20-POLY1305(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 20,\n \"CipherName\": \"TLS_AES_256_GCM_SHA384(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 21,\n \"CipherName\": \"TLS_CHACHA20_POLY1305_SHA256(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 1,\n \"CipherId\": 22,\n \"CipherName\": \"TLS_AES_128_GCM_SHA256(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 1,\n \"CipherName\": \"ECDHE-RSA-DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 2,\n \"CipherName\": \"AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 3,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 4,\n \"CipherName\": \"AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 5,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 6,\n \"CipherName\": \"AES256-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 7,\n \"CipherName\": \"AES256-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 8,\n \"CipherName\": \"AES256-CCM(支持版本:TLS 1.2) \"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 9,\n \"CipherName\": \"AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 10,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 11,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 12,\n \"CipherName\": \"ECDHE-RSA-AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 13,\n \"CipherName\": \"AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 14,\n \"CipherName\": \"AES128-CCM(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 15,\n \"CipherName\": \"AES128-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 16,\n \"CipherName\": \"AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 17,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 18,\n \"CipherName\": \"ECDHE-RSA-AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 19,\n \"CipherName\": \"ECDHE-RSA-CHACHA20-POLY1305(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 20,\n \"CipherName\": \"TLS_AES_256_GCM_SHA384(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 21,\n \"CipherName\": \"TLS_CHACHA20_POLY1305_SHA256(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 2,\n \"CipherId\": 22,\n \"CipherName\": \"TLS_AES_128_GCM_SHA256(支持版本:TLS 1.3)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 1,\n \"CipherName\": \"ECDHE-RSA-DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 2,\n \"CipherName\": \"AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 3,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 4,\n \"CipherName\": \"AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 5,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 6,\n \"CipherName\": \"AES256-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 7,\n \"CipherName\": \"AES256-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 8,\n \"CipherName\": \"AES256-CCM(支持版本:TLS 1.2) \"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 9,\n \"CipherName\": \"AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 10,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 11,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 12,\n \"CipherName\": \"ECDHE-RSA-AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 13,\n \"CipherName\": \"AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 14,\n \"CipherName\": \"AES128-CCM(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 15,\n \"CipherName\": \"AES128-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 16,\n \"CipherName\": \"AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 17,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 18,\n \"CipherName\": \"ECDHE-RSA-AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 3,\n \"CipherId\": 19,\n \"CipherName\": \"ECDHE-RSA-CHACHA20-POLY1305(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 1,\n \"CipherName\": \"ECDHE-RSA-DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 2,\n \"CipherName\": \"AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 3,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 4,\n \"CipherName\": \"AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 5,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 6,\n \"CipherName\": \"AES256-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 7,\n \"CipherName\": \"AES256-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 8,\n \"CipherName\": \"AES256-CCM(支持版本:TLS 1.2) \"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 9,\n \"CipherName\": \"AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 10,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 11,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 12,\n \"CipherName\": \"ECDHE-RSA-AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 13,\n \"CipherName\": \"AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 14,\n \"CipherName\": \"AES128-CCM(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 15,\n \"CipherName\": \"AES128-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 16,\n \"CipherName\": \"AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 17,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 18,\n \"CipherName\": \"ECDHE-RSA-AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 4,\n \"CipherId\": 19,\n \"CipherName\": \"ECDHE-RSA-CHACHA20-POLY1305(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 0,\n \"CipherName\": \"DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 1,\n \"CipherName\": \"ECDHE-RSA-DES-CBC3-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 2,\n \"CipherName\": \"AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 3,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES256-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 4,\n \"CipherName\": \"AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 5,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2),ECDHE-ECDSA-AES128-SHA(支持版本:TLS 1.0,TLS 1.1,TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 6,\n \"CipherName\": \"AES256-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 7,\n \"CipherName\": \"AES256-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 8,\n \"CipherName\": \"AES256-CCM(支持版本:TLS 1.2) \"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 9,\n \"CipherName\": \"AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 10,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 11,\n \"CipherName\": \"ECDHE-RSA-AES256-SHA(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 12,\n \"CipherName\": \"ECDHE-RSA-AES256-GCM-SHA384(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 13,\n \"CipherName\": \"AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 14,\n \"CipherName\": \"AES128-CCM(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 15,\n \"CipherName\": \"AES128-CCM8(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 16,\n \"CipherName\": \"AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 17,\n \"CipherName\": \"ECDHE-RSA-AES128-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 18,\n \"CipherName\": \"ECDHE-RSA-AES128-GCM-SHA256(支持版本:TLS 1.2)\"\n },\n {\n \"VersionId\": 5,\n \"CipherId\": 19,\n \"CipherName\": \"ECDHE-RSA-CHACHA20-POLY1305(支持版本:TLS 1.2)\"\n }\n ]\n }\n}",
|
438
394
|
"title": "Saas型WAF接入域名查询加密套件信息"
|
439
395
|
}
|
440
396
|
],
|
441
397
|
"DescribeCustomRuleList": [
|
442
|
-
{
|
443
|
-
"document": "",
|
444
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCustomRuleList\n<公共请求参数>\n\n{\n \"Domain\": \"hzh.qcloud.com\",\n \"Limit\": \"10\",\n \"Offset\": \"10\"\n}",
|
445
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"89d3f512-674f-4ecf-b766-90d2600fa498\",\n \"RuleList\": [],\n \"TotalCount\": \"1\"\n }\n}",
|
446
|
-
"title": "test1"
|
447
|
-
},
|
448
398
|
{
|
449
399
|
"document": "",
|
450
400
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCustomRuleList\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloudwaf.com\",\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"1234567890\"\n ],\n \"Name\": \"RuleID\",\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 1\n}",
|
451
|
-
"output": "{\n \"Response\": {\n \"RuleList\": [\n {\n \"ActionType\": \"
|
401
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6a638b80-87db-458d-9dd8-461bb38d960a\",\n \"RuleList\": [\n {\n \"ActionType\": \"1\",\n \"Bypass\": \"cc\",\n \"CreateTime\": \"2024-07-29T18:55:42+08:00\",\n \"ExpireTime\": \"0\",\n \"Name\": \"rulename\",\n \"Redirect\": \"/redirect_url\",\n \"RuleId\": \"1101205922\",\n \"SortId\": \"50\",\n \"Status\": \"1\",\n \"Strategies\": [\n {\n \"Field\": \"COOKIE\",\n \"CompareFunc\": \"eq\",\n \"Content\": \"cookie_value\",\n \"Arg\": \"cookie_key\",\n \"CaseNotSensitive\": 0\n }\n ],\n \"EventId\": \"1101\",\n \"ValidStatus\": 1,\n \"ModifyTime\": \"2024-08-28T18:54:25+08:00\",\n \"Source\": \"custom\",\n \"JobType\": \"TimedJob\",\n \"JobDateTime\": {\n \"Timed\": [\n {\n \"StartDateTime\": 0,\n \"EndDateTime\": 0\n }\n ],\n \"Cron\": [],\n \"TimeTZone\": \"UTC+8\"\n },\n \"CronType\": \"week\",\n \"Label\": \"label\",\n \"PageId\": \"1101\",\n \"Domain\": \"www.testwaf.com\"\n }\n ],\n \"TotalCount\": \"1\"\n }\n}",
|
452
402
|
"title": "获取访问控制规则列表"
|
453
403
|
}
|
454
404
|
],
|
@@ -456,7 +406,7 @@
|
|
456
406
|
{
|
457
407
|
"document": "",
|
458
408
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCustomWhiteRule\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloudwaf.com\",\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"1234567890\"\n ],\n \"Name\": \"RuleID\",\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 1\n}",
|
459
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\",\n \"RuleList\": [\n {\n \"EventId\": \"\",\n \"ActionType\": \"1\",\n \"Bypass\": \"geoip,cc,owasp,ai,antileakage\",\n \"CreateTime\": \"2020-02-20 14:00:12\",\n \"ExpireTime\": \"0\",\n \"Name\": \"
|
409
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\",\n \"RuleList\": [\n {\n \"EventId\": \"1101\",\n \"ActionType\": \"1\",\n \"Bypass\": \"geoip,cc,owasp,ai,antileakage\",\n \"CreateTime\": \"2020-02-20 14:00:12\",\n \"ExpireTime\": \"0\",\n \"Name\": \"rulename\",\n \"Redirect\": \"/redirect_url\",\n \"RuleId\": \"17958569\",\n \"SortId\": \"100\",\n \"Status\": \"1\",\n \"Strategies\": [\n {\n \"Arg\": \"cookie_key\",\n \"CompareFunc\": \"eq\",\n \"Content\": \"cookie_value\",\n \"Field\": \"COOKIE\"\n }\n ]\n }\n ],\n \"TotalCount\": \"1\"\n }\n}",
|
460
410
|
"title": "获取精准白名单规则列表"
|
461
411
|
}
|
462
412
|
],
|
@@ -464,23 +414,23 @@
|
|
464
414
|
{
|
465
415
|
"document": "",
|
466
416
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainCountInfo\n<公共请求参数>\n\n{}",
|
467
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"AllDomain\": 337,\n \"UpdateTime\": \"\",\n \"WafDomainCount\": 337,\n \"LeftDomainCount\": 0,\n \"OpenWafDomain\": 226\n }\n}",
|
417
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"AllDomain\": 337,\n \"UpdateTime\": \"2024-11-01 00:00:00\",\n \"WafDomainCount\": 337,\n \"LeftDomainCount\": 0,\n \"OpenWafDomain\": 226\n }\n}",
|
468
418
|
"title": "获取域名概况"
|
469
419
|
}
|
470
420
|
],
|
471
421
|
"DescribeDomainDetailsClb": [
|
472
422
|
{
|
473
423
|
"document": "",
|
474
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainDetailsClb\n<公共请求参数>\n\n{\n \"Domain\": \"lucasssli3.
|
475
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"DomainsClbPartInfo\": {\n \"Domain\": \"
|
424
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainDetailsClb\n<公共请求参数>\n\n{\n \"Domain\": \"lucasssli3.qcloudwaf.com\",\n \"DomainId\": \"waf-xOmbLKVc\",\n \"InstanceId\": \"waf_00vsdfgh1232\"\n}",
|
425
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"DomainsClbPartInfo\": {\n \"Domain\": \"lucasssli3.qcloudwaf.com\",\n \"DomainId\": \"waf-xOmbLKVc\",\n \"InstanceId\": \"waf_2kuil1fxvsfm7z3\",\n \"Edition\": \"clb-waf\",\n \"InstanceName\": \"gz-Default1\",\n \"IsCdn\": 1,\n \"FlowMode\": 1,\n \"LoadBalancerSet\": [\n {\n \"ListenerId\": \"lbl-p08ll1la\",\n \"ListenerName\": \"http-80\",\n \"LoadBalancerId\": \"lb-azo6s2m8\",\n \"LoadBalancerName\": \"lb-6017c5bd\",\n \"Protocol\": \"HTTP\",\n \"Region\": \"gz\",\n \"Vip\": \"203.195.250.6\",\n \"Vport\": 5803,\n \"NumericalVpcId\": 0,\n \"LoadBalancerType\": \"OPEN\"\n }\n ],\n \"State\": 0,\n \"AlbType\": \"clb\",\n \"IpHeaders\": [\n \"1.1.2.4\"\n ],\n \"CdcClusters\": \"cluster-asd\"\n }\n }\n}",
|
476
426
|
"title": "查询单个clbwaf域名详情"
|
477
427
|
}
|
478
428
|
],
|
479
429
|
"DescribeDomainDetailsSaas": [
|
480
430
|
{
|
481
431
|
"document": "查询单个saaswaf域名详情",
|
482
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainDetailsSaas\n<公共请求参数>\n\n{\n \"Domain\": \"
|
483
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
432
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainDetailsSaas\n<公共请求参数>\n\n{\n \"Domain\": \"jackysaas010.qcloudwaf.com\",\n \"DomainId\": \"eca17401f4e55f4b946aa37a2212b729\",\n \"InstanceId\": \"waf_2kzew5sy0qzrn81b\"\n}",
|
433
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4552f857-a877-4ab1-b2f3-9d31930b7f4a\",\n \"DomainsPartInfo\": {\n \"Domain\": \"jackysaas010.qcloudwaf.com\",\n \"DomainId\": \"eca17401f4e55f4b946aa37a2212b729\",\n \"InstanceId\": \"waf_2kzew5sy0qzrn81b\",\n \"Edition\": \"sparta-waf\",\n \"InstanceName\": \"test010\",\n \"Cert\": \"-----BEGIN CERTIFICATE----- customer cert -----END CERTIFICATE-----\",\n \"CertType\": 0,\n \"Cls\": 1,\n \"CreateTime\": \"2024-06-05 11:23:08\",\n \"Cname\": \"dc1f8442749285feb56b39ac57049213.qcloudcjgj.com\",\n \"Engine\": 1,\n \"HttpsRewrite\": 0,\n \"HttpsUpstreamPort\": \"80\",\n \"IsKeepAlive\": 1,\n \"IsCdn\": 0,\n \"IsGray\": 0,\n \"IsHttp2\": 0,\n \"IsWebsocket\": 0,\n \"LoadBalance\": 0,\n \"Mode\": 1,\n \"PrivateKey\": \"-----BEGIN RSA PRIVATE KEY----- customer key -----END RSA PRIVATE KEY-----\",\n \"SSLId\": \"cnKsi3a\",\n \"UpstreamDomain\": \"jack.upstream.com\",\n \"UpstreamScheme\": \"http\",\n \"UpstreamType\": 0,\n \"SrcList\": [\n \"143.26.159.6\",\n \"143.26.159.8\"\n ],\n \"Weights\": [\n \"10\",\n \"10\"\n ],\n \"Ports\": [\n {\n \"NginxServerId\": 235574,\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"ActiveCheck\": 0,\n \"TLSVersion\": 3,\n \"Ciphers\": [],\n \"CipherTemplate\": 1,\n \"ProxyReadTimeout\": 300,\n \"ProxySendTimeout\": 300,\n \"SniType\": 2,\n \"SniHost\": \"jack.sni.com\",\n \"IpHeaders\": [\n \"x-real-ip\"\n ],\n \"XFFReset\": 0,\n \"Note\": \"jack domain\",\n \"Level\": \"300\",\n \"UpstreamHost\": \"jack.upstream.com\",\n \"ProxyBuffer\": 1,\n \"GmType\": 0,\n \"GmCertType\": 0,\n \"Labels\": [\n \"jack label\"\n ]\n }\n }\n}",
|
484
434
|
"title": "查询单个saaswaf域名详情"
|
485
435
|
}
|
486
436
|
],
|
@@ -488,15 +438,15 @@
|
|
488
438
|
{
|
489
439
|
"document": "拉取域名放回规则列表",
|
490
440
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainRules\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloudwaf.com\"\n}",
|
491
|
-
"output": "{\n \"Response\": {\n \"Rules\": [\n {\n \"Id\": 1,\n \"Type\": \"XSS\",\n \"Level\": \"宽松\",\n \"Description\": \"
|
441
|
+
"output": "{\n \"Response\": {\n \"Rules\": [\n {\n \"Id\": 1,\n \"Type\": \"XSS\",\n \"Level\": \"宽松\",\n \"Description\": \"description\",\n \"CVE\": \"CVE-2020-14568\",\n \"Status\": 0,\n \"ModifyTime\": \"2020-07-28 00:00:00\",\n \"AddTime\": \"2020-07-27 00:00:00\"\n }\n ],\n \"RequestId\": \"46757c6e-786c-48ca-b5c4-9fa29ece1c9e\"\n }\n}",
|
492
442
|
"title": "拉取域名放回规则列表"
|
493
443
|
}
|
494
444
|
],
|
495
445
|
"DescribeDomainVerifyResult": [
|
496
446
|
{
|
497
447
|
"document": "",
|
498
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DescribeDomainVerifyResult\n&Domain=
|
499
|
-
"output": "{\n \"Response\": {\n \"Msg\": \"
|
448
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeDomainVerifyResult\n&Domain=randy.qcloudwaf.com\n&InstanceID=waf_in839ad238adsa\n&<公共请求参数>",
|
449
|
+
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"VerifyCode\": 1,\n \"RequestId\": \"304cb36f-772a-4fdb-9b25-212d8fe5a553\"\n }\n}",
|
500
450
|
"title": "获取域名可添加校验结果"
|
501
451
|
}
|
502
452
|
],
|
@@ -504,23 +454,29 @@
|
|
504
454
|
{
|
505
455
|
"document": "获取域名的规则白名单",
|
506
456
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainWhiteRules\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloudwaf.com\"\n}",
|
507
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"
|
457
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"RuleList\": [\n {\n \"Id\": 1,\n \"Rules\": [\n 2,\n 3,\n 4\n ],\n \"Url\": \"/test\",\n \"Function\": \"eq\",\n \"Time\": \"2020-08-20 00:00:00\",\n \"Status\": 1\n }\n ]\n }\n}",
|
508
458
|
"title": "获取域名的规则白名单"
|
509
459
|
}
|
510
460
|
],
|
511
461
|
"DescribeDomains": [
|
512
462
|
{
|
513
|
-
"document": "
|
514
|
-
"input": "POST / HTTP/1.1\nHost:
|
515
|
-
"output": "{\n \"Response\": {\n \"Total\":
|
516
|
-
"title": "
|
463
|
+
"document": "查询用户所有域名信息",
|
464
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomains\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"Filters\": []\n}",
|
465
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"93efef98-b938-4ae7-bad3-19fc70b7b9a7\",\n \"Total\": 2,\n \"Domains\": [\n {\n \"AppId\": 1256704386,\n \"Domain\": \"zhenhas1020.qcloudwaf.com\",\n \"DomainId\": \"waf-ApUwCv4q\",\n \"InstanceId\": \"waf_2k0il2fm02vqm7z3\",\n \"InstanceName\": \"cd-Default1\",\n \"Edition\": \"clb-waf\",\n \"Region\": \"cd\",\n \"CreateTime\": \"2024-10-28T16:52:33+08:00\",\n \"Cname\": \"dae1cae7d48ec31c7727a86a5c1a2a62.qcloudzygj.com\",\n \"ClsStatus\": 0,\n \"PostCLSStatus\": 0,\n \"PostCKafkaStatus\": 0,\n \"FlowMode\": 1,\n \"Status\": 1,\n \"Mode\": 1,\n \"State\": 0,\n \"Engine\": 20,\n \"Ipv6Status\": 0,\n \"BotStatus\": 2,\n \"ApiStatus\": 0,\n \"Level\": 3,\n \"CdcClusters\": \"cls-dasjh2a2t5\",\n \"RsList\": [\n \"1.14.1.0/24\"\n ],\n \"CCList\": [\n \"1.14.3.0/24\"\n ],\n \"Ports\": [\n {\n \"NginxServerId\": 257856,\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"LoadBalancerSet\": [\n {\n \"ListenerId\": \"lbl-d823da3\",\n \"ListenerName\": \"listener 80\",\n \"LoadBalancerId\": \"lb-nda52sau\",\n \"LoadBalancerName\": \"cd lb\",\n \"Protocol\": \"HTTP\",\n \"Region\": \"cd\",\n \"Vip\": \"26.153.3.235\",\n \"Vport\": 80,\n \"Zone\": \"ap-chengdu-1\",\n \"NumericalVpcId\": 23654,\n \"LoadBalancerType\": \"OPEN\",\n \"LoadBalancerDomain\": \"lb-nda52sau-vo1x4syum7jtqz5n.clb.ap-guangzhou.tencentclb.com\"\n }\n ],\n \"AlbType\": \"clb\",\n \"SgState\": 0,\n \"CloudType\": \"public\",\n \"Note\": \"clb domain\",\n \"AccessStatus\": 1,\n \"Labels\": [\n \"clb domain\"\n ]\n },\n {\n \"AppId\": 1256704386,\n \"Domain\": \"zhenhuasaas1020.qcloudwaf.com\",\n \"DomainId\": \"11c88f0f292a5fd4a3002344271367b2\",\n \"InstanceId\": \"waf_2kzh5tma0v0jpotj\",\n \"InstanceName\": \"cd-Default\",\n \"Edition\": \"sparta-waf\",\n \"Region\": \"cd\",\n \"CreateTime\": \"2024-10-21T14:41:50+08:00\",\n \"Cname\": \"88fa6f44eee830c8e1e3b3c5ecba6af7.qcloudzygj.com\",\n \"ClsStatus\": 1,\n \"PostCLSStatus\": 0,\n \"PostCKafkaStatus\": 0,\n \"FlowMode\": 0,\n \"Status\": 1,\n \"Mode\": 1,\n \"State\": 0,\n \"Engine\": 1,\n \"Ipv6Status\": 0,\n \"BotStatus\": 0,\n \"ApiStatus\": 0,\n \"Level\": 3,\n \"RsList\": [\n \"1.14.1.0/24\"\n ],\n \"CCList\": [\n \"1.14.8.0/24\"\n ],\n \"Ports\": [\n {\n \"NginxServerId\": 329025,\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"LoadBalancerSet\": [\n {\n \"ListenerId\": \"default\",\n \"ListenerName\": \"default\",\n \"LoadBalancerId\": \"default.cd\",\n \"LoadBalancerName\": \"default.clb\",\n \"Protocol\": \"HTTP\",\n \"Region\": \"cd\",\n \"Vip\": \"8.8.8.8\",\n \"Vport\": 80,\n \"Zone\": \"cd\",\n \"NumericalVpcId\": -1,\n \"LoadBalancerType\": \"OPEN\",\n \"LoadBalancerDomain\": \"default.cd\"\n }\n ],\n \"SgState\": 1,\n \"SgDetail\": \"ok\",\n \"CloudType\": \"public\",\n \"Note\": \"saas domain\",\n \"SrcList\": [\n \"87.29.132.9\"\n ],\n \"SgID\": \"sg-asn32ag1\",\n \"AccessStatus\": 1,\n \"Labels\": [\n \"saas domain\"\n ]\n }\n ]\n }\n}",
|
466
|
+
"title": "查询用户所有域名信息"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"document": "查询用户SAASWAF某个实例的域名信息",
|
470
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomains\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"Filters\": [\n {\n \"Name\": \"Edition\",\n \"Values\": [\n \"sparta_waf\"\n ],\n \"ExactMatch\": true\n },\n {\n \"Name\": \"InstanceId\",\n \"Values\": [\n \"waf_2kw60jgy0908e8j3\"\n ],\n \"ExactMatch\": true\n }\n ]\n}",
|
471
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"91334a5a-1d24-42b9-998e-57e1490f9608\",\n \"Total\": 2,\n \"Domains\": [\n {\n \"AppId\": 1256702383,\n \"Domain\": \"randygz2.qcloudwaf.com\",\n \"DomainId\": \"7d58ebf3db7e5f7e8f91eb017c6a7b31\",\n \"InstanceId\": \"waf_2kw60jgy0908e8j3\",\n \"InstanceName\": \"广州双栈集群企业版\",\n \"Edition\": \"sparta-waf\",\n \"Region\": \"gz\",\n \"CreateTime\": \"2024-07-18T10:46:12+08:00\",\n \"Cname\": \"dae1cae7d48ec31c7727a86a8cda2a62.qcloudzygj.com\",\n \"ClsStatus\": 1,\n \"PostCLSStatus\": 0,\n \"PostCKafkaStatus\": 0,\n \"FlowMode\": 0,\n \"Status\": 1,\n \"Mode\": 1,\n \"State\": 0,\n \"Engine\": 1,\n \"Ipv6Status\": 1,\n \"BotStatus\": 2,\n \"ApiStatus\": 0,\n \"Level\": 3,\n \"RsList\": [\n \"134.175.221.0/24\",\n \"2402:4e00:1020:1707::/64\"\n ],\n \"CCList\": [\n \"134.175.225.0/24\"\n ],\n \"Ports\": [\n {\n \"NginxServerId\": 231056,\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n },\n {\n \"NginxServerId\": 321607,\n \"Port\": \"443\",\n \"Protocol\": \"https\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"LoadBalancerSet\": [],\n \"SgState\": 2,\n \"SgDetail\": \"ok\",\n \"Note\": \"randy domain\",\n \"SrcList\": [\n \"114.132.246.237\"\n ],\n \"UpstreamDomainList\": [\n \"xiaochegnxu.upstream.com\"\n ],\n \"SgID\": \"sg-7dme0v73\",\n \"AccessStatus\": 1,\n \"Labels\": [\n \"randy domain\"\n ]\n },\n {\n \"AppId\": 1256704386,\n \"Domain\": \"xiaochengxu.qcloudwaf.com\",\n \"DomainId\": \"42059f9a9905519d8f9e72a823891544\",\n \"InstanceId\": \"waf_2kw60jgy0908e8j3\",\n \"InstanceName\": \"广州双栈集群企业版\",\n \"Edition\": \"sparta-waf\",\n \"Region\": \"gz\",\n \"CreateTime\": \"2024-07-08T17:42:42+08:00\",\n \"Cname\": \"3323d11c0772e26ca3c68548b9cd069f.qcloudzygj.com\",\n \"ClsStatus\": 1,\n \"PostCLSStatus\": 0,\n \"PostCKafkaStatus\": 0,\n \"FlowMode\": 0,\n \"Status\": 1,\n \"Mode\": 1,\n \"State\": 1,\n \"Engine\": 1,\n \"Ipv6Status\": 0,\n \"BotStatus\": 2,\n \"ApiStatus\": 0,\n \"Level\": 3,\n \"RsList\": [\n \"134.175.221.0/24\"\n ],\n \"CCList\": [\n \"134.175.225.0/24\"\n ],\n \"Ports\": [\n {\n \"NginxServerId\": 257856,\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"LoadBalancerSet\": [],\n \"SgState\": 1,\n \"SgDetail\": \"fail\",\n \"Note\": \"xiaochengxu\",\n \"SrcList\": [\n \"124.221.148.62\"\n ],\n \"UpstreamDomainList\": [\n \"xiaochegnxu.upstream.com\"\n ],\n \"SgID\": \"sg-7dme0v73\",\n \"AccessStatus\": 1,\n \"Labels\": [\n \"xiaochengxu\"\n ]\n }\n ]\n }\n}",
|
472
|
+
"title": "查询用户SAASWAF某个实例的域名信息"
|
517
473
|
}
|
518
474
|
],
|
519
475
|
"DescribeFindDomainList": [
|
520
476
|
{
|
521
477
|
"document": "",
|
522
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFindDomainList\n<公共请求参数>\n\n{\n \"Offset\": 2,\n \"Limit\": 5,\n \"Key\": \"\",\n \"IsWafDomain\": \"\"\n}",
|
523
|
-
"output": "{\n \"Response\": {\n \"Total\": 9,\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"List\": [\n {\n \"Appid\": 251000001,\n \"Domain\": \"lucasssli3.
|
478
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFindDomainList\n<公共请求参数>\n\n{\n \"Offset\": 2,\n \"Limit\": 5,\n \"Key\": \"qcloudwaf.com\",\n \"IsWafDomain\": \"1\"\n}",
|
479
|
+
"output": "{\n \"Response\": {\n \"Total\": 9,\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"List\": [\n {\n \"Appid\": 251000001,\n \"Domain\": \"lucasssli3.qcloudwaf.com\",\n \"Ips\": [\n \"159.75.189.237\"\n ],\n \"FindTime\": \"20210729\",\n \"InstanceId\": \"waf_0000000001\",\n \"DomainId\": \"waf-oV8zE3WP\",\n \"Edition\": \"clb-waf\",\n \"IsWafDomain\": 1\n },\n {\n \"Appid\": 251000001,\n \"Domain\": \"wwwtx.qcloudwaf.com\",\n \"Ips\": [\n \"159.75.189.237\"\n ],\n \"FindTime\": \"20210730\",\n \"InstanceId\": \"waf_2kuil2fm02vqm7t5\",\n \"DomainId\": \"waf-KsC0pPCo\",\n \"Edition\": \"clb-waf\",\n \"IsWafDomain\": 1\n },\n {\n \"Appid\": 251000001,\n \"Domain\": \"0613.qcloudwaf.com\",\n \"Ips\": [\n \"119.29.47.251\"\n ],\n \"FindTime\": \"20210730\",\n \"InstanceId\": \"waf_2kuil2fm02vqm7t5\",\n \"DomainId\": \"waf_mfhvyos1\",\n \"Edition\": \"clb-waf\",\n \"IsWafDomain\": 0\n },\n {\n \"Appid\": 251000001,\n \"Domain\": \"txwaf.qcluodwaf.com\",\n \"Ips\": [\n \"159.75.189.237\"\n ],\n \"FindTime\": \"20210730\",\n \"InstanceId\": \"waf_2kuil2fm02fsdm1\",\n \"DomainId\": \"waf_vlsdf123m\",\n \"Edition\": \"sparta-waf\",\n \"IsWafDomain\": 0\n }\n ]\n }\n}",
|
524
480
|
"title": "获取发现域名列表接口"
|
525
481
|
}
|
526
482
|
],
|
@@ -535,23 +491,23 @@
|
|
535
491
|
"DescribeHistogram": [
|
536
492
|
{
|
537
493
|
"document": "",
|
538
|
-
"input": "
|
539
|
-
"output": "{\n \"Response\": {\n \"
|
494
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHistogram\n<公共请求参数>\n\n{\n \"FromTime\": \"2024-11-03 00:00:00\",\n \"ToTime\": \"2024-11-03 15:17:00\",\n \"Host\": \"all\",\n \"Source\": \"access\",\n \"QueryField\": \"ip\"\n}",
|
495
|
+
"output": "{\n \"Response\": {\n \"Histogram\": [\n \"{\\\"count\\\":43,\\\"ip\\\":\\\"128.14.129.10\\\"}\",\n \"{\\\"count\\\":43,\\\"ip\\\":\\\"8.220.210.24\\\"}\",\n \"{\\\"count\\\":42,\\\"ip\\\":\\\"185.191.126.248\\\"}\",\n \"{\\\"count\\\":40,\\\"ip\\\":\\\"141.98.11.178\\\"}\",\n \"{\\\"count\\\":33,\\\"ip\\\":\\\"9.190.110.251\\\"}\"\n ],\n \"RequestId\": \"cce2cdd7-8e54-4c08-b669-648adb1b49c1\"\n }\n}",
|
540
496
|
"title": "查询Bot数量"
|
541
497
|
}
|
542
498
|
],
|
543
499
|
"DescribeHost": [
|
544
500
|
{
|
545
501
|
"document": "",
|
546
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHost\n<公共请求参数>\n\n{\n \"InstanceID\": \"\",\n \"Domain\": \"\",\n \"DomainId\": \"\"\n}",
|
547
|
-
"output": "{\n \"Response\": {\n \"Host\": {\n \"Domain\": \"
|
502
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHost\n<公共请求参数>\n\n{\n \"InstanceID\": \"waf_in3adnjuasrg\",\n \"Domain\": \"test.qcloudwaf.com\",\n \"DomainId\": \"dasfiheigo873uhf8e390fds93\"\n}",
|
503
|
+
"output": "{\n \"Response\": {\n \"Host\": {\n \"Domain\": \"txcloudwaf.qcloudwaf.com\",\n \"DomainId\": \"waf-DhOzNw3D\",\n \"MainDomain\": \"qcloudwaf.com\",\n \"Mode\": 1,\n \"Status\": 1,\n \"State\": 1,\n \"Engine\": 1,\n \"IsCdn\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-daiu3grtd\",\n \"LoadBalancerName\": \"txlb\",\n \"ListenerId\": \"lbl-daskhe2\",\n \"ListenerName\": \"80httpport\",\n \"Vip\": \"35.68.12.3\",\n \"Vport\": 1,\n \"Region\": \"gz\",\n \"Protocol\": \"http\",\n \"Zone\": \"ap-guangzhou\",\n \"NumericalVpcId\": 3243,\n \"LoadBalancerType\": \"open\"\n }\n ],\n \"Region\": \"gz\",\n \"Edition\": \"clb-waf\",\n \"FlowMode\": 1,\n \"ClsStatus\": 1,\n \"Level\": 1,\n \"CdcClusters\": [\n \"cluster-o41khj88\"\n ],\n \"AlbType\": \"clb\",\n \"IpHeaders\": [\n \"x-myreal-ip\"\n ],\n \"EngineType\": 0,\n \"CloudType\": \"public\",\n \"Note\": \"备注\"\n },\n \"RequestId\": \"0ed6569e-f9b5-418d-8338-63eda4f2c0f7\"\n }\n}",
|
548
504
|
"title": "获取防护域名详情"
|
549
505
|
}
|
550
506
|
],
|
551
507
|
"DescribeHostLimit": [
|
552
508
|
{
|
553
509
|
"document": "验证域名是否存在",
|
554
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DescribeHostLimit\n&Domain=
|
510
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeHostLimit\n&Domain=randy.qcloudwaf.com\n&InstanceID=waf_2kxtpov60i9y7i05\n&AlbType=clb\n&<公共请求参数>",
|
555
511
|
"output": "{\n \"Response\": {\n \"RequestId\": \"97720395-7456-4a21-bcd9-1f32a7deaa90\",\n \"Error\": {\n \"Code\": \"ResourceInUse\",\n \"Message\": \"DomainExisted\"\n }\n }\n}",
|
556
512
|
"title": "验证域名是否存在"
|
557
513
|
}
|
@@ -559,8 +515,8 @@
|
|
559
515
|
"DescribeHosts": [
|
560
516
|
{
|
561
517
|
"document": "",
|
562
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DescribeHosts\n&Domain=
|
563
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"HostList\": [\n {\n \"Domain\": \"
|
518
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeHosts\n&Domain=txwaf.qcloudwaf.com\n&DomainId=waf-u23yt9Hj\n&Search=txwaf\n&InstanceID=waf_uadhiu2ads44a\n&<公共请求参数>",
|
519
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"HostList\": [\n {\n \"Domain\": \"txwaf.qcloudwaf.com\",\n \"DomainId\": \"waf-u23yt9Hj\",\n \"MainDomain\": \"qcloudwaf.com\",\n \"Mode\": 1,\n \"Status\": 1,\n \"State\": 1,\n \"Engine\": 1,\n \"IsCdn\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-ads3adsa\",\n \"LoadBalancerName\": \"80http\",\n \"ListenerId\": \"lbl-das32q\",\n \"ListenerName\": \"80http\",\n \"Vip\": \"23.25.123.23\",\n \"Vport\": 1,\n \"Region\": \"gz\",\n \"Protocol\": \"http\",\n \"Zone\": \"ap-guangzhou\",\n \"NumericalVpcId\": 54352,\n \"LoadBalancerType\": \"open\"\n }\n ],\n \"Region\": \"gz\",\n \"Edition\": \"clb-waf\",\n \"FlowMode\": 1,\n \"ClsStatus\": 1,\n \"Level\": 1,\n \"CdcClusters\": [],\n \"AlbType\": \"clb\",\n \"IpHeaders\": [\n \"x-real-ip\"\n ],\n \"EngineType\": 0,\n \"CloudType\": \"public\",\n \"Note\": \"备注\"\n }\n ],\n \"RequestId\": \"304cb36f-772a-4fdb-9b25-212d8fe5a553\"\n }\n}",
|
564
520
|
"title": "获取防护域名列表"
|
565
521
|
}
|
566
522
|
],
|
@@ -568,7 +524,7 @@
|
|
568
524
|
{
|
569
525
|
"document": "查询用户所有实例的详细信息",
|
570
526
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Offset\": 1,\n \"Limit\": 20,\n \"Filters\": [\n {\n \"Name\": \"Edition\",\n \"Values\": [],\n \"ExactMatch\": true\n },\n {\n \"Name\": \"Region\",\n \"Values\": [\n \"ap-beijing\",\n \"ap-guangzhou\"\n ],\n \"ExactMatch\": true\n },\n {\n \"Name\": \"InstanceName\",\n \"Values\": [\n \"实例\"\n ],\n \"ExactMatch\": false\n },\n {\n \"Name\": \"InstanceId\",\n \"Values\": [\n \"waf\"\n ],\n \"ExactMatch\": false\n }\n ]\n}",
|
571
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Instances\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"ResourceIds\": \"abc\",\n \"Region\": \"abc\",\n \"PayMode\": 1,\n \"RenewFlag\": 1,\n \"Mode\": 1,\n \"Level\": 1,\n \"ValidTime\": \"abc\",\n \"BeginTime\": \"abc\",\n \"DomainCount\": 1,\n \"SubDomainLimit\": 1,\n \"MainDomainCount\": 1,\n \"MainDomainLimit\": 1,\n \"MaxQPS\": 1,\n \"QPS\": {\n \"ResourceIds\": \"abc\",\n \"ValidTime\": \"abc\",\n \"RenewFlag\": 0,\n \"Count\": 0,\n \"Region\": \"abc\",\n \"BillingItem\": \"abc\"\n },\n \"DomainPkg\": {\n \"ResourceIds\": \"abc\",\n \"ValidTime\": \"abc\",\n \"RenewFlag\": 1,\n \"Count\": 1,\n \"Region\": \"abc\"\n },\n \"AppId\": 1,\n \"Edition\": \"abc\",\n \"FraudPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"InquireNum\": 0,\n \"UsedNum\": 0,\n \"RenewFlag\": 1\n },\n \"BotPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"InquireNum\": 0,\n \"UsedNum\": 0,\n \"Type\": \"abc\",\n \"RenewFlag\": 1,\n \"BotCPWaf\": 0,\n \"BotNPWaf\": 0,\n \"IsBotTrial\": 0\n },\n \"BotQPS\": {\n \"ResourceIds\": \"abc\",\n \"ValidTime\": \"abc\",\n \"Count\": 1,\n \"Region\": \"abc\",\n \"MaxBotQPS\": 1,\n \"RenewFlag\": 1\n },\n \"ElasticBilling\": 1,\n \"AttackLogPost\": 0,\n \"MaxBandwidth\": 1,\n \"APISecurity\": 1,\n \"QpsStandard\": 1,\n \"BandwidthStandard\": 1,\n \"Status\": 1,\n \"SandboxQps\": 1,\n \"IsAPISecurityTrial\": 1,\n \"MajorEventsPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"InquireNum\": 0,\n \"UsedNum\": 0,\n \"RenewFlag\": 1,\n \"BillingItem\": \"abc\",\n \"HWState\": 0\n },\n \"HybridPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"InquireNum\": 0,\n \"UsedNum\": 0,\n \"RenewFlag\": 1\n },\n \"ApiPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"InquireNum\": 0,\n \"UsedNum\": 0,\n \"RenewFlag\": 1,\n \"BillingItem\": \"abc\",\n \"IsAPISecurityTrial\": 0\n },\n \"MiniPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"Count\": 0,\n \"RenewFlag\": 1,\n \"BillingItem\": \"abc\"\n },\n \"MiniQpsStandard\": 1,\n \"MiniMaxQPS\": 1,\n \"LastQpsExceedTime\": \"abc\",\n \"MiniExtendPkg\": {\n \"ResourceIds\": \"abc\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"Count\": 0,\n \"RenewFlag\": 1,\n \"BillingItem\": \"abc\"\n },\n \"BillingItem\": \"abc\",\n \"FreeDelayFlag\": 1\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
527
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d206a27c-2c9c-4ac8-a9e0-6cdf4703247c\",\n \"Total\": 2,\n \"Instances\": [\n {\n \"AppId\": 87524381,\n \"InstanceId\": \"waf_2kw60zgy0908e8j3\",\n \"InstanceName\": \"广州双栈集群企业版\",\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3\",\n \"Edition\": \"sparta-waf\",\n \"Region\": \"gz\",\n \"PayMode\": 1,\n \"Status\": 0,\n \"RenewFlag\": 1,\n \"AttackLogPost\": 1,\n \"Level\": 3,\n \"ElasticBilling\": 100000,\n \"ValidTime\": \"2024-11-01 15:27:23\",\n \"BeginTime\": \"2022-09-01 15:27:23\",\n \"SubDomainLimit\": 30,\n \"MainDomainLimit\": 3,\n \"APISecurity\": 1,\n \"IsAPISecurityTrial\": 0,\n \"BillingItem\": \"sv_wsm_waf_package_enterprise\",\n \"FreeDelayFlag\": 0,\n \"Mode\": 1,\n \"DomainCount\": 19,\n \"MainDomainCount\": 3,\n \"MaxQPS\": 50,\n \"MaxBandwidth\": 203021,\n \"QPS\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_qps\",\n \"ValidTime\": \"2024-11-01 15:27:23\",\n \"RenewFlag\": 0,\n \"Count\": 0,\n \"Region\": \"gz\",\n \"BillingItem\": \"sv_wsm_waf_package_enterprise\"\n },\n \"BotQPS\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_botqps\",\n \"ValidTime\": \"2024-11-01 15:27:23\",\n \"Count\": 0,\n \"Region\": \"gz\",\n \"MaxBotQPS\": 50,\n \"RenewFlag\": 0\n },\n \"DomainPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_domain\",\n \"ValidTime\": \"2024-11-01 15:27:23\",\n \"RenewFlag\": 0,\n \"Count\": 1,\n \"Region\": \"gz\"\n },\n \"BotPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_bot\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2022-01-05 15:38:04\",\n \"EndTime\": \"2025-01-15 15:38:04\",\n \"Type\": \"sv_wsm_waf_scene_bot\",\n \"InquireNum\": 1,\n \"UsedNum\": 0,\n \"RenewFlag\": 0,\n \"BotCPWaf\": 0,\n \"BotNPWaf\": 0,\n \"IsBotTrial\": 0\n },\n \"FraudPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_fraud\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-06-19 19:22:59\",\n \"EndTime\": \"2024-11-01 19:22:59\",\n \"InquireNum\": 5000,\n \"UsedNum\": 37,\n \"RenewFlag\": 1\n },\n \"MajorEventsPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_major_events\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-05-16 16:57:16\",\n \"EndTime\": \"2024-08-16 16:57:16\",\n \"InquireNum\": 1000,\n \"UsedNum\": 0,\n \"BillingItem\": \"sv_wsm_waf_scene_major_events_basic\",\n \"RenewFlag\": 0,\n \"HWState\": 3\n },\n \"HybridPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_hcn\",\n \"Status\": 0,\n \"Region\": 0,\n \"BeginTime\": \"2024-05-16 16:57:16\",\n \"EndTime\": \"2024-08-16 16:57:16\",\n \"InquireNum\": 0,\n \"UsedNum\": 0,\n \"RenewFlag\": 0\n },\n \"ApiPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_api\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-04-23 00:01:51\",\n \"EndTime\": \"2024-11-01 00:01:51\",\n \"InquireNum\": 1,\n \"UsedNum\": 0,\n \"BillingItem\": \"sv_wsm_waf_scene_ent\",\n \"RenewFlag\": 1,\n \"IsAPISecurityTrial\": 0\n },\n \"MiniPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_1_mini\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-04-11 11:31:01\",\n \"EndTime\": \"2024-11-01 11:31:01\",\n \"Count\": 5,\n \"BillingItem\": \"sv_wsm_waf_scene_mini\",\n \"RenewFlag\": 1\n },\n \"MiniExtendPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_0_mini_extend\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-05-30 23:35:08\",\n \"EndTime\": \"2024-11-01 23:35:08\",\n \"Count\": 1,\n \"BillingItem\": \"sv_wsm_waf_exp_exp\",\n \"RenewFlag\": 1\n },\n \"QpsStandard\": 105000,\n \"BandwidthStandard\": 2600,\n \"SandboxQps\": 115000,\n \"LastQpsExceedTime\": \"2024-11-01 23:35:08\",\n \"MiniQpsStandard\": 473500,\n \"MiniMaxQPS\": 1\n },\n {\n \"AppId\": 87524381,\n \"InstanceId\": \"waf_2kuil2fm02vqm7z3\",\n \"InstanceName\": \"gz-Default1\",\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3\",\n \"Edition\": \"clb-waf\",\n \"Region\": \"cd,cq,gz,bj\",\n \"PayMode\": 1,\n \"Status\": 0,\n \"RenewFlag\": 1,\n \"AttackLogPost\": 1,\n \"Level\": 3,\n \"ElasticBilling\": 2510000,\n \"ValidTime\": \"2024-11-28 16:35:25\",\n \"BeginTime\": \"2021-09-17 16:35:25\",\n \"SubDomainLimit\": 130,\n \"MainDomainLimit\": 13,\n \"APISecurity\": 1,\n \"IsAPISecurityTrial\": 0,\n \"BillingItem\": \"sv_wsm_waf_package_enterprise_clb\",\n \"FreeDelayFlag\": 0,\n \"Mode\": 0,\n \"DomainCount\": 24,\n \"MainDomainCount\": 6,\n \"MaxQPS\": 24,\n \"MaxBandwidth\": 52091,\n \"QPS\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_qps\",\n \"ValidTime\": \"2024-11-18 21:22:10\",\n \"RenewFlag\": 1,\n \"Count\": 1000,\n \"Region\": \"gz\",\n \"BillingItem\": \"sv_wsm_waf_qps_ep_clb\"\n },\n \"BotQPS\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_0_botqps\",\n \"ValidTime\": \"2024-11-01 15:27:23\",\n \"Count\": 0,\n \"Region\": \"gz\",\n \"MaxBotQPS\": 50,\n \"RenewFlag\": 0\n },\n \"DomainPkg\": {\n \"ResourceIds\": \"waf_2kw60zgy0908e8j3_domain\",\n \"ValidTime\": \"2024-11-01 15:27:23\",\n \"RenewFlag\": 0,\n \"Count\": 1,\n \"Region\": \"gz\"\n },\n \"BotPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_0_bot\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2022-01-05 15:38:04\",\n \"EndTime\": \"2022-01-15 15:38:04\",\n \"Type\": \"sv_wsm_waf_scene_bot\",\n \"InquireNum\": 1,\n \"UsedNum\": 0,\n \"RenewFlag\": 0,\n \"BotCPWaf\": 0,\n \"BotNPWaf\": 0,\n \"IsBotTrial\": 0\n },\n \"FraudPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_0_fraud\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-06-19 19:22:59\",\n \"EndTime\": \"2024-11-01 19:22:59\",\n \"InquireNum\": 5000,\n \"UsedNum\": 37,\n \"RenewFlag\": 1\n },\n \"MajorEventsPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_0_major_events\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-05-16 16:57:16\",\n \"EndTime\": \"2024-08-16 16:57:16\",\n \"InquireNum\": 1000,\n \"UsedNum\": 0,\n \"BillingItem\": \"sv_wsm_waf_scene_major_events_basic\",\n \"RenewFlag\": 0,\n \"HWState\": 3\n },\n \"HybridPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_0_hcn\",\n \"Status\": 0,\n \"Region\": 1,\n \"BeginTime\": \"2023-09-29 11:16:20\",\n \"EndTime\": \"2024-09-29 11:16:20\",\n \"InquireNum\": 1,\n \"UsedNum\": 0,\n \"RenewFlag\": 0\n },\n \"ApiPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_api\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2023-11-06 20:34:31\",\n \"EndTime\": \"2024-11-18 16:35:25\",\n \"InquireNum\": 1,\n \"UsedNum\": 0,\n \"BillingItem\": \"sv_wsm_waf_scene_cent\",\n \"RenewFlag\": 1,\n \"IsAPISecurityTrial\": 0\n },\n \"MiniPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_1_mini\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-04-11 11:31:01\",\n \"EndTime\": \"2024-11-01 11:31:01\",\n \"Count\": 5,\n \"BillingItem\": \"sv_wsm_waf_scene_mini\",\n \"RenewFlag\": 1\n },\n \"MiniExtendPkg\": {\n \"ResourceIds\": \"waf_2kuil2fm02vqm7z3_0_mini_extend\",\n \"Status\": 1,\n \"Region\": 1,\n \"BeginTime\": \"2024-05-30 23:35:08\",\n \"EndTime\": \"2024-11-01 23:35:08\",\n \"Count\": 1,\n \"BillingItem\": \"sv_wsm_waf_exp_exp\",\n \"RenewFlag\": 1\n },\n \"QpsStandard\": 11000,\n \"BandwidthStandard\": 350,\n \"SandboxQps\": 18000,\n \"LastQpsExceedTime\": \"2024-11-01 23:35:08\",\n \"MiniQpsStandard\": 0,\n \"MiniMaxQPS\": 0\n }\n ]\n }\n}",
|
572
528
|
"title": "查询用户所有实例的详细信息"
|
573
529
|
}
|
574
530
|
],
|
@@ -576,7 +532,7 @@
|
|
576
532
|
{
|
577
533
|
"document": "Waf ip黑名单查询",
|
578
534
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribeIpAccessControl\r\n&Domain=www.test.com\r\n&Count=1\r\n&ActionType=42\r\n&Limit=20\r\n&OffSet=0\r\n&Sort=ts_version:-1\r\n&<公共请求参数>",
|
579
|
-
"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 }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"c937ce96-cf53-4df8-b288-07c6e092072d\"\n }\n}",
|
535
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"ActionType\": 42,\n \"Ip\": \"1.1.1.1\",\n \"Note\": \"note\",\n \"Source\": \"custom\",\n \"TsVersion\": 1579074751421,\n \"ValidTs\": 1579017599\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"c937ce96-cf53-4df8-b288-07c6e092072d\"\n }\n}",
|
580
536
|
"title": "Waf ip黑白名单查询"
|
581
537
|
}
|
582
538
|
],
|
@@ -599,8 +555,8 @@
|
|
599
555
|
"DescribeObjects": [
|
600
556
|
{
|
601
557
|
"document": "",
|
602
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeObjects\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"
|
603
|
-
"output": "{\n \"Response\": {\n \"ClbObjects\": [\n {\n \"
|
558
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeObjects\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"Status\",\n \"Values\": [\n \"1\"\n ],\n \"ExactMatch\": true\n }\n ]\n}",
|
559
|
+
"output": "{\n \"Response\": {\n \"ClbObjects\": [\n {\n \"ApiStatus\": 0,\n \"BotStatus\": 0,\n \"ClsStatus\": 0,\n \"InstanceId\": \"waf_2kuil2ft02vqm7z3\",\n \"InstanceLevel\": 3,\n \"InstanceName\": \"gz-Default1\",\n \"IpHeaders\": [\n \"spheader\",\n \"myheader\"\n ],\n \"NumericalVpcId\": -1,\n \"ObjectFlowMode\": 1,\n \"ObjectId\": \"lb-70mdt3it\",\n \"ObjectName\": \"zunhua-multi-test_pjk1\",\n \"PostCKafkaStatus\": 0,\n \"PostCLSStatus\": 0,\n \"PreciseDomains\": [],\n \"PrivateIp\": [\n \"121.123.11.7\"\n ],\n \"Proxy\": 3,\n \"PublicIp\": [\n \"139.186.100.71\"\n ],\n \"Region\": \"ap-chongqing\",\n \"Status\": 1,\n \"Type\": \"CLB\",\n \"VirtualDomain\": \"lb-70mdt3it.clb-default.qcloudwaf.com\",\n \"Vpc\": \"vpc-jl1cw1e9\",\n \"VpcName\": \"Default-VPC\"\n }\n ],\n \"RequestId\": \"6ceb784e-b440-4cac-81ee-0b87ffe81e6f\"\n }\n}",
|
604
560
|
"title": "查看对象列表"
|
605
561
|
}
|
606
562
|
],
|
@@ -608,7 +564,7 @@
|
|
608
564
|
{
|
609
565
|
"document": "",
|
610
566
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePeakPoints\n<公共请求参数>\n\n{\n \"FromTime\": \"2021-07-21 00:00:00\",\n \"ToTime\": \"2021-07-21 23:59:59\"\n}",
|
611
|
-
"output": "{\n \"Response\": {\n \"Points\": [\n {\n \"Time\": 1626908400,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908460,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908520,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908580,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908640,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908700,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908760,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908820,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908880,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908940,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626909000,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n }\n ],\n \"RequestId\": \"
|
567
|
+
"output": "{\n \"Response\": {\n \"Points\": [\n {\n \"Time\": 1626908400,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908460,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908520,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908580,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908640,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908700,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908760,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908820,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908880,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626908940,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n },\n {\n \"Time\": 1626909000,\n \"Access\": 0,\n \"BotAccess\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"Down\": 0,\n \"Up\": 0,\n \"StatusServerError\": 1,\n \"StatusClientError\": 1,\n \"StatusRedirect\": 1,\n \"StatusOk\": 1,\n \"UpstreamServerError\": 1,\n \"UpstreamClientError\": 1,\n \"UpstreamRedirect\": 1\n }\n ],\n \"RequestId\": \"ead32d5d-a9ac-496f-b8e3-d3a92f1fb1ce\"\n }\n}",
|
612
568
|
"title": "查询业务和攻击概要趋势"
|
613
569
|
}
|
614
570
|
],
|
@@ -616,7 +572,7 @@
|
|
616
572
|
{
|
617
573
|
"document": "获取业务和攻击概览峰值",
|
618
574
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribePeakValue\n&FromTime=2019-12-30 00:00:00\n&ToTime=2019-12-30 23:59:59\n&Domain=abc.qcloudwaf.com\n&<公共请求参数>",
|
619
|
-
"output": "{\n \"Response\": {\n \"Access\": 0,\n \"Up\": 0,\n \"Down\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"RequestId\": \"
|
575
|
+
"output": "{\n \"Response\": {\n \"Access\": 0,\n \"Up\": 0,\n \"Down\": 0,\n \"Attack\": 0,\n \"Cc\": 0,\n \"RequestId\": \"ead32d5d-a9ac-496f-b8e3-d3a92f1fb1ce\"\n }\n}",
|
620
576
|
"title": "获取业务和攻击概览峰值"
|
621
577
|
}
|
622
578
|
],
|
@@ -624,14 +580,14 @@
|
|
624
580
|
{
|
625
581
|
"document": "",
|
626
582
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicyStatus\n<公共请求参数>\n\n{\n \"Domain\": \"test.com\",\n \"Edition\": \"saas-waf\"\n}",
|
627
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"b7984267-1b60-4979-accb-8f1ca497f827\",\n \"InstanceId\": \"
|
583
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b7984267-1b60-4979-accb-8f1ca497f827\",\n \"InstanceId\": \"avcsm-1ads\",\n \"Status\": 0\n }\n}",
|
628
584
|
"title": "DescribePolicyStatus"
|
629
585
|
}
|
630
586
|
],
|
631
587
|
"DescribePorts": [
|
632
588
|
{
|
633
589
|
"document": "",
|
634
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePorts\n<公共请求参数>\n\n{\n \"InstanceID\": \"
|
590
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePorts\n<公共请求参数>\n\n{\n \"InstanceID\": \"waf_2kw60zgy0908e8j3\",\n \"Edition\": \"sparta-waf\"\n}",
|
635
591
|
"output": "{\n \"Response\": {\n \"HttpPorts\": [\n \"80\",\n \"8080\"\n ],\n \"HttpsPorts\": [\n \"443\",\n \"8443\"\n ],\n \"RequestId\": \"ae989097-a74b-448a-94e6-4e87366b173b\"\n }\n}",
|
636
592
|
"title": "获取防护端口列表"
|
637
593
|
}
|
@@ -639,8 +595,8 @@
|
|
639
595
|
"DescribeProtectionModes": [
|
640
596
|
{
|
641
597
|
"document": "查询Tiga引擎大类规则及其防护模式",
|
642
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProtectionModes\n<公共请求参数>\n\n{\n \"Edition\": \"
|
643
|
-
"output": "{\n \"Response\": {\n \"Modes\": [\n {\n \"TypeID\": \"
|
598
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProtectionModes\n<公共请求参数>\n\n{\n \"Edition\": \"sparta-waf\",\n \"Domain\": \"test.domain.com\"\n}",
|
599
|
+
"output": "{\n \"Response\": {\n \"Modes\": [\n {\n \"Mode\": 1,\n \"TypeID\": \"010000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"020000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"030000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"040000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"050000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"060000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"090000000\"\n },\n {\n \"Mode\": 1,\n \"TypeID\": \"110000000\"\n }\n ],\n \"RequestId\": \"a73259ca-b59a-44e4-ab6d-13010a3e00ea\"\n }\n}",
|
644
600
|
"title": "查询Tiga引擎大类规则及其防护模式"
|
645
601
|
}
|
646
602
|
],
|
@@ -652,25 +608,27 @@
|
|
652
608
|
"title": "DescribeRuleLimit"
|
653
609
|
}
|
654
610
|
],
|
655
|
-
"
|
611
|
+
"DescribeScanIp": [
|
656
612
|
{
|
657
613
|
"document": "",
|
658
|
-
"input": "
|
659
|
-
"output": "{\
|
660
|
-
"title": "
|
661
|
-
}
|
614
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanIp\n<公共请求参数>\n\n{\n \"Ip\": \"1.1.1.1\"\n}",
|
615
|
+
"output": "{\n \"Response\": {\n \"Bussiness\": \"微信支付\",\n \"Characteristic\": \"腾讯业务回调\",\n \"Descibe\": \"微信支付通过回调出口 IP 持续对网络环境进行监测,以达到优化回调效率、提升用户体验的目的。\",\n \"Referer\": \"https://developers.weixin.qq.com/community/develop/doc/000a2e2dcd48c0f126f08ef4562000\",\n \"Demo\": \"业务回调\",\n \"Target\": \"数据传输\",\n \"Purpose\": \"保障回调顺畅、服务稳定\",\n \"Announcement\": \"此 IP为 微信支付 的扫描 IP,将定期对您的 数据传输 进行检测,以 保障回调顺畅、服务稳定,若您发现来自此 IP 的扫描行为,请进行放行或加白...\",\n \"RequestId\": \"aqdraqerqw12313sdff\"\n }\n}",
|
616
|
+
"title": "查询扫描ip"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"DescribeSession": [
|
662
620
|
{
|
663
621
|
"document": "",
|
664
622
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribeSession\r\n&Domain=test.com\r\n&Edition=clb-waf\r\n&<公共请求参数>",
|
665
|
-
"output": "{\n \"Response\": {\n \"Data\":
|
666
|
-
"title": "
|
623
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"SessionId\": 2000003356,\n \"SessionName\": \"test-session\",\n \"Category\": \"match\",\n \"KeyOrStartMat\": \"PHPSESSID=\",\n \"EndMat\": \";\",\n \"StartOffset\": \"-1\",\n \"EndOffset\": \"-1\",\n \"Source\": \"cookie\",\n \"TsVersion\": \"1727147589924\",\n \"SessionInUsed\": false,\n \"RelatedRuleID\": []\n }\n ]\n },\n \"RequestId\": \"88d80896-a330-4a7f-a72f-f5175a20ebcc\"\n }\n}",
|
624
|
+
"title": "Waf 会话定义查询接口"
|
667
625
|
}
|
668
626
|
],
|
669
627
|
"DescribeSpartaProtectionInfo": [
|
670
628
|
{
|
671
629
|
"document": "",
|
672
630
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribeSpartaProtectionInfo\n&Domain=www.test1.com\n&Edition=sprata-waf\n&<公共请求参数>",
|
673
|
-
"output": "{\n \"Response\": {\n \"Cert\": \"
|
631
|
+
"output": "{\n \"Response\": {\n \"Cert\": \"certInfo\",\n \"CertType\": \"1\",\n \"Cname\": \"test.cname\",\n \"Domain\": \"www.test1.com\",\n \"DomainId\": \"mjhkiuy10ma\",\n \"Engine\": \"1\",\n \"GrayAreas\": [\n \"n\"\n ],\n \"HttpsRewrite\": \"0\",\n \"HttpsUpstreamPort\": \"0\",\n \"IsCdn\": \"0\",\n \"IsGray\": \"0\",\n \"IsHttp2\": \"0\",\n \"IsWebsocket\": \"0\",\n \"LoadBalance\": \"0\",\n \"Mode\": \"1\",\n \"Ports\": [],\n \"PrivateKey\": \"privatekeyvalue\",\n \"RequestId\": \"1548ac10-3e48-4cee-b71b-fc1071421761\",\n \"SrcList\": [\n \"1.1.1.\"\n ],\n \"Sslid\": \"sslid\",\n \"Status\": \"2\",\n \"UpstreamDomain\": \"upstreamDomain\",\n \"UpstreamScheme\": \"http\",\n \"UpstreamType\": \"0\",\n \"Level\": \"200\",\n \"IsKeepAlive\": \"1\",\n \"Anycast\": \"1\"\n }\n}",
|
674
632
|
"title": "waf斯巴达-获取防护域名信息"
|
675
633
|
}
|
676
634
|
],
|
@@ -678,20 +636,14 @@
|
|
678
636
|
{
|
679
637
|
"document": "",
|
680
638
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTlsVersion\n<公共请求参数>\n\n{}",
|
681
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
682
|
-
"title": "TLS版本"
|
683
|
-
},
|
684
|
-
{
|
685
|
-
"document": "",
|
686
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTlsVersion\n<公共请求参数>\n\n{}",
|
687
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"TLS\": [\n {\n \"VersionId\": 0,\n \"VersionName\": \"TLSv1.0;TLSv1.1;TLSv1.2;TLSv1.3\"\n },\n {\n \"VersionId\": 1,\n \"VersionName\": \"TLSv1.1;TLSv1.2;TLSv1.3\"\n },\n {\n \"VersionId\": 2,\n \"VersionName\": \"TLSv1.2;TLSv1.3\"\n },\n {\n \"VersionId\": 3,\n \"VersionName\": \"TLSv1.0;TLSv1.1;TLSv1.2\"\n },\n {\n \"VersionId\": 4,\n \"VersionName\": \"TLSv1.1;TLSv1.2\"\n },\n {\n \"VersionId\": 5,\n \"VersionName\": \"TLSv1.2\"\n }\n ]\n }\n}",
|
688
|
-
"title": "查询用户TLS版本"
|
639
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4740ae4a-ea83-4f22-bb51-465c1623eaa1\",\n \"TLS\": [\n {\n \"VersionId\": 3,\n \"VersionName\": \"TLSv1.0;TLSv1.1;TLSv1.2\"\n },\n {\n \"VersionId\": 4,\n \"VersionName\": \"TLSv1.1;TLSv1.2\"\n },\n {\n \"VersionId\": 5,\n \"VersionName\": \"TLSv1.2\"\n },\n {\n \"VersionId\": 0,\n \"VersionName\": \"TLSv1.0;TLSv1.1;TLSv1.2;TLSv1.3\"\n },\n {\n \"VersionId\": 1,\n \"VersionName\": \"TLSv1.1;TLSv1.2;TLSv1.3\"\n },\n {\n \"VersionId\": 2,\n \"VersionName\": \"TLSv1.2;TLSv1.3\"\n }\n ]\n }\n}",
|
640
|
+
"title": "查询支持的TLS版本"
|
689
641
|
}
|
690
642
|
],
|
691
643
|
"DescribeTopAttackDomain": [
|
692
644
|
{
|
693
645
|
"document": "",
|
694
|
-
"input": "
|
646
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopAttackDomain\n<公共请求参数>\n\n{\n \"FromTime\": \"2024-11-03 00:00:00\",\n \"ToTime\": \"2024-11-03 15:17:00\"\n}",
|
695
647
|
"output": "{\n \"Response\": {\n \"CC\": [],\n \"Web\": [],\n \"RequestId\": \"a4010dd1-d24b-43f5-bab4-8a6b204835b7\"\n }\n}",
|
696
648
|
"title": "查询Top5的攻击域名"
|
697
649
|
}
|
@@ -700,7 +652,7 @@
|
|
700
652
|
{
|
701
653
|
"document": "",
|
702
654
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribeUserCdcClbWafRegions\n&<公共请求参数>",
|
703
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Region\": \"gz\",\n \"Clusters\": [\n {\n \"Id\": \"cluster-o41khj88\",\n \"Name\": \"
|
655
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Region\": \"gz\",\n \"Clusters\": [\n {\n \"Id\": \"cluster-o41khj88\",\n \"Name\": \"cltregiona\"\n },\n {\n \"Id\": \"cluster-o41khj99\",\n \"Name\": \"cltregionb\"\n }\n ]\n }\n ],\n \"RequestId\": \"2957f686-b290-44ef-a742-b1a169bebae2\"\n }\n}",
|
704
656
|
"title": "获取CDC场景下对客户已经开放的负载均衡型WAF的地域"
|
705
657
|
}
|
706
658
|
],
|
@@ -716,31 +668,47 @@
|
|
716
668
|
{
|
717
669
|
"document": "",
|
718
670
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserDomainInfo\n<公共请求参数>\n\n{}",
|
719
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"UsersInfo\": [\n {\n \"Appid\": 251197211,\n \"Domain\": \"2333.douban.com\",\n \"DomainId\": \"45bdad0d-bb98-4cb3-8e5a-ab6e2992\",\n \"InstanceId\": \"Swaf_0000001g0\",\n \"InstanceName\": \"\",\n \"Edition\": \"\",\n \"Level\": \"1\",\n \"WriteConfig\": \"{\\\"EnableHeaders\\\": 1,\\\"EnableBody\\\": 1}\",\n \"Cls\": 0,\n \"CloudType\": \"\"\n },\n {\n \"Appid\": 251197211,\n \"Domain\": \"engine_test_dev2.qcloudwaf.com\",\n \"DomainId\": \"205eeb7e-1a5c-4f54-aec9-00c97d49\",\n \"InstanceId\": \"
|
671
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"UsersInfo\": [\n {\n \"Appid\": 251197211,\n \"Domain\": \"2333.douban.com\",\n \"DomainId\": \"45bdad0d-bb98-4cb3-8e5a-ab6e2992\",\n \"InstanceId\": \"Swaf_0000001g0\",\n \"InstanceName\": \"dzins\",\n \"Edition\": \"sparta-waf\",\n \"Level\": \"1\",\n \"WriteConfig\": \"{\\\"EnableHeaders\\\": 1,\\\"EnableBody\\\": 1}\",\n \"Cls\": 0,\n \"CloudType\": \"public\"\n },\n {\n \"Appid\": 251197211,\n \"Domain\": \"engine_test_dev2.qcloudwaf.com\",\n \"DomainId\": \"205eeb7e-1a5c-4f54-aec9-00c97d49\",\n \"InstanceId\": \"waf_2kgsd132421\",\n \"InstanceName\": \"cdins\",\n \"Edition\": \"sparta-waf\",\n \"Level\": \"4\",\n \"WriteConfig\": \"{\\\"EnableBody\\\": 0}\",\n \"Cls\": 1,\n \"CloudType\": \"public\"\n },\n {\n \"Appid\": 251197211,\n \"Domain\": \"413001.qcloudwaf.com\",\n \"DomainId\": \"c6458fdaa4bf5045bf069c2b549b5f08\",\n \"InstanceId\": \"waf_312f134bdf\",\n \"InstanceName\": \"ModifyName\",\n \"Edition\": \"sparta-waf\",\n \"Level\": \"1\",\n \"WriteConfig\": \"{\\\"EnableHeaders\\\": 1,\\\"EnableBody\\\": 1}\",\n \"Cls\": 0,\n \"CloudType\": \"public\"\n }\n ]\n }\n}",
|
720
672
|
"title": "查询saas和clb域名信息"
|
721
673
|
}
|
722
674
|
],
|
723
675
|
"DescribeUserLevel": [
|
724
676
|
{
|
725
677
|
"document": "",
|
726
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserLevel\n<公共请求参数>\n\n{\n \"Domain\": \"\"\n}",
|
727
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"Level\": 300\n }\n}",
|
678
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserLevel\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\"\n}",
|
679
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a4010dd1-d24b-43f5-bab4-8a6b204835b7\",\n \"Level\": 300\n }\n}",
|
728
680
|
"title": "查询示例"
|
729
681
|
}
|
730
682
|
],
|
683
|
+
"DescribeUserSignatureClass": [
|
684
|
+
{
|
685
|
+
"document": "查询Tiga引擎规则类型及状态",
|
686
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserSignatureClass\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\"\n}",
|
687
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"RuleTypeList\": [\n {\n \"TypeID\": \"10000000\",\n \"Name\": \"rulename\",\n \"Desc\": \"description\",\n \"RuleTypeStatus\": 0,\n \"ActiveRuleCount\": 10,\n \"TotalRuleCount\": 12\n }\n ],\n \"RequestId\": \"104cf2f9-c733-4a18-8905-372553b6ed80\"\n }\n}",
|
688
|
+
"title": "查询Tiga引擎规则类型及状态"
|
689
|
+
}
|
690
|
+
],
|
731
691
|
"DescribeUserSignatureRule": [
|
732
692
|
{
|
733
693
|
"document": "查询示例",
|
734
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserSignatureRule\n<公共请求参数>\n\n{\n \"Domain\": \"\",\n \"Offset\": 1,\n \"Limit\": 20,\n \"Order\": \"asc\",\n \"By\": \"signature_id\",\n \"Filters\": [\n {\n \"Name\": \"MainClassID\",\n \"Values\": [\n \"010000000\"\n ],\n \"ExactMatch\": false\n }\n ]\n}",
|
735
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Rules\": [\n {\n \"ID\": \"
|
694
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserSignatureRule\n<公共请求参数>\n\n{\n \"Domain\": \"qcloudwaf.com\",\n \"Offset\": 1,\n \"Limit\": 20,\n \"Order\": \"asc\",\n \"By\": \"signature_id\",\n \"Filters\": [\n {\n \"Name\": \"MainClassID\",\n \"Values\": [\n \"010000000\"\n ],\n \"ExactMatch\": false\n }\n ]\n}",
|
695
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Rules\": [\n {\n \"ID\": \"0100000\",\n \"Status\": 0,\n \"MainClassID\": \"02000000\",\n \"SubClassID\": \"03000000\",\n \"CveID\": \"cve-11111\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ModifyTime\": \"2020-09-22T00:00:00+00:00\",\n \"MainClassName\": \"xss\",\n \"SubClassName\": \"xss-1\",\n \"Description\": \"xss\",\n \"Reason\": 0,\n \"RiskLevel\": 0\n }\n ],\n \"RequestId\": \"xxx-iiiiii\"\n }\n}",
|
736
696
|
"title": "查询示例"
|
737
697
|
}
|
738
698
|
],
|
699
|
+
"DescribeUserSignatureRuleV2": [
|
700
|
+
{
|
701
|
+
"document": "获取用户特征规则列表",
|
702
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserSignatureRuleV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"By\": \"CreateTime\",\n \"Order\": \"desc\",\n \"Filters\": [\n {\n \"Name\": \"MainClassID\",\n \"Values\": [\n \"010000000\"\n ],\n \"ExactMatch\": true\n }\n ]\n}",
|
703
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Rules\": [\n {\n \"CreateTime\": \"2024-08-28T14:38:43+08:00\",\n \"CveID\": \"\",\n \"Description\": \"这条规则用于防止黑客通过注入生成一\\\"onload\\\"消息的处理函数,攻击可出现于HTTP请求的URL或者HTTP参数中\",\n \"ID\": \"10000041\",\n \"MainClassID\": \"010000000\",\n \"MainClassName\": \"XSS攻击\",\n \"ModifyTime\": \"2024-08-28T14:56:03+08:00\",\n \"Reason\": 0,\n \"RiskLevel\": 1,\n \"Status\": 1,\n \"SubClassID\": \"000000000\",\n \"SubClassName\": \"000000000\"\n },\n {\n \"CreateTime\": \"2024-03-06T10:13:07+08:00\",\n \"CveID\": \"\",\n \"Description\": \"本规则用于检测XSS注入拼接行为,本规则匹配的目标是ARGUMENT\",\n \"ID\": \"10000261\",\n \"MainClassID\": \"010000000\",\n \"MainClassName\": \"XSS攻击\",\n \"ModifyTime\": \"2024-06-24T11:13:25+08:00\",\n \"Reason\": 0,\n \"RiskLevel\": 1,\n \"Status\": 1,\n \"SubClassID\": \"000000000\",\n \"SubClassName\": \"000000000\"\n }\n ],\n \"RequestId\": \"dcd69dd3-94ef-4d66-88fb-625b81d11e47\"\n }\n}",
|
704
|
+
"title": "获取用户特征规则列表"
|
705
|
+
}
|
706
|
+
],
|
739
707
|
"DescribeVipInfo": [
|
740
708
|
{
|
741
709
|
"document": "查询实例的vip信息",
|
742
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVipInfo\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"
|
743
|
-
"output": "{\n \"Response\": {\n \"VipInfo\": [\n {\n \"Vip\": \"
|
710
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVipInfo\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"waf_7j8fsghd0080b\"\n ]\n}",
|
711
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"31fc0e49-7472-4ee4-a1a1-391b96119c7e\",\n \"VipInfo\": [\n {\n \"Vip\": \"120.23.93.35\",\n \"InstanceId\": \"waf_7j8fsghd0080b\",\n \"InstanceCreateTime\": \"2020-08-19T14:41:10+08:00\",\n \"Region\": \"ap-beijing\",\n \"RegionId\": 8,\n \"ISP\": \"BGP\",\n \"VipType\": \"ipv4\",\n \"AddressName\": \"fa44989badbc9e09-cl2.qcloudwzgj.com\"\n }\n ]\n }\n}",
|
744
712
|
"title": "查询vip"
|
745
713
|
}
|
746
714
|
],
|
@@ -756,7 +724,7 @@
|
|
756
724
|
{
|
757
725
|
"document": "",
|
758
726
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWafAutoDenyStatus\n<公共请求参数>\n\n{}",
|
759
|
-
"output": "{\n \"Response\": {\n \"WafAutoDenyDetails\": {\n \"
|
727
|
+
"output": "{\n \"Response\": {\n \"WafAutoDenyDetails\": {\n \"AttackTags\": [\n \"idc\"\n ],\n \"AttackThreshold\": 1,\n \"DefenseStatus\": 1,\n \"TimeThreshold\": 1,\n \"DenyTimeThreshold\": 1,\n \"LastUpdateTime\": \"2020-09-22T00:00:00+00:00\"\n },\n \"RequestId\": \"053d6b22-87cd-4a12-ad89-8460e819ebf5\"\n }\n}",
|
760
728
|
"title": "描述WAF自动封禁模块详情"
|
761
729
|
}
|
762
730
|
],
|
@@ -764,7 +732,7 @@
|
|
764
732
|
{
|
765
733
|
"document": "描述WAF威胁情报封禁模块详情",
|
766
734
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWafThreatenIntelligence\n<公共请求参数>\n\n{}",
|
767
|
-
"output": "{\n \"Response\": {\n \"WafThreatenIntelligenceDetails\": {\n \"DefenseStatus\": 0,\n \"LastUpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"Tags\": [\n \"global\"\n ]\n },\n \"RequestId\": \"1234\"\n }\n}",
|
735
|
+
"output": "{\n \"Response\": {\n \"WafThreatenIntelligenceDetails\": {\n \"DefenseStatus\": 0,\n \"LastUpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"Tags\": [\n \"global\"\n ]\n },\n \"RequestId\": \"req-1234\"\n }\n}",
|
768
736
|
"title": "描述WAF威胁情报封禁模块详情"
|
769
737
|
}
|
770
738
|
],
|
@@ -772,7 +740,7 @@
|
|
772
740
|
{
|
773
741
|
"document": "",
|
774
742
|
"input": "https://waf.tencentcloudapi.com/?Action=DescribeWebshellStatus\r\n&Domain=www.qcloudwaf.com\r\n&<公共请求参数>",
|
775
|
-
"output": "{\
|
743
|
+
"output": "{\n \"Response\": {\n \"Domain\": \"www.test.com\",\n \"Status\": 1,\n \"RequestId\": \"2d510f3e-9ac9-4282-a62d-9efa61c9825d\"\n }\n}",
|
776
744
|
"title": "获取域名webshell 状态"
|
777
745
|
}
|
778
746
|
],
|
@@ -787,8 +755,8 @@
|
|
787
755
|
"GenerateDealsAndPayNew": [
|
788
756
|
{
|
789
757
|
"document": "下单样例",
|
790
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenerateDealsAndPayNew\n<公共请求参数>\n\n{\n \"Goods\": [\n {\n \"GoodsCategoryId\":
|
791
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"DealNames\": [\n \"
|
758
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenerateDealsAndPayNew\n<公共请求参数>\n\n{\n \"Goods\": [\n {\n \"GoodsCategoryId\": 101201,\n \"GoodsNum\": 1,\n \"GoodsDetail\": {\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\",\n \"SubProductCode\": \"sp_wsm_waf_premium_clb\",\n \"Pid\": 0,\n \"InstanceName\": \"anquan\",\n \"AutoRenewFlag\": 1,\n \"RealRegion\": 1,\n \"LabelTypes\": [\n \"sv_wsm_waf_package_premium_clb\"\n ],\n \"LabelCounts\": [\n 1\n ],\n \"CurDeadline\": \"2024-07-14 14:24:26\",\n \"InstanceId\": \"waf_22piczpx8beg7rht\"\n },\n \"RegionId\": 1\n }\n ]\n}",
|
759
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DealNames\": [\n \"20211127383000722205671\"\n ],\n \"BigDealId\": \"20211127383000722205661\"\n },\n \"Status\": 0,\n \"ReturnMessage\": \"success\",\n \"InstanceId\": \"waf_22piczpx8beg7rht\",\n \"RequestId\": \"b705af50-606d-46a7-8cb6-617f7592ed4e\"\n }\n}",
|
792
760
|
"title": "下单样例"
|
793
761
|
}
|
794
762
|
],
|
@@ -796,22 +764,22 @@
|
|
796
764
|
{
|
797
765
|
"document": "",
|
798
766
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAttackDownloadRecords\n<公共请求参数>\n\n{}",
|
799
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Id\": 100003,\n \"TaskName\": \"20201027-fuqian\",\n \"TaskId\": \"a5b05859-54d5-4cb2-b1af-c19b5195758b\",\n \"Host\": \"all\",\n \"CreateTime\": \"2020-10-28 00:36:19\",\n \"ModifyTime\": \"2020-10-28 01:04:15\",\n \"ExpireTime\": \"2020-11-04 00:36:19\",\n \"Count\": 752507,\n \"TotalCount\": 752507,\n \"Status\": 1,\n \"Url\": \"https://log-1256704386.cos.ap-guangzhou.myqcloud.com/cls/a5b05859-54d5-4cb2-b1af-c19b5195758b.zip\"\n },\n {\n \"Id\": 100004,\n \"TaskName\": \"20201027-fuqian\",\n \"TaskId\": \"6d68a0a5-c646-4b7a-ba95-f36b79f2921d\",\n \"Host\": \"all\",\n \"CreateTime\": \"2020-10-28 10:55:07\",\n \"ModifyTime\": \"2020-10-28 10:58:47\",\n \"ExpireTime\": \"2020-11-04 10:55:07\",\n \"Count\": 150000,\n \"TotalCount\": 150000,\n \"Status\": 4,\n \"Url\": \"\"\n }\n ],\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
767
|
+
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Id\": 100003,\n \"TaskName\": \"20201027-fuqian\",\n \"TaskId\": \"a5b05859-54d5-4cb2-b1af-c19b5195758b\",\n \"Host\": \"all\",\n \"CreateTime\": \"2020-10-28 00:36:19\",\n \"ModifyTime\": \"2020-10-28 01:04:15\",\n \"ExpireTime\": \"2020-11-04 00:36:19\",\n \"Count\": 752507,\n \"TotalCount\": 752507,\n \"Status\": 1,\n \"Url\": \"https://log-1256704386.cos.ap-guangzhou.myqcloud.com/cls/a5b05859-54d5-4cb2-b1af-c19b5195758b.zip\"\n },\n {\n \"Id\": 100004,\n \"TaskName\": \"20201027-fuqian\",\n \"TaskId\": \"6d68a0a5-c646-4b7a-ba95-f36b79f2921d\",\n \"Host\": \"all\",\n \"CreateTime\": \"2020-10-28 10:55:07\",\n \"ModifyTime\": \"2020-10-28 10:58:47\",\n \"ExpireTime\": \"2020-11-04 10:55:07\",\n \"Count\": 150000,\n \"TotalCount\": 150000,\n \"Status\": 4,\n \"Url\": \"/url\"\n }\n ],\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
800
768
|
"title": "查询下载攻击日志任务记录列表"
|
801
769
|
}
|
802
770
|
],
|
803
771
|
"GetAttackHistogram": [
|
804
772
|
{
|
805
773
|
"document": "",
|
806
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAttackHistogram\n<公共请求参数>\n\n{\n \"Domain\": \"
|
807
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
774
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAttackHistogram\n<公共请求参数>\n\n{\n \"Domain\": \"waf.com\",\n \"StartTime\": \"2020-09-22 00:00:00\",\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"QueryString\": \"bot:0\"\n}",
|
775
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"977c060f-4db5-4a48-95a1-bc4c7b141276\",\n \"Data\": [\n {\n \"Count\": 0,\n \"TimeStamp\": 1598544000\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598545800\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598547600\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598549400\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598551200\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598553000\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598554800\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598556600\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598558400\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598560200\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598562000\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598563800\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598565600\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598567400\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598569200\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598571000\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598572800\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598574600\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598576400\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598578200\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598580000\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598581800\n },\n {\n \"Count\": 17,\n \"TimeStamp\": 1598583600\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598585400\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598587200\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598589000\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598590800\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598592600\n },\n {\n \"Count\": 0,\n \"TimeStamp\": 1598594400\n }\n ],\n \"Period\": 1800,\n \"TotalCount\": 17\n }\n}",
|
808
776
|
"title": "攻击日志统计详情"
|
809
777
|
}
|
810
778
|
],
|
811
779
|
"GetAttackTotalCount": [
|
812
780
|
{
|
813
781
|
"document": "",
|
814
|
-
"input": "
|
782
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAttackTotalCount\n<公共请求参数>\n\n{\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"Domain\": \"waf.com\",\n \"QueryString\": \"bot:1\"\n}",
|
815
783
|
"output": "{\n \"Response\": {\n \"TotalCount\": 271652,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
816
784
|
"title": "攻击总次数"
|
817
785
|
}
|
@@ -819,23 +787,23 @@
|
|
819
787
|
"GetInstanceQpsLimit": [
|
820
788
|
{
|
821
789
|
"document": "获取qps 弹性默认值",
|
822
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetInstanceQpsLimit\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
823
|
-
"output": "{\n \"Response\": {\n \"QpsData\": {\n \"ElasticBillingDefault\": 1,\n \"ElasticBillingMin\": 1,\n \"ElasticBillingMax\": 1\n },\n \"RequestId\": \"
|
790
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetInstanceQpsLimit\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_22piczpx8beg7rht\"\n}",
|
791
|
+
"output": "{\n \"Response\": {\n \"QpsData\": {\n \"ElasticBillingDefault\": 1,\n \"ElasticBillingMin\": 1,\n \"ElasticBillingMax\": 1,\n \"QPSExtendMax\": 1,\n \"QPSExtendIntlMax\": 1\n },\n \"RequestId\": \"d55b94a8-07bb-4326-b82f-e6678151afe0\"\n }\n}",
|
824
792
|
"title": "获取qps 弹性默认值"
|
825
793
|
}
|
826
794
|
],
|
827
795
|
"ImportIpAccessControl": [
|
828
796
|
{
|
829
797
|
"document": "",
|
830
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"Data\": [\n {\n \"IpList\": [\n \"2.3.4.5\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"\"\n },\n {\n \"IpList\": [\n \"2.3.4.6\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"\"\n }\n ],\n \"InstanceId\": \"waf_2kxt4nou00atrvn1\",\n \"SourceType\": \"custom\"\n}",
|
831
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
798
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"Data\": [\n {\n \"IpList\": [\n \"2.3.4.5\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"note\"\n },\n {\n \"IpList\": [\n \"2.3.4.6\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"note\"\n }\n ],\n \"InstanceId\": \"waf_2kxt4nou00atrvn1\",\n \"SourceType\": \"custom\"\n}",
|
799
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"26b0ac84-cb08-49d2-9899-4206d1849a41\"\n }\n}",
|
832
800
|
"title": "导入IP黑白名单"
|
833
801
|
}
|
834
802
|
],
|
835
803
|
"ModifyAntiFakeUrl": [
|
836
804
|
{
|
837
805
|
"document": "",
|
838
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiFakeUrl\
|
806
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiFakeUrl\n&Domain=www.test.com\n&Name=rulename\n&Uri=http://zanyang.qcloudwaf.com/index.html\n&Id=11011\n&<公共请求参数>",
|
839
807
|
"output": "{\n \"Response\": {\n \"RequestId\": \"32e5e790-5999-4aa6-a3cb-34ed4c570d14\",\n \"Result\": \"success\"\n }\n}",
|
840
808
|
"title": "编辑防篡改url"
|
841
809
|
}
|
@@ -843,7 +811,7 @@
|
|
843
811
|
"ModifyAntiFakeUrlStatus": [
|
844
812
|
{
|
845
813
|
"document": "",
|
846
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiFakeUrlStatus\
|
814
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiFakeUrlStatus\n&Domain=www.test.com\n&Status=0\n&Ids.0=1101\n&Ids.1=1103\n&<公共请求参数>",
|
847
815
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c68bdee7-2c14-4bd3-ba41-cdf1421c0d0c\"\n }\n}",
|
848
816
|
"title": "切换防篡改开关"
|
849
817
|
}
|
@@ -851,7 +819,7 @@
|
|
851
819
|
"ModifyAntiInfoLeakRuleStatus": [
|
852
820
|
{
|
853
821
|
"document": "",
|
854
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiInfoLeakRuleStatus\
|
822
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAntiInfoLeakRuleStatus\n&Domain=www.test.com\n&RuleId=1101\n&Status=1\n&<公共请求参数>",
|
855
823
|
"output": "{\n \"Response\": {\n \"RequestId\": \"800f0a0c-6f8b-409a-af67-ccd12354e8f4\"\n }\n}",
|
856
824
|
"title": "信息防泄漏切换规则开关"
|
857
825
|
}
|
@@ -865,38 +833,26 @@
|
|
865
833
|
}
|
866
834
|
],
|
867
835
|
"ModifyApiAnalyzeStatus": [
|
868
|
-
{
|
869
|
-
"document": "test2",
|
870
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApiAnalyzeStatus\n<公共请求参数>\n\n{\n \"Status\": \"1\",\n \"Domain\": \"hzh.qcloud.com\"\n}",
|
871
|
-
"output": "{\n \"Response\": {\n \"Count\": 0,\n \"UnSupportedList\": [\n \"abc\"\n ],\n \"FailDomainList\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
872
|
-
"title": "test2"
|
873
|
-
},
|
874
|
-
{
|
875
|
-
"document": "test2",
|
876
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApiAnalyzeStatus\n<公共请求参数>\n\n{\n \"Status\": \"1\",\n \"Domain\": \"hzh.qcloud.com\"\n}",
|
877
|
-
"output": "{\n \"Response\": {\n \"Count\": 0,\n \"UnSupportedList\": [\n \"abc\"\n ],\n \"FailDomainList\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
878
|
-
"title": "test4"
|
879
|
-
},
|
880
836
|
{
|
881
837
|
"document": "api分析页面开关",
|
882
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApiAnalyzeStatus\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Domain\": \"
|
883
|
-
"output": "{\n \"Response\": {\n \"Count\": 0,\n \"UnSupportedList\": [\n \"
|
838
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApiAnalyzeStatus\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Domain\": \"qcloudwaf.com\"\n}",
|
839
|
+
"output": "{\n \"Response\": {\n \"Count\": 0,\n \"UnSupportedList\": [\n \"qcloudwaf.com\"\n ],\n \"FailDomainList\": [\n \"qcloudwaf.com\"\n ],\n \"RequestId\": \"asdqwweqxczca1231vszdfas\"\n }\n}",
|
884
840
|
"title": "api分析页面开关"
|
885
841
|
}
|
886
842
|
],
|
887
843
|
"ModifyApiSecEventChange": [
|
888
844
|
{
|
889
|
-
"document": "
|
890
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApiSecEventChange\n<公共请求参数>\n\n{\n \"UserName\": \"ddp\",\n \"EventIdList\": [\n \"api_test\"\n ],\n \"Remark\": \"
|
845
|
+
"document": "api安全状态变更接口",
|
846
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApiSecEventChange\n<公共请求参数>\n\n{\n \"UserName\": \"ddp\",\n \"EventIdList\": [\n \"api_test\"\n ],\n \"Remark\": \"wafceshi\",\n \"Mode\": \"2\",\n \"ApiNameList\": [\n {\n \"Domain\": \"www.test.com\",\n \"Method\": \"POST\",\n \"ApiName\": \"waftest\"\n }\n ]\n}",
|
891
847
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ac576aa3-4a4c-4a8e-81c0-c650c139d074\"\n }\n}",
|
892
|
-
"title": "
|
848
|
+
"title": "api安全状态变更接口"
|
893
849
|
}
|
894
850
|
],
|
895
851
|
"ModifyAreaBanAreas": [
|
896
852
|
{
|
897
853
|
"document": "",
|
898
854
|
"input": "https://waf.tencentcloudapi.com/?Action=ModifyAreaBanAreas\r\n&Domain=www.test.com\r\n&Areas.0=新疆\r\n&Areas.1=内蒙古\r\n&<公共请求参数>",
|
899
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
855
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8d630afc-0da8-43f6-862a-045e21ebfdba\"\n }\n}",
|
900
856
|
"title": "ModifyAreaBanAreas"
|
901
857
|
}
|
902
858
|
],
|
@@ -911,7 +867,7 @@
|
|
911
867
|
"ModifyAttackWhiteRule": [
|
912
868
|
{
|
913
869
|
"document": "",
|
914
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttackWhiteRule\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Rules\": [\n {\n \"MatchField\": \"URL\",\n \"MatchContent\": \"/url\",\n \"MatchMethod\": \"\"\n }\n ],\n \"Domain\": \"www.testwaf.com\",\n \"SignatureIds\": [\n \"90501998\",\n \"90501999\"\n ],\n \"RuleId\": 1\n}",
|
870
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttackWhiteRule\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Rules\": [\n {\n \"MatchField\": \"URL\",\n \"MatchContent\": \"/url\",\n \"MatchMethod\": \"EXACT\"\n }\n ],\n \"Domain\": \"www.testwaf.com\",\n \"SignatureIds\": [\n \"90501998\",\n \"90501999\"\n ],\n \"RuleId\": 1\n}",
|
915
871
|
"output": "{\n \"Response\": {\n \"RuleId\": 1,\n \"RequestId\": \"76a16020-6e13-4028-823b-b20fb33ecf44\"\n }\n}",
|
916
872
|
"title": "修改示例"
|
917
873
|
}
|
@@ -920,26 +876,26 @@
|
|
920
876
|
{
|
921
877
|
"document": "",
|
922
878
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBotStatus\n<公共请求参数>\n\n{\n \"Category\": \"bot\",\n \"Status\": \"1\",\n \"Domain\": \"test.com\",\n \"InstanceID\": \"waf_xxx\"\n}",
|
923
|
-
"output": "{\n \"Response\": {\n \"Data\":
|
879
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"a0b4e55b-5307-4378-856d-efc22475c77d\"\n }\n}",
|
924
880
|
"title": "Bot_V2 bot开关更新"
|
925
881
|
},
|
926
882
|
{
|
927
883
|
"document": "",
|
928
884
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBotStatus\n<公共请求参数>\n\n{\n \"Status\": \"1\",\n \"Category\": \"bot\",\n \"Domain\": \"fgsta.qcloudwaf.com\",\n \"IsVersionFour\": \"true\",\n \"BotVersion\": \"4.1.0\"\n}",
|
929
|
-
"output": "{\n \"Response\": {\n \"Data\": \"\",\n \"RequestId\": \"110a2ef2-74ee-4db1-9b96-7da77283653f\"\n }\n}",
|
885
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"110a2ef2-74ee-4db1-9b96-7da77283653f\"\n }\n}",
|
930
886
|
"title": "新版本_bot总开关"
|
931
887
|
},
|
932
888
|
{
|
933
889
|
"document": "",
|
934
890
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBotStatus\n<公共请求参数>\n\n{\n \"Status\": \"0\",\n \"Category\": \"bot\",\n \"Domain\": \"fgsta.qcloudwaf.com\",\n \"IsVersionFour\": \"true\"\n}",
|
935
|
-
"output": "{\n \"Response\": {\n \"Data\": \"\",\n \"RequestId\": \"c6ae93c9-f71c-473c-ad9b-ba1b59e47059\"\n }\n}",
|
891
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"c6ae93c9-f71c-473c-ad9b-ba1b59e47059\"\n }\n}",
|
936
892
|
"title": "老版本_bot总开关"
|
937
893
|
}
|
938
894
|
],
|
939
895
|
"ModifyCustomRule": [
|
940
896
|
{
|
941
897
|
"document": "",
|
942
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyCustomRule\n&Edition=clb-waf\n&Domain=
|
898
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyCustomRule\n&Edition=clb-waf\n&Domain=www.qcloud.com\n&RuleId=17958569\n&RuleName=rulename\n&RuleAction=1\n&Redirect=/redirect_url\n&Bypass=geoip,cc,owasp,ai,antileakage\n&SortId=100\n&ExpireTime=0\n&Strategies.0.Field=IP\n&Strategies.0.CompareFunc=ipmatch\n&Strategies.0.Content=1.1.1.2\n&Strategies.0.Arg=\"none\"\n&<公共请求参数>",
|
943
899
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a713f4cf-51ef-437f-8467-d4fdec061b78\",\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n }\n }\n}",
|
944
900
|
"title": "编辑自定义规则"
|
945
901
|
}
|
@@ -947,7 +903,7 @@
|
|
947
903
|
"ModifyCustomRuleStatus": [
|
948
904
|
{
|
949
905
|
"document": "切换自定义规则的开关",
|
950
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyCustomRuleStatus\n&Domain=\"test.qlcoud.com\"\n&RuleId=
|
906
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyCustomRuleStatus\n&Domain=\"test.qlcoud.com\"\n&RuleId=1101\n&Status=0\n&<公共请求参数>",
|
951
907
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1c30f037-a684-4d5b-b0a8-0bc0acc668d1\",\n \"Success\": {\n \"Message\": \"Success\",\n \"Code\": \"Success\"\n }\n }\n}",
|
952
908
|
"title": "切换自定义规则的开关"
|
953
909
|
}
|
@@ -955,7 +911,7 @@
|
|
955
911
|
"ModifyCustomWhiteRule": [
|
956
912
|
{
|
957
913
|
"document": "",
|
958
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomWhiteRule\n<公共请求参数>\n\n{\n \"RuleId\": 1100000001,\n \"Domain\": \"waf.tencentcloudapi.com\",\n \"RuleName\": \"
|
914
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomWhiteRule\n<公共请求参数>\n\n{\n \"RuleId\": 1100000001,\n \"Domain\": \"waf.tencentcloudapi.com\",\n \"RuleName\": \"rulename\",\n \"Bypass\": \"cc\",\n \"SortId\": 100,\n \"ExpireTime\": 0,\n \"Strategies\": [\n {\n \"Field\": \"COOKIE\",\n \"CompareFunc\": \"eq\",\n \"Content\": \"cookie_key\",\n \"Arg\": \"cookie_value\"\n }\n ]\n}",
|
959
915
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\",\n \"Success\": {\n \"Message\": \"Success\",\n \"Code\": \"Success\"\n }\n }\n}",
|
960
916
|
"title": "编辑精准白名单规则"
|
961
917
|
}
|
@@ -971,8 +927,8 @@
|
|
971
927
|
"ModifyDomainIpv6Status": [
|
972
928
|
{
|
973
929
|
"document": "",
|
974
|
-
"input": "
|
975
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
930
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDomainIpv6Status\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_2kw60zgy0908e8j3\",\n \"Domain\": \"randygz2.qcloudwaf.com\",\n \"DomainId\": \"7d58ebf3db7e5f7e8f91eb017c6a7b31\",\n \"Status\": 2\n}",
|
931
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e73994cd-f205-4f64-9878-aff70d81655d\",\n \"Ipv6Status\": 1\n }\n}",
|
976
932
|
"title": "切换域名ipv6开关"
|
977
933
|
}
|
978
934
|
],
|
@@ -1003,7 +959,7 @@
|
|
1003
959
|
"ModifyGenerateDeals": [
|
1004
960
|
{
|
1005
961
|
"document": "",
|
1006
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGenerateDeals\n<公共请求参数>\n\n{\n \"Goods\": [\n {\n \"GoodsCategoryId\": 101201,\n \"GoodsNum\": 1,\n \"ProjectId\": 0,\n \"GoodsDetail\": {\n \"ProductCode\": \"p_wsm_waf\",\n \"LabelCounts\": [\n 1\n ],\n \"SubProductCode\": \"sp_wsm_waf_premium_clb\",\n \"TimeSpan\": 1,\n \"Type\": \"sp_wsm_waf_premium_clb\",\n \"RealRegion\": 0,\n \"ElasticQps\": 0,\n \"Pid\": 0,\n \"ProductInfo\": [\n {\n \"Name\": \"高级版\",\n \"Value\": \"一套\"\n }\n ],\n \"AutoRenewFlag\": 1,\n \"FlexBill\": 0,\n \"TimeUnit\": \"m\",\n \"InstanceName\": \"
|
962
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGenerateDeals\n<公共请求参数>\n\n{\n \"Goods\": [\n {\n \"GoodsCategoryId\": 101201,\n \"GoodsNum\": 1,\n \"ProjectId\": 0,\n \"GoodsDetail\": {\n \"ProductCode\": \"p_wsm_waf\",\n \"LabelCounts\": [\n 1\n ],\n \"SubProductCode\": \"sp_wsm_waf_premium_clb\",\n \"TimeSpan\": 1,\n \"Type\": \"sp_wsm_waf_premium_clb\",\n \"RealRegion\": 0,\n \"ElasticQps\": 0,\n \"Pid\": 0,\n \"ProductInfo\": [\n {\n \"Name\": \"高级版\",\n \"Value\": \"一套\"\n }\n ],\n \"AutoRenewFlag\": 1,\n \"FlexBill\": 0,\n \"TimeUnit\": \"m\",\n \"InstanceName\": \"guangzhoucase\",\n \"LabelTypes\": [\n \"sv_wsm_waf_package_ultimate_clb\"\n ]\n },\n \"RegionId\": 1,\n \"PayMode\": 1,\n \"Platform\": 0\n }\n ]\n}",
|
1007
963
|
"output": "{\n \"Response\": {\n \"Status\": 1,\n \"Data\": {\n \"DealNames\": [\n \"20211127383000722205671\"\n ],\n \"BigDealId\": \"20211127383000722205661\"\n },\n \"ReturnMessage\": \"success\",\n \"RequestId\": \"b705af50-606d-46a7-8cb6-617f7592ed4e\"\n }\n}",
|
1008
964
|
"title": "计费下单接口"
|
1009
965
|
}
|
@@ -1011,15 +967,15 @@
|
|
1011
967
|
"ModifyHost": [
|
1012
968
|
{
|
1013
969
|
"document": "",
|
1014
|
-
"input": "
|
970
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHost\n<公共请求参数>\n\n{\n \"Host\": {\n \"AlbType\": \"clb\",\n \"DomainId\": \"waf-Lt6LGSlM\",\n \"Domain\": \"txwafstar.qcloudwaf.com\",\n \"MainDomain\": \"qlcloudwaf.com\",\n \"Mode\": 1,\n \"Status\": 1,\n \"State\": 1,\n \"Engine\": 1,\n \"IsCdn\": 1,\n \"ClsStatus\": 1,\n \"Edition\": \"clb-waf\",\n \"FlowMode\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"waf-Lt6LGSlM\",\n \"Protocol\": \"HTTP\",\n \"NumericalVpcId\": 1140321,\n \"LoadBalancerType\": \"OPEN\",\n \"Zone\": \"ap-chengdu-2\",\n \"LoadBalancerName\": \"clbtest\",\n \"ListenerId\": \"lbl-2k0gmnv1\",\n \"ListenerName\": \"http-443\",\n \"Vip\": \"127.0.0.1\",\n \"Vport\": 443,\n \"Region\": \"cd\"\n }\n ],\n \"Region\": \"cd\"\n }\n}",
|
1015
971
|
"output": "{\n \"Response\": {\n \"RequestId\": \"97720395-7456-4a21-bcd9-1f32a7deaa90\",\n \"Error\": {\n \"Code\": \"ResourceInUse\",\n \"Message\": \"DomainExisted\"\n }\n }\n}",
|
1016
972
|
"title": "编辑负载均衡型WAF域名"
|
1017
973
|
}
|
1018
974
|
],
|
1019
975
|
"ModifyHostFlowMode": [
|
1020
976
|
{
|
1021
|
-
"document": "",
|
1022
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyHostFlowMode\n&Domain=\"
|
977
|
+
"document": "设置负载均衡型WAF防护域名的流量模式,切换镜像模式和清洗模式",
|
978
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyHostFlowMode\n&Domain=\"watx.qcloudwaf.com\"\n&DomainId=\"waf-gi944uHt\"\n&FlowMode=1\n&InstanceID=\"waf_vhhf12q6ntyb\"\n&<公共请求参数>",
|
1023
979
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1024
980
|
"title": "设置负载均衡型WAF防护域名的流量模式"
|
1025
981
|
}
|
@@ -1027,7 +983,7 @@
|
|
1027
983
|
"ModifyHostMode": [
|
1028
984
|
{
|
1029
985
|
"document": "",
|
1030
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostMode\n<公共请求参数>\n\n{\n \"Domain\": \"\",\n \"DomainId\": \"\",\n \"Mode\": 21,\n \"Type\": 1,\n \"InstanceID\": \"waf_0e2v15x\"\n}",
|
986
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostMode\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\",\n \"DomainId\": \"waf_0x11032\",\n \"Mode\": 21,\n \"Type\": 1,\n \"InstanceID\": \"waf_0e2v15x\"\n}",
|
1031
987
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1032
988
|
"title": "设置防护域名防护状态"
|
1033
989
|
}
|
@@ -1035,7 +991,7 @@
|
|
1035
991
|
"ModifyHostStatus": [
|
1036
992
|
{
|
1037
993
|
"document": "",
|
1038
|
-
"input": "
|
994
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostStatus\n<公共请求参数>\n\n{\n \"HostsStatus\": [\n {\n \"Status\": 1,\n \"Domain\": \"evantt.qcloudwaf.com\",\n \"DomainId\": \"waf-cblsyzU7\",\n \"InstanceID\": \"waf_2kuil2fm02vqm7z3\"\n }\n ]\n}",
|
1039
995
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1040
996
|
"title": "设置防护域名WAF开关"
|
1041
997
|
}
|
@@ -1051,8 +1007,8 @@
|
|
1051
1007
|
"ModifyInstanceName": [
|
1052
1008
|
{
|
1053
1009
|
"document": "",
|
1054
|
-
"input": "https://waf.tencentcloudapi.com/?Action=ModifyInstanceName\n&InstanceName=test1.qcloud.com\n&InstanceID=
|
1055
|
-
"output": "{\n \"Response\": {\n \"ModifyCode\": 0,\n \"RequestId\": \"
|
1010
|
+
"input": "https://waf.tencentcloudapi.com/?Action=ModifyInstanceName\n&InstanceName=test1.qcloud.com\n&InstanceID=waf_ihd3amfdi3ad3q2\n&Edition=clb-waf\n&<公共请求参数>",
|
1011
|
+
"output": "{\n \"Response\": {\n \"ModifyCode\": 0,\n \"RequestId\": \"304cb36f-772a-4fdb-9b25-212d8fe5a553\"\n }\n}",
|
1056
1012
|
"title": "修改实例名称"
|
1057
1013
|
}
|
1058
1014
|
],
|
@@ -1075,8 +1031,8 @@
|
|
1075
1031
|
"ModifyIpAccessControl": [
|
1076
1032
|
{
|
1077
1033
|
"document": "",
|
1078
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyIpAccessControl\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_accc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.1.2\"\n ],\n \"Edition\": \"clb-waf\",\n \"SourceType\": \"batch\",\n \"RuleId\": 5512222,\n \"ActionType\": 42,\n \"ValidTS\": 0,\n \"Note\": \"
|
1079
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1034
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyIpAccessControl\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_accc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.1.2\"\n ],\n \"Edition\": \"clb-waf\",\n \"SourceType\": \"batch\",\n \"RuleId\": 5512222,\n \"ActionType\": 42,\n \"ValidTS\": 0,\n \"Note\": \"note\"\n}",
|
1035
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\"\n }\n}",
|
1080
1036
|
"title": "编辑IP黑白名单"
|
1081
1037
|
}
|
1082
1038
|
],
|
@@ -1084,16 +1040,16 @@
|
|
1084
1040
|
{
|
1085
1041
|
"document": "",
|
1086
1042
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyModuleStatus\n<公共请求参数>\n\n{\n \"Domain\": \"zjm.qcloudwaf.com\",\n \"WebSecurity\": 1,\n \"AccessControl\": 1,\n \"CcProtection\": 1,\n \"AntiTamper\": 1,\n \"AntiLeakage\": 1,\n \"ApiProtection\": 1\n}",
|
1087
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1043
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"46757c6e-786c-48ca-b5c4-9fa29ece1c9e\"\n }\n}",
|
1088
1044
|
"title": "修改模块状态"
|
1089
1045
|
}
|
1090
1046
|
],
|
1091
1047
|
"ModifyObject": [
|
1092
1048
|
{
|
1093
1049
|
"document": "",
|
1094
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyObject\n<公共请求参数>\n\n{\n \"ObjectId\": \"
|
1050
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyObject\n<公共请求参数>\n\n{\n \"ObjectId\": \"lb-vsf13vzg\",\n \"Status\": 0,\n \"InstanceId\": \"waf_vxj234vxcfnm\",\n \"OpType\": \"Status\",\n \"Proxy\": 1,\n \"IpHeaders\": []\n}",
|
1095
1051
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1096
|
-
"title": "
|
1052
|
+
"title": "修改防护对象"
|
1097
1053
|
}
|
1098
1054
|
],
|
1099
1055
|
"ModifyProtectionStatus": [
|
@@ -1106,40 +1062,28 @@
|
|
1106
1062
|
],
|
1107
1063
|
"ModifySpartaProtection": [
|
1108
1064
|
{
|
1109
|
-
"document": "修改
|
1110
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtection\n<公共请求参数>\n\n{\n \"
|
1065
|
+
"document": "修改SaaS型WAF域名",
|
1066
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtection\n<公共请求参数>\n\n{\n \"Ports\": [\n {\n \"NginxServerId\": 230056,\n \"Port\": \"80\",\n \"Protocol\": \"http\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n },\n {\n \"NginxServerId\": 321607,\n \"Port\": \"443\",\n \"Protocol\": \"https\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"Domain\": \"randygz8.qcloudwaf.com\",\n \"DomainId\": \"7d58ebf3db7e5f7e8f91eb017c6a7b31\",\n \"SrcList\": [\n \"114.132.246.237\",\n \"114.132.246.239\"\n ],\n \"Weights\": [\n \"10\",\n \"10\"\n ],\n \"UpstreamType\": 0,\n \"HttpsRewrite\": 0,\n \"CertType\": 2,\n \"ActiveCheck\": 0,\n \"SSLId\": \"H0LMTjmj\",\n \"IsCdn\": 1,\n \"UpstreamScheme\": \"http\",\n \"HttpsUpstreamPort\": \"80\",\n \"IsGray\": 0,\n \"IsHttp2\": 0,\n \"IsWebsocket\": 0,\n \"ProxyBuffer\": 1,\n \"IsKeepAlive\": \"1\",\n \"LoadBalance\": 0,\n \"InstanceID\": \"waf_2kw60zgy0508e8j3\",\n \"Anycast\": 0,\n \"CipherTemplate\": 2,\n \"TLSVersion\": 3,\n \"Ciphers\": [\n 0,\n 1,\n 12,\n 13,\n 22\n ],\n \"ProxyReadTimeout\": 10,\n \"ProxySendTimeout\": 300,\n \"SniHost\": \"randy.sni.com\",\n \"SniType\": 1,\n \"IpHeaders\": [\n \"x-real-ip\"\n ],\n \"XFFReset\": 0,\n \"UpstreamHost\": \"randy.upstream.com\",\n \"Note\": \"randy domain\",\n \"ProbeStatus\": 1\n}",
|
1111
1067
|
"output": "{\n \"Response\": {\n \"RequestId\": \"13b8a309-3e7d-4393-91a4-271bf6d5dd71\"\n }\n}",
|
1112
|
-
"title": "
|
1113
|
-
},
|
1114
|
-
{
|
1115
|
-
"document": "修改SAASWAF域名",
|
1116
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtection\n<公共请求参数>\n\n{\n \"IsGray\": \"0\",\n \"Domain\": \"lucas0919.qcloudwaf.com\",\n \"LoadBalance\": \"0\",\n \"CipherTemplate\": \"0\",\n \"InstanceID\": \"lucas\",\n \"UpstreamType\": \"0\",\n \"IsWebsocket\": \"0\",\n \"IsHttp2\": \"0\",\n \"SrcList\": [\n \"114.132.223.23\"\n ],\n \"CertType\": \"0\",\n \"DomainId\": \"e801733b69605960a17388999868512a\",\n \"Weights\": [\n \"100\"\n ],\n \"IsKeepAlive\": \"1\",\n \"IsCdn\": \"1\",\n \"TLSVersion\": \"3\",\n \"Anycast\": \"0\",\n \"Ports\": [\n {\n \"NginxServerId\": \"63953\",\n \"Protocol\": \"http\",\n \"Port\": \"80\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"ActiveCheck\": \"1\"\n}",
|
1117
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"d6bd6f14-926e-4a3e-9a34-bb1dd7d9a51d\"\n }\n}",
|
1118
|
-
"title": "Modify-Host-1"
|
1119
|
-
},
|
1120
|
-
{
|
1121
|
-
"document": "修改SAASWAF域名",
|
1122
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtection\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\",\n \"LoadBalance\": \"0\",\n \"UpstreamType\": \"0\",\n \"CertType\": \"0\",\n \"Ports\": [\n {\n \"NginxServerId\": \"0\",\n \"Protocol\": \"http\",\n \"Port\": \"80\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"SrcList\": [\n \"1.1.1.1\"\n ],\n \"IsCdn\": \"0\",\n \"IsWebsocket\": \"0\",\n \"IsGray\": \"0\",\n \"IsHttp2\": \"0\",\n \"DomainId\": \"womdaswadfgsdgd\",\n \"InstanceID\": \"waf-9dja7dasggdsgs\"\n}",
|
1123
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"9ee8be5b-6caa-4c39-ab70-890e0e673515\"\n }\n}",
|
1124
|
-
"title": "修改域名配置"
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"document": "修改SAASWAF域名",
|
1128
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtection\n<公共请求参数>\n\n{\n \"Domain\": \"lucas0407-1.qcloudwaf.com\",\n \"LoadBalance\": \"0\",\n \"InstanceID\": \"waf_2kuj60v200b09bsr\",\n \"UpstreamType\": \"0\",\n \"IsWebsocket\": \"0\",\n \"IsHttp2\": \"0\",\n \"SrcList\": [\n \"11.148.84.137\"\n ],\n \"CertType\": \"0\",\n \"DomainId\": \"eb454223185451fe8b255a82b9d4bf94\",\n \"Weights\": [\n \"100\"\n ],\n \"IsKeepAlive\": \"1\",\n \"IsCdn\": \"1\",\n \"IsGray\": \"0\",\n \"Anycast\": \"0\",\n \"Ports\": [\n {\n \"NginxServerId\": \"62094\",\n \"Protocol\": \"http\",\n \"Port\": \"80\",\n \"UpstreamPort\": \"80\",\n \"UpstreamProtocol\": \"http\"\n }\n ],\n \"ActiveCheck\": \"1\"\n}",
|
1129
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"9c553d61-526a-44cf-a874-b24956033973\"\n }\n}",
|
1130
|
-
"title": "修改域名接入配置"
|
1068
|
+
"title": "修改SaaS型WAF域名"
|
1131
1069
|
}
|
1132
1070
|
],
|
1133
1071
|
"ModifySpartaProtectionMode": [
|
1134
1072
|
{
|
1135
1073
|
"document": "",
|
1136
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtectionMode\n<公共请求参数>\n\n{\n \"Domain\": \"
|
1074
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtectionMode\n<公共请求参数>\n\n{\n \"InstanceID\": \"waf_0000000002\",\n \"Edition\": \"字符串\",\n \"Domain\": \"why.qcloudwaf1234.com\",\n \"Type\": \"1\",\n \"Mode\": \"10\"\n}",
|
1075
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7b393885-aaf2-463d-a70c-4500999d7c3f\"\n }\n}",
|
1076
|
+
"title": "newEx"
|
1077
|
+
},
|
1078
|
+
{
|
1079
|
+
"document": "",
|
1080
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtectionMode\n<公共请求参数>\n\n{\n \"Domain\": \"test.domain.com\",\n \"Mode\": 21,\n \"Edition\": \"sparta-waf\"\n}",
|
1137
1081
|
"output": "{\n \"Response\": {\n \"RequestId\": \"225e3456-c296-475d-9338-b055667e6c85\"\n }\n}",
|
1138
1082
|
"title": "设置域名防护状态"
|
1139
1083
|
},
|
1140
1084
|
{
|
1141
1085
|
"document": "",
|
1142
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtectionMode\n<公共请求参数>\n\n{\n \"Domain\": \"
|
1086
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySpartaProtectionMode\n<公共请求参数>\n\n{\n \"Domain\": \"test.domain.com\",\n \"Mode\": 21,\n \"Edition\": \"sparta-waf\"\n}",
|
1143
1087
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InternalError\",\n \"Message\": \"非法的模式\"\n },\n \"RequestId\": \"8bc47086-2922-4bfb-b154-db325abc1a28\"\n }\n}",
|
1144
1088
|
"title": "设置域名防护状态失败的情况"
|
1145
1089
|
}
|
@@ -1147,19 +1091,27 @@
|
|
1147
1091
|
"ModifyUserLevel": [
|
1148
1092
|
{
|
1149
1093
|
"document": "",
|
1150
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserLevel\n<公共请求参数>\n\n{\n \"Domain\": \"\",\n \"Level\": 300\n}",
|
1151
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}",
|
1094
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserLevel\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\",\n \"Level\": 300\n}",
|
1095
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a4010dd1-d24b-43f5-bab4-8a6b204835b7\"\n }\n}",
|
1152
1096
|
"title": "查询示例"
|
1153
1097
|
}
|
1154
1098
|
],
|
1155
1099
|
"ModifyUserSignatureRule": [
|
1156
1100
|
{
|
1157
1101
|
"document": "",
|
1158
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserSignatureRule\n<公共请求参数>\n\n{\n \"Status\": 0,\n \"Domain\": \"\",\n \"MainClassID\": \"\",\n \"RuleID\": [\n {\n \"Status\": 0,\n \"Reason\": 0,\n \"Id\": \"\"\n }\n ]\n}",
|
1159
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}",
|
1102
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserSignatureRule\n<公共请求参数>\n\n{\n \"Status\": 0,\n \"Domain\": \"www.test.com\",\n \"MainClassID\": \"xss\",\n \"RuleID\": [\n {\n \"Status\": 0,\n \"Reason\": 0,\n \"Id\": \"10000266\"\n }\n ]\n}",
|
1103
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a4010dd1-d24b-43f5-bab4-8a6b204835b7\"\n }\n}",
|
1160
1104
|
"title": "查询示例"
|
1161
1105
|
}
|
1162
1106
|
],
|
1107
|
+
"ModifyUserSignatureRuleV2": [
|
1108
|
+
{
|
1109
|
+
"document": "",
|
1110
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserSignatureRuleV2\n<公共请求参数>\n\n{\n \"Domain\": \"abc.test.com\",\n \"RuleID\": [\n {\n \"Id\": \"10000266\",\n \"Status\": 0\n }\n ]\n}",
|
1111
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"40bbd265-74de-4e3b-b4f8-6219222ab961\"\n }\n}",
|
1112
|
+
"title": "修改用户防护规则,关闭具体的某条规则"
|
1113
|
+
}
|
1114
|
+
],
|
1163
1115
|
"ModifyWafAutoDenyRules": [
|
1164
1116
|
{
|
1165
1117
|
"document": "修改ip惩罚配置",
|
@@ -1171,15 +1123,15 @@
|
|
1171
1123
|
"ModifyWafThreatenIntelligence": [
|
1172
1124
|
{
|
1173
1125
|
"document": "配置管理WAF 威胁情报封禁模块",
|
1174
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWafThreatenIntelligence\n<公共请求参数>\n\n{\n \"WafThreatenIntelligenceDetails\": {\n \"DefenseStatus\": 0,\n \"Tags\": [\n \"
|
1175
|
-
"output": "{\n \"Response\": {\n \"WafThreatenIntelligenceDetails\": {\n \"DefenseStatus\": 0,\n \"LastUpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"Tags\": [\n \"
|
1126
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWafThreatenIntelligence\n<公共请求参数>\n\n{\n \"WafThreatenIntelligenceDetails\": {\n \"DefenseStatus\": 0,\n \"Tags\": [\n \"high-risk\"\n ]\n }\n}",
|
1127
|
+
"output": "{\n \"Response\": {\n \"WafThreatenIntelligenceDetails\": {\n \"DefenseStatus\": 0,\n \"LastUpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"Tags\": [\n \"high-risk\"\n ]\n },\n \"RequestId\": \"req-id-2133\"\n }\n}",
|
1176
1128
|
"title": "配置WAF威胁情报封禁模块详情"
|
1177
1129
|
}
|
1178
1130
|
],
|
1179
1131
|
"ModifyWebshellStatus": [
|
1180
1132
|
{
|
1181
1133
|
"document": "",
|
1182
|
-
"input": "
|
1134
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebshellStatus\n<公共请求参数>\n\n{\n \"Webshell\": {\n \"Domain\": \"1218test.qcloudwaf.com\",\n \"Status\": 1\n }\n}",
|
1183
1135
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1184
1136
|
"title": "设置域名webshell检测状态"
|
1185
1137
|
}
|
@@ -1187,7 +1139,7 @@
|
|
1187
1139
|
"PostAttackDownloadTask": [
|
1188
1140
|
{
|
1189
1141
|
"document": "创建搜索下载攻击日志任务",
|
1190
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostAttackDownloadTask\n<公共请求参数>\n\n{\n \"Domain\": \"
|
1142
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PostAttackDownloadTask\n<公共请求参数>\n\n{\n \"Domain\": \"waf.com\",\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"QueryString\": \"bot:1\",\n \"TaskName\": \"task-name\",\n \"Sort\": \"desc\",\n \"Count\": 0\n}",
|
1191
1143
|
"output": "{\n \"Response\": {\n \"Flow\": \"ead32d5d-a9ac-496f-b8e3-d3a92f1fb1ce\",\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
1192
1144
|
"title": "创建搜索下载攻击日志任务"
|
1193
1145
|
}
|
@@ -1195,7 +1147,7 @@
|
|
1195
1147
|
"RefreshAccessCheckResult": [
|
1196
1148
|
{
|
1197
1149
|
"document": "",
|
1198
|
-
"input": "
|
1150
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RefreshAccessCheckResult\n<公共请求参数>\n\n{\n \"Domain\": \"randy.qcloudwaf.com\"\n}",
|
1199
1151
|
"output": "{\n \"Response\": {\n \"RequestId\": \"9ee8be5b-6caa-4c39-ab70-890e0e673515\"\n }\n}",
|
1200
1152
|
"title": "刷新接入配置检查结果"
|
1201
1153
|
}
|
@@ -1203,16 +1155,16 @@
|
|
1203
1155
|
"SearchAccessLog": [
|
1204
1156
|
{
|
1205
1157
|
"document": "搜索访问日志",
|
1206
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchAccessLog\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"\",\n \"Limit\": 2,\n \"Context\": \"\",\n \"Sort\": \"desc\"\n}",
|
1207
|
-
"output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC1jMDhiYjAyMy1mMjZmLTQ1NjUtOTEzMy1iZjIwYWUzNmY1MzMxNjI2MTU5NDU4MjQy\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"
|
1158
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchAccessLog\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"bot:1\",\n \"Limit\": 2,\n \"Context\": \"cont\",\n \"Sort\": \"desc\"\n}",
|
1159
|
+
"output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC1jMDhiYjAyMy1mMjZmLTQ1NjUtOTEzMy1iZjIwYWUzNmY1MzMxNjI2MTU5NDU4MjQy\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"Results\": [\n {\n \"PkgLogId\": \"pkg-log-id\",\n \"FileName\": \"name\",\n \"PkgId\": \"pkg-id\",\n \"Source\": \"src\",\n \"TopicName\": \"name\",\n \"Time\": 1625995282703,\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"LogJson\": \"{\\\"ipinfo_province\\\":\\\"共享地址\\\",\\\"schema\\\":\\\"http\\\",\\\"referer\\\":\\\"\\\",\\\"ipinfo_state\\\":\\\"\\\",\\\"ipinfo_city\\\":\\\"\\\",\\\"edition\\\":\\\"sparta-waf\\\",\\\"ipinfo_dimensionality\\\":\\\"\\\",\\\"language\\\":\\\"\\\",\\\"body\\\":\\\"\\\",\\\"uuid\\\":\\\"b285a612f62f5b76478fce8960d2327e-c613c8e835f1d2a48221efa4a21c4247\\\",\\\"upstream_status\\\":\\\"200\\\",\\\"request_time\\\":\\\"0.141\\\",\\\"content_type\\\":\\\"\\\",\\\"host\\\":\\\"bangskt.qcloudwaf.com\\\",\\\"client\\\":\\\"100.88.193.73\\\",\\\"connection\\\":\\\"\\\",\\\"ipinfo_nation\\\":\\\"共享地址\\\",\\\"user_agent\\\":\\\"TSecWaf_AccessCheckClient\\\",\\\"headers\\\":\\\"Accept-Encoding: \\\",\\\"upstream\\\":\\\"119.29.90.203:80\\\",\\\"cookie\\\":\\\"\\\",\\\"method\\\":\\\"GET\\\",\\\"query\\\":\\\"\\\",\\\"ipinfo_detail\\\":\\\"\\\",\\\"encoding\\\":\\\"\\\",\\\"ipinfo_isp\\\":\\\"\\\",\\\"bytes_sent\\\":\\\"718\\\",\\\"url\\\":\\\"/\\\",\\\"accept\\\":\\\"\\\",\\\"x_forwarded_for\\\":\\\"\\\",\\\"upstream_connect_time\\\":\\\"0.036\\\",\\\"request_length\\\":\\\"86\\\",\\\"appid\\\":\\\"251011484\\\",\\\"domain\\\":\\\"bangskt.qcloudwaf.com\\\",\\\"msec\\\":\\\"1625995282.703\\\",\\\"upstream_response_time\\\":\\\"0.068\\\",\\\"time\\\":\\\"11/Jul/2021:17:21:22 +0800\\\",\\\"ipinfo_longitude\\\":\\\"\\\",\\\"status\\\":\\\"200\\\"}\"\n }\n ],\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
1208
1160
|
"title": "搜索访问日志"
|
1209
1161
|
}
|
1210
1162
|
],
|
1211
1163
|
"SearchAttackLog": [
|
1212
1164
|
{
|
1213
1165
|
"document": "搜索攻击日志详情内容",
|
1214
|
-
"input": "
|
1215
|
-
"output": "{\n \"Response\": {\n \"Count\": 1,\n \"Context\": \"
|
1166
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchAttackLog\n<公共请求参数>\n\n{\n \"Domain\": \"all\",\n \"StartTime\": \"2024-10-28 20:56:07\",\n \"EndTime\": \"2024-10-29 20:56:07\",\n \"QueryString\": \"bot:1\",\n \"Context\": \"cont\",\n \"Sort\": \"desc\",\n \"Count\": 10,\n \"Page\": 0\n}",
|
1167
|
+
"output": "{\n \"Response\": {\n \"Count\": 1,\n \"Context\": \"cont\",\n \"ListOver\": false,\n \"SqlFlag\": false,\n \"Data\": [\n {\n \"Content\": \"{\\\"action\\\":1,\\\"args_name\\\":\\\"HTTP Header\\\"}\",\n \"FileName\": \"name\",\n \"Source\": \"sre\",\n \"TimeStamp\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"ead32d5d-a9ac-496f-b8e3-d3a92f1fb1ce\"\n }\n}",
|
1216
1168
|
"title": "搜索攻击日志详情内容"
|
1217
1169
|
}
|
1218
1170
|
],
|
@@ -1220,7 +1172,7 @@
|
|
1220
1172
|
{
|
1221
1173
|
"document": "切换域名的规则开关",
|
1222
1174
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwitchDomainRules\n<公共请求参数>\n\n{\n \"Domain\": \"test.qcloudwaf.com\",\n \"Ids\": [\n 1,\n 2,\n 3\n ],\n \"Status\": 0\n}",
|
1223
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5d207f4f-0d41-4f5d-bce2-0320090c98d8\"\n }\n}",
|
1224
1176
|
"title": "切换域名的规则开关"
|
1225
1177
|
}
|
1226
1178
|
],
|
@@ -1235,44 +1187,32 @@
|
|
1235
1187
|
"UpsertCCAutoStatus": [
|
1236
1188
|
{
|
1237
1189
|
"document": "",
|
1238
|
-
"input": "https://waf.tencentcloudapi.com/?Action=UpsertCCAutoStatus\
|
1239
|
-
"output": "{\n \"Response\": {\n \"Data\":
|
1190
|
+
"input": "https://waf.tencentcloudapi.com/?Action=UpsertCCAutoStatus\n&Domain=www.test.com\n&Value=1\n&<公共请求参数>",
|
1191
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"a0b4e55b-5307-4378-856d-efc22475c77d\"\n }\n}",
|
1240
1192
|
"title": "Waf 斯巴达版本更新cc自动封堵状态"
|
1241
1193
|
}
|
1242
1194
|
],
|
1243
1195
|
"UpsertCCRule": [
|
1244
|
-
{
|
1245
|
-
"document": "",
|
1246
|
-
"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}",
|
1247
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2ca5c6bb-05b7-4183-bbf2-3c7059544317\",\n \"Data\": \"\"\n }\n}",
|
1248
|
-
"title": "test"
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"document": "",
|
1252
|
-
"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}",
|
1253
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2ca5c6bb-05b7-4183-bbf2-3c7059544317\",\n \"Data\": \"\"\n }\n}",
|
1254
|
-
"title": "test1"
|
1255
|
-
},
|
1256
1196
|
{
|
1257
1197
|
"document": "",
|
1258
1198
|
"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}",
|
1259
|
-
"output": "{\n \"Response\": {\n \"Data\":
|
1199
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"5029e2b0-493c-4dcc-9e4e-d53ab98ede99\"\n }\n}",
|
1260
1200
|
"title": "Waf CC V2 Upsert接口"
|
1261
1201
|
}
|
1262
1202
|
],
|
1263
1203
|
"UpsertIpAccessControl": [
|
1264
1204
|
{
|
1265
1205
|
"document": "IP黑白名单Upsert接口",
|
1266
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertIpAccessControl\n<公共请求参数>\n\n{\n \"Domain\": \"
|
1267
|
-
"output": "{\n \"Response\": {\n \"FailedCount\":
|
1206
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertIpAccessControl\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"Items\": [\n \"{\\\"ip\\\":\\\"1.2.3.4\\\",\\\"source\\\":\\\"custom\\\",\\\"note\\\":\\\"note\\\",\\\"action\\\":42,\\\"valid_ts\\\":1650095068}\"\n ],\n \"Edition\": \"clb-waf\"\n}",
|
1207
|
+
"output": "{\n \"Response\": {\n \"FailedCount\": 1,\n \"FailedItems\": \"1.2.3.4\",\n \"RequestId\": \"fea2e723-002b-40e6-8297-7c54455cb7d6\"\n }\n}",
|
1268
1208
|
"title": "UpsertIpAccessControl"
|
1269
1209
|
}
|
1270
1210
|
],
|
1271
1211
|
"UpsertSession": [
|
1272
1212
|
{
|
1273
1213
|
"document": "",
|
1274
|
-
"input": "https://waf.tencentcloudapi.com/?Action=UpsertSession\n&Domain=test.com\n&Category=match\n&KeyOrStartMat=hashId\n&EndMat=
|
1275
|
-
"output": "{\n \"Response\": {\n \"Data\": \"\",\n \"RequestId\": \"
|
1214
|
+
"input": "https://waf.tencentcloudapi.com/?Action=UpsertSession\n&Domain=test.com\n&Category=match\n&KeyOrStartMat=hashId\n&EndMat=end\n&Source=get\n&StartOffset=-1\n&EndOffset=-1\n&Edition=clb-waf\n&SessionName=测试SESSION\n&<公共请求参数>",
|
1215
|
+
"output": "{\n \"Response\": {\n \"Data\": \"success\",\n \"RequestId\": \"5029e2b0-493c-4dcc-9e4e-d53ab98ede99\"\n }\n}",
|
1276
1216
|
"title": "Waf 会话定义 Upsert接口"
|
1277
1217
|
}
|
1278
1218
|
]
|