tccli 3.0.1267.1__py2.py3-none-any.whl → 3.0.1269.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +5 -1
  3. tccli/services/aiart/aiart_client.py +106 -0
  4. tccli/services/aiart/v20221229/api.json +275 -0
  5. tccli/services/aiart/v20221229/examples.json +16 -0
  6. tccli/services/antiddos/v20200309/api.json +194 -136
  7. tccli/services/antiddos/v20200309/examples.json +15 -15
  8. tccli/services/bi/v20220105/api.json +1 -1
  9. tccli/services/billing/billing_client.py +4 -163
  10. tccli/services/billing/v20180709/api.json +0 -489
  11. tccli/services/billing/v20180709/examples.json +0 -24
  12. tccli/services/cat/v20180409/api.json +3 -1
  13. tccli/services/cbs/v20170312/api.json +27 -0
  14. tccli/services/ccc/v20200210/api.json +11 -11
  15. tccli/services/ccc/v20200210/examples.json +2 -2
  16. tccli/services/cdb/v20170320/api.json +48 -18
  17. tccli/services/cdn/v20180606/api.json +3 -0
  18. tccli/services/cfw/v20190904/api.json +30 -30
  19. tccli/services/ckafka/v20190819/api.json +10 -0
  20. tccli/services/cloudaudit/v20190319/api.json +3 -3
  21. tccli/services/cloudaudit/v20190319/examples.json +1 -1
  22. tccli/services/csip/v20221121/api.json +38 -38
  23. tccli/services/cwp/cwp_client.py +4 -57
  24. tccli/services/cwp/v20180228/api.json +11 -185
  25. tccli/services/cwp/v20180228/examples.json +0 -8
  26. tccli/services/cynosdb/v20190107/api.json +1 -1
  27. tccli/services/cynosdb/v20190107/examples.json +1 -1
  28. tccli/services/dcdb/dcdb_client.py +122 -16
  29. tccli/services/dcdb/v20180411/api.json +222 -0
  30. tccli/services/dcdb/v20180411/examples.json +16 -0
  31. tccli/services/dlc/v20210125/api.json +145 -26
  32. tccli/services/dlc/v20210125/examples.json +18 -18
  33. tccli/services/domain/v20180808/api.json +8 -8
  34. tccli/services/domain/v20180808/examples.json +3 -3
  35. tccli/services/es/v20180416/api.json +9 -9
  36. tccli/services/ess/v20201111/api.json +1 -1
  37. tccli/services/essbasic/v20210526/api.json +3 -3
  38. tccli/services/essbasic/v20210526/examples.json +2 -2
  39. tccli/services/facefusion/v20220927/api.json +4 -4
  40. tccli/services/faceid/v20180301/api.json +5 -5
  41. tccli/services/faceid/v20180301/examples.json +6 -0
  42. tccli/services/gme/v20180711/api.json +118 -115
  43. tccli/services/gme/v20180711/examples.json +6 -6
  44. tccli/services/hunyuan/v20230901/api.json +9 -0
  45. tccli/services/iotexplorer/v20190423/api.json +4 -4
  46. tccli/services/iotexplorer/v20190423/examples.json +5 -5
  47. tccli/services/keewidb/v20220308/api.json +2 -2
  48. tccli/services/lcic/lcic_client.py +61 -8
  49. tccli/services/lcic/v20220817/api.json +230 -177
  50. tccli/services/lcic/v20220817/examples.json +10 -2
  51. tccli/services/lighthouse/v20200324/api.json +80 -71
  52. tccli/services/live/v20180801/api.json +60 -4
  53. tccli/services/lke/v20231130/api.json +31 -0
  54. tccli/services/lkeap/v20240522/api.json +55 -9
  55. tccli/services/lkeap/v20240522/examples.json +1 -1
  56. tccli/services/mna/mna_client.py +106 -0
  57. tccli/services/mna/v20210119/api.json +246 -0
  58. tccli/services/mna/v20210119/examples.json +16 -0
  59. tccli/services/monitor/monitor_client.py +62 -57
  60. tccli/services/monitor/v20230616/api.json +266 -0
  61. tccli/services/monitor/v20230616/examples.json +19 -0
  62. tccli/services/mqtt/mqtt_client.py +489 -12
  63. tccli/services/mqtt/v20240516/api.json +864 -3
  64. tccli/services/mqtt/v20240516/examples.json +72 -0
  65. tccli/services/ocr/ocr_client.py +53 -0
  66. tccli/services/ocr/v20181119/api.json +287 -23
  67. tccli/services/ocr/v20181119/examples.json +8 -0
  68. tccli/services/postgres/postgres_client.py +334 -16
  69. tccli/services/postgres/v20170312/api.json +718 -35
  70. tccli/services/postgres/v20170312/examples.json +72 -0
  71. tccli/services/rum/v20210622/api.json +1 -1
  72. tccli/services/smh/v20210712/api.json +50 -30
  73. tccli/services/ssl/v20191205/api.json +496 -493
  74. tccli/services/ssl/v20191205/examples.json +144 -24
  75. tccli/services/taf/taf_client.py +0 -159
  76. tccli/services/taf/v20200210/api.json +0 -665
  77. tccli/services/taf/v20200210/examples.json +0 -24
  78. tccli/services/tdmq/v20200217/api.json +97 -0
  79. tccli/services/teo/v20220901/api.json +5 -5
  80. tccli/services/thpc/v20230321/api.json +19 -0
  81. tccli/services/tione/v20211111/api.json +14 -3
  82. tccli/services/trabbit/__init__.py +4 -0
  83. tccli/services/trabbit/trabbit_client.py +1691 -0
  84. tccli/services/trabbit/v20230418/api.json +4773 -0
  85. tccli/services/trabbit/v20230418/examples.json +237 -0
  86. tccli/services/trocket/v20230308/api.json +130 -11
  87. tccli/services/trtc/v20190722/api.json +8 -8
  88. tccli/services/trtc/v20190722/examples.json +2 -2
  89. tccli/services/vclm/v20240523/api.json +0 -450
  90. tccli/services/vclm/v20240523/examples.json +0 -48
  91. tccli/services/vclm/vclm_client.py +0 -159
  92. tccli/services/vpc/v20170312/api.json +46 -39
  93. tccli/services/vpc/v20170312/examples.json +3 -3
  94. tccli/services/wedata/v20210820/api.json +240 -42
  95. tccli/services/wedata/v20210820/examples.json +17 -3
  96. tccli/services/wedata/wedata_client.py +53 -0
  97. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
  98. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +101 -95
  99. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
  100. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
  101. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/license_files/LICENSE +0 -0
