tccli 3.0.1100.1__py2.py3-none-any.whl → 3.0.1101.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdb/v20170320/CloseSSL.md +21 -0
  3. tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
  4. tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
  5. tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
  6. tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
  7. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
  8. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
  9. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
  10. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
  11. tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
  12. tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
  13. tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
  14. tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
  15. tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
  16. tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
  17. tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
  18. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
  19. tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
  20. tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
  21. tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
  22. tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
  23. tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
  24. tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
  25. tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
  26. tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
  27. tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
  28. tccli/services/cdb/cdb_client.py +163 -4
  29. tccli/services/cdb/v20170320/api.json +169 -0
  30. tccli/services/cdb/v20170320/examples.json +24 -0
  31. tccli/services/clb/v20180317/api.json +18 -0
  32. tccli/services/cls/v20201016/api.json +28 -28
  33. tccli/services/cls/v20201016/examples.json +1 -1
  34. tccli/services/csip/v20221121/api.json +157 -4
  35. tccli/services/csip/v20221121/examples.json +13 -13
  36. tccli/services/cvm/v20170312/api.json +3 -3
  37. tccli/services/cwp/cwp_client.py +0 -53
  38. tccli/services/cwp/v20180228/api.json +0 -194
  39. tccli/services/cwp/v20180228/examples.json +0 -8
  40. tccli/services/cynosdb/v20190107/api.json +1 -1
  41. tccli/services/nlp/v20190408/api.json +13 -0
  42. tccli/services/ocr/v20181119/api.json +1 -1
  43. tccli/services/postgres/v20170312/examples.json +1 -1
  44. tccli/services/rum/v20210622/api.json +8 -8
  45. tccli/services/ssl/v20191205/api.json +2 -2
  46. tccli/services/teo/v20220901/api.json +1 -1
  47. tccli/services/teo/v20220901/examples.json +1 -1
  48. tccli/services/tsf/v20180326/api.json +80 -42
  49. tccli/services/tsf/v20180326/examples.json +1 -1
  50. tccli/services/vpc/v20170312/api.json +36 -23
  51. tccli/services/vpc/v20170312/examples.json +11 -11
  52. tccli/services/wedata/v20210820/api.json +465 -0
  53. tccli/services/wedata/v20210820/examples.json +1 -1
  54. {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/RECORD +58 -55
  56. {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/license_files/LICENSE +0 -0
@@ -19,7 +19,7 @@
19
19
  "CreateRiskCenterScanTask": [
20
20
  {
21
21
  "document": "创建风险中心扫描任务",
22
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRiskCenterScanTask\n<公共请求参数>\n\n{\n \"TaskName\": \"abc\",\n \"Assets\": [\n {\n \"AssetName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AssetType\": \"abc\",\n \"Asset\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"ScanAssetType\": 0,\n \"ScanItem\": [\n \"abc\"\n ],\n \"ScanPlanType\": 0,\n \"ScanPlanContent\": \"abc\",\n \"SelfDefiningAssets\": [\n \"abc\"\n ],\n \"ScanFrom\": \"abc\",\n \"TaskAdvanceCFG\": {\n \"PortRisk\": [\n {\n \"PortSets\": \"abc\",\n \"CheckType\": 0,\n \"Detail\": \"abc\",\n \"Enable\": 0\n }\n ]\n },\n \"TaskMode\": 0\n}",
22
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRiskCenterScanTask\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"TaskName\": \"abc\",\n \"Assets\": [\n {\n \"AssetName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AssetType\": \"abc\",\n \"Asset\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"ScanAssetType\": 0,\n \"ScanItem\": [\n \"abc\"\n ],\n \"ScanPlanType\": 0,\n \"ScanPlanContent\": \"abc\",\n \"SelfDefiningAssets\": [\n \"abc\"\n ],\n \"ScanFrom\": \"abc\",\n \"TaskAdvanceCFG\": {\n \"PortRisk\": [\n {\n \"PortSets\": \"abc\",\n \"CheckType\": 0,\n \"Detail\": \"abc\",\n \"Enable\": 0\n }\n ]\n },\n \"TaskMode\": 0\n}",
23
23
  "output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
24
24
  "title": "创建风险中心扫描任务"
25
25
  }
@@ -147,7 +147,7 @@
147
147
  "DescribeRiskCenterAssetViewCFGRiskList": [
148
148
  {
149
149
  "document": "空示例",
150
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewCFGRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
150
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewCFGRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
151
151
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"Id\": \"abc\",\n \"CFGName\": \"abc\",\n \"CheckType\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AffectAsset\": \"abc\",\n \"Level\": \"abc\",\n \"FirstTime\": \"abc\",\n \"RecentTime\": \"abc\",\n \"From\": \"abc\",\n \"Status\": 0,\n \"CFGSTD\": \"abc\",\n \"CFGDescribe\": \"abc\",\n \"CFGFix\": \"abc\",\n \"CFGHelpURL\": \"abc\",\n \"Index\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\"\n }\n ],\n \"StatusLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"CFGNameLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"CheckTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"FromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
152
152
  "title": "空示例"
153
153
  }
@@ -155,7 +155,7 @@
155
155
  "DescribeRiskCenterAssetViewPortRiskList": [
156
156
  {
157
157
  "document": "空示例",
158
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewPortRiskList\n<公共请求参数>\n\n{\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"2021-01-01 00:00:00\",\n \"EndTime\": \"2021-01-01 00:00:00\"\n }\n}",
158
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewPortRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"xx\"\n ],\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"2021-01-01 00:00:00\",\n \"EndTime\": \"2021-01-01 00:00:00\"\n }\n}",
159
159
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"Port\": 1,\n \"AffectAsset\": \"abc\",\n \"Level\": \"abc\",\n \"InstanceType\": \"abc\",\n \"Protocol\": \"abc\",\n \"Component\": \"abc\",\n \"Service\": \"abc\",\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"Suggestion\": 1,\n \"Status\": 1,\n \"Id\": \"abc\",\n \"Index\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\",\n \"From\": \"abc\"\n }\n ],\n \"StatusLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"SuggestionLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"FromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
160
160
  "title": "空示例"
161
161
  }
@@ -163,7 +163,7 @@
163
163
  "DescribeRiskCenterAssetViewVULRiskList": [
164
164
  {
165
165
  "document": "空示例",
166
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewVULRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
166
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewVULRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
167
167
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"AffectAsset\": \"abc\",\n \"Level\": \"abc\",\n \"InstanceType\": \"abc\",\n \"Component\": \"abc\",\n \"Service\": \"abc\",\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"Status\": 1,\n \"Id\": \"abc\",\n \"Index\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\",\n \"VULType\": \"abc\",\n \"Port\": \"abc\",\n \"Describe\": \"abc\",\n \"AppName\": \"abc\",\n \"References\": \"abc\",\n \"AppVersion\": \"abc\",\n \"VULURL\": \"abc\",\n \"VULName\": \"abc\",\n \"CVE\": \"abc\",\n \"Fix\": \"abc\",\n \"POCId\": \"abc\",\n \"From\": \"abc\",\n \"CWPVersion\": 0,\n \"IsSupportRepair\": true,\n \"IsSupportDetect\": true,\n \"InstanceUUID\": \"abc\",\n \"Payload\": \"abc\",\n \"EMGCVulType\": 0\n }\n ],\n \"StatusLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"VULTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"FromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
168
168
  "title": "空示例"
169
169
  }
@@ -171,7 +171,7 @@
171
171
  "DescribeRiskCenterAssetViewWeakPasswordRiskList": [
172
172
  {
173
173
  "document": "空示例",
174
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewWeakPasswordRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
174
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewWeakPasswordRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
175
175
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"AffectAsset\": \"abc\",\n \"Level\": \"abc\",\n \"InstanceType\": \"abc\",\n \"Component\": \"abc\",\n \"Service\": \"abc\",\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"Status\": 1,\n \"Id\": \"abc\",\n \"Index\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\",\n \"PasswordType\": \"abc\",\n \"From\": \"abc\",\n \"VULType\": \"abc\",\n \"VULURL\": \"abc\",\n \"Fix\": \"abc\",\n \"Payload\": \"abc\"\n }\n ],\n \"StatusLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"PasswordTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"FromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
176
176
  "title": "空示例"
177
177
  }
@@ -179,7 +179,7 @@
179
179
  "DescribeRiskCenterPortViewPortRiskList": [
180
180
  {
181
181
  "document": "空示例",
182
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterPortViewPortRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
182
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterPortViewPortRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
183
183
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"NoHandleCount\": 0,\n \"Level\": \"abc\",\n \"Protocol\": \"abc\",\n \"Component\": \"abc\",\n \"Port\": 0,\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"Suggestion\": 1,\n \"AffectAssetCount\": \"abc\",\n \"Id\": \"abc\",\n \"From\": \"abc\",\n \"Index\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\",\n \"Service\": \"abc\"\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"SuggestionLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"FromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
184
184
  "title": "空示例"
185
185
  }
@@ -187,7 +187,7 @@
187
187
  "DescribeRiskCenterServerRiskList": [
188
188
  {
189
189
  "document": "获取风险服务列表",
190
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterServerRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
190
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterServerRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
191
191
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"ServiceTag\": \"abc\",\n \"Port\": 1,\n \"AffectAsset\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"Level\": \"abc\",\n \"Protocol\": \"abc\",\n \"Component\": \"abc\",\n \"Service\": \"abc\",\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"RiskDetails\": \"abc\",\n \"Suggestion\": \"abc\",\n \"Status\": 1,\n \"Id\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\",\n \"ServiceSnapshot\": \"abc\",\n \"Url\": \"abc\",\n \"Index\": \"abc\",\n \"RiskList\": [\n {\n \"Title\": \"abc\",\n \"Body\": \"abc\"\n }\n ],\n \"SuggestionList\": [\n {\n \"Title\": \"abc\",\n \"Body\": \"abc\"\n }\n ]\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
192
192
  "title": "获取风险服务列表"
193
193
  }
@@ -195,7 +195,7 @@
195
195
  "DescribeRiskCenterVULViewVULRiskList": [
196
196
  {
197
197
  "document": "获取漏洞视角的漏洞风险列表",
198
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterVULViewVULRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
198
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterVULViewVULRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
199
199
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"Port\": \"abc\",\n \"NoHandleCount\": 0,\n \"Level\": \"abc\",\n \"Component\": \"abc\",\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"AffectAssetCount\": 1,\n \"Id\": \"abc\",\n \"From\": \"abc\",\n \"Index\": \"abc\",\n \"VULType\": \"abc\",\n \"VULName\": \"abc\",\n \"CVE\": \"abc\",\n \"Describe\": \"abc\",\n \"Payload\": \"abc\",\n \"AppName\": \"abc\",\n \"References\": \"abc\",\n \"AppVersion\": \"abc\",\n \"VULURL\": \"abc\",\n \"Nick\": \"abc\",\n \"AppId\": \"abc\",\n \"Uin\": \"abc\",\n \"Fix\": \"abc\",\n \"EMGCVulType\": 0\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"FromLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"VULTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
200
200
  "title": "获取漏洞视角的漏洞风险列表"
201
201
  }
@@ -203,7 +203,7 @@
203
203
  "DescribeRiskCenterWebsiteRiskList": [
204
204
  {
205
205
  "document": "获取内容风险列表",
206
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterWebsiteRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
206
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterWebsiteRiskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
207
207
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"AffectAsset\": \"abc\",\n \"Level\": \"abc\",\n \"RecentTime\": \"abc\",\n \"FirstTime\": \"abc\",\n \"Status\": 1,\n \"Id\": \"abc\",\n \"Index\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"AppId\": \"abc\",\n \"Nick\": \"abc\",\n \"Uin\": \"abc\",\n \"URL\": \"abc\",\n \"URLPath\": \"abc\",\n \"InstanceType\": \"abc\",\n \"DetectEngine\": \"abc\",\n \"ResultDescribe\": \"abc\",\n \"SourceURL\": \"abc\",\n \"SourceURLPath\": \"abc\"\n }\n ],\n \"StatusLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"DetectEngineLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"LevelLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
208
208
  "title": "获取内容风险列表"
209
209
  }
@@ -219,7 +219,7 @@
219
219
  "DescribeScanTaskList": [
220
220
  {
221
221
  "document": "获取扫描任务列表",
222
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanTaskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
222
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanTaskList\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Filter\": {\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\"\n }\n}",
223
223
  "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Data\": [\n {\n \"TaskName\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ScanPlanContent\": \"abc\",\n \"TaskType\": 0,\n \"InsertTime\": \"abc\",\n \"TaskId\": \"abc\",\n \"SelfDefiningAssets\": [\n \"abc\"\n ],\n \"PredictTime\": 0,\n \"PredictEndTime\": \"abc\",\n \"ReportNumber\": 0,\n \"AssetNumber\": 0,\n \"ScanStatus\": 0,\n \"Percent\": 0,\n \"ScanItem\": \"abc\",\n \"ScanAssetType\": 0,\n \"VSSTaskId\": \"abc\",\n \"CSPMTaskId\": \"abc\",\n \"CWPPOCId\": \"abc\",\n \"CWPBlId\": \"abc\",\n \"VSSTaskProcess\": 0,\n \"CSPMTaskProcess\": 1,\n \"CWPPOCProcess\": 0,\n \"CWPBlProcess\": 1,\n \"ErrorCode\": 0,\n \"ErrorInfo\": \"abc\",\n \"StartDay\": 0,\n \"Frequency\": 0,\n \"CompleteNumber\": 0,\n \"CompleteAssetNumber\": 0,\n \"RiskCount\": 0,\n \"Assets\": [\n {\n \"AssetName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AssetType\": \"abc\",\n \"Asset\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"AppId\": \"abc\",\n \"UIN\": \"abc\",\n \"UserName\": \"abc\",\n \"TaskMode\": 0,\n \"ScanFrom\": \"abc\",\n \"IsFree\": 0\n }\n ],\n \"UINList\": [\n \"abc\"\n ],\n \"TaskModeList\": [\n {\n \"Value\": \"abc\",\n \"Text\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
224
224
  "title": "获取扫描任务列表"
225
225
  }
@@ -251,7 +251,7 @@
251
251
  "DescribeTaskLogURL": [
252
252
  {
253
253
  "document": "获取报告下载的临时链接",
254
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskLogURL\n<公共请求参数>\n\n{\n \"ReportItemKeyList\": [\n {\n \"TaskLogList\": [\n \"abc\"\n ]\n }\n ],\n \"Type\": 0,\n \"ReportTaskIdList\": [\n {\n \"AppId\": \"abc\",\n \"TaskIdList\": [\n \"abc\"\n ]\n }\n ]\n}",
254
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskLogURL\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"ReportItemKeyList\": [\n {\n \"TaskLogList\": [\n \"abc\"\n ]\n }\n ],\n \"Type\": 0,\n \"ReportTaskIdList\": [\n {\n \"AppId\": \"abc\",\n \"TaskIdList\": [\n \"abc\"\n ]\n }\n ]\n}",
255
255
  "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"URL\": \"abc\",\n \"LogId\": \"abc\",\n \"TaskLogName\": \"abc\",\n \"AppId\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
256
256
  "title": "获取报告下载的临时链接"
257
257
  }
@@ -291,7 +291,7 @@
291
291
  "ModifyRiskCenterRiskStatus": [
292
292
  {
293
293
  "document": "修改风险中心风险状态",
294
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRiskCenterRiskStatus\n<公共请求参数>\n\n{\n \"RiskStatusKeys\": [\n {\n \"Id\": \"abc\",\n \"PublicIPDomain\": \"abc\",\n \"InstanceId\": \"abc\",\n \"AppId\": \"abc\"\n }\n ],\n \"Status\": 1,\n \"Type\": 1\n}",
294
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRiskCenterRiskStatus\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"RiskStatusKeys\": [\n {\n \"Id\": \"abc\",\n \"PublicIPDomain\": \"abc\",\n \"InstanceId\": \"abc\",\n \"AppId\": \"abc\"\n }\n ],\n \"Status\": 1,\n \"Type\": 1\n}",
295
295
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
296
296
  "title": "修改风险中心风险状态"
297
297
  }
@@ -299,7 +299,7 @@
299
299
  "ModifyRiskCenterScanTask": [
300
300
  {
301
301
  "document": "修改风险中心扫描任务",
302
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRiskCenterScanTask\n<公共请求参数>\n\n{\n \"TaskName\": \"abc\",\n \"Assets\": [\n {\n \"AssetName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AssetType\": \"abc\",\n \"Asset\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"ScanAssetType\": 0,\n \"ScanItem\": [\n \"abc\"\n ],\n \"ScanPlanType\": 0,\n \"ScanPlanContent\": \"abc\",\n \"SelfDefiningAssets\": [\n \"abc\"\n ],\n \"TaskId\": \"abc\",\n \"TaskAdvanceCFG\": {\n \"PortRisk\": [\n {\n \"PortSets\": \"abc\",\n \"CheckType\": 0,\n \"Detail\": \"abc\",\n \"Enable\": 0\n }\n ],\n \"VulRisk\": [\n {\n \"RiskId\": \"abc\",\n \"Enable\": 0\n }\n ],\n \"WeakPwdRisk\": [\n {\n \"CheckItemId\": 0,\n \"Enable\": 0\n }\n ],\n \"CFGRisk\": [\n {\n \"ItemId\": \"abc\",\n \"Enable\": 0,\n \"ResourceType\": \"abc\"\n }\n ]\n },\n \"TaskMode\": 0\n}",
302
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRiskCenterScanTask\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"TaskName\": \"abc\",\n \"Assets\": [\n {\n \"AssetName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AssetType\": \"abc\",\n \"Asset\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"ScanAssetType\": 0,\n \"ScanItem\": [\n \"abc\"\n ],\n \"ScanPlanType\": 0,\n \"ScanPlanContent\": \"abc\",\n \"SelfDefiningAssets\": [\n \"abc\"\n ],\n \"TaskId\": \"abc\",\n \"TaskAdvanceCFG\": {\n \"PortRisk\": [\n {\n \"PortSets\": \"abc\",\n \"CheckType\": 0,\n \"Detail\": \"abc\",\n \"Enable\": 0\n }\n ],\n \"VulRisk\": [\n {\n \"RiskId\": \"abc\",\n \"Enable\": 0\n }\n ],\n \"WeakPwdRisk\": [\n {\n \"CheckItemId\": 0,\n \"Enable\": 0\n }\n ],\n \"CFGRisk\": [\n {\n \"ItemId\": \"abc\",\n \"Enable\": 0,\n \"ResourceType\": \"abc\"\n }\n ]\n },\n \"TaskMode\": 0\n}",
303
303
  "output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"Status\": 0,\n \"RequestId\": \"abc\"\n }\n}",
304
304
  "title": "修改风险中心扫描任务"
305
305
  }
@@ -6985,17 +6985,17 @@
6985
6985
  "example": "无",
6986
6986
  "member": "string",
6987
6987
  "name": "InstanceId",
6988
- "required": false,
6988
+ "output_required": true,
6989
6989
  "type": "string",
6990
6990
  "value_allowed_null": false
6991
6991
  },
6992
6992
  {
6993
6993
  "disabled": false,
6994
- "document": "实例状态。取值范围:<br><li>PENDING:表示创建中<br></li><li>LAUNCH_FAILED:表示创建失败<br></li><li>RUNNING:表示运行中<br></li><li>STOPPED:表示关机<br></li><li>STARTING:表示开机中<br></li><li>STOPPING:表示关机中<br></li><li>REBOOTING:表示重启中<br></li><li>SHUTDOWN:表示停止待销毁<br></li><li>TERMINATING:表示销毁中。<br></li>",
6994
+ "document": "实例状态。取值范围:<br><li>PENDING:表示创建中<br></li><li>LAUNCH_FAILED:表示创建失败<br></li><li>RUNNING:表示运行中<br></li><li>STOPPED:表示关机<br></li><li>STARTING:表示开机中<br></li><li>STOPPING:表示关机中<br></li><li>REBOOTING:表示重启中<br></li><li>SHUTDOWN:表示停止待销毁<br></li><li>TERMINATING:表示销毁中<br></li><li>ENTER_RESCUE_MODE:表示进入救援模式<br></li><li>RESCUE_MODE:表示在救援模式中<br></li><li>EXIT_RESCUE_MODE:表示退出救援模式<br></li><li>ENTER_SERVICE_LIVE_MIGRATE:表示进入在线服务迁移<br></li><li>SERVICE_LIVE_MIGRATE:表示在线服务迁移中<br></li><li>EXIT_SERVICE_LIVE_MIGRATE:表示退出在线服务迁移。<br></li>",
6995
6995
  "example": "无",
6996
6996
  "member": "string",
6997
6997
  "name": "InstanceState",
6998
- "required": false,
6998
+ "output_required": true,
6999
6999
  "type": "string",
7000
7000
  "value_allowed_null": false
7001
7001
  }
@@ -19829,58 +19829,6 @@ def doModifyBaselineRule(args, parsed_globals):
19829
19829
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
19830
19830
 
19831
19831
 
19832
- def doDescribeAttackLogInfo(args, parsed_globals):
19833
- g_param = parse_global_arg(parsed_globals)
19834
-
19835
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
19836
- cred = credential.CVMRoleCredential()
19837
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
19838
- cred = credential.STSAssumeRoleCredential(
19839
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
19840
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
19841
- )
19842
- 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):
19843
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
19844
- else:
19845
- cred = credential.Credential(
19846
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
19847
- )
19848
- http_profile = HttpProfile(
19849
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
19850
- reqMethod="POST",
19851
- endpoint=g_param[OptionsDefine.Endpoint],
19852
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
19853
- )
19854
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
19855
- if g_param[OptionsDefine.Language]:
19856
- profile.language = g_param[OptionsDefine.Language]
19857
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
19858
- client = mod.CwpClient(cred, g_param[OptionsDefine.Region], profile)
19859
- client._sdkVersion += ("_CLI_" + __version__)
19860
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
19861
- model = models.DescribeAttackLogInfoRequest()
19862
- model.from_json_string(json.dumps(args))
19863
- start_time = time.time()
19864
- while True:
19865
- rsp = client.DescribeAttackLogInfo(model)
19866
- result = rsp.to_json_string()
19867
- try:
19868
- json_obj = json.loads(result)
19869
- except TypeError as e:
19870
- json_obj = json.loads(result.decode('utf-8')) # python3.3
19871
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
19872
- break
19873
- cur_time = time.time()
19874
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
19875
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
19876
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
19877
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
19878
- else:
19879
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
19880
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
19881
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
19882
-
19883
-
19884
19832
  def doModifyWebPageProtectSwitch(args, parsed_globals):
19885
19833
  g_param = parse_global_arg(parsed_globals)
19886
19834
 
@@ -27345,7 +27293,6 @@ ACTION_MAP = {
27345
27293
  "DescribeTags": doDescribeTags,
27346
27294
  "DescribeBaselineBasicInfo": doDescribeBaselineBasicInfo,
27347
27295
  "ModifyBaselineRule": doModifyBaselineRule,
27348
- "DescribeAttackLogInfo": doDescribeAttackLogInfo,
27349
27296
  "ModifyWebPageProtectSwitch": doModifyWebPageProtectSwitch,
27350
27297
  "ModifyVulDefenceEventStatus": doModifyVulDefenceEventStatus,
27351
27298
  "GetLocalStorageItem": doGetLocalStorageItem,
@@ -854,13 +854,6 @@
854
854
  "output": "DescribeAttackEventsResponse",
855
855
  "status": "online"
856
856
  },
857
- "DescribeAttackLogInfo": {
858
- "document": "DescribeAttackEventInfo 接口替代\n\n网络攻击日志详情",
859
- "input": "DescribeAttackLogInfoRequest",
860
- "name": "网络攻击日志详情",
861
- "output": "DescribeAttackLogInfoResponse",
862
- "status": "deprecated"
863
- },
864
857
  "DescribeAttackLogs": {
865
858
  "document": "按分页形式展示网络攻击日志列表",
866
859
  "input": "DescribeAttackLogsRequest",
@@ -20399,193 +20392,6 @@
20399
20392
  ],
20400
20393
  "type": "object"
20401
20394
  },
20402
- "DescribeAttackLogInfoRequest": {
20403
- "document": "DescribeAttackLogInfo请求参数结构体",
20404
- "members": [
20405
- {
20406
- "disabled": false,
20407
- "document": "日志ID",
20408
- "example": "1",
20409
- "member": "uint64",
20410
- "name": "Id",
20411
- "required": true,
20412
- "type": "int"
20413
- }
20414
- ],
20415
- "type": "object"
20416
- },
20417
- "DescribeAttackLogInfoResponse": {
20418
- "document": "DescribeAttackLogInfo返回参数结构体",
20419
- "members": [
20420
- {
20421
- "disabled": false,
20422
- "document": "日志ID",
20423
- "example": "1",
20424
- "member": "uint64",
20425
- "name": "Id",
20426
- "required": true,
20427
- "type": "int",
20428
- "value_allowed_null": false
20429
- },
20430
- {
20431
- "disabled": false,
20432
- "document": "主机ID",
20433
- "example": "1",
20434
- "member": "string",
20435
- "name": "Quuid",
20436
- "required": true,
20437
- "type": "string",
20438
- "value_allowed_null": false
20439
- },
20440
- {
20441
- "disabled": false,
20442
- "document": "攻击来源端口",
20443
- "example": "xxx",
20444
- "member": "uint64",
20445
- "name": "SrcPort",
20446
- "required": true,
20447
- "type": "int",
20448
- "value_allowed_null": false
20449
- },
20450
- {
20451
- "disabled": false,
20452
- "document": "攻击来源IP",
20453
- "example": "xxx",
20454
- "member": "string",
20455
- "name": "SrcIp",
20456
- "required": true,
20457
- "type": "string",
20458
- "value_allowed_null": false
20459
- },
20460
- {
20461
- "disabled": false,
20462
- "document": "攻击目标端口",
20463
- "example": "xxx",
20464
- "member": "uint64",
20465
- "name": "DstPort",
20466
- "required": true,
20467
- "type": "int",
20468
- "value_allowed_null": false
20469
- },
20470
- {
20471
- "disabled": false,
20472
- "document": "攻击目标IP",
20473
- "example": "xxx",
20474
- "member": "string",
20475
- "name": "DstIp",
20476
- "required": true,
20477
- "type": "string",
20478
- "value_allowed_null": false
20479
- },
20480
- {
20481
- "disabled": false,
20482
- "document": "攻击方法",
20483
- "example": "xxx",
20484
- "member": "string",
20485
- "name": "HttpMethod",
20486
- "required": true,
20487
- "type": "string",
20488
- "value_allowed_null": false
20489
- },
20490
- {
20491
- "disabled": false,
20492
- "document": "攻击目标主机",
20493
- "example": "xxx",
20494
- "member": "string",
20495
- "name": "HttpHost",
20496
- "required": true,
20497
- "type": "string",
20498
- "value_allowed_null": false
20499
- },
20500
- {
20501
- "disabled": false,
20502
- "document": "攻击头信息",
20503
- "example": "xxx",
20504
- "member": "string",
20505
- "name": "HttpHead",
20506
- "required": true,
20507
- "type": "string",
20508
- "value_allowed_null": false
20509
- },
20510
- {
20511
- "disabled": false,
20512
- "document": "攻击者浏览器标识",
20513
- "example": "xxx",
20514
- "member": "string",
20515
- "name": "HttpUserAgent",
20516
- "required": true,
20517
- "type": "string",
20518
- "value_allowed_null": false
20519
- },
20520
- {
20521
- "disabled": false,
20522
- "document": "请求源",
20523
- "example": "xxx",
20524
- "member": "string",
20525
- "name": "HttpReferer",
20526
- "required": true,
20527
- "type": "string",
20528
- "value_allowed_null": false
20529
- },
20530
- {
20531
- "disabled": false,
20532
- "document": "威胁类型",
20533
- "example": "xxx",
20534
- "member": "string",
20535
- "name": "VulType",
20536
- "required": true,
20537
- "type": "string",
20538
- "value_allowed_null": false
20539
- },
20540
- {
20541
- "disabled": false,
20542
- "document": "攻击路径",
20543
- "example": "xxx",
20544
- "member": "string",
20545
- "name": "HttpCgi",
20546
- "required": true,
20547
- "type": "string",
20548
- "value_allowed_null": false
20549
- },
20550
- {
20551
- "disabled": false,
20552
- "document": "攻击参数",
20553
- "example": "xxx",
20554
- "member": "string",
20555
- "name": "HttpParam",
20556
- "required": true,
20557
- "type": "string",
20558
- "value_allowed_null": false
20559
- },
20560
- {
20561
- "disabled": false,
20562
- "document": "攻击时间",
20563
- "example": "xxx",
20564
- "member": "string",
20565
- "name": "CreatedAt",
20566
- "required": true,
20567
- "type": "string",
20568
- "value_allowed_null": false
20569
- },
20570
- {
20571
- "disabled": false,
20572
- "document": "攻击内容",
20573
- "example": "xxx",
20574
- "member": "string",
20575
- "name": "HttpContent",
20576
- "required": true,
20577
- "type": "string",
20578
- "value_allowed_null": false
20579
- },
20580
- {
20581
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
20582
- "member": "string",
20583
- "name": "RequestId",
20584
- "type": "string"
20585
- }
20586
- ],
20587
- "type": "object"
20588
- },
20589
20395
  "DescribeAttackLogsRequest": {
20590
20396
  "document": "DescribeAttackLogs请求参数结构体",
20591
20397
  "members": [
@@ -982,14 +982,6 @@
982
982
  "title": "网络攻击检测列表"
983
983
  }
984
984
  ],
985
- "DescribeAttackLogInfo": [
986
- {
987
- "document": "网络攻击日志详情",
988
- "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAttackLogInfo\n<公共请求参数>\n\n{\n \"Id\": \"1023\"\n}",
989
- "output": "{\n \"Response\": {\n \"HttpParam\": \"xx\",\n \"DstIp\": \"xx\",\n \"HttpCgi\": \"xx\",\n \"VulType\": \"xx\",\n \"CreatedAt\": \"xx\",\n \"SrcPort\": 1,\n \"HttpHead\": \"xx\",\n \"HttpUserAgent\": \"xx\",\n \"HttpMethod\": \"xx\",\n \"Quuid\": \"xx\",\n \"HttpReferer\": \"xx\",\n \"SrcIp\": \"xx\",\n \"DstPort\": 1,\n \"HttpContent\": \"xx\",\n \"Id\": 1,\n \"HttpHost\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
990
- "title": "网络攻击日志详情"
991
- }
992
- ],
993
985
  "DescribeAttackLogs": [
994
986
  {
995
987
  "document": "网络攻击日志列表",
@@ -7705,7 +7705,7 @@
7705
7705
  },
7706
7706
  {
7707
7707
  "disabled": false,
7708
- "document": "单次请求返回的数量。默认值为30,最大值为 20000。",
7708
+ "document": "单次请求返回的数量。默认值为30,最大值为 100。",
7709
7709
  "example": "10",
7710
7710
  "member": "uint64",
7711
7711
  "name": "Limit",
@@ -116,6 +116,7 @@
116
116
  "example": "无",
117
117
  "member": "float",
118
118
  "name": "Positive",
119
+ "output_required": true,
119
120
  "type": "float",
120
121
  "value_allowed_null": false
121
122
  },
@@ -125,6 +126,7 @@
125
126
  "example": "无",
126
127
  "member": "float",
127
128
  "name": "Neutral",
129
+ "output_required": true,
128
130
  "type": "float",
129
131
  "value_allowed_null": false
130
132
  },
@@ -134,6 +136,7 @@
134
136
  "example": "无",
135
137
  "member": "float",
136
138
  "name": "Negative",
139
+ "output_required": true,
137
140
  "type": "float",
138
141
  "value_allowed_null": false
139
142
  },
@@ -143,6 +146,7 @@
143
146
  "example": "无",
144
147
  "member": "string",
145
148
  "name": "Sentiment",
149
+ "output_required": true,
146
150
  "type": "string",
147
151
  "value_allowed_null": false
148
152
  },
@@ -346,6 +350,7 @@
346
350
  "example": "满园春色",
347
351
  "member": "string",
348
352
  "name": "TopScroll",
353
+ "output_required": true,
349
354
  "type": "string",
350
355
  "value_allowed_null": false
351
356
  },
@@ -355,6 +360,7 @@
355
360
  "example": "无",
356
361
  "member": "string",
357
362
  "name": "Content",
363
+ "output_required": true,
358
364
  "type": "list",
359
365
  "value_allowed_null": false
360
366
  },
@@ -364,6 +370,7 @@
364
370
  "example": "无",
365
371
  "member": "string",
366
372
  "name": "RandomCause",
373
+ "output_required": true,
367
374
  "type": "string",
368
375
  "value_allowed_null": false
369
376
  },
@@ -418,6 +425,7 @@
418
425
  "example": "阳光",
419
426
  "member": "string",
420
427
  "name": "Title",
428
+ "output_required": true,
421
429
  "type": "string",
422
430
  "value_allowed_null": false
423
431
  },
@@ -427,6 +435,7 @@
427
435
  "example": "无",
428
436
  "member": "string",
429
437
  "name": "Content",
438
+ "output_required": true,
430
439
  "type": "list",
431
440
  "value_allowed_null": false
432
441
  },
@@ -733,6 +742,7 @@
733
742
  "example": "无",
734
743
  "member": "float",
735
744
  "name": "Similarity",
745
+ "output_required": true,
736
746
  "type": "float",
737
747
  "value_allowed_null": false
738
748
  },
@@ -916,6 +926,7 @@
916
926
  "example": "无",
917
927
  "member": "string",
918
928
  "name": "WordList",
929
+ "output_required": true,
919
930
  "type": "list",
920
931
  "value_allowed_null": false
921
932
  },
@@ -1042,6 +1053,7 @@
1042
1053
  "example": "无",
1043
1054
  "member": "Embellish",
1044
1055
  "name": "EmbellishList",
1056
+ "output_required": true,
1045
1057
  "type": "list",
1046
1058
  "value_allowed_null": false
1047
1059
  },
@@ -1114,6 +1126,7 @@
1114
1126
  "example": "无",
1115
1127
  "member": "Writing",
1116
1128
  "name": "WritingList",
1129
+ "output_required": true,
1117
1130
  "type": "list",
1118
1131
  "value_allowed_null": false
1119
1132
  },
@@ -344,7 +344,7 @@
344
344
  "status": "online"
345
345
  },
346
346
  "RecognizeGeneralTextImageWarn": {
347
- "document": "本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。\n\n默认接口请求频率限制:10次/秒。",
347
+ "document": "本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。",
348
348
  "input": "RecognizeGeneralTextImageWarnRequest",
349
349
  "name": "通用文本图像告警",
350
350
  "output": "RecognizeGeneralTextImageWarnResponse",