tccli 3.0.830.1__py2.py3-none-any.whl → 3.0.832.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 (40) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/asr/v20190614/api.json +4 -4
  4. tccli/services/bma/v20221115/api.json +9 -0
  5. tccli/services/bma/v20221115/examples.json +2 -2
  6. tccli/services/ccc/v20200210/api.json +9 -0
  7. tccli/services/ccc/v20200210/examples.json +2 -2
  8. tccli/services/cdc/v20201214/examples.json +1 -1
  9. tccli/services/ckafka/v20190819/api.json +1 -20
  10. tccli/services/ckafka/v20190819/examples.json +1 -1
  11. tccli/services/cwp/cwp_client.py +2179 -642
  12. tccli/services/cwp/v20180228/api.json +3069 -479
  13. tccli/services/cwp/v20180228/examples.json +247 -3
  14. tccli/services/dlc/dlc_client.py +341 -23
  15. tccli/services/dlc/v20210125/api.json +505 -0
  16. tccli/services/dlc/v20210125/examples.json +48 -0
  17. tccli/services/ess/ess_client.py +163 -4
  18. tccli/services/ess/v20201111/api.json +304 -0
  19. tccli/services/ess/v20201111/examples.json +24 -0
  20. tccli/services/essbasic/v20210526/api.json +68 -150
  21. tccli/services/essbasic/v20210526/examples.json +17 -17
  22. tccli/services/gme/gme_client.py +277 -12
  23. tccli/services/gme/v20180711/api.json +386 -0
  24. tccli/services/gme/v20180711/examples.json +40 -0
  25. tccli/services/intlpartnersmgt/__init__.py +4 -0
  26. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +724 -0
  27. tccli/services/intlpartnersmgt/v20220928/api.json +1054 -0
  28. tccli/services/intlpartnersmgt/v20220928/examples.json +93 -0
  29. tccli/services/live/v20180801/api.json +10 -10
  30. tccli/services/live/v20180801/examples.json +3 -3
  31. tccli/services/tdmq/v20200217/api.json +23 -44
  32. tccli/services/tdmq/v20200217/examples.json +3 -3
  33. tccli/services/trtc/v20190722/api.json +2 -2
  34. tccli/services/tse/v20201207/api.json +42 -1
  35. {tccli-3.0.830.1.dist-info → tccli-3.0.832.1.dist-info}/METADATA +2 -2
  36. {tccli-3.0.830.1.dist-info → tccli-3.0.832.1.dist-info}/RECORD +40 -36
  37. {tccli-3.0.830.1.dist-info → tccli-3.0.832.1.dist-info}/LICENSE +0 -0
  38. {tccli-3.0.830.1.dist-info → tccli-3.0.832.1.dist-info}/WHEEL +0 -0
  39. {tccli-3.0.830.1.dist-info → tccli-3.0.832.1.dist-info}/entry_points.txt +0 -0
  40. {tccli-3.0.830.1.dist-info → tccli-3.0.832.1.dist-info}/top_level.txt +0 -0
@@ -96,6 +96,22 @@
96
96
  "title": "删除策略"
97
97
  }
98
98
  ],