@@ -13261,25 +13261,25 @@
13261
13261
  "members": [
13262
13262
  {
13263
13263
  "disabled": false,
13264
- "document": "0:不基于统计检测\n1:发生次数高于固定值\n2:发生次数高于周期平均值的百分之\n3:发生次数高于用户平均值的百分之\n注意:此字段可能返回 null,表示取不到有效值。",
13264
+ "document": "0:不基于统计检测\n1:发生次数高于固定值\n2:发生次数高于周期平均值的百分之\n3:发生次数高于用户平均值的百分之",
13265
13265
  "example": "0",
13266
13266
  "member": "int64",
13267
13267
  "name": "OperatorType",
13268
13268
  "output_required": true,
13269
13269
  "required": true,
13270
13270
  "type": "int",
13271
- "value_allowed_null": true
13271
+ "value_allowed_null": false
13272
13272
  },
13273
13273
  {
13274
13274
  "disabled": false,
13275
- "document": "统计值\n注意:此字段可能返回 null,表示取不到有效值。",
13275
+ "document": "统计值",
13276
13276
  "example": "21.2",
13277
13277
  "member": "float",
13278
13278
  "name": "Value",
13279
13279
  "output_required": true,
13280
13280
  "required": true,
13281
13281
  "type": "float",
13282
- "value_allowed_null": true
13282
+ "value_allowed_null": false
13283
13283
  }
13284
13284
  ],
