tccli 3.0.1131.1__py2.py3-none-any.whl → 3.0.1133.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 (60) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +1 -0
  3. tccli/services/apm/v20210622/examples.json +1 -1
  4. tccli/services/cdwch/v20200915/api.json +9 -9
  5. tccli/services/cdwch/v20200915/examples.json +1 -1
  6. tccli/services/cdwdoris/v20211228/api.json +18 -0
  7. tccli/services/cfw/v20190904/api.json +4 -4
  8. tccli/services/ckafka/v20190819/api.json +133 -76
  9. tccli/services/ckafka/v20190819/examples.json +17 -17
  10. tccli/services/cms/v20190321/api.json +2 -0
  11. tccli/services/cms/v20190321/examples.json +1 -1
  12. tccli/services/csip/csip_client.py +106 -0
  13. tccli/services/csip/v20221121/api.json +862 -129
  14. tccli/services/csip/v20221121/examples.json +20 -4
  15. tccli/services/cynosdb/v20190107/api.json +340 -0
  16. tccli/services/dlc/dlc_client.py +53 -0
  17. tccli/services/dlc/v20210125/api.json +34 -0
  18. tccli/services/dlc/v20210125/examples.json +8 -0
  19. tccli/services/dsgc/v20190723/api.json +20 -18
  20. tccli/services/dsgc/v20190723/examples.json +5 -5
  21. tccli/services/eb/v20210416/examples.json +1 -1
  22. tccli/services/emr/v20190103/api.json +1 -1
  23. tccli/services/ess/v20201111/api.json +3 -3
  24. tccli/services/essbasic/v20210526/api.json +6 -6
  25. tccli/services/gaap/v20180529/api.json +21 -1
  26. tccli/services/gaap/v20180529/examples.json +0 -6
  27. tccli/services/iecp/v20210914/api.json +40 -40
  28. tccli/services/ims/v20201229/api.json +2 -2
  29. tccli/services/lke/lke_client.py +171 -12
  30. tccli/services/lke/v20231130/api.json +524 -0
  31. tccli/services/lke/v20231130/examples.json +24 -0
  32. tccli/services/monitor/v20180724/api.json +47 -19
  33. tccli/services/monitor/v20180724/examples.json +4 -4
  34. tccli/services/ocr/v20181119/api.json +2 -2
  35. tccli/services/ocr/v20181119/examples.json +2 -2
  36. tccli/services/pts/v20210728/api.json +1 -1
  37. tccli/services/pts/v20210728/examples.json +1 -1
  38. tccli/services/redis/v20180412/api.json +33 -29
  39. tccli/services/redis/v20180412/examples.json +8 -8
  40. tccli/services/rum/v20210622/api.json +2 -0
  41. tccli/services/rum/v20210622/examples.json +1 -1
  42. tccli/services/sms/v20210111/api.json +26 -26
  43. tccli/services/tcr/v20190924/api.json +13 -10
  44. tccli/services/tcr/v20190924/examples.json +2 -2
  45. tccli/services/tke/tke_client.py +53 -0
  46. tccli/services/tke/v20180525/api.json +227 -41
  47. tccli/services/tke/v20180525/examples.json +26 -0
  48. tccli/services/tse/v20201207/api.json +13 -2
  49. tccli/services/tsf/v20180326/api.json +10 -8
  50. tccli/services/tsf/v20180326/examples.json +3 -3
  51. tccli/services/waf/v20180125/api.json +65 -9
  52. tccli/services/waf/v20180125/examples.json +1 -1
  53. tccli/services/wedata/v20210820/api.json +111 -20
  54. tccli/services/wedata/v20210820/examples.json +8 -0
  55. tccli/services/wedata/wedata_client.py +53 -0
  56. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/METADATA +2 -2
  57. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/RECORD +60 -60
  58. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/WHEEL +0 -0
  59. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/entry_points.txt +0 -0
  60. {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/license_files/LICENSE +0 -0
@@ -11,7 +11,7 @@
11
11
  "CreateDomainAndIp": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDomainAndIp\n<公共请求参数>\n\n{\n \"Content\": [\n \"abc\"\n ],\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
14
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDomainAndIp\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Content\": [\n \"abc\"\n ],\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
15
15
  "output": "{\n \"Response\": {\n \"Data\": 0,\n \"RequestId\": \"abc\"\n }\n}",
16
16
  "title": "添加资产"
17
17
  }
@@ -27,7 +27,7 @@
27
27
  "DeleteDomainAndIp": [
28
28
  {
29
29
  "document": "删除公网IP/域名",
30
- "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDomainAndIp\n<公共请求参数>\n\n{\n \"Content\": [\n {\n \"Asset\": \"abc\"\n }\n ],\n \"RetainPath\": 0,\n \"IgnoreAsset\": 0,\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Type\": \"abc\"\n}",
30
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDomainAndIp\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abc\"\n ],\n \"Content\": [\n {\n \"Asset\": \"abc\"\n }\n ],\n \"RetainPath\": 0,\n \"IgnoreAsset\": 0,\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Type\": \"abc\"\n}",
31
31
  "output": "{\n \"Response\": {\n \"Data\": 0,\n \"RequestId\": \"abc\"\n }\n}",
32
32
  "title": "删除公网IP/域名"
33
33
  }
@@ -35,8 +35,8 @@
35
35
  "DeleteRiskScanTask": [
36
36
  {
37
37
  "document": "删除风险中心扫描任务",
38
- "input": "{\n \"MemberId\": [\n \"xx\"\n ],\n \"TaskIdList\": [\n {\n \"TaskId\": \"xx\",\n \"TargetAppId\": \"xx\"\n }\n ]\n}",
39
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
38
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRiskScanTask\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"mem-abcd\"\n ],\n \"TaskIdList\": [\n {\n \"TaskId\": \"abcd\"\n }\n ]\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abcd\"\n }\n}",
40
40
  "title": "删除风险中心扫描任务"
41
41
  }
42
42
  ],
@@ -272,6 +272,14 @@
272
272
  "title": "查询漏洞风险高级配置"
273
273
  }
274
274
  ],
