tencentcloud-sdk-nodejs-cloudaudit 4.0.487 → 4.0.488

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.
@@ -42,15 +42,53 @@ export interface GetAttributeKeyRequest {
42
42
  */
43
43
  WebsiteType?: string;
44
44
  }
45
+ /**
46
+ * 跟踪集存储信息
47
+ */
48
+ export interface Storage {
49
+ /**
50
+ * 存储类型(目前支持 cos、cls)
51
+ */
52
+ StorageType: string;
53
+ /**
54
+ * 存储所在地域
55
+ */
56
+ StorageRegion: string;
57
+ /**
58
+ * 存储名称(cos:存储名称为用户自定义的存储桶名称,不包含"-APPID",仅支持小写字母、数字以及中划线"-"的组合,不能超过50字符,且不支持中划线"-"开头或结尾; cls:存储名称为日志主题id,字符长度为1-50个字符)
59
+ */
60
+ StorageName: string;
61
+ /**
62
+ * 存储目录前缀,cos日志文件前缀仅支持字母和数字的组合,3-40个字符
63
+ */
64
+ StoragePrefix: string;
65
+ }
45
66
  /**
46
67
  * DescribeAuditTracks返回参数结构体
47
68
  */
48
69
  export interface DescribeAuditTracksResponse {
70
+ /**
71
+ * 跟踪集列表
72
+ */
73
+ Tracks: Array<Tracks>;
74
+ /**
75
+ * 总数目
76
+ */
77
+ TotalCount: number;
49
78
  /**
50
79
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
51
80
  */
52
81
  RequestId?: string;
53
82
  }
83
+ /**
84
+ * StartLogging请求参数结构体
85
+ */
86
+ export interface StartLoggingRequest {
87
+ /**
88
+ * 跟踪集名称
89
+ */
90
+ AuditName: string;
91
+ }
54
92
  /**
55
93
  * DeleteAudit返回参数结构体
56
94
  */
@@ -147,13 +185,13 @@ export interface LookUpEventsRequest {
147
185
  Mode?: string;
148
186
  }
149
187
  /**
150
- * StartLogging请求参数结构体
188
+ * DescribeAuditTrack请求参数结构体
151
189
  */
