cribl-control-plane 0.5.0-beta.6 → 0.5.0-beta.7

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 (186) hide show
  1. package/dist/commonjs/lib/config.d.ts +3 -3
  2. package/dist/commonjs/lib/config.js +3 -3
  3. package/dist/commonjs/models/functionconfschemaaggregatemetrics.d.ts +8 -8
  4. package/dist/commonjs/models/functionconfschemaaggregatemetrics.d.ts.map +1 -1
  5. package/dist/commonjs/models/functionconfschemaaggregation.d.ts +8 -8
  6. package/dist/commonjs/models/functionconfschemaaggregation.d.ts.map +1 -1
  7. package/dist/commonjs/models/functionconfschemacef.d.ts +1 -1
  8. package/dist/commonjs/models/functionconfschemacef.d.ts.map +1 -1
  9. package/dist/commonjs/models/functionconfschemadistinct.d.ts +3 -3
  10. package/dist/commonjs/models/functionconfschemadistinct.d.ts.map +1 -1
  11. package/dist/commonjs/models/functionconfschemadropdimensions.d.ts +2 -2
  12. package/dist/commonjs/models/functionconfschemadropdimensions.d.ts.map +1 -1
  13. package/dist/commonjs/models/functionconfschemadynamicsampling.d.ts +5 -5
  14. package/dist/commonjs/models/functionconfschemadynamicsampling.d.ts.map +1 -1
  15. package/dist/commonjs/models/functionconfschemaeventbreaker.d.ts +2 -2
  16. package/dist/commonjs/models/functionconfschemaeventbreaker.d.ts.map +1 -1
  17. package/dist/commonjs/models/functionconfschemaeventstats.d.ts +2 -2
  18. package/dist/commonjs/models/functionconfschemaeventstats.d.ts.map +1 -1
  19. package/dist/commonjs/models/functionconfschemageoip.d.ts +2 -2
  20. package/dist/commonjs/models/functionconfschemageoip.d.ts.map +1 -1
  21. package/dist/commonjs/models/functionconfschemagrok.d.ts +1 -1
  22. package/dist/commonjs/models/functionconfschemagrok.d.ts.map +1 -1
  23. package/dist/commonjs/models/functionconfschemahandlebars.d.ts +4 -4
  24. package/dist/commonjs/models/functionconfschemahandlebars.d.ts.map +1 -1
  25. package/dist/commonjs/models/functionconfschemalakeexport.d.ts +3 -3
  26. package/dist/commonjs/models/functionconfschemalakeexport.d.ts.map +1 -1
  27. package/dist/commonjs/models/functionconfschemalookup.d.ts +2 -2
  28. package/dist/commonjs/models/functionconfschemalookup.d.ts.map +1 -1
  29. package/dist/commonjs/models/functionconfschemamask.d.ts +3 -3
  30. package/dist/commonjs/models/functionconfschemamask.d.ts.map +1 -1
  31. package/dist/commonjs/models/functionconfschemamvexpand.d.ts +2 -2
  32. package/dist/commonjs/models/functionconfschemamvexpand.d.ts.map +1 -1
  33. package/dist/commonjs/models/functionconfschemamvpull.d.ts +2 -2
  34. package/dist/commonjs/models/functionconfschemamvpull.d.ts.map +1 -1
  35. package/dist/commonjs/models/functionconfschemanotify.d.ts +4 -4
  36. package/dist/commonjs/models/functionconfschemanotify.d.ts.map +1 -1
  37. package/dist/commonjs/models/functionconfschemapack.d.ts +1 -1
  38. package/dist/commonjs/models/functionconfschemapack.d.ts.map +1 -1
  39. package/dist/commonjs/models/functionconfschemaredis.d.ts +3 -3
  40. package/dist/commonjs/models/functionconfschemaredis.d.ts.map +1 -1
  41. package/dist/commonjs/models/functionconfschemaregexextract.d.ts +3 -3
  42. package/dist/commonjs/models/functionconfschemaregexextract.d.ts.map +1 -1
  43. package/dist/commonjs/models/functionconfschemasend.d.ts +4 -4
  44. package/dist/commonjs/models/functionconfschemasend.d.ts.map +1 -1
  45. package/dist/commonjs/models/functionconfschemasensitivedatascanner.d.ts +4 -4
  46. package/dist/commonjs/models/functionconfschemasensitivedatascanner.d.ts.map +1 -1
  47. package/dist/commonjs/models/functionconfschemaserde.d.ts +3 -3
  48. package/dist/commonjs/models/functionconfschemaserde.d.ts.map +1 -1
  49. package/dist/commonjs/models/functionconfschemaserialize.d.ts +2 -2
  50. package/dist/commonjs/models/functionconfschemaserialize.d.ts.map +1 -1
  51. package/dist/commonjs/models/functionconfschemastore.d.ts +7 -7
  52. package/dist/commonjs/models/functionconfschemastore.d.ts.map +1 -1
  53. package/dist/commonjs/models/functionconfschemasuppress.d.ts +6 -6
  54. package/dist/commonjs/models/functionconfschemasuppress.d.ts.map +1 -1
  55. package/dist/commonjs/models/functionconfschematee.d.ts +1 -1
  56. package/dist/commonjs/models/functionconfschematee.d.ts.map +1 -1
  57. package/dist/commonjs/models/functionconfschemaunroll.d.ts +2 -2
  58. package/dist/commonjs/models/functionconfschemaunroll.d.ts.map +1 -1
  59. package/dist/commonjs/models/functionconfschemawindow.d.ts +2 -2
  60. package/dist/commonjs/models/functionconfschemawindow.d.ts.map +1 -1
  61. package/dist/commonjs/models/functionconfschemaxmlunroll.d.ts +2 -2
  62. package/dist/commonjs/models/functionconfschemaxmlunroll.d.ts.map +1 -1
  63. package/dist/commonjs/models/pipeline.d.ts +1 -1
  64. package/dist/commonjs/models/pipeline.d.ts.map +1 -1
  65. package/dist/commonjs/models/pipelinefunctioncef.d.ts +1 -1
  66. package/dist/commonjs/models/pipelinefunctioncef.d.ts.map +1 -1
  67. package/dist/commonjs/models/runnablejobcollection.d.ts +37 -37
  68. package/dist/commonjs/models/runnablejobcollection.d.ts.map +1 -1
  69. package/dist/commonjs/models/runnablejobexecutor.d.ts +21 -21
  70. package/dist/commonjs/models/runnablejobexecutor.d.ts.map +1 -1
  71. package/dist/commonjs/models/runnablejobscheduledsearch.d.ts +16 -16
  72. package/dist/commonjs/models/runnablejobscheduledsearch.d.ts.map +1 -1
  73. package/dist/esm/lib/config.d.ts +3 -3
  74. package/dist/esm/lib/config.js +3 -3
  75. package/dist/esm/models/functionconfschemaaggregatemetrics.d.ts +8 -8
  76. package/dist/esm/models/functionconfschemaaggregatemetrics.d.ts.map +1 -1
  77. package/dist/esm/models/functionconfschemaaggregation.d.ts +8 -8
  78. package/dist/esm/models/functionconfschemaaggregation.d.ts.map +1 -1
  79. package/dist/esm/models/functionconfschemacef.d.ts +1 -1
  80. package/dist/esm/models/functionconfschemacef.d.ts.map +1 -1
  81. package/dist/esm/models/functionconfschemadistinct.d.ts +3 -3
  82. package/dist/esm/models/functionconfschemadistinct.d.ts.map +1 -1
  83. package/dist/esm/models/functionconfschemadropdimensions.d.ts +2 -2
  84. package/dist/esm/models/functionconfschemadropdimensions.d.ts.map +1 -1
  85. package/dist/esm/models/functionconfschemadynamicsampling.d.ts +5 -5
  86. package/dist/esm/models/functionconfschemadynamicsampling.d.ts.map +1 -1
  87. package/dist/esm/models/functionconfschemaeventbreaker.d.ts +2 -2
  88. package/dist/esm/models/functionconfschemaeventbreaker.d.ts.map +1 -1
  89. package/dist/esm/models/functionconfschemaeventstats.d.ts +2 -2
  90. package/dist/esm/models/functionconfschemaeventstats.d.ts.map +1 -1
  91. package/dist/esm/models/functionconfschemageoip.d.ts +2 -2
  92. package/dist/esm/models/functionconfschemageoip.d.ts.map +1 -1
  93. package/dist/esm/models/functionconfschemagrok.d.ts +1 -1
  94. package/dist/esm/models/functionconfschemagrok.d.ts.map +1 -1
  95. package/dist/esm/models/functionconfschemahandlebars.d.ts +4 -4
  96. package/dist/esm/models/functionconfschemahandlebars.d.ts.map +1 -1
  97. package/dist/esm/models/functionconfschemalakeexport.d.ts +3 -3
  98. package/dist/esm/models/functionconfschemalakeexport.d.ts.map +1 -1
  99. package/dist/esm/models/functionconfschemalookup.d.ts +2 -2
  100. package/dist/esm/models/functionconfschemalookup.d.ts.map +1 -1
  101. package/dist/esm/models/functionconfschemamask.d.ts +3 -3
  102. package/dist/esm/models/functionconfschemamask.d.ts.map +1 -1
  103. package/dist/esm/models/functionconfschemamvexpand.d.ts +2 -2
  104. package/dist/esm/models/functionconfschemamvexpand.d.ts.map +1 -1
  105. package/dist/esm/models/functionconfschemamvpull.d.ts +2 -2
  106. package/dist/esm/models/functionconfschemamvpull.d.ts.map +1 -1
  107. package/dist/esm/models/functionconfschemanotify.d.ts +4 -4
  108. package/dist/esm/models/functionconfschemanotify.d.ts.map +1 -1
  109. package/dist/esm/models/functionconfschemapack.d.ts +1 -1
  110. package/dist/esm/models/functionconfschemapack.d.ts.map +1 -1
  111. package/dist/esm/models/functionconfschemaredis.d.ts +3 -3
  112. package/dist/esm/models/functionconfschemaredis.d.ts.map +1 -1
  113. package/dist/esm/models/functionconfschemaregexextract.d.ts +3 -3
  114. package/dist/esm/models/functionconfschemaregexextract.d.ts.map +1 -1
  115. package/dist/esm/models/functionconfschemasend.d.ts +4 -4
  116. package/dist/esm/models/functionconfschemasend.d.ts.map +1 -1
  117. package/dist/esm/models/functionconfschemasensitivedatascanner.d.ts +4 -4
  118. package/dist/esm/models/functionconfschemasensitivedatascanner.d.ts.map +1 -1
  119. package/dist/esm/models/functionconfschemaserde.d.ts +3 -3
  120. package/dist/esm/models/functionconfschemaserde.d.ts.map +1 -1
  121. package/dist/esm/models/functionconfschemaserialize.d.ts +2 -2
  122. package/dist/esm/models/functionconfschemaserialize.d.ts.map +1 -1
  123. package/dist/esm/models/functionconfschemastore.d.ts +7 -7
  124. package/dist/esm/models/functionconfschemastore.d.ts.map +1 -1
  125. package/dist/esm/models/functionconfschemasuppress.d.ts +6 -6
  126. package/dist/esm/models/functionconfschemasuppress.d.ts.map +1 -1
  127. package/dist/esm/models/functionconfschematee.d.ts +1 -1
  128. package/dist/esm/models/functionconfschematee.d.ts.map +1 -1
  129. package/dist/esm/models/functionconfschemaunroll.d.ts +2 -2
  130. package/dist/esm/models/functionconfschemaunroll.d.ts.map +1 -1
  131. package/dist/esm/models/functionconfschemawindow.d.ts +2 -2
  132. package/dist/esm/models/functionconfschemawindow.d.ts.map +1 -1
  133. package/dist/esm/models/functionconfschemaxmlunroll.d.ts +2 -2
  134. package/dist/esm/models/functionconfschemaxmlunroll.d.ts.map +1 -1
  135. package/dist/esm/models/pipeline.d.ts +1 -1
  136. package/dist/esm/models/pipeline.d.ts.map +1 -1
  137. package/dist/esm/models/pipelinefunctioncef.d.ts +1 -1
  138. package/dist/esm/models/pipelinefunctioncef.d.ts.map +1 -1
  139. package/dist/esm/models/runnablejobcollection.d.ts +37 -37
  140. package/dist/esm/models/runnablejobcollection.d.ts.map +1 -1
  141. package/dist/esm/models/runnablejobexecutor.d.ts +21 -21
  142. package/dist/esm/models/runnablejobexecutor.d.ts.map +1 -1
  143. package/dist/esm/models/runnablejobscheduledsearch.d.ts +16 -16
  144. package/dist/esm/models/runnablejobscheduledsearch.d.ts.map +1 -1
  145. package/examples/example-edge.ts +1 -0
  146. package/examples/example-packs.ts +1 -0
  147. package/examples/example-stream.ts +1 -0
  148. package/examples/package-lock.json +1 -1
  149. package/jsr.json +1 -1
  150. package/package.json +1 -1
  151. package/src/lib/config.ts +3 -3
  152. package/src/models/functionconfschemaaggregatemetrics.ts +8 -8
  153. package/src/models/functionconfschemaaggregation.ts +8 -8
  154. package/src/models/functionconfschemacef.ts +1 -1
  155. package/src/models/functionconfschemadistinct.ts +3 -3
  156. package/src/models/functionconfschemadropdimensions.ts +2 -2
  157. package/src/models/functionconfschemadynamicsampling.ts +5 -5
  158. package/src/models/functionconfschemaeventbreaker.ts +2 -2
  159. package/src/models/functionconfschemaeventstats.ts +2 -2
  160. package/src/models/functionconfschemageoip.ts +2 -2
  161. package/src/models/functionconfschemagrok.ts +1 -1
  162. package/src/models/functionconfschemahandlebars.ts +4 -4
  163. package/src/models/functionconfschemalakeexport.ts +3 -3
  164. package/src/models/functionconfschemalookup.ts +2 -2
  165. package/src/models/functionconfschemamask.ts +3 -3
  166. package/src/models/functionconfschemamvexpand.ts +2 -2
  167. package/src/models/functionconfschemamvpull.ts +2 -2
  168. package/src/models/functionconfschemanotify.ts +4 -4
  169. package/src/models/functionconfschemapack.ts +1 -1
  170. package/src/models/functionconfschemaredis.ts +3 -3
  171. package/src/models/functionconfschemaregexextract.ts +3 -3
  172. package/src/models/functionconfschemasend.ts +4 -4
  173. package/src/models/functionconfschemasensitivedatascanner.ts +4 -4
  174. package/src/models/functionconfschemaserde.ts +3 -3
  175. package/src/models/functionconfschemaserialize.ts +2 -2
  176. package/src/models/functionconfschemastore.ts +7 -7
  177. package/src/models/functionconfschemasuppress.ts +6 -6
  178. package/src/models/functionconfschematee.ts +1 -1
  179. package/src/models/functionconfschemaunroll.ts +2 -2
  180. package/src/models/functionconfschemawindow.ts +2 -2
  181. package/src/models/functionconfschemaxmlunroll.ts +2 -2
  182. package/src/models/pipeline.ts +1 -1
  183. package/src/models/pipelinefunctioncef.ts +1 -1
  184. package/src/models/runnablejobcollection.ts +37 -37
  185. package/src/models/runnablejobexecutor.ts +21 -21
  186. package/src/models/runnablejobscheduledsearch.ts +16 -16
