tccli 3.0.998.1__py2.py3-none-any.whl → 3.0.999.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/examples/waf/v20180125/DescribeCCAutoStatus.md +21 -0
- tccli/examples/waf/v20180125/DescribeCCRuleList.md +59 -1
- tccli/examples/waf/v20180125/UpsertCCAutoStatus.md +22 -0
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/waf/v20180125/api.json +298 -67
- tccli/services/waf/v20180125/examples.json +18 -10
- tccli/services/waf/waf_client.py +75 -22
- {tccli-3.0.998.1.dist-info → tccli-3.0.999.1.dist-info}/METADATA +2 -2
- {tccli-3.0.998.1.dist-info → tccli-3.0.999.1.dist-info}/RECORD +13 -11
- {tccli-3.0.998.1.dist-info → tccli-3.0.999.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.998.1.dist-info → tccli-3.0.999.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.998.1.dist-info → tccli-3.0.999.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.999.1'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: Waf 斯巴达版本查询cc自动封堵状态**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli waf DescribeCCAutoStatus --cli-unfold-argument \
|
9
|
+
--Domain www.test.com
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"AutoCCSwitch": 0,
|
17
|
+
"RequestId": "2a2d479f-d481-40e9-bb31-8f9e743bd529"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -19,6 +19,27 @@ Output:
|
|
19
19
|
```
|
20
20
|
{
|
21
21
|
"Response": {
|
22
|
+
"Data": {
|
23
|
+
"Res": [
|
24
|
+
{
|
25
|
+
"ActionType": 22,
|
26
|
+
"Advance": 0,
|
27
|
+
"Interval": 60,
|
28
|
+
"Limit": 60,
|
29
|
+
"MatchFunc": 0,
|
30
|
+
"Name": "test1",
|
31
|
+
"Priority": 50,
|
32
|
+
"Status": 1,
|
33
|
+
"TsVersion": 1579058116920,
|
34
|
+
"Url": "///",
|
35
|
+
"ValidTime": 600,
|
36
|
+
"Options": "",
|
37
|
+
"RuleId": 1900009616,
|
38
|
+
"EventId": "111"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"TotalCount": 1
|
42
|
+
},
|
22
43
|
"RequestId": "1cc54bf4-cfeb-40cc-a823-035e52106df9"
|
23
44
|
}
|
24
45
|
}
|
@@ -43,7 +64,44 @@ Output:
|
|
43
64
|
```
|
44
65
|
{
|
45
66
|
"Response": {
|
46
|
-
"RequestId": "41b55f8b-1ed1-484c-aab7-c14c0889f78b"
|
67
|
+
"RequestId": "41b55f8b-1ed1-484c-aab7-c14c0889f78b",
|
68
|
+
"Data": {
|
69
|
+
"Res": [
|
70
|
+
{
|
71
|
+
"Name": "test",
|
72
|
+
"Status": 0,
|
73
|
+
"Advance": 0,
|
74
|
+
"Limit": 2,
|
75
|
+
"Interval": 60,
|
76
|
+
"Url": "/",
|
77
|
+
"MatchFunc": 0,
|
78
|
+
"ActionType": 22,
|
79
|
+
"Priority": 50,
|
80
|
+
"ValidTime": 600,
|
81
|
+
"TsVersion": 1609769256761,
|
82
|
+
"Options": "[]",
|
83
|
+
"RuleId": 0,
|
84
|
+
"EventId": "11"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"Name": "ddp",
|
88
|
+
"Status": 0,
|
89
|
+
"Advance": 0,
|
90
|
+
"Limit": 10,
|
91
|
+
"Interval": 10,
|
92
|
+
"Url": "/test",
|
93
|
+
"MatchFunc": 0,
|
94
|
+
"ActionType": 20,
|
95
|
+
"Priority": 1,
|
96
|
+
"ValidTime": 61,
|
97
|
+
"TsVersion": 1669794335102,
|
98
|
+
"Options": "",
|
99
|
+
"RuleId": 1900009616,
|
100
|
+
"EventId": "111"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"TotalCount": 2
|
104
|
+
}
|
47
105
|
}
|
48
106
|
}
|
49
107
|
```
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: Waf 斯巴达版本更新cc自动封堵状态**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli waf UpsertCCAutoStatus --cli-unfold-argument \
|
9
|
+
--Domain test.com \
|
10
|
+
--Value 1
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"Data": null,
|
18
|
+
"RequestId": "a0b4e55b-5307-4378-856d-efc22475c77d"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -3529,7 +3529,7 @@
|
|
3529
3529
|
},
|
3530
3530
|
{
|
3531
3531
|
"disabled": false,
|
3532
|
-
"document": "共享 CNAME 前缀。请输入合法的域名前缀,例如\"test-api\"、\"test-api.com\",限制输入 50 个字符。\n\n共享 CNAME
|
3532
|
+
"document": "共享 CNAME 前缀。请输入合法的域名前缀,例如\"test-api\"、\"test-api.com\",限制输入 50 个字符。\n\n共享 CNAME 完整格式为:`<自定义前缀>+<zoneid中的12位随机字符串>+share.dnse[0-5].com`。\n\n例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.dnse2.com。",
|
3533
3533
|
"example": "example.com",
|
3534
3534
|
"member": "string",
|
3535
3535
|
"name": "SharedCNAMEPrefix",
|
@@ -3553,7 +3553,7 @@
|
|
3553
3553
|
"members": [
|
3554
3554
|
{
|
3555
3555
|
"disabled": false,
|
3556
|
-
"document": "共享 CNAME
|
3556
|
+
"document": "共享 CNAME。格式为:`<自定义前缀>+<ZoneId中的12位随机字符串>+share.dnse[0-5].com`。",
|
3557
3557
|
"example": "example.com.drvsif25rt7.share.dnse2.com",
|
3558
3558
|
"member": "string",
|
3559
3559
|
"name": "SharedCNAME",
|
@@ -252,12 +252,19 @@
|
|
252
252
|
"output": "DescribeBatchIpAccessControlResponse",
|
253
253
|
"status": "online"
|
254
254
|
},
|
255
|
+
"DescribeCCAutoStatus": {
|
256
|
+
"document": "Waf 斯巴达版本查询cc自动封堵状态",
|
257
|
+
"input": "DescribeCCAutoStatusRequest",
|
258
|
+
"name": "Waf 斯巴达版本查询cc自动封堵状态",
|
259
|
+
"output": "DescribeCCAutoStatusResponse",
|
260
|
+
"status": "online"
|
261
|
+
},
|
255
262
|
"DescribeCCRule": {
|
256
|
-
"document": "
|
263
|
+
"document": "Waf CC V2 Query接口",
|
257
264
|
"input": "DescribeCCRuleRequest",
|
258
265
|
"name": "Waf CC V2 Query接口",
|
259
266
|
"output": "DescribeCCRuleResponse",
|
260
|
-
"status": "
|
267
|
+
"status": "online"
|
261
268
|
},
|
262
269
|
"DescribeCCRuleList": {
|
263
270
|
"document": "根据多条件查询CC规则",
|
@@ -833,13 +840,6 @@
|
|
833
840
|
"output": "ModifyWafAutoDenyRulesResponse",
|
834
841
|
"status": "online"
|
835
842
|
},
|
836
|
-
"ModifyWafAutoDenyStatus": {
|
837
|
-
"document": "配置WAF自动封禁模块状态",
|
838
|
-
"input": "ModifyWafAutoDenyStatusRequest",
|
839
|
-
"name": "配置WAF自动封禁模块状态",
|
840
|
-
"output": "ModifyWafAutoDenyStatusResponse",
|
841
|
-
"status": "online"
|
842
|
-
},
|
843
843
|
"ModifyWafThreatenIntelligence": {
|
844
844
|
"document": "配置WAF威胁情报封禁模块详情",
|
845
845
|
"input": "ModifyWafThreatenIntelligenceRequest",
|
@@ -896,6 +896,13 @@
|
|
896
896
|
"output": "SwitchElasticModeResponse",
|
897
897
|
"status": "online"
|
898
898
|
},
|
899
|
+
"UpsertCCAutoStatus": {
|
900
|
+
"document": "Waf 斯巴达版本更新cc自动封堵状态",
|
901
|
+
"input": "UpsertCCAutoStatusRequest",
|
902
|
+
"name": "Waf 斯巴达版本更新cc自动封堵状态",
|
903
|
+
"output": "UpsertCCAutoStatusResponse",
|
904
|
+
"status": "online"
|
905
|
+
},
|
899
906
|
"UpsertCCRule": {
|
900
907
|
"document": "Waf CC V2 Upsert接口",
|
901
908
|
"input": "UpsertCCRuleRequest",
|
@@ -2203,28 +2210,6 @@
|
|
2203
2210
|
"type": "string",
|
2204
2211
|
"value_allowed_null": true
|
2205
2212
|
},
|
2206
|
-
{
|
2207
|
-
"disabled": false,
|
2208
|
-
"document": "1 API安全6折\n注意:此字段可能返回 null,表示取不到有效值。",
|
2209
|
-
"example": "1",
|
2210
|
-
"member": "int64",
|
2211
|
-
"name": "APICPWaf",
|
2212
|
-
"output_required": false,
|
2213
|
-
"required": false,
|
2214
|
-
"type": "int",
|
2215
|
-
"value_allowed_null": true
|
2216
|
-
},
|
2217
|
-
{
|
2218
|
-
"disabled": false,
|
2219
|
-
"document": "1 表示5折折扣\n2 表示4折折扣\n注意:此字段可能返回 null,表示取不到有效值。",
|
2220
|
-
"example": "1",
|
2221
|
-
"member": "int64",
|
2222
|
-
"name": "APINPWaf",
|
2223
|
-
"output_required": false,
|
2224
|
-
"required": false,
|
2225
|
-
"type": "int",
|
2226
|
-
"value_allowed_null": true
|
2227
|
-
},
|
2228
2213
|
{
|
2229
2214
|
"disabled": false,
|
2230
2215
|
"document": "api安全7天试用标识。1试用。0没试用\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -2865,6 +2850,188 @@
|
|
2865
2850
|
],
|
2866
2851
|
"usage": "out"
|
2867
2852
|
},
|
2853
|
+
"CCRuleItems": {
|
2854
|
+
"document": "CC规则详情",
|
2855
|
+
"members": [
|
2856
|
+
{
|
2857
|
+
"disabled": false,
|
2858
|
+
"document": "名字",
|
2859
|
+
"example": "test",
|
2860
|
+
"member": "string",
|
2861
|
+
"name": "Name",
|
2862
|
+
"output_required": true,
|
2863
|
+
"type": "string",
|
2864
|
+
"value_allowed_null": false
|
2865
|
+
},
|
2866
|
+
{
|
2867
|
+
"disabled": false,
|
2868
|
+
"document": "状态",
|
2869
|
+
"example": "0",
|
2870
|
+
"member": "uint64",
|
2871
|
+
"name": "Status",
|
2872
|
+
"output_required": true,
|
2873
|
+
"type": "int",
|
2874
|
+
"value_allowed_null": false
|
2875
|
+
},
|
2876
|
+
{
|
2877
|
+
"disabled": false,
|
2878
|
+
"document": "模式",
|
2879
|
+
"example": "0",
|
2880
|
+
"member": "uint64",
|
2881
|
+
"name": "Advance",
|
2882
|
+
"output_required": true,
|
2883
|
+
"type": "int",
|
2884
|
+
"value_allowed_null": false
|
2885
|
+
},
|
2886
|
+
{
|
2887
|
+
"disabled": false,
|
2888
|
+
"document": "限制",
|
2889
|
+
"example": "0",
|
2890
|
+
"member": "uint64",
|
2891
|
+
"name": "Limit",
|
2892
|
+
"output_required": true,
|
2893
|
+
"type": "int",
|
2894
|
+
"value_allowed_null": false
|
2895
|
+
},
|
2896
|
+
{
|
2897
|
+
"disabled": false,
|
2898
|
+
"document": "范围",
|
2899
|
+
"example": "0",
|
2900
|
+
"member": "uint64",
|
2901
|
+
"name": "Interval",
|
2902
|
+
"output_required": true,
|
2903
|
+
"type": "int",
|
2904
|
+
"value_allowed_null": false
|
2905
|
+
},
|
2906
|
+
{
|
2907
|
+
"disabled": false,
|
2908
|
+
"document": "网址",
|
2909
|
+
"example": "test.com",
|
2910
|
+
"member": "string",
|
2911
|
+
"name": "Url",
|
2912
|
+
"output_required": true,
|
2913
|
+
"type": "string",
|
2914
|
+
"value_allowed_null": false
|
2915
|
+
},
|
2916
|
+
{
|
2917
|
+
"disabled": false,
|
2918
|
+
"document": "匹配类型",
|
2919
|
+
"example": "0",
|
2920
|
+
"member": "uint64",
|
2921
|
+
"name": "MatchFunc",
|
2922
|
+
"output_required": true,
|
2923
|
+
"type": "int",
|
2924
|
+
"value_allowed_null": false
|
2925
|
+
},
|
2926
|
+
{
|
2927
|
+
"disabled": false,
|
2928
|
+
"document": "动作",
|
2929
|
+
"example": "0",
|
2930
|
+
"member": "uint64",
|
2931
|
+
"name": "ActionType",
|
2932
|
+
"output_required": true,
|
2933
|
+
"type": "int",
|
2934
|
+
"value_allowed_null": false
|
2935
|
+
},
|
2936
|
+
{
|
2937
|
+
"disabled": false,
|
2938
|
+
"document": "优先级",
|
2939
|
+
"example": "0",
|
2940
|
+
"member": "uint64",
|
2941
|
+
"name": "Priority",
|
2942
|
+
"output_required": true,
|
2943
|
+
"type": "int",
|
2944
|
+
"value_allowed_null": false
|
2945
|
+
},
|
2946
|
+
{
|
2947
|
+
"disabled": false,
|
2948
|
+
"document": "有效时间",
|
2949
|
+
"example": "0",
|
2950
|
+
"member": "uint64",
|
2951
|
+
"name": "ValidTime",
|
2952
|
+
"output_required": true,
|
2953
|
+
"type": "int",
|
2954
|
+
"value_allowed_null": false
|
2955
|
+
},
|
2956
|
+
{
|
2957
|
+
"disabled": false,
|
2958
|
+
"document": "版本",
|
2959
|
+
"example": "0",
|
2960
|
+
"member": "uint64",
|
2961
|
+
"name": "TsVersion",
|
2962
|
+
"output_required": true,
|
2963
|
+
"type": "int",
|
2964
|
+
"value_allowed_null": false
|
2965
|
+
},
|
2966
|
+
{
|
2967
|
+
"disabled": false,
|
2968
|
+
"document": "规则详情",
|
2969
|
+
"example": "\"[]\"",
|
2970
|
+
"member": "string",
|
2971
|
+
"name": "Options",
|
2972
|
+
"output_required": true,
|
2973
|
+
"type": "string",
|
2974
|
+
"value_allowed_null": false
|
2975
|
+
},
|
2976
|
+
{
|
2977
|
+
"disabled": false,
|
2978
|
+
"document": "规则ID",
|
2979
|
+
"example": "0",
|
2980
|
+
"member": "uint64",
|
2981
|
+
"name": "RuleId",
|
2982
|
+
"output_required": true,
|
2983
|
+
"type": "int",
|
2984
|
+
"value_allowed_null": false
|
2985
|
+
},
|
2986
|
+
{
|
2987
|
+
"disabled": false,
|
2988
|
+
"document": "事件id\n注意:此字段可能返回 null,表示取不到有效值。",
|
2989
|
+
"example": "api_aaa",
|
2990
|
+
"member": "string",
|
2991
|
+
"name": "EventId",
|
2992
|
+
"output_required": true,
|
2993
|
+
"type": "string",
|
2994
|
+
"value_allowed_null": true
|
2995
|
+
},
|
2996
|
+
{
|
2997
|
+
"disabled": false,
|
2998
|
+
"document": "关联的Session规则\n注意:此字段可能返回 null,表示取不到有效值。",
|
2999
|
+
"example": "[0,200000001]",
|
3000
|
+
"member": "int64",
|
3001
|
+
"name": "SessionApplied",
|
3002
|
+
"output_required": false,
|
3003
|
+
"type": "list",
|
3004
|
+
"value_allowed_null": true
|
3005
|
+
}
|
3006
|
+
],
|
3007
|
+
"usage": "out"
|
3008
|
+
},
|
3009
|
+
"CCRuleLists": {
|
3010
|
+
"document": "CC规则总览",
|
3011
|
+
"members": [
|
3012
|
+
{
|
3013
|
+
"disabled": false,
|
3014
|
+
"document": "总数",
|
3015
|
+
"example": "0",
|
3016
|
+
"member": "uint64",
|
3017
|
+
"name": "TotalCount",
|
3018
|
+
"required": true,
|
3019
|
+
"type": "int",
|
3020
|
+
"value_allowed_null": false
|
3021
|
+
},
|
3022
|
+
{
|
3023
|
+
"disabled": false,
|
3024
|
+
"document": "规则\n注意:此字段可能返回 null,表示取不到有效值。",
|
3025
|
+
"example": "[]",
|
3026
|
+
"member": "CCRuleItems",
|
3027
|
+
"name": "Res",
|
3028
|
+
"required": true,
|
3029
|
+
"type": "list",
|
3030
|
+
"value_allowed_null": true
|
3031
|
+
}
|
3032
|
+
],
|
3033
|
+
"usage": "out"
|
3034
|
+
},
|
2868
3035
|
"CacheUrlItem": {
|
2869
3036
|
"document": "防篡改url元素",
|
2870
3037
|
"members": [
|
@@ -5570,6 +5737,42 @@
|
|
5570
5737
|
],
|
5571
5738
|
"type": "object"
|
5572
5739
|
},
|
5740
|
+
"DescribeCCAutoStatusRequest": {
|
5741
|
+
"document": "DescribeCCAutoStatus请求参数结构体",
|
5742
|
+
"members": [
|
5743
|
+
{
|
5744
|
+
"disabled": false,
|
5745
|
+
"document": "域名",
|
5746
|
+
"example": "",
|
5747
|
+
"member": "string",
|
5748
|
+
"name": "Domain",
|
5749
|
+
"required": true,
|
5750
|
+
"type": "string"
|
5751
|
+
}
|
5752
|
+
],
|
5753
|
+
"type": "object"
|
5754
|
+
},
|
5755
|
+
"DescribeCCAutoStatusResponse": {
|
5756
|
+
"document": "DescribeCCAutoStatus返回参数结构体",
|
5757
|
+
"members": [
|
5758
|
+
{
|
5759
|
+
"disabled": false,
|
5760
|
+
"document": "配置状态",
|
5761
|
+
"example": "",
|
5762
|
+
"member": "int64",
|
5763
|
+
"name": "AutoCCSwitch",
|
5764
|
+
"type": "int",
|
5765
|
+
"value_allowed_null": false
|
5766
|
+
},
|
5767
|
+
{
|
5768
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
5769
|
+
"member": "string",
|
5770
|
+
"name": "RequestId",
|
5771
|
+
"type": "string"
|
5772
|
+
}
|
5773
|
+
],
|
5774
|
+
"type": "object"
|
5775
|
+
},
|
5573
5776
|
"DescribeCCRuleListRequest": {
|
5574
5777
|
"document": "DescribeCCRuleList请求参数结构体",
|
5575
5778
|
"members": [
|
@@ -5633,6 +5836,16 @@
|
|
5633
5836
|
"DescribeCCRuleListResponse": {
|
5634
5837
|
"document": "DescribeCCRuleList返回参数结构体",
|
5635
5838
|
"members": [
|
5839
|
+
{
|
5840
|
+
"disabled": false,
|
5841
|
+
"document": "查询到的CC规则的列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
5842
|
+
"example": "list",
|
5843
|
+
"member": "CCRuleLists",
|
5844
|
+
"name": "Data",
|
5845
|
+
"output_required": true,
|
5846
|
+
"type": "object",
|
5847
|
+
"value_allowed_null": true
|
5848
|
+
},
|
5636
5849
|
{
|
5637
5850
|
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
5638
5851
|
"member": "string",
|
@@ -14415,42 +14628,6 @@
|
|
14415
14628
|
],
|
14416
14629
|
"type": "object"
|
14417
14630
|
},
|
14418
|
-
"ModifyWafAutoDenyStatusRequest": {
|
14419
|
-
"document": "ModifyWafAutoDenyStatus请求参数结构体",
|
14420
|
-
"members": [
|
14421
|
-
{
|
14422
|
-
"disabled": false,
|
14423
|
-
"document": "WAF 自动封禁配置项",
|
14424
|
-
"example": "",
|
14425
|
-
"member": "AutoDenyDetail",
|
14426
|
-
"name": "WafAutoDenyDetails",
|
14427
|
-
"required": true,
|
14428
|
-
"type": "object"
|
14429
|
-
}
|
14430
|
-
],
|
14431
|
-
"type": "object"
|
14432
|
-
},
|
14433
|
-
"ModifyWafAutoDenyStatusResponse": {
|
14434
|
-
"document": "ModifyWafAutoDenyStatus返回参数结构体",
|
14435
|
-
"members": [
|
14436
|
-
{
|
14437
|
-
"disabled": false,
|
14438
|
-
"document": "WAF 自动封禁配置项",
|
14439
|
-
"example": "",
|
14440
|
-
"member": "AutoDenyDetail",
|
14441
|
-
"name": "WafAutoDenyDetails",
|
14442
|
-
"type": "object",
|
14443
|
-
"value_allowed_null": false
|
14444
|
-
},
|
14445
|
-
{
|
14446
|
-
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
14447
|
-
"member": "string",
|
14448
|
-
"name": "RequestId",
|
14449
|
-
"type": "string"
|
14450
|
-
}
|
14451
|
-
],
|
14452
|
-
"type": "object"
|
14453
|
-
},
|
14454
14631
|
"ModifyWafThreatenIntelligenceRequest": {
|
14455
14632
|
"document": "ModifyWafThreatenIntelligence请求参数结构体",
|
14456
14633
|
"members": [
|
@@ -16101,6 +16278,60 @@
|
|
16101
16278
|
],
|
16102
16279
|
"usage": "in"
|
16103
16280
|
},
|
16281
|
+
"UpsertCCAutoStatusRequest": {
|
16282
|
+
"document": "UpsertCCAutoStatus请求参数结构体",
|
16283
|
+
"members": [
|
16284
|
+
{
|
16285
|
+
"disabled": false,
|
16286
|
+
"document": "域名",
|
16287
|
+
"example": "",
|
16288
|
+
"member": "string",
|
16289
|
+
"name": "Domain",
|
16290
|
+
"required": true,
|
16291
|
+
"type": "string"
|
16292
|
+
},
|
16293
|
+
{
|
16294
|
+
"disabled": false,
|
16295
|
+
"document": "状态值",
|
16296
|
+
"example": "",
|
16297
|
+
"member": "int64",
|
16298
|
+
"name": "Value",
|
16299
|
+
"required": true,
|
16300
|
+
"type": "int"
|
16301
|
+
},
|
16302
|
+
{
|
16303
|
+
"disabled": false,
|
16304
|
+
"document": "版本:clb-waf, spart-waf",
|
16305
|
+
"example": "",
|
16306
|
+
"member": "string",
|
16307
|
+
"name": "Edition",
|
16308
|
+
"required": false,
|
16309
|
+
"type": "string"
|
16310
|
+
}
|
16311
|
+
],
|
16312
|
+
"type": "object"
|
16313
|
+
},
|
16314
|
+
"UpsertCCAutoStatusResponse": {
|
16315
|
+
"document": "UpsertCCAutoStatus返回参数结构体",
|
16316
|
+
"members": [
|
16317
|
+
{
|
16318
|
+
"disabled": false,
|
16319
|
+
"document": "正常情况为null\n注意:此字段可能返回 null,表示取不到有效值。",
|
16320
|
+
"example": "",
|
16321
|
+
"member": "string",
|
16322
|
+
"name": "Data",
|
16323
|
+
"type": "string",
|
16324
|
+
"value_allowed_null": true
|
16325
|
+
},
|
16326
|
+
{
|
16327
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
16328
|
+
"member": "string",
|
16329
|
+
"name": "RequestId",
|
16330
|
+
"type": "string"
|
16331
|
+
}
|
16332
|
+
],
|
16333
|
+
"type": "object"
|
16334
|
+
},
|
16104
16335
|
"UpsertCCRuleRequest": {
|
16105
16336
|
"document": "UpsertCCRule请求参数结构体",
|
16106
16337
|
"members": [
|
@@ -318,6 +318,14 @@
|
|
318
318
|
"title": "Waf 多域名ip黑白名单查询"
|
319
319
|
}
|
320
320
|
],
|
321
|
+
"DescribeCCAutoStatus": [
|
322
|
+
{
|
323
|
+
"document": "",
|
324
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeCCAutoStatus\r\n&Domain=www.test.com\r\n&<公共请求参数>",
|
325
|
+
"output": "{\n \"Response\": {\n \"AutoCCSwitch\": 0,\n \"RequestId\": \"2a2d479f-d481-40e9-bb31-8f9e743bd529\"\n }\n}",
|
326
|
+
"title": "Waf 斯巴达版本查询cc自动封堵状态"
|
327
|
+
}
|
328
|
+
],
|
321
329
|
"DescribeCCRule": [
|
322
330
|
{
|
323
331
|
"document": "",
|
@@ -336,13 +344,13 @@
|
|
336
344
|
{
|
337
345
|
"document": "",
|
338
346
|
"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}",
|
339
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
|
347
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"ActionType\": 22,\n \"Advance\": 0,\n \"Interval\": 60,\n \"Limit\": 60,\n \"MatchFunc\": 0,\n \"Name\": \"test1\",\n \"Priority\": 50,\n \"Status\": 1,\n \"TsVersion\": 1579058116920,\n \"Url\": \"///\",\n \"ValidTime\": 600,\n \"Options\": \"\",\n \"RuleId\": 1900009616,\n \"EventId\": \"111\"\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
|
340
348
|
"title": "根据URL查询API规则"
|
341
349
|
},
|
342
350
|
{
|
343
351
|
"document": "",
|
344
352
|
"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}",
|
345
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"41b55f8b-1ed1-484c-aab7-c14c0889f78b\"\n }\n}",
|
353
|
+
"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}",
|
346
354
|
"title": "test1"
|
347
355
|
}
|
348
356
|
],
|
@@ -1060,14 +1068,6 @@
|
|
1060
1068
|
"title": "修改ip惩罚配置"
|
1061
1069
|
}
|
1062
1070
|
],
|
1063
|
-
"ModifyWafAutoDenyStatus": [
|
1064
|
-
{
|
1065
|
-
"document": "",
|
1066
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWafAutoDenyStatus\n<公共请求参数>\n\n{\n \"WafAutoDenyDetails\": {\n \"TimeThreshold\": 0,\n \"AttackThreshold\": 0,\n \"AttackTags\": [\n \"123\"\n ],\n \"DefenseStatus\": 0\n }\n}",
|
1067
|
-
"output": "{\n \"Response\": {\n \"WafAutoDenyDetails\": {\n \"TimeThreshold\": 0,\n \"AttackThreshold\": 0,\n \"AttackTags\": [\n \"123\"\n ],\n \"DefenseStatus\": 0\n },\n \"RequestId\": \"xx\"\n }\n}",
|
1068
|
-
"title": "配置WAF自动情报封禁模块详情"
|
1069
|
-
}
|
1070
|
-
],
|
1071
1071
|
"ModifyWafThreatenIntelligence": [
|
1072
1072
|
{
|
1073
1073
|
"document": "配置管理WAF 威胁情报封禁模块",
|
@@ -1132,6 +1132,14 @@
|
|
1132
1132
|
"title": "切换弹性的开关"
|
1133
1133
|
}
|
1134
1134
|
],
|
1135
|
+
"UpsertCCAutoStatus": [
|
1136
|
+
{
|
1137
|
+
"document": "",
|
1138
|
+
"input": "https://waf.tencentcloudapi.com/?Action=UpsertCCAutoStatus\r\n&Domain=test.com\r\n&Value=1\r\n&<公共请求参数>",
|
1139
|
+
"output": "{\n \"Response\": {\n \"Data\": null,\n \"RequestId\": \"a0b4e55b-5307-4378-856d-efc22475c77d\"\n }\n}",
|
1140
|
+
"title": "Waf 斯巴达版本更新cc自动封堵状态"
|
1141
|
+
}
|
1142
|
+
],
|
1135
1143
|
"UpsertCCRule": [
|
1136
1144
|
{
|
1137
1145
|
"document": "",
|
tccli/services/waf/waf_client.py
CHANGED
@@ -1681,7 +1681,7 @@ def doDescribeObjects(args, parsed_globals):
|
|
1681
1681
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
1682
|
|
1683
1683
|
|
1684
|
-
def
|
1684
|
+
def doUpsertCCAutoStatus(args, parsed_globals):
|
1685
1685
|
g_param = parse_global_arg(parsed_globals)
|
1686
1686
|
|
1687
1687
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1710,11 +1710,11 @@ def doDescribeRuleLimit(args, parsed_globals):
|
|
1710
1710
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1711
1711
|
client._sdkVersion += ("_CLI_" + __version__)
|
1712
1712
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1713
|
-
model = models.
|
1713
|
+
model = models.UpsertCCAutoStatusRequest()
|
1714
1714
|
model.from_json_string(json.dumps(args))
|
1715
1715
|
start_time = time.time()
|
1716
1716
|
while True:
|
1717
|
-
rsp = client.
|
1717
|
+
rsp = client.UpsertCCAutoStatus(model)
|
1718
1718
|
result = rsp.to_json_string()
|
1719
1719
|
try:
|
1720
1720
|
json_obj = json.loads(result)
|
@@ -1733,7 +1733,7 @@ def doDescribeRuleLimit(args, parsed_globals):
|
|
1733
1733
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
1734
|
|
1735
1735
|
|
1736
|
-
def
|
1736
|
+
def doDescribeRuleLimit(args, parsed_globals):
|
1737
1737
|
g_param = parse_global_arg(parsed_globals)
|
1738
1738
|
|
1739
1739
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1762,11 +1762,11 @@ def doDescribeDomains(args, parsed_globals):
|
|
1762
1762
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1763
1763
|
client._sdkVersion += ("_CLI_" + __version__)
|
1764
1764
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1765
|
-
model = models.
|
1765
|
+
model = models.DescribeRuleLimitRequest()
|
1766
1766
|
model.from_json_string(json.dumps(args))
|
1767
1767
|
start_time = time.time()
|
1768
1768
|
while True:
|
1769
|
-
rsp = client.
|
1769
|
+
rsp = client.DescribeRuleLimit(model)
|
1770
1770
|
result = rsp.to_json_string()
|
1771
1771
|
try:
|
1772
1772
|
json_obj = json.loads(result)
|
@@ -1785,7 +1785,7 @@ def doDescribeDomains(args, parsed_globals):
|
|
1785
1785
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1786
1786
|
|
1787
1787
|
|
1788
|
-
def
|
1788
|
+
def doDescribeDomains(args, parsed_globals):
|
1789
1789
|
g_param = parse_global_arg(parsed_globals)
|
1790
1790
|
|
1791
1791
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1814,11 +1814,11 @@ def doModifyHostStatus(args, parsed_globals):
|
|
1814
1814
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1815
1815
|
client._sdkVersion += ("_CLI_" + __version__)
|
1816
1816
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1817
|
-
model = models.
|
1817
|
+
model = models.DescribeDomainsRequest()
|
1818
1818
|
model.from_json_string(json.dumps(args))
|
1819
1819
|
start_time = time.time()
|
1820
1820
|
while True:
|
1821
|
-
rsp = client.
|
1821
|
+
rsp = client.DescribeDomains(model)
|
1822
1822
|
result = rsp.to_json_string()
|
1823
1823
|
try:
|
1824
1824
|
json_obj = json.loads(result)
|
@@ -1837,7 +1837,7 @@ def doModifyHostStatus(args, parsed_globals):
|
|
1837
1837
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1838
|
|
1839
1839
|
|
1840
|
-
def
|
1840
|
+
def doModifyHostStatus(args, parsed_globals):
|
1841
1841
|
g_param = parse_global_arg(parsed_globals)
|
1842
1842
|
|
1843
1843
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1866,11 +1866,11 @@ def doDescribeModuleStatus(args, parsed_globals):
|
|
1866
1866
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1867
1867
|
client._sdkVersion += ("_CLI_" + __version__)
|
1868
1868
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1869
|
-
model = models.
|
1869
|
+
model = models.ModifyHostStatusRequest()
|
1870
1870
|
model.from_json_string(json.dumps(args))
|
1871
1871
|
start_time = time.time()
|
1872
1872
|
while True:
|
1873
|
-
rsp = client.
|
1873
|
+
rsp = client.ModifyHostStatus(model)
|
1874
1874
|
result = rsp.to_json_string()
|
1875
1875
|
try:
|
1876
1876
|
json_obj = json.loads(result)
|
@@ -1889,7 +1889,7 @@ def doDescribeModuleStatus(args, parsed_globals):
|
|
1889
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1890
|
|
1891
1891
|
|
1892
|
-
def
|
1892
|
+
def doDescribeModuleStatus(args, parsed_globals):
|
1893
1893
|
g_param = parse_global_arg(parsed_globals)
|
1894
1894
|
|
1895
1895
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1918,11 +1918,11 @@ def doUpsertIpAccessControl(args, parsed_globals):
|
|
1918
1918
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
1919
|
client._sdkVersion += ("_CLI_" + __version__)
|
1920
1920
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
-
model = models.
|
1921
|
+
model = models.DescribeModuleStatusRequest()
|
1922
1922
|
model.from_json_string(json.dumps(args))
|
1923
1923
|
start_time = time.time()
|
1924
1924
|
while True:
|
1925
|
-
rsp = client.
|
1925
|
+
rsp = client.DescribeModuleStatus(model)
|
1926
1926
|
result = rsp.to_json_string()
|
1927
1927
|
try:
|
1928
1928
|
json_obj = json.loads(result)
|
@@ -1941,7 +1941,7 @@ def doUpsertIpAccessControl(args, parsed_globals):
|
|
1941
1941
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
1942
|
|
1943
1943
|
|
1944
|
-
def
|
1944
|
+
def doUpsertIpAccessControl(args, parsed_globals):
|
1945
1945
|
g_param = parse_global_arg(parsed_globals)
|
1946
1946
|
|
1947
1947
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1970,11 +1970,11 @@ def doGetAttackHistogram(args, parsed_globals):
|
|
1970
1970
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
1971
1971
|
client._sdkVersion += ("_CLI_" + __version__)
|
1972
1972
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1973
|
-
model = models.
|
1973
|
+
model = models.UpsertIpAccessControlRequest()
|
1974
1974
|
model.from_json_string(json.dumps(args))
|
1975
1975
|
start_time = time.time()
|
1976
1976
|
while True:
|
1977
|
-
rsp = client.
|
1977
|
+
rsp = client.UpsertIpAccessControl(model)
|
1978
1978
|
result = rsp.to_json_string()
|
1979
1979
|
try:
|
1980
1980
|
json_obj = json.loads(result)
|
@@ -1993,7 +1993,7 @@ def doGetAttackHistogram(args, parsed_globals):
|
|
1993
1993
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1994
1994
|
|
1995
1995
|
|
1996
|
-
def
|
1996
|
+
def doGetAttackHistogram(args, parsed_globals):
|
1997
1997
|
g_param = parse_global_arg(parsed_globals)
|
1998
1998
|
|
1999
1999
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2022,11 +2022,11 @@ def doModifyWafAutoDenyStatus(args, parsed_globals):
|
|
2022
2022
|
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
2023
2023
|
client._sdkVersion += ("_CLI_" + __version__)
|
2024
2024
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2025
|
-
model = models.
|
2025
|
+
model = models.GetAttackHistogramRequest()
|
2026
2026
|
model.from_json_string(json.dumps(args))
|
2027
2027
|
start_time = time.time()
|
2028
2028
|
while True:
|
2029
|
-
rsp = client.
|
2029
|
+
rsp = client.GetAttackHistogram(model)
|
2030
2030
|
result = rsp.to_json_string()
|
2031
2031
|
try:
|
2032
2032
|
json_obj = json.loads(result)
|
@@ -6517,6 +6517,58 @@ def doUpsertSession(args, parsed_globals):
|
|
6517
6517
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6518
6518
|
|
6519
6519
|
|
6520
|
+
def doDescribeCCAutoStatus(args, parsed_globals):
|
6521
|
+
g_param = parse_global_arg(parsed_globals)
|
6522
|
+
|
6523
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6524
|
+
cred = credential.CVMRoleCredential()
|
6525
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6526
|
+
cred = credential.STSAssumeRoleCredential(
|
6527
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6528
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
6529
|
+
)
|
6530
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
6531
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6532
|
+
else:
|
6533
|
+
cred = credential.Credential(
|
6534
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6535
|
+
)
|
6536
|
+
http_profile = HttpProfile(
|
6537
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6538
|
+
reqMethod="POST",
|
6539
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6540
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6541
|
+
)
|
6542
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6543
|
+
if g_param[OptionsDefine.Language]:
|
6544
|
+
profile.language = g_param[OptionsDefine.Language]
|
6545
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6546
|
+
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
6547
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6548
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6549
|
+
model = models.DescribeCCAutoStatusRequest()
|
6550
|
+
model.from_json_string(json.dumps(args))
|
6551
|
+
start_time = time.time()
|
6552
|
+
while True:
|
6553
|
+
rsp = client.DescribeCCAutoStatus(model)
|
6554
|
+
result = rsp.to_json_string()
|
6555
|
+
try:
|
6556
|
+
json_obj = json.loads(result)
|
6557
|
+
except TypeError as e:
|
6558
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6559
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6560
|
+
break
|
6561
|
+
cur_time = time.time()
|
6562
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6563
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6564
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6565
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6566
|
+
else:
|
6567
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6568
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6569
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6570
|
+
|
6571
|
+
|
6520
6572
|
def doDescribeUserSignatureRule(args, parsed_globals):
|
6521
6573
|
g_param = parse_global_arg(parsed_globals)
|
6522
6574
|
|
@@ -6872,13 +6924,13 @@ ACTION_MAP = {
|
|
6872
6924
|
"GenerateDealsAndPayNew": doGenerateDealsAndPayNew,
|
6873
6925
|
"DeleteAntiInfoLeakRule": doDeleteAntiInfoLeakRule,
|
6874
6926
|
"DescribeObjects": doDescribeObjects,
|
6927
|
+
"UpsertCCAutoStatus": doUpsertCCAutoStatus,
|
6875
6928
|
"DescribeRuleLimit": doDescribeRuleLimit,
|
6876
6929
|
"DescribeDomains": doDescribeDomains,
|
6877
6930
|
"ModifyHostStatus": doModifyHostStatus,
|
6878
6931
|
"DescribeModuleStatus": doDescribeModuleStatus,
|
6879
6932
|
"UpsertIpAccessControl": doUpsertIpAccessControl,
|
6880
6933
|
"GetAttackHistogram": doGetAttackHistogram,
|
6881
|
-
"ModifyWafAutoDenyStatus": doModifyWafAutoDenyStatus,
|
6882
6934
|
"ModifyAccessPeriod": doModifyAccessPeriod,
|
6883
6935
|
"ModifyAntiFakeUrlStatus": doModifyAntiFakeUrlStatus,
|
6884
6936
|
"DescribeVipInfo": doDescribeVipInfo,
|
@@ -6965,6 +7017,7 @@ ACTION_MAP = {
|
|
6965
7017
|
"DescribeCCRuleList": doDescribeCCRuleList,
|
6966
7018
|
"ModifyWebshellStatus": doModifyWebshellStatus,
|
6967
7019
|
"UpsertSession": doUpsertSession,
|
7020
|
+
"DescribeCCAutoStatus": doDescribeCCAutoStatus,
|
6968
7021
|
"DescribeUserSignatureRule": doDescribeUserSignatureRule,
|
6969
7022
|
"FreshAntiFakeUrl": doFreshAntiFakeUrl,
|
6970
7023
|
"DescribeDomainRules": doDescribeDomainRules,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.999.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.999
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tccli/__init__.py,sha256=
|
1
|
+
tccli/__init__.py,sha256=lwDAj6FE71QDR0tzOHxYMoMxim5xka_qewMeT_ttpjw,26
|
2
2
|
tccli/argparser.py,sha256=iFaw_iIMdyVwUdcv2_2OHQfe7-7j9yGzoOgXgXswoBo,5555
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
@@ -10464,8 +10464,9 @@ tccli/examples/waf/v20180125/DescribeAttackType.md,sha256=7BsciThVidLYXanPkfGMeC
|
|
10464
10464
|
tccli/examples/waf/v20180125/DescribeAttackWhiteRule.md,sha256=m5raVGo846HsWkqFAhFktp-2LlJbr9zQ2GpFOpapGnc,1022
|
10465
10465
|
tccli/examples/waf/v20180125/DescribeAutoDenyIP.md,sha256=JR3uu43s25Yyyn31HSRps3Wnr-9nasOYdAP0g_PWes0,504
|
10466
10466
|
tccli/examples/waf/v20180125/DescribeBatchIpAccessControl.md,sha256=nOiFeULfPV3dhK1ECjO7CzbZmMpSn3XVBbmWtYDRZAY,891
|
10467
|
+
tccli/examples/waf/v20180125/DescribeCCAutoStatus.md,sha256=HRVYmb9C-H9frwDEvpBCZkv9UAuSLz32L1_vFrP3Ibg,297
|
10467
10468
|
tccli/examples/waf/v20180125/DescribeCCRule.md,sha256=9vd8gZ8fHDGSTQdCSx1dDXenBCd4dgKGoxjyIwsNARA,1401
|
10468
|
-
tccli/examples/waf/v20180125/DescribeCCRuleList.md,sha256=
|
10469
|
+
tccli/examples/waf/v20180125/DescribeCCRuleList.md,sha256=vbykga47jbsgoolMyZQYbKWd6cLyk8aQPxuVjkn0uuU,2552
|
10469
10470
|
tccli/examples/waf/v20180125/DescribeCertificateVerifyResult.md,sha256=FfwQaqmYCgwUSFdblAQO6ENG1zlc_zNEuyGBxLhy2CY,387
|
10470
10471
|
tccli/examples/waf/v20180125/DescribeCiphersDetail.md,sha256=TXVO9abuEgsV1geL2W172UsbDmULADeq4pdyK8ODPMw,455
|
10471
10472
|
tccli/examples/waf/v20180125/DescribeCustomRuleList.md,sha256=ranKzTxtaWkjxuTsQTxyo6XVVx_BSVnfmmfVey1dwHQ,1416
|
@@ -10557,6 +10558,7 @@ tccli/examples/waf/v20180125/SearchAccessLog.md,sha256=9jPdvwtwKP7ToOJDnUttupEDR
|
|
10557
10558
|
tccli/examples/waf/v20180125/SearchAttackLog.md,sha256=1tKTheNcl9kBhrE4P1RFwmeZfAneqf0A8DwU0XKtvgs,689
|
10558
10559
|
tccli/examples/waf/v20180125/SwitchDomainRules.md,sha256=s_EZuk0w6AkdK_YERHe-KKaAr7hLHWDyQsVaayi1KxM,288
|
10559
10560
|
tccli/examples/waf/v20180125/SwitchElasticMode.md,sha256=8pn-sQyEYCm_r1072hUsIEUKapJt2nYVvybrd0GGB5w,254
|
10561
|
+
tccli/examples/waf/v20180125/UpsertCCAutoStatus.md,sha256=2Ws_1jFO0DTPljKb2szsLkmO12Hk8_EQ0CANuk-Q0pc,302
|
10560
10562
|
tccli/examples/waf/v20180125/UpsertCCRule.md,sha256=MQtZHyTC_Uo3IF5pXBBQMaTzmrrautdQdG1kQQj0N84,1368
|
10561
10563
|
tccli/examples/waf/v20180125/UpsertIpAccessControl.md,sha256=ia_DV3keo3UOZah_QHHMu9z7ur98hP6fabMjD-9aJFY,453
|
10562
10564
|
tccli/examples/waf/v20180125/UpsertSession.md,sha256=d8cJ6eNR3ypgxZbMqRMyh9F4Xz2AYhPxrx_p85t1yHI,422
|
@@ -11982,7 +11984,7 @@ tccli/services/teo/__init__.py,sha256=nvzcUSkSQuTftWEJ399BUZpUk_0jEq-l97539DwbAw
|
|
11982
11984
|
tccli/services/teo/teo_client.py,sha256=vR-P-KNhssEcy0JytH6rUpBQJZcVwSn79DJlDGbeQfs,222856
|
11983
11985
|
tccli/services/teo/v20220106/api.json,sha256=x4jXj4tTP68SWt6IILZsrgny4pTa_CaXCZzcl7y0dWU,29173
|
11984
11986
|
tccli/services/teo/v20220106/examples.json,sha256=2s6dgk31pZ26N8hrFLCmQzVocmsC_QK1dO8WVBdJ8A0,5325
|
11985
|
-
tccli/services/teo/v20220901/api.json,sha256=
|
11987
|
+
tccli/services/teo/v20220901/api.json,sha256=YU1yhV3T3dtsDoLiA5OAJEjtN_tJOQqfoD-BJUke1Xc,491339
|
11986
11988
|
tccli/services/teo/v20220901/examples.json,sha256=MaQtrm3YfO2tGKKSroZ2iKZWNUoG_4eCiaxXIDFgYoY,147290
|
11987
11989
|
tccli/services/thpc/__init__.py,sha256=NancJ76I7PbEBt7VJCaGnBsfMEZm2ezBvYqwxyLbLHo,87
|
11988
11990
|
tccli/services/thpc/thpc_client.py,sha256=wa1GZGhzp8hwUF9mJN-TyeNJQTrLgRfhDJ2vVyrBVHI,60903
|
@@ -12115,9 +12117,9 @@ tccli/services/vrs/vrs_client.py,sha256=Q62VvUzMAHAG816QW4Zlp6Bgbo71OMXCAXtvvAaX
|
|
12115
12117
|
tccli/services/vrs/v20200824/api.json,sha256=Btz8eKfLmhwABOp7BlbPxhWSJJQPL7-_t-iYaOWRDpM,22254
|
12116
12118
|
tccli/services/vrs/v20200824/examples.json,sha256=MYIeqJVsQgwPJfyBii_dtwTYZcOrAixpuORtyMU7YwU,4364
|
12117
12119
|
tccli/services/waf/__init__.py,sha256=CQIYSctAXRbX8x5xidAj7CBzOVIdMOZJQ0e6ENff3HU,85
|
12118
|
-
tccli/services/waf/waf_client.py,sha256=
|
12119
|
-
tccli/services/waf/v20180125/api.json,sha256
|
12120
|
-
tccli/services/waf/v20180125/examples.json,sha256=
|
12120
|
+
tccli/services/waf/waf_client.py,sha256=_eU-S_D2gFedImjN9EN-3blKDm3IOoke8wNj6wfDAIM,409043
|
12121
|
+
tccli/services/waf/v20180125/api.json,sha256=-nigx4KlJTeuCSlteGuNFKr12jpqshOmn4T5rCpE2gA,532524
|
12122
|
+
tccli/services/waf/v20180125/examples.json,sha256=x2AW4uFRlZqFqB17q1iy7UfLcUYNtsM1B8_5DvPOdeE,173152
|
12121
12123
|
tccli/services/wav/__init__.py,sha256=iOdPQbxYh0cdKcDo0kRWmQMiCl38owcMur1PRm3R6R8,85
|
12122
12124
|
tccli/services/wav/wav_client.py,sha256=5Vnf_MOephYVPVJ7uViG33IItuNr70JR5Rah7ecUc_o,85135
|
12123
12125
|
tccli/services/wav/v20210129/api.json,sha256=Lq3UxYWjjl9ztCYWONAKQD1Fop9SP9i_f7VnviR4iq0,181041
|
@@ -12152,8 +12154,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
|
|
12152
12154
|
tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
|
12153
12155
|
tccli/services/yunsou/v20191115/api.json,sha256=Dyfl3mC3NXGFINdyU_vxC-86gQe40YLOWjKkSK7XA2U,15708
|
12154
12156
|
tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
|
12155
|
-
tccli-3.0.
|
12156
|
-
tccli-3.0.
|
12157
|
-
tccli-3.0.
|
12158
|
-
tccli-3.0.
|
12159
|
-
tccli-3.0.
|
12157
|
+
tccli-3.0.999.1.dist-info/METADATA,sha256=t5xOXB3MCnQVqV54bTV2pMvE-_lX66c38XCGbrawm1Y,16065
|
12158
|
+
tccli-3.0.999.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
|
12159
|
+
tccli-3.0.999.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
|
12160
|
+
tccli-3.0.999.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
12161
|
+
tccli-3.0.999.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|