13285
13285
  "usage": "both"
@@ -14378,133 +14378,133 @@
14378
14378
  "members": [
14379
14379
  {
14380
14380
  "disabled": false,
14381
- "document": "策略id\n注意:此字段可能返回 null,表示取不到有效值。",
14381
+ "document": "策略id",
14382
14382
  "example": "rule-abc1234",
14383
14383
  "member": "string",
14384
14384
  "name": "RuleID",
14385
14385
  "output_required": true,
14386
14386
  "type": "string",
14387
- "value_allowed_null": true
14387
+ "value_allowed_null": false
14388
14388
  },
14389
14389
  {
14390
14390
  "disabled": false,
14391
- "document": "规则名称\n注意:此字段可能返回 null,表示取不到有效值。",
14391
+ "document": "规则名称",
14392
14392
  "example": "海外IP调用高危接口",
14393
14393
  "member": "string",
14394
14394
  "name": "RuleName",
14395
14395
  "output_required": true,
14396
14396
  "type": "string",
14397
- "value_allowed_null": true
14397
+ "value_allowed_null": false
14398
14398
  },
14399
14399
  {
14400
14400
  "disabled": false,
14401
- "document": "策略类型\n0:系统策略\n1:自定义策略\n注意:此字段可能返回 null,表示取不到有效值。",
14401
+ "document": "策略类型\n0:系统策略\n1:自定义策略",
14402
14402
  "example": "系统策略",
14403
14403
  "member": "int64",
14404
14404
  "name": "RuleType",
14405
14405
  "output_required": true,
14406
14406
  "type": "int",
14407
- "value_allowed_null": true
14407
+ "value_allowed_null": false
14408
14408
  },
14409
14409
  {
14410
14410
  "disabled": false,
14411
- "document": "策略等级\n0:提示\n1:低危\n2:中危\n3:高危\n4:严重\n注意:此字段可能返回 null,表示取不到有效值。",
14411
+ "document": "策略等级\n0:提示\n1:低危\n2:中危\n3:高危\n4:严重",
14412
14412
  "example": "严重",
14413
14413
  "member": "int64",
14414
14414
  "name": "RuleLevel",
14415
14415
  "output_required": true,
14416
14416
  "type": "int",
14417
- "value_allowed_null": true
14417
+ "value_allowed_null": false
14418
14418
  },
14419
14419
  {
14420
14420
  "disabled": false,
14421
- "document": "策略内容\n注意:此字段可能返回 null,表示取不到有效值。",
14421
+ "document": "策略内容",
14422
14422
  "example": "这是一个策略内容描述",
14423
14423
  "member": "string",
14424
14424
  "name": "RuleContent",
14425
14425
  "output_required": true,
14426
14426
  "type": "string",
14427
- "value_allowed_null": true
14427
+ "value_allowed_null": false
14428
14428
  },
14429
14429
  {
14430
14430
  "disabled": false,
14431
- "document": "策略开关\n注意:此字段可能返回 null,表示取不到有效值。",
14431
+ "document": "策略开关",
14432
14432
  "example": "false",
14433
14433
  "member": "bool",
14434
14434
  "name": "RuleStatus",
14435
14435
  "output_required": true,
14436
14436
  "type": "bool",
14437
- "value_allowed_null": true
14437
+ "value_allowed_null": false
14438
14438
  },
14439
14439
  {
14440
14440
  "disabled": false,
14441
- "document": "命中次数\n注意:此字段可能返回 null,表示取不到有效值。",
14442
- "example": "1234",
14441
+ "document": "命中次数",
14442
+ "example": "10",
14443
14443
  "member": "uint64",
14444
14444
  "name": "HitCount",
14445
14445
  "output_required": true,
14446
14446
  "type": "int",
14447
- "value_allowed_null": true
14447
+ "value_allowed_null": false
14448
14448
  },
14449
14449
  {
14450
14450
  "disabled": false,
14451
- "document": "所属账号Appid\n注意:此字段可能返回 null,表示取不到有效值。",
14451
+ "document": "所属账号Appid",
14452
14452
  "example": "125000000",
14453
14453
  "member": "string",
14454
14454
  "name": "AppID",
14455
14455
  "output_required": true,
14456
14456
  "type": "string",
14457
- "value_allowed_null": true
14457
+ "value_allowed_null": false
14458
14458
  },
14459
14459
  {
14460
14460
  "disabled": false,
14461
- "document": "多账号,成员ID\n注意:此字段可能返回 null,表示取不到有效值。",
14462
- "example": "",
14461
+ "document": "多账号,成员ID",
14462
+ "example": "mem-1c2**124",
14463
14463
  "member": "string",
14464
14464
  "name": "MemberID",
14465
- "output_required": false,
14465
+ "output_required": true,
14466
14466
  "type": "string",
14467
- "value_allowed_null": true
14467
+ "value_allowed_null": false
14468
14468
  },
14469
14469
  {
14470
14470
  "disabled": false,
14471
- "document": "Uin\n注意:此字段可能返回 null,表示取不到有效值。",
14472
- "example": "",
14471
+ "document": "Uin",
14472
+ "example": "10007**421",
14473
14473
  "member": "string",
14474
14474
  "name": "Uin",
14475
14475
  "output_required": true,
14476
14476
  "type": "string",
14477
- "value_allowed_null": true
14477
+ "value_allowed_null": false
14478
14478
  },
14479
14479
  {
14480
14480
  "disabled": false,
14481
- "document": "昵称\n注意:此字段可能返回 null,表示取不到有效值。",
14482
- "example": "",
14481
+ "document": "昵称",
14482
+ "example": "乌龙",
14483
14483
  "member": "string",
14484
14484
  "name": "Nickname",
14485
14485
  "output_required": true,
14486
14486
  "type": "string",
14487
- "value_allowed_null": true
14487
+ "value_allowed_null": false
14488
14488
  },
14489
14489
  {
14490
14490
  "disabled": false,
14491
- "document": "自定义规则具体内容\n注意:此字段可能返回 null,表示取不到有效值。",
14491
+ "document": "自定义规则具体内容",
14492
14492
  "example": "自定义规则具体内容",
14493
14493
  "member": "UebaCustomRule",
14494
14494
  "name": "CustomRuleDetail",
14495
- "output_required": false,
14495
+ "output_required": true,
14496
14496
  "type": "object",
14497
- "value_allowed_null": true
14497
+ "value_allowed_null": false
14498
14498
  },
14499
14499
  {
14500
14500
  "disabled": false,
14501
- "document": "云类型\n腾讯云:0\naws:1\n注意:此字段可能返回 null,表示取不到有效值。",
14502
- "example": "",
14501
+ "document": "云类型\n腾讯云:0\naws:1",
14502
+ "example": "0",
14503
14503
  "member": "int64",
14504
14504
  "name": "CloudType",
14505
- "output_required": false,
14505
+ "output_required": true,
14506
14506
  "type": "int",
14507
- "value_allowed_null": true
14507
+ "value_allowed_null": false
14508
14508
  }
14509
14509
  ],
