@alicloud/cloud-siem20241212 1.0.0 → 2.0.0
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/dist/client.d.ts +45 -0
- package/dist/client.js +222 -3
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataSourceRequest.d.ts +0 -3
- package/dist/models/CreateDataSourceRequest.js +0 -6
- package/dist/models/CreateDataSourceRequest.js.map +1 -1
- package/dist/models/CreateDataSourceShrinkRequest.d.ts +0 -3
- package/dist/models/CreateDataSourceShrinkRequest.js +0 -6
- package/dist/models/CreateDataSourceShrinkRequest.js.map +1 -1
- package/dist/models/CreateDetectionRuleRequest.d.ts +12 -0
- package/dist/models/CreateDetectionRuleRequest.js +8 -0
- package/dist/models/CreateDetectionRuleRequest.js.map +1 -1
- package/dist/models/CreateNormalizationRuleRequest.d.ts +5 -0
- package/dist/models/CreateNormalizationRuleRequest.js +2 -0
- package/dist/models/CreateNormalizationRuleRequest.js.map +1 -1
- package/dist/models/CreateNormalizationRuleShrinkRequest.d.ts +5 -0
- package/dist/models/CreateNormalizationRuleShrinkRequest.js +2 -0
- package/dist/models/CreateNormalizationRuleShrinkRequest.js.map +1 -1
- package/dist/models/CreateNormalizationSchemaRequest.d.ts +188 -0
- package/dist/models/CreateNormalizationSchemaRequest.js +152 -0
- package/dist/models/CreateNormalizationSchemaRequest.js.map +1 -0
- package/dist/models/CreateNormalizationSchemaResponse.d.ts +19 -0
- package/dist/models/CreateNormalizationSchemaResponse.js +69 -0
- package/dist/models/CreateNormalizationSchemaResponse.js.map +1 -0
- package/dist/models/CreateNormalizationSchemaResponseBody.d.ts +18 -0
- package/dist/models/CreateNormalizationSchemaResponseBody.js +58 -0
- package/dist/models/CreateNormalizationSchemaResponseBody.js.map +1 -0
- package/dist/models/GetIncidentResponseBody.d.ts +5 -0
- package/dist/models/GetIncidentResponseBody.js +2 -0
- package/dist/models/GetIncidentResponseBody.js.map +1 -1
- package/dist/models/GetNormalizationRuleResponseBody.d.ts +5 -0
- package/dist/models/GetNormalizationRuleResponseBody.js +2 -0
- package/dist/models/GetNormalizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetNormalizationSchemaResponseBody.d.ts +109 -0
- package/dist/models/GetNormalizationSchemaResponseBody.js +83 -1
- package/dist/models/GetNormalizationSchemaResponseBody.js.map +1 -1
- package/dist/models/ListDataSourcesResponseBody.d.ts +5 -0
- package/dist/models/ListDataSourcesResponseBody.js +2 -0
- package/dist/models/ListDataSourcesResponseBody.js.map +1 -1
- package/dist/models/ListDetectionRulesResponseBody.d.ts +2 -0
- package/dist/models/ListDetectionRulesResponseBody.js +4 -0
- package/dist/models/ListDetectionRulesResponseBody.js.map +1 -1
- package/dist/models/ListIncidentsRequest.d.ts +1 -0
- package/dist/models/ListIncidentsRequest.js +5 -0
- package/dist/models/ListIncidentsRequest.js.map +1 -1
- package/dist/models/ListIncidentsResponseBody.d.ts +11 -0
- package/dist/models/ListIncidentsResponseBody.js +6 -0
- package/dist/models/ListIncidentsResponseBody.js.map +1 -1
- package/dist/models/ListIncidentsShrinkRequest.d.ts +1 -0
- package/dist/models/ListIncidentsShrinkRequest.js +5 -0
- package/dist/models/ListIncidentsShrinkRequest.js.map +1 -1
- package/dist/models/ListNormalizationFieldsResponseBody.d.ts +69 -0
- package/dist/models/ListNormalizationFieldsResponseBody.js +55 -1
- package/dist/models/ListNormalizationFieldsResponseBody.js.map +1 -1
- package/dist/models/ListNormalizationRulesResponseBody.d.ts +5 -0
- package/dist/models/ListNormalizationRulesResponseBody.js +2 -0
- package/dist/models/ListNormalizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListNormalizationSchemasResponseBody.d.ts +30 -0
- package/dist/models/ListNormalizationSchemasResponseBody.js +12 -0
- package/dist/models/ListNormalizationSchemasResponseBody.js.map +1 -1
- package/dist/models/RefreshDataSourceRequest.d.ts +33 -0
- package/dist/models/RefreshDataSourceRequest.js +64 -0
- package/dist/models/RefreshDataSourceRequest.js.map +1 -0
- package/dist/models/RefreshDataSourceResponse.d.ts +19 -0
- package/dist/models/RefreshDataSourceResponse.js +69 -0
- package/dist/models/RefreshDataSourceResponse.js.map +1 -0
- package/dist/models/RefreshDataSourceResponseBody.d.ts +21 -0
- package/dist/models/RefreshDataSourceResponseBody.js +58 -0
- package/dist/models/RefreshDataSourceResponseBody.js.map +1 -0
- package/dist/models/UpdateDetectionRuleRequest.d.ts +2 -0
- package/dist/models/UpdateDetectionRuleRequest.js +4 -0
- package/dist/models/UpdateDetectionRuleRequest.js.map +1 -1
- package/dist/models/UpdateNormalizationRuleRequest.d.ts +10 -0
- package/dist/models/UpdateNormalizationRuleRequest.js +4 -0
- package/dist/models/UpdateNormalizationRuleRequest.js.map +1 -1
- package/dist/models/UpdateNormalizationRuleShrinkRequest.d.ts +10 -0
- package/dist/models/UpdateNormalizationRuleShrinkRequest.js +4 -0
- package/dist/models/UpdateNormalizationRuleShrinkRequest.js.map +1 -1
- package/dist/models/UpdateNormalizationSchemaRequest.d.ts +146 -0
- package/dist/models/UpdateNormalizationSchemaRequest.js +144 -0
- package/dist/models/UpdateNormalizationSchemaRequest.js.map +1 -0
- package/dist/models/UpdateNormalizationSchemaResponse.d.ts +19 -0
- package/dist/models/UpdateNormalizationSchemaResponse.js +69 -0
- package/dist/models/UpdateNormalizationSchemaResponse.js.map +1 -0
- package/dist/models/UpdateNormalizationSchemaResponseBody.d.ts +18 -0
- package/dist/models/UpdateNormalizationSchemaResponseBody.js +58 -0
- package/dist/models/UpdateNormalizationSchemaResponseBody.js.map +1 -0
- package/dist/models/ValidateNormalizationRuleRequest.d.ts +30 -0
- package/dist/models/ValidateNormalizationRuleRequest.js +12 -0
- package/dist/models/ValidateNormalizationRuleRequest.js.map +1 -1
- package/dist/models/ValidateNormalizationRuleResponseBody.d.ts +31 -0
- package/dist/models/ValidateNormalizationRuleResponseBody.js +14 -0
- package/dist/models/ValidateNormalizationRuleResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +46 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +266 -4
- package/src/models/CreateDataSourceRequest.ts +0 -9
- package/src/models/CreateDataSourceShrinkRequest.ts +0 -9
- package/src/models/CreateDetectionRuleRequest.ts +20 -0
- package/src/models/CreateNormalizationRuleRequest.ts +7 -0
- package/src/models/CreateNormalizationRuleShrinkRequest.ts +7 -0
- package/src/models/CreateNormalizationSchemaRequest.ts +277 -0
- package/src/models/CreateNormalizationSchemaResponse.ts +40 -0
- package/src/models/CreateNormalizationSchemaResponseBody.ts +31 -0
- package/src/models/GetIncidentResponseBody.ts +7 -0
- package/src/models/GetNormalizationRuleResponseBody.ts +7 -0
- package/src/models/GetNormalizationSchemaResponseBody.ts +173 -0
- package/src/models/ListDataSourcesResponseBody.ts +7 -0
- package/src/models/ListDetectionRulesResponseBody.ts +6 -0
- package/src/models/ListIncidentsRequest.ts +6 -0
- package/src/models/ListIncidentsResponseBody.ts +17 -0
- package/src/models/ListIncidentsShrinkRequest.ts +6 -0
- package/src/models/ListNormalizationFieldsResponseBody.ts +114 -0
- package/src/models/ListNormalizationRulesResponseBody.ts +7 -0
- package/src/models/ListNormalizationSchemasResponseBody.ts +42 -0
- package/src/models/RefreshDataSourceRequest.ts +52 -0
- package/src/models/RefreshDataSourceResponse.ts +40 -0
- package/src/models/RefreshDataSourceResponseBody.ts +34 -0
- package/src/models/UpdateDetectionRuleRequest.ts +6 -0
- package/src/models/UpdateNormalizationRuleRequest.ts +14 -0
- package/src/models/UpdateNormalizationRuleShrinkRequest.ts +14 -0
- package/src/models/UpdateNormalizationSchemaRequest.ts +227 -0
- package/src/models/UpdateNormalizationSchemaResponse.ts +40 -0
- package/src/models/UpdateNormalizationSchemaResponseBody.ts +31 -0
- package/src/models/ValidateNormalizationRuleRequest.ts +42 -0
- package/src/models/ValidateNormalizationRuleResponseBody.ts +45 -0
- package/src/models/model.ts +16 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateNormalizationSchemaRequestNormalizationFieldsNormalizationFieldJsonKeys extends $dara.Model {
|
|
6
|
+
normalizationFieldDescription?: string;
|
|
7
|
+
normalizationFieldExample?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* preset
|
|
11
|
+
*/
|
|
12
|
+
normalizationFieldFrom?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* alert_name
|
|
19
|
+
*/
|
|
20
|
+
normalizationFieldName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
25
|
+
normalizationFieldRequired?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* true
|
|
29
|
+
*/
|
|
30
|
+
normalizationFieldTokenize?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* text
|
|
37
|
+
*/
|
|
38
|
+
normalizationFieldType?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
normalizationFieldDescription: 'NormalizationFieldDescription',
|
|
42
|
+
normalizationFieldExample: 'NormalizationFieldExample',
|
|
43
|
+
normalizationFieldFrom: 'NormalizationFieldFrom',
|
|
44
|
+
normalizationFieldName: 'NormalizationFieldName',
|
|
45
|
+
normalizationFieldRequired: 'NormalizationFieldRequired',
|
|
46
|
+
normalizationFieldTokenize: 'NormalizationFieldTokenize',
|
|
47
|
+
normalizationFieldType: 'NormalizationFieldType',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static types(): { [key: string]: any } {
|
|
52
|
+
return {
|
|
53
|
+
normalizationFieldDescription: 'string',
|
|
54
|
+
normalizationFieldExample: 'string',
|
|
55
|
+
normalizationFieldFrom: 'string',
|
|
56
|
+
normalizationFieldName: 'string',
|
|
57
|
+
normalizationFieldRequired: 'boolean',
|
|
58
|
+
normalizationFieldTokenize: 'boolean',
|
|
59
|
+
normalizationFieldType: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class CreateNormalizationSchemaRequestNormalizationFields extends $dara.Model {
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* cloud_user
|
|
76
|
+
*/
|
|
77
|
+
normalizationFieldDescription?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* 173326*******
|
|
81
|
+
*/
|
|
82
|
+
normalizationFieldExample?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* preset
|
|
86
|
+
*/
|
|
87
|
+
normalizationFieldFrom?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* true
|
|
91
|
+
*/
|
|
92
|
+
normalizationFieldJsonIndexAll?: boolean;
|
|
93
|
+
normalizationFieldJsonKeys?: CreateNormalizationSchemaRequestNormalizationFieldsNormalizationFieldJsonKeys[];
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* This parameter is required.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* cloud_user
|
|
100
|
+
*/
|
|
101
|
+
normalizationFieldName?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* true
|
|
105
|
+
*/
|
|
106
|
+
normalizationFieldRequired?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* @example
|
|
109
|
+
* true
|
|
110
|
+
*/
|
|
111
|
+
normalizationFieldRequirement?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* @example
|
|
114
|
+
* true
|
|
115
|
+
*/
|
|
116
|
+
normalizationFieldReserved?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* @example
|
|
119
|
+
* true
|
|
120
|
+
*/
|
|
121
|
+
normalizationFieldTokenize?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* This parameter is required.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* varchar
|
|
128
|
+
*/
|
|
129
|
+
normalizationFieldType?: string;
|
|
130
|
+
static names(): { [key: string]: string } {
|
|
131
|
+
return {
|
|
132
|
+
normalizationFieldDescription: 'NormalizationFieldDescription',
|
|
133
|
+
normalizationFieldExample: 'NormalizationFieldExample',
|
|
134
|
+
normalizationFieldFrom: 'NormalizationFieldFrom',
|
|
135
|
+
normalizationFieldJsonIndexAll: 'NormalizationFieldJsonIndexAll',
|
|
136
|
+
normalizationFieldJsonKeys: 'NormalizationFieldJsonKeys',
|
|
137
|
+
normalizationFieldName: 'NormalizationFieldName',
|
|
138
|
+
normalizationFieldRequired: 'NormalizationFieldRequired',
|
|
139
|
+
normalizationFieldRequirement: 'NormalizationFieldRequirement',
|
|
140
|
+
normalizationFieldReserved: 'NormalizationFieldReserved',
|
|
141
|
+
normalizationFieldTokenize: 'NormalizationFieldTokenize',
|
|
142
|
+
normalizationFieldType: 'NormalizationFieldType',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static types(): { [key: string]: any } {
|
|
147
|
+
return {
|
|
148
|
+
normalizationFieldDescription: 'string',
|
|
149
|
+
normalizationFieldExample: 'string',
|
|
150
|
+
normalizationFieldFrom: 'string',
|
|
151
|
+
normalizationFieldJsonIndexAll: 'boolean',
|
|
152
|
+
normalizationFieldJsonKeys: { 'type': 'array', 'itemType': CreateNormalizationSchemaRequestNormalizationFieldsNormalizationFieldJsonKeys },
|
|
153
|
+
normalizationFieldName: 'string',
|
|
154
|
+
normalizationFieldRequired: 'boolean',
|
|
155
|
+
normalizationFieldRequirement: 'boolean',
|
|
156
|
+
normalizationFieldReserved: 'boolean',
|
|
157
|
+
normalizationFieldTokenize: 'boolean',
|
|
158
|
+
normalizationFieldType: 'string',
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
validate() {
|
|
163
|
+
if(Array.isArray(this.normalizationFieldJsonKeys)) {
|
|
164
|
+
$dara.Model.validateArray(this.normalizationFieldJsonKeys);
|
|
165
|
+
}
|
|
166
|
+
super.validate();
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
constructor(map?: { [key: string]: any }) {
|
|
170
|
+
super(map);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export class CreateNormalizationSchemaRequest extends $dara.Model {
|
|
175
|
+
/**
|
|
176
|
+
* @example
|
|
177
|
+
* zh
|
|
178
|
+
*/
|
|
179
|
+
lang?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* This parameter is required.
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* NETWORK_CATEGORY
|
|
186
|
+
*/
|
|
187
|
+
normalizationCategoryId?: string;
|
|
188
|
+
normalizationFields?: CreateNormalizationSchemaRequestNormalizationFields[];
|
|
189
|
+
/**
|
|
190
|
+
* @example
|
|
191
|
+
* ProcessQuery
|
|
192
|
+
*/
|
|
193
|
+
normalizationSchemaDescription?: string;
|
|
194
|
+
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* This parameter is required.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* PROCESS_QUERY_DNS_ACTIVITY
|
|
200
|
+
*/
|
|
201
|
+
normalizationSchemaId?: string;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* This parameter is required.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* ProcessQuery
|
|
208
|
+
*/
|
|
209
|
+
normalizationSchemaName?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* This parameter is required.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* log
|
|
216
|
+
*/
|
|
217
|
+
normalizationSchemaType?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @example
|
|
220
|
+
* cn-hangzhou
|
|
221
|
+
*/
|
|
222
|
+
regionId?: string;
|
|
223
|
+
/**
|
|
224
|
+
* @example
|
|
225
|
+
* 113091674488****
|
|
226
|
+
*/
|
|
227
|
+
roleFor?: number;
|
|
228
|
+
/**
|
|
229
|
+
* @remarks
|
|
230
|
+
* This parameter is required.
|
|
231
|
+
*
|
|
232
|
+
* @example
|
|
233
|
+
* xxx-activity
|
|
234
|
+
*/
|
|
235
|
+
targetLogStore?: string;
|
|
236
|
+
static names(): { [key: string]: string } {
|
|
237
|
+
return {
|
|
238
|
+
lang: 'Lang',
|
|
239
|
+
normalizationCategoryId: 'NormalizationCategoryId',
|
|
240
|
+
normalizationFields: 'NormalizationFields',
|
|
241
|
+
normalizationSchemaDescription: 'NormalizationSchemaDescription',
|
|
242
|
+
normalizationSchemaId: 'NormalizationSchemaId',
|
|
243
|
+
normalizationSchemaName: 'NormalizationSchemaName',
|
|
244
|
+
normalizationSchemaType: 'NormalizationSchemaType',
|
|
245
|
+
regionId: 'RegionId',
|
|
246
|
+
roleFor: 'RoleFor',
|
|
247
|
+
targetLogStore: 'TargetLogStore',
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
static types(): { [key: string]: any } {
|
|
252
|
+
return {
|
|
253
|
+
lang: 'string',
|
|
254
|
+
normalizationCategoryId: 'string',
|
|
255
|
+
normalizationFields: { 'type': 'array', 'itemType': CreateNormalizationSchemaRequestNormalizationFields },
|
|
256
|
+
normalizationSchemaDescription: 'string',
|
|
257
|
+
normalizationSchemaId: 'string',
|
|
258
|
+
normalizationSchemaName: 'string',
|
|
259
|
+
normalizationSchemaType: 'string',
|
|
260
|
+
regionId: 'string',
|
|
261
|
+
roleFor: 'number',
|
|
262
|
+
targetLogStore: 'string',
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
validate() {
|
|
267
|
+
if(Array.isArray(this.normalizationFields)) {
|
|
268
|
+
$dara.Model.validateArray(this.normalizationFields);
|
|
269
|
+
}
|
|
270
|
+
super.validate();
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
constructor(map?: { [key: string]: any }) {
|
|
274
|
+
super(map);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateNormalizationSchemaResponseBody } from "./CreateNormalizationSchemaResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateNormalizationSchemaResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateNormalizationSchemaResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: CreateNormalizationSchemaResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateNormalizationSchemaResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 6276D891-*****-55B2-87B9-74D413F7****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -61,6 +61,11 @@ export class GetIncidentResponseBodyIncident extends $dara.Model {
|
|
|
61
61
|
* 85ea4241-798f-4684-a876-65d4f0c3****
|
|
62
62
|
*/
|
|
63
63
|
incidentUuid?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* 1234567890xxxxxx
|
|
67
|
+
*/
|
|
68
|
+
owner?: string;
|
|
64
69
|
/**
|
|
65
70
|
* @example
|
|
66
71
|
* 23
|
|
@@ -108,6 +113,7 @@ export class GetIncidentResponseBodyIncident extends $dara.Model {
|
|
|
108
113
|
incidentStatus: 'IncidentStatus',
|
|
109
114
|
incidentTags: 'IncidentTags',
|
|
110
115
|
incidentUuid: 'IncidentUuid',
|
|
116
|
+
owner: 'Owner',
|
|
111
117
|
relateAlertCount: 'RelateAlertCount',
|
|
112
118
|
relateAssetCount: 'RelateAssetCount',
|
|
113
119
|
relateDataSourceIds: 'RelateDataSourceIds',
|
|
@@ -130,6 +136,7 @@ export class GetIncidentResponseBodyIncident extends $dara.Model {
|
|
|
130
136
|
incidentStatus: 'number',
|
|
131
137
|
incidentTags: 'string',
|
|
132
138
|
incidentUuid: 'string',
|
|
139
|
+
owner: 'string',
|
|
133
140
|
relateAlertCount: 'number',
|
|
134
141
|
relateAssetCount: 'number',
|
|
135
142
|
relateDataSourceIds: 'any',
|
|
@@ -9,6 +9,11 @@ export class GetNormalizationRuleResponseBodyNormalizationRule extends $dara.Mod
|
|
|
9
9
|
*/
|
|
10
10
|
createTime?: number;
|
|
11
11
|
extendContentPacked?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* flat
|
|
15
|
+
*/
|
|
16
|
+
extendFieldStoreMode?: string;
|
|
12
17
|
/**
|
|
13
18
|
* @example
|
|
14
19
|
* NETWORK_CATEGORY。
|
|
@@ -85,6 +90,7 @@ export class GetNormalizationRuleResponseBodyNormalizationRule extends $dara.Mod
|
|
|
85
90
|
return {
|
|
86
91
|
createTime: 'CreateTime',
|
|
87
92
|
extendContentPacked: 'ExtendContentPacked',
|
|
93
|
+
extendFieldStoreMode: 'ExtendFieldStoreMode',
|
|
88
94
|
normalizationCategoryId: 'NormalizationCategoryId',
|
|
89
95
|
normalizationRuleDescription: 'NormalizationRuleDescription',
|
|
90
96
|
normalizationRuleExpression: 'NormalizationRuleExpression',
|
|
@@ -108,6 +114,7 @@ export class GetNormalizationRuleResponseBodyNormalizationRule extends $dara.Mod
|
|
|
108
114
|
return {
|
|
109
115
|
createTime: 'number',
|
|
110
116
|
extendContentPacked: 'string',
|
|
117
|
+
extendFieldStoreMode: 'string',
|
|
111
118
|
normalizationCategoryId: 'string',
|
|
112
119
|
normalizationRuleDescription: 'string',
|
|
113
120
|
normalizationRuleExpression: 'string',
|
|
@@ -2,7 +2,90 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationFieldsNormalizationFieldJsonKeys extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1736386610000
|
|
9
|
+
*/
|
|
10
|
+
createTime?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 云code,枚举值:\n<br>● alibaba_cloud\n<br>● huawei_cloud\n<br>● tencent_cloud
|
|
14
|
+
*/
|
|
15
|
+
normalizationFieldDescription?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* alibaba_cloud
|
|
19
|
+
*/
|
|
20
|
+
normalizationFieldExample?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* preset
|
|
24
|
+
*/
|
|
25
|
+
normalizationFieldFrom?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* cloud_code
|
|
29
|
+
*/
|
|
30
|
+
normalizationFieldName?: string;
|
|
31
|
+
normalizationFieldRequired?: boolean;
|
|
32
|
+
normalizationFieldReserved?: boolean;
|
|
33
|
+
normalizationFieldTokenize?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* varchar
|
|
37
|
+
*/
|
|
38
|
+
normalizationFieldType?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 1736386610000
|
|
42
|
+
*/
|
|
43
|
+
updateTime?: number;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
createTime: 'CreateTime',
|
|
47
|
+
normalizationFieldDescription: 'NormalizationFieldDescription',
|
|
48
|
+
normalizationFieldExample: 'NormalizationFieldExample',
|
|
49
|
+
normalizationFieldFrom: 'NormalizationFieldFrom',
|
|
50
|
+
normalizationFieldName: 'NormalizationFieldName',
|
|
51
|
+
normalizationFieldRequired: 'NormalizationFieldRequired',
|
|
52
|
+
normalizationFieldReserved: 'NormalizationFieldReserved',
|
|
53
|
+
normalizationFieldTokenize: 'NormalizationFieldTokenize',
|
|
54
|
+
normalizationFieldType: 'NormalizationFieldType',
|
|
55
|
+
updateTime: 'UpdateTime',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
createTime: 'number',
|
|
62
|
+
normalizationFieldDescription: 'string',
|
|
63
|
+
normalizationFieldExample: 'string',
|
|
64
|
+
normalizationFieldFrom: 'string',
|
|
65
|
+
normalizationFieldName: 'string',
|
|
66
|
+
normalizationFieldRequired: 'boolean',
|
|
67
|
+
normalizationFieldReserved: 'boolean',
|
|
68
|
+
normalizationFieldTokenize: 'boolean',
|
|
69
|
+
normalizationFieldType: 'string',
|
|
70
|
+
updateTime: 'number',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
super.validate();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
constructor(map?: { [key: string]: any }) {
|
|
79
|
+
super(map);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
5
83
|
export class GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationFields extends $dara.Model {
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* 1736386610000
|
|
87
|
+
*/
|
|
88
|
+
createTime?: number;
|
|
6
89
|
/**
|
|
7
90
|
* @example
|
|
8
91
|
* cloud_user。
|
|
@@ -13,11 +96,19 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationF
|
|
|
13
96
|
* 173326*******。
|
|
14
97
|
*/
|
|
15
98
|
normalizationFieldExample?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @example
|
|
101
|
+
* preset
|
|
102
|
+
*/
|
|
103
|
+
normalizationFieldFrom?: string;
|
|
104
|
+
normalizationFieldJsonIndexAll?: boolean;
|
|
105
|
+
normalizationFieldJsonKeys?: GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationFieldsNormalizationFieldJsonKeys[];
|
|
16
106
|
/**
|
|
17
107
|
* @example
|
|
18
108
|
* cloud_user。
|
|
19
109
|
*/
|
|
20
110
|
normalizationFieldName?: string;
|
|
111
|
+
normalizationFieldRequired?: boolean;
|
|
21
112
|
/**
|
|
22
113
|
* @example
|
|
23
114
|
* true。
|
|
@@ -28,30 +119,80 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationF
|
|
|
28
119
|
* true。
|
|
29
120
|
*/
|
|
30
121
|
normalizationFieldReserved?: boolean;
|
|
122
|
+
normalizationFieldTokenize?: boolean;
|
|
31
123
|
/**
|
|
32
124
|
* @example
|
|
33
125
|
* varchar。
|
|
34
126
|
*/
|
|
35
127
|
normalizationFieldType?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @example
|
|
130
|
+
* 1736386610000
|
|
131
|
+
*/
|
|
132
|
+
updateTime?: number;
|
|
36
133
|
static names(): { [key: string]: string } {
|
|
37
134
|
return {
|
|
135
|
+
createTime: 'CreateTime',
|
|
38
136
|
normalizationFieldDescription: 'NormalizationFieldDescription',
|
|
39
137
|
normalizationFieldExample: 'NormalizationFieldExample',
|
|
138
|
+
normalizationFieldFrom: 'NormalizationFieldFrom',
|
|
139
|
+
normalizationFieldJsonIndexAll: 'NormalizationFieldJsonIndexAll',
|
|
140
|
+
normalizationFieldJsonKeys: 'NormalizationFieldJsonKeys',
|
|
40
141
|
normalizationFieldName: 'NormalizationFieldName',
|
|
142
|
+
normalizationFieldRequired: 'NormalizationFieldRequired',
|
|
41
143
|
normalizationFieldRequirement: 'NormalizationFieldRequirement',
|
|
42
144
|
normalizationFieldReserved: 'NormalizationFieldReserved',
|
|
145
|
+
normalizationFieldTokenize: 'NormalizationFieldTokenize',
|
|
43
146
|
normalizationFieldType: 'NormalizationFieldType',
|
|
147
|
+
updateTime: 'UpdateTime',
|
|
44
148
|
};
|
|
45
149
|
}
|
|
46
150
|
|
|
47
151
|
static types(): { [key: string]: any } {
|
|
48
152
|
return {
|
|
153
|
+
createTime: 'number',
|
|
49
154
|
normalizationFieldDescription: 'string',
|
|
50
155
|
normalizationFieldExample: 'string',
|
|
156
|
+
normalizationFieldFrom: 'string',
|
|
157
|
+
normalizationFieldJsonIndexAll: 'boolean',
|
|
158
|
+
normalizationFieldJsonKeys: { 'type': 'array', 'itemType': GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationFieldsNormalizationFieldJsonKeys },
|
|
51
159
|
normalizationFieldName: 'string',
|
|
160
|
+
normalizationFieldRequired: 'boolean',
|
|
52
161
|
normalizationFieldRequirement: 'boolean',
|
|
53
162
|
normalizationFieldReserved: 'boolean',
|
|
163
|
+
normalizationFieldTokenize: 'boolean',
|
|
54
164
|
normalizationFieldType: 'string',
|
|
165
|
+
updateTime: 'number',
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
validate() {
|
|
170
|
+
if(Array.isArray(this.normalizationFieldJsonKeys)) {
|
|
171
|
+
$dara.Model.validateArray(this.normalizationFieldJsonKeys);
|
|
172
|
+
}
|
|
173
|
+
super.validate();
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
constructor(map?: { [key: string]: any }) {
|
|
177
|
+
super(map);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export class GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationSchemaReferences extends $dara.Model {
|
|
182
|
+
/**
|
|
183
|
+
* @example
|
|
184
|
+
* alibaba_cloud_cfw_flow_rule
|
|
185
|
+
*/
|
|
186
|
+
normalizationRuleId?: string;
|
|
187
|
+
static names(): { [key: string]: string } {
|
|
188
|
+
return {
|
|
189
|
+
normalizationRuleId: 'NormalizationRuleId',
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static types(): { [key: string]: any } {
|
|
194
|
+
return {
|
|
195
|
+
normalizationRuleId: 'string',
|
|
55
196
|
};
|
|
56
197
|
}
|
|
57
198
|
|
|
@@ -65,6 +206,10 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationF
|
|
|
65
206
|
}
|
|
66
207
|
|
|
67
208
|
export class GetNormalizationSchemaResponseBodyNormalizationSchema extends $dara.Model {
|
|
209
|
+
/**
|
|
210
|
+
* @example
|
|
211
|
+
* 1733269771123
|
|
212
|
+
*/
|
|
68
213
|
createTime?: number;
|
|
69
214
|
/**
|
|
70
215
|
* @example
|
|
@@ -72,6 +217,16 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchema extends $dara
|
|
|
72
217
|
*/
|
|
73
218
|
normalizationCategoryId?: string;
|
|
74
219
|
normalizationFields?: GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationFields[];
|
|
220
|
+
/**
|
|
221
|
+
* @example
|
|
222
|
+
* 网络五元组日志
|
|
223
|
+
*/
|
|
224
|
+
normalizationSchemaDescription?: string;
|
|
225
|
+
/**
|
|
226
|
+
* @example
|
|
227
|
+
* preset
|
|
228
|
+
*/
|
|
229
|
+
normalizationSchemaFrom?: string;
|
|
75
230
|
/**
|
|
76
231
|
* @example
|
|
77
232
|
* HTTP_ACTIVITY。
|
|
@@ -82,6 +237,11 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchema extends $dara
|
|
|
82
237
|
* normalization_rule_Z57np。
|
|
83
238
|
*/
|
|
84
239
|
normalizationSchemaName?: string;
|
|
240
|
+
normalizationSchemaReferences?: GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationSchemaReferences[];
|
|
241
|
+
/**
|
|
242
|
+
* @example
|
|
243
|
+
* preset
|
|
244
|
+
*/
|
|
85
245
|
normalizationSchemaType?: string;
|
|
86
246
|
/**
|
|
87
247
|
* @example
|
|
@@ -93,14 +253,21 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchema extends $dara
|
|
|
93
253
|
* network_activity。
|
|
94
254
|
*/
|
|
95
255
|
targetStoreView?: string;
|
|
256
|
+
/**
|
|
257
|
+
* @example
|
|
258
|
+
* 1733269771123
|
|
259
|
+
*/
|
|
96
260
|
updateTime?: number;
|
|
97
261
|
static names(): { [key: string]: string } {
|
|
98
262
|
return {
|
|
99
263
|
createTime: 'CreateTime',
|
|
100
264
|
normalizationCategoryId: 'NormalizationCategoryId',
|
|
101
265
|
normalizationFields: 'NormalizationFields',
|
|
266
|
+
normalizationSchemaDescription: 'NormalizationSchemaDescription',
|
|
267
|
+
normalizationSchemaFrom: 'NormalizationSchemaFrom',
|
|
102
268
|
normalizationSchemaId: 'NormalizationSchemaId',
|
|
103
269
|
normalizationSchemaName: 'NormalizationSchemaName',
|
|
270
|
+
normalizationSchemaReferences: 'NormalizationSchemaReferences',
|
|
104
271
|
normalizationSchemaType: 'NormalizationSchemaType',
|
|
105
272
|
targetLogStore: 'TargetLogStore',
|
|
106
273
|
targetStoreView: 'TargetStoreView',
|
|
@@ -113,8 +280,11 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchema extends $dara
|
|
|
113
280
|
createTime: 'number',
|
|
114
281
|
normalizationCategoryId: 'string',
|
|
115
282
|
normalizationFields: { 'type': 'array', 'itemType': GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationFields },
|
|
283
|
+
normalizationSchemaDescription: 'string',
|
|
284
|
+
normalizationSchemaFrom: 'string',
|
|
116
285
|
normalizationSchemaId: 'string',
|
|
117
286
|
normalizationSchemaName: 'string',
|
|
287
|
+
normalizationSchemaReferences: { 'type': 'array', 'itemType': GetNormalizationSchemaResponseBodyNormalizationSchemaNormalizationSchemaReferences },
|
|
118
288
|
normalizationSchemaType: 'string',
|
|
119
289
|
targetLogStore: 'string',
|
|
120
290
|
targetStoreView: 'string',
|
|
@@ -126,6 +296,9 @@ export class GetNormalizationSchemaResponseBodyNormalizationSchema extends $dara
|
|
|
126
296
|
if(Array.isArray(this.normalizationFields)) {
|
|
127
297
|
$dara.Model.validateArray(this.normalizationFields);
|
|
128
298
|
}
|
|
299
|
+
if(Array.isArray(this.normalizationSchemaReferences)) {
|
|
300
|
+
$dara.Model.validateArray(this.normalizationSchemaReferences);
|
|
301
|
+
}
|
|
129
302
|
super.validate();
|
|
130
303
|
}
|
|
131
304
|
|
|
@@ -51,6 +51,11 @@ export class ListDataSourcesResponseBodyDataSourcesDataSourceStores extends $dar
|
|
|
51
51
|
* normal。
|
|
52
52
|
*/
|
|
53
53
|
dataSourceStoreStatus?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* LogStoreNotExist
|
|
57
|
+
*/
|
|
58
|
+
dataSourceStoreStatusCode?: string;
|
|
54
59
|
/**
|
|
55
60
|
* @example
|
|
56
61
|
* aliyun-cloudsiem-data-173326*******-cn-hangzhou。
|
|
@@ -78,6 +83,7 @@ export class ListDataSourcesResponseBodyDataSourcesDataSourceStores extends $dar
|
|
|
78
83
|
dataSourceStoreFrom: 'DataSourceStoreFrom',
|
|
79
84
|
dataSourceStoreId: 'DataSourceStoreId',
|
|
80
85
|
dataSourceStoreStatus: 'DataSourceStoreStatus',
|
|
86
|
+
dataSourceStoreStatusCode: 'DataSourceStoreStatusCode',
|
|
81
87
|
logProjectName: 'LogProjectName',
|
|
82
88
|
logRegionId: 'LogRegionId',
|
|
83
89
|
logStoreName: 'LogStoreName',
|
|
@@ -92,6 +98,7 @@ export class ListDataSourcesResponseBodyDataSourcesDataSourceStores extends $dar
|
|
|
92
98
|
dataSourceStoreFrom: 'string',
|
|
93
99
|
dataSourceStoreId: 'string',
|
|
94
100
|
dataSourceStoreStatus: 'string',
|
|
101
|
+
dataSourceStoreStatusCode: 'string',
|
|
95
102
|
logProjectName: 'string',
|
|
96
103
|
logRegionId: 'string',
|
|
97
104
|
logStoreName: 'string',
|