@@ -50,24 +50,24 @@ export type RunnableJobCollectionRunSettings = {
50
50
  /**
51
51
  * Reschedule tasks that failed with non-fatal errors
52
52
  */
53
- rescheduleDroppedTasks?: boolean | undefined;
53
+ rescheduleDroppedTasks: boolean;
54
54
  /**
55
55
  * Maximum number of times a task can be rescheduled
56
56
  */
57
- maxTaskReschedule?: number | undefined;
57
+ maxTaskReschedule: number;
58
58
  /**
59
59
  * Level at which to set task logging
60
60
  */
61
- logLevel?: RunnableJobCollectionScheduleLogLevel | undefined;
61
+ logLevel: RunnableJobCollectionScheduleLogLevel;
62
62
  /**
63
63
  * Maximum time the job is allowed to run. Time unit defaults to seconds if not specified (examples: 30, 45s, 15m). Enter 0 for unlimited time.
64
64
  */
65
- jobTimeout?: string | undefined;
65
+ jobTimeout: string;
66
66
  /**
67
67
  * Job run mode. Preview will either return up to N matching results, or will run until capture time T is reached. Discovery will gather the list of files to turn into streaming tasks, without running the data collection job. Full Run will run the collection job.
68
68
  */
69
- mode?: string | undefined;
70
- timeRangeType?: string | undefined;
69
+ mode: string;
70
+ timeRangeType: string;
71
71
  /**
72
72
  * Earliest time to collect data for the selected timezone
73
73
  */
@@ -81,7 +81,7 @@ export type RunnableJobCollectionRunSettings = {
81
81
  /**
82
82
  * A filter for tokens in the provided collect path and/or the events being collected
83
83
  */
84
- expression?: string | undefined;
84
+ expression: string;
85
85
  /**
86
86
  * Limits the bundle size for small tasks. For example,
87
87
  *
@@ -89,7 +89,7 @@ export type RunnableJobCollectionRunSettings = {
89
89
  *
90
90
  * if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
91
91
  */
92
- minTaskSize?: string | undefined;
92
+ minTaskSize: string;
93
93
  /**
94
94
  * Limits the bundle size for files above the lower task bundle size. For example, if your upper bundle size is 10MB,
95
95
  *
@@ -97,7 +97,7 @@ export type RunnableJobCollectionRunSettings = {
97
97
  *
98
98
  * you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
99
99
  */
100
- maxTaskSize?: string | undefined;
100
+ maxTaskSize: string;
101
101
  };
102
102
 
103
103
  /**
@@ -111,19 +111,19 @@ export type RunnableJobCollectionSchedule = {
111
111
  /**
112
112
  * Skippable jobs can be delayed, up to their next run time, if the system is hitting concurrency limits
113
113
  */
114
- skippable?: boolean | undefined;
114
+ skippable: boolean;
115
115
  /**
116
116
  * If Stream Leader (or single instance) restarts, run all missed jobs according to their original schedules
117
117
  */
118
- resumeMissed?: boolean | undefined;
118
+ resumeMissed: boolean;
119
119
  /**
120
120
  * A cron schedule on which to run this job
121
121
  */
122
- cronSchedule?: string | undefined;
122
+ cronSchedule: string;
123
123
  /**
124
124
  * The maximum number of instances of this scheduled job that may be running at any time
125
125
  */
126
- maxConcurrentRuns?: number | undefined;
126
+ maxConcurrentRuns: number;
127
127
  run?: RunnableJobCollectionRunSettings | undefined;
128
128
  };