14510
14510
  "usage": "out"
@@ -2461,58 +2461,6 @@ def doModifyRaspMaxCpu(args, parsed_globals):
2461
2461
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2462
2462
 
2463
2463
 
2464
- def doDeleteTags(args, parsed_globals):
2465
- g_param = parse_global_arg(parsed_globals)
2466
-
2467
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2468
- cred = credential.CVMRoleCredential()
2469
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2470
- cred = credential.STSAssumeRoleCredential(
2471
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2472
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2473
- )
2474
- 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):
2475
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2476
- else:
2477
- cred = credential.Credential(
2478
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2479
- )
2480
- http_profile = HttpProfile(
2481
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2482
- reqMethod="POST",
2483
- endpoint=g_param[OptionsDefine.Endpoint],
2484
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2485
- )
2486
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2487
- if g_param[OptionsDefine.Language]:
2488
- profile.language = g_param[OptionsDefine.Language]
2489
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2490
- client = mod.CwpClient(cred, g_param[OptionsDefine.Region], profile)
2491
- client._sdkVersion += ("_CLI_" + __version__)
2492
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
- model = models.DeleteTagsRequest()
2494
- model.from_json_string(json.dumps(args))
2495
- start_time = time.time()
2496
- while True:
2497
- rsp = client.DeleteTags(model)
2498
- result = rsp.to_json_string()
2499
- try:
2500
- json_obj = json.loads(result)
2501
- except TypeError as e:
2502
- json_obj = json.loads(result.decode('utf-8')) # python3.3
2503
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2504
- break
2505
- cur_time = time.time()
2506
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2507
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2508
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2509
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2510
- else:
2511
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2512
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2513
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2514
-
2515
-
2516
2464
  def doDeleteLicenseRecordAll(args, parsed_globals):