99
+ "DeleteBaselineRule": [
100
+ {
101
+ "document": "",
102
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBaselineRule\n<公共请求参数>\n\n{\n \"RuleId\": \"35184372088862\"\n}",
103
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a2c42036-e5c2-4ace-af66-7348922b5bbe\"\n }\n}",
104
+ "title": "删除规则"
105
+ }
106
+ ],
107
+ "DeleteBaselineRuleIgnore": [
108
+ {
109
+ "document": "",
110
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBaselineRuleIgnore\n<公共请求参数>\n\n{\n \"RuleIds\": [\n \"125\"\n ]\n}",
111
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0cfbf290-f12e-430a-a867-682429cf1310\"\n }\n}",
112
+ "title": "删除忽略规则"
113
+ }
114
+ ],
99
115
  "DeleteBaselineStrategy": [
100
116
  {
101
117
  "document": "根据基线策略id删除基线策略",
@@ -104,6 +120,14 @@
104
120
  "title": "删除基线策略接口"
105
121
  }
106
122
  ],
123
+ "DeleteBaselineWeakPassword": [
124
+ {
125
+ "document": "",
126
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBaselineWeakPassword\n<公共请求参数>\n\n{\n \"PasswordIds\": [\n \"3433\"\n ]\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4618e64b-6ca2-4506-88b4-95084de25534\"\n }\n}",
128
+ "title": "删除弱口令"
129
+ }
130
+ ],
107
131
  "DeleteBashEvents": [
108
132
  {
109
133
  "document": "删除高危命令事件",
@@ -584,6 +608,30 @@
584
608
  "title": "查询基线详情"
585
609
  }
586
610
  ],
611
+ "DescribeBaselineDetectList": [
612
+ {
613
+ "document": "",
614
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineDetectList\n<公共请求参数>\n\n{}",
615
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PolicyId\": 172,\n \"TaskId\": 2290,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 15:41:07\",\n \"FinishTime\": \"2022-08-16 15:44:25\",\n \"PolicyName\": \"专业版主机弱口令+旗舰版\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 172,\n \"TaskId\": 2307,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 17:54:39\",\n \"FinishTime\": \"2022-08-16 17:55:19\",\n \"PolicyName\": \"专业版主机弱口令+旗舰版\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 168,\n \"TaskId\": 2298,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 17:06:08\",\n \"FinishTime\": \"2022-08-16 17:15:23\",\n \"PolicyName\": \"全部\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 172,\n \"TaskId\": 2295,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 16:56:35\",\n \"FinishTime\": \"2022-08-16 16:58:39\",\n \"PolicyName\": \"专业版主机弱口令+旗舰版\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 172,\n \"TaskId\": 2294,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 16:47:52\",\n \"FinishTime\": \"2022-08-16 16:48:48\",\n \"PolicyName\": \"专业版主机弱口令+旗舰版\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 172,\n \"TaskId\": 2288,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 15:02:40\",\n \"FinishTime\": \"2022-08-16 15:04:43\",\n \"PolicyName\": \"专业版主机弱口令+旗舰版\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 168,\n \"TaskId\": 2297,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 17:05:33\",\n \"FinishTime\": \"2022-08-16 17:10:58\",\n \"PolicyName\": \"全部\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 172,\n \"TaskId\": 2289,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 15:06:38\",\n \"FinishTime\": \"2022-08-16 15:08:20\",\n \"PolicyName\": \"专业版主机弱口令+旗舰版\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 255,\n \"TaskId\": 2305,\n \"HostCount\": 48,\n \"StartTime\": \"2022-08-16 17:13:52\",\n \"FinishTime\": \"2022-08-16 17:14:21\",\n \"PolicyName\": \"自定义啦啦\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n },\n {\n \"PolicyId\": 257,\n \"TaskId\": 2351,\n \"HostCount\": 47,\n \"StartTime\": \"2022-08-19 00:00:00\",\n \"FinishTime\": \"2022-08-19 00:17:15\",\n \"PolicyName\": \"1111\",\n \"SuccessCount\": 0,\n \"FailedCount\": 0,\n \"TimeoutCount\": 0,\n \"PolicyDetectStatus\": 2\n }\n ],\n \"RequestId\": \"48f973be-b1f0-4f58-aa9e-7a813655ee43\",\n \"Total\": 110\n }\n}",
616
+ "title": "检测列表"
617
+ }
618
+ ],
619
+ "DescribeBaselineDetectOverview": [
620
+ {
621
+ "document": "",
622
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineDetectOverview\n<公共请求参数>\n\n{}",
623
+ "output": "{\n \"Response\": {\n \"LatestPassCount\": 0,\n \"HostCount\": 8,\n \"LatestNotPassCount\": 0,\n \"PolicyCount\": 18,\n \"PassRate\": 0,\n \"RequestId\": \"xx\",\n \"ItemCount\": 2955\n }\n}",
624
+ "title": "基线检测概要"
625
+ }
626
+ ],
627
+ "DescribeBaselineDownloadList": [
628
+ {
629
+ "document": "",
630
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineDownloadList\n<公共请求参数>\n\n{}",
631
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"TaskId\": 1,\n \"TaskName\": \"123\",\n \"Status\": 0,\n \"StartTime\": \"0001-01-01 00:00:00\",\n \"EndTime\": \"0001-01-01 00:00:00\",\n \"DownloadUrl\": \"http://www.a.b.c\"\n },\n {\n \"TaskId\": 1659337212,\n \"TaskName\": \"baseline_weak_password_2022-08-01 15:00:12\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 15:00:12\",\n \"EndTime\": \"2022-08-01 15:00:13\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-weakpassword-20220801-9d17c467-07d5-41e8-b17a-08023b747cdb.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659337213%3B1659423613&q-key-time=1659337213%3B1659423613&q-header-list=host&q-url-param-list=&q-signature=0b4faed272a2849ab0b1c88a578a5c3302d99321\"\n },\n {\n \"TaskId\": 1659338577,\n \"TaskName\": \"baseline_item_result_2022-08-01 15:22:57\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 15:22:57\",\n \"EndTime\": \"2022-08-01 15:22:58\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-item-result20220801-b9a74c51-6d64-476c-94bb-ef4321c23d19.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659338578%3B1659424978&q-key-time=1659338578%3B1659424978&q-header-list=host&q-url-param-list=&q-signature=5e8a8e35fa56b8ae40b2b75325523b6a272d5a0c\"\n },\n {\n \"TaskId\": 1659340686,\n \"TaskName\": \"baseline_host_view_result_2022-08-01 15:58:06\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 15:58:06\",\n \"EndTime\": \"2022-08-01 15:58:06\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-host-view-20220801-334e8211-eece-408c-b7c2-6262799d16bf.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659340686%3B1659427086&q-key-time=1659340686%3B1659427086&q-header-list=host&q-url-param-list=&q-signature=deb402bb4d3b51a679cc2e88e0571f7d70ea3508\"\n },\n {\n \"TaskId\": 1659341050,\n \"TaskName\": \"baseline_rule_view_result_2022-08-01 16:04:10\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 16:04:10\",\n \"EndTime\": \"2022-08-01 16:04:10\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-rule-view-result-20220801-e3e02620-290f-4e09-93a6-93010c39d9d2.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659341050%3B1659427450&q-key-time=1659341050%3B1659427450&q-header-list=host&q-url-param-list=&q-signature=7946fdb78f6d5197234d3aee67affe6159245bd1\"\n },\n {\n \"TaskId\": 1659341335,\n \"TaskName\": \"baseline_item_view_result_2022-08-01 16:08:55\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 16:08:55\",\n \"EndTime\": \"2022-08-01 16:08:56\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-item-view-20220801-a92c6549-5371-4872-b1fc-c1b19cce6e20.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659341336%3B1659427736&q-key-time=1659341336%3B1659427736&q-header-list=host&q-url-param-list=&q-signature=e59b7a006fd6a9ff2354866eb9b8723b15bc95f1\"\n },\n {\n \"TaskId\": 1659341438,\n \"TaskName\": \"baseline_item_result_2022-08-01 16:10:38\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 16:10:38\",\n \"EndTime\": \"2022-08-01 16:10:38\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-item-result-20220801-7281f049-ac13-4572-ae30-b37091be37e1.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659341438%3B1659427838&q-key-time=1659341438%3B1659427838&q-header-list=host&q-url-param-list=&q-signature=e194a8b23fc811b93706547cacf533d58defe639\"\n },\n {\n \"TaskId\": 1659344330,\n \"TaskName\": \"baseline_rule_view_result_2022-08-01 16:58:50\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 16:58:50\",\n \"EndTime\": \"2022-08-01 16:58:50\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-rule-view-result-20220801-9decfcc3-4c03-45c5-8e1e-e2387d81fc9a.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659344330%3B1659430730&q-key-time=1659344330%3B1659430730&q-header-list=host&q-url-param-list=&q-signature=f4de013652394a87c8f2805304564da81475aa13\"\n },\n {\n \"TaskId\": 1659344370,\n \"TaskName\": \"baseline_rule_view_result_2022-08-01 16:59:30\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 16:59:30\",\n \"EndTime\": \"2022-08-01 16:59:30\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-rule-view-result-20220801-e12ac1c4-bf1f-443d-bef5-42b8eb0adf6b.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659344370%3B1659430770&q-key-time=1659344370%3B1659430770&q-header-list=host&q-url-param-list=&q-signature=2a445f16f3334b835345c8cad77c91443de480dc\"\n },\n {\n \"TaskId\": 1659344382,\n \"TaskName\": \"baseline_rule_view_result_2022-08-01 16:59:42\",\n \"Status\": 1,\n \"StartTime\": \"2022-08-01 16:59:42\",\n \"EndTime\": \"2022-08-01 16:59:42\",\n \"DownloadUrl\": \"https://yunjing-dev-1256299843.cos.ap-guangzhou.myqcloud.com/baseline-rule-view-result-20220801-6bb54b9e-d2c3-4d4b-a08c-8e6fa12e82b3.csv?q-sign-algorithm=sha1&q-ak=AKIDhKl043NTODrNqE5dghYgnmdIqEPSgDug&q-sign-time=1659344382%3B1659430782&q-key-time=1659344382%3B1659430782&q-header-list=host&q-url-param-list=&q-signature=f4f3c8fb1401858225304d9a9c6cf28f6e8cc8a4\"\n }\n ],\n \"RequestId\": \"b0596030-57ec-42aa-8e0f-738a6a07e2d0\",\n \"Total\": 19\n }\n}",
632
+ "title": "全部下载列表"
633
+ }
634
+ ],
587
635
  "DescribeBaselineEffectHostList": [
588
636
  {
589
637
  "document": "根据基线id查询基线影响主机列表数据",
@@ -592,6 +640,14 @@
592
640
  "title": "基线影响主机列表接口"
593
641
  }
594
642
  ],
643
+ "DescribeBaselineFixList": [
644
+ {
645
+ "document": "",
646
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineFixList\n<公共请求参数>\n\n{}",
647
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Id\": 334525,\n \"ItemName\": \"Memcached UDP 端口可被利用为 DDOS 放大攻击\",\n \"HostIp\": \"172.16.64.15\",\n \"CreateTime\": \"2022-05-18 00:12:20\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-13 16:00:03\"\n },\n {\n \"Id\": 335549,\n \"ItemName\": \"确保在/tmp分区上设置nodev选项\",\n \"HostIp\": \"10.0.22.10\",\n \"CreateTime\": \"2022-05-26 16:14:51\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-15 17:02:55\"\n },\n {\n \"Id\": 331453,\n \"ItemName\": \"确保配置/etc/shadow-的权限\",\n \"HostIp\": \"119.147.2.168\",\n \"CreateTime\": \"2022-05-11 00:26:21\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-13 16:00:03\"\n },\n {\n \"Id\": 331709,\n \"ItemName\": \"Kubelet 未授权访问\",\n \"HostIp\": \"10.0.22.46\",\n \"CreateTime\": \"2022-05-11 17:07:31\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-13 16:00:03\"\n },\n {\n \"Id\": 333501,\n \"ItemName\": \"确保已启用auditd服务\",\n \"HostIp\": \"172.16.16.37\",\n \"CreateTime\": \"2022-05-17 17:47:12\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-13 16:00:03\"\n },\n {\n \"Id\": 340925,\n \"ItemName\": \"确保在/etc/issue.net上配置了权限\",\n \"HostIp\": \"192.168.111.12\",\n \"CreateTime\": \"2022-06-21 15:39:02\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-24 17:07:13\"\n },\n {\n \"Id\": 338621,\n \"ItemName\": \"禁用自动挂载\",\n \"HostIp\": \"192.168.53.10\",\n \"CreateTime\": \"2022-05-31 17:07:25\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-13 16:00:03\"\n },\n {\n \"Id\": 347069,\n \"ItemName\": \"未限制Nginx账户登录系统 \",\n \"HostIp\": \"10.0.0.68\",\n \"CreateTime\": \"2022-07-28 17:16:14\",\n \"ModifyTime\": \"2022-08-04 11:31:13\",\n \"FixTime\": \"2022-07-28 17:16:14\"\n },\n {\n \"Id\": 343357,\n \"ItemName\": \"确保在/var/tmp分区上设置nodev选项\",\n \"HostIp\": \"10.0.0.14\",\n \"CreateTime\": \"2022-06-30 17:07:32\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-07-03 17:11:47\"\n },\n {\n \"Id\": 335677,\n \"ItemName\": \"确保在/tmp分区上设置了noexec选项\",\n \"HostIp\": \"10.0.22.33\",\n \"CreateTime\": \"2022-05-26 16:20:28\",\n \"ModifyTime\": \"2022-07-28 15:02:32\",\n \"FixTime\": \"2022-06-13 16:00:03\"\n }\n ],\n \"RequestId\": \"8a667d00-bc48-4ab7-8725-cd6728e121ca\",\n \"Total\": 1402\n }\n}",
648
+ "title": "全部修复"
649
+ }
650
+ ],
595
651
  "DescribeBaselineHostDetectList": [
596
652
  {
597
653
  "document": "",
@@ -600,6 +656,22 @@
600
656
  "title": "主机视角检测列表"
601
657
  }
602
658
  ],
659
+ "DescribeBaselineHostIgnoreList": [
660
+ {
661
+ "document": "",
662
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineHostIgnoreList\n<公共请求参数>\n\n{\n \"RuleID\": \"126\"\n}",
663
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"HostId\": \"d8feb20e-dcdd-461b-9b37-336c42d48657\",\n \"HostName\": \"功能测试软件较多_ivon\",\n \"HostTag\": \"\",\n \"HostIp\": \"172.16.0.49\",\n \"WanIp\": \"10.104.9.1\"\n }\n ],\n \"RequestId\": \"0eb82ff4-667a-4525-82b5-e304aee952ee\",\n \"Total\": 1\n }\n}",
664
+ "title": "忽略规则关联的主机"
665
+ }
666
+ ],
667
+ "DescribeBaselineHostRiskTop": [
668
+ {
669
+ "document": "",
670
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineHostRiskTop\n<公共请求参数>\n\n{}",
671
+ "output": "{\n \"Response\": {\n \"HostRiskTop5\": [\n {\n \"HostId\": \"36a78a1e-7711-4e7f-9fbe-c7afab78cd78\",\n \"HostName\": \"jaryzhou-编码测试\",\n \"SeriousCount\": 0,\n \"HighCount\": 32,\n \"MediumCount\": 126,\n \"LowCount\": 45\n },\n {\n \"HostId\": \"a0770b41-9697-4a1d-8150-b8fa247b6189\",\n \"HostName\": \"功能测试ubuntu20漏洞修复v_txmitan\",\n \"SeriousCount\": 0,\n \"HighCount\": 33,\n \"MediumCount\": 125,\n \"LowCount\": 44\n },\n {\n \"HostId\": \"cc0e8a25-7169-4b5c-a929-2b4cccbfce10\",\n \"HostName\": \"功能测试ubuntu18漏洞修复v_txmitan\",\n \"SeriousCount\": 0,\n \"HighCount\": 17,\n \"MediumCount\": 123,\n \"LowCount\": 43\n },\n {\n \"HostId\": \"69796250-2a3a-40ef-b418-676e677019a4\",\n \"HostName\": \"piperpeng-test2\",\n \"SeriousCount\": 0,\n \"HighCount\": 25,\n \"MediumCount\": 116,\n \"LowCount\": 23\n },\n {\n \"HostId\": \"dbf3dcd4-179a-4bc6-86e4-15439f4cc898\",\n \"HostName\": \"漏洞yhvs编译机-linux\",\n \"SeriousCount\": 0,\n \"HighCount\": 25,\n \"MediumCount\": 117,\n \"LowCount\": 21\n }\n ],\n \"RequestId\": \"fc13bcdc-464f-4f94-a985-239e499d0bc0\"\n }\n}",
672
+ "title": "主机风险top5"
673
+ }
674
+ ],
603
675
  "DescribeBaselineHostTop": [
604
676
  {
605
677
  "document": "查询服务器风险top接口",
@@ -616,6 +688,28 @@
616
688
  "title": "全部检测项视角结果"
617
689
  }
618
690
  ],
691
+ "DescribeBaselineItemIgnoreList": [
692
+ {
693
+ "document": "",
694
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineItemIgnoreList\n<公共请求参数>\n\n{\n \"RuleID\": \"125\"\n}",
695
+ "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"529a6a2c-91ef-44e3-a822-953846e0e596\",\n \"Total\": 0\n }\n}",
696
+ "title": "检测项列表"
697
+ },
698
+ {
699
+ "document": "",
700
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineItemIgnoreList\n<公共请求参数>\n\n{\n \"RuleID\": \"125\"\n}",
701
+ "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"529a6a2c-91ef-44e3-a822-953846e0e596\",\n \"Total\": 0\n }\n}",
702
+ "title": "忽略检测项列表"
703
+ }
704
+ ],
705
+ "DescribeBaselineItemInfo": [
706
+ {
707
+ "document": "",
708
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineItemInfo\n<公共请求参数>\n\n{\n \"Limit\": \"1\",\n \"Offset\": \"1\"\n}",
709
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"ItemId\": 1001,\n \"ItemName\": \"Kubelet 未授权访问\",\n \"RuleId\": 74,\n \"ItemDesc\": \"Kubelet 未限制访问来源且未配置任何认证,导致攻击者可以在任意 Pod 中执行任意代码。也可以造成 Pod 泄漏导致敏感信息泄漏等。\",\n \"FixMethod\": \"1. kubelet 监听在本地:\\n--address=127.0.0.1\\n\\n2. kubelet server 禁止匿名访问:\\n--anonymous-auth=false\\n\\n如果已经通过防火墙等方式对端口访问进行限制,请忽略。\\n\\n3. 配置证书:\\n--client-ca-file=path/to/ca\\n--kubelet-client-certificate\\n--kubelet-client-key\",\n \"RuleName\": \"Kubelet 未授权访问\",\n \"Level\": 3,\n \"SysRuleId\": 74,\n \"RelatedCustomRuleInfo\": []\n }\n ],\n \"RequestId\": \"90344239-519c-4f7f-8a71-1820d38e163c\",\n \"Total\": 2955\n }\n}",
710
+ "title": "检测项信息"
711
+ }
712
+ ],
619
713
  "DescribeBaselineItemList": [
620
714
  {
621
715
  "document": "",
@@ -624,6 +718,14 @@
624
718
  "title": "检测项结果"
625
719
  }
626
720
  ],
721
+ "DescribeBaselineItemRiskTop": [
722
+ {
723
+ "document": "",
724
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineItemRiskTop\n<公共请求参数>\n\n{}",
725
+ "output": "{\n \"Response\": {\n \"RequestId\": \"718b3dda-c0a7-409c-84bd-712411880bbe\",\n \"RiskItemTop5\": [\n {\n \"ItemId\": 1505,\n \"ItemName\": \"Linux口令过期后账号最长有效天数策略\",\n \"Level\": 2,\n \"HostCount\": 31\n },\n {\n \"ItemId\": 1509,\n \"ItemName\": \"限制root权限用户远程登录\",\n \"Level\": 2,\n \"HostCount\": 31\n },\n {\n \"ItemId\": 1500,\n \"ItemName\": \"SSH监听在默认端口\",\n \"Level\": 1,\n \"HostCount\": 31\n },\n {\n \"ItemId\": 5275,\n \"ItemName\": \"检查SSH的root用户登录是否被禁用\",\n \"Level\": 3,\n \"HostCount\": 22\n },\n {\n \"ItemId\": 5273,\n \"ItemName\": \"检查账户超时自动登出设置\",\n \"Level\": 2,\n \"HostCount\": 22\n }\n ]\n }\n}",
726
+ "title": "检测项top5"
727
+ }
728
+ ],
627
729
  "DescribeBaselineList": [
628
730
  {
629
731
  "document": "根据过滤参数查询基线列表信息",
@@ -648,6 +750,38 @@
648
750
  "title": "查询基线检测项信息"
649
751
  }
650
752
  ],
753
+ "DescribeBaselineRuleCategoryList": [
754
+ {
755
+ "document": "",
756
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineRuleCategoryList\n<公共请求参数>\n\n{}",
757
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"CategoryId\": 1,\n \"ParentCategoryId\": 0,\n \"CategoryName\": \"等保合规\"\n },\n {\n \"CategoryId\": 3,\n \"ParentCategoryId\": 0,\n \"CategoryName\": \"未授权访问\"\n },\n {\n \"CategoryId\": 4,\n \"ParentCategoryId\": 0,\n \"CategoryName\": \"弱口令\"\n },\n {\n \"CategoryId\": 5,\n \"ParentCategoryId\": 0,\n \"CategoryName\": \"远程代码执行\"\n },\n {\n \"CategoryId\": 6,\n \"ParentCategoryId\": 0,\n \"CategoryName\": \"其他\"\n },\n {\n \"CategoryId\": 7,\n \"ParentCategoryId\": 0,\n \"CategoryName\": \"腾讯云安全标准\"\n }\n ],\n \"RequestId\": \"0be3d997-550d-4762-8a6e-243994719407\"\n }\n}",
758
+ "title": "基线分类"
759
+ }
760
+ ],
761
+ "DescribeBaselineRuleDetectList": [
762
+ {
763
+ "document": "",
764
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineRuleDetectList\n<公共请求参数>\n\n{}",
765
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"RuleId\": 125,\n \"RuleName\": \"信息泄露基线检查\",\n \"RuleDesc\": \"信息泄露基线检查\",\n \"ItemCount\": 5,\n \"HostCount\": 36,\n \"FirstTime\": \"2022-05-11 01:03:35\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 0,\n \"ItemIds\": [\n 1900,\n 1901,\n 1902,\n 1903,\n 1904\n ]\n },\n {\n \"RuleId\": 124,\n \"RuleName\": \"Nginx安全基线检查\",\n \"RuleDesc\": \"Nginx安全基线检查\",\n \"ItemCount\": 6,\n \"HostCount\": 36,\n \"FirstTime\": \"2022-05-11 01:03:35\",\n \"LastTime\": \"2022-08-23 10:48:36\",\n \"DetectStatus\": 0,\n \"ItemIds\": [\n 1800,\n 1801,\n 1802,\n 1803,\n 1804,\n 1805\n ]\n },\n {\n \"RuleId\": 120,\n \"RuleName\": \"MongoDB安全基线检查\",\n \"RuleDesc\": \"MongoDB安全基线检查\",\n \"ItemCount\": 4,\n \"HostCount\": 36,\n \"FirstTime\": \"2022-05-11 01:03:35\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1400,\n 1401,\n 1402,\n 1403\n ]\n },\n {\n \"RuleId\": 74,\n \"RuleName\": \"Kubelet 未授权访问\",\n \"RuleDesc\": \"Kubelet 未授权访问\",\n \"ItemCount\": 1,\n \"HostCount\": 34,\n \"FirstTime\": \"2022-05-11 17:07:31\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1001\n ]\n },\n {\n \"RuleId\": 51,\n \"RuleName\": \"MySQL 弱口令检测\",\n \"RuleDesc\": \"MySQL 弱口令检测\",\n \"ItemCount\": 1,\n \"HostCount\": 34,\n \"FirstTime\": \"2022-05-11 01:03:35\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 0,\n \"ItemIds\": [\n 1103\n ]\n },\n {\n \"RuleId\": 52,\n \"RuleName\": \"Tomcat 弱口令检测\",\n \"RuleDesc\": \"Tomcat 弱口令检测\",\n \"ItemCount\": 1,\n \"HostCount\": 34,\n \"FirstTime\": \"2022-05-11 01:03:35\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1101\n ]\n },\n {\n \"RuleId\": 70,\n \"RuleName\": \"CouchDB未授权访问\",\n \"RuleDesc\": \"CouchDB未授权访问\",\n \"ItemCount\": 1,\n \"HostCount\": 34,\n \"FirstTime\": \"2022-05-11 17:07:31\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1005\n ]\n },\n {\n \"RuleId\": 71,\n \"RuleName\": \"Elasticsearch未授权访问\",\n \"RuleDesc\": \"Elasticsearch未授权访问\",\n \"ItemCount\": 1,\n \"HostCount\": 34,\n \"FirstTime\": \"2022-05-11 17:07:31\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1004\n ]\n },\n {\n \"RuleId\": 58,\n \"RuleName\": \"ActiveMQ基线合规检测\",\n \"RuleDesc\": \"ActiveMQ基线合规检测\",\n \"ItemCount\": 1,\n \"HostCount\": 34,\n \"FirstTime\": \"2022-05-11 01:03:35\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1108\n ]\n },\n {\n \"RuleId\": 72,\n \"RuleName\": \"MongoDB未授权访问\",\n \"RuleDesc\": \"MongoDB未授权访问\",\n \"ItemCount\": 1,\n \"HostCount\": 33,\n \"FirstTime\": \"2022-05-11 17:07:31\",\n \"LastTime\": \"2022-08-23 09:48:19\",\n \"DetectStatus\": 3,\n \"ItemIds\": [\n 1003\n ]\n }\n ],\n \"RequestId\": \"55a2919d-7bd6-4220-b347-cb9cfca9dd6c\",\n \"Total\": 70\n }\n}",
766
+ "title": "检测规则视角"
767
+ }
768
+ ],
769
+ "DescribeBaselineRuleIgnoreList": [
770
+ {
771
+ "document": "",
772
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineRuleIgnoreList\n<公共请求参数>\n\n{}",
773
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"RuleName\": \"test\",\n \"CategoryId\": -1,\n \"RuleDesc\": \"ignore rule\",\n \"Items\": [],\n \"RuleId\": 125,\n \"RuleType\": 1,\n \"HostCount\": 0,\n \"HostIps\": [\n \"\"\n ]\n }\n ],\n \"RequestId\": \"aaddca9b-8634-47c5-bdf3-add2f36ad7a9\",\n \"Total\": 1\n }\n}",
774
+ "title": "忽略策略列表"
775
+ }
776
+ ],
777
+ "DescribeBaselineRuleList": [
778
+ {
779
+ "document": "",
780
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineRuleList\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"test\"\n ],\n \"Name\": \"RuleName\"\n }\n ],\n \"Offset\": \"0\"\n}",
781
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"RuleName\": \"test111\",\n \"CategoryId\": -1,\n \"RuleDesc\": \"test111\",\n \"Items\": [\n {\n \"ItemId\": 1000\n }\n ],\n \"RuleId\": 35184372088862,\n \"RuleType\": 1,\n \"HostCount\": 0\n }\n ],\n \"RequestId\": \"8d445426-dfea-459c-9a13-1c1a3141353d\",\n \"Total\": 1\n }\n}",
782
+ "title": "规则列表"
783
+ }
784
+ ],
651
785
  "DescribeBaselineScanSchedule": [
652
786
  {
653
787
  "document": "根据任务id查询基线检测进度",
@@ -680,6 +814,14 @@
680
814
  "title": "基线检测项TOP接口"
681
815
  }
682
816
  ],
817
+ "DescribeBaselineWeakPasswordList": [
818
+ {
819
+ "document": "",
820
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaselineWeakPasswordList\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"10\"\n}",
821
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PasswordId\": 2431,\n \"WeakPassword\": \"132\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2432,\n \"WeakPassword\": \"133\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2433,\n \"WeakPassword\": \"134\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2434,\n \"WeakPassword\": \"135\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2435,\n \"WeakPassword\": \"136\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2436,\n \"WeakPassword\": \"137\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2437,\n \"WeakPassword\": \"138\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2438,\n \"WeakPassword\": \"139\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2439,\n \"WeakPassword\": \"140\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n },\n {\n \"PasswordId\": 2440,\n \"WeakPassword\": \"141\",\n \"CreateTime\": \"2022-07-28 21:37:22\",\n \"ModifyTime\": \"2022-07-28 21:37:22\"\n }\n ],\n \"RequestId\": \"a5ac3a8f-b4a5-4d0c-a8ef-c24601bffd98\",\n \"Total\": 998\n }\n}",
822
+ "title": "弱口令配置"
823
+ }
824
+ ],
683
825
  "DescribeBashEvents": [
684
826
  {
685
827
  "document": "获取高危命令列表",
@@ -830,6 +972,14 @@
830
972
  "title": "查询忽略检测项信息"
831
973
  }
832
974
  ],
975
+ "DescribeIgnoreHostAndItemConfig": [
976
+ {
977
+ "document": "",
978
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIgnoreHostAndItemConfig\n<公共请求参数>\n\n{}",
979
+ "output": "{\n \"Response\": {\n \"HostSet\": [],\n \"ItemSet\": [],\n \"RequestId\": \"8cecce8d-a57b-4209-a09b-8366ff0b5cf5\"\n }\n}",
980
+ "title": "所有主机和检测项配置"
981
+ }
982
+ ],
833
983
  "DescribeIgnoreRuleEffectHostList": [
834
984
  {
835
985
  "document": "根据检测项id查询忽略检测项影响主机列表数据",
@@ -1170,7 +1320,7 @@
1170
1320
  {
1171
1321
  "document": "使用appid查询定时检测配置的信息",
1172
1322
  "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScanVulSetting\n&<公共请求参数>",
1173
- "output": "{\n \"Response\": {\n \"VulCategories\": \"xx\",\n \"TimerTime\": \"xx\",\n \"VulLevels\": \"xx\",\n \"VulEmergency\": 1,\n \"RequestId\": \"xx\",\n \"TimerInterval\": 1,\n \"EndTime\": \"\",\n \"EnableScan\": 1,\n \"StartTime\": \"\",\n \"ClickTimeout\": 0\n }\n}",
1323
+ "output": "{\n \"Response\": {\n \"VulCategories\": \"xx\",\n \"TimerTime\": \"xx\",\n \"VulLevels\": \"xx\",\n \"VulEmergency\": 1,\n \"RequestId\": \"xx\",\n \"TimerInterval\": 1,\n \"EndTime\": \"\",\n \"EnableScan\": 1,\n \"StartTime\": \"\",\n \"ClickTimeout\": 0,\n \"Uuids\": []\n }\n}",
1174
1324
  "title": "查询定时检测配置信息"
1175
1325
  }
1176
1326
  ],
@@ -1454,6 +1604,38 @@
1454
1604
  "title": "漏洞影响主机列表导出"
1455
1605
  }
1456
1606
  ],
1607
+ "ExportBaselineFixList": [
1608
+ {
1609
+ "document": "",
1610
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportBaselineFixList\n<公共请求参数>\n\n{\n \"ExportAll\": \"1\"\n}",
1611
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c448f6ff-997e-41a4-b068-da45a467e258\"\n }\n}",
1612
+ "title": "导出全部"
1613
+ }
1614
+ ],
1615
+ "ExportBaselineHostDetectList": [
1616
+ {
1617
+ "document": "",
1618
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportBaselineHostDetectList\n<公共请求参数>\n\n{\n \"ExportAll\": \"1\"\n}",
1619
+ "output": "{\n \"Response\": {\n \"RequestId\": \"69b009b3-93dd-4d91-93a0-165e9fdb976d\"\n }\n}",
1620
+ "title": "主机视角导出"
1621
+ }
1622
+ ],
1623
+ "ExportBaselineItemDetectList": [
1624
+ {
1625
+ "document": "",
1626
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportBaselineItemDetectList\n<公共请求参数>\n\n{\n \"ExportAll\": \"1\"\n}",
1627
+ "output": "{\n \"Response\": {\n \"RequestId\": \"edd85ca1-0428-48d2-9502-84715e701b77\"\n }\n}",
1628
+ "title": "检测项视角导出"
1629
+ }
1630
+ ],
1631
+ "ExportBaselineItemList": [
1632
+ {
1633
+ "document": "",
1634
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportBaselineItemList\n<公共请求参数>\n\n{\n \"ExportAll\": \"1\"\n}",
1635
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3f5dcb2a-6f3e-4f10-9eee-e47a51255cbb\"\n }\n}",
1636
+ "title": "检测结果导出"
1637
+ }
1638
+ ],
1457
1639
  "ExportBaselineList": [
1458
1640
  {
1459
1641
  "document": "导出列表信息或者详情信息",
@@ -1462,6 +1644,22 @@
1462
1644
  "title": "基线列表导出接口"
1463
1645
  }
1464
1646
  ],
1647
+ "ExportBaselineRuleDetectList": [
1648
+ {
1649
+ "document": "",
1650
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportBaselineRuleDetectList\n<公共请求参数>\n\n{\n \"ExportAll\": \"1\"\n}",
1651
+ "output": "{\n \"Response\": {\n \"RequestId\": \"cbc912a7-c030-4a80-8d76-6e938a930fa1\"\n }\n}",
1652
+ "title": "导出规则视角"
1653
+ }
1654
+ ],
1655
+ "ExportBaselineWeakPasswordList": [
1656
+ {
1657
+ "document": "",
1658
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportBaselineWeakPasswordList\n<公共请求参数>\n\n{\n \"ExportAll\": \"1\"\n}",
1659
+ "output": "{\n \"Response\": {\n \"RequestId\": \"7540ea91-97fa-436d-ba58-39005176a063\"\n }\n}",
1660
+ "title": "导出自定义弱口令"
1661
+ }
1662
+ ],
1465
1663
  "ExportBashEvents": [
1466
1664
  {
1467
1665
  "document": "导出高危命令事件",
@@ -1614,6 +1812,14 @@
1614
1812
  "title": "示例"
1615
1813
  }
1616
1814
  ],
1815
+ "FixBaselineDetect": [
1816
+ {
1817
+ "document": "",
1818
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FixBaselineDetect\n<公共请求参数>\n\n{\n \"ItemId\":\"1100\",\n \"HostId\":\"a0770b41-9697-4a1d-8150-b8fa247b6189\",\n \"Data\":[\n \"\"test977\":\"e7c153cd9e70120a1d9f3610db0a15d0\"\"\n ]\n}",
1819
+ "output": "{\n \"Response\": {\n \"RequestId\": \"898d14bd-2334-4b8d-9240-6ad77e48df45\"\n }\n}",
1820
+ "title": "修复"
1821
+ }
1822
+ ],
1617
1823
  "IgnoreImpactedHosts": [
1618
1824
  {
1619
1825
  "document": "忽略漏洞",
@@ -1648,18 +1854,56 @@
1648
1854
  ],
1649
1855
  "ModifyBaselinePolicy": [
1650
1856
  {
1651
- "document": "",
1857
+ "document": "自定义和系统规则添加",
1652
1858
  "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselinePolicy\n<公共请求参数>\n\n{\n \"Data\": {\n \"DetectTime\": \"03:00:00\",\n \"PolicyName\": \"策略1111\",\n \"DetectInterval\": \"1\",\n \"AssetType\": \"0\",\n \"IsEnabled\": \"1\",\n \"PolicyId\": \"1\",\n \"RuleIds\": [\n \"4611686018427387909\",\n \"128\"\n ]\n }\n}",
1653
1859
  "output": "{\n \"Response\": {\n \"RequestId\": \"07c4d170-f547-4a44-be2e-7f992d483f26\"\n }\n}",
1654
1860
  "title": "自定义和系统规则添加"
1655
1861
  },
1656
1862
  {
1657
- "document": "",
1863
+ "document": "修改策略",
1658
1864
  "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselinePolicy\n<公共请求参数>\n\n{\n \"Data\": {\n \"DetectTime\": \"02:00:00\",\n \"PolicyName\": \"test1\",\n \"DetectInterval\": \"1\",\n \"AssetType\": \"0\",\n \"IsEnabled\": \"1\",\n \"PolicyId\": \"268\",\n \"RuleIds\": [\n \"11\"\n ],\n \"IsDefault\": \"0\"\n }\n}",
1659
1865
  "output": "{\n \"Response\": {\n \"RequestId\": \"9549bbb8-915f-4c0c-a03c-5b069d70b4d9\"\n }\n}",
1660
1866
  "title": "修改策略"
1661
1867
  }
1662
1868
  ],
1869
+ "ModifyBaselinePolicyState": [
1870
+ {
1871
+ "document": "禁用检测策略",
1872
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselinePolicyState\n<公共请求参数>\n\n{\n \"IsEnabled\": \"0\",\n \"PolicyId\": \"259\"\n}",
1873
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c4306e95-f45b-408b-aff0-b3cc16f673e1\"\n }\n}",
1874
+ "title": "禁用检测策略"
1875
+ },
1876
+ {
1877
+ "document": "使能策略",
1878
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselinePolicyState\n<公共请求参数>\n\n{\n \"IsEnabled\": \"0\",\n \"PolicyId\": \"259\"\n}",
1879
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ca6e6339-34ba-4c0d-90ac-3c4a6ea6d383\"\n }\n}",
1880
+ "title": "使能策略"
1881
+ }
1882
+ ],
1883
+ "ModifyBaselineRule": [
1884
+ {
1885
+ "document": "创建自定义规则",
1886
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselineRule\n<公共请求参数>\n\n{\n \"Data\": {\n \"Items\": [\n {\n \"ItemId\": \"1000\",\n \"ItemName\": \"Redis 基线合规检测\"\n }\n ],\n \"RuleDesc\": \"test111\",\n \"RuleName\": \"test111\"\n }\n}",
1887
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0358f7f9-d07c-4db8-96ba-eed1bcbd947d\"\n }\n}",
1888
+ "title": "创建自定义规则"
1889
+ }
1890
+ ],
1891
+ "ModifyBaselineRuleIgnore": [
1892
+ {
1893
+ "document": "添加忽略规则",
1894
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselineRuleIgnore\n<公共请求参数>\n\n{\n \"AssetType\": \"0\",\n \"ItemIds\": [\n \"11\"\n ],\n \"RuleName\": \"test\"\n}",
1895
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5cbf3ee7-0e7c-4190-aae8-95254726c7f2\"\n }\n}",
1896
+ "title": "添加忽略规则"
1897
+ }
1898
+ ],
1899
+ "ModifyBaselineWeakPassword": [
1900
+ {
1901
+ "document": "修改弱口令配置",
1902
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBaselineWeakPassword\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"PasswordId\": \"3432\",\n \"WeakPassword\": \"1111\"\n }\n ]\n}",
1903
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ee20febc-b59d-45ab-97f6-d55efdfa57b7\"\n }\n}",
1904
+ "title": "修改弱口令配置"
1905
+ }
1906
+ ],
1663
1907
  "ModifyBruteAttackRules": [
1664
1908
  {
1665
1909
  "document": "",