275
+ "DescribeVULRiskDetail": [
276
+ {
277
+ "document": "示例1",
278
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVULRiskDetail\n<公共请求参数>\n\n{\n \"PCMGRId\": \"pcmgr-33429\"\n}",
279
+ "output": "{\n \"Response\": {\n \"QuestionId\": \"-\",\n \"RequestId\": \"46d36ab9-84d0-4ad1-bc9f-284742f231b9\",\n \"ServiceSupport\": [\n {\n \"IsSupport\": false,\n \"ServiceName\": \"cfw_waf_virtual\",\n \"SupportHandledCount\": 0,\n \"SupportTotalCount\": 0\n },\n {\n \"IsSupport\": false,\n \"ServiceName\": \"cwp_detect\",\n \"SupportHandledCount\": 0,\n \"SupportTotalCount\": 0\n },\n {\n \"IsSupport\": false,\n \"ServiceName\": \"cwp_defense\",\n \"SupportHandledCount\": 0,\n \"SupportTotalCount\": 0\n },\n {\n \"IsSupport\": false,\n \"ServiceName\": \"cwp_fix\",\n \"SupportHandledCount\": 0,\n \"SupportTotalCount\": 0\n }\n ],\n \"SessionId\": \"\",\n \"VulData\": {\n \"Describe\": \"Vim存在输入验证漏洞。由于没有正确的过滤转义字符,从7.2.010到7.x的Vim 3.0不能正确地转义字符,这使得用户辅助攻击者可以(1)通过在包含“;”的行上输入K击键来执行任意的shell命令。(分号)后接命令,或通过在(2)“ Ctrl-]”(控制小括号)或(3)“ g]”(g小括号)后输入参数来执行任意Ex命令)击键顺序,与CVE-2008-2712的问题不同。\",\n \"Fix\": \" 建议您更新当前系统或软件至最新版,完成漏洞的修复。参考链接:https://www.vim.org/download.php\",\n \"ImpactComponent\": \"(vim) vim\",\n \"References\": \"http://ftp.vim.org/pub/vim/patches/7.2/7.2.010,http://groups.google.com/group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2,http://groups.google.com/group/vim_dev/attach/dd32ad3a84f36bb2/K-arbitrary-command-execution.patch?part=2,http://groups.google.com/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668e,http://groups.google.com/group/vim_dev/msg/9290f26f9bc11b33,http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html,http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html,http://secunia.com/advisories/31592,http://secunia.com/advisories/32222,http://secunia.com/advisories/32858,http://secunia.com/advisories/32864,http://secunia.com/advisories/33410,http://support.apple.com/kb/HT3216,http://support.apple.com/kb/HT4077,http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm,http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm,http://www.mandriva.com/security/advisories?name=MDVSA-2008:236,http://www.openwall.com/lists/oss-security/2008/09/11/3,http://www.openwall.com/lists/oss-security/2008/09/11/4,http://www.openwall.com/lists/oss-security/2008/09/16/5,http://www.openwall.com/lists/oss-security/2008/09/16/6,http://www.rdancer.org/vulnerablevim-K.html,http://www.redhat.com/support/errata/RHSA-2008-0580.html,http://www.redhat.com/support/errata/RHSA-2008-0617.html,http://www.redhat.com/support/errata/RHSA-2008-0618.html,http://www.securityfocus.com/archive/1/495662,http://www.securityfocus.com/archive/1/495703,http://www.securityfocus.com/archive/1/502322/100/0/threaded,http://www.securityfocus.com/bid/30795,http://www.securityfocus.com/bid/31681,http://www.ubuntu.com/usn/USN-712-1,http://www.vmware.com/security/advisories/VMSA-2009-0004.html,http://www.vupen.com/english/advisories/2008/2780,http://www.vupen.com/english/advisories/2009/0033,http://www.vupen.com/english/advisories/2009/0904,https://bugzilla.redhat.com/show_bug.cgi?id=461927,https://exchange.xforce.ibmcloud.com/vulnerabilities/44626,https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10894,https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5812\"\n },\n \"VulTrend\": [\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-05\"\n },\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-06\"\n },\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-07\"\n },\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-08\"\n },\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-09\"\n },\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-10\"\n },\n {\n \"AffectAssetCount\": 0,\n \"AffectUserCount\": 0,\n \"AttackCount\": 0,\n \"Date\": \"2023-12-11\"\n }\n ]\n }\n}",
280
+ "title": "示例1"
281
+ }
282
+ ],
275
283
  "DescribeVpcAssets": [
276
284
  {
277
285
  "document": "空示例",
@@ -280,6 +288,14 @@
280
288
  "title": "空示例"
281
289
  }
282
290
  ],
291
+ "DescribeVulViewVulRiskList": [
292
+ {
293
+ "document": "success1",
294
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVulViewVulRiskList\n<公共请求参数>\n\n{}",
295
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AffectAssetCount\": 1,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2019-25032\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-10-30 15:02:23\",\n \"From\": \"主机检测\",\n \"Index\": \"04c52dbf64c927a11b15840089e8f1d3\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-11-29 14:43:07\",\n \"RiskId\": \"04c52dbf64c927a11b15840089e8f1d3\",\n \"Uin\": \"\",\n \"VULName\": \"Unbound 输入验证错误漏洞 (CVE-2019-25032)\",\n \"VULType\": \"处理逻辑错误\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 1,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2018-25009\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-12-07 17:22:17\",\n \"From\": \"主机检测\",\n \"Index\": \"07c7249d578bb771121cdf5b6e7c6e54\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-12-07 17:22:17\",\n \"RiskId\": \"07c7249d578bb771121cdf5b6e7c6e54\",\n \"Uin\": \"\",\n \"VULName\": \"libwebp 缓冲区错误漏洞(CVE-2018-25009)\",\n \"VULType\": \"缓冲区溢出\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 1,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2021-20231\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-12-07 17:22:17\",\n \"From\": \"主机检测\",\n \"Index\": \"0dddd68a2edcb52ee7c6ee7641a0fffa\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-12-07 17:22:17\",\n \"RiskId\": \"0dddd68a2edcb52ee7c6ee7641a0fffa\",\n \"Uin\": \"\",\n \"VULName\": \"GnuTLS 资源管理错误漏洞(CVE-2021-20231)\",\n \"VULType\": \"其他\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 1,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2020-36331\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-12-07 17:22:17\",\n \"From\": \"主机检测\",\n \"Index\": \"0f256323945289d6d94372a23c639064\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-12-07 17:22:17\",\n \"RiskId\": \"0f256323945289d6d94372a23c639064\",\n \"Uin\": \"\",\n \"VULName\": \"libwebp 缓冲区错误漏洞(CVE-2020-36331)\",\n \"VULType\": \"缓冲区溢出\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 3,\n \"AppId\": \"1300448058\",\n \"AppName\": \"OpenSSH\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2020-15778\",\n \"Component\": \"OpenSSH\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-09-26 16:34:50\",\n \"From\": \"云安全中心\",\n \"Index\": \"1498f23a853529b3be8cf554629e4533\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"OpenSSH/7.4,OpenSSH/8.0\",\n \"Port\": \"22\",\n \"RecentTime\": \"2023-09-27 11:49:10\",\n \"RiskId\": \"1498f23a853529b3be8cf554629e4533\",\n \"Uin\": \"\",\n \"VULName\": \"OpenSSH 命令注入漏洞(CVE-2020-15778)\",\n \"VULType\": \"命令注入\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 2,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2021-3520\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-10-27 10:28:30\",\n \"From\": \"主机检测\",\n \"Index\": \"16f4ce6bfc81bf53176ef3a6351099ed\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-12-07 17:22:18\",\n \"RiskId\": \"16f4ce6bfc81bf53176ef3a6351099ed\",\n \"Uin\": \"\",\n \"VULName\": \"LZ4 安全漏洞 (CVE-2021-3520)\",\n \"VULType\": \"其他\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 2,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2020-9895\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-10-27 10:28:30\",\n \"From\": \"主机检测\",\n \"Index\": \"18321f689397785f8cb79c60c6aabae8\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-12-07 17:22:18\",\n \"RiskId\": \"18321f689397785f8cb79c60c6aabae8\",\n \"Uin\": \"\",\n \"VULName\": \"WebKit组件安全漏洞 (CVE-2020-9895)\",\n \"VULType\": \"其他\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 2,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2019-3822\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-10-27 10:28:30\",\n \"From\": \"主机检测\",\n \"Index\": \"1de2ea2fdeba33f60237e63ba1796a7a\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-12-07 17:22:18\",\n \"RiskId\": \"1de2ea2fdeba33f60237e63ba1796a7a\",\n \"Uin\": \"\",\n \"VULName\": \"Haxx libcurl 缓冲区错误漏洞 (CVE-2019-3822)\",\n \"VULType\": \"缓冲区溢出\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 1,\n \"AppId\": \"1300448058\",\n \"AppName\": \"-\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2019-25042\",\n \"Component\": \"-\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-10-30 15:02:23\",\n \"From\": \"主机检测\",\n \"Index\": \"21ecf9ac58582f15794dab5ee37bcef1\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"\",\n \"Port\": \"-\",\n \"RecentTime\": \"2023-11-29 14:43:07\",\n \"RiskId\": \"21ecf9ac58582f15794dab5ee37bcef1\",\n \"Uin\": \"\",\n \"VULName\": \"Unbound 缓冲区错误漏洞 (CVE-2019-25042)\",\n \"VULType\": \"缓冲区溢出\",\n \"VULURL\": \"\"\n },\n {\n \"AffectAssetCount\": 2,\n \"AppId\": \"1300448058\",\n \"AppName\": \"Nginx\",\n \"AppVersion\": \"-\",\n \"CVE\": \"CVE-2019-9511\",\n \"Component\": \"Nginx\",\n \"EMGCVulType\": 0,\n \"FirstTime\": \"2023-09-26 16:34:50\",\n \"From\": \"云安全中心\",\n \"Index\": \"28d5b79163e64cd046e6537131ea9e08\",\n \"Level\": \"high\",\n \"Nick\": \"\",\n \"NoHandleCount\": 0,\n \"PCMGRId\": \"\",\n \"Payload\": \"nginx/1.14.1\",\n \"Port\": \"80\",\n \"RecentTime\": \"2023-09-27 11:49:10\",\n \"RiskId\": \"28d5b79163e64cd046e6537131ea9e08\",\n \"Uin\": \"\",\n \"VULName\": \"nginx 安全漏洞(CVE-2019-9511)\",\n \"VULType\": \"其他\",\n \"VULURL\": \"\"\n }\n ],\n \"FromLists\": [\n {\n \"Text\": \"云安全中心\",\n \"Value\": \"0\"\n },\n {\n \"Text\": \"主机检测\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"容器检测\",\n \"Value\": \"5\"\n }\n ],\n \"LevelLists\": [\n {\n \"Text\": \"中危\",\n \"Value\": \"middle\"\n },\n {\n \"Text\": \"低危\",\n \"Value\": \"low\"\n },\n {\n \"Text\": \"提示\",\n \"Value\": \"info\"\n },\n {\n \"Text\": \"严重\",\n \"Value\": \"extreme\"\n },\n {\n \"Text\": \"高危\",\n \"Value\": \"high\"\n }\n ],\n \"RequestId\": \"470926c1-52bf-46fb-bc00-be5d1b8cba9f\",\n \"Tags\": [\n {\n \"Text\": \"该漏洞有poc\",\n \"Value\": \"POC\"\n },\n {\n \"Text\": \"必修\",\n \"Value\": \"IS_SUGGEST\"\n },\n {\n \"Text\": \"该漏洞有exp\",\n \"Value\": \"EXP\"\n },\n {\n \"Text\": \"该漏洞存在在野利用或在野攻击\",\n \"Value\": \"KNOWN_EXPLOITED\"\n },\n {\n \"Text\": \"该漏洞仅能本地利用\",\n \"Value\": \"LOCAL\"\n },\n {\n \"Text\": \"该漏洞可作为系统组件漏洞检出\",\n \"Value\": \"SYS\"\n },\n {\n \"Text\": \"该漏洞可作为应用组件漏洞检出\",\n \"Value\": \"APP\"\n },\n {\n \"Text\": \"应急\",\n \"Value\": \"IS_EMERGENCY\"\n },\n {\n \"Text\": \"该漏洞可以远程利用\",\n \"Value\": \"NETWORK\"\n }\n ],\n \"TotalCount\": 672,\n \"VULTypeLists\": [\n {\n \"Text\": \"处理逻辑错误\",\n \"Value\": \"处理逻辑错误\"\n }\n ]\n }\n}",
296
+ "title": "success1"
297
+ }
298
+ ],
283
299
  "ModifyOrganizationAccountStatus": [
284
300
  {
285
301
  "document": "修改集团账号状态",
@@ -2476,6 +2476,16 @@
2476
2476
  "type": "string",
2477
2477
  "value_allowed_null": false
2478
2478
  },
2479
+ {
2480
+ "disabled": false,
2481
+ "document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
2482
+ "example": "无",
2483
+ "member": "string",
2484
+ "name": "Region",
2485
+ "output_required": false,
2486
+ "type": "string",
2487
+ "value_allowed_null": true
2488
+ },
2479
2489
  {
2480
2490
  "disabled": false,
2481
2491
  "document": "任务创建时间",
@@ -2785,6 +2795,16 @@
2785
2795
  "output_required": false,
2786
2796
  "type": "object",
2787
2797
  "value_allowed_null": true
2798
+ },
2799
+ {
2800
+ "disabled": false,
2801
+ "document": "实例日志投递信息\n\n注意:此字段可能返回 null,表示取不到有效值。",
2802
+ "example": "无",
2803
+ "member": "InstanceCLSDeliveryInfo",
2804
+ "name": "InstanceCLSDeliveryInfos",
2805
+ "output_required": false,
2806
+ "type": "list",
2807
+ "value_allowed_null": true
2788
2808
  }
2789
2809
  ],
2790
2810
  "usage": "out"
@@ -11470,6 +11490,58 @@
11470
11490
  ],
