cribl-control-plane 0.0.14__py3-none-any.whl → 0.0.16__py3-none-any.whl

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.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (65) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/{outputs.py → destinations.py} +69 -71
  3. cribl_control_plane/models/__init__.py +5329 -8
  4. cribl_control_plane/models/createinputop.py +19253 -2
  5. cribl_control_plane/models/createoutputop.py +20578 -4
  6. cribl_control_plane/models/createoutputtestbyidop.py +2 -2
  7. cribl_control_plane/models/createpipelineop.py +24 -0
  8. cribl_control_plane/models/deleteoutputbyidop.py +2 -2
  9. cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
  10. cribl_control_plane/models/deletepipelinebyidop.py +37 -0
  11. cribl_control_plane/models/getoutputbyidop.py +2 -2
  12. cribl_control_plane/models/getoutputpqbyidop.py +2 -2
  13. cribl_control_plane/models/getoutputsamplesbyidop.py +2 -2
  14. cribl_control_plane/models/getpipelinebyidop.py +37 -0
  15. cribl_control_plane/models/inputconfluentcloud.py +5 -3
  16. cribl_control_plane/models/inputcriblhttp.py +5 -3
  17. cribl_control_plane/models/inputcribllakehttp.py +5 -3
  18. cribl_control_plane/models/inputcribltcp.py +5 -3
  19. cribl_control_plane/models/inputdatadogagent.py +5 -3
  20. cribl_control_plane/models/inputedgeprometheus.py +5 -3
  21. cribl_control_plane/models/inputelastic.py +5 -3
  22. cribl_control_plane/models/inputeventhub.py +5 -3
  23. cribl_control_plane/models/inputfirehose.py +5 -3
  24. cribl_control_plane/models/inputgooglepubsub.py +5 -3
  25. cribl_control_plane/models/inputgrafana_union.py +10 -6
  26. cribl_control_plane/models/inputhttp.py +5 -3
  27. cribl_control_plane/models/inputhttpraw.py +5 -3
  28. cribl_control_plane/models/inputjournalfiles.py +5 -3
  29. cribl_control_plane/models/inputkafka.py +5 -3
  30. cribl_control_plane/models/inputkinesis.py +5 -3
  31. cribl_control_plane/models/inputloki.py +5 -3
  32. cribl_control_plane/models/inputmodeldriventelemetry.py +6 -5
  33. cribl_control_plane/models/inputmsk.py +5 -3
  34. cribl_control_plane/models/inputnetflow.py +5 -3
  35. cribl_control_plane/models/inputoffice365mgmt.py +5 -3
  36. cribl_control_plane/models/inputoffice365msgtrace.py +5 -5
  37. cribl_control_plane/models/inputoffice365service.py +5 -5
  38. cribl_control_plane/models/inputopentelemetry.py +5 -3
  39. cribl_control_plane/models/inputprometheus.py +5 -3
  40. cribl_control_plane/models/inputprometheusrw.py +5 -3
  41. cribl_control_plane/models/inputrawudp.py +5 -3
  42. cribl_control_plane/models/inputsnmp.py +5 -3
  43. cribl_control_plane/models/inputsplunk.py +5 -3
  44. cribl_control_plane/models/inputsplunkhec.py +5 -3
  45. cribl_control_plane/models/inputsplunksearch.py +5 -3
  46. cribl_control_plane/models/inputsqs.py +5 -3
  47. cribl_control_plane/models/inputtcp.py +5 -3
  48. cribl_control_plane/models/inputtcpjson.py +5 -3
  49. cribl_control_plane/models/inputwef.py +5 -3
  50. cribl_control_plane/models/inputwiz.py +5 -3
  51. cribl_control_plane/models/inputzscalerhec.py +5 -3
  52. cribl_control_plane/models/listoutputop.py +2 -2
  53. cribl_control_plane/models/listpipelineop.py +24 -0
  54. cribl_control_plane/models/pipeline.py +70 -0
  55. cribl_control_plane/models/pipelinefunctionconf.py +53 -0
  56. cribl_control_plane/models/routes.py +6 -6
  57. cribl_control_plane/models/updateoutputbyidop.py +4 -4
  58. cribl_control_plane/models/updatepipelinebyidop.py +47 -0
  59. cribl_control_plane/pipelines.py +903 -0
  60. cribl_control_plane/routes_sdk.py +8 -4
  61. cribl_control_plane/sdk.py +7 -5
  62. cribl_control_plane/sources.py +8 -10
  63. {cribl_control_plane-0.0.14.dist-info → cribl_control_plane-0.0.16.dist-info}/METADATA +20 -12
  64. {cribl_control_plane-0.0.14.dist-info → cribl_control_plane-0.0.16.dist-info}/RECORD +65 -57
  65. {cribl_control_plane-0.0.14.dist-info → cribl_control_plane-0.0.16.dist-info}/WHEEL +0 -0
