@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.
Files changed (129) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +222 -3
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDataSourceRequest.d.ts +0 -3
  5. package/dist/models/CreateDataSourceRequest.js +0 -6
  6. package/dist/models/CreateDataSourceRequest.js.map +1 -1
  7. package/dist/models/CreateDataSourceShrinkRequest.d.ts +0 -3
  8. package/dist/models/CreateDataSourceShrinkRequest.js +0 -6
  9. package/dist/models/CreateDataSourceShrinkRequest.js.map +1 -1
  10. package/dist/models/CreateDetectionRuleRequest.d.ts +12 -0
  11. package/dist/models/CreateDetectionRuleRequest.js +8 -0
  12. package/dist/models/CreateDetectionRuleRequest.js.map +1 -1
  13. package/dist/models/CreateNormalizationRuleRequest.d.ts +5 -0
  14. package/dist/models/CreateNormalizationRuleRequest.js +2 -0
  15. package/dist/models/CreateNormalizationRuleRequest.js.map +1 -1
  16. package/dist/models/CreateNormalizationRuleShrinkRequest.d.ts +5 -0
  17. package/dist/models/CreateNormalizationRuleShrinkRequest.js +2 -0
  18. package/dist/models/CreateNormalizationRuleShrinkRequest.js.map +1 -1
  19. package/dist/models/CreateNormalizationSchemaRequest.d.ts +188 -0
  20. package/dist/models/CreateNormalizationSchemaRequest.js +152 -0
  21. package/dist/models/CreateNormalizationSchemaRequest.js.map +1 -0
  22. package/dist/models/CreateNormalizationSchemaResponse.d.ts +19 -0
  23. package/dist/models/CreateNormalizationSchemaResponse.js +69 -0
  24. package/dist/models/CreateNormalizationSchemaResponse.js.map +1 -0
  25. package/dist/models/CreateNormalizationSchemaResponseBody.d.ts +18 -0
  26. package/dist/models/CreateNormalizationSchemaResponseBody.js +58 -0
  27. package/dist/models/CreateNormalizationSchemaResponseBody.js.map +1 -0
  28. package/dist/models/GetIncidentResponseBody.d.ts +5 -0
  29. package/dist/models/GetIncidentResponseBody.js +2 -0
  30. package/dist/models/GetIncidentResponseBody.js.map +1 -1
  31. package/dist/models/GetNormalizationRuleResponseBody.d.ts +5 -0
  32. package/dist/models/GetNormalizationRuleResponseBody.js +2 -0
  33. package/dist/models/GetNormalizationRuleResponseBody.js.map +1 -1
  34. package/dist/models/GetNormalizationSchemaResponseBody.d.ts +109 -0
  35. package/dist/models/GetNormalizationSchemaResponseBody.js +83 -1
  36. package/dist/models/GetNormalizationSchemaResponseBody.js.map +1 -1
  37. package/dist/models/ListDataSourcesResponseBody.d.ts +5 -0
  38. package/dist/models/ListDataSourcesResponseBody.js +2 -0
  39. package/dist/models/ListDataSourcesResponseBody.js.map +1 -1
  40. package/dist/models/ListDetectionRulesResponseBody.d.ts +2 -0
  41. package/dist/models/ListDetectionRulesResponseBody.js +4 -0
  42. package/dist/models/ListDetectionRulesResponseBody.js.map +1 -1
  43. package/dist/models/ListIncidentsRequest.d.ts +1 -0
  44. package/dist/models/ListIncidentsRequest.js +5 -0
  45. package/dist/models/ListIncidentsRequest.js.map +1 -1
  46. package/dist/models/ListIncidentsResponseBody.d.ts +11 -0
  47. package/dist/models/ListIncidentsResponseBody.js +6 -0
  48. package/dist/models/ListIncidentsResponseBody.js.map +1 -1
  49. package/dist/models/ListIncidentsShrinkRequest.d.ts +1 -0
  50. package/dist/models/ListIncidentsShrinkRequest.js +5 -0
  51. package/dist/models/ListIncidentsShrinkRequest.js.map +1 -1
  52. package/dist/models/ListNormalizationFieldsResponseBody.d.ts +69 -0
  53. package/dist/models/ListNormalizationFieldsResponseBody.js +55 -1
  54. package/dist/models/ListNormalizationFieldsResponseBody.js.map +1 -1
  55. package/dist/models/ListNormalizationRulesResponseBody.d.ts +5 -0
  56. package/dist/models/ListNormalizationRulesResponseBody.js +2 -0
  57. package/dist/models/ListNormalizationRulesResponseBody.js.map +1 -1
  58. package/dist/models/ListNormalizationSchemasResponseBody.d.ts +30 -0
  59. package/dist/models/ListNormalizationSchemasResponseBody.js +12 -0
  60. package/dist/models/ListNormalizationSchemasResponseBody.js.map +1 -1
  61. package/dist/models/RefreshDataSourceRequest.d.ts +33 -0
  62. package/dist/models/RefreshDataSourceRequest.js +64 -0
  63. package/dist/models/RefreshDataSourceRequest.js.map +1 -0
  64. package/dist/models/RefreshDataSourceResponse.d.ts +19 -0
  65. package/dist/models/RefreshDataSourceResponse.js +69 -0
  66. package/dist/models/RefreshDataSourceResponse.js.map +1 -0
  67. package/dist/models/RefreshDataSourceResponseBody.d.ts +21 -0
  68. package/dist/models/RefreshDataSourceResponseBody.js +58 -0
  69. package/dist/models/RefreshDataSourceResponseBody.js.map +1 -0
  70. package/dist/models/UpdateDetectionRuleRequest.d.ts +2 -0
  71. package/dist/models/UpdateDetectionRuleRequest.js +4 -0
  72. package/dist/models/UpdateDetectionRuleRequest.js.map +1 -1
  73. package/dist/models/UpdateNormalizationRuleRequest.d.ts +10 -0
  74. package/dist/models/UpdateNormalizationRuleRequest.js +4 -0
  75. package/dist/models/UpdateNormalizationRuleRequest.js.map +1 -1
  76. package/dist/models/UpdateNormalizationRuleShrinkRequest.d.ts +10 -0
  77. package/dist/models/UpdateNormalizationRuleShrinkRequest.js +4 -0
  78. package/dist/models/UpdateNormalizationRuleShrinkRequest.js.map +1 -1
  79. package/dist/models/UpdateNormalizationSchemaRequest.d.ts +146 -0
  80. package/dist/models/UpdateNormalizationSchemaRequest.js +144 -0
  81. package/dist/models/UpdateNormalizationSchemaRequest.js.map +1 -0
  82. package/dist/models/UpdateNormalizationSchemaResponse.d.ts +19 -0
  83. package/dist/models/UpdateNormalizationSchemaResponse.js +69 -0
  84. package/dist/models/UpdateNormalizationSchemaResponse.js.map +1 -0
  85. package/dist/models/UpdateNormalizationSchemaResponseBody.d.ts +18 -0
  86. package/dist/models/UpdateNormalizationSchemaResponseBody.js +58 -0
  87. package/dist/models/UpdateNormalizationSchemaResponseBody.js.map +1 -0
  88. package/dist/models/ValidateNormalizationRuleRequest.d.ts +30 -0
  89. package/dist/models/ValidateNormalizationRuleRequest.js +12 -0
  90. package/dist/models/ValidateNormalizationRuleRequest.js.map +1 -1
  91. package/dist/models/ValidateNormalizationRuleResponseBody.d.ts +31 -0
  92. package/dist/models/ValidateNormalizationRuleResponseBody.js +14 -0
  93. package/dist/models/ValidateNormalizationRuleResponseBody.js.map +1 -1
  94. package/dist/models/model.d.ts +16 -0
  95. package/dist/models/model.js +46 -13
  96. package/dist/models/model.js.map +1 -1
  97. package/package.json +1 -1
  98. package/src/client.ts +266 -4
  99. package/src/models/CreateDataSourceRequest.ts +0 -9
  100. package/src/models/CreateDataSourceShrinkRequest.ts +0 -9
  101. package/src/models/CreateDetectionRuleRequest.ts +20 -0
  102. package/src/models/CreateNormalizationRuleRequest.ts +7 -0
  103. package/src/models/CreateNormalizationRuleShrinkRequest.ts +7 -0
  104. package/src/models/CreateNormalizationSchemaRequest.ts +277 -0
  105. package/src/models/CreateNormalizationSchemaResponse.ts +40 -0
  106. package/src/models/CreateNormalizationSchemaResponseBody.ts +31 -0
  107. package/src/models/GetIncidentResponseBody.ts +7 -0
  108. package/src/models/GetNormalizationRuleResponseBody.ts +7 -0
  109. package/src/models/GetNormalizationSchemaResponseBody.ts +173 -0
  110. package/src/models/ListDataSourcesResponseBody.ts +7 -0
  111. package/src/models/ListDetectionRulesResponseBody.ts +6 -0
  112. package/src/models/ListIncidentsRequest.ts +6 -0
  113. package/src/models/ListIncidentsResponseBody.ts +17 -0
  114. package/src/models/ListIncidentsShrinkRequest.ts +6 -0
  115. package/src/models/ListNormalizationFieldsResponseBody.ts +114 -0
  116. package/src/models/ListNormalizationRulesResponseBody.ts +7 -0
  117. package/src/models/ListNormalizationSchemasResponseBody.ts +42 -0
  118. package/src/models/RefreshDataSourceRequest.ts +52 -0
  119. package/src/models/RefreshDataSourceResponse.ts +40 -0
  120. package/src/models/RefreshDataSourceResponseBody.ts +34 -0
  121. package/src/models/UpdateDetectionRuleRequest.ts +6 -0
  122. package/src/models/UpdateNormalizationRuleRequest.ts +14 -0
  123. package/src/models/UpdateNormalizationRuleShrinkRequest.ts +14 -0
  124. package/src/models/UpdateNormalizationSchemaRequest.ts +227 -0
  125. package/src/models/UpdateNormalizationSchemaResponse.ts +40 -0
  126. package/src/models/UpdateNormalizationSchemaResponseBody.ts +31 -0
  127. package/src/models/ValidateNormalizationRuleRequest.ts +42 -0
  128. package/src/models/ValidateNormalizationRuleResponseBody.ts +45 -0
  129. package/src/models/model.ts +16 -0
