@huaweicloud/huaweicloud-sdk-cts 3.1.37

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 (89) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-cts.d.ts +2 -0
  4. package/huaweicloud-sdk-cts.js +31 -0
  5. package/package.json +19 -0
  6. package/v3/CtsClient.d.ts +301 -0
  7. package/v3/CtsClient.js +656 -0
  8. package/v3/CtsRegion.d.ts +23 -0
  9. package/v3/CtsRegion.js +59 -0
  10. package/v3/public-api.d.ts +41 -0
  11. package/v3/public-api.js +57 -0
  12. package/v3/v3/BaseUser.d.ts +7 -0
  13. package/v3/v3/BaseUser.js +17 -0
  14. package/v3/v3/CreateNotificationRequest.d.ts +6 -0
  15. package/v3/v3/CreateNotificationRequest.js +13 -0
  16. package/v3/v3/CreateNotificationRequestBody.d.ts +34 -0
  17. package/v3/v3/CreateNotificationRequestBody.js +84 -0
  18. package/v3/v3/CreateNotificationResponse.d.ts +69 -0
  19. package/v3/v3/CreateNotificationResponse.js +178 -0
  20. package/v3/v3/CreateTrackerRequest.d.ts +6 -0
  21. package/v3/v3/CreateTrackerRequest.js +13 -0
  22. package/v3/v3/CreateTrackerRequestBody.d.ts +45 -0
  23. package/v3/v3/CreateTrackerRequestBody.js +132 -0
  24. package/v3/v3/CreateTrackerResponse.d.ts +71 -0
  25. package/v3/v3/CreateTrackerResponse.js +201 -0
  26. package/v3/v3/CtsQuota.d.ts +9 -0
  27. package/v3/v3/CtsQuota.js +21 -0
  28. package/v3/v3/DataBucket.d.ts +19 -0
  29. package/v3/v3/DataBucket.js +46 -0
  30. package/v3/v3/DataBucketQuery.d.ts +23 -0
  31. package/v3/v3/DataBucketQuery.js +60 -0
  32. package/v3/v3/DeleteNotificationRequest.d.ts +7 -0
  33. package/v3/v3/DeleteNotificationRequest.js +24 -0
  34. package/v3/v3/DeleteNotificationResponse.d.ts +4 -0
  35. package/v3/v3/DeleteNotificationResponse.js +27 -0
  36. package/v3/v3/DeleteTrackerRequest.d.ts +18 -0
  37. package/v3/v3/DeleteTrackerRequest.js +45 -0
  38. package/v3/v3/DeleteTrackerResponse.d.ts +4 -0
  39. package/v3/v3/DeleteTrackerResponse.js +27 -0
  40. package/v3/v3/Filter.d.ts +19 -0
  41. package/v3/v3/Filter.js +43 -0
  42. package/v3/v3/ListNotificationsRequest.d.ts +19 -0
  43. package/v3/v3/ListNotificationsRequest.js +47 -0
  44. package/v3/v3/ListNotificationsResponse.d.ts +7 -0
  45. package/v3/v3/ListNotificationsResponse.js +31 -0
  46. package/v3/v3/ListQuotasRequest.d.ts +3 -0
  47. package/v3/v3/ListQuotasRequest.js +9 -0
  48. package/v3/v3/ListQuotasResponse.d.ts +7 -0
  49. package/v3/v3/ListQuotasResponse.js +31 -0
  50. package/v3/v3/ListTracesRequest.d.ts +66 -0
  51. package/v3/v3/ListTracesRequest.js +175 -0
  52. package/v3/v3/ListTracesResponse.d.ts +12 -0
  53. package/v3/v3/ListTracesResponse.js +45 -0
  54. package/v3/v3/ListTrackersRequest.d.ts +19 -0
  55. package/v3/v3/ListTrackersRequest.js +46 -0
  56. package/v3/v3/ListTrackersResponse.d.ts +7 -0
  57. package/v3/v3/ListTrackersResponse.js +31 -0
  58. package/v3/v3/Lts.d.ts +15 -0
  59. package/v3/v3/Lts.js +51 -0
  60. package/v3/v3/MetaData.d.ts +7 -0
  61. package/v3/v3/MetaData.js +17 -0
  62. package/v3/v3/NotificationUsers.d.ts +11 -0
  63. package/v3/v3/NotificationUsers.js +39 -0
  64. package/v3/v3/NotificationsResponseBody.d.ts +68 -0
  65. package/v3/v3/NotificationsResponseBody.js +160 -0
  66. package/v3/v3/ObsInfo.d.ts +39 -0
  67. package/v3/v3/ObsInfo.js +116 -0
  68. package/v3/v3/Operations.d.ts +15 -0
  69. package/v3/v3/Operations.js +54 -0
  70. package/v3/v3/Traces.d.ts +83 -0
  71. package/v3/v3/Traces.js +243 -0
  72. package/v3/v3/TrackerObsInfo.d.ts +35 -0
  73. package/v3/v3/TrackerObsInfo.js +102 -0
  74. package/v3/v3/TrackerResponseBody.d.ts +78 -0
  75. package/v3/v3/TrackerResponseBody.js +211 -0
  76. package/v3/v3/UpdateNotificationRequest.d.ts +6 -0
  77. package/v3/v3/UpdateNotificationRequest.js +13 -0
  78. package/v3/v3/UpdateNotificationRequestBody.d.ts +48 -0
  79. package/v3/v3/UpdateNotificationRequestBody.js +113 -0
  80. package/v3/v3/UpdateNotificationResponse.d.ts +69 -0
  81. package/v3/v3/UpdateNotificationResponse.js +178 -0
  82. package/v3/v3/UpdateTrackerRequest.d.ts +6 -0
  83. package/v3/v3/UpdateTrackerRequest.js +13 -0
  84. package/v3/v3/UpdateTrackerRequestBody.d.ts +55 -0
  85. package/v3/v3/UpdateTrackerRequestBody.js +145 -0
  86. package/v3/v3/UpdateTrackerResponse.d.ts +4 -0
  87. package/v3/v3/UpdateTrackerResponse.js +27 -0
  88. package/v3/v3/UserInfo.d.ts +10 -0
  89. package/v3/v3/UserInfo.js +21 -0