2517
2465
  g_param = parse_global_arg(parsed_globals)
2518
2466
 
@@ -20557,7 +20505,7 @@ def doStartBaselineDetect(args, parsed_globals):
20557
20505
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
20558
20506
 
20559
20507
 
20560
- def doDescribeSecurityProtectionStat(args, parsed_globals):
20508
+ def doDeleteTags(args, parsed_globals):
20561
20509
  g_param = parse_global_arg(parsed_globals)
20562
20510
 
20563
20511
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -20586,11 +20534,11 @@ def doDescribeSecurityProtectionStat(args, parsed_globals):
20586
20534
  client = mod.CwpClient(cred, g_param[OptionsDefine.Region], profile)
20587
20535
  client._sdkVersion += ("_CLI_" + __version__)
20588
20536
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
20589
- model = models.DescribeSecurityProtectionStatRequest()
20537
+ model = models.DeleteTagsRequest()
20590
20538
  model.from_json_string(json.dumps(args))
20591
20539
  start_time = time.time()
20592
20540
  while True:
20593
- rsp = client.DescribeSecurityProtectionStat(model)
20541
+ rsp = client.DeleteTags(model)
20594
20542
  result = rsp.to_json_string()
20595
20543
  try:
20596
20544
  json_obj = json.loads(result)