11471
11491
  "usage": "both"
11472
11492
  },
11493
+ "ExchangeInstanceInfo": {
11494
+ "document": "交换实例信息",
11495
+ "members": [
11496
+ {
11497
+ "disabled": false,
11498
+ "document": "源实例信息\n注意:此字段可能返回 null,表示取不到有效值。",
11499
+ "example": "无",
11500
+ "member": "RollbackInstanceInfo",
11501
+ "name": "SrcInstanceInfo",
11502
+ "output_required": false,
11503
+ "type": "object",
11504
+ "value_allowed_null": true
11505
+ },
11506
+ {
11507
+ "disabled": false,
11508
+ "document": "目标实例信息\n注意:此字段可能返回 null,表示取不到有效值。",
11509
+ "example": "无",
11510
+ "member": "RollbackInstanceInfo",
11511
+ "name": "DstInstanceInfo",
11512
+ "output_required": false,
11513
+ "type": "object",
11514
+ "value_allowed_null": true
11515
+ }
11516
+ ],
11517
+ "usage": "out"
11518
+ },
11519
+ "ExchangeRoGroupInfo": {
11520
+ "document": "交换RO组信息",
11521
+ "members": [
11522
+ {
11523
+ "disabled": false,
11524
+ "document": "源RO组信息\n注意:此字段可能返回 null,表示取不到有效值。",
11525
+ "example": "无",
11526
+ "member": "RollbackRoGroupInfo",
11527
+ "name": "SrcRoGroupInfo",
11528
+ "output_required": false,
11529
+ "type": "object",
11530
+ "value_allowed_null": true
11531
+ },
11532
+ {
11533
+ "disabled": false,
11534
+ "document": "目标RO组信息\n注意:此字段可能返回 null,表示取不到有效值。",
11535
+ "example": "无",
11536
+ "member": "RollbackRoGroupInfo",
11537
+ "name": "DstRoGroupInfo",
11538
+ "output_required": false,
11539
+ "type": "object",
11540
+ "value_allowed_null": true
11541
+ }
11542
+ ],
11543
+ "usage": "out"
11544
+ },
11473
11545
  "ExportInstanceErrorLogsRequest": {
11474
11546
  "document": "ExportInstanceErrorLogs请求参数结构体",
11475
11547
  "members": [
@@ -17678,6 +17750,16 @@
17678
17750
  "output_required": true,
17679
17751
  "type": "string",
17680
17752
  "value_allowed_null": true
17753
+ },
17754
+ {
17755
+ "disabled": false,
17756
+ "document": "回档进程\n注意:此字段可能返回 null,表示取不到有效值。",
17757
+ "example": "无",
17758
+ "member": "RollbackProcessInfo",
17759
+ "name": "RollbackProcess",
17760
+ "output_required": false,
17761
+ "type": "object",
17762
+ "value_allowed_null": true
17681
17763
  }
17682
17764
  ],
