tencentcloud-sdk-nodejs 4.1.327 → 4.1.328
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/adp/v20260520/adp_client.js +8 -2
- package/es/services/dbbrain/v20210527/dbbrain_client.js +3 -0
- package/es/services/vod/v20180717/vod_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +11 -3
- package/tencentcloud/services/adp/v20260520/adp_client.js +15 -3
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +155 -57
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +16 -16
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +8 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +22 -10
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +6 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +5 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +91 -7
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +146 -70
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -12
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +11 -11
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +345 -22
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +21 -0
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +24 -23
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +147 -98
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +20 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +5 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +258 -83
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +90 -56
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +5 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +6 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +69 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +94 -83
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +1 -1
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +47 -16
- package/tencentcloud/services/wsa/v20250508/wsa_client.d.ts +1 -1
- package/tencentcloud/services/wsa/v20250508/wsa_client.js +1 -1
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
|
@@ -3333,17 +3333,25 @@ export interface ModifyNetAttackWhiteListResponse {
|
|
|
3333
3333
|
*/
|
|
3334
3334
|
export interface PolicyRules {
|
|
3335
3335
|
/**
|
|
3336
|
-
*
|
|
3336
|
+
* <p>进程</p>
|
|
3337
3337
|
*/
|
|
3338
3338
|
Process?: CommandLine;
|
|
3339
3339
|
/**
|
|
3340
|
-
*
|
|
3340
|
+
* <p>父进程</p>
|
|
3341
3341
|
*/
|
|
3342
3342
|
PProcess?: CommandLine;
|
|
3343
3343
|
/**
|
|
3344
|
-
*
|
|
3344
|
+
* <p>祖先进程</p>
|
|
3345
3345
|
*/
|
|
3346
3346
|
AProcess?: CommandLine;
|
|
3347
|
+
/**
|
|
3348
|
+
* <p>目标文件路径(匹配类型=文件操作时有效)</p>
|
|
3349
|
+
*/
|
|
3350
|
+
FilePath?: string;
|
|
3351
|
+
/**
|
|
3352
|
+
* <p>动作列表(匹配类型=文件操作时有效,多选为或关系):read-读 write-写 rename-重命名 delete-删除 truncate-清空内容</p>
|
|
3353
|
+
*/
|
|
3354
|
+
FileActions?: Array<string>;
|
|
3347
3355
|
}
|
|
3348
3356
|
/**
|
|
3349
3357
|
* DescribeMachineRegions请求参数结构体
|
|
@@ -4985,93 +4993,105 @@ export interface ExportReverseShellEventsRequest {
|
|
|
4985
4993
|
*/
|
|
4986
4994
|
export interface BashEventNew {
|
|
4987
4995
|
/**
|
|
4988
|
-
*
|
|
4996
|
+
* <p>数据ID</p>
|
|
4989
4997
|
*/
|
|
4990
4998
|
Id?: number;
|
|
4991
4999
|
/**
|
|
4992
|
-
*
|
|
5000
|
+
* <p>主机安全ID</p>
|
|
4993
5001
|
*/
|
|
4994
5002
|
Uuid?: string;
|
|
4995
5003
|
/**
|
|
4996
|
-
*
|
|
5004
|
+
* <p>主机ID</p>
|
|
4997
5005
|
*/
|
|
4998
5006
|
Quuid?: string;
|
|
4999
5007
|
/**
|
|
5000
|
-
*
|
|
5008
|
+
* <p>主机内网IP</p>
|
|
5001
5009
|
*/
|
|
5002
5010
|
HostIp?: string;
|
|
5003
5011
|
/**
|
|
5004
|
-
*
|
|
5012
|
+
* <p>执行用户名</p>
|
|
5005
5013
|
*/
|
|
5006
5014
|
User?: string;
|
|
5007
5015
|
/**
|
|
5008
|
-
*
|
|
5016
|
+
* <p>平台类型</p>
|
|
5009
5017
|
*/
|
|
5010
5018
|
Platform?: number;
|
|
5011
5019
|
/**
|
|
5012
|
-
*
|
|
5020
|
+
* <p>执行命令</p>
|
|
5013
5021
|
*/
|
|
5014
5022
|
BashCmd?: string;
|
|
5015
5023
|
/**
|
|
5016
|
-
*
|
|
5024
|
+
* <p>规则ID</p>
|
|
5017
5025
|
*/
|
|
5018
5026
|
RuleId?: number;
|
|
5019
5027
|
/**
|
|
5020
|
-
*
|
|
5028
|
+
* <p>规则名称</p>
|
|
5021
5029
|
*/
|
|
5022
5030
|
RuleName?: string;
|
|
5023
5031
|
/**
|
|
5024
|
-
*
|
|
5032
|
+
* <p>规则等级:1-高 2-中 3-低</p>
|
|
5025
5033
|
*/
|
|
5026
5034
|
RuleLevel?: number;
|
|
5027
5035
|
/**
|
|
5028
|
-
*
|
|
5036
|
+
* <p>处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3 = 已忽略</p>
|
|
5029
5037
|
*/
|
|
5030
5038
|
Status?: number;
|
|
5031
5039
|
/**
|
|
5032
|
-
*
|
|
5040
|
+
* <p>发生时间</p>
|
|
5033
5041
|
*/
|
|
5034
5042
|
CreateTime?: string;
|
|
5035
5043
|
/**
|
|
5036
|
-
*
|
|
5044
|
+
* <p>主机名</p>
|
|
5037
5045
|
*/
|
|
5038
5046
|
MachineName?: string;
|
|
5039
5047
|
/**
|
|
5040
|
-
* 0: bash日志 1: 实时监控(雷霆版)
|
|
5048
|
+
* <p>0: bash日志 1: 实时监控(雷霆版)</p>
|
|
5041
5049
|
*/
|
|
5042
5050
|
DetectBy?: number;
|
|
5043
5051
|
/**
|
|
5044
|
-
*
|
|
5052
|
+
* <p>进程id</p>
|
|
5045
5053
|
*/
|
|
5046
5054
|
Pid?: string;
|
|
5047
5055
|
/**
|
|
5048
|
-
*
|
|
5056
|
+
* <p>进程名称</p>
|
|
5049
5057
|
*/
|
|
5050
5058
|
Exe?: string;
|
|
5051
5059
|
/**
|
|
5052
|
-
*
|
|
5060
|
+
* <p>处理时间</p>
|
|
5053
5061
|
*/
|
|
5054
5062
|
ModifyTime?: string;
|
|
5055
5063
|
/**
|
|
5056
|
-
*
|
|
5064
|
+
* <p>规则类别 0=系统规则,1=用户规则</p>
|
|
5057
5065
|
*/
|
|
5058
5066
|
RuleCategory?: number;
|
|
5059
5067
|
/**
|
|
5060
|
-
*
|
|
5068
|
+
* <p>转义后的正则表达式</p>
|
|
5061
5069
|
*/
|
|
5062
5070
|
RegexBashCmd?: string;
|
|
5063
5071
|
/**
|
|
5064
|
-
*
|
|
5072
|
+
* <p>转义后的正则表达式</p>
|
|
5065
5073
|
*/
|
|
5066
5074
|
RegexExe?: string;
|
|
5067
5075
|
/**
|
|
5068
|
-
* 0:普通 1:专业版 2
|
|
5076
|
+
* <p>0:普通 1:专业版 2:旗舰版</p>
|
|
5069
5077
|
*/
|
|
5070
5078
|
MachineType?: number;
|
|
5071
5079
|
/**
|
|
5072
|
-
*
|
|
5080
|
+
* <p>机器额外信息</p>
|
|
5073
5081
|
*/
|
|
5074
5082
|
MachineExtraInfo?: MachineExtraInfo;
|
|
5083
|
+
/**
|
|
5084
|
+
* <p>告警次数:同一聚合维度当天的告警命中次数,老数据为空</p>
|
|
5085
|
+
*/
|
|
5086
|
+
EventCount?: number;
|
|
5087
|
+
/**
|
|
5088
|
+
* <p>首次发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
|
|
5089
|
+
*/
|
|
5090
|
+
FirstDetectTime?: string;
|
|
5091
|
+
/**
|
|
5092
|
+
* <p>最近发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
|
|
5093
|
+
*/
|
|
5094
|
+
LatestDetectTime?: string;
|
|
5075
5095
|
}
|
|
5076
5096
|
/**
|
|
5077
5097
|
* DeleteLoginWhiteList返回参数结构体
|
|
@@ -18222,73 +18242,77 @@ export interface DescribeWarningHostConfigRequest {
|
|
|
18222
18242
|
*/
|
|
18223
18243
|
export interface BashPolicy {
|
|
18224
18244
|
/**
|
|
18225
|
-
*
|
|
18245
|
+
* <p>策略名称</p>
|
|
18226
18246
|
*/
|
|
18227
18247
|
Name: string;
|
|
18228
18248
|
/**
|
|
18229
|
-
* 1:有效 0
|
|
18249
|
+
* <p>1:有效 0:无效</p>
|
|
18230
18250
|
*/
|
|
18231
18251
|
Enable: number;
|
|
18232
18252
|
/**
|
|
18233
|
-
* 0:黑名单 1
|
|
18253
|
+
* <p>0:黑名单 1:白名单</p>
|
|
18234
18254
|
*/
|
|
18235
18255
|
White: number;
|
|
18236
18256
|
/**
|
|
18237
|
-
* 0:告警 1:白名单 2
|
|
18257
|
+
* <p>0:告警 1:白名单 2:拦截</p>
|
|
18238
18258
|
*/
|
|
18239
18259
|
BashAction: number;
|
|
18240
18260
|
/**
|
|
18241
|
-
*
|
|
18261
|
+
* <p>正则表达式 base64 加密,该字段废弃,如果写入则自动替换为Rules.Process.CmdLine</p>
|
|
18242
18262
|
*/
|
|
18243
18263
|
Rule: string;
|
|
18244
18264
|
/**
|
|
18245
|
-
*
|
|
18265
|
+
* <p>危险等级(0:无,1: 高危 2:中危 3: 低危)</p>
|
|
18246
18266
|
*/
|
|
18247
18267
|
Level: number;
|
|
18248
18268
|
/**
|
|
18249
|
-
*
|
|
18269
|
+
* <p>生效范围(0:一组quuid 1:所有专业版(包含旗舰版) 2:所有旗舰版 3:所有主机)</p>
|
|
18250
18270
|
*/
|
|
18251
18271
|
Scope: number;
|
|
18252
18272
|
/**
|
|
18253
|
-
*
|
|
18273
|
+
* <p>策略ID</p>
|
|
18254
18274
|
*/
|
|
18255
18275
|
Id?: number;
|
|
18256
18276
|
/**
|
|
18257
|
-
*
|
|
18277
|
+
* <p>策略描述</p>
|
|
18258
18278
|
*/
|
|
18259
18279
|
Descript?: string;
|
|
18260
18280
|
/**
|
|
18261
|
-
*
|
|
18281
|
+
* <p>事件列表点击“加入白名单”时,需要传EventId 事件的id</p>
|
|
18262
18282
|
*/
|
|
18263
18283
|
EventId?: number;
|
|
18264
18284
|
/**
|
|
18265
|
-
*
|
|
18285
|
+
* <p>是否处理旧事件为白名单 0=不处理 1=处理</p>
|
|
18266
18286
|
*/
|
|
18267
18287
|
DealOldEvents?: number;
|
|
18268
18288
|
/**
|
|
18269
|
-
*
|
|
18289
|
+
* <p>生效主机的QUUID集合</p>
|
|
18270
18290
|
*/
|
|
18271
18291
|
Quuids?: Array<string>;
|
|
18272
18292
|
/**
|
|
18273
|
-
*
|
|
18293
|
+
* <p>策略类型,0:系统 1:用户</p>
|
|
18274
18294
|
*/
|
|
18275
18295
|
Category?: number;
|
|
18276
18296
|
/**
|
|
18277
|
-
*
|
|
18297
|
+
* <p>创建时间</p>
|
|
18278
18298
|
*/
|
|
18279
18299
|
CreateTime?: string;
|
|
18280
18300
|
/**
|
|
18281
|
-
*
|
|
18301
|
+
* <p>修改时间</p>
|
|
18282
18302
|
*/
|
|
18283
18303
|
ModifyTime?: string;
|
|
18284
18304
|
/**
|
|
18285
|
-
*
|
|
18305
|
+
* <p>老版本兼容可能会用到</p>
|
|
18286
18306
|
*/
|
|
18287
18307
|
Uuids?: Array<string>;
|
|
18288
18308
|
/**
|
|
18289
|
-
*
|
|
18309
|
+
* <p>规则表达式</p>
|
|
18290
18310
|
*/
|
|
18291
18311
|
Rules?: PolicyRules;
|
|
18312
|
+
/**
|
|
18313
|
+
* <p>匹配类型:0-命令行(默认) 1-文件操作</p>
|
|
18314
|
+
*/
|
|
18315
|
+
MatchType?: number;
|
|
18292
18316
|
}
|
|
18293
18317
|
/**
|
|
18294
18318
|
* ModifyBanWhiteList返回参数结构体
|
|
@@ -21027,117 +21051,169 @@ export interface ExportBaselineEffectHostListResponse {
|
|
|
21027
21051
|
*/
|
|
21028
21052
|
export interface BashEventsInfoNew {
|
|
21029
21053
|
/**
|
|
21030
|
-
*
|
|
21054
|
+
* <p>数据ID</p>
|
|
21031
21055
|
*/
|
|
21032
21056
|
Id?: number;
|
|
21033
21057
|
/**
|
|
21034
|
-
*
|
|
21058
|
+
* <p>主机安全ID</p>
|
|
21035
21059
|
*/
|
|
21036
21060
|
Uuid?: string;
|
|
21037
21061
|
/**
|
|
21038
|
-
*
|
|
21062
|
+
* <p>主机ID</p>
|
|
21039
21063
|
*/
|
|
21040
21064
|
Quuid?: string;
|
|
21041
21065
|
/**
|
|
21042
|
-
*
|
|
21066
|
+
* <p>主机内网IP</p>
|
|
21043
21067
|
*/
|
|
21044
21068
|
HostIp?: string;
|
|
21045
21069
|
/**
|
|
21046
|
-
*
|
|
21070
|
+
* <p>平台类型</p>
|
|
21047
21071
|
*/
|
|
21048
21072
|
Platform?: number;
|
|
21049
21073
|
/**
|
|
21050
|
-
*
|
|
21074
|
+
* <p>执行命令</p>
|
|
21051
21075
|
*/
|
|
21052
21076
|
BashCmd?: string;
|
|
21053
21077
|
/**
|
|
21054
|
-
*
|
|
21078
|
+
* <p>规则ID,等于0表示已规则已被删除或生效范围已修改</p>
|
|
21055
21079
|
*/
|
|
21056
21080
|
RuleId?: number;
|
|
21057
21081
|
/**
|
|
21058
|
-
*
|
|
21082
|
+
* <p>规则名称</p>
|
|
21059
21083
|
*/
|
|
21060
21084
|
RuleName?: string;
|
|
21061
21085
|
/**
|
|
21062
|
-
*
|
|
21086
|
+
* <p>规则等级:1-高 2-中 3-低</p>
|
|
21063
21087
|
*/
|
|
21064
21088
|
RuleLevel?: number;
|
|
21065
21089
|
/**
|
|
21066
|
-
*
|
|
21090
|
+
* <p>处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3= 已忽略</p>
|
|
21067
21091
|
*/
|
|
21068
21092
|
Status?: number;
|
|
21069
21093
|
/**
|
|
21070
|
-
*
|
|
21094
|
+
* <p>发生时间</p>
|
|
21071
21095
|
*/
|
|
21072
21096
|
CreateTime?: string;
|
|
21073
21097
|
/**
|
|
21074
|
-
*
|
|
21098
|
+
* <p>主机名</p>
|
|
21075
21099
|
*/
|
|
21076
21100
|
MachineName?: string;
|
|
21077
21101
|
/**
|
|
21078
|
-
*
|
|
21102
|
+
* <p>进程名称</p>
|
|
21079
21103
|
*/
|
|
21080
21104
|
Exe?: string;
|
|
21081
21105
|
/**
|
|
21082
|
-
*
|
|
21106
|
+
* <p>处理时间</p>
|
|
21083
21107
|
*/
|
|
21084
21108
|
ModifyTime?: string;
|
|
21085
21109
|
/**
|
|
21086
|
-
*
|
|
21110
|
+
* <p>规则类别 0=系统规则,1=用户规则</p>
|
|
21087
21111
|
*/
|
|
21088
21112
|
RuleCategory?: number;
|
|
21089
21113
|
/**
|
|
21090
|
-
*
|
|
21114
|
+
* <p>自动生成的正则表达式</p>
|
|
21091
21115
|
*/
|
|
21092
21116
|
RegexBashCmd?: string;
|
|
21093
21117
|
/**
|
|
21094
|
-
*
|
|
21118
|
+
* <p>进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源</p>
|
|
21095
21119
|
*/
|
|
21096
21120
|
PsTree?: string;
|
|
21097
21121
|
/**
|
|
21098
|
-
*
|
|
21122
|
+
* <p>建议方案</p>
|
|
21099
21123
|
*/
|
|
21100
21124
|
SuggestScheme?: string;
|
|
21101
21125
|
/**
|
|
21102
|
-
*
|
|
21126
|
+
* <p>描述</p>
|
|
21103
21127
|
*/
|
|
21104
21128
|
HarmDescribe?: string;
|
|
21105
21129
|
/**
|
|
21106
|
-
*
|
|
21130
|
+
* <p>标签</p>
|
|
21107
21131
|
*/
|
|
21108
21132
|
Tags?: Array<string>;
|
|
21109
21133
|
/**
|
|
21110
|
-
*
|
|
21134
|
+
* <p>参考链接</p>
|
|
21111
21135
|
*/
|
|
21112
21136
|
References?: Array<string>;
|
|
21113
21137
|
/**
|
|
21114
|
-
*
|
|
21138
|
+
* <p>主机外网ip</p>
|
|
21115
21139
|
*/
|
|
21116
21140
|
MachineWanIp?: string;
|
|
21117
21141
|
/**
|
|
21118
|
-
*
|
|
21142
|
+
* <p>主机在线状态 OFFLINE ONLINE</p>
|
|
21119
21143
|
*/
|
|
21120
21144
|
MachineStatus?: string;
|
|
21121
21145
|
/**
|
|
21122
|
-
*
|
|
21146
|
+
* <p>登录用户</p>
|
|
21123
21147
|
*/
|
|
21124
21148
|
User?: string;
|
|
21125
21149
|
/**
|
|
21126
|
-
*
|
|
21150
|
+
* <p>进程号</p>
|
|
21127
21151
|
*/
|
|
21128
21152
|
Pid?: string;
|
|
21129
21153
|
/**
|
|
21130
|
-
* 0:普通 1:专业版 2
|
|
21154
|
+
* <p>0:普通 1:专业版 2:旗舰版</p>
|
|
21131
21155
|
*/
|
|
21132
21156
|
MachineType?: number;
|
|
21133
21157
|
/**
|
|
21134
|
-
*
|
|
21158
|
+
* <p>检测来源 0:bash日志 1:实时监控</p>
|
|
21135
21159
|
*/
|
|
21136
21160
|
DetectBy?: number;
|
|
21137
21161
|
/**
|
|
21138
|
-
*
|
|
21162
|
+
* <p>执行命令(解码后)</p>
|
|
21139
21163
|
*/
|
|
21140
21164
|
BashCmdDecoded?: string;
|
|
21165
|
+
/**
|
|
21166
|
+
* <p>告警次数:同一聚合维度当天的告警命中次数,老数据为空</p>
|
|
21167
|
+
*/
|
|
21168
|
+
EventCount?: number;
|
|
21169
|
+
/**
|
|
21170
|
+
* <p>首次发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
|
|
21171
|
+
*/
|
|
21172
|
+
FirstDetectTime?: string;
|
|
21173
|
+
/**
|
|
21174
|
+
* <p>最近发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
|
|
21175
|
+
*/
|
|
21176
|
+
LatestDetectTime?: string;
|
|
21177
|
+
/**
|
|
21178
|
+
* <p>进程MD5(文件监控行为独有)</p>
|
|
21179
|
+
*/
|
|
21180
|
+
FileProcessMd5?: string;
|
|
21181
|
+
/**
|
|
21182
|
+
* <p>动作:进程对文件的操作,如 读/写/重命名/删除/清空内容(文件监控行为独有)</p>
|
|
21183
|
+
*/
|
|
21184
|
+
FileAction?: string;
|
|
21185
|
+
/**
|
|
21186
|
+
* <p>文件路径(文件监控行为独有)</p>
|
|
21187
|
+
*/
|
|
21188
|
+
FilePath?: string;
|
|
21189
|
+
/**
|
|
21190
|
+
* <p>文件MD5(文件监控行为独有)</p>
|
|
21191
|
+
*/
|
|
21192
|
+
FileMd5?: string;
|
|
21193
|
+
/**
|
|
21194
|
+
* <p>文件名称(文件监控行为独有)</p>
|
|
21195
|
+
*/
|
|
21196
|
+
FileName?: string;
|
|
21197
|
+
/**
|
|
21198
|
+
* <p>文件大小(文件监控行为独有)</p>
|
|
21199
|
+
*/
|
|
21200
|
+
FileSize?: string;
|
|
21201
|
+
/**
|
|
21202
|
+
* <p>文件修改时间(文件监控行为独有)</p>
|
|
21203
|
+
*/
|
|
21204
|
+
FileModifyTime?: string;
|
|
21205
|
+
/**
|
|
21206
|
+
* <p>文件权限(文件监控行为独有)</p>
|
|
21207
|
+
*/
|
|
21208
|
+
FilePermission?: string;
|
|
21209
|
+
/**
|
|
21210
|
+
* <p>文件访问时间</p>
|
|
21211
|
+
*/
|
|
21212
|
+
FileAccessTime?: string;
|
|
21213
|
+
/**
|
|
21214
|
+
* <p>高危命令事件类型</p><p>枚举值:</p><ul><li>filemon: 文件监控事件</li><li>connect: 外联行为事件</li><li>process: 进程启动事件</li></ul>
|
|
21215
|
+
*/
|
|
21216
|
+
BashType?: string;
|
|
21141
21217
|
}
|
|
21142
21218
|
/**
|
|
21143
21219
|
* ModifyLogKafkaAccess请求参数结构体
|
|
@@ -11644,51 +11644,51 @@ export interface CreateBackupRequest {
|
|
|
11644
11644
|
*/
|
|
11645
11645
|
export interface RedoLogItem {
|
|
11646
11646
|
/**
|
|
11647
|
-
*
|
|
11647
|
+
* <p>文件名</p>
|
|
11648
11648
|
*/
|
|
11649
11649
|
FileName?: string;
|
|
11650
11650
|
/**
|
|
11651
|
-
*
|
|
11651
|
+
* <p>文件大小</p>
|
|
11652
11652
|
*/
|
|
11653
11653
|
FileSize?: number;
|
|
11654
11654
|
/**
|
|
11655
|
-
*
|
|
11655
|
+
* <p>备份时间</p>
|
|
11656
11656
|
*/
|
|
11657
11657
|
BackupTime?: string;
|
|
11658
11658
|
/**
|
|
11659
|
-
* redoLogId
|
|
11659
|
+
* <p>redoLogId</p>
|
|
11660
11660
|
*/
|
|
11661
11661
|
RedoLogId?: number;
|
|
11662
11662
|
/**
|
|
11663
|
-
*
|
|
11663
|
+
* <p>跨地域信息</p>
|
|
11664
11664
|
*/
|
|
11665
11665
|
RedoCrossRegions?: Array<BackupRegionAndIds>;
|
|
11666
11666
|
/**
|
|
11667
|
-
*
|
|
11667
|
+
* <p>状态</p>
|
|
11668
11668
|
*/
|
|
11669
11669
|
Status?: string;
|
|
11670
11670
|
/**
|
|
11671
|
-
*
|
|
11671
|
+
* <p>开始时间</p>
|
|
11672
11672
|
*/
|
|
11673
11673
|
StartTime?: string;
|
|
11674
11674
|
/**
|
|
11675
|
-
*
|
|
11675
|
+
* <p>完成时间</p>
|
|
11676
11676
|
*/
|
|
11677
11677
|
FinishTime?: string;
|
|
11678
11678
|
/**
|
|
11679
|
-
*
|
|
11679
|
+
* <p>保险箱信息</p>
|
|
11680
11680
|
*/
|
|
11681
11681
|
VaultInfos?: Array<VaultInfo>;
|
|
11682
11682
|
/**
|
|
11683
|
-
*
|
|
11683
|
+
* <p>备份投递状态</p>
|
|
11684
11684
|
*/
|
|
11685
11685
|
CopyStatus?: string;
|
|
11686
11686
|
/**
|
|
11687
|
-
*
|
|
11687
|
+
* <p>加密秘钥key</p>
|
|
11688
11688
|
*/
|
|
11689
11689
|
EncryptKeyId?: string;
|
|
11690
11690
|
/**
|
|
11691
|
-
*
|
|
11691
|
+
* <p>加密秘钥地域</p>
|
|
11692
11692
|
*/
|
|
11693
11693
|
EncryptRegion?: string;
|
|
11694
11694
|
}
|
|
@@ -2003,7 +2003,7 @@ export interface ListWorkflowRunsRequest {
|
|
|
2003
2003
|
*/
|
|
2004
2004
|
PageSize?: number;
|
|
2005
2005
|
/**
|
|
2006
|
-
* <p>工作流ID,精确匹配。非必填,单值</p>
|
|
2006
|
+
* <p>工作流ID,精确匹配。非必填,单值</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/1835/138002">ListWorkflows</a> 返回值 <code>Data</code></p>
|
|
2007
2007
|
*/
|
|
2008
2008
|
WorkflowId?: string;
|
|
2009
2009
|
/**
|
|
@@ -2917,19 +2917,19 @@ export interface GetSchemaResponse {
|
|
|
2917
2917
|
*/
|
|
2918
2918
|
export interface TagValueInfo {
|
|
2919
2919
|
/**
|
|
2920
|
-
*
|
|
2920
|
+
* <p>标签值ID。ID 模式写接口(UpdateWorkspaceUsersTags / UpdateWorkspaceGroupsTags)中必填,可通过 ListTags 接口出参 Items[].TagValues[].TagValueId 获取,也可通过 CreateTagValues 创建后获取;按名称模式接口(AttachWorkspaceUserTags / DetachWorkspaceUserTags)中无需传入;查询接口出参中回填。ID 不存在或已删除时接口报错 TagValueNotExist</p>
|
|
2921
2921
|
*/
|
|
2922
2922
|
TagValueId?: string;
|
|
2923
2923
|
/**
|
|
2924
|
-
*
|
|
2924
|
+
* <p>标签值内容。按名称模式接口(AttachWorkspaceUserTags / DetachWorkspaceUserTags)中必填;ID 模式写接口(UpdateWorkspaceUsersTags / UpdateWorkspaceGroupsTags)中无需传入,服务端忽略;查询接口出参中回填</p>
|
|
2925
2925
|
*/
|
|
2926
2926
|
TagValue?: string;
|
|
2927
2927
|
/**
|
|
2928
|
-
*
|
|
2928
|
+
* <p>标签来源,枚举值:0=未指定 1=用户直绑 2=用户组继承 3=两者都有。仅查询接口出参中返回;所有写接口均无需传入,服务端忽略</p>
|
|
2929
2929
|
*/
|
|
2930
2930
|
Source?: number;
|
|
2931
2931
|
/**
|
|
2932
|
-
*
|
|
2932
|
+
* <p>继承来源的用户组名称列表(标签来源 Source=1 用户直绑时为空)。仅查询接口出参中返回;所有写接口均无需传入,服务端忽略</p>
|
|
2933
2933
|
*/
|
|
2934
2934
|
GroupNames?: Array<string>;
|
|
2935
2935
|
}
|
|
@@ -3999,15 +3999,15 @@ export interface ListConsoleRolesRsp {
|
|
|
3999
3999
|
*/
|
|
4000
4000
|
export interface UserTagInfo {
|
|
4001
4001
|
/**
|
|
4002
|
-
* <p>标签维度ID</p>
|
|
4002
|
+
* <p>标签维度ID。ID 模式写接口(UpdateWorkspaceUsersTags / UpdateWorkspaceGroupsTags)中必填,可通过 ListTags 接口出参 Items[].TagId 获取,也可通过 CreateTags 创建后获取;按名称模式接口(AttachWorkspaceUserTags / DetachWorkspaceUserTags)中无需传入;查询接口出参中回填。ID 不存在或已删除时接口报错 TagNotExist</p>
|
|
4003
4003
|
*/
|
|
4004
4004
|
TagId?: string;
|
|
4005
4005
|
/**
|
|
4006
|
-
* <p
|
|
4006
|
+
* <p>标签名称。按名称模式接口(AttachWorkspaceUserTags / DetachWorkspaceUserTags)中必填;ID 模式写接口(UpdateWorkspaceUsersTags / UpdateWorkspaceGroupsTags)中无需传入,服务端忽略;查询接口出参中回填</p>
|
|
4007
4007
|
*/
|
|
4008
4008
|
TagName?: string;
|
|
4009
4009
|
/**
|
|
4010
|
-
* <p
|
|
4010
|
+
* <p>该标签维度下绑定的标签值集合,元素结构见 TagValueInfo。ID 模式写接口中元素 TagValueId 必填;按名称模式接口中元素 TagValue 必填;查询接口出参中回填</p>
|
|
4011
4011
|
*/
|
|
4012
4012
|
Values?: Array<TagValueInfo>;
|
|
4013
4013
|
}
|
|
@@ -4802,7 +4802,7 @@ export interface ListWorkflowsRequest {
|
|
|
4802
4802
|
*/
|
|
4803
4803
|
WorkflowNames?: Array<string>;
|
|
4804
4804
|
/**
|
|
4805
|
-
* <p>工作流ID,精确匹配。非必填,多选(多个值之间为 OR 关系)</p>
|
|
4805
|
+
* <p>工作流ID,精确匹配。非必填,多选(多个值之间为 OR 关系)</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/1835/138002">ListWorkflows</a> 返回值 <code>Data</code></p>
|
|
4806
4806
|
*/
|
|
4807
4807
|
WorkflowIds?: Array<string>;
|
|
4808
4808
|
/**
|
|
@@ -4818,11 +4818,11 @@ export interface ListWorkflowsRequest {
|
|
|
4818
4818
|
*/
|
|
4819
4819
|
LabelValueIds?: Array<string>;
|
|
4820
4820
|
/**
|
|
4821
|
-
* <p
|
|
4821
|
+
* <p>快速筛选类型。非必填,单值,当前仅支持 MY_FAVORITE(我收藏的)</p>
|
|
4822
4822
|
*/
|
|
4823
4823
|
QuickSelectionType?: string;
|
|
4824
4824
|
/**
|
|
4825
|
-
* <p
|
|
4825
|
+
* <p>排序条件,多个之间按数组顺序表示优先级。非必填。可排序字段白名单:CreateTime</p>
|
|
4826
4826
|
*/
|
|
4827
4827
|
OrderBys?: Array<OrderBy>;
|
|
4828
4828
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeSlowLogTimeSeriesStatsRequest, DescribeUserAutonomyProfileRequest, DescribeMetricTopProxiesResponse, DescribeDBAuditLogTopSqlsRequest, DescribeDBAutonomyActionsRequest, CancelDBAutonomyActionResponse, OpenAuditServiceResponse, DescribeUserAutonomyProfileResponse, DescribeTopSpaceTablesV2Request, DescribeRedisTopHotKeysRequest, CreateDBDiagReportTaskRequest, DescribeDBDiagReportContentRequest, DescribeAuditLogFilesResponse, DescribeIndexRecommendAggregationSlowLogsRequest, DescribeSlowLogsRequest, DescribeRedisCmdPerfTimeSeriesRequest, CreateRedisBigKeyAnalysisTaskResponse, UpdateDatabaseAutonomyStatusRequest, CreateSecurityAuditLogExportTaskRequest, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagEventResponse, DescribeDBDiagHistoryRequest, DescribeDBAutonomyActionsResponse, DescribeSlowLogTopSqlsRequest, DescribeRedisBigKeyAnalysisTasksResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, CancelKillTaskResponse, DescribeRedisTopBigKeysResponse, DescribeSqlTemplateRequest, DescribeTopSpaceSchemaTimeSeriesResponse, ModifySqlFiltersRequest, CreateKillTaskResponse, DescribeAuditInstanceListResponse, DescribeRedisSlowLogTopSqlsResponse, DescribeDBInstancesResponse, CreateUserAutonomyProfileResponse, DescribeProxySessionKillTasksRequest, ModifyAlarmPolicyResponse, ModifyUserAutonomyProfileResponse, DescribeIndexRecommendInfoResponse, CreateRedisBigKeyAnalysisTaskRequest, DescribeMySqlProcessListResponse, UpdateMonitorSwitchRequest, DescribeRedisSlowLogTopSqlsRequest, DescribeDBAuditLogsRequest, DescribeTopSpaceTablesResponse, DescribeMongoDBProcessListRequest, DescribeDatabaseAutonomyStatusRequest, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DescribeDBAutonomyEventsResponse, DeleteAuditLogFileResponse, DescribeDBSpaceStatusRequest, DescribeRedisProcessListRequest,
|
|
3
|
+
import { DescribeSlowLogTimeSeriesStatsRequest, DescribeUserAutonomyProfileRequest, DescribeMetricTopProxiesResponse, DescribeDBAuditLogTopSqlsRequest, DescribeDBAutonomyActionsRequest, CancelDBAutonomyActionResponse, OpenAuditServiceResponse, DescribeUserAutonomyProfileResponse, DescribeTopSpaceTablesV2Request, DescribeRedisTopHotKeysRequest, CreateDBDiagReportTaskRequest, DescribeDBDiagReportContentRequest, DescribeAuditLogFilesResponse, DescribeIndexRecommendAggregationSlowLogsRequest, DescribeSlowLogsRequest, DescribeRedisCmdPerfTimeSeriesRequest, CreateRedisBigKeyAnalysisTaskResponse, UpdateDatabaseAutonomyStatusRequest, CreateSecurityAuditLogExportTaskRequest, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagEventResponse, DescribeDBDiagHistoryRequest, DescribeDBAutonomyActionsResponse, DescribeSlowLogTopSqlsRequest, DescribeRedisBigKeyAnalysisTasksResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, CancelKillTaskResponse, DescribeRedisTopBigKeysResponse, DescribeSqlTemplateRequest, DescribeTopSpaceSchemaTimeSeriesResponse, ModifySqlFiltersRequest, CreateKillTaskResponse, DescribeAuditInstanceListResponse, DescribeRedisSlowLogTopSqlsResponse, DescribeDBInstancesResponse, CreateUserAutonomyProfileResponse, DescribeProxySessionKillTasksRequest, ModifyAlarmPolicyResponse, ModifyUserAutonomyProfileResponse, DescribeIndexRecommendInfoResponse, CreateRedisBigKeyAnalysisTaskRequest, DescribeMySqlProcessListResponse, UpdateMonitorSwitchRequest, DescribeRedisSlowLogTopSqlsRequest, DescribeDBAuditLogsRequest, DescribeTopSpaceTablesResponse, DescribeMongoDBProcessListRequest, DescribeDatabaseAutonomyStatusRequest, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DescribeDBAutonomyEventsResponse, DeleteAuditLogFileResponse, DescribeDBSpaceStatusRequest, DescribeRedisProcessListRequest, DescribeBlockingLogsRequest, ModifyDiagDBInstanceConfRequest, DescribeSlowLogsResponse, DescribeDBDiagEventsRequest, DescribeDBInstancesRequest, CreateDBDiagReportUrlsResponse, DescribeDBAutonomyActionRequest, DescribeRedisTopKeyPrefixListRequest, CancelKillTaskRequest, CreateIgnoreDiagRecordResponse, CreateAuditLogFileResponse, DescribeDatabaseAutonomyStatusResponse, DeleteSqlFiltersResponse, DescribeHealthScoreTimeSeriesRequest, CreateDBDiagReportTaskResponse, CreateDBDiagReportUrlsRequest, CreateDBDiagReportUrlResponse, DescribeRedisUnExpiredKeyStatisticsResponse, CreateProxySessionKillTaskRequest, DeleteDBDiagReportTasksResponse, DescribeProxyProcessStatisticsResponse, DescribeHealthScoreTimeSeriesResponse, UpdateAgentSwitchRequest, DescribeRedisCmdPerfTimeSeriesResponse, ModifySqlFiltersResponse, CreateMailProfileRequest, UpdateAgentSwitchResponse, VerifyUserAccountRequest, DescribeSlowLogUserHostStatsResponse, DescribeIndexRecommendInfoRequest, DescribeMailProfileRequest, ModifyAuditServiceRequest, DeleteSecurityAuditLogExportTasksResponse, KillMySqlThreadsRequest, DescribeSqlFiltersResponse, CreateDBDiagReportUrlRequest, CloseAuditServiceResponse, UpdateDatabaseAutonomyStatusResponse, DeleteRedisBigKeyAnalysisTasksResponse, CloseAuditServiceRequest, DescribeSqlTemplateResponse, DescribeRedisTopCostCommandsRequest, DescribeDBDiagHistoryResponse, CreateUserAutonomyProfileRequest, DescribeDBDiagEventRequest, DescribeAllUserContactResponse, DescribeRedisCommandCostStatisticsResponse, CancelDBAutonomyEventResponse, AddUserContactRequest, CreateSqlFilterRequest, CreateMongoDBKillTaskRequest, DescribeTopSpaceTablesRequest, DescribeRedisTopCostCommandsResponse, OpenAuditServiceRequest, DescribeDBAuditLogsResponse, DescribeAllUserContactRequest, DescribeNoPrimaryKeyTablesRequest, DescribeTopSpaceSchemasRequest, DescribeAuditInstanceListRequest, DescribeRedisBigKeyAnalysisTasksRequest, DescribeSqlFiltersRequest, DescribeSecurityAuditLogExportTasksRequest, DescribeRedisUnExpiredKeyStatisticsRequest, DeleteSecurityAuditLogExportTasksRequest, CreateSchedulerMailProfileResponse, DescribeAlarmTemplateResponse, DescribeBlockingLogsResponse, DescribeNoPrimaryKeyTablesResponse, DescribeTopSpaceSchemaTimeSeriesRequest, DescribeDBAuditLogTopSqlsResponse, DescribeIndexRecommendAggregationSlowLogsResponse, DescribeDatabaseObjectV2Response, DescribeDBDiagEventsResponse, DescribeMailProfileResponse, DescribeRedisTopBigKeysRequest, ModifyUserAutonomyProfileRequest, DescribeMetricTopProxiesRequest, CancelRedisBigKeyAnalysisTasksRequest, ModifyAuditServiceResponse, DescribeDBAutonomyEventsRequest, DescribeHealthScoreRequest, CreateIgnoreDiagRecordRequest, DeleteRedisBigKeyAnalysisTasksRequest, DescribeDeadLockLogsResponse, DescribeDiagDBInstancesResponse, DescribeAllUserGroupRequest, CreateKillTaskRequest, DescribeRedisTopHotKeysResponse, CreateSecurityAuditLogExportTaskResponse, DescribeRedisCommandOverviewResponse, CreateSqlFilterResponse, DescribeSlowLogUserHostStatsRequest, DescribeTopSpaceSchemasResponse, DescribeDeadLockLogsRequest, DescribeSlowLogQueryTimeStatsResponse, CreateProxySessionKillTaskResponse, CancelDBAutonomyActionRequest, DeleteDBDiagReportTasksRequest, DescribeAlarmTemplateRequest, VerifyUserAccountResponse, DescribeSlowLogTimeSeriesStatsResponse, DescribeProxyProcessStatisticsRequest, DescribeRedisCommandCostStatisticsRequest, ModifyAlarmPolicyRequest, CreateMongoDBKillTaskResponse, DescribeRedisCommandOverviewRequest, DescribeAllUserGroupResponse, UpdateMonitorSwitchResponse, DescribeRedisProcessListResponse, CreateAuditLogFileRequest, DeleteAuditLogFileRequest, ModifyDiagDBInstanceConfResponse, DescribeTopSpaceTablesV2Response, DescribeUserSqlAdviceResponse, DescribeDBSpaceStatusResponse, DescribeSecurityAuditLogDownloadUrlsRequest, CancelDBAutonomyEventRequest, DescribeTopSpaceTableTimeSeriesRequest, DescribeUserSqlAdviceRequest, DescribeDBAutonomyActionResponse, DescribeDBDiagReportTasksRequest, DescribeDBPerfTimeSeriesResponse, DescribeRedisTopKeyPrefixListResponse, DescribeHealthScoreResponse, DescribeMongoDBProcessListResponse, CancelRedisBigKeyAnalysisTasksResponse, DescribeSecurityAuditLogExportTasksResponse, DescribeDBDiagReportContentResponse, DescribeSlowLogTopSqlsResponse, DescribeDatabaseObjectV2Request, DescribeDBPerfTimeSeriesRequest, DescribeAuditLogFilesRequest, DeleteSqlFiltersRequest, CreateMailProfileResponse, DescribeDiagDBInstancesRequest, DescribeMySqlProcessListRequest, DescribeSecurityAuditLogDownloadUrlsResponse, DescribeSlowLogQueryTimeStatsRequest, DescribeProxySessionKillTasksResponse } from "./dbbrain_models";
|
|
4
4
|
/**
|
|
5
5
|
* dbbrain client
|
|
6
6
|
* @class
|
|
@@ -171,6 +171,10 @@ export declare class Client extends AbstractClient {
|
|
|
171
171
|
* 查询Redis全量Key的内存分布情况。
|
|
172
172
|
*/
|
|
173
173
|
DescribeRedisUnExpiredKeyStatistics(req: DescribeRedisUnExpiredKeyStatisticsRequest, cb?: (error: string, rep: DescribeRedisUnExpiredKeyStatisticsResponse) => void): Promise<DescribeRedisUnExpiredKeyStatisticsResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* 查询指定实例在时间窗口内的阻塞日志扁平明细列表,不建阻塞树。每一条Item对应一次blocked_process_report(一条blocker→blocked边)在某一次monitorLoop内被lock monitor捕获的瞬时数据。支持按ReportTime / DurationMs / BlockedWaitTimeMs / BlockingWaitTimeMs升降序排序,并支持根因、数据库名、头SQL / 被阻塞SQL MD5、会话ID、登录名、客户端主机 / 应用、被阻塞锁模式、等待时长范围过滤与分页。适合普通表格展示与二次过滤;若需查看某个采集点的完整链路拓扑,请透传返回的MonitorLoop调用DescribeBlockingLockTree。注意:同一blocker→blocked会话对跨monitorLoop连续采集场景下会产生多条明细行,若需统计发生多少次阻塞请按(BlockingSessionId, BlockedSessionId, BlockedWaitResource)自行去重。时间字段按服务端时区UTC+8解析,建议单次查询跨度≤7天。
|
|
176
|
+
*/
|
|
177
|
+
DescribeBlockingLogs(req: DescribeBlockingLogsRequest, cb?: (error: string, rep: DescribeBlockingLogsResponse) => void): Promise<DescribeBlockingLogsResponse>;
|
|
174
178
|
/**
|
|
175
179
|
* 统计排序指定时间段内的top慢sql。
|
|
176
180
|
*/
|
|
@@ -273,6 +273,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
273
273
|
async DescribeRedisUnExpiredKeyStatistics(req, cb) {
|
|
274
274
|
return this.request("DescribeRedisUnExpiredKeyStatistics", req, cb);
|
|
275
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* 查询指定实例在时间窗口内的阻塞日志扁平明细列表,不建阻塞树。每一条Item对应一次blocked_process_report(一条blocker→blocked边)在某一次monitorLoop内被lock monitor捕获的瞬时数据。支持按ReportTime / DurationMs / BlockedWaitTimeMs / BlockingWaitTimeMs升降序排序,并支持根因、数据库名、头SQL / 被阻塞SQL MD5、会话ID、登录名、客户端主机 / 应用、被阻塞锁模式、等待时长范围过滤与分页。适合普通表格展示与二次过滤;若需查看某个采集点的完整链路拓扑,请透传返回的MonitorLoop调用DescribeBlockingLockTree。注意:同一blocker→blocked会话对跨monitorLoop连续采集场景下会产生多条明细行,若需统计发生多少次阻塞请按(BlockingSessionId, BlockedSessionId, BlockedWaitResource)自行去重。时间字段按服务端时区UTC+8解析,建议单次查询跨度≤7天。
|
|
278
|
+
*/
|
|
279
|
+
async DescribeBlockingLogs(req, cb) {
|
|
280
|
+
return this.request("DescribeBlockingLogs", req, cb);
|
|
281
|
+
}
|
|
276
282
|
/**
|
|
277
283
|
* 统计排序指定时间段内的top慢sql。
|
|
278
284
|
*/
|