@@ -26855,7 +26803,6 @@ ACTION_MAP = {
26855
26803
  "FixBaselineDetect": doFixBaselineDetect,
26856
26804
  "DescribeBaselineRuleDetectList": doDescribeBaselineRuleDetectList,
26857
26805
  "ModifyRaspMaxCpu": doModifyRaspMaxCpu,
26858
- "DeleteTags": doDeleteTags,
26859
26806
  "DeleteLicenseRecordAll": doDeleteLicenseRecordAll,
26860
26807
  "DescribeOverviewStatistics": doDescribeOverviewStatistics,
26861
26808
  "ExportBaselineItemDetectList": doExportBaselineItemDetectList,
@@ -27203,7 +27150,7 @@ ACTION_MAP = {
27203
27150
  "ModifyWarningHostConfig": doModifyWarningHostConfig,
27204
27151
  "DescribeLicenseList": doDescribeLicenseList,
27205
27152
  "StartBaselineDetect": doStartBaselineDetect,
27206
- "DescribeSecurityProtectionStat": doDescribeSecurityProtectionStat,
27153
+ "DeleteTags": doDeleteTags,
27207
27154
  "TrustMalwares": doTrustMalwares,
27208
27155
  "DeleteBaselineRule": doDeleteBaselineRule,
27209
27156
  "DescribeWebHookReceiverUsage": doDescribeWebHookReceiverUsage,
@@ -2149,13 +2149,6 @@
2149
2149
  "output": "DescribeSecurityEventsCntResponse",
2150
2150
  "status": "online"
2151
2151
  },
2152
- "DescribeSecurityProtectionStat": {
2153
- "document": "接口已无效\n\n获取安全防护状态汇总",
2154
- "input": "DescribeSecurityProtectionStatRequest",
2155
- "name": "获取安全防护状态",
2156
- "output": "DescribeSecurityProtectionStatResponse",
2157
- "status": "deprecated"
2158
- },
2159
2152
  "DescribeSecurityTrends": {
2160
2153
  "document": "本接口 (DescribeSecurityTrends) 用于获取安全事件统计数据。",
2161
2154
  "input": "DescribeSecurityTrendsRequest",
@@ -16484,7 +16477,7 @@
16484
16477
  },
16485
16478
  {
16486
16479
  "disabled": false,
16487
- "document": "命令有效期,非腾讯云时必填",
16480
+ "document": "命令有效期,非腾讯云时必填(已废弃,命令永久生效)",
16488
16481
  "example": "2021-06-17",
16489
16482
  "member": "date",
16490
16483
  "name": "ExpireDate",
@@ -33003,183 +32996,6 @@
33003
32996
  ],
33004
32997
  "type": "object"
33005
32998
  },
