tccli 3.0.1158.1__py2.py3-none-any.whl → 3.0.1160.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/aiart/v20221229/api.json +11 -14
- tccli/services/ams/v20201229/api.json +314 -56
- tccli/services/ams/v20201229/examples.json +2 -2
- tccli/services/bi/v20220105/api.json +1 -1
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cdb/v20170320/api.json +33 -4
- tccli/services/cdn/v20180606/api.json +86 -0
- tccli/services/cfg/cfg_client.py +224 -12
- tccli/services/cfg/v20210820/api.json +897 -32
- tccli/services/cfg/v20210820/examples.json +32 -0
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +255 -2
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/cls/v20201016/api.json +11 -1
- tccli/services/cme/v20191029/api.json +9 -9
- tccli/services/cme/v20191029/examples.json +1 -1
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +134 -0
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cwp/v20180228/api.json +66 -46
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +91 -0
- tccli/services/dnspod/v20210323/api.json +1 -1
- tccli/services/ecm/v20190719/api.json +23 -5
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +351 -98
- tccli/services/emr/v20190103/examples.json +11 -3
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/ess/v20201111/examples.json +6 -6
- tccli/services/essbasic/v20210526/api.json +10 -1
- tccli/services/essbasic/v20210526/examples.json +7 -1
- tccli/services/hunyuan/v20230901/api.json +114 -3
- tccli/services/iotexplorer/v20190423/api.json +25 -25
- tccli/services/iotexplorer/v20190423/examples.json +10 -4
- tccli/services/lcic/lcic_client.py +57 -4
- tccli/services/lcic/v20220817/api.json +52 -0
- tccli/services/lcic/v20220817/examples.json +8 -0
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +7 -7
- tccli/services/ocr/v20181119/api.json +10 -0
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +188 -0
- tccli/services/tke/v20180525/examples.json +8 -0
- tccli/services/trtc/trtc_client.py +53 -0
- tccli/services/trtc/v20190722/api.json +76 -0
- tccli/services/trtc/v20190722/examples.json +8 -0
- tccli/services/vclm/v20240523/api.json +136 -0
- tccli/services/vclm/v20240523/examples.json +46 -0
- tccli/services/vclm/vclm_client.py +106 -0
- tccli/services/vm/v20201229/api.json +209 -45
- tccli/services/vm/v20201229/examples.json +1 -1
- tccli/services/vm/v20210922/api.json +25 -25
- tccli/services/vpc/v20170312/api.json +1 -1
- {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/RECORD +59 -59
- {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1158.1.dist-info → tccli-3.0.1160.1.dist-info}/license_files/LICENSE +0 -0
@@ -1161,6 +1161,58 @@ def doDescribeRiskCenterWebsiteRiskList(args, parsed_globals):
|
|
1161
1161
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1162
1162
|
|
1163
1163
|
|
1164
|
+
def doDescribeCFWAssetStatistics(args, parsed_globals):
|
1165
|
+
g_param = parse_global_arg(parsed_globals)
|
1166
|
+
|
1167
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1168
|
+
cred = credential.CVMRoleCredential()
|
1169
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1170
|
+
cred = credential.STSAssumeRoleCredential(
|
1171
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1172
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1173
|
+
)
|
1174
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1175
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1176
|
+
else:
|
1177
|
+
cred = credential.Credential(
|
1178
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1179
|
+
)
|
1180
|
+
http_profile = HttpProfile(
|
1181
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1182
|
+
reqMethod="POST",
|
1183
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1184
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1185
|
+
)
|
1186
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1187
|
+
if g_param[OptionsDefine.Language]:
|
1188
|
+
profile.language = g_param[OptionsDefine.Language]
|
1189
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1190
|
+
client = mod.CsipClient(cred, g_param[OptionsDefine.Region], profile)
|
1191
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1192
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1193
|
+
model = models.DescribeCFWAssetStatisticsRequest()
|
1194
|
+
model.from_json_string(json.dumps(args))
|
1195
|
+
start_time = time.time()
|
1196
|
+
while True:
|
1197
|
+
rsp = client.DescribeCFWAssetStatistics(model)
|
1198
|
+
result = rsp.to_json_string()
|
1199
|
+
try:
|
1200
|
+
json_obj = json.loads(result)
|
1201
|
+
except TypeError as e:
|
1202
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1203
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1204
|
+
break
|
1205
|
+
cur_time = time.time()
|
1206
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1207
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1208
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1209
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1210
|
+
else:
|
1211
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1212
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1213
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1214
|
+
|
1215
|
+
|
1164
1216
|
def doStopRiskCenterTask(args, parsed_globals):
|
1165
1217
|
g_param = parse_global_arg(parsed_globals)
|
1166
1218
|
|
@@ -2234,6 +2286,7 @@ ACTION_MAP = {
|
|
2234
2286
|
"DescribeAssetViewVulRiskList": doDescribeAssetViewVulRiskList,
|
2235
2287
|
"DescribeVULRiskDetail": doDescribeVULRiskDetail,
|
2236
2288
|
"DescribeRiskCenterWebsiteRiskList": doDescribeRiskCenterWebsiteRiskList,
|
2289
|
+
"DescribeCFWAssetStatistics": doDescribeCFWAssetStatistics,
|
2237
2290
|
"StopRiskCenterTask": doStopRiskCenterTask,
|
2238
2291
|
"CreateRiskCenterScanTask": doCreateRiskCenterScanTask,
|
2239
2292
|
"DescribeGatewayAssets": doDescribeGatewayAssets,
|
@@ -49,6 +49,13 @@
|
|
49
49
|
"output": "DescribeAssetViewVulRiskListResponse",
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
|
+
"DescribeCFWAssetStatistics": {
|
53
|
+
"document": "云防资产中心统计数据",
|
54
|
+
"input": "DescribeCFWAssetStatisticsRequest",
|
55
|
+
"name": "云防资产中心统计数据",
|
56
|
+
"output": "DescribeCFWAssetStatisticsResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
52
59
|
"DescribeCVMAssetInfo": {
|
53
60
|
"document": "cvm详情",
|
54
61
|
"input": "DescribeCVMAssetInfoRequest",
|
@@ -5477,6 +5484,133 @@
|
|
5477
5484
|
],
|
5478
5485
|
"type": "object"
|
5479
5486
|
},
|
5487
|
+
"DescribeCFWAssetStatisticsRequest": {
|
5488
|
+
"document": "DescribeCFWAssetStatistics请求参数结构体",
|
5489
|
+
"members": [],
|
5490
|
+
"type": "object"
|
5491
|
+
},
|
5492
|
+
"DescribeCFWAssetStatisticsResponse": {
|
5493
|
+
"document": "DescribeCFWAssetStatistics返回参数结构体",
|
5494
|
+
"members": [
|
5495
|
+
{
|
5496
|
+
"disabled": false,
|
5497
|
+
"document": "网络资产总数",
|
5498
|
+
"example": "无",
|
5499
|
+
"member": "int64",
|
5500
|
+
"name": "NetworkTotal",
|
5501
|
+
"output_required": true,
|
5502
|
+
"type": "int",
|
5503
|
+
"value_allowed_null": false
|
5504
|
+
},
|
5505
|
+
{
|
5506
|
+
"disabled": false,
|
5507
|
+
"document": "资产clb数量",
|
5508
|
+
"example": "无",
|
5509
|
+
"member": "int64",
|
5510
|
+
"name": "ClbTotal",
|
5511
|
+
"output_required": true,
|
5512
|
+
"type": "int",
|
5513
|
+
"value_allowed_null": false
|
5514
|
+
},
|
5515
|
+
{
|
5516
|
+
"disabled": false,
|
5517
|
+
"document": "nat数量",
|
5518
|
+
"example": "无",
|
5519
|
+
"member": "int64",
|
5520
|
+
"name": "NatTotal",
|
5521
|
+
"output_required": true,
|
5522
|
+
"type": "int",
|
5523
|
+
"value_allowed_null": false
|
5524
|
+
},
|
5525
|
+
{
|
5526
|
+
"disabled": false,
|
5527
|
+
"document": "公网ip数量",
|
5528
|
+
"example": "无",
|
5529
|
+
"member": "int64",
|
5530
|
+
"name": "PublicAssetTotal",
|
5531
|
+
"output_required": true,
|
5532
|
+
"type": "int",
|
5533
|
+
"value_allowed_null": false
|
5534
|
+
},
|
5535
|
+
{
|
5536
|
+
"disabled": false,
|
5537
|
+
"document": "主机数量",
|
5538
|
+
"example": "无",
|
5539
|
+
"member": "int64",
|
5540
|
+
"name": "CVMAssetTotal",
|
5541
|
+
"output_required": true,
|
5542
|
+
"type": "int",
|
5543
|
+
"value_allowed_null": false
|
5544
|
+
},
|
5545
|
+
{
|
5546
|
+
"disabled": false,
|
5547
|
+
"document": "配置风险",
|
5548
|
+
"example": "无",
|
5549
|
+
"member": "int64",
|
5550
|
+
"name": "CFGTotal",
|
5551
|
+
"output_required": true,
|
5552
|
+
"type": "int",
|
5553
|
+
"value_allowed_null": false
|
5554
|
+
},
|
5555
|
+
{
|
5556
|
+
"disabled": false,
|
5557
|
+
"document": "端口风险",
|
5558
|
+
"example": "无",
|
5559
|
+
"member": "int64",
|
5560
|
+
"name": "PortTotal",
|
5561
|
+
"output_required": true,
|
5562
|
+
"type": "int",
|
5563
|
+
"value_allowed_null": false
|
5564
|
+
},
|
5565
|
+
{
|
5566
|
+
"disabled": false,
|
5567
|
+
"document": "内容风险",
|
5568
|
+
"example": "无",
|
5569
|
+
"member": "int64",
|
5570
|
+
"name": "WebsiteTotal",
|
5571
|
+
"output_required": true,
|
5572
|
+
"type": "int",
|
5573
|
+
"value_allowed_null": false
|
5574
|
+
},
|
5575
|
+
{
|
5576
|
+
"disabled": false,
|
5577
|
+
"document": "风险服务暴露",
|
5578
|
+
"example": "无",
|
5579
|
+
"member": "int64",
|
5580
|
+
"name": "ServerTotal",
|
5581
|
+
"output_required": true,
|
5582
|
+
"type": "int",
|
5583
|
+
"value_allowed_null": false
|
5584
|
+
},
|
5585
|
+
{
|
5586
|
+
"disabled": false,
|
5587
|
+
"document": "弱口令风险",
|
5588
|
+
"example": "无",
|
5589
|
+
"member": "int64",
|
5590
|
+
"name": "WeakPasswordTotal",
|
5591
|
+
"output_required": true,
|
5592
|
+
"type": "int",
|
5593
|
+
"value_allowed_null": false
|
5594
|
+
},
|
5595
|
+
{
|
5596
|
+
"disabled": false,
|
5597
|
+
"document": "漏洞风险",
|
5598
|
+
"example": "无",
|
5599
|
+
"member": "int64",
|
5600
|
+
"name": "VULTotal",
|
5601
|
+
"output_required": true,
|
5602
|
+
"type": "int",
|
5603
|
+
"value_allowed_null": false
|
5604
|
+
},
|
5605
|
+
{
|
5606
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5607
|
+
"member": "string",
|
5608
|
+
"name": "RequestId",
|
5609
|
+
"type": "string"
|
5610
|
+
}
|
5611
|
+
],
|
5612
|
+
"type": "object"
|
5613
|
+
},
|
5480
5614
|
"DescribeCVMAssetInfoRequest": {
|
5481
5615
|
"document": "DescribeCVMAssetInfo请求参数结构体",
|
5482
5616
|
"members": [
|
@@ -56,6 +56,14 @@
|
|
56
56
|
"title": "success1"
|
57
57
|
}
|
58
58
|
],
|
59
|
+
"DescribeCFWAssetStatistics": [
|
60
|
+
{
|
61
|
+
"document": "资产中心统计",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCFWAssetStatistics\n<公共请求参数>\n\n{}",
|
63
|
+
"output": "{\n \"Response\": {\n \"NetworkTotal\": 0,\n \"ClbTotal\": 0,\n \"NatTotal\": 0,\n \"PublicAssetTotal\": 0,\n \"CVMAssetTotal\": 0,\n \"CFGTotal\": 0,\n \"PortTotal\": 0,\n \"WebsiteTotal\": 0,\n \"ServerTotal\": 0,\n \"WeakPasswordTotal\": 0,\n \"VULTotal\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
64
|
+
"title": "资产中心统计"
|
65
|
+
}
|
66
|
+
],
|
59
67
|
"DescribeCVMAssetInfo": [
|
60
68
|
{
|
61
69
|
"document": "接口测试",
|
@@ -11295,7 +11295,7 @@
|
|
11295
11295
|
"example": "1",
|
11296
11296
|
"member": "uint64",
|
11297
11297
|
"name": "Id",
|
11298
|
-
"
|
11298
|
+
"output_required": true,
|
11299
11299
|
"type": "int",
|
11300
11300
|
"value_allowed_null": false
|
11301
11301
|
},
|
@@ -11305,7 +11305,7 @@
|
|
11305
11305
|
"example": "dadada",
|
11306
11306
|
"member": "string",
|
11307
11307
|
"name": "Uuid",
|
11308
|
-
"
|
11308
|
+
"output_required": true,
|
11309
11309
|
"type": "string",
|
11310
11310
|
"value_allowed_null": false
|
11311
11311
|
},
|
@@ -11315,7 +11315,7 @@
|
|
11315
11315
|
"example": "dadasda",
|
11316
11316
|
"member": "string",
|
11317
11317
|
"name": "Quuid",
|
11318
|
-
"
|
11318
|
+
"output_required": true,
|
11319
11319
|
"type": "string",
|
11320
11320
|
"value_allowed_null": false
|
11321
11321
|
},
|
@@ -11325,7 +11325,7 @@
|
|
11325
11325
|
"example": "127.0.0.1",
|
11326
11326
|
"member": "string",
|
11327
11327
|
"name": "Hostip",
|
11328
|
-
"
|
11328
|
+
"output_required": true,
|
11329
11329
|
"type": "string",
|
11330
11330
|
"value_allowed_null": false
|
11331
11331
|
},
|
@@ -11335,7 +11335,7 @@
|
|
11335
11335
|
"example": "root",
|
11336
11336
|
"member": "string",
|
11337
11337
|
"name": "User",
|
11338
|
-
"
|
11338
|
+
"output_required": true,
|
11339
11339
|
"type": "string",
|
11340
11340
|
"value_allowed_null": false
|
11341
11341
|
},
|
@@ -11345,7 +11345,7 @@
|
|
11345
11345
|
"example": "1",
|
11346
11346
|
"member": "uint64",
|
11347
11347
|
"name": "Platform",
|
11348
|
-
"
|
11348
|
+
"output_required": true,
|
11349
11349
|
"type": "int",
|
11350
11350
|
"value_allowed_null": false
|
11351
11351
|
},
|
@@ -11355,7 +11355,7 @@
|
|
11355
11355
|
"example": "rm",
|
11356
11356
|
"member": "string",
|
11357
11357
|
"name": "BashCmd",
|
11358
|
-
"
|
11358
|
+
"output_required": true,
|
11359
11359
|
"type": "string",
|
11360
11360
|
"value_allowed_null": false
|
11361
11361
|
},
|
@@ -11365,7 +11365,7 @@
|
|
11365
11365
|
"example": "1",
|
11366
11366
|
"member": "uint64",
|
11367
11367
|
"name": "RuleId",
|
11368
|
-
"
|
11368
|
+
"output_required": true,
|
11369
11369
|
"type": "int",
|
11370
11370
|
"value_allowed_null": false
|
11371
11371
|
},
|
@@ -11375,7 +11375,7 @@
|
|
11375
11375
|
"example": "1",
|
11376
11376
|
"member": "string",
|
11377
11377
|
"name": "RuleName",
|
11378
|
-
"
|
11378
|
+
"output_required": true,
|
11379
11379
|
"type": "string",
|
11380
11380
|
"value_allowed_null": false
|
11381
11381
|
},
|
@@ -11385,7 +11385,7 @@
|
|
11385
11385
|
"example": "1",
|
11386
11386
|
"member": "uint64",
|
11387
11387
|
"name": "RuleLevel",
|
11388
|
-
"
|
11388
|
+
"output_required": true,
|
11389
11389
|
"type": "int",
|
11390
11390
|
"value_allowed_null": false
|
11391
11391
|
},
|
@@ -11395,7 +11395,7 @@
|
|
11395
11395
|
"example": "1",
|
11396
11396
|
"member": "uint64",
|
11397
11397
|
"name": "Status",
|
11398
|
-
"
|
11398
|
+
"output_required": true,
|
11399
11399
|
"type": "int",
|
11400
11400
|
"value_allowed_null": false
|
11401
11401
|
},
|
@@ -11405,7 +11405,7 @@
|
|
11405
11405
|
"example": "2021-03-30 19:17:28",
|
11406
11406
|
"member": "string",
|
11407
11407
|
"name": "CreateTime",
|
11408
|
-
"
|
11408
|
+
"output_required": true,
|
11409
11409
|
"type": "string",
|
11410
11410
|
"value_allowed_null": false
|
11411
11411
|
},
|
@@ -11415,7 +11415,7 @@
|
|
11415
11415
|
"example": "主机",
|
11416
11416
|
"member": "string",
|
11417
11417
|
"name": "MachineName",
|
11418
|
-
"
|
11418
|
+
"output_required": true,
|
11419
11419
|
"type": "string",
|
11420
11420
|
"value_allowed_null": false
|
11421
11421
|
},
|
@@ -11425,7 +11425,7 @@
|
|
11425
11425
|
"example": "1",
|
11426
11426
|
"member": "uint64",
|
11427
11427
|
"name": "DetectBy",
|
11428
|
-
"
|
11428
|
+
"output_required": true,
|
11429
11429
|
"type": "int",
|
11430
11430
|
"value_allowed_null": true
|
11431
11431
|
},
|
@@ -11435,7 +11435,7 @@
|
|
11435
11435
|
"example": "1",
|
11436
11436
|
"member": "string",
|
11437
11437
|
"name": "Pid",
|
11438
|
-
"
|
11438
|
+
"output_required": true,
|
11439
11439
|
"type": "string",
|
11440
11440
|
"value_allowed_null": true
|
11441
11441
|
},
|
@@ -11445,7 +11445,7 @@
|
|
11445
11445
|
"example": "1.exe",
|
11446
11446
|
"member": "string",
|
11447
11447
|
"name": "Exe",
|
11448
|
-
"
|
11448
|
+
"output_required": true,
|
11449
11449
|
"type": "string",
|
11450
11450
|
"value_allowed_null": true
|
11451
11451
|
},
|
@@ -11455,7 +11455,7 @@
|
|
11455
11455
|
"example": "2021-03-30 19:17:28",
|
11456
11456
|
"member": "string",
|
11457
11457
|
"name": "ModifyTime",
|
11458
|
-
"
|
11458
|
+
"output_required": true,
|
11459
11459
|
"type": "string",
|
11460
11460
|
"value_allowed_null": true
|
11461
11461
|
},
|
@@ -11465,7 +11465,7 @@
|
|
11465
11465
|
"example": "0",
|
11466
11466
|
"member": "uint64",
|
11467
11467
|
"name": "RuleCategory",
|
11468
|
-
"
|
11468
|
+
"output_required": true,
|
11469
11469
|
"type": "int",
|
11470
11470
|
"value_allowed_null": true
|
11471
11471
|
},
|
@@ -11475,7 +11475,17 @@
|
|
11475
11475
|
"example": "rm -rf /tmp/t*",
|
11476
11476
|
"member": "string",
|
11477
11477
|
"name": "RegexBashCmd",
|
11478
|
-
"
|
11478
|
+
"output_required": true,
|
11479
|
+
"type": "string",
|
11480
|
+
"value_allowed_null": true
|
11481
|
+
},
|
11482
|
+
{
|
11483
|
+
"disabled": false,
|
11484
|
+
"document": "主机HostName\n注意:此字段可能返回 null,表示取不到有效值。",
|
11485
|
+
"example": "ins-1324",
|
11486
|
+
"member": "string",
|
11487
|
+
"name": "HostName",
|
11488
|
+
"output_required": false,
|
11479
11489
|
"type": "string",
|
11480
11490
|
"value_allowed_null": true
|
11481
11491
|
}
|
@@ -11707,7 +11717,7 @@
|
|
11707
11717
|
"example": "1",
|
11708
11718
|
"member": "uint64",
|
11709
11719
|
"name": "Id",
|
11710
|
-
"
|
11720
|
+
"output_required": true,
|
11711
11721
|
"type": "int",
|
11712
11722
|
"value_allowed_null": false
|
11713
11723
|
},
|
@@ -11717,7 +11727,7 @@
|
|
11717
11727
|
"example": "dadada",
|
11718
11728
|
"member": "string",
|
11719
11729
|
"name": "Uuid",
|
11720
|
-
"
|
11730
|
+
"output_required": true,
|
11721
11731
|
"type": "string",
|
11722
11732
|
"value_allowed_null": false
|
11723
11733
|
},
|
@@ -11727,7 +11737,7 @@
|
|
11727
11737
|
"example": "dadasda",
|
11728
11738
|
"member": "string",
|
11729
11739
|
"name": "Quuid",
|
11730
|
-
"
|
11740
|
+
"output_required": true,
|
11731
11741
|
"type": "string",
|
11732
11742
|
"value_allowed_null": false
|
11733
11743
|
},
|
@@ -11737,7 +11747,7 @@
|
|
11737
11747
|
"example": "127.0.0.1",
|
11738
11748
|
"member": "string",
|
11739
11749
|
"name": "HostIp",
|
11740
|
-
"
|
11750
|
+
"output_required": true,
|
11741
11751
|
"type": "string",
|
11742
11752
|
"value_allowed_null": false
|
11743
11753
|
},
|
@@ -11747,7 +11757,7 @@
|
|
11747
11757
|
"example": "1",
|
11748
11758
|
"member": "uint64",
|
11749
11759
|
"name": "Platform",
|
11750
|
-
"
|
11760
|
+
"output_required": true,
|
11751
11761
|
"type": "int",
|
11752
11762
|
"value_allowed_null": false
|
11753
11763
|
},
|
@@ -11757,7 +11767,7 @@
|
|
11757
11767
|
"example": "rm",
|
11758
11768
|
"member": "string",
|
11759
11769
|
"name": "BashCmd",
|
11760
|
-
"
|
11770
|
+
"output_required": true,
|
11761
11771
|
"type": "string",
|
11762
11772
|
"value_allowed_null": false
|
11763
11773
|
},
|
@@ -11767,7 +11777,7 @@
|
|
11767
11777
|
"example": "1",
|
11768
11778
|
"member": "uint64",
|
11769
11779
|
"name": "RuleId",
|
11770
|
-
"
|
11780
|
+
"output_required": true,
|
11771
11781
|
"type": "int",
|
11772
11782
|
"value_allowed_null": false
|
11773
11783
|
},
|
@@ -11777,7 +11787,7 @@
|
|
11777
11787
|
"example": "1",
|
11778
11788
|
"member": "string",
|
11779
11789
|
"name": "RuleName",
|
11780
|
-
"
|
11790
|
+
"output_required": true,
|
11781
11791
|
"type": "string",
|
11782
11792
|
"value_allowed_null": false
|
11783
11793
|
},
|
@@ -11787,7 +11797,7 @@
|
|
11787
11797
|
"example": "1",
|
11788
11798
|
"member": "uint64",
|
11789
11799
|
"name": "RuleLevel",
|
11790
|
-
"
|
11800
|
+
"output_required": true,
|
11791
11801
|
"type": "int",
|
11792
11802
|
"value_allowed_null": false
|
11793
11803
|
},
|
@@ -11797,7 +11807,7 @@
|
|
11797
11807
|
"example": "1",
|
11798
11808
|
"member": "uint64",
|
11799
11809
|
"name": "Status",
|
11800
|
-
"
|
11810
|
+
"output_required": true,
|
11801
11811
|
"type": "int",
|
11802
11812
|
"value_allowed_null": false
|
11803
11813
|
},
|
@@ -11807,7 +11817,7 @@
|
|
11807
11817
|
"example": "2021-03-30 19:17:28",
|
11808
11818
|
"member": "string",
|
11809
11819
|
"name": "CreateTime",
|
11810
|
-
"
|
11820
|
+
"output_required": true,
|
11811
11821
|
"type": "string",
|
11812
11822
|
"value_allowed_null": false
|
11813
11823
|
},
|
@@ -11817,7 +11827,7 @@
|
|
11817
11827
|
"example": "主机",
|
11818
11828
|
"member": "string",
|
11819
11829
|
"name": "MachineName",
|
11820
|
-
"
|
11830
|
+
"output_required": true,
|
11821
11831
|
"type": "string",
|
11822
11832
|
"value_allowed_null": false
|
11823
11833
|
},
|
@@ -11827,7 +11837,7 @@
|
|
11827
11837
|
"example": "1.exe",
|
11828
11838
|
"member": "string",
|
11829
11839
|
"name": "Exe",
|
11830
|
-
"
|
11840
|
+
"output_required": true,
|
11831
11841
|
"type": "string",
|
11832
11842
|
"value_allowed_null": true
|
11833
11843
|
},
|
@@ -11837,7 +11847,7 @@
|
|
11837
11847
|
"example": "2021-03-30 19:17:28",
|
11838
11848
|
"member": "string",
|
11839
11849
|
"name": "ModifyTime",
|
11840
|
-
"
|
11850
|
+
"output_required": true,
|
11841
11851
|
"type": "string",
|
11842
11852
|
"value_allowed_null": true
|
11843
11853
|
},
|
@@ -11847,7 +11857,7 @@
|
|
11847
11857
|
"example": "0",
|
11848
11858
|
"member": "uint64",
|
11849
11859
|
"name": "RuleCategory",
|
11850
|
-
"
|
11860
|
+
"output_required": true,
|
11851
11861
|
"type": "int",
|
11852
11862
|
"value_allowed_null": true
|
11853
11863
|
},
|
@@ -11857,7 +11867,7 @@
|
|
11857
11867
|
"example": "rm -rf /tmp/t*",
|
11858
11868
|
"member": "string",
|
11859
11869
|
"name": "RegexBashCmd",
|
11860
|
-
"
|
11870
|
+
"output_required": true,
|
11861
11871
|
"type": "string",
|
11862
11872
|
"value_allowed_null": true
|
11863
11873
|
},
|
@@ -11867,7 +11877,7 @@
|
|
11867
11877
|
"example": "\"[{\"pid\":1234,\"exe\":\"/usr/bin/bash\",\"account\":\"root:root\",\"cmdl\"",
|
11868
11878
|
"member": "string",
|
11869
11879
|
"name": "PsTree",
|
11870
|
-
"
|
11880
|
+
"output_required": true,
|
11871
11881
|
"type": "string",
|
11872
11882
|
"value_allowed_null": true
|
11873
11883
|
},
|
@@ -11877,7 +11887,7 @@
|
|
11877
11887
|
"example": "建议方案",
|
11878
11888
|
"member": "string",
|
11879
11889
|
"name": "SuggestScheme",
|
11880
|
-
"
|
11890
|
+
"output_required": true,
|
11881
11891
|
"type": "string",
|
11882
11892
|
"value_allowed_null": true
|
11883
11893
|
},
|
@@ -11887,7 +11897,7 @@
|
|
11887
11897
|
"example": "描述",
|
11888
11898
|
"member": "string",
|
11889
11899
|
"name": "HarmDescribe",
|
11890
|
-
"
|
11900
|
+
"output_required": true,
|
11891
11901
|
"type": "string",
|
11892
11902
|
"value_allowed_null": true
|
11893
11903
|
},
|
@@ -11897,7 +11907,7 @@
|
|
11897
11907
|
"example": "[\"标签1\",\"标签2\"]",
|
11898
11908
|
"member": "string",
|
11899
11909
|
"name": "Tags",
|
11900
|
-
"
|
11910
|
+
"output_required": true,
|
11901
11911
|
"type": "list",
|
11902
11912
|
"value_allowed_null": true
|
11903
11913
|
},
|
@@ -11907,7 +11917,7 @@
|
|
11907
11917
|
"example": "[\"http://www.tencent.com\"]",
|
11908
11918
|
"member": "string",
|
11909
11919
|
"name": "References",
|
11910
|
-
"
|
11920
|
+
"output_required": true,
|
11911
11921
|
"type": "list",
|
11912
11922
|
"value_allowed_null": true
|
11913
11923
|
},
|
@@ -11917,7 +11927,7 @@
|
|
11917
11927
|
"example": "124.2.4.55",
|
11918
11928
|
"member": "string",
|
11919
11929
|
"name": "MachineWanIp",
|
11920
|
-
"
|
11930
|
+
"output_required": true,
|
11921
11931
|
"type": "string",
|
11922
11932
|
"value_allowed_null": true
|
11923
11933
|
},
|
@@ -11927,7 +11937,7 @@
|
|
11927
11937
|
"example": "ONLINE",
|
11928
11938
|
"member": "string",
|
11929
11939
|
"name": "MachineStatus",
|
11930
|
-
"
|
11940
|
+
"output_required": true,
|
11931
11941
|
"type": "string",
|
11932
11942
|
"value_allowed_null": true
|
11933
11943
|
},
|
@@ -11937,7 +11947,7 @@
|
|
11937
11947
|
"example": "test",
|
11938
11948
|
"member": "string",
|
11939
11949
|
"name": "User",
|
11940
|
-
"
|
11950
|
+
"output_required": true,
|
11941
11951
|
"type": "string",
|
11942
11952
|
"value_allowed_null": true
|
11943
11953
|
},
|
@@ -11947,7 +11957,17 @@
|
|
11947
11957
|
"example": "1234",
|
11948
11958
|
"member": "string",
|
11949
11959
|
"name": "Pid",
|
11950
|
-
"
|
11960
|
+
"output_required": true,
|
11961
|
+
"type": "string",
|
11962
|
+
"value_allowed_null": true
|
11963
|
+
},
|
11964
|
+
{
|
11965
|
+
"disabled": false,
|
11966
|
+
"document": "数据来源\n注意:此字段可能返回 null,表示取不到有效值。",
|
11967
|
+
"example": "无",
|
11968
|
+
"member": "string",
|
11969
|
+
"name": "DetectBy",
|
11970
|
+
"output_required": false,
|
11951
11971
|
"type": "string",
|
11952
11972
|
"value_allowed_null": true
|
11953
11973
|
}
|
@@ -38386,7 +38406,7 @@
|
|
38386
38406
|
"example": "xx",
|
38387
38407
|
"member": "string",
|
38388
38408
|
"name": "DownloadUrl",
|
38389
|
-
"
|
38409
|
+
"output_required": true,
|
38390
38410
|
"type": "string",
|
38391
38411
|
"value_allowed_null": false
|
38392
38412
|
},
|
@@ -40737,7 +40757,7 @@
|
|
40737
40757
|
"example": "xxx",
|
40738
40758
|
"member": "string",
|
40739
40759
|
"name": "DownloadUrl",
|
40740
|
-
"
|
40760
|
+
"output_required": true,
|
40741
40761
|
"type": "string",
|
40742
40762
|
"value_allowed_null": false
|
40743
40763
|
},
|
@@ -3040,7 +3040,7 @@
|
|
3040
3040
|
{
|
3041
3041
|
"document": "",
|
3042
3042
|
"input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportAssetRecentMachineInfo\n<公共请求参数>\n\n{\n \"BeginDate\": \"2020-09-22\",\n \"EndDate\": \"2020-09-22\"\n}",
|
3043
|
-
"output": "{\n \"Response\": {\n \"DownloadUrl\": \"xx\",\n \"RequestId\": \"
|
3043
|
+
"output": "{\n \"Response\": {\n \"DownloadUrl\": \"http://xx/xxx\",\n \"RequestId\": \"abcs12434\"\n }\n}",
|
3044
3044
|
"title": "导出主机概况趋势"
|
3045
3045
|
}
|
3046
3046
|
],
|