package/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) Huawei Technologies Co., Ltd. 2020-present. All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ See detailed information in [huaweicloud-sdk-nodejs-v3](https://github.com/huaweicloud/huaweicloud-sdk-nodejs-v3).
@@ -0,0 +1,2 @@
1
+ export * from './v3/public-api';
2
+ export * as v3 from './v3/public-api';
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.v3 = void 0;
30
+ __exportStar(require("./v3/public-api"), exports);
31
+ exports.v3 = __importStar(require("./v3/public-api"));
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@huaweicloud/huaweicloud-sdk-cts",
3
+ "version": "3.1.37",
4
+ "description": "Huaweicloud SDK for cts",
5
+ "main": "huaweicloud-sdk-cts.js",
6
+ "typings": "huaweicloud-sdk-cts.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/huaweicloud/huaweicloud-sdk-nodejs-v3"
13
+ },
14
+ "author": "HuaweiCloud_SDK",
15
+ "license": "Apache-2.0",
16
+ "dependencies": {
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.37"
18
+ }
19
+ }
@@ -0,0 +1,301 @@
1
+ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
2
+ import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
3
+ import { CreateNotificationRequest } from './model/CreateNotificationRequest';
4
+ import { CreateNotificationResponse } from './model/CreateNotificationResponse';
5
+ import { CreateTrackerRequest } from './model/CreateTrackerRequest';
6
+ import { CreateTrackerResponse } from './model/CreateTrackerResponse';
7
+ import { DeleteNotificationRequest } from './model/DeleteNotificationRequest';
8
+ import { DeleteNotificationResponse } from './model/DeleteNotificationResponse';
9
+ import { DeleteTrackerRequest } from './model/DeleteTrackerRequest';
10
+ import { DeleteTrackerResponse } from './model/DeleteTrackerResponse';
11
+ import { ListNotificationsRequest } from './model/ListNotificationsRequest';
12
+ import { ListNotificationsResponse } from './model/ListNotificationsResponse';
13
+ import { ListQuotasResponse } from './model/ListQuotasResponse';
14
+ import { ListTracesRequest } from './model/ListTracesRequest';
15
+ import { ListTracesResponse } from './model/ListTracesResponse';
16
+ import { ListTrackersRequest } from './model/ListTrackersRequest';
17
+ import { ListTrackersResponse } from './model/ListTrackersResponse';
18
+ import { UpdateNotificationRequest } from './model/UpdateNotificationRequest';
19
+ import { UpdateNotificationResponse } from './model/UpdateNotificationResponse';
20
+ import { UpdateTrackerRequest } from './model/UpdateTrackerRequest';
21
+ import { UpdateTrackerResponse } from './model/UpdateTrackerResponse';
22
+ export declare class CtsClient {
23
+ static newBuilder(): ClientBuilder<CtsClient>;
24
+ private hcClient;
25
+ constructor(client: HcClient);
26
+ getPath(): any;
27
+ /**
28
+ * 配置关键操作通知,可在发生特定操作时,使用预先创建好的SMN主题,向用户手机、邮箱发送消息,也可直接发送http/https消息。常用于实时感知高危操作、触发特定操作或对接用户自有审计分析系统。
29
+ *
30
+ * Please refer to HUAWEI cloud API Explorer for details.
31
+ *
32
+ * @summary 创建关键操作通知
33
+ * @param {CreateNotificationRequestBody} createNotificationRequestBody 创建通知请求体
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ createNotification(createNotificationRequest?: CreateNotificationRequest): Promise<CreateNotificationResponse>;
38
+ /**
39
+ * 云审计服务开通后系统会自动创建一个追踪器,用来关联系统记录的所有操作。目前,一个云账户在一个Region下支持创建一个管理类追踪器和多个数据类追踪器。
40
+ * 云审计服务支持在管理控制台查询近7天内的操作记录。如需保存更长时间的操作记录,您可以在创建追踪器之后通过对象存储服务(Object Storage Service,以下简称OBS)将操作记录实时保存至OBS桶中。
41
+ *
42
+ * Please refer to HUAWEI cloud API Explorer for details.
43
+ *
44
+ * @summary 创建追踪器
45
+ * @param {CreateTrackerRequestBody} createTrackerRequestBody This a create Body Object
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ createTracker(createTrackerRequest?: CreateTrackerRequest): Promise<CreateTrackerResponse>;
50
+ /**
51
+ * 云审计服务支持删除已创建的关键操作通知。
52
+ *
53
+ * Please refer to HUAWEI cloud API Explorer for details.
54
+ *
55
+ * @summary 删除关键操作通知
56
+ * @param {string} notificationId 标识关键操作通知id。 批量删除请使用逗号隔开,notification_id&#x3D;\&quot;xxx1,cccc2\&quot;
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ deleteNotification(deleteNotificationRequest?: DeleteNotificationRequest): Promise<DeleteNotificationResponse>;
61
+ /**
62
+ * 云审计服务目前仅支持删除已创建的数据类追踪器。删除追踪器对已有的操作记录没有影响,当您重新开通云审计服务后,依旧可以查看已有的操作记录。
63
+ *
64
+ * Please refer to HUAWEI cloud API Explorer for details.
65
+ *
66
+ * @summary 删除追踪器
67
+ * @param {string} [trackerName] 标识追踪器名称。 在不传入该字段的情况下,将删除当前租户所有的数据类追踪器。
68
+ * @param {'data'} [trackerType] 标识追踪器类型。 目前仅支持数据类追踪器(data)的删除,默认值为\&quot;data\&quot;。
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ deleteTracker(deleteTrackerRequest?: DeleteTrackerRequest): Promise<DeleteTrackerResponse>;
73
+ /**
74
+ * 查询创建的关键操作通知规则。
75
+ *
76
+ * Please refer to HUAWEI cloud API Explorer for details.
77
+ *
78
+ * @summary 查询关键操作通知
79
+ * @param {'smn' | 'fun'} notificationType 通知类型。
80
+ * @param {string} [notificationName] 标识关键操作通知名称。 在不传入该字段的情况下,将查询当前租户所有的关键操作通知。
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ listNotifications(listNotificationsRequest?: ListNotificationsRequest): Promise<ListNotificationsResponse>;
85
+ /**
86
+ * 查询租户追踪器配额信息。
87
+ *
88
+ * Please refer to HUAWEI cloud API Explorer for details.
89
+ *
90
+ * @summary 查询租户追踪器配额信息
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ listQuotas(): Promise<ListQuotasResponse>;
95
+ /**
96
+ * 通过事件列表查询接口,可以查出系统记录的7天内资源操作记录。
97
+ *
98
+ * Please refer to HUAWEI cloud API Explorer for details.
99
+ *
100
+ * @summary 查询事件列表
101
+ * @param {'system' | 'data'} traceType 标识审计事件类型。 目前支持管理类事件(system)和数据类事件(data)。 默认值为\&quot;system\&quot;。
102
+ * @param {number} [limit] 标示查询事件列表中限定返回的事件条数。不传时默认10条,最大值200条。
103
+ * @param {number} [from] 标识查询事件列表的起始时间戳(timestamp,为标准UTC时间,毫秒级,13位数字,不包括传入时间)默认为上一小时的时间戳。查询条件from与to配套使用。
104
+ * @param {string} [next] 取值为响应中中marker的值,用于标识查询事件的起始时间(自此条事件的记录时间起,向更早时间查询)。 可以与“from”、“to”结合使用。 最终的查询条件取两组时间条件的交集。
105
+ * @param {number} [to] 标识查询事件列表的结束时间戳(timestamp,为标准UTC时间,毫秒级,13位数字,不包括传入时间)默认为当前时间戳。查询条件to与from配套使用。
106
+ * @param {string} [trackerName] 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段值默认为\&quot;system\&quot;。 当\&quot;trace_type\&quot;字段值为\&quot;data\&quot;时,该字段值可以传入数据类追踪器名称,达到筛选某个数据类追踪器下的数据事件目的。
107
+ * @param {string} [serviceType] 标识查询事件列表对应的云服务类型。必须为已对接CTS的云服务的英文缩写,且服务类型一般为大写字母。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。 已对接的云服务列表参见《云审计服务用户指南》“支持的服务”章节。
108
+ * @param {string} [user] 标识特定用户名称,用以查询该用户下的所有事件。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。
109
+ * @param {string} [resourceId] 标示查询事件列表对应的云服务资源ID。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。
110
+ * @param {string} [resourceName] 标示查询事件列表对应的的资源名称。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。 说明:该字段可能包含大写字母。
111
+ * @param {string} [resourceType] 标示查询事件列表对应的资源类型。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。
112
+ * @param {string} [traceId] 标示某一条事件的事件ID。当传入这个查询条件时,其他查询条件自动不生效。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。
113
+ * @param {string} [traceName] 标示查询事件列表对应的事件名称。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。 说明:该字段可能包含大写字母。
114
+ * @param {'normal' | 'warning' | 'incident'} [traceRating] 标示查询事件列表对应的事件等级目前有三种:正常(normal), 警告(warning),事故(incident)。 当\&quot;trace_type\&quot;字段值为\&quot;system\&quot;时,该字段筛选有效\&quot;。
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ listTraces(listTracesRequest?: ListTracesRequest): Promise<ListTracesResponse>;
119
+ /**
120
+ * 开通云审计服务成功后,您可以在追踪器信息页面查看追踪器的详细信息。详细信息主要包括追踪器名称,用于存储操作事件的OBS桶名称和OBS桶中的事件文件前缀。
121
+ *
122
+ * Please refer to HUAWEI cloud API Explorer for details.
123
+ *
124
+ * @summary 查询追踪器
125
+ * @param {string} [trackerName] 标示追踪器名称。 在不传入该字段的情况下,将查询租户所有的追踪器。
126
+ * @param {'system' | 'data'} [trackerType] 标识追踪器类型。 目前支持系统追踪器有管理类追踪器(system)和数据类追踪器(data)。
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ listTrackers(listTrackersRequest?: ListTrackersRequest): Promise<ListTrackersResponse>;
131
+ /**
132
+ * 云审计服务支持修改已创建关键操作通知配置项,通过notification_id的字段匹配修改对象,notification_id必须已经存在。
133
+ *
134
+ * Please refer to HUAWEI cloud API Explorer for details.
135
+ *
136
+ * @summary 修改关键操作通知
137
+ * @param {UpdateNotificationRequestBody} updateNotificationRequestBody 修改关键操作通知的请求体
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ updateNotification(updateNotificationRequest?: UpdateNotificationRequest): Promise<UpdateNotificationResponse>;
142
+ /**
143
+ * 云审计服务支持修改已创建追踪器的配置项,包括OBS桶转储、关键事件通知、事件转储加密、通过LTS对管理类事件进行检索、事件文件完整性校验以及追踪器启停状态等相关参数,修改追踪器对已有的操作记录没有影响。修改追踪器完成后,系统立即以新的规则开始记录操作。
144
+ *
145
+ * Please refer to HUAWEI cloud API Explorer for details.
146
+ *
147
+ * @summary 修改追踪器
148
+ * @param {UpdateTrackerRequestBody} updateTrackerRequestBody 标示OBS桶名称,来自于OBS服务真实存在的桶。
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ updateTracker(updateTrackerRequest?: UpdateTrackerRequest): Promise<UpdateTrackerResponse>;
153
+ }
154
+ export declare const ParamCreater: () => {
155
+ /**
156
+ * 配置关键操作通知,可在发生特定操作时,使用预先创建好的SMN主题,向用户手机、邮箱发送消息,也可直接发送http/https消息。常用于实时感知高危操作、触发特定操作或对接用户自有审计分析系统。
157
+ *
158
+ * Please refer to HUAWEI cloud API Explorer for details.
159
+ */
160
+ createNotification(createNotificationRequest?: any): {
161
+ method: string;
162
+ url: string;
163
+ contentType: string;
164
+ queryParams: {};
165
+ pathParams: {};
166
+ headers: {};
167
+ data: {};
168
+ };
169
+ /**
170
+ * 云审计服务开通后系统会自动创建一个追踪器,用来关联系统记录的所有操作。目前,一个云账户在一个Region下支持创建一个管理类追踪器和多个数据类追踪器。
171
+ * 云审计服务支持在管理控制台查询近7天内的操作记录。如需保存更长时间的操作记录,您可以在创建追踪器之后通过对象存储服务(Object Storage Service,以下简称OBS)将操作记录实时保存至OBS桶中。
172
+ *
173
+ * Please refer to HUAWEI cloud API Explorer for details.
174
+ */
175
+ createTracker(createTrackerRequest?: any): {
176
+ method: string;
177
+ url: string;
178
+ contentType: string;
179
+ queryParams: {};
180
+ pathParams: {};
181
+ headers: {};
182
+ data: {};
183
+ };
184
+ /**
185
+ * 云审计服务支持删除已创建的关键操作通知。
186
+ *
187
+ * Please refer to HUAWEI cloud API Explorer for details.
188
+ */
189
+ deleteNotification(deleteNotificationRequest?: any): {
190
+ method: string;
191
+ url: string;
192
+ contentType: string;
193
+ queryParams: {};
194
+ pathParams: {};
195
+ headers: {};
196
+ };
197
+ /**
198
+ * 云审计服务目前仅支持删除已创建的数据类追踪器。删除追踪器对已有的操作记录没有影响,当您重新开通云审计服务后,依旧可以查看已有的操作记录。
199
+ *
200
+ * Please refer to HUAWEI cloud API Explorer for details.
201
+ */
202
+ deleteTracker(deleteTrackerRequest?: any): {
203
+ method: string;
204
+ url: string;
205
+ contentType: string;
206
+ queryParams: {};
207
+ pathParams: {};
208
+ headers: {};
209
+ };
210
+ /**
211
+ * 查询创建的关键操作通知规则。
212
+ *
213
+ * Please refer to HUAWEI cloud API Explorer for details.
214
+ */
215
+ listNotifications(listNotificationsRequest?: any): {
216
+ method: string;
217
+ url: string;
218
+ contentType: string;
219
+ queryParams: {};
220
+ pathParams: {};
221
+ headers: {};
222
+ };
223
+ /**
224
+ * 查询租户追踪器配额信息。
225
+ *
226
+ * Please refer to HUAWEI cloud API Explorer for details.
227
+ */
228
+ listQuotas(): {
229
+ method: string;
230
+ url: string;
231
+ contentType: string;
232
+ queryParams: {};
233
+ pathParams: {};
234
+ headers: {};
235
+ };
236
+ /**
237
+ * 通过事件列表查询接口,可以查出系统记录的7天内资源操作记录。
238
+ *
239
+ * Please refer to HUAWEI cloud API Explorer for details.
240
+ */
241
+ listTraces(listTracesRequest?: any): {
242
+ method: string;
243
+ url: string;
244
+ contentType: string;
245
+ queryParams: {};
246
+ pathParams: {};
247
+ headers: {};
248
+ };
249
+ /**
250
+ * 开通云审计服务成功后,您可以在追踪器信息页面查看追踪器的详细信息。详细信息主要包括追踪器名称,用于存储操作事件的OBS桶名称和OBS桶中的事件文件前缀。
251
+ *
252
+ * Please refer to HUAWEI cloud API Explorer for details.
253
+ */
254
+ listTrackers(listTrackersRequest?: any): {
255
+ method: string;
256
+ url: string;
257
+ contentType: string;
258
+ queryParams: {};
259
+ pathParams: {};
260
+ headers: {};
261
+ };
262
+ /**
263
+ * 云审计服务支持修改已创建关键操作通知配置项,通过notification_id的字段匹配修改对象,notification_id必须已经存在。
264
+ *
265
+ * Please refer to HUAWEI cloud API Explorer for details.
266
+ */
267
+ updateNotification(updateNotificationRequest?: any): {
268
+ method: string;
269
+ url: string;
270
+ contentType: string;
271
+ queryParams: {};
272
+ pathParams: {};
273
+ headers: {};
274
+ data: {};
275
+ };
276
+ /**
277
+ * 云审计服务支持修改已创建追踪器的配置项,包括OBS桶转储、关键事件通知、事件转储加密、通过LTS对管理类事件进行检索、事件文件完整性校验以及追踪器启停状态等相关参数,修改追踪器对已有的操作记录没有影响。修改追踪器完成后,系统立即以新的规则开始记录操作。
278
+ *
279
+ * Please refer to HUAWEI cloud API Explorer for details.
280
+ */
281
+ updateTracker(updateTrackerRequest?: any): {
282
+ method: string;
283
+ url: string;
284
+ contentType: string;
285
+ queryParams: {};
286
+ pathParams: {};
287
+ headers: {};
288
+ data: {};
289
+ };
290
+ };
291
+ /**
292
+ *
293
+ * @export
294
+ * @class RequiredError
295
+ * @extends {Error}
296
+ */
297
+ export declare class RequiredError extends Error {
298
+ field: string;
299
+ name: "RequiredError";
300
+ constructor(field: string, msg?: string);
301
+ }