tccli 3.0.1237.1__py2.py3-none-any.whl → 3.0.1239.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +10 -7
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +32 -30
- tccli/services/cam/v20190116/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +31 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +944 -856
- tccli/services/cdb/v20170320/examples.json +47 -47
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +32 -12
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +8 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +113 -95
- tccli/services/chdfs/v20201112/examples.json +16 -16
- tccli/services/clb/v20180317/api.json +186 -164
- tccli/services/cloudapp/v20220530/api.json +1 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +21 -17
- tccli/services/cloudaudit/v20190319/examples.json +3 -3
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +370 -365
- tccli/services/cynosdb/v20190107/examples.json +39 -39
- tccli/services/dbbrain/v20191016/api.json +206 -188
- tccli/services/dbbrain/v20191016/examples.json +10 -10
- tccli/services/dbbrain/v20210527/api.json +274 -267
- tccli/services/dbbrain/v20210527/examples.json +25 -25
- tccli/services/dc/v20180410/api.json +101 -41
- tccli/services/dc/v20180410/examples.json +5 -5
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +37 -37
- tccli/services/domain/v20180808/examples.json +16 -10
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +152 -115
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +83 -72
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/eb/v20210416/api.json +2 -2
- tccli/services/eb/v20210416/examples.json +2 -2
- tccli/services/ecm/v20190719/api.json +273 -230
- tccli/services/ecm/v20190719/examples.json +21 -21
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +61 -8
- tccli/services/ess/v20201111/api.json +287 -39
- tccli/services/ess/v20201111/examples.json +11 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +545 -54
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +14 -3
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +222 -231
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +21 -2
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +22 -22
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/v20180801/api.json +87 -69
- tccli/services/live/v20180801/examples.json +37 -37
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +104 -104
- tccli/services/mongodb/v20190725/api.json +116 -103
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +16 -0
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +13 -3
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +179 -17
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +611 -450
- tccli/services/sqlserver/v20180328/examples.json +16 -16
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tbaas/v20180416/api.json +47 -49
- tccli/services/tbaas/v20180416/examples.json +4 -4
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdmq/tdmq_client.py +106 -0
- tccli/services/tdmq/v20200217/api.json +125 -1
- tccli/services/tdmq/v20200217/examples.json +17 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +224 -12
- tccli/services/trocket/v20230308/api.json +787 -147
- tccli/services/trocket/v20230308/examples.json +38 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +864 -781
- tccli/services/tsf/v20180326/examples.json +114 -126
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +21 -3
- tccli/services/vod/v20180717/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +45 -44
- tccli/services/vpc/v20170312/examples.json +9 -9
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/RECORD +146 -142
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1237.1.dist-info → tccli-3.0.1239.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,47 +3,47 @@
|
|
3
3
|
"AuthorizeDSPAMetaResources": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AuthorizeDSPAMetaResources\n<公共请求参数>\n\n{\n \"AuthType\": \"automatic\",\n \"DspaId\": \"dspa-6fb60936\",\n \"MetaType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourcesAccount\": [\n {\n \"ResourceId\": \"cdb-9loqa8ed\",\n \"UserName\": \"\",\n \"Password\": \"\"\n }\n ]\n}",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AuthorizeDSPAMetaResources\n<公共请求参数>\n\n{\n \"AuthType\": \"automatic\",\n \"DspaId\": \"dspa-6fb60936\",\n \"MetaType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourcesAccount\": [\n {\n \"ResourceId\": \"cdb-9loqa8ed\",\n \"UserName\": \"root\",\n \"Password\": \"password\"\n }\n ]\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c1b55d08-d956-447e-9852-a93bbb6f5d55\",\n \"DspaId\": \"dspa-6fb60936\",\n \"Results\": [\n {\n \"Result\": \"success\",\n \"ResultDescription\": \"auth resource success\",\n \"ResourceId\": \"cdb-9loqa8ed\",\n \"MetaType\": \"cdb\"\n }\n ]\n }\n}",
|
8
|
-
"title": "
|
8
|
+
"title": "授权用户云资源"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"BindDSPAResourceCosBuckets": [
|
12
12
|
{
|
13
13
|
"document": "绑定桶",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDSPAResourceCosBuckets\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
15
|
-
"output": "{\n \"Response\": {\n \"CosTaskResults\": [\n {\n \"Result\": \"
|
16
|
-
"title": "
|
14
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDSPAResourceCosBuckets\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab32dc78\",\n \"BindCosResourceItems\": [\n {\n \"ResourceId\": \"cos-c23de4d1d3db1a6ebd4a11202e8b5f90b810eb04\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourceName\": \"helloworld bucket\"\n }\n ],\n \"UnbindCosResourceItems\": []\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"CosTaskResults\": [\n {\n \"Result\": \"success\",\n \"ResultDescription\": \"update cos resource bind status to [binded] success\",\n \"ErrDescription\": {\n \"ErrCode\": \"InternalError\",\n \"ErrMessage\": \"internal error\"\n },\n \"ResourceId\": \"cos-c23de4d1d3db1a6ebd4a11202e8b5f90b810eb04\"\n }\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
16
|
+
"title": "绑定或解绑COS桶"
|
17
17
|
}
|
18
18
|
],
|
19
19
|
"BindDSPAResourceDatabases": [
|
20
20
|
{
|
21
21
|
"document": "批量绑定数据库实例db",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDSPAResourceDatabases\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
23
|
-
"output": "{\n \"Response\": {\n \"DbTaskResults\": [\n {\n \"Result\": \"
|
24
|
-
"title": "
|
22
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDSPAResourceDatabases\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab43cd12\",\n \"ResourceId\": \"cdb-mpe42va5\",\n \"MetaType\": \"cdb\",\n \"BindDbItems\": [\n {\n \"DbName\": \"test001\"\n }\n ],\n \"UnbindDbItems\": [\n {\n \"DbName\": \"test002\"\n }\n ]\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"DbTaskResults\": [\n {\n \"Result\": \"success\",\n \"ResultDescription\": \"update db bind status to [binded] success\",\n \"ErrDescription\": {\n \"ErrCode\": \"InternalError\",\n \"ErrMessage\": \"internal error\"\n },\n \"ResourceId\": \"cdb-mpe42va5\",\n \"DbName\": \"test001\"\n }\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
24
|
+
"title": "绑定或解绑数据库"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"CopyDSPATemplate": [
|
28
28
|
{
|
29
29
|
"document": "复制合规组模板",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CopyDSPATemplate\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
31
|
-
"output": "{\n \"Response\": {\n \"TemplateId\":
|
30
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CopyDSPATemplate\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"TemplateId\": 1\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"TemplateId\": 2,\n \"RequestId\": \"test-002\"\n }\n}",
|
32
32
|
"title": "示例"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"CreateAssetSortingReportRetryTask": [
|
36
36
|
{
|
37
37
|
"document": "创建资产梳理报告导出重试任务",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAssetSortingReportRetryTask\n<公共请求参数>\n\n{\n \"ReportTaskId\": 1,\n \"DspaId\": \"
|
39
|
-
"output": "{\n \"Response\": {\n \"ReportTaskId\": 1,\n \"RequestId\": \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAssetSortingReportRetryTask\n<公共请求参数>\n\n{\n \"ReportTaskId\": 1,\n \"DspaId\": \"dspa-12ab34dc\"\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"ReportTaskId\": 1,\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
40
40
|
"title": "创建资产梳理报告导出重试任务"
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"CreateAssetSortingReportTask": [
|
44
44
|
{
|
45
45
|
"document": "创建资产梳理报表导出任务",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAssetSortingReportTask\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAssetSortingReportTask\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab50f3b1\",\n \"ComplianceId\": 1,\n \"AssetList\": [\n {\n \"DataSourceType\": \"cdb\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cdb-6cmpe42v\",\n \"BindList\": [\n \"test_csb\"\n ]\n }\n ]\n }\n ]\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"ReportTaskId\": 3\n }\n}",
|
48
48
|
"title": "创建资产梳理报表导出任务"
|
49
49
|
}
|
@@ -58,24 +58,24 @@
|
|
58
58
|
],
|
59
59
|
"CreateDSPAAssessmentRiskLevel": [
|
60
60
|
{
|
61
|
-
"document": "
|
62
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAAssessmentRiskLevel\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
63
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
64
|
-
"title": "
|
61
|
+
"document": "风险项页面---创建风险等级",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAAssessmentRiskLevel\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"RiskLevelName\": \"默认评估分级模板\",\n \"RiskLevelDescription\": \"默认评估分级模板\",\n \"IdentifyComplianceId\": 3,\n \"RiskLevelRule\": [\n {\n \"SensitiveLevelId\": 1,\n \"SensitiveLevelName\": \"高\",\n \"VulnerabilityLevel\": \"high\",\n \"RiskLevel\": \"high\"\n },\n {\n \"SensitiveLevelId\": 1,\n \"SensitiveLevelName\": \"高\",\n \"VulnerabilityLevel\": \"medium\",\n \"RiskLevel\": \"high\"\n },\n {\n \"SensitiveLevelId\": 1,\n \"SensitiveLevelName\": \"高\",\n \"VulnerabilityLevel\": \"low\",\n \"RiskLevel\": \"medium\"\n },\n {\n \"SensitiveLevelId\": 2,\n \"SensitiveLevelName\": \"中\",\n \"VulnerabilityLevel\": \"high\",\n \"RiskLevel\": \"high\"\n },\n {\n \"SensitiveLevelId\": 2,\n \"SensitiveLevelName\": \"中\",\n \"VulnerabilityLevel\": \"medium\",\n \"RiskLevel\": \"medium\"\n },\n {\n \"SensitiveLevelId\": 2,\n \"SensitiveLevelName\": \"中\",\n \"VulnerabilityLevel\": \"low\",\n \"RiskLevel\": \"low\"\n },\n {\n \"SensitiveLevelId\": 3,\n \"SensitiveLevelName\": \"低\",\n \"VulnerabilityLevel\": \"high\",\n \"RiskLevel\": \"medium\"\n },\n {\n \"SensitiveLevelId\": 3,\n \"SensitiveLevelName\": \"低\",\n \"VulnerabilityLevel\": \"medium\",\n \"RiskLevel\": \"low\"\n },\n {\n \"SensitiveLevelId\": 3,\n \"SensitiveLevelName\": \"低\",\n \"VulnerabilityLevel\": \"low\",\n \"RiskLevel\": \"low\"\n },\n {\n \"SensitiveLevelId\": 0,\n \"SensitiveLevelName\": \"NotSensitive\",\n \"VulnerabilityLevel\": \"high\",\n \"RiskLevel\": \"low\"\n },\n {\n \"SensitiveLevelId\": 0,\n \"SensitiveLevelName\": \"NotSensitive\",\n \"VulnerabilityLevel\": \"medium\",\n \"RiskLevel\": \"low\"\n },\n {\n \"SensitiveLevelId\": 0,\n \"SensitiveLevelName\": \"NotSensitive\",\n \"VulnerabilityLevel\": \"low\",\n \"RiskLevel\": \"low\"\n }\n ]\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e298a8a2-e620-4cc5-9b85-4f0e22d273bf\"\n }\n}",
|
64
|
+
"title": "创建风险等级"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"CreateDSPAAssessmentRiskTemplate": [
|
68
68
|
{
|
69
|
-
"document": "",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAAssessmentRiskTemplate\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
71
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
72
|
-
"title": "
|
69
|
+
"document": "风险评估模板---创建风险评估模板",
|
70
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAAssessmentRiskTemplate\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"TemplateName\": \"风险评估模版\",\n \"TemplateDescription\": \"默认风险评估模版\",\n \"RiskLevelId\": 10070,\n \"RiskIdList\": [\n 1\n ]\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e298a8a2-e620-4cc5-9b85-4f0e22d273bf\"\n }\n}",
|
72
|
+
"title": "创建风险评估模板"
|
73
73
|
}
|
74
74
|
],
|
75
75
|
"CreateDSPAAssessmentTask": [
|
76
76
|
{
|
77
77
|
"document": "新创建dspa风险任务",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAAssessmentTask\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-92aabacd\",\n \"Name\": \"
|
78
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAAssessmentTask\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-92aabacd\",\n \"Name\": \"风险评估任务\",\n \"BusinessName\": \"tx\",\n \"BusinessDept\": \"tx\",\n \"BusinessOwner\": \"tx\",\n \"TemplateId\": \"template-00000000\",\n \"DiscoveryCondition\": {\n \"RDBInstances\": [\n {\n \"DataSourceId\": \"cdb-5vskvzvn\",\n \"DataSourceType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\"\n }\n ]\n }\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"TaskId\": \"task-mdfmnme4\",\n \"RequestId\": \"9a9f5c32-95ab-4130-ae37-047cde38b943\"\n }\n}",
|
80
80
|
"title": "新建DSPA风险评估任务"
|
81
81
|
}
|
@@ -83,15 +83,15 @@
|
|
83
83
|
"CreateDSPACOSDiscoveryTask": [
|
84
84
|
{
|
85
85
|
"document": "",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPACOSDiscoveryTask\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
87
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
88
|
-
"title": "
|
86
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPACOSDiscoveryTask\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab50dca1\",\n \"Name\": \"对象存储扫描任务\",\n \"Enable\": 1,\n \"Period\": 0,\n \"Plan\": 0,\n \"ComplianceGroupIds\": [\n 13108\n ],\n \"FileSizeLimit\": 102400,\n \"Bucket\": \"cos-test\",\n \"DataSourceId\": \"cos-d653b\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"FileTypes\": [\n \".txt\"\n ]\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1eb522ff-0d62-45f6-ae15-11f801e42673\",\n \"TaskId\": 14253,\n \"ResultId\": 4146\n }\n}",
|
88
|
+
"title": "CreateDSPACOSDiscoveryTask输入输出示例"
|
89
89
|
}
|
90
90
|
],
|
91
91
|
"CreateDSPACategory": [
|
92
92
|
{
|
93
93
|
"document": "",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPACategory\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
94
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPACategory\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab50f3b1\",\n \"Name\": \"公民财产信息\"\n}",
|
95
95
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"CategoryId\": 1\n }\n}",
|
96
96
|
"title": "新增分类"
|
97
97
|
}
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"CreateDSPAComplianceGroup": [
|
108
108
|
{
|
109
109
|
"document": "",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAComplianceGroup\n<公共请求参数>\n\n{\n \"LevelGroupId\": \"1\",\n \"DspaId\": \"dspa-001\",\n \"ComplianceGroupRules\": [],\n \"Name\": \"task\",\n \"Description\": \"
|
110
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAComplianceGroup\n<公共请求参数>\n\n{\n \"LevelGroupId\": \"1\",\n \"DspaId\": \"dspa-001\",\n \"ComplianceGroupRules\": [\n {\n \"RuleId\": 2,\n \"CategoryId\": 3,\n \"LevelId\": 2\n }\n ],\n \"Name\": \"task\",\n \"Description\": \"分类分级模版描述\"\n}",
|
111
111
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"ComplianceGroupId\": 1\n }\n}",
|
112
112
|
"title": "新增分类分级模板"
|
113
113
|
}
|
@@ -131,15 +131,15 @@
|
|
131
131
|
"CreateDSPADbMetaResources": [
|
132
132
|
{
|
133
133
|
"document": "添加用户云上数据库类型资源",
|
134
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPADbMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
135
|
-
"output": "{\n \"Response\": {\n \"
|
134
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPADbMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"MetaType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"UpdateStatus\": \"continue\",\n \"Items\": [\n {\n \"ResourceId\": \"cdb-a1c3e78\",\n \"ResourceName\": \"test123\",\n \"ResourceVip\": \"172.16.0.17\",\n \"ResourceVPort\": 3306,\n \"ResourceCreateTime\": \"2020-05-07 22:00:00\",\n \"ResourceUniqueVpcId\": \"vpc-sl18927c\",\n \"ResourceUniqueSubnetId\": \"subnet-awkpmc3\"\n }\n ]\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"MetaType\": \"cbd-a1c3d78\",\n \"DspaId\": \"dspa-a2e3d278\",\n \"RequestId\": \"18dafbf7-83d5-4159-aeaf-4a02f1975176\"\n }\n}",
|
136
136
|
"title": "示例"
|
137
137
|
}
|
138
138
|
],
|
139
139
|
"CreateDSPADiscoveryRule": [
|
140
140
|
{
|
141
141
|
"document": "",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPADiscoveryRule\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
142
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPADiscoveryRule\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-8zcer23c\",\n \"Name\": \"账户余额\",\n \"Description\": \"账户余额\",\n \"RDBRules\": {\n \"Status\": 0,\n \"MatchOperator\": \"or\",\n \"MetaRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"账户|Account\",\n \"ExtendParameters\": [\n {\n \"Name\": \"IsFullWordMatch\",\n \"Value\": \"false\"\n },\n {\n \"Name\": \"IsIgnoreCase\",\n \"Value\": \"true\"\n }\n ]\n },\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"余额|Balance\",\n \"ExtendParameters\": [\n {\n \"Name\": \"IsFullWordMatch\",\n \"Value\": \"false\"\n },\n {\n \"Name\": \"IsIgnoreCase\",\n \"Value\": \"true\"\n }\n ]\n }\n ]\n },\n \"ContentRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleType\": \"regex\",\n \"RuleContent\": \"^(((¥|\\\\$)?(0|([1-9][0-9]*(,\\\\d{3})*)|(([0]|([1-9][0-9]*(,\\\\d{3})*))\\\\.\\\\d{1,2}))(yuan|.?元)?)|(人民币)?([圆角分零壹贰叁肆伍陆柒捌玖拾佰仟万亿]+[圆角分]))$\",\n \"ExtendParameters\": null\n }\n ]\n }\n },\n \"COSRules\": {\n \"RegexRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleContent\": \"(?<=\\\\W)(((¥|\\\\$)?(0|([1-9][0-9]*(,\\\\d{3})*)|(([0]|([1-9][0-9]*(,\\\\d{3})*))\\\\.\\\\d{1,2}))(yuan|.?元)?)|(人民币)?([圆角分零壹贰叁肆伍陆柒捌玖拾佰仟万亿]+[圆角分]))(?=\\\\W)\",\n \"IsIgnoreCase\": true\n }\n ]\n },\n \"KeywordRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleContent\": \"账户余额\",\n \"IsIgnoreCase\": true\n },\n {\n \"RuleContent\": \"Account Balance\",\n \"IsIgnoreCase\": true\n },\n {\n \"RuleContent\": \"AccountBalance\",\n \"IsIgnoreCase\": true\n },\n {\n \"RuleContent\": \"Account_Balance\",\n \"IsIgnoreCase\": true\n }\n ]\n },\n \"IgnoreStringRule\": {\n \"Operator\": \"or\",\n \"Contents\": null\n },\n \"MaxMatch\": 100\n },\n \"Status\": 0\n}",
|
143
143
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"RuleId\": 1\n }\n}",
|
144
144
|
"title": "新增分类分级规则"
|
145
145
|
}
|
@@ -147,7 +147,7 @@
|
|
147
147
|
"CreateDSPADiscoveryTask": [
|
148
148
|
{
|
149
149
|
"document": "",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPADiscoveryTask\n<公共请求参数>\n\n{\n \"Enable\": \"1\",\n \"Name\": \"
|
150
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPADiscoveryTask\n<公共请求参数>\n\n{\n \"Enable\": \"1\",\n \"Name\": \"分类分级任务\",\n \"ComplianceGroupIds\": [\n \"0\"\n ],\n \"DataSourceType\": \"1\",\n \"GeneralRuleSetEnable\": \"1\",\n \"Period\": \"0\",\n \"TimingStartTime\": \"2021-11-11 10:46:18\",\n \"DspaId\": \"dspa-ab50f3b1\",\n \"DataSourceId\": \"cdb-6cmpe42v\",\n \"Plan\": \"0\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"Condition\": \"db1,db_2\",\n \"Description\": \"分类分级扫描任务\"\n}",
|
151
151
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"TaskId\": 1,\n \"ResultId\": 1\n }\n}",
|
152
152
|
"title": "新增分类分级任务"
|
153
153
|
}
|
@@ -163,7 +163,7 @@
|
|
163
163
|
"CreateDSPAMetaResources": [
|
164
164
|
{
|
165
165
|
"document": "添加用户云上资源列表示例",
|
166
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ed415837\",\n \"UpdateId\": \"49f060ba-c12d-4643-98da-aa8bcc382091\",\n \"UpdateStatus\": \"finished\",\n \"Items\": [\n {\n \"ResourceVip\": \"127.0.0.1\",\n \"ResourceId\": \"cdb-
|
166
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDSPAMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ed415837\",\n \"UpdateId\": \"49f060ba-c12d-4643-98da-aa8bcc382091\",\n \"UpdateStatus\": \"finished\",\n \"Items\": [\n {\n \"ResourceVip\": \"127.0.0.1\",\n \"ResourceId\": \"cdb-16cb45g7\",\n \"ResourceCreateTime\": \"2022-12-03 10:42:19\",\n \"ResourceUniqueSubnetId\": \"subnet-xx\",\n \"ResourceUniqueVpcId\": \"vpc-xx\",\n \"ResourceName\": \"name\",\n \"ResourceVPort\": 1\n }\n ],\n \"MetaType\": \"mariadb\",\n \"ResourceRegion\": \"ap-guangzhou\"\n}",
|
167
167
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6542ea46-5974-42b2-8876-f1ca946a92ce\",\n \"DspaId\": \"dspa-ed415837\",\n \"MetaType\": \"mariadb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"UpdateId\": \"49f060ba-c12d-4643-98da-aa8bcc382091\"\n }\n}",
|
168
168
|
"title": "示例"
|
169
169
|
}
|
@@ -178,10 +178,10 @@
|
|
178
178
|
],
|
179
179
|
"CreateIdentifyRuleAnotherName": [
|
180
180
|
{
|
181
|
-
"document": "
|
182
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIdentifyRuleAnotherName\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
183
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
184
|
-
"title": "
|
181
|
+
"document": "示例",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIdentifyRuleAnotherName\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"ComplianceId\": 100118,\n \"CategoryId\": 1,\n \"RuleId\": 128,\n \"RuleName\": \"身份证校验\",\n \"AnotherName\": \"id-card\"\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"test-002\"\n }\n}",
|
184
|
+
"title": "示例"
|
185
185
|
}
|
186
186
|
],
|
187
187
|
"CreateNewClassification": [
|
@@ -202,10 +202,10 @@
|
|
202
202
|
],
|
203
203
|
"DecribeSuggestRiskLevelMatrix": [
|
204
204
|
{
|
205
|
-
"document": "
|
206
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DecribeSuggestRiskLevelMatrix\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
207
|
-
"output": "{\n \"Response\": {\n \"SuggestRiskLevelMatrix\": [\n {\n \"RiskLevelMatrix\": [\n {\n \"SensitiveLevel\": {\n \"Name\": \"
|
208
|
-
"title": "
|
205
|
+
"document": "",
|
206
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DecribeSuggestRiskLevelMatrix\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-1klcj34a\",\n \"SensitiveLevelList\": [\n {\n \"Id\": 8,\n \"Name\": \"敏感\",\n \"Score\": 10\n },\n {\n \"Id\": 9,\n \"Name\": \"重要\",\n \"Score\": 5\n },\n {\n \"Id\": 10,\n \"Name\": \"一般\",\n \"Score\": 1\n },\n {\n \"Id\": 0,\n \"Name\": \"NotSensitive\",\n \"Score\": 0\n }\n ],\n \"VulnerabilityLevelList\": [\n {\n \"Name\": \"high\",\n \"Score\": 10,\n \"Id\": 1\n },\n {\n \"Name\": \"medium\",\n \"Score\": 5,\n \"Id\": 2\n },\n {\n \"Name\": \"low\",\n \"Score\": 1,\n \"Id\": 3\n }\n ]\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"SuggestRiskLevelMatrix\": [\n {\n \"RiskLevelMatrix\": [\n {\n \"RiskScore\": 100,\n \"SensitiveLevel\": {\n \"Name\": \"敏感\",\n \"Id\": 8,\n \"Score\": 10\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"high\",\n \"Id\": 1,\n \"Score\": 10\n },\n \"RiskName\": \"high\"\n },\n {\n \"RiskScore\": 50,\n \"SensitiveLevel\": {\n \"Name\": \"敏感\",\n \"Id\": 8,\n \"Score\": 10\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"medium\",\n \"Id\": 2,\n \"Score\": 5\n },\n \"RiskName\": \"high\"\n },\n {\n \"RiskScore\": 10,\n \"SensitiveLevel\": {\n \"Name\": \"敏感\",\n \"Id\": 8,\n \"Score\": 10\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"low\",\n \"Id\": 3,\n \"Score\": 1\n },\n \"RiskName\": \"medium\"\n }\n ]\n },\n {\n \"RiskLevelMatrix\": [\n {\n \"RiskScore\": 50,\n \"SensitiveLevel\": {\n \"Name\": \"重要\",\n \"Id\": 9,\n \"Score\": 5\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"high\",\n \"Id\": 1,\n \"Score\": 10\n },\n \"RiskName\": \"high\"\n },\n {\n \"RiskScore\": 25,\n \"SensitiveLevel\": {\n \"Name\": \"重要\",\n \"Id\": 9,\n \"Score\": 5\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"medium\",\n \"Id\": 2,\n \"Score\": 5\n },\n \"RiskName\": \"medium\"\n },\n {\n \"RiskScore\": 5,\n \"SensitiveLevel\": {\n \"Name\": \"重要\",\n \"Id\": 9,\n \"Score\": 5\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"low\",\n \"Id\": 3,\n \"Score\": 1\n },\n \"RiskName\": \"low\"\n }\n ]\n },\n {\n \"RiskLevelMatrix\": [\n {\n \"RiskScore\": 10,\n \"SensitiveLevel\": {\n \"Name\": \"一般\",\n \"Id\": 10,\n \"Score\": 1\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"high\",\n \"Id\": 1,\n \"Score\": 10\n },\n \"RiskName\": \"medium\"\n },\n {\n \"RiskScore\": 5,\n \"SensitiveLevel\": {\n \"Name\": \"一般\",\n \"Id\": 10,\n \"Score\": 1\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"medium\",\n \"Id\": 2,\n \"Score\": 5\n },\n \"RiskName\": \"low\"\n },\n {\n \"RiskScore\": 1,\n \"SensitiveLevel\": {\n \"Name\": \"一般\",\n \"Id\": 10,\n \"Score\": 1\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"low\",\n \"Id\": 3,\n \"Score\": 1\n },\n \"RiskName\": \"low\"\n }\n ]\n },\n {\n \"RiskLevelMatrix\": [\n {\n \"RiskScore\": 0,\n \"SensitiveLevel\": {\n \"Name\": \"NotSensitive\",\n \"Id\": 0,\n \"Score\": 0\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"high\",\n \"Id\": 1,\n \"Score\": 10\n },\n \"RiskName\": \"low\"\n },\n {\n \"RiskScore\": 0,\n \"SensitiveLevel\": {\n \"Name\": \"NotSensitive\",\n \"Id\": 0,\n \"Score\": 0\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"medium\",\n \"Id\": 2,\n \"Score\": 5\n },\n \"RiskName\": \"low\"\n },\n {\n \"RiskScore\": 0,\n \"SensitiveLevel\": {\n \"Name\": \"NotSensitive\",\n \"Id\": 0,\n \"Score\": 0\n },\n \"VulnerabilityLevel\": {\n \"Name\": \"low\",\n \"Id\": 3,\n \"Score\": 1\n },\n \"RiskName\": \"low\"\n }\n ]\n }\n ],\n \"RequestId\": \"e740e934-03d9-4ed8-a70e-1aeb4f1c131d\"\n }\n}",
|
208
|
+
"title": "查询建议的默认风险等级矩阵"
|
209
209
|
}
|
210
210
|
],
|
211
211
|
"DeleteCosMetaResource": [
|
@@ -275,25 +275,25 @@
|
|
275
275
|
"DescribeAssetOverview": [
|
276
276
|
{
|
277
277
|
"document": "资产报告 - 查询数据资产概览接口",
|
278
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
279
|
-
"output": "{\n \"Response\": {\n \"DBInstanceNums\": 0,\n \"DBNums\": 0,\n \"TableNums\": 0,\n \"FieldNums\": 0,\n \"DBInstanceDistribution\": [\n {\n \"Key\": \"
|
278
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-44b7bd87\",\n \"ComplianceId\": 1,\n \"AssetList\": [\n {\n \"DataSourceType\": \"cdb\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cdb-14njkefc\",\n \"BindList\": [\n \"test_db\"\n ]\n }\n ]\n }\n ]\n}",
|
279
|
+
"output": "{\n \"Response\": {\n \"DBInstanceNums\": 0,\n \"DBNums\": 0,\n \"TableNums\": 0,\n \"FieldNums\": 0,\n \"DBInstanceDistribution\": [\n {\n \"Key\": \"第一个数据源\",\n \"Value\": 1\n }\n ],\n \"DBDistribution\": [\n {\n \"Key\": \"第二个数据源\",\n \"Value\": 2\n }\n ],\n \"BucketNums\": 0,\n \"FileNums\": 0,\n \"Remark\": \"数据源cdb-23uhda9s未扫描\",\n \"EsInstanceNums\": 1,\n \"EsIndexNums\": 1,\n \"EsFieldNums\": 1,\n \"MongoInstanceNums\": 1,\n \"MongoDbNums\": 1,\n \"MongoColNums\": 1,\n \"MongoFieldNums\": 1,\n \"RequestId\": \"7020bf74-4fec-0aab-6a3c-52c2e94ad60a\"\n }\n}",
|
280
280
|
"title": "查询数据资产概览接口"
|
281
281
|
}
|
282
282
|
],
|
283
283
|
"DescribeBindDBList": [
|
284
284
|
{
|
285
|
-
"document": "
|
286
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBindDBList\n<公共请求参数>\n\n{\n \"DataSourceType\": \"
|
287
|
-
"output": "{\n \"Response\": {\n \"BindDBList\": [\n \"
|
288
|
-
"title": "
|
285
|
+
"document": "查询DB绑定的列表",
|
286
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBindDBList\n<公共请求参数>\n\n{\n \"DataSourceType\": \"cdb\",\n \"DataSourceId\": \"cdb-2345ffsdf2\",\n \"DspaId\": \"dspa-abcd1234\"\n}",
|
287
|
+
"output": "{\n \"Response\": {\n \"BindDBList\": [\n \"szffsd0212\"\n ],\n \"BindList\": [\n {\n \"ResourceId\": \"cdb-2g345\",\n \"DbInfos\": [\n {\n \"DbName\": \"db2212\",\n \"ValidStatus\": \"1\"\n }\n ]\n }\n ],\n \"RequestId\": \"afsdfs-fg234sc\"\n }\n}",
|
288
|
+
"title": "查询DB绑定的列表"
|
289
289
|
}
|
290
290
|
],
|
291
291
|
"DescribeCOSAssetSensitiveDistribution": [
|
292
292
|
{
|
293
|
-
"document": "
|
294
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCOSAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
295
|
-
"output": "{\n \"Response\": {\n \"CosAsset\": {\n \"BucketNums\":
|
296
|
-
"title": "
|
293
|
+
"document": "查询cos资产分布详情",
|
294
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCOSAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"ComplianceId\": 1,\n \"AssetList\": [\n {\n \"DataSourceType\": \"2\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cdb-tsf1ewdfr\",\n \"BindList\": [\n \"predb01\"\n ]\n }\n ]\n }\n ]\n}",
|
295
|
+
"output": "{\n \"Response\": {\n \"CosAsset\": {\n \"BucketNums\": 3,\n \"SensitiveBucketNums\": 1,\n \"FileNums\": 20,\n \"SensitiveFileNums\": 6\n },\n \"TopAsset\": [\n {\n \"LevelName\": \"中\",\n \"TopStat\": [\n {\n \"DataSourceId\": \"cdb-tsf1ewdfr\",\n \"SubData\": \"数据\",\n \"SensitiveCnt\": 1\n }\n ]\n }\n ],\n \"CosDetail\": [\n {\n \"Bucket\": \"cos-atgwr0234\",\n \"DataType\": \"2\",\n \"FileNums\": 16,\n \"SensitiveFileNums\": 6,\n \"DistributionData\": [\n {\n \"Key\": \"103\",\n \"Value\": 5\n }\n ],\n \"MatchedNum\": 3\n }\n ],\n \"RequestId\": \"sfwtgw-gsdf-23rsfs\"\n }\n}",
|
296
|
+
"title": "查询cos资产分布详情"
|
297
297
|
}
|
298
298
|
],
|
299
299
|
"DescribeClassificationInfo": [
|
@@ -315,56 +315,56 @@
|
|
315
315
|
"DescribeDSPAAssessmentHighRiskTop10Overview": [
|
316
316
|
{
|
317
317
|
"document": "",
|
318
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentHighRiskTop10Overview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
319
|
-
"output": "{\n \"Response\": {\n \"AssetsList\": [\n {\n \"InstanceId\": \"
|
320
|
-
"title": "
|
318
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentHighRiskTop10Overview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-y7asca3a\",\n \"TemplateId\": 1\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"AssetsList\": [\n {\n \"RiskType\": \"policy_risk,privilege_risk,\",\n \"TotalRiskCount\": 2,\n \"InstanceId\": \"cdb-5vskvzvn\",\n \"DataSourceName\": \"DSGC-功能自动化使用\",\n \"DataSourceType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"AssetsName\": \"automated_sensitivedata_1\",\n \"HighRiskCount\": 2,\n \"RiskSide\": \"database_security\"\n }\n ],\n \"RequestId\": \"c42f9bd0-8843-4c3a-f0f2-3d1d50d19c5d\"\n }\n}",
|
320
|
+
"title": "查询高风险资产的top10"
|
321
321
|
}
|
322
322
|
],
|
323
323
|
"DescribeDSPAAssessmentLatestRiskDetailInfo": [
|
324
324
|
{
|
325
|
-
"document": "",
|
326
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentLatestRiskDetailInfo\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
327
|
-
"output": "{\n \"Response\": {\n \"DataSourceId\": \"
|
325
|
+
"document": "查询最新风险项详情数据",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentLatestRiskDetailInfo\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"TemplateId\": 1,\n \"RiskId\": 1\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"DataSourceId\": \"mariadb-a1b2c3d4\",\n \"DataSourceName\": \"订单数据库\",\n \"AssetName\": \"casb001\",\n \"AssessmentTemplateId\": 12,\n \"IdentifyTemplateId\": 3,\n \"RiskType\": \"account_risk\",\n \"RiskName\": \"数据库高危账户权限\",\n \"RiskDescription\": \"云数据库应用账号(非root账户)拥有高危权限,误操作或被利用导致业务发生严重故障,例如DROP权限,删表删库\",\n \"RiskLevel\": \"high\",\n \"SuggestAction\": \"1. 访问腾讯云数据库。2. >若应用账号(非root账户)下的高危权限(DROP)不再使用\",\n \"Status\": 0,\n \"Remark\": \"风险备注\",\n \"SecurityProduct\": [\n {\n \"ProductName\": \"数据安全审计\",\n \"ReferUrl\": \"https://console.cloud.tencent.com/cds/overview\"\n }\n ],\n \"RiskDimension\": \"install\",\n \"RelationAsset\": [\n \"cdb-a1b2c3d4\"\n ],\n \"AccountRiskDetail\": [\n {\n \"Id\": \"1\",\n \"RiskAccount\": \"cdb-a3b7c81\"\n }\n ],\n \"PrivilegeRiskDetail\": [\n {\n \"AccountName\": [\n \"root\"\n ],\n \"TableName\": \"test_tb\",\n \"Description\": \"账号风险详情\"\n }\n ],\n \"PolicyRiskCosFileList\": [\n \"cos-129as90ajcwer29hca241naqx546\"\n ],\n \"AKSKLeak\": [\n {\n \"AK\": \"a1b2c3d45f6e32ac3ed\",\n \"SK\": \"a1b2c3d45f6e32ac3ed\",\n \"URL\": \"http://console.tencent.com.cn\"\n }\n ],\n \"RequestId\": \"e298a8a2-e620-4cc5-9b85-4f0e22d273bf\"\n }\n}",
|
328
328
|
"title": "示例"
|
329
329
|
}
|
330
330
|
],
|
331
331
|
"DescribeDSPAAssessmentLatestRiskList": [
|
332
332
|
{
|
333
|
-
"document": "
|
334
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentLatestRiskList\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
335
|
-
"output": "{\n \"Response\": {\n \"LatestRiskList\": [\n {\n \"Id\":
|
336
|
-
"title": "
|
333
|
+
"document": "查询最新的风险详情列表数据",
|
334
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentLatestRiskList\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a2c3d4e3\",\n \"TemplateId\": 2,\n \"Limit\": 0,\n \"Offset\": \"10\",\n \"DataSourceId\": \"mariadb-a1b2c3d4\",\n \"RiskType\": \"policy_risk\",\n \"ControlItemId\": \"82\",\n \"Status\": 0,\n \"BeginTime\": \"2022/10/17\",\n \"EndTime\": \"2022/10/17\",\n \"RiskLevel\": \"high\"\n}",
|
335
|
+
"output": "{\n \"Response\": {\n \"LatestRiskList\": [\n {\n \"Id\": 1,\n \"DataSourceId\": \"mariadb-c57d871c\",\n \"DataSourceName\": \"订单数据库\",\n \"DataSourceType\": \"mariadb\",\n \"AssetName\": \"casb001\",\n \"RiskType\": \"privilege_risk\",\n \"RiskName\": \"数据库账号未配置最小权限\",\n \"RiskLevel\": \"high\",\n \"RiskDescription\": \"如果数据库账号权限过大可能会导致数据泄露或数据被篡改。\",\n \"SuggestAction\": \"遵循最小权限原则,只为每个账号分配其需要的权限\",\n \"APIRiskLinkURL\": \"https://console.cloud.tencent.com/dsc/risks\",\n \"Status\": 0,\n \"SecurityProduct\": [\n {\n \"ProductName\": \"数据安全审计\",\n \"ReferUrl\": \"https://console.cloud.tencent.com/cds/overview\"\n }\n ],\n \"ScanTime\": \"2022-10-17 10:04:46\",\n \"LastProcessTime\": \"2022-10-17 10:04:46\",\n \"IdentifyComplianceId\": 1,\n \"ItemSubType\": \"db_sensitive_data\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"a3c46565-737b-419e-921d-7a38ebb50771\"\n }\n}",
|
336
|
+
"title": "查询最新的风险详情列表数据"
|
337
337
|
}
|
338
338
|
],
|
339
339
|
"DescribeDSPAAssessmentNewDiscoveredRiskOverview": [
|
340
340
|
{
|
341
341
|
"document": "",
|
342
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentNewDiscoveredRiskOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
343
|
-
"output": "{\n \"Response\": {\n \"NewDiscoveredRiskCount\": 0,\n \"AffectedAssetCount\": 0,\n \"WeekRatio\": 0,\n \"RequestId\": \"
|
342
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentNewDiscoveredRiskOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ac23ea12\",\n \"TemplateId\": 2\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"NewDiscoveredRiskCount\": 0,\n \"AffectedAssetCount\": 0,\n \"WeekRatio\": 0,\n \"RequestId\": \"18dafbf7-83d5-4159-aeaf-4a02f1975176\"\n }\n}",
|
344
344
|
"title": "示例"
|
345
345
|
}
|
346
346
|
],
|
347
347
|
"DescribeDSPAAssessmentPendingRiskOverview": [
|
348
348
|
{
|
349
|
-
"document": "
|
350
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentPendingRiskOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
351
|
-
"output": "{\n \"Response\": {\n \"
|
352
|
-
"title": "
|
349
|
+
"document": "",
|
350
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentPendingRiskOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-2mlc8asd\",\n \"TemplateId\": 2\n}",
|
351
|
+
"output": "{\n \"Response\": {\n \"AffectedAssetCount\": 0,\n \"WeekRatio\": 0,\n \"PendingRiskCount\": 0,\n \"RequestId\": \"2b0de1a7-b984-490b-b616-bbc67668e76a\"\n }\n}",
|
352
|
+
"title": "查询待处理风险统计数"
|
353
353
|
}
|
354
354
|
],
|
355
355
|
"DescribeDSPAAssessmentProcessingRiskOverview": [
|
356
356
|
{
|
357
357
|
"document": "",
|
358
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentProcessingRiskOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
359
|
-
"output": "{\n \"Response\": {\n \"ProcessingRiskCount\": 0,\n \"AffectedAssetCount\": 0,\n \"WeekRatio\": 0,\n \"RequestId\": \"
|
360
|
-
"title": "
|
358
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentProcessingRiskOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-23bnnjk5\",\n \"TemplateId\": 2\n}",
|
359
|
+
"output": "{\n \"Response\": {\n \"ProcessingRiskCount\": 0,\n \"AffectedAssetCount\": 0,\n \"WeekRatio\": 0,\n \"RequestId\": \"18f6cc8f-fab5-46f9-881d-adf57580befd\"\n }\n}",
|
360
|
+
"title": "查询处理中风险统计数"
|
361
361
|
}
|
362
362
|
],
|
363
363
|
"DescribeDSPAAssessmentRiskAmountOverview": [
|
364
364
|
{
|
365
|
-
"document": "",
|
366
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskAmountOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
367
|
-
"output": "{\n \"Response\": {\n \"TotalRiskCount\": 0,\n \"TotalAffectedAssetCount\": 0,\n \"RequestId\": \"
|
365
|
+
"document": "风险概览页风险数量和受影响资产数概览统计",
|
366
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskAmountOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"TemplateId\": 2\n}",
|
367
|
+
"output": "{\n \"Response\": {\n \"TotalRiskCount\": 0,\n \"TotalAffectedAssetCount\": 0,\n \"RequestId\": \"e298a8a2-e620-4cc5-9b85-4f0e22d273bf\"\n }\n}",
|
368
368
|
"title": "示例"
|
369
369
|
}
|
370
370
|
],
|
@@ -388,16 +388,16 @@
|
|
388
388
|
{
|
389
389
|
"document": "风险项处理趋势统计",
|
390
390
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskDealedTrend\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-97538993\",\n \"StartTime\": \"2022-09-01\",\n \"EndTime\": \"2022-09-03\"\n}",
|
391
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Date\": \"
|
391
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Date\": \"2022-09-01\",\n \"Unhandled\": 1,\n \"Handled\": 2,\n \"NewDiscoveryHandled\": 3\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
392
392
|
"title": "风险项处理趋势统计"
|
393
393
|
}
|
394
394
|
],
|
395
395
|
"DescribeDSPAAssessmentRiskDistributionOverview": [
|
396
396
|
{
|
397
397
|
"document": "",
|
398
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskDistributionOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
399
|
-
"output": "{\n \"Response\": {\n \"RiskTypeDistribution\": [\n {\n \"Key\": \"
|
400
|
-
"title": "
|
398
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskDistributionOverview\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-8uscas3a\",\n \"TemplateId\": 1\n}",
|
399
|
+
"output": "{\n \"Response\": {\n \"RiskTypeDistribution\": [\n {\n \"Key\": \"config_risk\",\n \"Value\": 10\n }\n ],\n \"RiskDetailDistribution\": [\n {\n \"Key\": \"数据库参数安全配置-低风险\",\n \"Value\": 10\n }\n ],\n \"RiskAssetsDistribution\": [\n {\n \"Key\": \"cdb-234nnas1\",\n \"Value\": 10\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
400
|
+
"title": "查询风险分布数据"
|
401
401
|
}
|
402
402
|
],
|
403
403
|
"DescribeDSPAAssessmentRiskItemTop5": [
|
@@ -411,17 +411,17 @@
|
|
411
411
|
"DescribeDSPAAssessmentRiskLevelDetail": [
|
412
412
|
{
|
413
413
|
"document": "",
|
414
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskLevelDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
415
|
-
"output": "{\n \"Response\": {\n \"
|
416
|
-
"title": "
|
414
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskLevelDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-89cas3sq\",\n \"RiskLevelId\": 1\n}",
|
415
|
+
"output": "{\n \"Response\": {\n \"RiskLevelMatrix\": [\n {\n \"RiskLevel\": \"high\",\n \"Id\": 12211,\n \"SensitiveLevelId\": 1,\n \"SensitiveLevelName\": \"高\",\n \"VulnerabilityLevel\": \"high\"\n },\n {\n \"RiskLevel\": \"high\",\n \"Id\": 12212,\n \"SensitiveLevelId\": 1,\n \"SensitiveLevelName\": \"高\",\n \"VulnerabilityLevel\": \"medium\"\n },\n {\n \"RiskLevel\": \"medium\",\n \"Id\": 12213,\n \"SensitiveLevelId\": 1,\n \"SensitiveLevelName\": \"高\",\n \"VulnerabilityLevel\": \"low\"\n },\n {\n \"RiskLevel\": \"high\",\n \"Id\": 12214,\n \"SensitiveLevelId\": 2,\n \"SensitiveLevelName\": \"中\",\n \"VulnerabilityLevel\": \"high\"\n },\n {\n \"RiskLevel\": \"medium\",\n \"Id\": 12215,\n \"SensitiveLevelId\": 2,\n \"SensitiveLevelName\": \"中\",\n \"VulnerabilityLevel\": \"medium\"\n },\n {\n \"RiskLevel\": \"low\",\n \"Id\": 12216,\n \"SensitiveLevelId\": 2,\n \"SensitiveLevelName\": \"中\",\n \"VulnerabilityLevel\": \"low\"\n },\n {\n \"RiskLevel\": \"medium\",\n \"Id\": 12217,\n \"SensitiveLevelId\": 3,\n \"SensitiveLevelName\": \"低\",\n \"VulnerabilityLevel\": \"high\"\n },\n {\n \"RiskLevel\": \"low\",\n \"Id\": 12218,\n \"SensitiveLevelId\": 3,\n \"SensitiveLevelName\": \"低\",\n \"VulnerabilityLevel\": \"medium\"\n },\n {\n \"RiskLevel\": \"low\",\n \"Id\": 12219,\n \"SensitiveLevelId\": 3,\n \"SensitiveLevelName\": \"低\",\n \"VulnerabilityLevel\": \"low\"\n },\n {\n \"RiskLevel\": \"low\",\n \"Id\": 12220,\n \"SensitiveLevelId\": 0,\n \"SensitiveLevelName\": \"NotSensitive\",\n \"VulnerabilityLevel\": \"high\"\n },\n {\n \"RiskLevel\": \"low\",\n \"Id\": 12221,\n \"SensitiveLevelId\": 0,\n \"SensitiveLevelName\": \"NotSensitive\",\n \"VulnerabilityLevel\": \"medium\"\n },\n {\n \"RiskLevel\": \"low\",\n \"Id\": 12222,\n \"SensitiveLevelId\": 0,\n \"SensitiveLevelName\": \"NotSensitive\",\n \"VulnerabilityLevel\": \"low\"\n }\n ],\n \"RiskLevelName\": \"默认风险级别\",\n \"RiskLevelDescription\": \"自动化测试,勿删\",\n \"IdentifyComplianceId\": 1,\n \"IdentifyComplianceName\": \"通用规则集\",\n \"RequestId\": \"c92ee4ca-dad0-4e5f-ab7e-ffe693c9951c\"\n }\n}",
|
416
|
+
"title": "查询风险等级的详情数据"
|
417
417
|
}
|
418
418
|
],
|
419
419
|
"DescribeDSPAAssessmentRiskLevelList": [
|
420
420
|
{
|
421
|
-
"document": "
|
422
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskLevelList\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
423
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
424
|
-
"title": "
|
421
|
+
"document": "",
|
422
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskLevelList\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-90zcads3\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
|
423
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RiskLevelList\": [\n {\n \"Id\": 1,\n \"RiskLevelName\": \"默认风险级别\",\n \"RiskLevelDescription\": \"自动化测试,勿删\",\n \"IdentifyComplianceName\": \"通用规则集\",\n \"Type\": \"system\"\n }\n ],\n \"RequestId\": \"61ad9ba2-83b7-48cd-aa70-e140525770c8\"\n }\n}",
|
424
|
+
"title": "查询风险等级的列表"
|
425
425
|
}
|
426
426
|
],
|
427
427
|
"DescribeDSPAAssessmentRiskLevelTrend": [
|
@@ -442,49 +442,49 @@
|
|
442
442
|
],
|
443
443
|
"DescribeDSPAAssessmentRiskProcessHistory": [
|
444
444
|
{
|
445
|
-
"document": "
|
446
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskProcessHistory\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
447
|
-
"output": "{\n \"Response\": {\n \"ProcessHistory\": [\n {\n \"Time\": \"
|
448
|
-
"title": "
|
445
|
+
"document": "查询风险的处理历史",
|
446
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskProcessHistory\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-97538993\",\n \"RiskId\": 1\n}",
|
447
|
+
"output": "{\n \"Response\": {\n \"ProcessHistory\": [\n {\n \"Time\": \"2023-09-20 16:16:53\",\n \"Status\": 3,\n \"Handler\": \"系统(最近一次扫描未发现)\",\n \"Note\": \"已处理\"\n }\n ],\n \"RequestId\": \"1f1765cf-c01a-4a93-95b2-99108f4aa04f\"\n }\n}",
|
448
|
+
"title": "查询风险的处理历史"
|
449
449
|
}
|
450
450
|
],
|
451
451
|
"DescribeDSPAAssessmentRiskSideDistributed": [
|
452
452
|
{
|
453
453
|
"document": "查询风险面的分布详情",
|
454
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskSideDistributed\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
455
|
-
"output": "{\n \"Response\": {\n \"RiskSideDistributed\": [\n {\n \"AssessmentRiskSide\": {\n \"Key\": \"
|
454
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskSideDistributed\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"TemplateId\": 1\n}",
|
455
|
+
"output": "{\n \"Response\": {\n \"RiskSideDistributed\": [\n {\n \"AssessmentRiskSide\": {\n \"Key\": \"风险面1\",\n \"Value\": 3\n },\n \"AssessmentRisk\": [\n {\n \"Key\": \"风险类型1\",\n \"Value\": 2\n }\n ]\n }\n ],\n \"RequestId\": \"test-001\"\n }\n}",
|
456
456
|
"title": "示例"
|
457
457
|
}
|
458
458
|
],
|
459
459
|
"DescribeDSPAAssessmentRiskSideList": [
|
460
460
|
{
|
461
461
|
"document": "查询风险面的列表",
|
462
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskSideItemList\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
463
|
-
"output": "{\n \"Response\": {\n \"RiskSideItmeList\": [\n {\n \"Key\": \"
|
462
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskSideItemList\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"TemplateId\": 100118\n}",
|
463
|
+
"output": "{\n \"Response\": {\n \"RiskSideItmeList\": [\n {\n \"Key\": \"cloudstorage_security\",\n \"Value\": 3\n }\n ],\n \"RequestId\": \"test-001\"\n }\n}",
|
464
464
|
"title": "风险面列表"
|
465
465
|
}
|
466
466
|
],
|
467
467
|
"DescribeDSPAAssessmentRiskTemplateDetail": [
|
468
468
|
{
|
469
469
|
"document": "",
|
470
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskTemplateDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
471
|
-
"output": "{\n \"Response\": {\n \"
|
472
|
-
"title": "
|
470
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskTemplateDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-12bhjzx8\",\n \"TemplateId\": 1,\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
471
|
+
"output": "{\n \"Response\": {\n \"RiskLevelName\": \"默认风险级别\",\n \"RiskItemList\": [\n {\n \"Id\": 38,\n \"Level\": \"high\",\n \"Description\": \"服务端口公网开放\",\n \"RiskType\": \"policy_risk\",\n \"ReferTemplateCount\": 0,\n \"ReferTemplateList\": [\n {\n \"TemplateId\": 10,\n \"TemplateName\": \"风险模版\"\n }\n ],\n \"SupportDataSource\": [\n \"cynosdb\",\n \"dcdb\",\n \"cdb\",\n \"mariadb\",\n \"postgres\",\n \"es\",\n \"mysql_like_proto\",\n \"postgre_like_proto\",\n \"mongo_like_proto\",\n \"es_like_proto\",\n \"mssql_like_proto\",\n \"oracle_like_proto\",\n \"cynosdbmysql\"\n ],\n \"RiskName\": \"服务端口公网开放\",\n \"RiskSide\": \"database_security\"\n }\n ],\n \"TotalCount\": 1,\n \"TemplateId\": 1,\n \"TemplateName\": \"当前模版\",\n \"TemplateDescription\": \"模版描述\",\n \"RiskLevelId\": 1,\n \"TaskCitations\": 1,\n \"RequestId\": \"06b2b669-75cc-4047-a36f-80987f12f6b5\"\n }\n}",
|
472
|
+
"title": "查看评估模板详情"
|
473
473
|
}
|
474
474
|
],
|
475
475
|
"DescribeDSPAAssessmentRiskTemplateVulnerableList": [
|
476
476
|
{
|
477
477
|
"document": "",
|
478
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskTemplateVulnerableList\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
479
|
-
"output": "{\n \"Response\": {\n \"RiskItemList\": [\n {\n \"Id\":
|
480
|
-
"title": "
|
478
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRiskTemplateVulnerableList\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-8asdac1a\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
479
|
+
"output": "{\n \"Response\": {\n \"RiskItemList\": [\n {\n \"Id\": 38,\n \"Level\": \"high\",\n \"Description\": \"服务端口公网开放\",\n \"RiskType\": \"policy_risk\",\n \"ReferTemplateCount\": 0,\n \"ReferTemplateList\": null,\n \"SupportDataSource\": [\n \"cynosdb\",\n \"dcdb\",\n \"cdb\",\n \"mariadb\",\n \"postgres\",\n \"es\",\n \"mysql_like_proto\",\n \"postgre_like_proto\",\n \"mongo_like_proto\",\n \"es_like_proto\",\n \"mssql_like_proto\",\n \"oracle_like_proto\",\n \"cynosdbmysql\"\n ],\n \"RiskName\": \"服务端口公网开放\",\n \"RiskSide\": \"database_security\"\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"c42f9bd0-8843-4c3a-f0f2-3d1d50d19c5d\"\n }\n}",
|
480
|
+
"title": "查询风险模板中的脆弱项配置"
|
481
481
|
}
|
482
482
|
],
|
483
483
|
"DescribeDSPAAssessmentRisks": [
|
484
484
|
{
|
485
485
|
"document": "",
|
486
486
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentRisks\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-92aabacd\",\n \"TaskId\": \"task-mdfmnme4\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
487
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"RiskId\": \"risk-
|
487
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"RiskId\": \"risk-nzmxyxrm\",\n \"RiskDescription\": \"cdb-5vsxxzvn中存在密码为空的账号\",\n \"TemplateId\": \"template-00000000\",\n \"TemplateName\": \"系统基础自动化评估模板\",\n \"ControlItemId\": \"control-00000002\",\n \"ControlItemName\": \"数据库风险配置\",\n \"ControlItemDesc\": \"数据库风险配置\",\n \"RiskLevel\": \"medium\",\n \"RelatedAsset\": \"cdb-5vsxxzvn\",\n \"RiskMitigation\": \"建议不允许密码为空的账号存在\",\n \"Status\": \"waiting\",\n \"CreatedTime\": \"2022-06-28 21:27:53\",\n \"RiskOwner\": \"Bob\",\n \"DataSourceId\": \"cdb-a1b2c3\",\n \"DataSourceName\": \"广州地域生产db\",\n \"SecurityProduct\": [\n {\n \"ProductName\": \"T-ce\",\n \"ReferUrl\": \"http://urlinfo\"\n }\n ],\n \"RiskType\": \"高风险\",\n \"AssetName\": \"生产\"\n }\n ],\n \"RequestId\": \"9a9f5c32-95ab-4130-ae37-047cde38b943\"\n }\n}",
|
488
488
|
"title": "获取DSPA评估风险项列表"
|
489
489
|
}
|
490
490
|
],
|
@@ -492,7 +492,7 @@
|
|
492
492
|
{
|
493
493
|
"document": "",
|
494
494
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentTasks\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-92aabacd\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
495
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
495
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Items\": [\n {\n \"TaskUid\": 11500,\n \"TaskId\": \"task-yji1zgjm\",\n \"TaskName\": \"一键评估1109-19491112127\",\n \"BusinessName\": \"\",\n \"BusinessDept\": \"\",\n \"BusinessOwner\": \"\",\n \"TemplateId\": \"template-Yzc2Z\",\n \"TemplateUid\": 10171,\n \"TemplateName\": \"身份认证\",\n \"ComplianceGroupId\": 1,\n \"ComplianceGroupName\": \"通用规则集\",\n \"ControlItemCount\": 0,\n \"RiskCount\": 24,\n \"RiskCountInfoList\": [\n {\n \"RiskLevel\": \"high\",\n \"RiskLevelName\": \"高\",\n \"Count\": 0\n },\n {\n \"RiskLevel\": \"medium\",\n \"RiskLevelName\": \"中\",\n \"Count\": 24\n },\n {\n \"RiskLevel\": \"low\",\n \"RiskLevelName\": \"低\",\n \"Count\": 0\n }\n ],\n \"FinishedTime\": \"2024-11-09 19:51:33\",\n \"CreatedTime\": \"2024-11-09 19:49:11\",\n \"Status\": \"finished\",\n \"DiscoveryCondition\": {\n \"RDBInstances\": [],\n \"COSInstances\": [],\n \"NOSQLInstances\": [],\n \"ESInstances\": []\n },\n \"ErrorInfo\": \"\",\n \"ProgressPercent\": 100\n }\n ],\n \"RequestId\": \"c9950094-26b3-9163-4fe0-3d60ae5a2d95\"\n }\n}",
|
496
496
|
"title": "获取DSPA评估任务列表"
|
497
497
|
}
|
498
498
|
],
|
@@ -508,7 +508,7 @@
|
|
508
508
|
{
|
509
509
|
"document": "",
|
510
510
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAAssessmentTemplates\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-92aabacd\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
511
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
511
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Id\": 2,\n \"TemplateId\": \"template-00000002\",\n \"TemplateName\": \"系统基础评估模板\",\n \"Description\": \"自动化测试,勿删\",\n \"Source\": \"system\",\n \"UseType\": \"auto\",\n \"CreatedTime\": \"2023-05-13 14:01:45\",\n \"ControlItemCount\": 194,\n \"AppliedItemCount\": 63,\n \"Status\": \"launched\",\n \"SupportDataSource\": [\n \"mysql\",\n \"pgsql\",\n \"mongodb\",\n \"oracle\",\n \"mssql\",\n \"es\",\n \"cos\",\n \"cam\",\n \"db2\",\n \"apigateway\"\n ],\n \"IsASMTemplate\": false,\n \"IdentifyComplianceId\": 1\n }\n ],\n \"RequestId\": \"0db4a846-ad6e-4446-b393-6d5169c88778\"\n }\n}",
|
512
512
|
"title": "获取DSPA评估模板列表"
|
513
513
|
}
|
514
514
|
],
|
@@ -516,23 +516,23 @@
|
|
516
516
|
{
|
517
517
|
"document": "",
|
518
518
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDataAssetBuckets\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"ComplianceId\": \"1\"\n}",
|
519
|
-
"output": "{\n \"Response\": {\n \"Buckets\": [\n \"bucket_1\",\n \"bucket_2\"\n ],\n \"RequestId\": \"
|
519
|
+
"output": "{\n \"Response\": {\n \"Buckets\": [\n \"bucket_1\",\n \"bucket_2\"\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
520
520
|
"title": "获取COS敏感数据资产桶列表"
|
521
521
|
}
|
522
522
|
],
|
523
523
|
"DescribeDSPACOSDataAssetByComplianceId": [
|
524
524
|
{
|
525
525
|
"document": "分类分级的",
|
526
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDataAssetByComplianceId\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
527
|
-
"output": "{\n \"Response\": {\n \"Stats\": {\n \"DataAssetType\":
|
526
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDataAssetByComplianceId\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-3n34nzca\",\n \"ComplianceId\": 1\n}",
|
527
|
+
"output": "{\n \"Response\": {\n \"Stats\": {\n \"DataAssetType\": 1,\n \"TotalBucketCnt\": 10,\n \"TotalObjectCnt\": 10,\n \"SensitiveCategoryCnt\": 5,\n \"SensitiveDataCnt\": 5,\n \"SensitiveLevel\": [\n {\n \"LevelId\": 1,\n \"LevelCnt\": 5,\n \"LevelRiskName\": \"高敏感\",\n \"LevelRiskScore\": 10\n }\n ],\n \"SensitiveBucketCnt\": 1,\n \"SensitiveObjectCnt\": 1,\n \"CategoryDistributed\": [\n {\n \"CategoryId\": 1,\n \"CategoryName\": \"联系方式\",\n \"Count\": 1,\n \"CategoryFullPath\": \"个人基本信息/联系方式\"\n }\n ]\n },\n \"RequestId\": \"5af5a48c-6eb7-4d81-8df6-6d0e316a32ef\"\n }\n}",
|
528
528
|
"title": "获取COS单个模板下的敏感数据资产"
|
529
529
|
}
|
530
530
|
],
|
531
531
|
"DescribeDSPACOSDataAssetDetail": [
|
532
532
|
{
|
533
533
|
"document": "",
|
534
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDataAssetDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
535
|
-
"output": "{\n \"Response\": {\n \"
|
534
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDataAssetDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-1f96daa1\",\n \"ComplianceId\": 1\n}",
|
535
|
+
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"BucketName\": \"bucekt_1\",\n \"FileName\": \"cds.txt\",\n \"RuleName\": \"通用\",\n \"SensitiveDataCount\": 0,\n \"CategoryName\": \"个人身份信息\",\n \"LevelRiskName\": \"系统-敏感\",\n \"KMSEncrypted\": true,\n \"FileType\": \".txt\",\n \"FileSize\": \"10000\",\n \"LevelRiskScore\": 1,\n \"DataSourceId\": \"cos-d653df8923hjrhjc9\",\n \"RuleId\": 100,\n \"ResourceRegion\": \"ap-guangzhou\",\n \"CategoryId\": 12,\n \"LevelId\": 8,\n \"FileResultId\": 0,\n \"DataSourceName\": \"bucekt_1\",\n \"CategoryFullPath\": \"[\\\"个人基本信息\\\"]\",\n \"IdentifyType\": 0,\n \"CheckStatus\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
536
536
|
"title": "获取COS分类分级数据资产详情"
|
537
537
|
}
|
538
538
|
],
|
@@ -540,7 +540,7 @@
|
|
540
540
|
{
|
541
541
|
"document": "",
|
542
542
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDiscoveryTaskDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-01\",\n \"TaskId\": 123\n}",
|
543
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Task\": {\n \"Name\": \"
|
543
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Task\": {\n \"Name\": \"COS-YmY0MDA3-对应评估任务-存储桶未开启版本控制功能\",\n \"Description\": \"对象存储扫描\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cos-d653b75c5bac583e5003012eff6cf40ecbadfe3c\",\n \"DataSourceName\": \"kyrie-cos-test-251007922\",\n \"ProxyAddress\": null,\n \"Condition\": {\n \"Bucket\": \"kyrie-cos-test-251007922\",\n \"FileTypes\": [\n \".txt\",\n \".pgm\",\n \".jpeg\",\n \".jp2\",\n \".webp\",\n \".pbm\",\n \".hdr\",\n \".xml\",\n \".doc\",\n \".xlsx\",\n \".html\",\n \".pdf\",\n \".pnm\",\n \".docx\",\n \".xls\",\n \".pptx\",\n \".jpg\",\n \".jpe\",\n \".csv\",\n \".log\",\n \".json\",\n \".tiff\",\n \".png\",\n \".bmp\",\n \".ppm\"\n ],\n \"FileSizeLimit\": 1000\n }\n },\n \"GeneralRuleSetEnable\": 0,\n \"CustomComplianceInfo\": [\n {\n \"ComplianceGroupId\": 1,\n \"ComplianceGroupName\": \"通用规则集\"\n }\n ],\n \"DefaultComplianceInfo\": null,\n \"TimingStartTime\": null\n }\n }\n}",
|
544
544
|
"title": "获取COS分类分级任务详情"
|
545
545
|
}
|
546
546
|
],
|
@@ -548,31 +548,31 @@
|
|
548
548
|
{
|
549
549
|
"document": "",
|
550
550
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDiscoveryTaskFiles\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"BucketResultId\": 123,\n \"TaskId\": 123\n}",
|
551
|
-
"output": "{\n \"Response\": {\n \"Files\": [\n \"file_1\",\n \"file_2\"\n ],\n \"RequestId\": \"
|
551
|
+
"output": "{\n \"Response\": {\n \"Files\": [\n \"file_1\",\n \"file_2\"\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
552
552
|
"title": "获取COS分类分级任务结果详情文件列表"
|
553
553
|
}
|
554
554
|
],
|
555
555
|
"DescribeDSPACOSDiscoveryTaskResult": [
|
556
556
|
{
|
557
557
|
"document": "",
|
558
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDiscoveryTaskResult\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
559
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"BucketResultId\":
|
558
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDiscoveryTaskResult\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-2jnk9scx\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"Filters\": [\n {\n \"Name\": \"DataSourceId\",\n \"Values\": [\n \"cos-1bhjsad71h2eb21j2134b1jh\"\n ]\n }\n ]\n}",
|
559
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"BucketResultId\": 1,\n \"TaskId\": 1,\n \"TaskName\": \"cos分类分级测试\",\n \"ResultId\": 1,\n \"DataSourceId\": \"cos-1bhjsad71h2eb21j2134b1jh\",\n \"BucketName\": \"cos_bucket\",\n \"TotalFiles\": 20,\n \"SensitiveDataNums\": 120,\n \"EndTime\": \"2024-10-10 12:00:00\",\n \"DataSourceName\": \"cos数据源1\",\n \"Status\": 0,\n \"ErrorInfo\": \"没有错误则为空,有错误可能报错如:连接数据源错误\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"OverSize\": \"OverQuotaSuccess\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"826f0635-b168-52a7-8db9-45b1d46d2c8a\"\n }\n}",
|
560
560
|
"title": "DescribeCOSTaskResult"
|
561
561
|
}
|
562
562
|
],
|
563
563
|
"DescribeDSPACOSDiscoveryTasks": [
|
564
564
|
{
|
565
565
|
"document": "",
|
566
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDiscoveryTasks\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
567
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"
|
566
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSDiscoveryTasks\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-12cd45g7\",\n \"TaskId\": 0,\n \"Name\": \"apple\",\n \"StatusList\": [\n 0\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
567
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Name\": \"cos分类分级任务\",\n \"Description\": \"cos分类分级任务\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cos-d653b75c5bac583e5003012eff6cf40ecbadfe3c\",\n \"DataSourceName\": \"kyrie-cos-test-251007922\",\n \"ProxyAddress\": [],\n \"Condition\": {\n \"Bucket\": \"kyrie-cos-test-251007922\",\n \"FileTypes\": [\n \".txt\"\n ],\n \"FileSizeLimit\": 102400\n }\n },\n \"GeneralRuleSetEnable\": 0,\n \"TimingStartTime\": \"2024-11-07 22:40:19\",\n \"ComplianceUpdate\": true,\n \"Result\": {\n \"Id\": 1,\n \"EndTime\": \"2024-11-07 22:41:19\",\n \"Status\": 4,\n \"Result\": \"ComplianceConfigError\"\n }\n }\n ],\n \"RequestId\": \"0f3bffa9-2993-0df7-0301-4a8c9fe74aa7\",\n \"TotalCount\": 0\n }\n}",
|
568
568
|
"title": "获取COS分类分级任务列表"
|
569
569
|
}
|
570
570
|
],
|
571
571
|
"DescribeDSPACOSTaskResultDetail": [
|
572
572
|
{
|
573
573
|
"document": "",
|
574
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSTaskResultDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
575
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"
|
574
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACOSTaskResultDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-890asdj2\",\n \"TaskId\": 1,\n \"LevelId\": 10000,\n \"FileName\": \"file.txt\",\n \"Limit\": 10,\n \"ComplianceId\": 1,\n \"Offset\": 0,\n \"BucketResultId\": 1,\n \"BucketName\": \"bucket_1\",\n \"CategoryId\": 1\n}",
|
575
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"FileResultId\": 1,\n \"TaskId\": 1,\n \"ResultId\": 1,\n \"FileName\": \"file.txt\",\n \"ComplianceId\": 1,\n \"BucketName\": \"bucket_1\",\n \"RuleId\": 10,\n \"RuleName\": \"手机\",\n \"CategoryId\": 1,\n \"CategoryName\": \"个人基本信息\",\n \"CategoryFullPath\": [\n \"个人基本信息\"\n ],\n \"LevelId\": 2,\n \"LevelName\": \"中\",\n \"LevelRiskScore\": 5,\n \"KMSEncrypted\": false,\n \"FileSize\": 0,\n \"FileType\": \"txt\",\n \"SensitiveDataCount\": 1\n }\n ],\n \"RequestId\": \"1f1765cf-c01a-4a93-95b2-99108f4aa04f\"\n }\n}",
|
576
576
|
"title": "获取COS分类分级任务结果详情"
|
577
577
|
}
|
578
578
|
],
|
@@ -580,7 +580,7 @@
|
|
580
580
|
{
|
581
581
|
"document": "",
|
582
582
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACategories\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"Limit\": \"1\",\n \"Name\": \"财务信息\",\n \"Offset\": \"0\"\n}",
|
583
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Source\": 1,\n \"CategoryId\": 1,\n \"Name\": \"财务信息\"\n }\n ]\n }\n}",
|
583
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Source\": 1,\n \"CategoryId\": 1,\n \"Name\": \"财务信息\",\n \"RelateComplianceCount\": 1\n }\n ]\n }\n}",
|
584
584
|
"title": "获取分类列表"
|
585
585
|
}
|
586
586
|
],
|
@@ -588,7 +588,7 @@
|
|
588
588
|
{
|
589
589
|
"document": "获取分类规则统计信息",
|
590
590
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPACategoryRuleStatistic\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"ComplianceId\": 1\n}",
|
591
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"StatisticSet\": [\n {\n \"CategoryId\": 165,\n \"RuleCount\": 2\n }\n ]\n }\n}",
|
591
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"StatisticSet\": [\n {\n \"CategoryId\": 165,\n \"CategoryName\": \"ApiEdit\",\n \"RuleCount\": 2\n }\n ]\n }\n}",
|
592
592
|
"title": "获取分类规则统计信息"
|
593
593
|
}
|
594
594
|
],
|
@@ -620,7 +620,7 @@
|
|
620
620
|
{
|
621
621
|
"document": "获取模板详情信息",
|
622
622
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAComplianceGroupDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"ComplianceId\": 1\n}",
|
623
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"Detail\": {\n \"Id\": 5,\n \"Name\": \"开发模板\",\n \"Description\": \"
|
623
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"Detail\": {\n \"Id\": 5,\n \"Name\": \"开发模板\",\n \"Description\": \"这是一个开发模版\",\n \"ComplianceGroupType\": 2,\n \"CreateTime\": \"2022-10-16 16:42:16\",\n \"ModifyTime\": \"2022-10-16 16:42:16\",\n \"LevelGroupId\": 1,\n \"LevelGroupName\": \"系统-高中低\"\n }\n }\n}",
|
624
624
|
"title": "获取模板详情信息"
|
625
625
|
}
|
626
626
|
],
|
@@ -628,31 +628,37 @@
|
|
628
628
|
{
|
629
629
|
"document": "",
|
630
630
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAComplianceGroups\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"Name\": \"task\"\n}",
|
631
|
-
"output": "{\n \"Response\": {\n \"
|
631
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"ComplianceGroupId\": 1,\n \"Name\": \"通用规则集\",\n \"Description\": \"通用规则集的描述\",\n \"ComplianceGroupType\": 0,\n \"ComplianceGroupRules\": [\n {\n \"RuleId\": 0,\n \"RuleName\": \"手机\",\n \"CategoryId\": 0,\n \"LevelId\": 0,\n \"CategoryName\": \"个人信息\",\n \"LevelRiskName\": \"敏感\"\n }\n ],\n \"LevelGroupId\": 1,\n \"Disabled\": true,\n \"IsAlias\": true\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
632
632
|
"title": "获取分类分级模板列表"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"document": "扩展主模板标志字段",
|
636
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAComplianceGroups\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-e7899f91\"\n}",
|
637
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"ComplianceGroupId\": 6,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 1,\n \"Description\": \"参考 GB/T 42013-2022《信息安全技术快递物流服务数据安全要求》\",\n \"Disabled\": true,\n \"IsAlias\": false,\n \"LevelGroupId\": 2,\n \"Name\": \"快递物流行业分类分级模板\"\n },\n {\n \"ComplianceGroupId\": 5,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 1,\n \"Description\": \"参考 YD/T 3751-2020《车联网信息服务数据安全技术要求》\",\n \"Disabled\": true,\n \"IsAlias\": false,\n \"LevelGroupId\": 3,\n \"Name\": \"车联网行业分类分级模板\"\n },\n {\n \"ComplianceGroupId\": 4,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 1,\n \"Description\": \"参考 JR∕T 0197-2020《金融数据安全数据安全分级指南》\",\n \"Disabled\": true,\n \"IsAlias\": false,\n \"LevelGroupId\": 2,\n \"Name\": \"金融数据安全分类分级模板\"\n },\n {\n \"ComplianceGroupId\": 3,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 1,\n \"Description\": \"参考 GB/T 35273-2020《信息安全技术个人信息安全规范》\",\n \"Disabled\": false,\n \"IsAlias\": false,\n \"LevelGroupId\": 1,\n \"Name\": \"个人身份信息识别模板\"\n },\n {\n \"ComplianceGroupId\": 2,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 1,\n \"Description\": \"参考 JR∕T 0171-2020《个人金融信息保护技术规范》\",\n \"Disabled\": true,\n \"IsAlias\": false,\n \"LevelGroupId\": 1,\n \"Name\": \"个人金融信息保护技术规范\"\n },\n {\n \"ComplianceGroupId\": 1,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupType\": 0,\n \"Description\": \"通用规则集\",\n \"Disabled\": false,\n \"IsAlias\": false,\n \"LevelGroupId\": 1,\n \"Name\": \"通用规则集\"\n }\n ],\n \"RequestId\": \"232796e7-693f-43ca-a14c-134ad4a8b702\",\n \"TotalCount\": 6\n }\n}",
|
638
|
+
"title": "主模板字段返回示例"
|
633
639
|
}
|
634
640
|
],
|
635
641
|
"DescribeDSPAComplianceUpdateNotification": [
|
636
642
|
{
|
637
643
|
"document": "获取模板更新提示信息",
|
638
644
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAComplianceUpdateNotification\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"ComplianceId\": 1\n}",
|
639
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"IsUpdated\": true,\n \"TaskNameSet\": [\n \"
|
645
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"128009ac-7df4-0530-cc92-52f0d945e191\",\n \"IsUpdated\": true,\n \"TaskNameSet\": [\n \"asset\"\n ]\n }\n}",
|
640
646
|
"title": "获取模板更新提示信息"
|
641
647
|
}
|
642
648
|
],
|
643
649
|
"DescribeDSPADataSourceDbInfo": [
|
644
650
|
{
|
645
651
|
"document": "",
|
646
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADataSourceDbInfo\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"DataSourceId\": \"
|
647
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Items\": [\n {\n \"DbName\": \"
|
652
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADataSourceDbInfo\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"DataSourceId\": \"cdb-6cfpe42v\"\n}",
|
653
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Items\": [\n {\n \"DbName\": \"mydb\"\n }\n ]\n }\n}",
|
648
654
|
"title": "获取数据源的数据库信息"
|
649
655
|
}
|
650
656
|
],
|
651
657
|
"DescribeDSPADiscoveryRules": [
|
652
658
|
{
|
653
|
-
"document": "
|
654
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryRules\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
655
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
659
|
+
"document": "",
|
660
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryRules\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-2asd28ax\",\n \"RuleId\": 1,\n \"Limit\": 10,\n \"Name\": \"姓名\",\n \"Offset\": 0\n}",
|
661
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"RuleId\": 1,\n \"Name\": \"账户余额\",\n \"Description\": \"账户余额\",\n \"Source\": 1,\n \"Status\": 1,\n \"RDBRules\": {\n \"Status\": 0,\n \"MatchOperator\": \"or\",\n \"MetaRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"账户|Account\",\n \"ExtendParameters\": [\n {\n \"Name\": \"IsFullWordMatch\",\n \"Value\": \"false\"\n },\n {\n \"Name\": \"IsIgnoreCase\",\n \"Value\": \"true\"\n }\n ]\n },\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"余额|Balance\",\n \"ExtendParameters\": [\n {\n \"Name\": \"IsFullWordMatch\",\n \"Value\": \"false\"\n },\n {\n \"Name\": \"IsIgnoreCase\",\n \"Value\": \"true\"\n }\n ]\n }\n ]\n },\n \"ContentRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleType\": \"regex\",\n \"RuleContent\": \"^(((¥|\\\\$)?(0|(([0]|([1-9][0-9]*(,\\\\d{3})*))\\\\.\\\\d{1,2}))(yuan|.?元)?)|(人民币)?([圆角分零壹贰叁肆伍陆柒捌玖拾佰仟万亿]+[圆角分]))$\",\n \"ExtendParameters\": null\n }\n ]\n }\n },\n \"COSRules\": {\n \"Status\": 0,\n \"RegexRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleContent\": \"(?<=\\\\W)(((¥|\\\\$)?(0|(([0]|([1-9][0-9]*(,\\\\d{3})*))\\\\.\\\\d{1,2}))(yuan|.?元)?)|(人民币)?([圆角分零壹贰叁肆伍陆柒捌玖拾佰仟万亿]+[圆角分]))(?=\\\\W)\",\n \"IsIgnoreCase\": true\n }\n ]\n },\n \"KeywordRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleContent\": \"账户余额\",\n \"IsIgnoreCase\": true\n },\n {\n \"RuleContent\": \"Account Balance\",\n \"IsIgnoreCase\": true\n },\n {\n \"RuleContent\": \"AccountBalance\",\n \"IsIgnoreCase\": true\n },\n {\n \"RuleContent\": \"Account_Balance\",\n \"IsIgnoreCase\": true\n }\n ]\n },\n \"IgnoreStringRule\": {\n \"Operator\": \"or\",\n \"Contents\": null\n },\n \"MaxMatch\": 0\n }\n }\n ],\n \"RequestId\": \"5af5a48c-6eb7-4d81-8df6-6d0e316a32ef\"\n }\n}",
|
656
662
|
"title": "获取分类分级规则列表"
|
657
663
|
}
|
658
664
|
],
|
@@ -667,65 +673,65 @@
|
|
667
673
|
"DescribeDSPADiscoveryTaskDetail": [
|
668
674
|
{
|
669
675
|
"document": "",
|
670
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
671
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
676
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-1f96daa1\",\n \"TaskId\": \"1\"\n}",
|
677
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\",\n \"Task\": {\n \"Name\": \"通用规则集\",\n \"Description\": \"这是通用规则集\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"TimingStartTime\": \"2022-10-21 10:12:20\",\n \"GeneralRuleSetEnable\": 0,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cdb-6ddpe42v\",\n \"DataSourceName\": \"订单数据库\",\n \"ProxyAddress\": [],\n \"Condition\": \"test_report,dsgctest001\",\n \"DataSourceType\": \"cdb\"\n },\n \"CustomComplianceInfo\": [\n {\n \"ComplianceGroupId\": 1,\n \"ComplianceGroupName\": \"通用规则集\"\n }\n ],\n \"DefaultComplianceInfo\": [\n {\n \"ComplianceGroupId\": 1,\n \"ComplianceGroupName\": \"通用规则集\"\n }\n ]\n }\n }\n}",
|
672
678
|
"title": "获取分类分级任务详情"
|
673
679
|
}
|
674
680
|
],
|
675
681
|
"DescribeDSPADiscoveryTaskResult": [
|
676
682
|
{
|
677
683
|
"document": "",
|
678
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskResult\n<公共请求参数>\n\n{\n \"DataSourceType\": \"cdb\",\n \"DspaId\": \"dspa-
|
679
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"DbResultId\":
|
684
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskResult\n<公共请求参数>\n\n{\n \"DataSourceType\": \"cdb\",\n \"DspaId\": \"dspa-8u9asd2h\",\n \"Limit\": 10,\n \"TaskId\": \"1\",\n \"Offset\": 0,\n \"TaskName\": \"自定义分类分级任务结果获取实验\"\n}",
|
685
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"DbResultId\": 5640,\n \"TaskId\": 14596,\n \"TaskName\": \"通用规则集验证\",\n \"DataSourceId\": \"cdb-6cfae42v\",\n \"DataSourceName\": \"新采集实验数据源\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResultId\": 4242,\n \"DbName\": \"dsgctest001\",\n \"TotalTables\": 1,\n \"SensitiveTables\": 0,\n \"SensitiveField\": 0,\n \"TotalField\": 51,\n \"EndTime\": \"2024-11-05 17:17:30\",\n \"Status\": 3,\n \"ErrorInfo\": \"没有错误则为空,有错误可能报错如:连接数据源错误\"\n }\n ]\n }\n}",
|
680
686
|
"title": "获取分类分级任务结果"
|
681
687
|
}
|
682
688
|
],
|
683
689
|
"DescribeDSPADiscoveryTaskResultDetail": [
|
684
690
|
{
|
685
|
-
"document": "
|
686
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskResultDetail\n<公共请求参数>\n\n{\n \"DbResultId\":
|
687
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"TaskId\":
|
691
|
+
"document": "获取分类分级任务结果详情",
|
692
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskResultDetail\n<公共请求参数>\n\n{\n \"DbResultId\": 1,\n \"ComplianceId\": 2,\n \"TableName\": \"tb_01\",\n \"DspaId\": \"dspa-98ahs23n \",\n \"Limit\": 10,\n \"TaskId\": 105,\n \"Offset\": 0,\n \"DbName\": \"db1\"\n}",
|
693
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"TaskId\": 105,\n \"FieldResultId\": 1,\n \"TableName\": \"tb_01\",\n \"FieldName\": \"fidld_01\",\n \"CategoryId\": 103,\n \"CategoryName\": \"个人身份信息\",\n \"LevelId\": 112,\n \"LevelName\": \"高\",\n \"RuleName\": \"身份证\",\n \"RuleId\": 126,\n \"LevelRiskScore\": 10,\n \"SafeGuard\": {\n \"Encrypt\": \"UNSET\",\n \"Desensitization\": \"UNSET\"\n },\n \"CategoryFullPath\": \"[\\\"个人基本信息\\\"]\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"1f1765cf-c01a-4a93-95b2-99108f4aa04f\"\n }\n}",
|
688
694
|
"title": "获取分类分级任务结果详情"
|
689
695
|
}
|
690
696
|
],
|
691
697
|
"DescribeDSPADiscoveryTaskTables": [
|
692
698
|
{
|
693
|
-
"document": "
|
694
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskTables\n<公共请求参数>\n\n{\n \"DbResultId\":
|
695
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Items\": [\n {\n \"TableName\": \"
|
699
|
+
"document": "获取分级分级扫描的表集合",
|
700
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTaskTables\n<公共请求参数>\n\n{\n \"DbResultId\": 1,\n \"DspaId\": \"dspa-890ad3cv\",\n \"TaskId\": 1\n}",
|
701
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Items\": [\n {\n \"TableName\": \"t_order\"\n }\n ]\n }\n}",
|
696
702
|
"title": "获取分级分级扫描的表集合"
|
697
703
|
}
|
698
704
|
],
|
699
705
|
"DescribeDSPAESDataAssetByComplianceId": [
|
700
706
|
{
|
701
707
|
"document": "概览页",
|
702
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDataAssetByComplianceId\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
703
|
-
"output": "{\n \"Response\": {\n \"Stats\": {\n \"DataAssetType\":
|
704
|
-
"title": "
|
708
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDataAssetByComplianceId\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-acfd125b\",\n \"ComplianceId\": 1\n}",
|
709
|
+
"output": "{\n \"Response\": {\n \"Stats\": {\n \"DataAssetType\": 1,\n \"SensitiveIndexCnt\": 3,\n \"TotalIndexCnt\": 15,\n \"SensitiveFieldCnt\": 5,\n \"TotalFieldCnt\": 60,\n \"SensitiveCategoryCnt\": 2,\n \"SensitiveLevel\": [\n {\n \"LevelId\": 102,\n \"LevelCnt\": 2,\n \"LevelRiskName\": \"高\",\n \"LevelRiskScore\": 10\n }\n ],\n \"CategoryDistributed\": [\n {\n \"CategoryId\": 103,\n \"CategoryName\": \"个人基本信息\",\n \"Count\": 1,\n \"CategoryFullPath\": \"[\\\"个人基本信息\\\"]\"\n }\n ]\n },\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
710
|
+
"title": "概览页"
|
705
711
|
}
|
706
712
|
],
|
707
713
|
"DescribeDSPAESDataAssetDetail": [
|
708
714
|
{
|
709
715
|
"document": "查询es概览页列表",
|
710
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDataAssetDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
711
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
712
|
-
"title": "
|
716
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDataAssetDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"ComplianceId\": 1,\n \"Offset\": 0,\n \"Limit\": 10,\n \"Filters\": [\n {\n \"Name\": \"DbName\",\n \"Values\": [\n \"dsgc-es\"\n ]\n }\n ]\n}",
|
717
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 20,\n \"Details\": [\n {\n \"DataSourceId\": \"es-\",\n \"DataSourceName\": \"dsgc-es\",\n \"DataSourceType\": \"es\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"IndexName\": \"dsgc-log\",\n \"FieldName\": \"name\",\n \"CategoryId\": 1,\n \"CategoryArr\": [\n \"个人基本信息\"\n ],\n \"LevelRiskName\": \"高\",\n \"LevelRiskScore\": 10,\n \"TrustedScore\": 1\n }\n ],\n \"RequestId\": \"test-006\"\n }\n}",
|
718
|
+
"title": "查询es概览页列表"
|
713
719
|
}
|
714
720
|
],
|
715
721
|
"DescribeDSPAESDataSample": [
|
716
722
|
{
|
717
723
|
"document": "查看ES的样本数据",
|
718
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDataSample\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
719
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n \"
|
724
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDataSample\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-2nksd3as\",\n \"FieldResultId\": 10\n}",
|
725
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n \"武汉市\",\n \"北京市\",\n \"上海市\",\n \"广州市\",\n \"深圳市\",\n \"成都市\",\n \"杭州市\"\n ],\n \"RequestId\": \"5b208867-7b62-4932-ac72-95a5b38f80ec\"\n }\n}",
|
720
726
|
"title": "查看ES的样本"
|
721
727
|
}
|
722
728
|
],
|
723
729
|
"DescribeDSPAESDiscoveryTaskResultDetail": [
|
724
730
|
{
|
725
731
|
"document": "查询es的分类分级扫描任务结果详情",
|
726
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDiscoveryTaskResultDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
727
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Id\":
|
728
|
-
"title": "
|
732
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPAESDiscoveryTaskResultDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-9as8cz2s\",\n \"TaskId\": 1,\n \"ComplianceId\": 1,\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
733
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Id\": 1,\n \"TaskId\": 1,\n \"FieldName\": \"name\",\n \"RuleName\": \"姓名\",\n \"RuleId\": 14,\n \"CategoryId\": 103,\n \"CategoryName\": \"个人基本信息\",\n \"CategoryArr\": [\n \"个人基本信息\"\n ],\n \"LevelId\": 2,\n \"LevelName\": \"中\",\n \"LevelRiskScore\": 5\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"826f0635-b168-52a7-8db9-45b1d46d2c8a\"\n }\n}",
|
734
|
+
"title": "获取ES的分类分级任务结果详情"
|
729
735
|
}
|
730
736
|
],
|
731
737
|
"DescribeDSPALevelDetail": [
|
@@ -739,32 +745,32 @@
|
|
739
745
|
"DescribeDSPALevelGroups": [
|
740
746
|
{
|
741
747
|
"document": "",
|
742
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPALevelGroups\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
743
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"b7f2cb00-e759-436e-97dc-6c95c9b61005\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"LevelGroupId\": 11985,\n \"RefComplianceCnt\": 6,\n \"LevelGroupName\": \"
|
748
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPALevelGroups\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-8u9cas2a\",\n \"Name\": \"内置分级组\"\n}",
|
749
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b7f2cb00-e759-436e-97dc-6c95c9b61005\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"LevelGroupId\": 11985,\n \"RefComplianceCnt\": 6,\n \"LevelGroupName\": \"内置分级组\",\n \"Source\": 1,\n \"LevelGroupDesc\": \"系统内置敏感等级\",\n \"LevelDetail\": [\n {\n \"LevelGroupId\": 11985,\n \"LevelRiskName\": \"1\",\n \"LevelRiskScore\": 1,\n \"LevelId\": 12010\n },\n {\n \"LevelGroupId\": 11985,\n \"LevelRiskName\": \"2\",\n \"LevelRiskScore\": 2,\n \"LevelId\": 12011\n }\n ],\n \"RefCompliance\": [\n {\n \"Name\": \"扫描任务抓包1\",\n \"LevelGroupId\": 11985,\n \"ComplianceGroupRules\": [\n {\n \"RuleName\": \"规则1\",\n \"CategoryId\": 10794,\n \"LevelId\": 12011,\n \"RuleId\": 228\n }\n ],\n \"ComplianceGroupType\": 2,\n \"Description\": \"关联的合规组\",\n \"ComplianceGroupId\": 14795\n },\n {\n \"Name\": \"扫描任务抓包2\",\n \"LevelGroupId\": 11985,\n \"ComplianceGroupRules\": [\n {\n \"RuleName\": \"规则2\",\n \"CategoryId\": 10762,\n \"LevelId\": 12054,\n \"RuleId\": 243\n }\n ],\n \"ComplianceGroupType\": 2,\n \"Description\": \"关联的合规组2\",\n \"ComplianceGroupId\": 14796\n }\n ]\n }\n ]\n }\n}",
|
744
750
|
"title": "获取分级列表"
|
745
751
|
}
|
746
752
|
],
|
747
753
|
"DescribeDSPARDBDataAssetByComplianceId": [
|
748
754
|
{
|
749
755
|
"document": "",
|
750
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPARDBDataAssetByComplianceId\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
751
|
-
"output": "{\n \"Response\": {\n \"Stats\": {\n \"DataAssetType\": 0,\n \"TotalDbCnt\":
|
756
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPARDBDataAssetByComplianceId\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-89asd23n\",\n \"ComplianceId\": 1\n}",
|
757
|
+
"output": "{\n \"Response\": {\n \"Stats\": {\n \"DataAssetType\": 0,\n \"TotalDbCnt\": 2,\n \"TotalTableCnt\": 5,\n \"SensitiveCategoryCnt\": 1,\n \"SensitiveFieldCnt\": 6,\n \"SensitiveLevel\": [\n {\n \"LevelId\": 101,\n \"LevelCnt\": 2,\n \"LevelRiskName\": \"高\",\n \"LevelRiskScore\": 10\n }\n ],\n \"SensitiveDbCnt\": 2,\n \"SensitiveTableCnt\": 2,\n \"TotalFieldCnt\": 8,\n \"CategoryDistributed\": [\n {\n \"CategoryId\": 103,\n \"CategoryName\": \"个人基本信息\",\n \"Count\": 5,\n \"CategoryFullPath\": \"基本信息/个人基本信息\"\n }\n ]\n },\n \"RequestId\": \"1f1765cf-c01a-4a93-95b2-99108f4aa04f\"\n }\n}",
|
752
758
|
"title": "获取单个合规组下的RDB关系数据库分类分级数据资产"
|
753
759
|
}
|
754
760
|
],
|
755
761
|
"DescribeDSPARDBDataAssetDetail": [
|
756
762
|
{
|
757
763
|
"document": "",
|
758
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPARDBDataAssetDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
759
|
-
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"
|
764
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPARDBDataAssetDetail\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-7asd43mh\",\n \"ComplianceId\": 1\n}",
|
765
|
+
"output": "{\n \"Response\": {\n \"Details\": [\n {\n \"CategoryName\": \"个人基本信息\",\n \"DataSourceId\": \"postgres-kddpr59c\",\n \"DataSourceName\": \"订单数据库\",\n \"DbType\": \"postgres\",\n \"LevelRiskName\": \"中\",\n \"LevelRiskScore\": 5,\n \"TableName\": \"BackupTest002\",\n \"FieldName\": \"Backup_tinyPhone_2\",\n \"FieldResultId\": \"1\",\n \"RuleName\": \"手机\",\n \"SchemaName\": \"test_schema\",\n \"DbName\": \"ACLAutoTest002\",\n \"SafeGuard\": {\n \"Encrypt\": \"UNSET\",\n \"Desensitization\": \"UNSET\"\n },\n \"RuleId\": 8,\n \"LevelId\": 2,\n \"CategoryId\": 103,\n \"CategoryFullPath\": \"[\\\"个人基本信息\\\"]\",\n \"TrustedScore\": \"0.1\",\n \"ResourceRegion\": \"ap-shanghai\",\n \"IdentifyType\": 0,\n \"CheckStatus\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"826f0635-b168-52a7-8db9-45b1d46d2c8a\"\n }\n}",
|
760
766
|
"title": "获取RDB关系数据库分类分级资产详情"
|
761
767
|
}
|
762
768
|
],
|
763
769
|
"DescribeDSPASupportedMetas": [
|
764
770
|
{
|
765
771
|
"document": "",
|
766
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPASupportedMetas\n<公共请求参数>\n\n{\n \"MetaTypes\": [\n \"
|
767
|
-
"output": "{\n \"Response\": {\n \"Metas\": [\n {\n \"MetaType\": \"
|
772
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPASupportedMetas\n<公共请求参数>\n\n{\n \"MetaTypes\": [\n \"cdb\"\n ]\n}",
|
773
|
+
"output": "{\n \"Response\": {\n \"Metas\": [\n {\n \"MetaType\": \"cdb\",\n \"Regions\": [\n \"ap-guangzhou\"\n ],\n \"SupportedAuthTypes\": [\n \"automatic\"\n ]\n }\n ],\n \"MaxDBInstanceLimit\": 0,\n \"RequestId\": \"18dafbf7-83d5-4159-aeaf-4a02f1975176\"\n }\n}",
|
768
774
|
"title": "例子"
|
769
775
|
},
|
770
776
|
{
|
@@ -778,15 +784,15 @@
|
|
778
784
|
{
|
779
785
|
"document": "",
|
780
786
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPATaskResultDataSample\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-001\",\n \"FieldResultId\": \"1\"\n}",
|
781
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Items\": [\n {\n \"DataSample\": \"
|
787
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"Items\": [\n {\n \"DataSample\": \"1000\"\n }\n ]\n }\n}",
|
782
788
|
"title": "获取扫描结果数据样本"
|
783
789
|
}
|
784
790
|
],
|
785
791
|
"DescribeESAssetSensitiveDistribution": [
|
786
792
|
{
|
787
793
|
"document": "查询es的敏感资产分布",
|
788
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeESAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
789
|
-
"output": "{\n \"Response\": {\n \"ESAsset\": {\n \"IndexNums\":
|
794
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeESAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"ComplianceId\": 1,\n \"AssetList\": [\n {\n \"DataSourceType\": \"es\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"es-23svw0g\",\n \"BindList\": [\n \"db04\"\n ]\n }\n ]\n }\n ]\n}",
|
795
|
+
"output": "{\n \"Response\": {\n \"ESAsset\": {\n \"IndexNums\": 8,\n \"SensitiveIndexNums\": 3,\n \"FieldNums\": 20,\n \"SensitiveFieldNums\": 12\n },\n \"TopAsset\": [\n {\n \"LevelName\": \"高\",\n \"TopStat\": [\n {\n \"DataSourceId\": \"es-3svgfsf23\",\n \"SubData\": \"db04\",\n \"SensitiveCnt\": 20\n }\n ]\n }\n ],\n \"ESDetail\": [\n {\n \"DataSourceId\": \"es-23svw0g\",\n \"IndexName\": \"db04\",\n \"DataType\": \"es\",\n \"FieldNums\": 10,\n \"SensitiveFieldNums\": 3,\n \"DistributionData\": [\n {\n \"Key\": \"个人信息\",\n \"Value\": 2\n }\n ]\n }\n ],\n \"RequestId\": \"fsdgsd-1234sd\"\n }\n}",
|
790
796
|
"title": "查询es的敏感资产分布"
|
791
797
|
}
|
792
798
|
],
|
@@ -809,32 +815,32 @@
|
|
809
815
|
"DescribeMongoAssetSensitiveDistribution": [
|
810
816
|
{
|
811
817
|
"document": "查询mongo的敏感资产分布",
|
812
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMongoAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
813
|
-
"output": "{\n \"Response\": {\n \"MongoAsset\": {\n \"DbNums\": 0,\n \"SensitiveDbNums\": 0,\n \"ColNums\": 0,\n \"SensitiveColNums\": 0,\n \"FieldNums\": 0,\n \"SensitiveFieldNums\": 0\n },\n \"TopAsset\": [\n {\n \"LevelName\": \"
|
818
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMongoAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a12fvc2d\",\n \"ComplianceId\": 0,\n \"AssetList\": [\n {\n \"DataSourceType\": \"mongo\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cmgo-c1vsibl3\",\n \"BindList\": [\n \"table1\"\n ]\n }\n ]\n }\n ]\n}",
|
819
|
+
"output": "{\n \"Response\": {\n \"MongoAsset\": {\n \"DbNums\": 0,\n \"SensitiveDbNums\": 0,\n \"ColNums\": 0,\n \"SensitiveColNums\": 0,\n \"FieldNums\": 0,\n \"SensitiveFieldNums\": 0\n },\n \"TopAsset\": [\n {\n \"LevelName\": \"分级名称\",\n \"TopStat\": [\n {\n \"DataSourceId\": \"cmgo-c1vsibl3\",\n \"SubData\": \"table1\",\n \"SensitiveCnt\": 0\n }\n ]\n }\n ],\n \"MongoDetail\": [\n {\n \"DataSourceId\": \"cmgo-c1vsibl3\",\n \"DdName\": \"table1\",\n \"DataType\": \"mongo\",\n \"ColNums\": 0,\n \"SensitiveColNums\": 0,\n \"FieldNums\": 0,\n \"SensitiveFieldNums\": 0,\n \"DistributionData\": [\n {\n \"Key\": \"key1\",\n \"Value\": 12\n }\n ]\n }\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
814
820
|
"title": "查询mongo的敏感资产分布"
|
815
821
|
}
|
816
822
|
],
|
817
823
|
"DescribeRDBAssetSensitiveDistribution": [
|
818
824
|
{
|
819
|
-
"document": "
|
820
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRDBAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
821
|
-
"output": "{\n \"Response\": {\n \"RDBAsset\": {\n \"DbNums\":
|
822
|
-
"title": "
|
825
|
+
"document": "查询关系型数据库的敏感资产报告",
|
826
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRDBAssetSensitiveDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3\",\n \"ComplianceId\": 1,\n \"AssetList\": [\n {\n \"DataSourceType\": \"cdb\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cdb-a1b2c3\",\n \"BindList\": [\n \"asset\"\n ]\n }\n ]\n }\n ]\n}",
|
827
|
+
"output": "{\n \"Response\": {\n \"RDBAsset\": {\n \"DbNums\": 2,\n \"SensitiveDbNums\": 1,\n \"TableNums\": 5,\n \"SensitiveTableNums\": 2,\n \"FieldNums\": 7,\n \"SensitiveFieldNums\": 4\n },\n \"TopAsset\": [\n {\n \"LevelName\": \"高风险\",\n \"TopStat\": [\n {\n \"DataSourceId\": \"cdb\",\n \"SubData\": \"high\",\n \"SensitiveCnt\": 0\n }\n ]\n }\n ],\n \"RDBDetail\": [\n {\n \"DataSourceId\": \"cdb\",\n \"DdName\": \"asset\",\n \"DataType\": \"cdb\",\n \"TableNums\": 0,\n \"SensitiveTableNums\": 0,\n \"FieldNums\": 0,\n \"SensitiveFieldNums\": 0,\n \"DistributionData\": [\n {\n \"Key\": \"high\",\n \"Value\": 0\n }\n ]\n }\n ],\n \"RequestId\": \"9f266ea1-30b1-4941-b513-417660be5e64\"\n }\n}",
|
828
|
+
"title": "数据资产报告-查询关系型数据库的敏感资产报告"
|
823
829
|
}
|
824
830
|
],
|
825
831
|
"DescribeReportTaskDownloadUrl": [
|
826
832
|
{
|
827
833
|
"document": "获取资产报告下载链接",
|
828
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReportTaskDownloadUrl\n<公共请求参数>\n\n{\n \"ReportTaskId\": 1,\n \"IsWithSensitiveDetailReport\": true,\n \"DspaId\": \"
|
829
|
-
"output": "{\n \"Response\": {\n \"DownloadUrlSet\": [\n \"
|
834
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReportTaskDownloadUrl\n<公共请求参数>\n\n{\n \"ReportTaskId\": 1,\n \"IsWithSensitiveDetailReport\": true,\n \"DspaId\": \"dspa-12ac32db\"\n}",
|
835
|
+
"output": "{\n \"Response\": {\n \"DownloadUrlSet\": [\n \"https://dsgc-report-test-13254732833.cos.ap-guangzhou.myqcloud.com/report%2F232457112%2F%E8%B5%8……\"\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
830
836
|
"title": "获取资产报告下载链接"
|
831
837
|
}
|
832
838
|
],
|
833
839
|
"DescribeReportTasks": [
|
834
840
|
{
|
835
841
|
"document": "获取资产报表任务列表",
|
836
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReportTasks\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
837
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ItemSet\": [\n {\n \"Id\": 1,\n \"ReportName\": \"
|
842
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReportTasks\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab12fd34\",\n \"ReportName\": \"资产梳理报告_20241020190049_7aasc462\",\n \"Limit\": 1,\n \"Offset\": 0\n}",
|
843
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ItemSet\": [\n {\n \"Id\": 1,\n \"ReportName\": \"资产梳理报告_20241020190049_7aasc462\",\n \"ReportType\": \"database_type\",\n \"ReportPeriod\": 0,\n \"ReportPlan\": 0,\n \"ReportStatus\": \"Success\",\n \"TimingStartTime\": \"2024-10-18 19:00:49\",\n \"CreateTime\": \"2024-10-20 19:00:49\",\n \"FinishedTime\": \"2024-10-20 19:02:08\",\n \"SubUin\": \"700000126513\",\n \"FailedMessage\": \"Failed\",\n \"Enable\": 1,\n \"ComplianceName\": \"通用规则集\",\n \"ProgressPercent\": 100,\n \"ReportTemplateName\": \"数据资产分布报告\"\n }\n ],\n \"RequestId\": \"9f266ea1-30b1-4941-b513-417660be5e64\"\n }\n}",
|
838
844
|
"title": "获取资产报表任务列表"
|
839
845
|
}
|
840
846
|
],
|
@@ -857,17 +863,17 @@
|
|
857
863
|
"DescribeSensitiveCOSDataDistribution": [
|
858
864
|
{
|
859
865
|
"document": "描述",
|
860
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSensitiveCOSDataDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
861
|
-
"output": "{\n \"Response\": {\n \"LevelDistribution\": [\n {\n \"Key\": \"
|
866
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSensitiveCOSDataDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"ComplianceId\": 1,\n \"AssetList\": [\n {\n \"DataSourceType\": \"1\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cdb-ab2352sd\",\n \"BindList\": [\n \"lxldb01\"\n ]\n }\n ]\n }\n ]\n}",
|
867
|
+
"output": "{\n \"Response\": {\n \"LevelDistribution\": [\n {\n \"Key\": \"高\",\n \"Value\": 10\n }\n ],\n \"CategoryDistribution\": [\n {\n \"Key\": \"个人信息\",\n \"Value\": 30\n }\n ],\n \"RuleDistribution\": [\n {\n \"RuleId\": 106,\n \"RuleName\": \"身份证\",\n \"LevelId\": 102,\n \"LevelName\": \"高\",\n \"RuleCnt\": 3\n }\n ],\n \"SensitiveDataNum\": 9,\n \"RequestId\": \"fagxc-23rs-f\"\n }\n}",
|
862
868
|
"title": "示例"
|
863
869
|
}
|
864
870
|
],
|
865
871
|
"DescribeSensitiveRDBDataDistribution": [
|
866
872
|
{
|
867
873
|
"document": "接口调用示例",
|
868
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSensitiveRDBDataDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
869
|
-
"output": "{\n \"Response\": {\n \"LevelDistribution\": [\n {\n \"Key\": \"
|
870
|
-
"title": "
|
874
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSensitiveRDBDataDistribution\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3\",\n \"ComplianceId\": 0,\n \"AssetList\": [\n {\n \"DataSourceType\": \"cdb\",\n \"DataSourceInfo\": [\n {\n \"DataSourceId\": \"cdb-a1b2c3\",\n \"BindList\": [\n \"asset\"\n ]\n }\n ]\n }\n ]\n}",
|
875
|
+
"output": "{\n \"Response\": {\n \"LevelDistribution\": [\n {\n \"Key\": \"high\",\n \"Value\": 0\n }\n ],\n \"CategoryDistribution\": [\n {\n \"Key\": \"个人信息\",\n \"Value\": 5\n }\n ],\n \"RuleDistribution\": [\n {\n \"RuleId\": 1,\n \"RuleName\": \"个人信息泄漏\",\n \"LevelId\": 3,\n \"LevelName\": \"高风险\",\n \"RuleCnt\": 2\n }\n ],\n \"SensitiveDataNum\": 0,\n \"RequestId\": \"9f266ea1-30b1-4941-b513-417660be5e64\"\n }\n}",
|
876
|
+
"title": "数据资产报告-查询rdb的敏感数据分布"
|
871
877
|
}
|
872
878
|
],
|
873
879
|
"DisableDSPAMetaResourceAuth": [
|
@@ -889,8 +895,8 @@
|
|
889
895
|
"EnableTrialVersion": [
|
890
896
|
{
|
891
897
|
"document": "开启标准版体验",
|
892
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableTrialVersion\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-
|
893
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
898
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableTrialVersion\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"TrialVersion\": \"standard\"\n}",
|
899
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"18dafbf7-83d5-4159-aeaf-4a02f1975176\"\n }\n}",
|
894
900
|
"title": "示例"
|
895
901
|
}
|
896
902
|
],
|
@@ -905,49 +911,49 @@
|
|
905
911
|
"GetResourceConnectionStatus": [
|
906
912
|
{
|
907
913
|
"document": "",
|
908
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetResourceConnectionStatus\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-6fb60936\",\n \"MetaType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourceId\": \"cdb-
|
909
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c1b55d08-d956-447e-9852-a93bbb6f5d55\",\n \"ConnectionStatus\": \"success\",\n \"ConnectionDesc\": \"
|
910
|
-
"title": "
|
914
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetResourceConnectionStatus\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-6fb60936\",\n \"MetaType\": \"cdb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourceId\": \"cdb-12cd45g7\"\n}",
|
915
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c1b55d08-d956-447e-9852-a93bbb6f5d55\",\n \"ConnectionStatus\": \"success\",\n \"ConnectionDesc\": \"连接成功\"\n }\n}",
|
916
|
+
"title": "获取授权资源的连接状态"
|
911
917
|
}
|
912
918
|
],
|
913
919
|
"GetTrialVersion": [
|
914
920
|
{
|
915
921
|
"document": "获取DSPA实例的版本体验信息",
|
916
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTrialVersion\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
917
|
-
"output": "{\n \"Response\": {\n \"TrialVersion\": \"
|
922
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTrialVersion\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-12ca45d8\"\n}",
|
923
|
+
"output": "{\n \"Response\": {\n \"TrialVersion\": \"standard\",\n \"TrialEndAt\": 1526658800,\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
918
924
|
"title": "示例"
|
919
925
|
}
|
920
926
|
],
|
921
927
|
"GetUserQuotaInfo": [
|
922
928
|
{
|
923
929
|
"document": "获取用户配额信息",
|
924
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUserQuotaInfo\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
925
|
-
"output": "{\n \"Response\": {\n \"DspaId\": \"
|
930
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUserQuotaInfo\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-12cd45g7\"\n}",
|
931
|
+
"output": "{\n \"Response\": {\n \"DspaId\": \"dspa-12cd45g7\",\n \"DbTotalQuota\": 0,\n \"CosTotalQuota\": 0,\n \"DbRemainQuota\": 0,\n \"CosRemainQuota\": 0,\n \"CosQuotaUnit\": \"TB\",\n \"DBUnbindNum\": 0,\n \"COSUnbindNum\": 0,\n \"InsTotalQuota\": 0,\n \"InsRemainQuota\": 0,\n \"Version\": \"standard\",\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
926
932
|
"title": "示例"
|
927
933
|
}
|
928
934
|
],
|
929
935
|
"ListDSPAClusters": [
|
930
936
|
{
|
931
937
|
"document": "拉取DSPA实例列表",
|
932
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPAClusters\n<公共请求参数>\n\n{}",
|
933
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceList\": [\n {\n \"DspaId\": \"
|
938
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPAClusters\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"Filters\": [\n {\n \"Name\": \"Channel\",\n \"Values\": [\n \"dsgc\"\n ]\n }\n ]\n}",
|
939
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceList\": [\n {\n \"DspaId\": \"dpsa-a1b2c3d4\",\n \"DspaName\": \"订单分类分级实例\",\n \"DspaDescription\": \"上汽集团下级机构\",\n \"DBAuthCount\": 1,\n \"CosBindCount\": 1,\n \"InstanceVersion\": \"basic\",\n \"Status\": \"enabled\",\n \"ExpiredAt\": 1730366388,\n \"AppId\": 125500778,\n \"TrialVersion\": \"trial-standard\",\n \"TrialEndAt\": 0,\n \"DbTotalQuota\": 3,\n \"CosTotalQuota\": 3,\n \"CosQuotaUnit\": \"T\",\n \"RenewFlag\": 1,\n \"Channel\": \"wedata\",\n \"InsAuthCount\": 0,\n \"InsTotalQuota\": 0\n }\n ],\n \"DenyAll\": true,\n \"RequestId\": \"18dafbf7-83d5-4159-aeaf-4a02f1975176\"\n }\n}",
|
934
940
|
"title": "拉取DSPA实例列表"
|
935
941
|
}
|
936
942
|
],
|
937
943
|
"ListDSPACosMetaResources": [
|
938
944
|
{
|
939
945
|
"document": "获取dspa实例下的cos资源列表",
|
940
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPACosMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
941
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Items\": [\n {\n \"Bucket\": \"
|
946
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPACosMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"Filters\": [\n {\n \"Name\": \"Bucket\",\n \"Values\": [\n \"commontest-1252347619\"\n ]\n }\n ],\n \"Offset\": 1,\n \"Limit\": 1,\n \"BindType\": \"binded\"\n}",
|
947
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Items\": [\n {\n \"Bucket\": \"commontest-1252347619\",\n \"CreateTime\": \"2020-05-07 22:00:00\",\n \"Valid\": 0,\n \"ResourceId\": \"cos-f265c921bb53ed2b24f5593768ad030c5e82220c\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"BindStatus\": \"binded\",\n \"Storage\": 3,\n \"GovernAuthStatus\": 0\n }\n ],\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"RequestId\": \"0cf9a026-3679-4205-a676-5449211df926\"\n }\n}",
|
942
948
|
"title": "示例"
|
943
949
|
}
|
944
950
|
],
|
945
951
|
"ListDSPAMetaResources": [
|
946
952
|
{
|
947
|
-
"document": "获取Dspa
|
948
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPAMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-6fb60936\",\n \"Filters\": [\n {\n \"Name\": \"ResourceId\",\n \"Values\": [\n \"
|
949
|
-
"output": "{\n \"Response\": {\n \"DspaId\": \"
|
950
|
-
"title": "
|
953
|
+
"document": "获取Dspa实例下的资源信息",
|
954
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPAMetaResources\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-6fb60936\",\n \"Filters\": [\n {\n \"Name\": \"ResourceId\",\n \"Values\": [\n \"mariadb-9loqa8ed\"\n ]\n }\n ]\n}",
|
955
|
+
"output": "{\n \"Response\": {\n \"DspaId\": \"dspa-a1b2dc78\",\n \"Resources\": [\n {\n \"ResourceId\": \"mariadb-3578e092\",\n \"ResourceName\": \"test123\",\n \"ResourceVip\": \"172.16.0.12\",\n \"ResourceVPort\": 3306,\n \"ResourceCreateTime\": \"2022-01-02 15:04:05\",\n \"ResourceUniqueVpcId\": \"vpc-73299612\",\n \"ResourceUniqueSubnetId\": \"subnet-awkdpmnn\",\n \"MetaType\": \"mariadb\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourceSyncTime\": \"2022-01-02 15:04:05\",\n \"AuthStatus\": \"authorized\",\n \"BuildType\": \"cloud\",\n \"MasterInsId\": \"cdb-a1\",\n \"ResourceVpcId\": 1,\n \"ResourceSubnetId\": 1,\n \"Protocol\": \"mysql\",\n \"ResourceVersion\": \"10.2.3\",\n \"ResourceAuthType\": \"auto\",\n \"ResourceAuthAccount\": \"test123\",\n \"InstanceType\": \"mariadb\",\n \"InstanceValue\": \"mariadb-78693a6c\",\n \"GovernAuthStatus\": 0,\n \"AuthRange\": \"manual\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"715f6d81-d277-4f90-8089-f4d048a629d4\"\n }\n}",
|
956
|
+
"title": "获取Dspa实例下数据源信息"
|
951
957
|
}
|
952
958
|
],
|
953
959
|
"ModifyClassificationRule": [
|
@@ -984,24 +990,24 @@
|
|
984
990
|
],
|
985
991
|
"ModifyDSPAAssessmentRiskLevel": [
|
986
992
|
{
|
987
|
-
"document": "
|
988
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAAssessmentRiskLevel\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
989
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
990
|
-
"title": "
|
993
|
+
"document": "风险项页面----修改风险等级的详情数据",
|
994
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAAssessmentRiskLevel\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"ModifyRiskItem\": [\n {\n \"Id\": 1278,\n \"SensitiveLevelId\": 12098,\n \"SensitiveLevelName\": \"高危\",\n \"VulnerabilityLevel\": \"high\",\n \"RiskLevel\": \"high\"\n }\n ],\n \"RiskLevelName\": \"高风险\",\n \"RiskLevelDescription\": \"高风险\",\n \"RiskId\": 0\n}",
|
995
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e298a8a2-e620-4cc5-9b85-4f0e22d273bf\"\n }\n}",
|
996
|
+
"title": "示例"
|
991
997
|
}
|
992
998
|
],
|
993
999
|
"ModifyDSPAAssessmentRiskTemplate": [
|
994
1000
|
{
|
995
|
-
"document": "
|
996
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAAssessmentRiskTemplate\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
997
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
998
|
-
"title": "
|
1001
|
+
"document": "风险模板---修改风险模板",
|
1002
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAAssessmentRiskTemplate\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3d4\",\n \"TemplateName\": \"高风险模版\",\n \"TemplateDescription\": \"高风险模版\",\n \"RiskIdList\": [\n 1298\n ],\n \"TemplateId\": 1,\n \"RiskLevelId\": 1238\n}",
|
1003
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e298a8a2-e620-4cc5-9b85-4f0e22d273bf\"\n }\n}",
|
1004
|
+
"title": "示例"
|
999
1005
|
}
|
1000
1006
|
],
|
1001
1007
|
"ModifyDSPACOSDiscoveryTask": [
|
1002
1008
|
{
|
1003
1009
|
"document": "",
|
1004
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPACOSDiscoveryTask\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
1010
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPACOSDiscoveryTask\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3\",\n \"Enable\": 0,\n \"Name\": \"北京cos-csv扫描\",\n \"ComplianceGroupIds\": [\n 1\n ],\n \"GeneralRuleSetEnable\": 0,\n \"Period\": 0,\n \"TimingStartTime\": \"2022-09-10 00:00:00\",\n \"FileSizeLimit\": 1000,\n \"TaskId\": 1,\n \"Plan\": 0,\n \"FileTypes\": [\n \".csv\",\n \".txt\"\n ],\n \"Description\": \"北京cos-csv扫描\"\n}",
|
1005
1011
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\"\n }\n}",
|
1006
1012
|
"title": "修改COS分类分级任务"
|
1007
1013
|
}
|
@@ -1041,7 +1047,7 @@
|
|
1041
1047
|
"ModifyDSPAComplianceGroup": [
|
1042
1048
|
{
|
1043
1049
|
"document": "xx",
|
1044
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAComplianceGroup\n<公共请求参数>\n\n{\n \"Name\": \"task\",\n \"DspaId\": \"dspa-001\",\n \"LevelGroupId\": 1,\n \"ComplianceGroupRules\": [],\n \"ComplianceGroupId\": 1,\n \"Description\": \"1\"\n}",
|
1050
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAComplianceGroup\n<公共请求参数>\n\n{\n \"Name\": \"task\",\n \"DspaId\": \"dspa-001\",\n \"LevelGroupId\": 1,\n \"ComplianceGroupRules\": [\n {\n \"RuleId\": 2,\n \"CategoryId\": 3,\n \"LevelId\": 2\n }\n ],\n \"ComplianceGroupId\": 1,\n \"Description\": \"1\"\n}",
|
1045
1051
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\"\n }\n}",
|
1046
1052
|
"title": "修改分类分级模板"
|
1047
1053
|
}
|
@@ -1049,7 +1055,7 @@
|
|
1049
1055
|
"ModifyDSPADiscoveryRule": [
|
1050
1056
|
{
|
1051
1057
|
"document": "",
|
1052
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPADiscoveryRule\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
1058
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPADiscoveryRule\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a2cb7812\",\n \"Name\": \"手机号\",\n \"RuleId\": 0,\n \"Description\": \"用户的手机号\",\n \"RDBRules\": {\n \"Status\": 0,\n \"MatchOperator\": \"or\",\n \"MetaRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleType\": \"regex\",\n \"RuleContent\": \"一个正则表达式字符串\",\n \"ExtendParameters\": []\n }\n ]\n },\n \"ContentRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"某关键词\"\n }\n ]\n }\n },\n \"COSRules\": {\n \"Status\": 0,\n \"RegexRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"RuleContent\": \"一个正则表达式字符串\",\n \"IsIgnoreCase\": true\n }\n ]\n },\n \"KeywordRule\": {\n \"Operator\": \"or\",\n \"Contents\": [\n {\n \"RuleContent\": \"某关键词\",\n \"IsIgnoreCase\": true\n }\n ]\n },\n \"IgnoreStringRule\": {\n \"Operator\": \"or\",\n \"Contents\": []\n },\n \"MaxMatch\": 0\n },\n \"Status\": 0\n}",
|
1053
1059
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\"\n }\n}",
|
1054
1060
|
"title": "修改分类分级规则"
|
1055
1061
|
}
|
@@ -1057,17 +1063,17 @@
|
|
1057
1063
|
"ModifyDSPADiscoveryTask": [
|
1058
1064
|
{
|
1059
1065
|
"document": "",
|
1060
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPADiscoveryTask\n<公共请求参数>\n\n{\n \"Enable\": \"1\",\n \"Name\": \"task\",\n \"ComplianceGroupIds\": [\n \"0\"\n ],\n \"GeneralRuleSetEnable\": \"1\",\n \"Period\": \"0\",\n \"TimingStartTime\": \"2021/4/2 10:46:18\",\n \"DspaId\": \"dspa-0001\",\n \"DataSourceId\": \"
|
1066
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPADiscoveryTask\n<公共请求参数>\n\n{\n \"Enable\": \"1\",\n \"Name\": \"task\",\n \"ComplianceGroupIds\": [\n \"0\"\n ],\n \"GeneralRuleSetEnable\": \"1\",\n \"Period\": \"0\",\n \"TimingStartTime\": \"2021/4/2 10:46:18\",\n \"DspaId\": \"dspa-0001\",\n \"DataSourceId\": \"cdb-a1b2c3\",\n \"Plan\": \"0\",\n \"TaskId\": \"1\",\n \"Condition\": \"db1,db_2\",\n \"Description\": \"扫描任务\"\n}",
|
1061
1067
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\"\n }\n}",
|
1062
1068
|
"title": "修改分类分级任务"
|
1063
1069
|
}
|
1064
1070
|
],
|
1065
1071
|
"ModifyDSPAESTaskResult": [
|
1066
1072
|
{
|
1067
|
-
"document": "
|
1068
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAESTaskResult\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
1069
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1070
|
-
"title": "
|
1073
|
+
"document": "示例",
|
1074
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDSPAESTaskResult\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-abcd1234\",\n \"FieldResultId\": 1,\n \"IsSetNonSensitiveField\": true,\n \"DestRuleId\": 128,\n \"DestCategoryId\": 2,\n \"DestLevelId\": 101,\n \"ComplianceId\": 1\n}",
|
1075
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"test-003\"\n }\n}",
|
1076
|
+
"title": "示例"
|
1071
1077
|
}
|
1072
1078
|
],
|
1073
1079
|
"ModifyDSPATaskResult": [
|
@@ -1129,16 +1135,16 @@
|
|
1129
1135
|
"QueryDSPAMetaResourceDbList": [
|
1130
1136
|
{
|
1131
1137
|
"document": "获取数据库实例的全部非系统内置的DB列表。",
|
1132
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryDSPAMetaResourceDbList\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
1133
|
-
"output": "{\n \"Response\": {\n \"DbRelationStatusItems\": [\n {\n \"DbName\": \"
|
1138
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryDSPAMetaResourceDbList\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-ab32dc78\",\n \"ResourceId\": \"cdb-5bcpe42v\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"MetaType\": \"cdb\"\n}",
|
1139
|
+
"output": "{\n \"Response\": {\n \"DbRelationStatusItems\": [\n {\n \"DbName\": \"test001\",\n \"BindStatus\": \"binded\",\n \"ValidStatus\": \"valid\"\n }\n ],\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
1134
1140
|
"title": "示例"
|
1135
1141
|
}
|
1136
1142
|
],
|
1137
1143
|
"QueryResourceDbBindStatus": [
|
1138
1144
|
{
|
1139
1145
|
"document": "获取资源绑定DB状态",
|
1140
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryResourceDbBindStatus\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
1141
|
-
"output": "{\n \"Response\": {\n \"BindDbNums\": 1,\n \"UnbindDbNums\": 1,\n \"RequestId\": \"
|
1146
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryResourceDbBindStatus\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-12cd45g7\",\n \"ResourceId\": \"cdb-adhyf85f\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"MetaType\": \"cdb\"\n}",
|
1147
|
+
"output": "{\n \"Response\": {\n \"BindDbNums\": 1,\n \"UnbindDbNums\": 1,\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\"\n }\n}",
|
1142
1148
|
"title": "示例"
|
1143
1149
|
}
|
1144
1150
|
],
|
@@ -1177,16 +1183,16 @@
|
|
1177
1183
|
"VerifyDSPACOSRule": [
|
1178
1184
|
{
|
1179
1185
|
"document": "",
|
1180
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyDSPACOSRule\n<公共请求参数>\n\n{\n \"DspaId\": \"
|
1181
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"VerifyResult\": \"Success\",\n \"DetailInfo\": \"
|
1186
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyDSPACOSRule\n<公共请求参数>\n\n{\n \"DspaId\": \"dspa-a1b2c3\",\n \"Data\": \"keyword\",\n \"COSRules\": {\n \"Status\": 0,\n \"RegexRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"IsIgnoreCase\": true,\n \"RuleContent\": \"^[1-9]$\"\n }\n ]\n },\n \"KeywordRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"IsIgnoreCase\": true,\n \"RuleContent\": \"key\"\n }\n ]\n },\n \"MaxMatch\": 0,\n \"IgnoreStringRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"IsIgnoreCase\": true,\n \"RuleContent\": \"good\"\n }\n ]\n }\n }\n}",
|
1187
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"VerifyResult\": \"Success\",\n \"DetailInfo\": \"验证成功\"\n }\n}",
|
1182
1188
|
"title": "验证COS分类分级规则"
|
1183
1189
|
}
|
1184
1190
|
],
|
1185
1191
|
"VerifyDSPADiscoveryRule": [
|
1186
1192
|
{
|
1187
1193
|
"document": "",
|
1188
|
-
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyDSPADiscoveryRule\n<公共请求参数>\n\n{\n \"VerifyContent\": \"
|
1189
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"VerifyResult\": \"Success\",\n \"DetailInfo\": \"
|
1194
|
+
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyDSPADiscoveryRule\n<公共请求参数>\n\n{\n \"VerifyContent\": \"keyword\",\n \"DspaId\": \"dspa-001\",\n \"MetaRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"number\"\n }\n ]\n },\n \"ContentRule\": {\n \"Operator\": \"and\",\n \"Contents\": [\n {\n \"RuleType\": \"keyword\",\n \"RuleContent\": \"success\"\n }\n ]\n },\n \"VerifyMeta\": \"keyword\",\n \"MatchOperator\": \"and\"\n}",
|
1195
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20569756-56ba-4a13-b545-e1528d5cb239\",\n \"VerifyResult\": \"Success\",\n \"DetailInfo\": \"验证成功\"\n }\n}",
|
1190
1196
|
"title": "验证分类分级规则"
|
1191
1197
|
}
|
1192
1198
|
]
|