@@ -145,11 +145,13 @@ export class ListDetectionRulesResponseBodyDetectionRules extends $dara.Model {
145
145
  * Discovery
146
146
  */
147
147
  alertAttCk?: string;
148
+ alertDescription?: string;
148
149
  /**
149
150
  * @example
150
151
  * 1
151
152
  */
152
153
  alertLevel?: string;
154
+ alertName?: string;
153
155
  /**
154
156
  * @example
155
157
  * ALERT_ACTIVITY
@@ -307,7 +309,9 @@ export class ListDetectionRulesResponseBodyDetectionRules extends $dara.Model {
307
309
  static names(): { [key: string]: string } {
308
310
  return {
309
311
  alertAttCk: 'AlertAttCk',
312
+ alertDescription: 'AlertDescription',
310
313
  alertLevel: 'AlertLevel',
314
+ alertName: 'AlertName',
311
315
  alertSchemaId: 'AlertSchemaId',
312
316
  alertTacticId: 'AlertTacticId',
313
317
  alertThresholdCount: 'AlertThresholdCount',
@@ -343,7 +347,9 @@ export class ListDetectionRulesResponseBodyDetectionRules extends $dara.Model {
343
347
  static types(): { [key: string]: any } {
344
348
  return {
345
349
  alertAttCk: 'string',
350
+ alertDescription: 'string',
346
351
  alertLevel: 'string',
352
+ alertName: 'string',
347
353
  alertSchemaId: 'string',
348
354
  alertTacticId: 'string',
349
355
  alertThresholdCount: 'number',
@@ -54,6 +54,7 @@ export class ListIncidentsRequest extends $dara.Model {
54
54
  * GmtModified
55
55
  */
56
56
  orderFieldName?: string;
57
+ owners?: string[];
57
58
  /**
58
59
  * @remarks
59
60
  * This parameter is required.
@@ -110,6 +111,7 @@ export class ListIncidentsRequest extends $dara.Model {
110
111
  nextToken: 'NextToken',
111
112
  orderDirection: 'OrderDirection',
112
113
  orderFieldName: 'OrderFieldName',
114
+ owners: 'Owners',
113
115
  pageNumber: 'PageNumber',
114
116
  pageSize: 'PageSize',
115
117
  regionId: 'RegionId',
@@ -135,6 +137,7 @@ export class ListIncidentsRequest extends $dara.Model {
135
137
  nextToken: 'string',
136
138
  orderDirection: 'string',
137
139
  orderFieldName: 'string',
140
+ owners: { 'type': 'array', 'itemType': 'string' },
138
141
  pageNumber: 'number',
139
142
  pageSize: 'number',
140
143
  regionId: 'string',
@@ -151,6 +154,9 @@ export class ListIncidentsRequest extends $dara.Model {
151
154
  if(Array.isArray(this.incidentUuids)) {
152
155
  $dara.Model.validateArray(this.incidentUuids);
153
156
  }
157
+ if(Array.isArray(this.owners)) {
158
+ $dara.Model.validateArray(this.owners);
159
+ }
154
160
  if(Array.isArray(this.threatLevel)) {
155
161
  $dara.Model.validateArray(this.threatLevel);
156
162
  }
@@ -8,6 +8,7 @@ export class ListIncidentsResponseBodyIncidents extends $dara.Model {
8
8
  * 1603248483000
9
9
  */
10
10
  createTime?: number;
11
+ detectionRuleId?: string;
11
12
  /**
12
13
  * @example
13
14
  * ECS unusual log in
@@ -23,11 +24,21 @@ export class ListIncidentsResponseBodyIncidents extends $dara.Model {
23
24
  * 0
24
25
  */
25
26
  incidentStatus?: number;
27
+ /**
28
+ * @example
29
+ * ["sys:data_source:siem","sys:trigger_type:auto"]
30
+ */
31
+ incidentTags?: string;
26
32
  /**
27
33
  * @example
28
34
  * dbb1d7211c9285c862aa89385098****
29
35
  */
30
36
  incidentUuid?: string;
37
+ /**
38
+ * @example
39
+ * 1234567890xxxxxx
40
+ */
41
+ owner?: string;
31
42
  /**
32
43
  * @example
33
44
  * 3
@@ -51,10 +62,13 @@ export class ListIncidentsResponseBodyIncidents extends $dara.Model {
51
62
  static names(): { [key: string]: string } {
52
63
  return {
53
64
  createTime: 'CreateTime',
65
+ detectionRuleId: 'DetectionRuleId',
54
66
  incidentName: 'IncidentName',
55
67
  incidentRemark: 'IncidentRemark',
56
68
  incidentStatus: 'IncidentStatus',
69
+ incidentTags: 'IncidentTags',
57
70
  incidentUuid: 'IncidentUuid',
71
+ owner: 'Owner',
58
72
  relateAlertCount: 'RelateAlertCount',
59
73
  relateAssetCount: 'RelateAssetCount',
60
74
  threatLevel: 'ThreatLevel',
@@ -65,10 +79,13 @@ export class ListIncidentsResponseBodyIncidents extends $dara.Model {
65
79
  static types(): { [key: string]: any } {
66
80
  return {
67
81
  createTime: 'number',
82
+ detectionRuleId: 'string',
68
83
  incidentName: 'string',
69
84
  incidentRemark: 'string',
70
85
  incidentStatus: 'number',
86
+ incidentTags: 'string',
71
87
  incidentUuid: 'string',
88
+ owner: 'string',
72
89
  relateAlertCount: 'number',
73
90
  relateAssetCount: 'number',
74
91
  threatLevel: 'string',
@@ -54,6 +54,7 @@ export class ListIncidentsShrinkRequest extends $dara.Model {
54
54
  * GmtModified
55
55
  */
56
56
  orderFieldName?: string;
57
+ owners?: string[];
57
58
  /**
58
59
  * @remarks
59
60
  * This parameter is required.
@@ -110,6 +111,7 @@ export class ListIncidentsShrinkRequest extends $dara.Model {
110
111
  nextToken: 'NextToken',
111
112
  orderDirection: 'OrderDirection',
112
113
  orderFieldName: 'OrderFieldName',
114
+ owners: 'Owners',
113
115
  pageNumber: 'PageNumber',
114
116
  pageSize: 'PageSize',
115
117
  regionId: 'RegionId',
@@ -135,6 +137,7 @@ export class ListIncidentsShrinkRequest extends $dara.Model {
135
137
  nextToken: 'string',
136
138
  orderDirection: 'string',
137
139
  orderFieldName: 'string',
140
+ owners: { 'type': 'array', 'itemType': 'string' },
138
141
  pageNumber: 'number',
139
142
  pageSize: 'number',
140
143
  regionId: 'string',
@@ -148,6 +151,9 @@ export class ListIncidentsShrinkRequest extends $dara.Model {
148
151
  }
149
152
 
150
153
  validate() {
154
+ if(Array.isArray(this.owners)) {
155
+ $dara.Model.validateArray(this.owners);
156
+ }
151
157
  if(Array.isArray(this.threatLevel)) {
152
158
  $dara.Model.validateArray(this.threatLevel);
153
159
  }
@@ -2,7 +2,90 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class ListNormalizationFieldsResponseBodyNormalizationFieldsNormalizationFieldJsonKeys extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1736386610000
9
+ */
10
+ createTime?: number;
11
+ /**
12
+ * @example
13
+ * 告警等级
14
+ */
15
+ normalizationFieldDescription?: string;
16
+ /**
17
+ * @example
18
+ * 枚举值:1、2、3、4、5
19
+ */
20
+ normalizationFieldExample?: string;
21
+ /**
22
+ * @example
23
+ * preset
24
+ */
25
+ normalizationFieldFrom?: string;
26
+ /**
27
+ * @example
28
+ * alert_name
29
+ */
30
+ normalizationFieldName?: string;
31
+ normalizationFieldRequired?: boolean;
32
+ normalizationFieldReserved?: boolean;
33
+ normalizationFieldTokenize?: boolean;
34
+ /**
35
+ * @example
36
+ * text
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 ListNormalizationFieldsResponseBodyNormalizationFields extends $dara.Model {
84
+ /**
85
+ * @example
86
+ * 1736386610000
87
+ */
88
+ createTime?: number;
6
89
  /**
7
90
  * @example
8
91
  * NETWORK_CATEGORY。
@@ -18,11 +101,19 @@ export class ListNormalizationFieldsResponseBodyNormalizationFields extends $dar
18
101
  * 173326*******。
19
102
  */
20
103
  normalizationFieldExample?: string;
104
+ /**
105
+ * @example
106
+ * preset
107
+ */
108
+ normalizationFieldFrom?: string;
109
+ normalizationFieldJsonIndexAll?: boolean;
110
+ normalizationFieldJsonKeys?: ListNormalizationFieldsResponseBodyNormalizationFieldsNormalizationFieldJsonKeys[];
21
111
  /**
22
112
  * @example
23
113
  * cloud_user。
24
114
  */
25
115
  normalizationFieldName?: string;
116
+ normalizationFieldRequired?: boolean;
26
117
  /**
27
118
  * @example
28
119
  * true。
@@ -33,6 +124,7 @@ export class ListNormalizationFieldsResponseBodyNormalizationFields extends $dar
33
124
  * true。
34
125
  */
35
126
  normalizationFieldReserved?: boolean;
127
+ normalizationFieldTokenize?: boolean;
36
128
  /**
37
129
  * @example
38
130
  * varchar。
@@ -43,33 +135,55 @@ export class ListNormalizationFieldsResponseBodyNormalizationFields extends $dar
43
135
  * NETWORK_SESSION_ACTIVITY。
44
136
  */
45
137
  normalizationSchemaId?: string;
138
+ /**
139
+ * @example
140
+ * 1736386610000
141
+ */
142
+ updateTime?: number;
46
143
  static names(): { [key: string]: string } {
47
144
  return {
145
+ createTime: 'CreateTime',
48
146
  normalizationCategoryId: 'NormalizationCategoryId',
49
147
  normalizationFieldDescription: 'NormalizationFieldDescription',
50
148
  normalizationFieldExample: 'NormalizationFieldExample',
149
+ normalizationFieldFrom: 'NormalizationFieldFrom',
150
+ normalizationFieldJsonIndexAll: 'NormalizationFieldJsonIndexAll',
151
+ normalizationFieldJsonKeys: 'NormalizationFieldJsonKeys',
51
152
  normalizationFieldName: 'NormalizationFieldName',
153
+ normalizationFieldRequired: 'NormalizationFieldRequired',
52
154
  normalizationFieldRequirement: 'NormalizationFieldRequirement',
53
155
  normalizationFieldReserved: 'NormalizationFieldReserved',
156
+ normalizationFieldTokenize: 'NormalizationFieldTokenize',
54
157
  normalizationFieldType: 'NormalizationFieldType',
55
158
  normalizationSchemaId: 'NormalizationSchemaId',
159
+ updateTime: 'UpdateTime',
56
160
  };
57
161
  }
58
162
 
59
163
  static types(): { [key: string]: any } {
60
164
  return {
165
+ createTime: 'number',
61
166
  normalizationCategoryId: 'string',
62
167
  normalizationFieldDescription: 'string',
63
168
  normalizationFieldExample: 'string',
169
+ normalizationFieldFrom: 'string',
170
+ normalizationFieldJsonIndexAll: 'boolean',
171
+ normalizationFieldJsonKeys: { 'type': 'array', 'itemType': ListNormalizationFieldsResponseBodyNormalizationFieldsNormalizationFieldJsonKeys },
64
172
  normalizationFieldName: 'string',
173
+ normalizationFieldRequired: 'boolean',
65
174
  normalizationFieldRequirement: 'boolean',
66
175
  normalizationFieldReserved: 'boolean',
176
+ normalizationFieldTokenize: 'boolean',
67
177
  normalizationFieldType: 'string',
68
178
  normalizationSchemaId: 'string',
179
+ updateTime: 'number',
69
180
  };
70
181
  }
71
182
 
72
183
  validate() {
184
+ if(Array.isArray(this.normalizationFieldJsonKeys)) {
185
+ $dara.Model.validateArray(this.normalizationFieldJsonKeys);
186
+ }
73
187
  super.validate();
74
188
  }
75
189
 
@@ -36,6 +36,11 @@ export class ListNormalizationRulesResponseBodyNormalizationRules extends $dara.
36
36
  */
37
37
  createTime?: number;
38
38
  extendContentPacked?: string;
39
+ /**
40
+ * @example
41
+ * flat
42
+ */
43
+ extendFieldStoreMode?: string;
39
44
  /**
40
45
  * @example
41
46
  * NETWORK_CATEGORY。
@@ -111,6 +116,7 @@ export class ListNormalizationRulesResponseBodyNormalizationRules extends $dara.
111
116
  return {
112
117
  createTime: 'CreateTime',
113
118
  extendContentPacked: 'ExtendContentPacked',
119
+ extendFieldStoreMode: 'ExtendFieldStoreMode',
114
120
  normalizationCategoryId: 'NormalizationCategoryId',
115
121
  normalizationRuleDescription: 'NormalizationRuleDescription',
116
122
  normalizationRuleExpression: 'NormalizationRuleExpression',
@@ -133,6 +139,7 @@ export class ListNormalizationRulesResponseBodyNormalizationRules extends $dara.
133
139
  return {
134
140
  createTime: 'number',
135
141
  extendContentPacked: 'string',
142
+ extendFieldStoreMode: 'string',
136
143
  normalizationCategoryId: 'string',
137
144
  normalizationRuleDescription: 'string',
138
145
  normalizationRuleExpression: 'string',
@@ -3,11 +3,26 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListNormalizationSchemasResponseBodyNormalizationSchemas extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1736386610000
9
+ */
10
+ createTime?: number;
6
11
  /**
7
12
  * @example
8
13
  * NETWORK_CATEGORY。
9
14
  */
10
15
  normalizationCategoryId?: string;
16
+ /**
17
+ * @example
18
+ * 网络五元组日志
19
+ */
20
+ normalizationSchemaDescription?: string;
21
+ /**
22
+ * @example
23
+ * preset
24
+ */
25
+ normalizationSchemaFrom?: string;
11
26
  /**
12
27
  * @example
13
28
  * HTTP_ACTIVITY。
@@ -23,21 +38,48 @@ export class ListNormalizationSchemasResponseBodyNormalizationSchemas extends $d
23
38
  * network-activity。
24
39
  */
25
40
  normalizationSchemaTargetLogStore?: string;
41
+ /**
42
+ * @example
43
+ * network-activity
44
+ */
45
+ targetLogStore?: string;
46
+ /**
47
+ * @example
48
+ * network-activity
49
+ */
50
+ targetStoreView?: string;
51
+ /**
52
+ * @example
53
+ * 1736386610000
54
+ */
55
+ updateTime?: number;
26
56
  static names(): { [key: string]: string } {
27
57
  return {
58
+ createTime: 'CreateTime',
28
59
  normalizationCategoryId: 'NormalizationCategoryId',
60
+ normalizationSchemaDescription: 'NormalizationSchemaDescription',
61
+ normalizationSchemaFrom: 'NormalizationSchemaFrom',
29
62
  normalizationSchemaId: 'NormalizationSchemaId',
30
63
  normalizationSchemaName: 'NormalizationSchemaName',
31
64
  normalizationSchemaTargetLogStore: 'NormalizationSchemaTargetLogStore',
65
+ targetLogStore: 'TargetLogStore',
66
+ targetStoreView: 'TargetStoreView',
67
+ updateTime: 'UpdateTime',
32
68
  };
33
69
  }
34
70
 
35
71
  static types(): { [key: string]: any } {
36
72
  return {
73
+ createTime: 'number',
37
74
  normalizationCategoryId: 'string',
75
+ normalizationSchemaDescription: 'string',
76
+ normalizationSchemaFrom: 'string',
38
77
  normalizationSchemaId: 'string',
39
78
  normalizationSchemaName: 'string',
40
79
  normalizationSchemaTargetLogStore: 'string',
80
+ targetLogStore: 'string',
81
+ targetStoreView: 'string',
82
+ updateTime: 'number',
41
83
  };
42
84
  }
43
85
 
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RefreshDataSourceRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ds-jl67vixpe1scwysgyu3x
9
+ */
10
+ dataSourceId?: string;
11
+ /**
12
+ * @example
13
+ * zh
14
+ */
15
+ lang?: string;
16
+ /**
17
+ * @example
18
+ * cn-hangzhou
19
+ */
20
+ regionId?: string;
21
+ /**
22
+ * @example
23
+ * 113091674488****
24
+ */
25
+ roleFor?: number;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ dataSourceId: 'DataSourceId',
29
+ lang: 'Lang',
30
+ regionId: 'RegionId',
31
+ roleFor: 'RoleFor',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ dataSourceId: 'string',
38
+ lang: 'string',
39
+ regionId: 'string',
40
+ roleFor: 'number',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RefreshDataSourceResponseBody } from "./RefreshDataSourceResponseBody";
4
+
5
+
6
+ export class RefreshDataSourceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RefreshDataSourceResponseBody;
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: RefreshDataSourceResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RefreshDataSourceResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 9AAA9ED9-78F4-5021-86DC-D51C7511****
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -8,11 +8,13 @@ export class UpdateDetectionRuleRequest extends $dara.Model {
8
8
  * Discovery
9
9
  */
10
10
  alertAttCk?: string;
11
+ alertDescription?: string;
11
12
  /**
12
13
  * @example
13
14
  * 1
14
15
  */
15
16
  alertLevel?: string;
17
+ alertName?: string;
16
18
  /**
17
19
  * @example
18
20
  * ALERT_ACTIVITY
@@ -179,7 +181,9 @@ export class UpdateDetectionRuleRequest extends $dara.Model {
179
181
  static names(): { [key: string]: string } {
180
182
  return {
181
183
  alertAttCk: 'AlertAttCk',
184
+ alertDescription: 'AlertDescription',
182
185
  alertLevel: 'AlertLevel',
186
+ alertName: 'AlertName',
183
187
  alertSchemaId: 'AlertSchemaId',
184
188
  alertTacticId: 'AlertTacticId',
185
189
  alertThresholdCount: 'AlertThresholdCount',
@@ -214,7 +218,9 @@ export class UpdateDetectionRuleRequest extends $dara.Model {
214
218
  static types(): { [key: string]: any } {
215
219
  return {
216
220
  alertAttCk: 'string',
221
+ alertDescription: 'string',
217
222
  alertLevel: 'string',
223
+ alertName: 'string',
218
224
  alertSchemaId: 'string',
219
225
  alertTacticId: 'string',
220
226
  alertThresholdCount: 'number',
@@ -4,11 +4,21 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateNormalizationRuleRequest extends $dara.Model {
6
6
  extendContentPacked?: string;
7
+ /**
8
+ * @example
9
+ * flat
10
+ */
11
+ extendFieldStoreMode?: string;
7
12
  /**
8
13
  * @example
9
14
  * zh。
10
15
  */
11
16
  lang?: string;
17
+ /**
18
+ * @example
19
+ * NETWORK_CATEGORY。
20
+ */
21
+ normalizationCategoryId?: string;
12
22
  /**
13
23
  * @example
14
24
  * normalization_rule_Z57np。
@@ -70,7 +80,9 @@ export class UpdateNormalizationRuleRequest extends $dara.Model {
70
80
  static names(): { [key: string]: string } {
71
81
  return {
72
82
  extendContentPacked: 'ExtendContentPacked',
83
+ extendFieldStoreMode: 'ExtendFieldStoreMode',
73
84
  lang: 'Lang',
85
+ normalizationCategoryId: 'NormalizationCategoryId',
74
86
  normalizationRuleDescription: 'NormalizationRuleDescription',
75
87
  normalizationRuleExpression: 'NormalizationRuleExpression',
76
88
  normalizationRuleFormat: 'NormalizationRuleFormat',
@@ -91,7 +103,9 @@ export class UpdateNormalizationRuleRequest extends $dara.Model {
91
103
  static types(): { [key: string]: any } {
92
104
  return {
93
105
  extendContentPacked: 'string',
106
+ extendFieldStoreMode: 'string',
94
107
  lang: 'string',
108
+ normalizationCategoryId: 'string',
95
109
  normalizationRuleDescription: 'string',
96
110
  normalizationRuleExpression: 'string',
97
111
  normalizationRuleFormat: 'string',
@@ -4,11 +4,21 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateNormalizationRuleShrinkRequest extends $dara.Model {
6
6
  extendContentPacked?: string;
7
+ /**
8
+ * @example
9
+ * flat
10
+ */
11
+ extendFieldStoreMode?: string;
7
12
  /**
8
13
  * @example
9
14
  * zh。
10
15
  */
11
16
  lang?: string;
17
+ /**
18
+ * @example
19
+ * NETWORK_CATEGORY。
20
+ */
21
+ normalizationCategoryId?: string;
12
22
  /**
13
23
  * @example
14
24
  * normalization_rule_Z57np。
@@ -70,7 +80,9 @@ export class UpdateNormalizationRuleShrinkRequest extends $dara.Model {
70
80
  static names(): { [key: string]: string } {
71
81
  return {
72
82
  extendContentPacked: 'ExtendContentPacked',
83
+ extendFieldStoreMode: 'ExtendFieldStoreMode',
73
84
  lang: 'Lang',
85
+ normalizationCategoryId: 'NormalizationCategoryId',
74
86
  normalizationRuleDescription: 'NormalizationRuleDescription',
75
87
  normalizationRuleExpression: 'NormalizationRuleExpression',
76
88
  normalizationRuleFormat: 'NormalizationRuleFormat',
@@ -91,7 +103,9 @@ export class UpdateNormalizationRuleShrinkRequest extends $dara.Model {
91
103
  static types(): { [key: string]: any } {
92
104
  return {
93
105
  extendContentPacked: 'string',
106
+ extendFieldStoreMode: 'string',
94
107
  lang: 'string',
108
+ normalizationCategoryId: 'string',
95
109
  normalizationRuleDescription: 'string',
96
110
  normalizationRuleExpression: 'string',
97
111
  normalizationRuleFormat: 'string',