cribl-control-plane 0.1.0b1__py3-none-any.whl → 0.1.1rc1__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 (150) hide show
  1. cribl_control_plane/_hooks/clientcredentials.py +91 -41
  2. cribl_control_plane/_version.py +4 -4
  3. cribl_control_plane/errors/apierror.py +1 -1
  4. cribl_control_plane/errors/criblcontrolplaneerror.py +1 -1
  5. cribl_control_plane/errors/error.py +1 -1
  6. cribl_control_plane/errors/healthstatus_error.py +1 -1
  7. cribl_control_plane/errors/no_response_error.py +1 -1
  8. cribl_control_plane/errors/responsevalidationerror.py +1 -1
  9. cribl_control_plane/groups_sdk.py +4 -4
  10. cribl_control_plane/httpclient.py +0 -1
  11. cribl_control_plane/lakedatasets.py +12 -12
  12. cribl_control_plane/models/__init__.py +92 -25
  13. cribl_control_plane/models/configgroup.py +17 -2
  14. cribl_control_plane/models/createversionundoop.py +3 -3
  15. cribl_control_plane/models/cribllakedatasetupdate.py +81 -0
  16. cribl_control_plane/models/distributedsummary.py +6 -0
  17. cribl_control_plane/models/gitinfo.py +14 -3
  18. cribl_control_plane/models/input.py +65 -63
  19. cribl_control_plane/models/inputappscope.py +4 -0
  20. cribl_control_plane/models/inputazureblob.py +4 -0
  21. cribl_control_plane/models/inputcollection.py +4 -0
  22. cribl_control_plane/models/inputconfluentcloud.py +8 -0
  23. cribl_control_plane/models/inputcribl.py +4 -0
  24. cribl_control_plane/models/inputcriblhttp.py +4 -0
  25. cribl_control_plane/models/inputcribllakehttp.py +4 -0
  26. cribl_control_plane/models/inputcriblmetrics.py +4 -0
  27. cribl_control_plane/models/inputcribltcp.py +4 -0
  28. cribl_control_plane/models/inputcrowdstrike.py +7 -0
  29. cribl_control_plane/models/inputdatadogagent.py +4 -0
  30. cribl_control_plane/models/inputdatagen.py +4 -0
  31. cribl_control_plane/models/inputedgeprometheus.py +12 -0
  32. cribl_control_plane/models/inputelastic.py +11 -0
  33. cribl_control_plane/models/inputeventhub.py +6 -0
  34. cribl_control_plane/models/inputexec.py +4 -0
  35. cribl_control_plane/models/inputfile.py +6 -0
  36. cribl_control_plane/models/inputfirehose.py +4 -0
  37. cribl_control_plane/models/inputgooglepubsub.py +7 -0
  38. cribl_control_plane/models/inputgrafana.py +8 -0
  39. cribl_control_plane/models/inputhttp.py +4 -0
  40. cribl_control_plane/models/inputhttpraw.py +4 -0
  41. cribl_control_plane/models/inputjournalfiles.py +4 -0
  42. cribl_control_plane/models/inputkafka.py +8 -0
  43. cribl_control_plane/models/inputkinesis.py +15 -0
  44. cribl_control_plane/models/inputkubeevents.py +4 -0
  45. cribl_control_plane/models/inputkubelogs.py +4 -0
  46. cribl_control_plane/models/inputkubemetrics.py +4 -0
  47. cribl_control_plane/models/inputloki.py +4 -0
  48. cribl_control_plane/models/inputmetrics.py +4 -0
  49. cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
  50. cribl_control_plane/models/inputmsk.py +7 -0
  51. cribl_control_plane/models/inputnetflow.py +4 -0
  52. cribl_control_plane/models/inputoffice365mgmt.py +11 -0
  53. cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
  54. cribl_control_plane/models/inputoffice365service.py +11 -0
  55. cribl_control_plane/models/inputopentelemetry.py +8 -0
  56. cribl_control_plane/models/inputprometheus.py +10 -0
  57. cribl_control_plane/models/inputprometheusrw.py +4 -0
  58. cribl_control_plane/models/inputrawudp.py +4 -0
  59. cribl_control_plane/models/inputs3.py +7 -0
  60. cribl_control_plane/models/inputs3inventory.py +7 -0
  61. cribl_control_plane/models/inputsecuritylake.py +7 -0
  62. cribl_control_plane/models/inputsnmp.py +11 -0
  63. cribl_control_plane/models/inputsplunk.py +9 -0
  64. cribl_control_plane/models/inputsplunkhec.py +4 -0
  65. cribl_control_plane/models/inputsplunksearch.py +7 -0
  66. cribl_control_plane/models/inputsqs.py +17 -10
  67. cribl_control_plane/models/inputsyslog.py +8 -0
  68. cribl_control_plane/models/inputsystemmetrics.py +32 -0
  69. cribl_control_plane/models/inputsystemstate.py +4 -0
  70. cribl_control_plane/models/inputtcp.py +4 -0
  71. cribl_control_plane/models/inputtcpjson.py +4 -0
  72. cribl_control_plane/models/inputwef.py +6 -0
  73. cribl_control_plane/models/inputwindowsmetrics.py +28 -0
  74. cribl_control_plane/models/inputwineventlogs.py +8 -0
  75. cribl_control_plane/models/inputwiz.py +7 -0
  76. cribl_control_plane/models/inputwizwebhook.py +4 -0
  77. cribl_control_plane/models/inputzscalerhec.py +4 -0
  78. cribl_control_plane/models/jobinfo.py +4 -1
  79. cribl_control_plane/models/nodeprovidedinfo.py +4 -1
  80. cribl_control_plane/models/output.py +86 -81
  81. cribl_control_plane/models/outputazureblob.py +20 -0
  82. cribl_control_plane/models/outputazuredataexplorer.py +28 -0
  83. cribl_control_plane/models/outputazureeventhub.py +17 -0
  84. cribl_control_plane/models/outputazurelogs.py +13 -0
  85. cribl_control_plane/models/outputchronicle.py +444 -0
  86. cribl_control_plane/models/outputclickhouse.py +17 -0
  87. cribl_control_plane/models/outputcloudwatch.py +13 -0
  88. cribl_control_plane/models/outputconfluentcloud.py +24 -0
  89. cribl_control_plane/models/outputcriblhttp.py +15 -0
  90. cribl_control_plane/models/outputcribllake.py +21 -0
  91. cribl_control_plane/models/outputcribltcp.py +12 -0
  92. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
  93. cribl_control_plane/models/outputdatabricks.py +28 -176
  94. cribl_control_plane/models/outputdatadog.py +30 -0
  95. cribl_control_plane/models/outputdataset.py +23 -0
  96. cribl_control_plane/models/outputdls3.py +35 -0
  97. cribl_control_plane/models/outputdynatracehttp.py +22 -0
  98. cribl_control_plane/models/outputdynatraceotlp.py +22 -0
  99. cribl_control_plane/models/outputelastic.py +18 -0
  100. cribl_control_plane/models/outputelasticcloud.py +13 -0
  101. cribl_control_plane/models/outputexabeam.py +14 -0
  102. cribl_control_plane/models/outputfilesystem.py +15 -0
  103. cribl_control_plane/models/outputgooglechronicle.py +26 -4
  104. cribl_control_plane/models/outputgooglecloudlogging.py +28 -4
  105. cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
  106. cribl_control_plane/models/outputgooglepubsub.py +13 -0
  107. cribl_control_plane/models/outputgrafanacloud.py +50 -0
  108. cribl_control_plane/models/outputgraphite.py +12 -0
  109. cribl_control_plane/models/outputhoneycomb.py +13 -0
  110. cribl_control_plane/models/outputhumiohec.py +15 -0
  111. cribl_control_plane/models/outputinfluxdb.py +19 -0
  112. cribl_control_plane/models/outputkafka.py +24 -0
  113. cribl_control_plane/models/outputkinesis.py +15 -0
  114. cribl_control_plane/models/outputloki.py +20 -0
  115. cribl_control_plane/models/outputminio.py +28 -0
  116. cribl_control_plane/models/outputmsk.py +23 -0
  117. cribl_control_plane/models/outputnewrelic.py +16 -0
  118. cribl_control_plane/models/outputnewrelicevents.py +16 -0
  119. cribl_control_plane/models/outputopentelemetry.py +22 -0
  120. cribl_control_plane/models/outputprometheus.py +13 -0
  121. cribl_control_plane/models/outputring.py +2 -0
  122. cribl_control_plane/models/outputs3.py +35 -0
  123. cribl_control_plane/models/outputsecuritylake.py +29 -0
  124. cribl_control_plane/models/outputsentinel.py +15 -0
  125. cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
  126. cribl_control_plane/models/outputservicenow.py +21 -0
  127. cribl_control_plane/models/outputsignalfx.py +13 -0
  128. cribl_control_plane/models/outputsns.py +13 -0
  129. cribl_control_plane/models/outputsplunk.py +15 -0
  130. cribl_control_plane/models/outputsplunkhec.py +13 -0
  131. cribl_control_plane/models/outputsplunklb.py +15 -0
  132. cribl_control_plane/models/outputsqs.py +23 -10
  133. cribl_control_plane/models/outputstatsd.py +12 -0
  134. cribl_control_plane/models/outputstatsdext.py +12 -0
  135. cribl_control_plane/models/outputsumologic.py +15 -0
  136. cribl_control_plane/models/outputsyslog.py +24 -0
  137. cribl_control_plane/models/outputtcpjson.py +12 -0
  138. cribl_control_plane/models/outputwavefront.py +13 -0
  139. cribl_control_plane/models/outputwebhook.py +23 -0
  140. cribl_control_plane/models/outputxsiam.py +13 -0
  141. cribl_control_plane/models/packinfo.py +3 -0
  142. cribl_control_plane/models/packinstallinfo.py +3 -0
  143. cribl_control_plane/models/runnablejobcollection.py +4 -0
  144. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +9 -5
  145. cribl_control_plane/models/updatepacksop.py +27 -0
  146. cribl_control_plane/models/uploadpackresponse.py +13 -0
  147. cribl_control_plane/packs.py +196 -1
  148. {cribl_control_plane-0.1.0b1.dist-info → cribl_control_plane-0.1.1rc1.dist-info}/METADATA +47 -13
  149. {cribl_control_plane-0.1.0b1.dist-info → cribl_control_plane-0.1.1rc1.dist-info}/RECORD +150 -146
  150. {cribl_control_plane-0.1.0b1.dist-info → cribl_control_plane-0.1.1rc1.dist-info}/WHEEL +0 -0