@@ -120,13 +120,13 @@ class InputJournalFilesMetadatum(BaseModel):
120
120
 
121
121
 
122
122
  class InputJournalFilesTypedDict(TypedDict):
123
- type: InputJournalFilesType
124
123
  path: str
125
124
  r"""Directory path to search for journals. Environment variables will be resolved, e.g. $CRIBL_EDGE_FS_ROOT/var/log/journal/$MACHINE_ID."""
126
125
  journals: List[str]
127
126
  r"""The full path of discovered journals are matched against this wildcard list."""
128
127
  id: NotRequired[str]
129
128
  r"""Unique ID for this input"""
129
+ type: NotRequired[InputJournalFilesType]
130
130
  disabled: NotRequired[bool]
131
131
  pipeline: NotRequired[str]
132
132
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -155,8 +155,6 @@ class InputJournalFilesTypedDict(TypedDict):
155
155
 
156
156
 
157
157
  class InputJournalFiles(BaseModel):
158
- type: Annotated[InputJournalFilesType, PlainValidator(validate_open_enum(False))]
159
-
160
158
  path: str
161
159
  r"""Directory path to search for journals. Environment variables will be resolved, e.g. $CRIBL_EDGE_FS_ROOT/var/log/journal/$MACHINE_ID."""
162
160
 
@@ -166,6 +164,10 @@ class InputJournalFiles(BaseModel):
166
164
  id: Optional[str] = None
167
165
  r"""Unique ID for this input"""
168
166
 
167
+ type: Annotated[
168
+ Optional[InputJournalFilesType], PlainValidator(validate_open_enum(False))
169
+ ] = None
170
+
169
171
  disabled: Optional[bool] = False
170
172
 
171
173
  pipeline: Optional[str] = None
@@ -359,13 +359,13 @@ class InputKafkaMetadatum(BaseModel):
359
359
 
360
360
 
361
361
  class InputKafkaTypedDict(TypedDict):
362
- type: InputKafkaType
363
362
  brokers: List[str]
364
363
  r"""Enter each Kafka bootstrap server you want to use. Specify the hostname and port (such as mykafkabroker:9092) or just the hostname (in which case @{product} will assign port 9092)."""
365
364
  topics: List[str]
366
365
  r"""Topic to subscribe to. Warning: To optimize performance, Cribl suggests subscribing each Kafka Source to a single topic only."""
367
366
  id: NotRequired[str]
368
367
  r"""Unique ID for this input"""
368
+ type: NotRequired[InputKafkaType]
369
369
  disabled: NotRequired[bool]
370
370
  pipeline: NotRequired[str]
371
371
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -439,8 +439,6 @@ class InputKafkaTypedDict(TypedDict):
439
439
 
440
440
 
441
441
  class InputKafka(BaseModel):
442
- type: Annotated[InputKafkaType, PlainValidator(validate_open_enum(False))]
443
-
444
442
  brokers: List[str]
445
443
  r"""Enter each Kafka bootstrap server you want to use. Specify the hostname and port (such as mykafkabroker:9092) or just the hostname (in which case @{product} will assign port 9092)."""
446
444
 
@@ -450,6 +448,10 @@ class InputKafka(BaseModel):
450
448
  id: Optional[str] = None
451
449
  r"""Unique ID for this input"""
452
450
 
451
+ type: Annotated[
452
+ Optional[InputKafkaType], PlainValidator(validate_open_enum(False))
453
+ ] = None
454
+
453
455
  disabled: Optional[bool] = False
454
456
 
455
457
  pipeline: Optional[str] = None
@@ -142,13 +142,13 @@ class InputKinesisMetadatum(BaseModel):
142
142
 