33006
- "DescribeSecurityProtectionStatRequest": {
33007
- "document": "DescribeSecurityProtectionStat请求参数结构体",
33008
- "members": [],
33009
- "type": "object"
33010
- },
33011
- "DescribeSecurityProtectionStatResponse": {
33012
- "document": "DescribeSecurityProtectionStat返回参数结构体",
33013
- "members": [
33014
- {
33015
- "disabled": false,
33016
- "document": "0 :0付费资产情况, 1:存在未安装agent情况 ,2:部分资产已是专业版/旗舰版, 3:全部资产已是专业版/旗舰版",
33017
- "example": "1",
33018
- "member": "uint64",
33019
- "name": "AssetManageStat",
33020
- "output_required": true,
33021
- "type": "int",
33022
- "value_allowed_null": false
33023
- },
33024
- {
33025
- "disabled": false,
33026
- "document": "0:从未检测过,或0资产付费情况, 1:存在漏洞风险, 2:无风险",
33027
- "example": "1",
33028
- "member": "uint64",
33029
- "name": "VulManageStat",
33030
- "output_required": true,
33031
- "type": "int",
33032
- "value_allowed_null": false
33033
- },
33034
- {
33035
- "disabled": false,
33036
- "document": "0:从未检测过,或0资产付费情况, 1:存在基线风险,2:无风险",
33037
- "example": "1",
33038
- "member": "uint64",
33039
- "name": "SecureBasicLineStat",
33040
- "output_required": true,
33041
- "type": "int",
33042
- "value_allowed_null": false
33043
- },
33044
- {
33045
- "disabled": false,
33046
- "document": "0:从未检测过,或0资产付费情况, 1:已检测,存在恶意文件, 2:已检测,未开启隔离防护, 3:已检测且已开启防护且无风险",
33047
- "example": "1",
33048
- "member": "uint64",
33049
- "name": "MalwareScanStat",
33050
- "output_required": true,
33051
- "type": "int",
33052
- "value_allowed_null": false
33053
- },
33054
- {
33055
- "disabled": false,
33056
- "document": "密码破解是否开启防护 0:未开启防护或0付费资产情况 1:已开启防护 2:存在带处理事件",
33057
- "example": "1",
33058
- "member": "uint64",
33059
- "name": "DefenseBruteAttackStat",
33060
- "output_required": true,
33061
- "type": "int",
33062
- "value_allowed_null": false
33063
- },
33064
- {
33065
- "disabled": false,
33066
- "document": "核心文件监控 0:未开启防护(0付费资产情况),1: 已开通",
33067
- "example": "1",
33068
- "member": "uint64",
33069
- "name": "FileTamperStat",
33070
- "output_required": true,
33071
- "type": "int",
33072
- "value_allowed_null": false
33073
- },
33074
- {
33075
- "disabled": false,
33076
- "document": "网页防篡改 0:未开通, 1:已开通",
33077
- "example": "1",
33078
- "member": "uint64",
33079
- "name": "WebPageStat",
33080
- "output_required": true,
33081
- "type": "int",
33082
- "value_allowed_null": false
33083
- },
33084
- {
33085
- "disabled": false,
33086
- "document": "异常登录 0:存在未处理风险,1:无风险,未配置白名单,2:无风险,已配置",
33087
- "example": "1",
33088
- "member": "uint64",
33089
- "name": "LoginLogStat",
33090
- "output_required": true,
33091
- "type": "int",
33092
- "value_allowed_null": false
33093
- },
33094
- {
33095
- "disabled": false,
33096
- "document": "检测--密码破解有无存在风险 0:存在未处理风险, 1:无风险,正常检测",
33097
- "example": "1",
33098
- "member": "uint64",
33099
- "name": "DiscoverBruteAttackStat",
33100
- "output_required": true,
33101
- "type": "int",
33102
- "value_allowed_null": false
33103
- },
33104
- {
33105
- "disabled": false,
33106
- "document": "恶意请求 0 : 0台开通专业版/旗舰版, 1: 恶意请求 存在未处理风险, 2:已有付费资产,无风险",
33107
- "example": "1",
33108
- "member": "uint64",
33109
- "name": "MaliciousRequestStat",
33110
- "output_required": true,
33111
- "type": "int",
33112
- "value_allowed_null": false
33113
- },
33114
- {
33115
- "disabled": false,
33116
- "document": "本地提权 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险",
33117
- "example": "1",
33118
- "member": "uint64",
33119
- "name": "PrivilegeStat",
33120
- "output_required": true,
33121
- "type": "int",
33122
- "value_allowed_null": false
33123
- },
33124
- {
33125
- "disabled": false,
33126
- "document": "反弹shell 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险",
33127
- "example": "1",
33128
- "member": "uint64",
33129
- "name": "ReverseShellStat",
33130
- "output_required": true,
33131
- "type": "int",
33132
- "value_allowed_null": false
33133
- },
33134
- {
33135
- "disabled": false,
33136
- "document": "专家服务 0:未开通服务, 1:已开通",
33137
- "example": "1",
33138
- "member": "uint64",
33139
- "name": "ExpertServiceStat",
33140
- "output_required": true,
33141
- "type": "int",
33142
- "value_allowed_null": false
33143
- },
33144
- {
33145
- "disabled": false,
33146
- "document": "日志分析 0:未开通服务, 1:已开通",
33147
- "example": "1",
33148
- "member": "uint64",
33149
- "name": "LogAnalysisStat",
33150
- "output_required": true,
33151
- "type": "int",
33152
- "value_allowed_null": false
33153
- },
33154
- {
33155
- "disabled": false,
33156
- "document": "安全告警 0:未开通设置(全部关闭) 1:已开通(只要开启1个就算)",
33157
- "example": "1",
33158
- "member": "uint64",
33159
- "name": "WarningSetStat",
33160
- "output_required": true,
33161
- "type": "int",
33162
- "value_allowed_null": false
33163
- },
33164
- {
33165
- "disabled": false,
33166
- "document": "高危命令,0:0台开通专业版/旗舰版, 1:存在未处理风险, 2:已有付费资产,无风险",
33167
- "example": "1",
33168
- "member": "uint64",
33169
- "name": "EventBashStat",
33170
- "output_required": true,
33171
- "type": "int",
33172
- "value_allowed_null": false
33173
- },
33174
- {
33175
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
33176
- "member": "string",
33177
- "name": "RequestId",
33178
- "type": "string"
33179
- }
33180
- ],
33181
- "type": "object"
33182
- },
33183
32999
  "DescribeSecurityTrendsRequest": {
33184
33000
  "document": "DescribeSecurityTrends请求参数结构体",
33185
33001
  "members": [
@@ -48558,6 +48374,16 @@
48558
48374
  "ModifyRiskDnsPolicyResponse": {
48559
48375
  "document": "ModifyRiskDnsPolicy返回参数结构体",
48560
48376
  "members": [
48377
+ {
48378
+ "disabled": false,
48379
+ "document": "0:没有重复,1:和现有策略重复",
48380
+ "example": "1",
48381
+ "member": "int64",
48382
+ "name": "Repeat",
48383
+ "output_required": false,
48384
+ "type": "int",
48385
+ "value_allowed_null": false
48386
+ },
48561
48387
  {
48562
48388
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
48563
48389
  "member": "string",
@@ -2462,14 +2462,6 @@
2462
2462
  "title": "获取安全事件数统计数据"
2463
2463
  }
2464
2464
  ],
2465
- "DescribeSecurityProtectionStat": [
2466
- {
2467
- "document": "",
2468
- "input": "https://cwp.tencentcloudapi.com/?Action=DescribeSecurityProtectionStat\n&<公共请求参数>",
2469
- "output": "{\n \"Response\": {\n \"AssetManageStat\": 1,\n \"SecureBasicLineStat\": 1,\n \"ExpertServiceStat\": 1,\n \"LoginLogStat\": 1,\n \"VulManageStat\": 1,\n \"FileTamperStat\": 1,\n \"WarningSetStat\": 1,\n \"DiscoverBruteAttackStat\": 1,\n \"DefenseBruteAttackStat\": 1,\n \"RequestId\": \"e79efea3-3f70-46c0-a7e1-ed38a2476098\",\n \"ReverseShellStat\": 1,\n \"LogAnalysisStat\": 1,\n \"PrivilegeStat\": 1,\n \"MalwareScanStat\": 1,\n \"WebPageStat\": 1,\n \"EventBashStat\": 1,\n \"MaliciousRequestStat\": 1\n }\n}",
2470
- "title": "获取安全防护状态"
2471
- }
2472
- ],
2473
2465
  "DescribeSecurityTrends": [
2474
2466
  {
2475
2467
  "document": "获取安全事件统计数据。",
@@ -10161,7 +10161,7 @@
10161
10161
  {
10162
10162
  "disabled": false,
10163
10163
  "document": "安全组信息",
10164
- "example": "",
10164
+ "example": " [{\"CreateTime\": \"2017-04-13 15:00:06\",\"Inbound\": [],\"Outbound\": [],\"ProjectId\": 0,\"SecurityGroupId\": \"sg-ajr1jzdd\",\"SecurityGroupName\": \"CynosDB\",\"SecurityGroupRemark\": \"\"}]",
10165
10165
  "member": "SecurityGroup",
10166
10166
  "name": "Groups",
10167
10167
  "output_required": true,
@@ -469,7 +469,7 @@
469
469
  "DescribeDBSecurityGroups": [
470
470
  {
471
471
  "document": "",
472
- "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbpg-ins-jhi2gdi0\"\n}",
472
+ "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-jhi2gdi0\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-b28sjso2\"\n}",
473
473
  "output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"CreateTime\": \"2017-04-13 15:00:06\",\n \"Inbound\": [],\n \"Outbound\": [],\n \"ProjectId\": 0,\n \"SecurityGroupId\": \"sg-ajr1jzgj\",\n \"SecurityGroupName\": \"CynosDB\",\n \"SecurityGroupRemark\": \"\"\n }\n ],\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
474
474
  "title": "查询实例安全组信息"
475
475
  }