152
- export interface StartLoggingRequest {
190
+ export interface DescribeAuditTrackRequest {
153
191
  /**
154
- * 跟踪集名称
192
+ * 跟踪集 ID
155
193
  */
156
- AuditName: string;
194
+ TrackId: number;
157
195
  }
158
196
  /**
159
197
  * UpdateAudit请求参数结构体
@@ -215,7 +253,53 @@ export interface UpdateAuditRequest {
215
253
  /**
216
254
  * DescribeAuditTracks请求参数结构体
217
255
  */
218
- export declare type DescribeAuditTracksRequest = null;
256
+ export interface DescribeAuditTracksRequest {
257
+ /**
258
+ * 页码
259
+ */
260
+ PageNumber: number;
261
+ /**
262
+ * 每页数目
263
+ */
264
+ PageSize: number;
265
+ }
266
+ /**
267
+ * 跟踪集列表
268
+ */
269
+ export interface Tracks {
270
+ /**
271
+ * 跟踪集名称
272
+ */
273
+ Name: string;
274
+ /**
275
+ * 跟踪事件类型(读:Read;写:Write;全部:*)
276
+ */
277
+ ActionType: string;
278
+ /**
279
+ * 跟踪事件所属产品(如:cos,全部:*)
280
+ */
281
+ ResourceType: string;
282
+ /**
283
+ * 跟踪集状态(未开启:0;开启:1)
284
+ */
285
+ Status: number;
286
+ /**
287
+ * 跟踪事件接口名列表(全部:[*])
288
+ */
289
+ EventNames: Array<string>;
290
+ /**
291
+ * 数据投递存储(目前支持 cos、cls)
292
+ */
293
+ Storage: Storage;
294
+ /**
295
+ * 跟踪集创建时间
296
+ */
297
+ CreateTime: string;
298
+ /**
299
+ * 跟踪集 ID
300
+ */
301
+ TrackId: number;
302
+ }
219
303
  /**
220
304
  * CreateAudit返回参数结构体
221
305
  */
@@ -232,7 +316,12 @@ export interface CreateAuditResponse {
232
316
  /**
233
317
  * DeleteAuditTrack请求参数结构体
234
318
  */
235
- export declare type DeleteAuditTrackRequest = null;
319
+ export interface DeleteAuditTrackRequest {
320
+ /**
321
+ * 跟踪集 ID
322
+ */
323
+ TrackId: number;
324
+ }
236
325
  /**
237
326
  * StartLogging返回参数结构体
238
327
  */
@@ -301,6 +390,10 @@ export interface ListKeyAliasByRegionResponse {
301
390
  * CreateAuditTrack返回参数结构体
302
391
  */
303
392
  export interface CreateAuditTrackResponse {
393
+ /**
394
+ * 跟踪集 ID
395
+ */
396
+ TrackId: number;
304
397
  /**
305
398
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
306
399
  */
@@ -327,7 +420,40 @@ export declare type ListAuditsRequest = null;
327
420
  /**
328
421
  * ModifyAuditTrack请求参数结构体
329
422
  */
330
- export declare type ModifyAuditTrackRequest = null;
423
+ export interface ModifyAuditTrackRequest {
424
+ /**
425
+ * 跟踪集 ID
426
+ */
427
+ TrackId: number;
428
+ /**
429
+ * 跟踪集名称,仅支持大小写字母、数字、-以及_的组合,3-48个字符
430
+ */
431
+ Name?: string;
432
+ /**
433
+ * 跟踪事件类型(读:Read;写:Write;全部:*)
434
+ */
435
+ ActionType?: string;
436
+ /**
437
+ * 跟踪事件所属产品(支持全部产品或单个产品,如:cos,全部:*)
438
+ */
439
+ ResourceType?: string;
440
+ /**
441
+ * 跟踪集状态(未开启:0;开启:1)
442
+ */
443
+ Status?: number;
444
+ /**
445
+ * 跟踪事件接口名列表(ResourceType为 * 时,EventNames必须为全部:["*"];指定ResourceType时,支持全部接口:["*"];支持部分接口:["cos", "cls"],接口列表上限10个)
446
+ */
447
+ EventNames?: Array<string>;
448
+ /**
449
+ * 数据投递存储(目前支持 cos、cls)
450
+ */
451
+ Storage?: Storage;
452
+ /**
453
+ * 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能)
454
+ */
455
+ TrackForAllMembers?: number;
456
+ }
331
457
  /**
332
458
  * StopLogging返回参数结构体
333
459
  */
@@ -344,7 +470,36 @@ export interface StopLoggingResponse {
344
470
  /**
345
471
  * CreateAuditTrack请求参数结构体
346
472
  */
347
- export declare type CreateAuditTrackRequest = null;
473
+ export interface CreateAuditTrackRequest {
474
+ /**
475
+ * 跟踪集名称,仅支持大小写字母、数字、-以及_的组合,3-48个字符
476
+ */
477
+ Name: string;
478
+ /**
479
+ * 跟踪事件类型(读:Read;写:Write;全部:*)
480
+ */
481
+ ActionType: string;
482
+ /**
483
+ * 跟踪事件所属产品(支持全部产品或单个产品,如:cos,全部:*)
484
+ */
485
+ ResourceType: string;
486
+ /**
487
+ * 跟踪集状态(未开启:0;开启:1)
488
+ */
489
+ Status: number;
490
+ /**
491
+ * 跟踪事件接口名列表(ResourceType为 * 时,EventNames必须为全部:["*"];指定ResourceType时,支持全部接口:["*"];支持部分接口:["cos", "cls"],接口列表上限10个)
492
+ */
493
+ EventNames: Array<string>;
494
+ /**
495
+ * 数据投递存储(目前支持 cos、cls)
496
+ */
497
+ Storage: Storage;
498
+ /**
499
+ * 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能)
500
+ */
501
+ TrackForAllMembers?: number;
502
+ }
348
503
  /**
349
504
  * 检索条件
350
505
  */
@@ -602,6 +757,48 @@ export interface CosRegionInfo {
602
757
  */
603
758
  CosRegionName?: string;
604
759
  }
760
+ /**
761
+ * DescribeAuditTrack返回参数结构体
762
+ */
763
+ export interface DescribeAuditTrackResponse {
764
+ /**
765
+ * 跟踪集名称
766
+ */
767
+ Name: string;
768
+ /**
769
+ * 跟踪事件类型(读:Read;写:Write;全部:*)
770
+ */
771
+ ActionType: string;
772
+ /**
773
+ * 跟踪事件所属产品(如:cos,全部:*)
774
+ */
775
+ ResourceType: string;
776
+ /**
777
+ * 跟踪集状态(未开启:0;开启:1)
778
+ */
779
+ Status: number;
780
+ /**
781
+ * 跟踪事件接口名列表(全部:[*])
782
+ */
783
+ EventNames: Array<string>;
784
+ /**
785
+ * 数据投递存储(目前支持 cos、cls)
786
+ */
787
+ Storage: Storage;
788
+ /**
789
+ * 跟踪集创建时间
790
+ */
791
+ CreateTime: string;
792
+ /**
793
+ * 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号
794
+ 注意:此字段可能返回 null,表示取不到有效值。
795
+ */
796
+ TrackForAllMembers: number;
797
+ /**
798
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
799
+ */
800
+ RequestId?: string;
801
+ }
605
802
  /**
606
803
  * DescribeAudit返回参数结构体
607
804
  */