143
143
 
144
144
  class InputKinesisTypedDict(TypedDict):
145
- type: InputKinesisType
146
145
  stream_name: str
147
146
  r"""Kinesis Data Stream to read data from"""
148
147
  region: str
149
148
  r"""Region where the Kinesis stream is located"""
150
149
  id: NotRequired[str]
151
150
  r"""Unique ID for this input"""
151
+ type: NotRequired[InputKinesisType]
152
152
  disabled: NotRequired[bool]
153
153
  pipeline: NotRequired[str]
154
154
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -209,8 +209,6 @@ class InputKinesisTypedDict(TypedDict):
209
209
 
210
210
 
211
211
  class InputKinesis(BaseModel):
212
- type: Annotated[InputKinesisType, PlainValidator(validate_open_enum(False))]
213
-
214
212
  stream_name: Annotated[str, pydantic.Field(alias="streamName")]
215
213
  r"""Kinesis Data Stream to read data from"""
216
214
 
@@ -220,6 +218,10 @@ class InputKinesis(BaseModel):
220
218
  id: Optional[str] = None
221
219
  r"""Unique ID for this input"""
222
220
 
221
+ type: Annotated[
222
+ Optional[InputKinesisType], PlainValidator(validate_open_enum(False))
223
+ ] = None
224
+
223
225
  disabled: Optional[bool] = False
224
226
 
225
227
  pipeline: Optional[str] = None
@@ -227,11 +227,11 @@ class InputLokiOauthHeader(BaseModel):
227
227
 
228
228
 
229
229
  class InputLokiTypedDict(TypedDict):
230
- type: InputLokiType
231
230
  port: float
232
231
  r"""Port to listen on"""
233
232
  id: NotRequired[str]
234
233
  r"""Unique ID for this input"""
234
+ type: NotRequired[InputLokiType]
235
235
  disabled: NotRequired[bool]
236
236
  pipeline: NotRequired[str]
237
237
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -305,14 +305,16 @@ class InputLokiTypedDict(TypedDict):
305
305
 
306
306
 
307
307
  class InputLoki(BaseModel):
308
- type: Annotated[InputLokiType, PlainValidator(validate_open_enum(False))]
309
-
310
308
  port: float
311
309
  r"""Port to listen on"""
312
310
 
313
311
  id: Optional[str] = None
314
312
  r"""Unique ID for this input"""
315
313
 
314
+ type: Annotated[
315
+ Optional[InputLokiType], PlainValidator(validate_open_enum(False))
316
+ ] = None
317
+
316
318
  disabled: Optional[bool] = False
317
319
 
318
320
  pipeline: Optional[str] = None
@@ -187,9 +187,9 @@ class InputModelDrivenTelemetryMetadatum(BaseModel):
187
187
 
188
188
 
189
189
  class InputModelDrivenTelemetryTypedDict(TypedDict):
190
- type: InputModelDrivenTelemetryType
191
190
  id: NotRequired[str]
192
191
  r"""Unique ID for this input"""
192
+ type: NotRequired[InputModelDrivenTelemetryType]
193
193
  disabled: NotRequired[bool]
194
194
  pipeline: NotRequired[str]
195
195
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -219,13 +219,14 @@ class InputModelDrivenTelemetryTypedDict(TypedDict):
219
219
 
220
220
 
221
221
  class InputModelDrivenTelemetry(BaseModel):
222
- type: Annotated[
223
- InputModelDrivenTelemetryType, PlainValidator(validate_open_enum(False))
224
- ]
225
-
226
222
  id: Optional[str] = None
227
223
  r"""Unique ID for this input"""
228
224
 
225
+ type: Annotated[
226
+ Optional[InputModelDrivenTelemetryType],
227
+ PlainValidator(validate_open_enum(False)),
228
+ ] = None
229
+
229
230
  disabled: Optional[bool] = False
230
231
 
231
232
  pipeline: Optional[str] = None
@@ -350,7 +350,6 @@ class InputMskTLSSettingsClientSide(BaseModel):
350
350
 
351
351
 
352
352
  class InputMskTypedDict(TypedDict):
353
- type: InputMskType
354
353
  brokers: List[str]
355
354
  r"""Enter each Kafka bootstrap server you want to use. Specify the hostname and port (such as mykafkabroker:9092) or just the hostname (in which case @{product} will assign port 9092)."""