17683
17765
  "usage": "out"
@@ -17710,6 +17792,264 @@
17710
17792
  ],
17711
17793
  "usage": "both"
17712
17794
  },
17795
+ "RollbackInstanceInfo": {
17796
+ "document": "回档实例信息",
17797
+ "members": [
17798
+ {
17799
+ "disabled": false,
17800
+ "document": "集群ID\n注意:此字段可能返回 null,表示取不到有效值。",
17801
+ "example": "无",
17802
+ "member": "string",
17803
+ "name": "ClusterId",
17804
+ "output_required": false,
17805
+ "type": "string",
17806
+ "value_allowed_null": true
17807
+ },
17808
+ {
17809
+ "disabled": false,
17810
+ "document": "集群名称\n注意:此字段可能返回 null,表示取不到有效值。",
17811
+ "example": "无",
17812
+ "member": "string",
17813
+ "name": "ClusterName",
17814
+ "output_required": false,
17815
+ "type": "string",
17816
+ "value_allowed_null": true
17817
+ },
17818
+ {
17819
+ "disabled": false,
17820
+ "document": "vpc信息\n注意:此字段可能返回 null,表示取不到有效值。",
17821
+ "example": "无",
17822
+ "member": "string",
17823
+ "name": "UniqVpcId",
17824
+ "output_required": false,
17825
+ "type": "string",
17826
+ "value_allowed_null": true
17827
+ },
17828
+ {
17829
+ "disabled": false,
17830
+ "document": "子网信息\n注意:此字段可能返回 null,表示取不到有效值。",
17831
+ "example": "无",
17832
+ "member": "string",
17833
+ "name": "UniqSubnetId",
17834
+ "output_required": false,
17835
+ "type": "string",
17836
+ "value_allowed_null": true
17837
+ },
17838
+ {
17839
+ "disabled": false,
17840
+ "document": "vip信息\n注意:此字段可能返回 null,表示取不到有效值。",
17841
+ "example": "无",
17842
+ "member": "string",
17843
+ "name": "Vip",
17844
+ "output_required": false,
17845
+ "type": "string",
17846
+ "value_allowed_null": true
17847
+ },
17848
+ {
17849
+ "disabled": false,
17850
+ "document": "vport信息\n注意:此字段可能返回 null,表示取不到有效值。",
17851
+ "example": "无",
17852
+ "member": "int64",
17853
+ "name": "Vport",
17854
+ "output_required": false,
17855
+ "type": "int",
17856
+ "value_allowed_null": true
17857
+ },
17858
+ {
17859
+ "disabled": false,
17860
+ "document": "实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
17861
+ "example": "无",
17862
+ "member": "string",
17863
+ "name": "InstanceId",
17864
+ "output_required": false,
17865
+ "type": "string",
17866
+ "value_allowed_null": true
17867
+ },
17868
+ {
17869
+ "disabled": false,
17870
+ "document": "实例名称\n注意:此字段可能返回 null,表示取不到有效值。",
17871
+ "example": "无",
17872
+ "member": "string",
17873
+ "name": "InstanceName",
17874
+ "output_required": false,
17875
+ "type": "string",
17876
+ "value_allowed_null": true
17877
+ },
17878
+ {
17879
+ "disabled": false,
17880
+ "document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
17881
+ "example": "无",
17882
+ "member": "string",
17883
+ "name": "Status",
17884
+ "output_required": false,
17885
+ "type": "string",
17886
+ "value_allowed_null": true
17887
+ },
17888
+ {
17889
+ "disabled": false,
17890
+ "document": "cpu大小\n注意:此字段可能返回 null,表示取不到有效值。",
17891
+ "example": "无",
17892
+ "member": "int64",
17893
+ "name": "Cpu",
17894
+ "output_required": false,
17895
+ "type": "int",
17896
+ "value_allowed_null": true
17897
+ },
17898
+ {
17899
+ "disabled": false,
17900
+ "document": "内存大小\n注意:此字段可能返回 null,表示取不到有效值。",
17901
+ "example": "无",
17902
+ "member": "int64",
17903
+ "name": "Mem",
17904
+ "output_required": false,
17905
+ "type": "int",
17906
+ "value_allowed_null": true
17907
+ },
17908
+ {
17909
+ "disabled": false,
17910
+ "document": "存储大小\n注意:此字段可能返回 null,表示取不到有效值。",
17911
+ "example": "无",
17912
+ "member": "int64",
17913
+ "name": "StorageLimit",
17914
+ "output_required": false,
17915
+ "type": "int",
17916
+ "value_allowed_null": true
17917
+ }
17918
+ ],
17919
+ "usage": "out"
17920
+ },
17921
+ "RollbackProcessInfo": {
17922
+ "document": "回档进度详情",
17923
+ "members": [
17924
+ {
17925
+ "disabled": false,
17926
+ "document": "是否可以交换vip\n注意:此字段可能返回 null,表示取不到有效值。",
17927
+ "example": "无",
17928
+ "member": "bool",
17929
+ "name": "IsVipSwitchable",
17930
+ "output_required": false,
17931
+ "type": "bool",
17932
+ "value_allowed_null": true
17933
+ },
17934
+ {
17935
+ "disabled": false,
17936
+ "document": "vip可交换时间\n注意:此字段可能返回 null,表示取不到有效值。",
17937
+ "example": "无",
17938
+ "member": "string",
17939
+ "name": "VipSwitchableTime",
17940
+ "output_required": false,
17941
+ "type": "string",
17942
+ "value_allowed_null": true
17943
+ },
17944
+ {
17945
+ "disabled": false,
17946
+ "document": "交换实例列表\n注意:此字段可能返回 null,表示取不到有效值。",
17947
+ "example": "无",
17948
+ "member": "ExchangeInstanceInfo",
17949
+ "name": "ExchangeInstanceInfoList",
17950
+ "output_required": false,
17951
+ "type": "list",
17952
+ "value_allowed_null": true
17953
+ },
17954
+ {
17955
+ "disabled": false,
17956
+ "document": "交换RO组列表\n注意:此字段可能返回 null,表示取不到有效值。",
17957
+ "example": "无",
17958
+ "member": "ExchangeRoGroupInfo",
17959
+ "name": "ExchangeRoGroupInfoList",
17960
+ "output_required": false,
17961
+ "type": "list",
17962
+ "value_allowed_null": true
17963
+ },
17964
+ {
17965
+ "disabled": false,
17966
+ "document": "当前步骤\n注意:此字段可能返回 null,表示取不到有效值。",
17967
+ "example": "无",
17968
+ "member": "string",
17969
+ "name": "CurrentStep",
17970
+ "output_required": false,
17971
+ "type": "string",
17972
+ "value_allowed_null": true
17973
+ },
17974
+ {
17975
+ "disabled": false,
17976
+ "document": "当前步骤进度\n注意:此字段可能返回 null,表示取不到有效值。",
17977
+ "example": "无",
17978
+ "member": "int64",
17979
+ "name": "CurrentStepProgress",
17980
+ "output_required": false,
17981
+ "type": "int",
17982
+ "value_allowed_null": true
17983
+ },
17984
+ {
17985
+ "disabled": false,
17986
+ "document": "当前步骤剩余时间\n注意:此字段可能返回 null,表示取不到有效值。",
17987
+ "example": "无",
17988
+ "member": "string",
17989
+ "name": "CurrentStepRemainingTime",
17990
+ "output_required": false,
17991
+ "type": "string",
17992
+ "value_allowed_null": true
17993
+ }
17994
+ ],
17995
+ "usage": "out"
17996
+ },
17997
+ "RollbackRoGroupInfo": {
17998
+ "document": "回档RO组信息",
17999
+ "members": [
18000
+ {
18001
+ "disabled": false,
18002
+ "document": "实例组ID\n注意:此字段可能返回 null,表示取不到有效值。",
18003
+ "example": "无",
18004
+ "member": "string",
18005
+ "name": "InstanceGroupId",
18006
+ "output_required": false,
18007
+ "type": "string",
18008
+ "value_allowed_null": true
18009
+ },
18010
+ {
18011
+ "disabled": false,
18012
+ "document": "vpc信息\n注意:此字段可能返回 null,表示取不到有效值。",
18013
+ "example": "无",
18014
+ "member": "string",
18015
+ "name": "UniqVpcId",
18016
+ "output_required": false,
18017
+ "type": "string",
18018
+ "value_allowed_null": true
18019
+ },
18020
+ {
18021
+ "disabled": false,
18022
+ "document": "子网信息\n注意:此字段可能返回 null,表示取不到有效值。",
18023
+ "example": "无",
18024
+ "member": "string",
18025
+ "name": "UniqSubnetId",
18026
+ "output_required": false,
18027
+ "type": "string",
18028
+ "value_allowed_null": true
18029
+ },
18030
+ {
18031
+ "disabled": false,
18032
+ "document": "vip信息\n注意:此字段可能返回 null,表示取不到有效值。",
18033
+ "example": "无",
18034
+ "member": "string",
18035
+ "name": "Vip",
18036
+ "output_required": false,
18037
+ "type": "string",
18038
+ "value_allowed_null": true
18039
+ },
18040
+ {
18041
+ "disabled": false,
18042
+ "document": "vport信息\n注意:此字段可能返回 null,表示取不到有效值。",
18043
+ "example": "无",
18044
+ "member": "int64",
18045
+ "name": "Vport",
18046
+ "output_required": false,
18047
+ "type": "int",
18048
+ "value_allowed_null": true
18049
+ }
18050
+ ],
18051
+ "usage": "out"
18052
+ },
17713
18053
  "RollbackTable": {
17714
18054
  "document": "回档数据库及表",
17715
18055
  "members": [
@@ -5061,6 +5061,58 @@ def doDescribeEngineUsageInfo(args, parsed_globals):
5061
5061
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5062
5062
 
5063
5063
 
5064
+ def doDescribeTasksOverview(args, parsed_globals):
5065
+ g_param = parse_global_arg(parsed_globals)
5066
+
5067
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5068
+ cred = credential.CVMRoleCredential()
5069
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5070
+ cred = credential.STSAssumeRoleCredential(
5071
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5072
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5073
+ )
5074
+ 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):
5075
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5076
+ else:
5077
+ cred = credential.Credential(
5078
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5079
+ )
5080
+ http_profile = HttpProfile(
5081
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5082
+ reqMethod="POST",
5083
+ endpoint=g_param[OptionsDefine.Endpoint],
5084
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5085
+ )
5086
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5087
+ if g_param[OptionsDefine.Language]:
5088
+ profile.language = g_param[OptionsDefine.Language]
5089
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5090
+ client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
5091
+ client._sdkVersion += ("_CLI_" + __version__)
5092
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5093
+ model = models.DescribeTasksOverviewRequest()
5094
+ model.from_json_string(json.dumps(args))
5095
+ start_time = time.time()
5096
+ while True:
5097
+ rsp = client.DescribeTasksOverview(model)
5098
+ result = rsp.to_json_string()
5099
+ try:
5100
+ json_obj = json.loads(result)
5101
+ except TypeError as e:
5102
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5103
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5104
+ break
5105
+ cur_time = time.time()
5106
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5107
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5108
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5109
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5110
+ else:
5111
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5112
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5113
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5114
+
5115
+
5064
5116
  def doUpdateDataEngineConfig(args, parsed_globals):
5065
5117
  g_param = parse_global_arg(parsed_globals)
5066
5118
 
@@ -7301,6 +7353,7 @@ ACTION_MAP = {
7301
7353
  "DeleteDataEngine": doDeleteDataEngine,
7302
7354
  "DeleteUser": doDeleteUser,
7303
7355
  "DescribeEngineUsageInfo": doDescribeEngineUsageInfo,
7356
+ "DescribeTasksOverview": doDescribeTasksOverview,
7304
7357
  "UpdateDataEngineConfig": doUpdateDataEngineConfig,
7305
7358
  "CreateTasksInOrder": doCreateTasksInOrder,
7306
7359
  "UpdateRowFilter": doUpdateRowFilter,
@@ -637,6 +637,13 @@
637
637
  "output": "DescribeTasksCostInfoResponse",
638
638
  "status": "online"
639
639
  },
640
+ "DescribeTasksOverview": {
641
+ "document": "查看任务概览页",
642
+ "input": "DescribeTasksOverviewRequest",
643
+ "name": "查看任务概览页",
644
+ "output": "DescribeTasksOverviewResponse",
645
+ "status": "online"
646
+ },
640
647
  "DescribeThirdPartyAccessUser": {
641
648
  "document": "本接口(RegisterThirdPartyAccessUser)查询开通第三方平台访问的用户信息",
642
649
  "input": "DescribeThirdPartyAccessUserRequest",
@@ -10347,6 +10354,33 @@
10347
10354
  ],
10348
10355
  "type": "object"
10349
10356
  },