129
129
 
@@ -139,7 +139,7 @@ export type RunnableJobCollectionCollector = {
139
139
  /**
140
140
  * Delete any files collected (where applicable)
141
141
  */
142
- destructive?: boolean | undefined;
142
+ destructive: boolean;
143
143
  /**
144
144
  * Character encoding to use when parsing ingested data. When not set, @{product} will default to UTF-8 but may incorrectly interpret multi-byte characters.
145
145
  */
@@ -154,7 +154,7 @@ export type RunnableJobCollectionInputType = OpenEnum<
154
154
  >;
155
155
 
156
156
  export type RunnableJobCollectionPreprocess = {
157
- disabled?: boolean | undefined;
157
+ disabled: boolean;
158
158
  /**
159
159
  * Command to feed the data through (via stdin) and process its output (stdout)
160
160
  */
@@ -174,7 +174,7 @@ export type RunnableJobCollectionMetadatum = {
174
174
  };
175
175
 
176
176
  export type RunnableJobCollectionInput = {
177
- type?: RunnableJobCollectionInputType | undefined;
177
+ type: RunnableJobCollectionInputType;
178
178
  /**
179
179
  * A list of event-breaking rulesets that will be applied, in order, to the input data stream
180
180
  */
@@ -182,16 +182,16 @@ export type RunnableJobCollectionInput = {
182
182
  /**
183
183
  * How long (in milliseconds) the Event Breaker will wait for new data to be sent to a specific channel before flushing the data stream out, as is, to the Pipelines
184
184
  */
185
- staleChannelFlushMs?: number | undefined;
185
+ staleChannelFlushMs: number;
186
186
  /**
187
187
  * Send events to normal routing and event processing. Disable to select a specific Pipeline/Destination combination.
188
188
  */
189
- sendToRoutes?: boolean | undefined;
189
+ sendToRoutes: boolean;
190
190
  preprocess?: RunnableJobCollectionPreprocess | undefined;
191
191
  /**
192
192
  * Rate (in bytes per second) to throttle while writing to an output. Accepts values with multiple-byte units, such as KB, MB, and GB. (Example: 42 MB) Default value of 0 specifies no throttling.
193
193
  */
194
- throttleRatePerSec?: string | undefined;
194
+ throttleRatePerSec: string;
195
195
  /**
196
196
  * Fields to add to events from this input
197
197
  */
@@ -270,36 +270,36 @@ export type CaptureSettings = {
270
270
  /**
271
271
  * Amount of time to keep capture open, in seconds
272
272
  */
273
- duration?: number | undefined;
273
+ duration: number;
274
274
  /**
275
275
  * Maximum number of events to capture
276
276
  */
277
- maxEvents?: number | undefined;
278
- level?: WhereToCapture | undefined;
277
+ maxEvents: number;
278
+ level: WhereToCapture;
279
279
  };
280
280
 
281
281
  export type RunnableJobCollectionRun = {
282
282
  /**
283
283
  * Reschedule tasks that failed with non-fatal errors
284
284
  */
285
- rescheduleDroppedTasks?: boolean | undefined;
285
+ rescheduleDroppedTasks: boolean;
286
286
  /**
287
287
  * Maximum number of times a task can be rescheduled
288
288
  */
289
- maxTaskReschedule?: number | undefined;
289
+ maxTaskReschedule: number;
290
290
  /**
291
291
  * Level at which to set task logging
292
292
  */
293
- logLevel?: RunnableJobCollectionLogLevel | undefined;
293
+ logLevel: RunnableJobCollectionLogLevel;
294
294
  /**
295
295
  * Maximum time the job is allowed to run. Time unit defaults to seconds if not specified (examples: 30, 45s, 15m). Enter 0 for unlimited time.
296
296
  */
297
- jobTimeout?: string | undefined;
297
+ jobTimeout: string;
298
298
  /**
299
299
  * Job run mode. Preview will either return up to N matching results, or will run until capture time T is reached. Discovery will gather the list of files to turn into streaming tasks, without running the data collection job. Full Run will run the collection job.
300
300
  */
301
- mode?: RunnableJobCollectionMode | undefined;
302
- timeRangeType?: TimeRange | undefined;
301
+ mode: RunnableJobCollectionMode;
302
+ timeRangeType: TimeRange;
303
303
  /**
304
304
  * Earliest time to collect data for the selected timezone
305
305
  */
@@ -311,12 +311,12 @@ export type RunnableJobCollectionRun = {
311
311
  /**
312
312
  * Timezone to use for Earliest and Latest times
313
313
  */
314
- timestampTimezone?: string | undefined;
314
+ timestampTimezone: string;
315
315
  timeWarning?: RunnableJobCollectionTimeWarning | undefined;
316
316
  /**
317
317
  * A filter for tokens in the provided collect path and/or the events being collected
318
318
  */
319
- expression?: string | undefined;
319
+ expression: string;
320
320
  /**
321
321
  * Limits the bundle size for small tasks. For example,
322
322
  *
@@ -324,7 +324,7 @@ export type RunnableJobCollectionRun = {
324
324
  *
325
325
  * if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
326
326
  */
327
- minTaskSize?: string | undefined;
327
+ minTaskSize: string;
328
328
  /**
329
329
  * Limits the bundle size for files above the lower task bundle size. For example, if your upper bundle size is 10MB,
330
330
  *
@@ -332,11 +332,11 @@ export type RunnableJobCollectionRun = {
332
332
  *
333
333
  * you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
334
334
  */
335
- maxTaskSize?: string | undefined;
335
+ maxTaskSize: string;
336
336
  /**
337
337
  * Send discover results to Routes
338
338
  */
339
- discoverToRoutes?: boolean | undefined;
339
+ discoverToRoutes: boolean;
340
340
  capture?: CaptureSettings | undefined;
341
341
  };
342
342
 
@@ -350,11 +350,11 @@ export type RunnableJobCollection = {
350
350
  /**
351
351
  * Time to keep the job's artifacts on disk after job completion. This also affects how long a job is listed in the Job Inspector.
352
352
  */
353
- ttl?: string | undefined;
353
+ ttl: string;
354
354
  /**
355
355
  * When enabled, this job's artifacts are not counted toward the Worker Group's finished job artifacts limit. Artifacts will be removed only after the Collector's configured time to live.
356
356
  */
357
- ignoreGroupJobsLimit?: boolean | undefined;
357
+ ignoreGroupJobsLimit: boolean;
358
358
  /**
359
359
  * List of fields to remove from Discover results. Wildcards (for example, aws*) are allowed. This is useful when discovery returns sensitive fields that should not be exposed in the Jobs user interface.
360
360
  */
@@ -362,7 +362,7 @@ export type RunnableJobCollection = {
362
362
  /**
363
363
  * Resume the ad hoc job if a failure condition causes Stream to restart during job execution
364
364
  */
365
- resumeOnBoot?: boolean | undefined;
365
+ resumeOnBoot: boolean;
366
366
  /**
367
367
  * Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere.
368
368
  */
@@ -378,7 +378,7 @@ export type RunnableJobCollection = {
378
378
  /**
379
379
  * If enabled, tasks are created and run by the same Worker Node
380
380
  */
381
- workerAffinity?: boolean | undefined;
381
+ workerAffinity: boolean;
382
382
  collector: RunnableJobCollectionCollector;
383
383
  input?: RunnableJobCollectionInput | undefined;
384
384
  run: RunnableJobCollectionRun;
@@ -47,24 +47,24 @@ export type RunnableJobExecutorRunSettings = {
47
47
  /**
48
48
  * Reschedule tasks that failed with non-fatal errors
49
49
  */
50
- rescheduleDroppedTasks?: boolean | undefined;
50
+ rescheduleDroppedTasks: boolean;
51
51
  /**
52
52
  * Maximum number of times a task can be rescheduled
53
53
  */
54
- maxTaskReschedule?: number | undefined;
54
+ maxTaskReschedule: number;
55
55
  /**
56
56
  * Level at which to set task logging
57
57
  */
58
- logLevel?: RunnableJobExecutorScheduleLogLevel | undefined;
58
+ logLevel: RunnableJobExecutorScheduleLogLevel;
59
59
  /**
60
60
  * Maximum time the job is allowed to run. Time unit defaults to seconds if not specified (examples: 30, 45s, 15m). Enter 0 for unlimited time.
61
61
  */
62
- jobTimeout?: string | undefined;
62
+ jobTimeout: string;
63
63
  /**
64
64
  * Job run mode. Preview will either return up to N matching results, or will run until capture time T is reached. Discovery will gather the list of files to turn into streaming tasks, without running the data collection job. Full Run will run the collection job.
65
65
  */
66
- mode?: string | undefined;
67
- timeRangeType?: string | undefined;
66
+ mode: string;
67
+ timeRangeType: string;
68
68
  /**
69
69
  * Earliest time to collect data for the selected timezone
70
70
  */
@@ -78,7 +78,7 @@ export type RunnableJobExecutorRunSettings = {
78
78
  /**
79
79
  * A filter for tokens in the provided collect path and/or the events being collected
80
80
  */
81
- expression?: string | undefined;
81
+ expression: string;
82
82
  /**
83
83
  * Limits the bundle size for small tasks. For example,
84
84
  *
@@ -86,7 +86,7 @@ export type RunnableJobExecutorRunSettings = {
86
86
  *
87
87
  * if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
88
88
  */
89
- minTaskSize?: string | undefined;
89
+ minTaskSize: string;
90
90
  /**
91
91
  * Limits the bundle size for files above the lower task bundle size. For example, if your upper bundle size is 10MB,
92
92
  *
@@ -94,7 +94,7 @@ export type RunnableJobExecutorRunSettings = {
94
94
  *
95
95
  * you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
96
96
  */
97
- maxTaskSize?: string | undefined;
97
+ maxTaskSize: string;
98
98
  };
99
99
 
100
100
  /**
@@ -108,19 +108,19 @@ export type RunnableJobExecutorSchedule = {
108
108
  /**
109
109
  * Skippable jobs can be delayed, up to their next run time, if the system is hitting concurrency limits
110
110
  */
111
- skippable?: boolean | undefined;
111
+ skippable: boolean;
112
112
  /**
113
113
  * If Stream Leader (or single instance) restarts, run all missed jobs according to their original schedules
114
114
  */
115
- resumeMissed?: boolean | undefined;
115
+ resumeMissed: boolean;
116
116
  /**
117
117
  * A cron schedule on which to run this job
118
118
  */
119
- cronSchedule?: string | undefined;
119
+ cronSchedule: string;
120
120
  /**
121
121
  * The maximum number of instances of this scheduled job that may be running at any time
122
122
  */
123
- maxConcurrentRuns?: number | undefined;
123
+ maxConcurrentRuns: number;
124
124
  run?: RunnableJobExecutorRunSettings | undefined;
125
125
  };
126
126
 
@@ -134,7 +134,7 @@ export type RunnableJobExecutorExecutor = {
134
134
  /**
135
135
  * Determines whether or not to write task results to disk
136
136
  */
137
- storeTaskResults?: boolean | undefined;
137
+ storeTaskResults: boolean;
138
138
  conf?: RunnableJobExecutorExecutorSpecificSettings | undefined;
139
139
  };
140
140
 
@@ -159,19 +159,19 @@ export type RunnableJobExecutorRun = {
159
159
  /**
160
160
  * Reschedule tasks that failed with non-fatal errors
161
161
  */
162
- rescheduleDroppedTasks?: boolean | undefined;
162
+ rescheduleDroppedTasks: boolean;
163
163
  /**
164
164
  * Maximum number of times a task can be rescheduled
165
165
  */
166
- maxTaskReschedule?: number | undefined;
166
+ maxTaskReschedule: number;
167
167
  /**
168
168
  * Level at which to set task logging
169
169
  */
170
- logLevel?: RunnableJobExecutorLogLevel | undefined;
170
+ logLevel: RunnableJobExecutorLogLevel;
171
171
  /**
172
172
  * Maximum time the job is allowed to run. Time unit defaults to seconds if not specified (examples: 30, 45s, 15m). Enter 0 for unlimited time.
173
173
  */
174
- jobTimeout?: string | undefined;
174
+ jobTimeout: string;
175
175
  };
176
176
 
177
177
  export type RunnableJobExecutor = {
@@ -184,11 +184,11 @@ export type RunnableJobExecutor = {
184
184
  /**
185
185
  * Time to keep the job's artifacts on disk after job completion. This also affects how long a job is listed in the Job Inspector.
186
186
  */
187
- ttl?: string | undefined;
187
+ ttl: string;
188
188
  /**
189
189
  * When enabled, this job's artifacts are not counted toward the Worker Group's finished job artifacts limit. Artifacts will be removed only after the Collector's configured time to live.
190
190
  */
191
- ignoreGroupJobsLimit?: boolean | undefined;
191
+ ignoreGroupJobsLimit: boolean;
192
192
  /**
193
193
  * List of fields to remove from Discover results. Wildcards (for example, aws*) are allowed. This is useful when discovery returns sensitive fields that should not be exposed in the Jobs user interface.
194
194
  */
@@ -196,7 +196,7 @@ export type RunnableJobExecutor = {
196
196
  /**
197
197
  * Resume the ad hoc job if a failure condition causes Stream to restart during job execution
198
198
  */
199
- resumeOnBoot?: boolean | undefined;
199
+ resumeOnBoot: boolean;
200
200
  /**
201
201
  * Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere.
202
202
  */
@@ -49,24 +49,24 @@ export type RunnableJobScheduledSearchRunSettings = {
49
49
  /**
50
50
  * Reschedule tasks that failed with non-fatal errors
51
51
  */
52
- rescheduleDroppedTasks?: boolean | undefined;
52
+ rescheduleDroppedTasks: boolean;
53
53
  /**
54
54
  * Maximum number of times a task can be rescheduled
55
55
  */
56
- maxTaskReschedule?: number | undefined;
56
+ maxTaskReschedule: number;
57
57
  /**
58
58
  * Level at which to set task logging
59
59
  */
60
- logLevel?: RunnableJobScheduledSearchLogLevel | undefined;
60
+ logLevel: RunnableJobScheduledSearchLogLevel;
61
61
  /**
62
62
  * Maximum time the job is allowed to run. Time unit defaults to seconds if not specified (examples: 30, 45s, 15m). Enter 0 for unlimited time.
63
63
  */
64
- jobTimeout?: string | undefined;
64
+ jobTimeout: string;
65
65
  /**
66
66
  * Job run mode. Preview will either return up to N matching results, or will run until capture time T is reached. Discovery will gather the list of files to turn into streaming tasks, without running the data collection job. Full Run will run the collection job.
67
67
  */
68
- mode?: string | undefined;
69
- timeRangeType?: string | undefined;
68
+ mode: string;
69
+ timeRangeType: string;
70
70
  /**
71
71
  * Earliest time to collect data for the selected timezone
72
72
  */
@@ -80,7 +80,7 @@ export type RunnableJobScheduledSearchRunSettings = {
80
80
  /**
81
81
  * A filter for tokens in the provided collect path and/or the events being collected
82
82
  */
83
- expression?: string | undefined;
83
+ expression: string;
84
84
  /**
85
85
  * Limits the bundle size for small tasks. For example,
86
86
  *
@@ -88,7 +88,7 @@ export type RunnableJobScheduledSearchRunSettings = {
88
88
  *
89
89
  * if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
90
90
  */
91
- minTaskSize?: string | undefined;
91
+ minTaskSize: string;
92
92
  /**
93
93
  * Limits the bundle size for files above the lower task bundle size. For example, if your upper bundle size is 10MB,
94
94
  *
@@ -96,7 +96,7 @@ export type RunnableJobScheduledSearchRunSettings = {
96
96
  *
97
97
  * you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
98
98
  */
99
- maxTaskSize?: string | undefined;
99
+ maxTaskSize: string;
100
100
  };
101
101
 
102
102
  /**
@@ -110,19 +110,19 @@ export type RunnableJobScheduledSearchSchedule = {
110
110
  /**
111
111
  * Skippable jobs can be delayed, up to their next run time, if the system is hitting concurrency limits
112
112
  */
113
- skippable?: boolean | undefined;
113
+ skippable: boolean;
114
114
  /**
115
115
  * If Stream Leader (or single instance) restarts, run all missed jobs according to their original schedules
116
116
  */
117
- resumeMissed?: boolean | undefined;
117
+ resumeMissed: boolean;
118
118
  /**
119
119
  * A cron schedule on which to run this job
120
120
  */
121
- cronSchedule?: string | undefined;
121
+ cronSchedule: string;
122
122
  /**
123
123
  * The maximum number of instances of this scheduled job that may be running at any time
124
124
  */
125
- maxConcurrentRuns?: number | undefined;
125
+ maxConcurrentRuns: number;
126
126
  run?: RunnableJobScheduledSearchRunSettings | undefined;
127
127
  };
128
128
 
@@ -136,11 +136,11 @@ export type RunnableJobScheduledSearch = {
136
136
  /**
137
137
  * Time to keep the job's artifacts on disk after job completion. This also affects how long a job is listed in the Job Inspector.
138
138
  */
139
- ttl?: string | undefined;
139
+ ttl: string;
140
140
  /**
141
141
  * When enabled, this job's artifacts are not counted toward the Worker Group's finished job artifacts limit. Artifacts will be removed only after the Collector's configured time to live.
142
142
  */
143
- ignoreGroupJobsLimit?: boolean | undefined;
143
+ ignoreGroupJobsLimit: boolean;
144
144
  /**
145
145
  * List of fields to remove from Discover results. Wildcards (for example, aws*) are allowed. This is useful when discovery returns sensitive fields that should not be exposed in the Jobs user interface.
146
146
  */
@@ -148,7 +148,7 @@ export type RunnableJobScheduledSearch = {
148
148
  /**
149
149
  * Resume the ad hoc job if a failure condition causes Stream to restart during job execution
150
150
  */
151
- resumeOnBoot?: boolean | undefined;
151
+ resumeOnBoot: boolean;
152
152
  /**
153
153
  * Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere.
154
154
  */