356
355
  topics: List[str]
@@ -359,6 +358,7 @@ class InputMskTypedDict(TypedDict):
359
358
  r"""Region where the MSK cluster is located"""
360
359
  id: NotRequired[str]
361
360
  r"""Unique ID for this input"""
361
+ type: NotRequired[InputMskType]
362
362
  disabled: NotRequired[bool]
363
363
  pipeline: NotRequired[str]
364
364
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -452,8 +452,6 @@ class InputMskTypedDict(TypedDict):
452
452
 
453
453
 
454
454
  class InputMsk(BaseModel):
455
- type: Annotated[InputMskType, PlainValidator(validate_open_enum(False))]
456
-
457
455
  brokers: List[str]
458
456
  r"""Enter each Kafka bootstrap server you want to use. Specify the hostname and port (such as mykafkabroker:9092) or just the hostname (in which case @{product} will assign port 9092)."""
459
457
 
@@ -466,6 +464,10 @@ class InputMsk(BaseModel):
466
464
  id: Optional[str] = None
467
465
  r"""Unique ID for this input"""
468
466
 
467
+ type: Annotated[
468
+ Optional[InputMskType], PlainValidator(validate_open_enum(False))
469
+ ] = None
470
+
469
471
  disabled: Optional[bool] = False
470
472
 
471
473
  pipeline: Optional[str] = None
@@ -104,9 +104,9 @@ class InputNetflowMetadatum(BaseModel):
104
104
 
105
105
 
106
106
  class InputNetflowTypedDict(TypedDict):
107
- type: InputNetflowType
108
107
  id: NotRequired[str]
109
108
  r"""Unique ID for this input"""
109
+ type: NotRequired[InputNetflowType]
110
110
  disabled: NotRequired[bool]
111
111
  pipeline: NotRequired[str]
112
112
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -147,11 +147,13 @@ class InputNetflowTypedDict(TypedDict):
147
147
 
148
148
 
149
149
  class InputNetflow(BaseModel):
150
- type: Annotated[InputNetflowType, PlainValidator(validate_open_enum(False))]
151
-
152
150
  id: Optional[str] = None
153
151
  r"""Unique ID for this input"""
154
152
 
153
+ type: Annotated[
154
+ Optional[InputNetflowType], PlainValidator(validate_open_enum(False))
155
+ ] = None
156
+
155
157
  disabled: Optional[bool] = False
156
158
 
157
159
  pipeline: Optional[str] = None