10357
+ "DescribeTasksOverviewRequest": {
10358
+ "document": "DescribeTasksOverview请求参数结构体",
10359
+ "members": [],
10360
+ "type": "object"
10361
+ },
10362
+ "DescribeTasksOverviewResponse": {
10363
+ "document": "DescribeTasksOverview返回参数结构体",
10364
+ "members": [
10365
+ {
10366
+ "disabled": false,
10367
+ "document": "各类任务个数大于0",
10368
+ "example": "无",
10369
+ "member": "TasksOverview",
10370
+ "name": "TasksOverview",
10371
+ "required": true,
10372
+ "type": "object",
10373
+ "value_allowed_null": false
10374
+ },
10375
+ {
10376
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
10377
+ "member": "string",
10378
+ "name": "RequestId",
10379
+ "type": "string"
10380
+ }
10381
+ ],
10382
+ "type": "object"
10383
+ },
10350
10384
  "DescribeTasksRequest": {
10351
10385
  "document": "DescribeTasks请求参数结构体",
10352
10386
  "members": [
@@ -734,6 +734,14 @@
734
734
  "title": "查询任务消耗"
735
735
  }
736
736
  ],
737
+ "DescribeTasksOverview": [
738
+ {
739
+ "document": "",
740
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksOverview\n<公共请求参数>\n\n{}",
741
+ "output": "{\n \"Response\": {\n \"RequestId\": \"923423423445\",\n \"TasksOverview\": {\n \"TaskQueuedCount\": 0,\n \"TaskInitCount\": 0,\n \"TaskRunningCount\": 0,\n \"TotalTaskCount\": 0\n }\n }\n}",
742
+ "title": "查询任务概览情况"
743
+ }
744
+ ],
737
745
  "DescribeThirdPartyAccessUser": [
738
746
  {
739
747
  "document": "查询注册的第三方访问用户信息",