@@ -29,14 +29,18 @@ class InputSqsConnection(BaseModel):
29
29
  class InputSqsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputSqsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -106,15 +110,20 @@ class InputSqsPq(BaseModel):
106
110
  class InputSqsQueueType(str, Enum, metaclass=utils.OpenEnumMeta):
107
111
  r"""The queue type used (or created)"""
108
112
 
113
+ # Standard
109
114
  STANDARD = "standard"
115
+ # FIFO
110
116
  FIFO = "fifo"
111
117
 
112
118
 
113
119
  class InputSqsAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
114
120
  r"""AWS authentication method. Choose Auto to use IAM roles."""
115
121
 
122
+ # Auto
116
123
  AUTO = "auto"
124
+ # Manual
117
125
  MANUAL = "manual"
126
+ # Secret Key pair
118
127
  SECRET = "secret"
119
128
 
120
129
 
@@ -142,6 +151,8 @@ class InputSqsTypedDict(TypedDict):
142
151
  type: InputSqsType
143
152
  queue_name: str
144
153
  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}`."""
154
+ queue_type: InputSqsQueueType
155
+ r"""The queue type used (or created)"""
145
156
  id: NotRequired[str]
146
157
  r"""Unique ID for this input"""
147
158
  disabled: NotRequired[bool]
@@ -158,8 +169,6 @@ class InputSqsTypedDict(TypedDict):
158
169
  connections: NotRequired[List[InputSqsConnectionTypedDict]]
159
170
  r"""Direct connections to Destinations, and optionally via a Pipeline or a Pack"""
160
171
  pq: NotRequired[InputSqsPqTypedDict]
161
- queue_type: NotRequired[InputSqsQueueType]
162
- r"""The queue type used (or created)"""
163
172
  aws_account_id: NotRequired[str]
164
173
  r"""SQS queue owner's AWS account ID. Leave empty if SQS queue is in same AWS account."""
165
174
  create_queue: NotRequired[bool]
@@ -207,6 +216,12 @@ class InputSqs(BaseModel):
207
216
  queue_name: Annotated[str, pydantic.Field(alias="queueName")]
208
217
  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}`."""
209
218
 
219
+ queue_type: Annotated[
220
+ Annotated[InputSqsQueueType, PlainValidator(validate_open_enum(False))],
221
+ pydantic.Field(alias="queueType"),
222
+ ]
223
+ r"""The queue type used (or created)"""
224
+
210
225
  id: Optional[str] = None
211
226
  r"""Unique ID for this input"""
212
227
 
@@ -234,14 +249,6 @@ class InputSqs(BaseModel):
234
249
 
235
250
  pq: Optional[InputSqsPq] = None
236
251
 
237
- queue_type: Annotated[
238
- Annotated[
239
- Optional[InputSqsQueueType], PlainValidator(validate_open_enum(False))
240
- ],
241
- pydantic.Field(alias="queueType"),
242
- ] = InputSqsQueueType.STANDARD
243
- r"""The queue type used (or created)"""
244
-
245
252
  aws_account_id: Annotated[Optional[str], pydantic.Field(alias="awsAccountId")] = (
246
253
  None
247
254
  )
@@ -29,14 +29,18 @@ class InputSyslogConnection2(BaseModel):
29
29
  class InputSyslogMode2(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputSyslogCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -412,14 +416,18 @@ class InputSyslogConnection1(BaseModel):
412
416
  class InputSyslogMode1(str, Enum, metaclass=utils.OpenEnumMeta):
413
417
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
414
418
 
419
+ # Smart
415
420
  SMART = "smart"
421
+ # Always On
416
422
  ALWAYS = "always"
417
423
 
418
424
 
419
425
  class InputSyslogCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
420
426
  r"""Codec to use to compress the persisted data"""
421
427
 
428
+ # None
422
429
  NONE = "none"
430
+ # Gzip
423
431
  GZIP = "gzip"
424
432
 
425
433
 
@@ -29,14 +29,18 @@ class InputSystemMetricsConnection(BaseModel):
29
29
  class InputSystemMetricsPqMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputSystemMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -107,18 +111,26 @@ class InputSystemMetricsPq(BaseModel):
107
111
  class InputSystemMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
108
112
  r"""Select level of detail for host metrics"""
109
113
 
114
+ # Basic
110
115
  BASIC = "basic"
116
+ # All
111
117
  ALL = "all"
118
+ # Custom
112
119
  CUSTOM = "custom"
120
+ # Disabled
113
121
  DISABLED = "disabled"
114
122
 
115
123
 
116
124
  class InputSystemMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
117
125
  r"""Select the level of detail for system metrics"""
118
126
 
127
+ # Basic
119
128
  BASIC = "basic"
129
+ # All
120
130
  ALL = "all"
131
+ # Custom
121
132
  CUSTOM = "custom"
133
+ # Disabled
122
134
  DISABLED = "disabled"
123
135
 
124
136
 
@@ -143,9 +155,13 @@ class InputSystemMetricsSystem(BaseModel):
143
155
  class InputSystemMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
144
156
  r"""Select the level of detail for CPU metrics"""
145
157
 
158
+ # Basic
146
159
  BASIC = "basic"
160
+ # All
147
161
  ALL = "all"
162
+ # Custom
148
163
  CUSTOM = "custom"
164
+ # Disabled
149
165
  DISABLED = "disabled"
150
166
 
151
167
 
@@ -179,9 +195,13 @@ class InputSystemMetricsCPU(BaseModel):
179
195
  class InputSystemMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
180
196
  r"""Select the level of detail for memory metrics"""
181
197
 
198
+ # Basic
182
199
  BASIC = "basic"
200
+ # All
183
201
  ALL = "all"
202
+ # Custom
184
203
  CUSTOM = "custom"
204
+ # Disabled
185
205
  DISABLED = "disabled"
186
206
 
187
207
 
@@ -206,9 +226,13 @@ class InputSystemMetricsMemory(BaseModel):
206
226
  class InputSystemMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
207
227
  r"""Select the level of detail for network metrics"""
208
228
 
229
+ # Basic
209
230
  BASIC = "basic"
231
+ # All
210
232
  ALL = "all"
233
+ # Custom
211
234
  CUSTOM = "custom"
235
+ # Disabled
212
236
  DISABLED = "disabled"
213
237
 
214
238
 
@@ -245,9 +269,13 @@ class InputSystemMetricsNetwork(BaseModel):
245
269
  class InputSystemMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
246
270
  r"""Select the level of detail for disk metrics"""
247
271
 
272
+ # Basic
248
273
  BASIC = "basic"
274
+ # All
249
275
  ALL = "all"
276
+ # Custom
250
277
  CUSTOM = "custom"
278
+ # Disabled
251
279
  DISABLED = "disabled"
252
280
 
253
281
 
@@ -352,9 +380,13 @@ class InputSystemMetricsProcess(BaseModel):
352
380
  class ContainerMode(str, Enum, metaclass=utils.OpenEnumMeta):
353
381
  r"""Select the level of detail for container metrics"""
354
382
 
383
+ # Basic
355
384
  BASIC = "basic"
385
+ # All
356
386
  ALL = "all"
387
+ # Custom
357
388
  CUSTOM = "custom"
389
+ # Disabled
358
390
  DISABLED = "disabled"
359
391
 
360
392
 
@@ -29,14 +29,18 @@ class InputSystemStateConnection(BaseModel):
29
29
  class InputSystemStateMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputSystemStateCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ class InputTCPConnection(BaseModel):
29
29
  class InputTCPMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ class InputTcpjsonConnection(BaseModel):
29
29
  class InputTcpjsonMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputTcpjsonCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ class InputWefConnection(BaseModel):
29
29
  class InputWefMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputWefCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -106,7 +110,9 @@ class InputWefPq(BaseModel):
106
110
  class InputWefAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
107
111
  r"""How to authenticate incoming client connections"""
108
112
 
113
+ # Client certificate
109
114
  CLIENT_CERT = "clientCert"
115
+ # Kerberos
110
116
  KERBEROS = "kerberos"
111
117
 
112
118
 
@@ -29,14 +29,18 @@ class InputWindowsMetricsConnection(BaseModel):
29
29
  class InputWindowsMetricsPqMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputWindowsMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -107,18 +111,26 @@ class InputWindowsMetricsPq(BaseModel):
107
111
  class InputWindowsMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
108
112
  r"""Select level of detail for host metrics"""
109
113
 
114
+ # Basic
110
115
  BASIC = "basic"
116
+ # All
111
117
  ALL = "all"
118
+ # Custom
112
119
  CUSTOM = "custom"
120
+ # Disabled
113
121
  DISABLED = "disabled"
114
122
 
115
123
 
116
124
  class InputWindowsMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
117
125
  r"""Select the level of details for system metrics"""
118
126
 
127
+ # Basic
119
128
  BASIC = "basic"
129
+ # All
120
130
  ALL = "all"
131
+ # Custom
121
132
  CUSTOM = "custom"
133
+ # Disabled
122
134
  DISABLED = "disabled"
123
135
 
124
136
 
@@ -143,9 +155,13 @@ class InputWindowsMetricsSystem(BaseModel):
143
155
  class InputWindowsMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
144
156
  r"""Select the level of details for CPU metrics"""
145
157
 
158
+ # Basic
146
159
  BASIC = "basic"
160
+ # All
147
161
  ALL = "all"
162
+ # Custom
148
163
  CUSTOM = "custom"
164
+ # Disabled
149
165
  DISABLED = "disabled"
150
166
 
151
167
 
@@ -179,9 +195,13 @@ class InputWindowsMetricsCPU(BaseModel):
179
195
  class InputWindowsMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
180
196
  r"""Select the level of details for memory metrics"""
181
197
 
198
+ # Basic
182
199
  BASIC = "basic"
200
+ # All
183
201
  ALL = "all"
202
+ # Custom
184
203
  CUSTOM = "custom"
204
+ # Disabled
185
205
  DISABLED = "disabled"
186
206
 
187
207
 
@@ -206,9 +226,13 @@ class InputWindowsMetricsMemory(BaseModel):
206
226
  class InputWindowsMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
207
227
  r"""Select the level of details for network metrics"""
208
228
 
229
+ # Basic
209
230
  BASIC = "basic"
231
+ # All
210
232
  ALL = "all"
233
+ # Custom
211
234
  CUSTOM = "custom"
235
+ # Disabled
212
236
  DISABLED = "disabled"
213
237
 
214
238
 
@@ -245,9 +269,13 @@ class InputWindowsMetricsNetwork(BaseModel):
245
269
  class InputWindowsMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
246
270
  r"""Select the level of details for disk metrics"""
247
271
 
272
+ # Basic
248
273
  BASIC = "basic"
274
+ # All
249
275
  ALL = "all"
276
+ # Custom
250
277
  CUSTOM = "custom"
278
+ # Disabled
251
279
  DISABLED = "disabled"
252
280
 
253
281
 
@@ -29,14 +29,18 @@ class InputWinEventLogsConnection(BaseModel):
29
29
  class InputWinEventLogsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputWinEventLogsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -107,14 +111,18 @@ class InputWinEventLogsPq(BaseModel):
107
111
  class ReadMode(str, Enum, metaclass=utils.OpenEnumMeta):
108
112
  r"""Read all stored and future event logs, or only future events"""
109
113
 
114
+ # Entire log
110
115
  OLDEST = "oldest"
116
+ # From last entry
111
117
  NEWEST = "newest"
112
118
 
113
119
 
114
120
  class EventFormat(str, Enum, metaclass=utils.OpenEnumMeta):
115
121
  r"""Format of individual events"""
116
122
 
123
+ # JSON
117
124
  JSON = "json"
125
+ # XML
118
126
  XML = "xml"
119
127
 
120
128
 
@@ -29,14 +29,18 @@ class InputWizConnection(BaseModel):
29
29
  class InputWizMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputWizCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -137,8 +141,11 @@ class InputWizMetadatum(BaseModel):
137
141
  class InputWizRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
138
142
  r"""The algorithm to use when performing HTTP retries"""
139
143
 
144
+ # Disabled
140
145
  NONE = "none"
146
+ # Backoff
141
147
  BACKOFF = "backoff"
148
+ # Static
142
149
  STATIC = "static"
143
150
 
144
151
 
@@ -29,14 +29,18 @@ class InputWizWebhookConnection(BaseModel):
29
29
  class InputWizWebhookMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputWizWebhookCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ class InputZscalerHecConnection(BaseModel):
29
29
  class InputZscalerHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
+ # Smart
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputZscalerHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -4,13 +4,14 @@ from __future__ import annotations
4
4
  from .jobstatus import JobStatus, JobStatusTypedDict
5
5
  from .runnablejob import RunnableJob, RunnableJobTypedDict
6
6
  from cribl_control_plane.types import BaseModel
7
- from typing import Optional
7
+ from typing import Dict, Optional
8
8
  from typing_extensions import NotRequired, TypedDict
9
9
 
10
10
 
11
11
  class JobInfoTypedDict(TypedDict):
12
12
  args: RunnableJobTypedDict
13
13
  id: str
14
+ stats: Dict[str, float]
14
15
  status: JobStatusTypedDict
15
16
  keep: NotRequired[bool]
16
17
 
@@ -20,6 +21,8 @@ class JobInfo(BaseModel):
20
21
 
21
22
  id: str
22
23
 
24
+ stats: Dict[str, float]
25
+
23
26
  status: JobStatus
24
27
 
25
28
  keep: Optional[bool] = None
@@ -5,7 +5,7 @@ from .hbcriblinfo import HBCriblInfo, HBCriblInfoTypedDict
5
5
  from .heartbeatmetadata import HeartbeatMetadata, HeartbeatMetadataTypedDict
6
6
  from cribl_control_plane.types import BaseModel
7
7
  import pydantic
8
- from typing import List, Optional, Union
8
+ from typing import Dict, List, Optional, Union
9
9
  from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
10
10
 
11
11
 
@@ -128,6 +128,7 @@ class NodeProvidedInfoTypedDict(TypedDict):
128
128
  architecture: str
129
129
  cpus: float
130
130
  cribl: HBCriblInfoTypedDict
131
+ env: Dict[str, str]
131
132
  free_disk_space: float
132
133
  hostname: str
133
134
  node: str
@@ -152,6 +153,8 @@ class NodeProvidedInfo(BaseModel):
152
153
 
153
154
  cribl: HBCriblInfo
154
155
 
156
+ env: Dict[str, str]
157
+
155
158
  free_disk_space: Annotated[float, pydantic.Field(alias="freeDiskSpace")]
156
159
 
157
160
  hostname: str