@@ -223,13 +223,13 @@ class InputOffice365MgmtAuthenticationMethod(str, Enum, metaclass=utils.OpenEnum
223
223
 
224
224
 
225
225
  class InputOffice365MgmtTypedDict(TypedDict):
226
- type: InputOffice365MgmtType
227
226
  tenant_id: str
228
227
  r"""Office 365 Azure Tenant ID"""
229
228
  app_id: str
230
229
  r"""Office 365 Azure Application ID"""
231
230
  id: NotRequired[str]
232
231
  r"""Unique ID for this input"""
232
+ type: NotRequired[InputOffice365MgmtType]
233
233
  disabled: NotRequired[bool]
234
234
  pipeline: NotRequired[str]
235
235
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -277,8 +277,6 @@ class InputOffice365MgmtTypedDict(TypedDict):
277
277
 
278
278
 
279
279
  class InputOffice365Mgmt(BaseModel):
280
- type: Annotated[InputOffice365MgmtType, PlainValidator(validate_open_enum(False))]
281
-
282
280
  tenant_id: Annotated[str, pydantic.Field(alias="tenantId")]
283
281
  r"""Office 365 Azure Tenant ID"""
284
282
 
@@ -288,6 +286,10 @@ class InputOffice365Mgmt(BaseModel):
288
286
  id: Optional[str] = None
289
287
  r"""Unique ID for this input"""
290
288
 
289
+ type: Annotated[
290
+ Optional[InputOffice365MgmtType], PlainValidator(validate_open_enum(False))
291
+ ] = None
292
+
291
293
  disabled: Optional[bool] = False
292
294
 
293
295
  pipeline: Optional[str] = None
@@ -225,9 +225,9 @@ class CertOptions(BaseModel):
225
225
 
226
226
 
227
227
  class InputOffice365MsgTraceTypedDict(TypedDict):
228
- type: InputOffice365MsgTraceType
229
228
  id: NotRequired[str]
230
229
  r"""Unique ID for this input"""
230
+ type: NotRequired[InputOffice365MsgTraceType]
231
231
  disabled: NotRequired[bool]
232
232
  pipeline: NotRequired[str]
233
233
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -298,13 +298,13 @@ class InputOffice365MsgTraceTypedDict(TypedDict):
298
298
 
299
299
 
300
300
  class InputOffice365MsgTrace(BaseModel):
301
- type: Annotated[
302
- InputOffice365MsgTraceType, PlainValidator(validate_open_enum(False))
303
- ]
304
-
305
301
  id: Optional[str] = None
306
302
  r"""Unique ID for this input"""
307
303
 
304
+ type: Annotated[
305
+ Optional[InputOffice365MsgTraceType], PlainValidator(validate_open_enum(False))
306
+ ] = None
307
+
308
308
  disabled: Optional[bool] = False
309
309
 
310
310
  pipeline: Optional[str] = None
@@ -226,13 +226,13 @@ class InputOffice365ServiceAuthenticationMethod(
226
226
 
227
227
 
228
228
  class InputOffice365ServiceTypedDict(TypedDict):
229
- type: InputOffice365ServiceType
230
229
  tenant_id: str
231
230
  r"""Office 365 Azure Tenant ID"""
232
231
  app_id: str
233
232
  r"""Office 365 Azure Application ID"""
234
233
  id: NotRequired[str]
235
234
  r"""Unique ID for this input"""
235
+ type: NotRequired[InputOffice365ServiceType]
236
236
  disabled: NotRequired[bool]
237
237
  pipeline: NotRequired[str]
238
238
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -276,10 +276,6 @@ class InputOffice365ServiceTypedDict(TypedDict):
276
276
 
277
277
 
278
278
  class InputOffice365Service(BaseModel):
279
- type: Annotated[
280
- InputOffice365ServiceType, PlainValidator(validate_open_enum(False))
281
- ]
282
-
283
279
  tenant_id: Annotated[str, pydantic.Field(alias="tenantId")]
284
280
  r"""Office 365 Azure Tenant ID"""
285
281
 
@@ -289,6 +285,10 @@ class InputOffice365Service(BaseModel):
289
285
  id: Optional[str] = None
290
286
  r"""Unique ID for this input"""
291
287
 
288
+ type: Annotated[
289
+ Optional[InputOffice365ServiceType], PlainValidator(validate_open_enum(False))
290
+ ] = None
291
+
292
292
  disabled: Optional[bool] = False
293
293
 
294
294
  pipeline: Optional[str] = None
@@ -242,9 +242,9 @@ class InputOpenTelemetryOauthHeader(BaseModel):
242
242
 
243
243
 
244
244
  class InputOpenTelemetryTypedDict(TypedDict):
245
- type: InputOpenTelemetryType
246
245
  id: NotRequired[str]
247
246
  r"""Unique ID for this input"""
247
+ type: NotRequired[InputOpenTelemetryType]
248
248
  disabled: NotRequired[bool]
249
249
  pipeline: NotRequired[str]
250
250
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -327,11 +327,13 @@ class InputOpenTelemetryTypedDict(TypedDict):
327
327
 
328
328
 
329
329
  class InputOpenTelemetry(BaseModel):
330
- type: Annotated[InputOpenTelemetryType, PlainValidator(validate_open_enum(False))]
331
-
332
330
  id: Optional[str] = None
333
331
  r"""Unique ID for this input"""
334
332
 
333
+ type: Annotated[
334
+ Optional[InputOpenTelemetryType], PlainValidator(validate_open_enum(False))
335
+ ] = None
336
+
335
337
  disabled: Optional[bool] = False
336
338
 
337
339
  pipeline: Optional[str] = None
@@ -177,9 +177,9 @@ class InputPrometheusSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
177
177
 
178
178
 
179
179
  class InputPrometheusTypedDict(TypedDict):
180
- type: InputPrometheusType
181
180
  id: NotRequired[str]
182
181
  r"""Unique ID for this input"""
182
+ type: NotRequired[InputPrometheusType]
183
183
  disabled: NotRequired[bool]
184
184
  pipeline: NotRequired[str]
185
185
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -265,11 +265,13 @@ class InputPrometheusTypedDict(TypedDict):
265
265
 
266
266
 
267
267
  class InputPrometheus(BaseModel):
268
- type: Annotated[InputPrometheusType, PlainValidator(validate_open_enum(False))]
269
-
270
268
  id: Optional[str] = None
271
269
  r"""Unique ID for this input"""
272
270
 
271
+ type: Annotated[
272
+ Optional[InputPrometheusType], PlainValidator(validate_open_enum(False))
273
+ ] = None
274
+
273
275
  disabled: Optional[bool] = False
274
276
 
275
277
  pipeline: Optional[str] = None
@@ -228,11 +228,11 @@ class InputPrometheusRwOauthHeader(BaseModel):
228
228
 
229
229
 
230
230
  class InputPrometheusRwTypedDict(TypedDict):
231
- type: InputPrometheusRwType
232
231
  port: float
233
232
  r"""Port to listen on"""
234
233
  id: NotRequired[str]
235
234
  r"""Unique ID for this input"""
235
+ type: NotRequired[InputPrometheusRwType]
236
236
  disabled: NotRequired[bool]
237
237
  pipeline: NotRequired[str]
238
238
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -306,14 +306,16 @@ class InputPrometheusRwTypedDict(TypedDict):
306
306
 
307
307
 
308
308
  class InputPrometheusRw(BaseModel):
309
- type: Annotated[InputPrometheusRwType, PlainValidator(validate_open_enum(False))]
310
-
311
309
  port: float
312
310
  r"""Port to listen on"""
313
311
 
314
312
  id: Optional[str] = None
315
313
  r"""Unique ID for this input"""
316
314
 
315
+ type: Annotated[
316
+ Optional[InputPrometheusRwType], PlainValidator(validate_open_enum(False))
317
+ ] = None
318
+
317
319
  disabled: Optional[bool] = False
318
320
 
319
321
  pipeline: Optional[str] = None
@@ -104,11 +104,11 @@ class InputRawUDPMetadatum(BaseModel):
104
104
 
105
105
 
106
106
  class InputRawUDPTypedDict(TypedDict):
107
- type: InputRawUDPType
108
107
  port: float
109
108
  r"""Port to listen on"""
110
109
  id: NotRequired[str]
111
110
  r"""Unique ID for this input"""
111
+ type: NotRequired[InputRawUDPType]
112
112
  disabled: NotRequired[bool]
113
113
  pipeline: NotRequired[str]
114
114
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -141,14 +141,16 @@ class InputRawUDPTypedDict(TypedDict):
141
141
 
142
142
 
143
143
  class InputRawUDP(BaseModel):
144
- type: Annotated[InputRawUDPType, PlainValidator(validate_open_enum(False))]
145
-
146
144
  port: float
147
145
  r"""Port to listen on"""
148
146
 
149
147
  id: Optional[str] = None
150
148
  r"""Unique ID for this input"""
151
149
 
150
+ type: Annotated[
151
+ Optional[InputRawUDPType], PlainValidator(validate_open_enum(False))
152
+ ] = None
153
+
152
154
  disabled: Optional[bool] = False
153
155
 
154
156
  pipeline: Optional[str] = None
@@ -164,9 +164,9 @@ class InputSnmpMetadatum(BaseModel):
164
164
 
165
165
 
166
166
  class InputSnmpTypedDict(TypedDict):
167
- type: InputSnmpType
168
167
  id: NotRequired[str]
169
168
  r"""Unique ID for this input"""
169
+ type: NotRequired[InputSnmpType]
170
170
  disabled: NotRequired[bool]
171
171
  pipeline: NotRequired[str]
172
172
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -203,11 +203,13 @@ class InputSnmpTypedDict(TypedDict):
203
203
 
204
204
 
205
205
  class InputSnmp(BaseModel):
206
- type: Annotated[InputSnmpType, PlainValidator(validate_open_enum(False))]
207
-
208
206
  id: Optional[str] = None
209
207
  r"""Unique ID for this input"""
210
208
 
209
+ type: Annotated[
210
+ Optional[InputSnmpType], PlainValidator(validate_open_enum(False))
211
+ ] = None
212
+
211
213
  disabled: Optional[bool] = False
212
214
 
213
215
  pipeline: Optional[str] = None
@@ -214,11 +214,11 @@ class InputSplunkCompression(str, Enum, metaclass=utils.OpenEnumMeta):
214
214
 
215
215
 
216
216
  class InputSplunkTypedDict(TypedDict):
217
- type: InputSplunkType
218
217
  port: float
219
218
  r"""Port to listen on"""
220
219
  id: NotRequired[str]
221
220
  r"""Unique ID for this input"""
221
+ type: NotRequired[InputSplunkType]
222
222
  disabled: NotRequired[bool]
223
223
  pipeline: NotRequired[str]
224
224
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -270,14 +270,16 @@ class InputSplunkTypedDict(TypedDict):
270
270
 
271
271
 
272
272
  class InputSplunk(BaseModel):
273
- type: Annotated[InputSplunkType, PlainValidator(validate_open_enum(False))]
274
-
275
273
  port: float
276
274
  r"""Port to listen on"""
277
275
 
278
276
  id: Optional[str] = None
279
277
  r"""Unique ID for this input"""
280
278
 
279
+ type: Annotated[
280
+ Optional[InputSplunkType], PlainValidator(validate_open_enum(False))
281
+ ] = None
282
+
281
283
  disabled: Optional[bool] = False
282
284
 
283
285
  pipeline: Optional[str] = None
@@ -248,11 +248,11 @@ class InputSplunkHecMetadatum(BaseModel):
248
248
 
249
249
 
250
250
  class InputSplunkHecTypedDict(TypedDict):
251
- type: InputSplunkHecType
252
251
  port: float
253
252
  r"""Port to listen on"""
254
253
  id: NotRequired[str]
255
254
  r"""Unique ID for this input"""
255
+ type: NotRequired[InputSplunkHecType]
256
256
  disabled: NotRequired[bool]
257
257
  pipeline: NotRequired[str]
258
258
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -321,14 +321,16 @@ class InputSplunkHecTypedDict(TypedDict):
321
321
 
322
322
 
323
323
  class InputSplunkHec(BaseModel):
324
- type: Annotated[InputSplunkHecType, PlainValidator(validate_open_enum(False))]
325
-
326
324
  port: float
327
325
  r"""Port to listen on"""
328
326
 
329
327
  id: Optional[str] = None
330
328
  r"""Unique ID for this input"""
331
329
 
330
+ type: Annotated[
331
+ Optional[InputSplunkHecType], PlainValidator(validate_open_enum(False))
332
+ ] = None
333
+
332
334
  disabled: Optional[bool] = False
333
335
 
334
336
  pipeline: Optional[str] = None
@@ -249,11 +249,11 @@ class InputSplunkSearchOauthHeader(BaseModel):
249
249
 
250
250
 
251
251
  class InputSplunkSearchTypedDict(TypedDict):
252
- type: InputSplunkSearchType
253
252
  search: str
254
253
  r"""Enter Splunk search here. Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'"""
255
254
  id: NotRequired[str]
256
255
  r"""Unique ID for this input"""
256
+ type: NotRequired[InputSplunkSearchType]
257
257
  disabled: NotRequired[bool]
258
258
  pipeline: NotRequired[str]
259
259
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -341,14 +341,16 @@ class InputSplunkSearchTypedDict(TypedDict):
341
341
 
342
342
 
343
343
  class InputSplunkSearch(BaseModel):
344
- type: Annotated[InputSplunkSearchType, PlainValidator(validate_open_enum(False))]
345
-
346
344
  search: str
347
345
  r"""Enter Splunk search here. Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'"""
348
346
 
349
347
  id: Optional[str] = None
350
348
  r"""Unique ID for this input"""
351
349
 
350
+ type: Annotated[
351
+ Optional[InputSplunkSearchType], PlainValidator(validate_open_enum(False))
352
+ ] = None
353
+
352
354
  disabled: Optional[bool] = False
353
355
 
354
356
  pipeline: Optional[str] = None
@@ -126,11 +126,11 @@ class InputSqsMetadatum(BaseModel):
126
126
 
127
127
 
128
128
  class InputSqsTypedDict(TypedDict):
129
- type: InputSqsType
130
129
  queue_name: str
131
130
  r"""The name, URL, or ARN of the SQS queue to read events from. When a non-AWS URL is specified, format must be: '{url}/myQueueName'. Example: 'https://host:port/myQueueName'. Value must be a JavaScript expression (which can evaluate to a constant value), enclosed in quotes or backticks. Can only be evaluated at init time. Example referencing a Global Variable: `https://host:port/myQueue-${C.vars.myVar}`."""
132
131
  id: NotRequired[str]
133
132
  r"""Unique ID for this input"""
133
+ type: NotRequired[InputSqsType]
134
134
  disabled: NotRequired[bool]
135
135
  pipeline: NotRequired[str]
136
136
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -189,14 +189,16 @@ class InputSqsTypedDict(TypedDict):
189
189
 
190
190
 
191
191
  class InputSqs(BaseModel):
192
- type: Annotated[InputSqsType, PlainValidator(validate_open_enum(False))]
193
-
194
192
  queue_name: Annotated[str, pydantic.Field(alias="queueName")]
195
193
  r"""The name, URL, or ARN of the SQS queue to read events from. When a non-AWS URL is specified, format must be: '{url}/myQueueName'. Example: 'https://host:port/myQueueName'. Value must be a JavaScript expression (which can evaluate to a constant value), enclosed in quotes or backticks. Can only be evaluated at init time. Example referencing a Global Variable: `https://host:port/myQueue-${C.vars.myVar}`."""
196
194
 
197
195
  id: Optional[str] = None
198
196
  r"""Unique ID for this input"""
199
197
 
198
+ type: Annotated[
199
+ Optional[InputSqsType], PlainValidator(validate_open_enum(False))
200
+ ] = None
201
+
200
202
  disabled: Optional[bool] = False
201
203
 
202
204
  pipeline: Optional[str] = None
@@ -211,11 +211,11 @@ class InputTCPAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
211
211
 
212
212
 
213
213
  class InputTCPTypedDict(TypedDict):
214
- type: InputTCPType
215
214
  port: float
216
215
  r"""Port to listen on"""
217
216
  id: NotRequired[str]
218
217
  r"""Unique ID for this input"""
218
+ type: NotRequired[InputTCPType]
219
219
  disabled: NotRequired[bool]
220
220
  pipeline: NotRequired[str]
221
221
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -260,14 +260,16 @@ class InputTCPTypedDict(TypedDict):
260
260
 
261
261
 
262
262
  class InputTCP(BaseModel):
263
- type: Annotated[InputTCPType, PlainValidator(validate_open_enum(False))]
264
-
265
263
  port: float
266
264
  r"""Port to listen on"""
267
265
 
268
266
  id: Optional[str] = None
269
267
  r"""Unique ID for this input"""
270
268
 
269
+ type: Annotated[
270
+ Optional[InputTCPType], PlainValidator(validate_open_enum(False))
271
+ ] = None
272
+
271
273
  disabled: Optional[bool] = False
272
274
 
273
275
  pipeline: Optional[str] = None
@@ -193,11 +193,11 @@ class InputTcpjsonAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
193
193
 
194
194
 
195
195
  class InputTcpjsonTypedDict(TypedDict):
196
- type: InputTcpjsonType
197
196
  port: float
198
197
  r"""Port to listen on"""
199
198
  id: NotRequired[str]
200
199
  r"""Unique ID for this input"""
200
+ type: NotRequired[InputTcpjsonType]
201
201
  disabled: NotRequired[bool]
202
202
  pipeline: NotRequired[str]
203
203
  r"""Pipeline to process data from this Source before sending it through the Routes"""
@@ -241,14 +241,16 @@ class InputTcpjsonTypedDict(TypedDict):
241
241
 
242
242
 
243
243
  class InputTcpjson(BaseModel):
244
- type: Annotated[InputTcpjsonType, PlainValidator(validate_open_enum(False))]
245
-
246
244
  port: float
247
245
  r"""Port to listen on"""
248
246
 
249
247
  id: Optional[str] = None
250
248
  r"""Unique ID for this input"""
251
249
 
250
+ type: Annotated[
251
+ Optional[InputTcpjsonType], PlainValidator(validate_open_enum(False))
252
+ ] = None
253
+
252
254
  disabled: Optional[bool] = False
253
255
 
254
256
  pipeline: Optional[str] = None