cribl-control-plane 0.0.16__py3-none-any.whl → 0.0.17__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.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/errors/healthstatus_error.py +2 -8
- cribl_control_plane/models/__init__.py +4124 -4124
- cribl_control_plane/models/createinputop.py +1734 -2771
- cribl_control_plane/models/createoutputop.py +2153 -4314
- cribl_control_plane/models/healthstatus.py +4 -7
- cribl_control_plane/models/inputappscope.py +16 -36
- cribl_control_plane/models/inputazureblob.py +8 -19
- cribl_control_plane/models/inputcollection.py +6 -15
- cribl_control_plane/models/inputconfluentcloud.py +20 -45
- cribl_control_plane/models/inputcribl.py +6 -13
- cribl_control_plane/models/inputcriblhttp.py +10 -27
- cribl_control_plane/models/inputcribllakehttp.py +12 -26
- cribl_control_plane/models/inputcriblmetrics.py +6 -14
- cribl_control_plane/models/inputcribltcp.py +10 -27
- cribl_control_plane/models/inputcrowdstrike.py +12 -28
- cribl_control_plane/models/inputdatadogagent.py +10 -28
- cribl_control_plane/models/inputdatagen.py +6 -13
- cribl_control_plane/models/inputedgeprometheus.py +31 -64
- cribl_control_plane/models/inputelastic.py +16 -44
- cribl_control_plane/models/inputeventhub.py +8 -19
- cribl_control_plane/models/inputexec.py +8 -16
- cribl_control_plane/models/inputfile.py +8 -17
- cribl_control_plane/models/inputfirehose.py +10 -27
- cribl_control_plane/models/inputgooglepubsub.py +8 -23
- cribl_control_plane/models/inputgrafana_union.py +35 -81
- cribl_control_plane/models/inputhttp.py +10 -27
- cribl_control_plane/models/inputhttpraw.py +10 -27
- cribl_control_plane/models/inputjournalfiles.py +6 -16
- cribl_control_plane/models/inputkafka.py +16 -45
- cribl_control_plane/models/inputkinesis.py +16 -42
- cribl_control_plane/models/inputkubeevents.py +6 -13
- cribl_control_plane/models/inputkubelogs.py +10 -18
- cribl_control_plane/models/inputkubemetrics.py +10 -18
- cribl_control_plane/models/inputloki.py +12 -33
- cribl_control_plane/models/inputmetrics.py +10 -25
- cribl_control_plane/models/inputmodeldriventelemetry.py +12 -32
- cribl_control_plane/models/inputmsk.py +18 -52
- cribl_control_plane/models/inputnetflow.py +6 -15
- cribl_control_plane/models/inputoffice365mgmt.py +16 -37
- cribl_control_plane/models/inputoffice365msgtrace.py +18 -39
- cribl_control_plane/models/inputoffice365service.py +18 -39
- cribl_control_plane/models/inputopentelemetry.py +18 -42
- cribl_control_plane/models/inputprometheus.py +20 -54
- cribl_control_plane/models/inputprometheusrw.py +12 -34
- cribl_control_plane/models/inputrawudp.py +6 -15
- cribl_control_plane/models/inputs3.py +10 -23
- cribl_control_plane/models/inputs3inventory.py +12 -28
- cribl_control_plane/models/inputsecuritylake.py +12 -29
- cribl_control_plane/models/inputsnmp.py +8 -20
- cribl_control_plane/models/inputsplunk.py +14 -37
- cribl_control_plane/models/inputsplunkhec.py +12 -33
- cribl_control_plane/models/inputsplunksearch.py +16 -37
- cribl_control_plane/models/inputsqs.py +12 -31
- cribl_control_plane/models/inputsyslog_union.py +29 -53
- cribl_control_plane/models/inputsystemmetrics.py +26 -50
- cribl_control_plane/models/inputsystemstate.py +10 -18
- cribl_control_plane/models/inputtcp.py +12 -33
- cribl_control_plane/models/inputtcpjson.py +12 -33
- cribl_control_plane/models/inputwef.py +20 -45
- cribl_control_plane/models/inputwindowsmetrics.py +26 -46
- cribl_control_plane/models/inputwineventlogs.py +12 -22
- cribl_control_plane/models/inputwiz.py +10 -25
- cribl_control_plane/models/inputzscalerhec.py +12 -33
- cribl_control_plane/models/output.py +3 -6
- cribl_control_plane/models/outputazureblob.py +20 -52
- cribl_control_plane/models/outputazuredataexplorer.py +30 -77
- cribl_control_plane/models/outputazureeventhub.py +20 -44
- cribl_control_plane/models/outputazurelogs.py +14 -37
- cribl_control_plane/models/outputclickhouse.py +22 -59
- cribl_control_plane/models/outputcloudwatch.py +12 -33
- cribl_control_plane/models/outputconfluentcloud.py +32 -75
- cribl_control_plane/models/outputcriblhttp.py +18 -46
- cribl_control_plane/models/outputcribllake.py +18 -48
- cribl_control_plane/models/outputcribltcp.py +20 -47
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +16 -54
- cribl_control_plane/models/outputdatadog.py +22 -50
- cribl_control_plane/models/outputdataset.py +20 -48
- cribl_control_plane/models/outputdefault.py +2 -5
- cribl_control_plane/models/outputdevnull.py +2 -5
- cribl_control_plane/models/outputdiskspool.py +4 -9
- cribl_control_plane/models/outputdls3.py +26 -72
- cribl_control_plane/models/outputdynatracehttp.py +22 -57
- cribl_control_plane/models/outputdynatraceotlp.py +24 -59
- cribl_control_plane/models/outputelastic.py +20 -45
- cribl_control_plane/models/outputelasticcloud.py +14 -40
- cribl_control_plane/models/outputexabeam.py +12 -33
- cribl_control_plane/models/outputfilesystem.py +16 -41
- cribl_control_plane/models/outputgooglechronicle.py +18 -54
- cribl_control_plane/models/outputgooglecloudlogging.py +16 -46
- cribl_control_plane/models/outputgooglecloudstorage.py +26 -71
- cribl_control_plane/models/outputgooglepubsub.py +16 -39
- cribl_control_plane/models/{outputgrafanacloud_union.py → outputgrafanacloud.py} +49 -110
- cribl_control_plane/models/outputgraphite.py +16 -35
- cribl_control_plane/models/outputhoneycomb.py +14 -37
- cribl_control_plane/models/outputhumiohec.py +18 -47
- cribl_control_plane/models/outputinfluxdb.py +18 -44
- cribl_control_plane/models/outputkafka.py +28 -73
- cribl_control_plane/models/outputkinesis.py +18 -44
- cribl_control_plane/models/outputloki.py +18 -43
- cribl_control_plane/models/outputminio.py +26 -69
- cribl_control_plane/models/outputmsk.py +30 -81
- cribl_control_plane/models/outputnetflow.py +2 -5
- cribl_control_plane/models/outputnewrelic.py +20 -45
- cribl_control_plane/models/outputnewrelicevents.py +16 -45
- cribl_control_plane/models/outputopentelemetry.py +28 -69
- cribl_control_plane/models/outputprometheus.py +14 -37
- cribl_control_plane/models/outputring.py +10 -21
- cribl_control_plane/models/outputrouter.py +2 -5
- cribl_control_plane/models/outputs3.py +28 -72
- cribl_control_plane/models/outputsecuritylake.py +20 -56
- cribl_control_plane/models/outputsentinel.py +20 -49
- cribl_control_plane/models/outputsentineloneaisiem.py +20 -54
- cribl_control_plane/models/outputservicenow.py +26 -64
- cribl_control_plane/models/outputsignalfx.py +16 -39
- cribl_control_plane/models/outputsnmp.py +2 -5
- cribl_control_plane/models/outputsns.py +16 -40
- cribl_control_plane/models/outputsplunk.py +26 -64
- cribl_control_plane/models/outputsplunkhec.py +14 -37
- cribl_control_plane/models/outputsplunklb.py +36 -83
- cribl_control_plane/models/outputsqs.py +18 -45
- cribl_control_plane/models/outputstatsd.py +16 -34
- cribl_control_plane/models/outputstatsdext.py +14 -33
- cribl_control_plane/models/outputsumologic.py +14 -37
- cribl_control_plane/models/outputsyslog.py +26 -60
- cribl_control_plane/models/outputtcpjson.py +22 -54
- cribl_control_plane/models/outputwavefront.py +14 -37
- cribl_control_plane/models/outputwebhook.py +24 -60
- cribl_control_plane/models/outputxsiam.py +16 -37
- {cribl_control_plane-0.0.16.dist-info → cribl_control_plane-0.0.17.dist-info}/METADATA +1 -1
- cribl_control_plane-0.0.17.dist-info/RECORD +215 -0
- cribl_control_plane-0.0.16.dist-info/RECORD +0 -215
- {cribl_control_plane-0.0.16.dist-info → cribl_control_plane-0.0.17.dist-info}/WHEEL +0 -0
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
5
|
from enum import Enum
|
|
8
6
|
import pydantic
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
7
|
from typing import List, Optional
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputSqsType(str, Enum
|
|
11
|
+
class InputSqsType(str, Enum):
|
|
15
12
|
SQS = "sqs"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputSqsConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputSqsMode(str, Enum
|
|
26
|
+
class InputSqsMode(str, Enum):
|
|
30
27
|
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
28
|
|
|
32
29
|
SMART = "smart"
|
|
33
30
|
ALWAYS = "always"
|
|
34
31
|
|
|
35
32
|
|
|
36
|
-
class InputSqsCompression(str, Enum
|
|
33
|
+
class InputSqsCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputSqsPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputSqsPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputSqsMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputSqsMode.ALWAYS
|
|
58
|
+
mode: Optional[InputSqsMode] = InputSqsMode.ALWAYS
|
|
64
59
|
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."""
|
|
65
60
|
|
|
66
61
|
max_buffer_size: Annotated[
|
|
@@ -84,20 +79,18 @@ class InputSqsPq(BaseModel):
|
|
|
84
79
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
85
80
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
86
81
|
|
|
87
|
-
compress:
|
|
88
|
-
Optional[InputSqsCompression], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputSqsCompression.NONE
|
|
82
|
+
compress: Optional[InputSqsCompression] = InputSqsCompression.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
93
|
-
class InputSqsQueueType(str, Enum
|
|
86
|
+
class InputSqsQueueType(str, Enum):
|
|
94
87
|
r"""The queue type used (or created)"""
|
|
95
88
|
|
|
96
89
|
STANDARD = "standard"
|
|
97
90
|
FIFO = "fifo"
|
|
98
91
|
|
|
99
92
|
|
|
100
|
-
class InputSqsAuthenticationMethod(str, Enum
|
|
93
|
+
class InputSqsAuthenticationMethod(str, Enum):
|
|
101
94
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
102
95
|
|
|
103
96
|
AUTO = "auto"
|
|
@@ -105,7 +98,7 @@ class InputSqsAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
105
98
|
SECRET = "secret"
|
|
106
99
|
|
|
107
100
|
|
|
108
|
-
class InputSqsSignatureVersion(str, Enum
|
|
101
|
+
class InputSqsSignatureVersion(str, Enum):
|
|
109
102
|
r"""Signature version to use for signing SQS requests"""
|
|
110
103
|
|
|
111
104
|
V2 = "v2"
|
|
@@ -195,9 +188,7 @@ class InputSqs(BaseModel):
|
|
|
195
188
|
id: Optional[str] = None
|
|
196
189
|
r"""Unique ID for this input"""
|
|
197
190
|
|
|
198
|
-
type:
|
|
199
|
-
Optional[InputSqsType], PlainValidator(validate_open_enum(False))
|
|
200
|
-
] = None
|
|
191
|
+
type: Optional[InputSqsType] = None
|
|
201
192
|
|
|
202
193
|
disabled: Optional[bool] = False
|
|
203
194
|
|
|
@@ -224,10 +215,7 @@ class InputSqs(BaseModel):
|
|
|
224
215
|
pq: Optional[InputSqsPq] = None
|
|
225
216
|
|
|
226
217
|
queue_type: Annotated[
|
|
227
|
-
|
|
228
|
-
Optional[InputSqsQueueType], PlainValidator(validate_open_enum(False))
|
|
229
|
-
],
|
|
230
|
-
pydantic.Field(alias="queueType"),
|
|
218
|
+
Optional[InputSqsQueueType], pydantic.Field(alias="queueType")
|
|
231
219
|
] = InputSqsQueueType.STANDARD
|
|
232
220
|
r"""The queue type used (or created)"""
|
|
233
221
|
|
|
@@ -240,10 +228,7 @@ class InputSqs(BaseModel):
|
|
|
240
228
|
r"""Create queue if it does not exist"""
|
|
241
229
|
|
|
242
230
|
aws_authentication_method: Annotated[
|
|
243
|
-
|
|
244
|
-
Optional[InputSqsAuthenticationMethod],
|
|
245
|
-
PlainValidator(validate_open_enum(False)),
|
|
246
|
-
],
|
|
231
|
+
Optional[InputSqsAuthenticationMethod],
|
|
247
232
|
pydantic.Field(alias="awsAuthenticationMethod"),
|
|
248
233
|
] = InputSqsAuthenticationMethod.AUTO
|
|
249
234
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
@@ -259,11 +244,7 @@ class InputSqs(BaseModel):
|
|
|
259
244
|
r"""SQS service endpoint. If empty, defaults to the AWS Region-specific endpoint. Otherwise, it must point to SQS-compatible endpoint."""
|
|
260
245
|
|
|
261
246
|
signature_version: Annotated[
|
|
262
|
-
|
|
263
|
-
Optional[InputSqsSignatureVersion],
|
|
264
|
-
PlainValidator(validate_open_enum(False)),
|
|
265
|
-
],
|
|
266
|
-
pydantic.Field(alias="signatureVersion"),
|
|
247
|
+
Optional[InputSqsSignatureVersion], pydantic.Field(alias="signatureVersion")
|
|
267
248
|
] = InputSqsSignatureVersion.V4
|
|
268
249
|
r"""Signature version to use for signing SQS requests"""
|
|
269
250
|
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
5
|
from enum import Enum
|
|
8
6
|
import pydantic
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
7
|
from typing import Any, List, Optional, Union
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputSyslogType2(str, Enum
|
|
11
|
+
class InputSyslogType2(str, Enum):
|
|
15
12
|
SYSLOG = "syslog"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputSyslogConnection2(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputSyslogMode2(str, Enum
|
|
26
|
+
class InputSyslogMode2(str, Enum):
|
|
30
27
|
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
28
|
|
|
32
29
|
SMART = "smart"
|
|
33
30
|
ALWAYS = "always"
|
|
34
31
|
|
|
35
32
|
|
|
36
|
-
class InputSyslogCompression2(str, Enum
|
|
33
|
+
class InputSyslogCompression2(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputSyslogPq2TypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputSyslogPq2(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputSyslogMode2], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputSyslogMode2.ALWAYS
|
|
58
|
+
mode: Optional[InputSyslogMode2] = InputSyslogMode2.ALWAYS
|
|
64
59
|
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."""
|
|
65
60
|
|
|
66
61
|
max_buffer_size: Annotated[
|
|
@@ -84,20 +79,18 @@ class InputSyslogPq2(BaseModel):
|
|
|
84
79
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
85
80
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
86
81
|
|
|
87
|
-
compress:
|
|
88
|
-
Optional[InputSyslogCompression2], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputSyslogCompression2.NONE
|
|
82
|
+
compress: Optional[InputSyslogCompression2] = InputSyslogCompression2.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
93
|
-
class InputSyslogMinimumTLSVersion2(str, Enum
|
|
86
|
+
class InputSyslogMinimumTLSVersion2(str, Enum):
|
|
94
87
|
TL_SV1 = "TLSv1"
|
|
95
88
|
TL_SV1_1 = "TLSv1.1"
|
|
96
89
|
TL_SV1_2 = "TLSv1.2"
|
|
97
90
|
TL_SV1_3 = "TLSv1.3"
|
|
98
91
|
|
|
99
92
|
|
|
100
|
-
class InputSyslogMaximumTLSVersion2(str, Enum
|
|
93
|
+
class InputSyslogMaximumTLSVersion2(str, Enum):
|
|
101
94
|
TL_SV1 = "TLSv1"
|
|
102
95
|
TL_SV1_1 = "TLSv1.1"
|
|
103
96
|
TL_SV1_2 = "TLSv1.2"
|
|
@@ -156,19 +149,11 @@ class InputSyslogTLSSettingsServerSide2(BaseModel):
|
|
|
156
149
|
] = None
|
|
157
150
|
|
|
158
151
|
min_version: Annotated[
|
|
159
|
-
|
|
160
|
-
Optional[InputSyslogMinimumTLSVersion2],
|
|
161
|
-
PlainValidator(validate_open_enum(False)),
|
|
162
|
-
],
|
|
163
|
-
pydantic.Field(alias="minVersion"),
|
|
152
|
+
Optional[InputSyslogMinimumTLSVersion2], pydantic.Field(alias="minVersion")
|
|
164
153
|
] = None
|
|
165
154
|
|
|
166
155
|
max_version: Annotated[
|
|
167
|
-
|
|
168
|
-
Optional[InputSyslogMaximumTLSVersion2],
|
|
169
|
-
PlainValidator(validate_open_enum(False)),
|
|
170
|
-
],
|
|
171
|
-
pydantic.Field(alias="maxVersion"),
|
|
156
|
+
Optional[InputSyslogMaximumTLSVersion2], pydantic.Field(alias="maxVersion")
|
|
172
157
|
] = None
|
|
173
158
|
|
|
174
159
|
|
|
@@ -185,7 +170,7 @@ class InputSyslogMetadatum2(BaseModel):
|
|
|
185
170
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
186
171
|
|
|
187
172
|
|
|
188
|
-
class
|
|
173
|
+
class InputSyslogSyslog2TypedDict(TypedDict):
|
|
189
174
|
type: InputSyslogType2
|
|
190
175
|
tcp_port: float
|
|
191
176
|
r"""Enter TCP port number to listen on. Not required if listening on UDP."""
|
|
@@ -249,8 +234,8 @@ class InputSyslog2TypedDict(TypedDict):
|
|
|
249
234
|
r"""When enabled, parses PROXY protocol headers during the TLS handshake. Disable if compatibility issues arise."""
|
|
250
235
|
|
|
251
236
|
|
|
252
|
-
class
|
|
253
|
-
type:
|
|
237
|
+
class InputSyslogSyslog2(BaseModel):
|
|
238
|
+
type: InputSyslogType2
|
|
254
239
|
|
|
255
240
|
tcp_port: Annotated[float, pydantic.Field(alias="tcpPort")]
|
|
256
241
|
r"""Enter TCP port number to listen on. Not required if listening on UDP."""
|
|
@@ -381,7 +366,7 @@ class InputSyslog2(BaseModel):
|
|
|
381
366
|
r"""When enabled, parses PROXY protocol headers during the TLS handshake. Disable if compatibility issues arise."""
|
|
382
367
|
|
|
383
368
|
|
|
384
|
-
class InputSyslogType1(str, Enum
|
|
369
|
+
class InputSyslogType1(str, Enum):
|
|
385
370
|
SYSLOG = "syslog"
|
|
386
371
|
|
|
387
372
|
|
|
@@ -396,14 +381,14 @@ class InputSyslogConnection1(BaseModel):
|
|
|
396
381
|
pipeline: Optional[str] = None
|
|
397
382
|
|
|
398
383
|
|
|
399
|
-
class InputSyslogMode1(str, Enum
|
|
384
|
+
class InputSyslogMode1(str, Enum):
|
|
400
385
|
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."""
|
|
401
386
|
|
|
402
387
|
SMART = "smart"
|
|
403
388
|
ALWAYS = "always"
|
|
404
389
|
|
|
405
390
|
|
|
406
|
-
class InputSyslogCompression1(str, Enum
|
|
391
|
+
class InputSyslogCompression1(str, Enum):
|
|
407
392
|
r"""Codec to use to compress the persisted data"""
|
|
408
393
|
|
|
409
394
|
NONE = "none"
|
|
@@ -428,9 +413,7 @@ class InputSyslogPq1TypedDict(TypedDict):
|
|
|
428
413
|
|
|
429
414
|
|
|
430
415
|
class InputSyslogPq1(BaseModel):
|
|
431
|
-
mode:
|
|
432
|
-
Optional[InputSyslogMode1], PlainValidator(validate_open_enum(False))
|
|
433
|
-
] = InputSyslogMode1.ALWAYS
|
|
416
|
+
mode: Optional[InputSyslogMode1] = InputSyslogMode1.ALWAYS
|
|
434
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."""
|
|
435
418
|
|
|
436
419
|
max_buffer_size: Annotated[
|
|
@@ -454,20 +437,18 @@ class InputSyslogPq1(BaseModel):
|
|
|
454
437
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
455
438
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
456
439
|
|
|
457
|
-
compress:
|
|
458
|
-
Optional[InputSyslogCompression1], PlainValidator(validate_open_enum(False))
|
|
459
|
-
] = InputSyslogCompression1.NONE
|
|
440
|
+
compress: Optional[InputSyslogCompression1] = InputSyslogCompression1.NONE
|
|
460
441
|
r"""Codec to use to compress the persisted data"""
|
|
461
442
|
|
|
462
443
|
|
|
463
|
-
class InputSyslogMinimumTLSVersion1(str, Enum
|
|
444
|
+
class InputSyslogMinimumTLSVersion1(str, Enum):
|
|
464
445
|
TL_SV1 = "TLSv1"
|
|
465
446
|
TL_SV1_1 = "TLSv1.1"
|
|
466
447
|
TL_SV1_2 = "TLSv1.2"
|
|
467
448
|
TL_SV1_3 = "TLSv1.3"
|
|
468
449
|
|
|
469
450
|
|
|
470
|
-
class InputSyslogMaximumTLSVersion1(str, Enum
|
|
451
|
+
class InputSyslogMaximumTLSVersion1(str, Enum):
|
|
471
452
|
TL_SV1 = "TLSv1"
|
|
472
453
|
TL_SV1_1 = "TLSv1.1"
|
|
473
454
|
TL_SV1_2 = "TLSv1.2"
|
|
@@ -526,19 +507,11 @@ class InputSyslogTLSSettingsServerSide1(BaseModel):
|
|
|
526
507
|
] = None
|
|
527
508
|
|
|
528
509
|
min_version: Annotated[
|
|
529
|
-
|
|
530
|
-
Optional[InputSyslogMinimumTLSVersion1],
|
|
531
|
-
PlainValidator(validate_open_enum(False)),
|
|
532
|
-
],
|
|
533
|
-
pydantic.Field(alias="minVersion"),
|
|
510
|
+
Optional[InputSyslogMinimumTLSVersion1], pydantic.Field(alias="minVersion")
|
|
534
511
|
] = None
|
|
535
512
|
|
|
536
513
|
max_version: Annotated[
|
|
537
|
-
|
|
538
|
-
Optional[InputSyslogMaximumTLSVersion1],
|
|
539
|
-
PlainValidator(validate_open_enum(False)),
|
|
540
|
-
],
|
|
541
|
-
pydantic.Field(alias="maxVersion"),
|
|
514
|
+
Optional[InputSyslogMaximumTLSVersion1], pydantic.Field(alias="maxVersion")
|
|
542
515
|
] = None
|
|
543
516
|
|
|
544
517
|
|
|
@@ -555,7 +528,7 @@ class InputSyslogMetadatum1(BaseModel):
|
|
|
555
528
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
556
529
|
|
|
557
530
|
|
|
558
|
-
class
|
|
531
|
+
class InputSyslogSyslog1TypedDict(TypedDict):
|
|
559
532
|
type: InputSyslogType1
|
|
560
533
|
udp_port: float
|
|
561
534
|
r"""Enter UDP port number to listen on. Not required if listening on TCP."""
|
|
@@ -619,8 +592,8 @@ class InputSyslog1TypedDict(TypedDict):
|
|
|
619
592
|
r"""When enabled, parses PROXY protocol headers during the TLS handshake. Disable if compatibility issues arise."""
|
|
620
593
|
|
|
621
594
|
|
|
622
|
-
class
|
|
623
|
-
type:
|
|
595
|
+
class InputSyslogSyslog1(BaseModel):
|
|
596
|
+
type: InputSyslogType1
|
|
624
597
|
|
|
625
598
|
udp_port: Annotated[float, pydantic.Field(alias="udpPort")]
|
|
626
599
|
r"""Enter UDP port number to listen on. Not required if listening on TCP."""
|
|
@@ -752,8 +725,11 @@ class InputSyslog1(BaseModel):
|
|
|
752
725
|
|
|
753
726
|
|
|
754
727
|
InputSyslogUnionTypedDict = TypeAliasType(
|
|
755
|
-
"InputSyslogUnionTypedDict",
|
|
728
|
+
"InputSyslogUnionTypedDict",
|
|
729
|
+
Union[InputSyslogSyslog1TypedDict, InputSyslogSyslog2TypedDict],
|
|
756
730
|
)
|
|
757
731
|
|
|
758
732
|
|
|
759
|
-
InputSyslogUnion = TypeAliasType(
|
|
733
|
+
InputSyslogUnion = TypeAliasType(
|
|
734
|
+
"InputSyslogUnion", Union[InputSyslogSyslog1, InputSyslogSyslog2]
|
|
735
|
+
)
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
5
|
from enum import Enum
|
|
8
6
|
import pydantic
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
7
|
from typing import List, Optional
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputSystemMetricsType(str, Enum
|
|
11
|
+
class InputSystemMetricsType(str, Enum):
|
|
15
12
|
SYSTEM_METRICS = "system_metrics"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputSystemMetricsConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputSystemMetricsPqMode(str, Enum
|
|
26
|
+
class InputSystemMetricsPqMode(str, Enum):
|
|
30
27
|
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
28
|
|
|
32
29
|
SMART = "smart"
|
|
33
30
|
ALWAYS = "always"
|
|
34
31
|
|
|
35
32
|
|
|
36
|
-
class InputSystemMetricsCompression(str, Enum
|
|
33
|
+
class InputSystemMetricsCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputSystemMetricsPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputSystemMetricsPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputSystemMetricsPqMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputSystemMetricsPqMode.ALWAYS
|
|
58
|
+
mode: Optional[InputSystemMetricsPqMode] = InputSystemMetricsPqMode.ALWAYS
|
|
64
59
|
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."""
|
|
65
60
|
|
|
66
61
|
max_buffer_size: Annotated[
|
|
@@ -84,14 +79,13 @@ class InputSystemMetricsPq(BaseModel):
|
|
|
84
79
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
85
80
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
86
81
|
|
|
87
|
-
compress:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
] = InputSystemMetricsCompression.NONE
|
|
82
|
+
compress: Optional[InputSystemMetricsCompression] = (
|
|
83
|
+
InputSystemMetricsCompression.NONE
|
|
84
|
+
)
|
|
91
85
|
r"""Codec to use to compress the persisted data"""
|
|
92
86
|
|
|
93
87
|
|
|
94
|
-
class InputSystemMetricsHostMode(str, Enum
|
|
88
|
+
class InputSystemMetricsHostMode(str, Enum):
|
|
95
89
|
r"""Select level of detail for host metrics"""
|
|
96
90
|
|
|
97
91
|
BASIC = "basic"
|
|
@@ -100,7 +94,7 @@ class InputSystemMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
100
94
|
DISABLED = "disabled"
|
|
101
95
|
|
|
102
96
|
|
|
103
|
-
class InputSystemMetricsSystemMode(str, Enum
|
|
97
|
+
class InputSystemMetricsSystemMode(str, Enum):
|
|
104
98
|
r"""Select the level of detail for system metrics"""
|
|
105
99
|
|
|
106
100
|
BASIC = "basic"
|
|
@@ -117,17 +111,14 @@ class InputSystemMetricsSystemTypedDict(TypedDict):
|
|
|
117
111
|
|
|
118
112
|
|
|
119
113
|
class InputSystemMetricsSystem(BaseModel):
|
|
120
|
-
mode:
|
|
121
|
-
Optional[InputSystemMetricsSystemMode],
|
|
122
|
-
PlainValidator(validate_open_enum(False)),
|
|
123
|
-
] = InputSystemMetricsSystemMode.BASIC
|
|
114
|
+
mode: Optional[InputSystemMetricsSystemMode] = InputSystemMetricsSystemMode.BASIC
|
|
124
115
|
r"""Select the level of detail for system metrics"""
|
|
125
116
|
|
|
126
117
|
processes: Optional[bool] = False
|
|
127
118
|
r"""Generate metrics for the numbers of processes in various states"""
|
|
128
119
|
|
|
129
120
|
|
|
130
|
-
class InputSystemMetricsCPUMode(str, Enum
|
|
121
|
+
class InputSystemMetricsCPUMode(str, Enum):
|
|
131
122
|
r"""Select the level of detail for CPU metrics"""
|
|
132
123
|
|
|
133
124
|
BASIC = "basic"
|
|
@@ -148,9 +139,7 @@ class InputSystemMetricsCPUTypedDict(TypedDict):
|
|
|
148
139
|
|
|
149
140
|
|
|
150
141
|
class InputSystemMetricsCPU(BaseModel):
|
|
151
|
-
mode:
|
|
152
|
-
Optional[InputSystemMetricsCPUMode], PlainValidator(validate_open_enum(False))
|
|
153
|
-
] = InputSystemMetricsCPUMode.BASIC
|
|
142
|
+
mode: Optional[InputSystemMetricsCPUMode] = InputSystemMetricsCPUMode.BASIC
|
|
154
143
|
r"""Select the level of detail for CPU metrics"""
|
|
155
144
|
|
|
156
145
|
per_cpu: Annotated[Optional[bool], pydantic.Field(alias="perCpu")] = False
|
|
@@ -163,7 +152,7 @@ class InputSystemMetricsCPU(BaseModel):
|
|
|
163
152
|
r"""Generate raw, monotonic CPU time counters"""
|
|
164
153
|
|
|
165
154
|
|
|
166
|
-
class InputSystemMetricsMemoryMode(str, Enum
|
|
155
|
+
class InputSystemMetricsMemoryMode(str, Enum):
|
|
167
156
|
r"""Select the level of detail for memory metrics"""
|
|
168
157
|
|
|
169
158
|
BASIC = "basic"
|
|
@@ -180,17 +169,14 @@ class InputSystemMetricsMemoryTypedDict(TypedDict):
|
|
|
180
169
|
|
|
181
170
|
|
|
182
171
|
class InputSystemMetricsMemory(BaseModel):
|
|
183
|
-
mode:
|
|
184
|
-
Optional[InputSystemMetricsMemoryMode],
|
|
185
|
-
PlainValidator(validate_open_enum(False)),
|
|
186
|
-
] = InputSystemMetricsMemoryMode.BASIC
|
|
172
|
+
mode: Optional[InputSystemMetricsMemoryMode] = InputSystemMetricsMemoryMode.BASIC
|
|
187
173
|
r"""Select the level of detail for memory metrics"""
|
|
188
174
|
|
|
189
175
|
detail: Optional[bool] = False
|
|
190
176
|
r"""Generate metrics for all memory states"""
|
|
191
177
|
|
|
192
178
|
|
|
193
|
-
class InputSystemMetricsNetworkMode(str, Enum
|
|
179
|
+
class InputSystemMetricsNetworkMode(str, Enum):
|
|
194
180
|
r"""Select the level of detail for network metrics"""
|
|
195
181
|
|
|
196
182
|
BASIC = "basic"
|
|
@@ -211,10 +197,7 @@ class InputSystemMetricsNetworkTypedDict(TypedDict):
|
|
|
211
197
|
|
|
212
198
|
|
|
213
199
|
class InputSystemMetricsNetwork(BaseModel):
|
|
214
|
-
mode:
|
|
215
|
-
Optional[InputSystemMetricsNetworkMode],
|
|
216
|
-
PlainValidator(validate_open_enum(False)),
|
|
217
|
-
] = InputSystemMetricsNetworkMode.BASIC
|
|
200
|
+
mode: Optional[InputSystemMetricsNetworkMode] = InputSystemMetricsNetworkMode.BASIC
|
|
218
201
|
r"""Select the level of detail for network metrics"""
|
|
219
202
|
|
|
220
203
|
devices: Optional[List[str]] = None
|
|
@@ -229,7 +212,7 @@ class InputSystemMetricsNetwork(BaseModel):
|
|
|
229
212
|
r"""Generate full network metrics"""
|
|
230
213
|
|
|
231
214
|
|
|
232
|
-
class InputSystemMetricsDiskMode(str, Enum
|
|
215
|
+
class InputSystemMetricsDiskMode(str, Enum):
|
|
233
216
|
r"""Select the level of detail for disk metrics"""
|
|
234
217
|
|
|
235
218
|
BASIC = "basic"
|
|
@@ -254,9 +237,7 @@ class InputSystemMetricsDiskTypedDict(TypedDict):
|
|
|
254
237
|
|
|
255
238
|
|
|
256
239
|
class InputSystemMetricsDisk(BaseModel):
|
|
257
|
-
mode:
|
|
258
|
-
Optional[InputSystemMetricsDiskMode], PlainValidator(validate_open_enum(False))
|
|
259
|
-
] = InputSystemMetricsDiskMode.BASIC
|
|
240
|
+
mode: Optional[InputSystemMetricsDiskMode] = InputSystemMetricsDiskMode.BASIC
|
|
260
241
|
r"""Select the level of detail for disk metrics"""
|
|
261
242
|
|
|
262
243
|
devices: Optional[List[str]] = None
|
|
@@ -302,9 +283,7 @@ class InputSystemMetricsHostTypedDict(TypedDict):
|
|
|
302
283
|
|
|
303
284
|
|
|
304
285
|
class InputSystemMetricsHost(BaseModel):
|
|
305
|
-
mode:
|
|
306
|
-
Optional[InputSystemMetricsHostMode], PlainValidator(validate_open_enum(False))
|
|
307
|
-
] = InputSystemMetricsHostMode.BASIC
|
|
286
|
+
mode: Optional[InputSystemMetricsHostMode] = InputSystemMetricsHostMode.BASIC
|
|
308
287
|
r"""Select level of detail for host metrics"""
|
|
309
288
|
|
|
310
289
|
custom: Optional[InputSystemMetricsCustom] = None
|
|
@@ -336,7 +315,7 @@ class InputSystemMetricsProcess(BaseModel):
|
|
|
336
315
|
r"""Configure sets to collect process metrics"""
|
|
337
316
|
|
|
338
317
|
|
|
339
|
-
class ContainerMode(str, Enum
|
|
318
|
+
class ContainerMode(str, Enum):
|
|
340
319
|
r"""Select the level of detail for container metrics"""
|
|
341
320
|
|
|
342
321
|
BASIC = "basic"
|
|
@@ -371,9 +350,7 @@ class ContainerTypedDict(TypedDict):
|
|
|
371
350
|
|
|
372
351
|
|
|
373
352
|
class Container(BaseModel):
|
|
374
|
-
mode:
|
|
375
|
-
Optional[ContainerMode], PlainValidator(validate_open_enum(False))
|
|
376
|
-
] = ContainerMode.BASIC
|
|
353
|
+
mode: Optional[ContainerMode] = ContainerMode.BASIC
|
|
377
354
|
r"""Select the level of detail for container metrics"""
|
|
378
355
|
|
|
379
356
|
docker_socket: Annotated[
|
|
@@ -414,7 +391,7 @@ class InputSystemMetricsMetadatum(BaseModel):
|
|
|
414
391
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
415
392
|
|
|
416
393
|
|
|
417
|
-
class InputSystemMetricsDataCompressionFormat(str, Enum
|
|
394
|
+
class InputSystemMetricsDataCompressionFormat(str, Enum):
|
|
418
395
|
NONE = "none"
|
|
419
396
|
GZIP = "gzip"
|
|
420
397
|
|
|
@@ -446,10 +423,9 @@ class InputSystemMetricsPersistence(BaseModel):
|
|
|
446
423
|
max_data_time: Annotated[Optional[str], pydantic.Field(alias="maxDataTime")] = "24h"
|
|
447
424
|
r"""Maximum amount of time to retain data (examples: 2h, 4d). When limit is reached, older data will be deleted."""
|
|
448
425
|
|
|
449
|
-
compress:
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
] = InputSystemMetricsDataCompressionFormat.GZIP
|
|
426
|
+
compress: Optional[InputSystemMetricsDataCompressionFormat] = (
|
|
427
|
+
InputSystemMetricsDataCompressionFormat.GZIP
|
|
428
|
+
)
|
|
453
429
|
|
|
454
430
|
dest_path: Annotated[Optional[str], pydantic.Field(alias="destPath")] = (
|
|
455
431
|
"$CRIBL_HOME/state/system_metrics"
|
|
@@ -490,7 +466,7 @@ class InputSystemMetrics(BaseModel):
|
|
|
490
466
|
id: str
|
|
491
467
|
r"""Unique ID for this input"""
|
|
492
468
|
|
|
493
|
-
type:
|
|
469
|
+
type: InputSystemMetricsType
|
|
494
470
|
|
|
495
471
|
disabled: Optional[bool] = False
|
|
496
472
|
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
5
|
from enum import Enum
|
|
8
6
|
import pydantic
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
7
|
from typing import List, Optional
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputSystemStateType(str, Enum
|
|
11
|
+
class InputSystemStateType(str, Enum):
|
|
15
12
|
SYSTEM_STATE = "system_state"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputSystemStateConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputSystemStateMode(str, Enum
|
|
26
|
+
class InputSystemStateMode(str, Enum):
|
|
30
27
|
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
28
|
|
|
32
29
|
SMART = "smart"
|
|
33
30
|
ALWAYS = "always"
|
|
34
31
|
|
|
35
32
|
|
|
36
|
-
class InputSystemStateCompression(str, Enum
|
|
33
|
+
class InputSystemStateCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputSystemStatePqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputSystemStatePq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputSystemStateMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputSystemStateMode.ALWAYS
|
|
58
|
+
mode: Optional[InputSystemStateMode] = InputSystemStateMode.ALWAYS
|
|
64
59
|
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."""
|
|
65
60
|
|
|
66
61
|
max_buffer_size: Annotated[
|
|
@@ -84,9 +79,7 @@ class InputSystemStatePq(BaseModel):
|
|
|
84
79
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
85
80
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
86
81
|
|
|
87
|
-
compress:
|
|
88
|
-
Optional[InputSystemStateCompression], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputSystemStateCompression.NONE
|
|
82
|
+
compress: Optional[InputSystemStateCompression] = InputSystemStateCompression.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
@@ -297,7 +290,7 @@ class Collectors(BaseModel):
|
|
|
297
290
|
r"""Creates events from list of logged-in users"""
|
|
298
291
|
|
|
299
292
|
|
|
300
|
-
class InputSystemStateDataCompressionFormat(str, Enum
|
|
293
|
+
class InputSystemStateDataCompressionFormat(str, Enum):
|
|
301
294
|
NONE = "none"
|
|
302
295
|
GZIP = "gzip"
|
|
303
296
|
|
|
@@ -329,10 +322,9 @@ class InputSystemStatePersistence(BaseModel):
|
|
|
329
322
|
max_data_time: Annotated[Optional[str], pydantic.Field(alias="maxDataTime")] = "24h"
|
|
330
323
|
r"""Maximum amount of time to retain data (examples: 2h, 4d). When limit is reached, older data will be deleted."""
|
|
331
324
|
|
|
332
|
-
compress:
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
] = InputSystemStateDataCompressionFormat.NONE
|
|
325
|
+
compress: Optional[InputSystemStateDataCompressionFormat] = (
|
|
326
|
+
InputSystemStateDataCompressionFormat.NONE
|
|
327
|
+
)
|
|
336
328
|
|
|
337
329
|
dest_path: Annotated[Optional[str], pydantic.Field(alias="destPath")] = (
|
|
338
330
|
"$CRIBL_HOME/state/system_state"
|
|
@@ -373,7 +365,7 @@ class InputSystemState(BaseModel):
|
|
|
373
365
|
id: str
|
|
374
366
|
r"""Unique ID for this input"""
|
|
375
367
|
|
|
376
|
-
type:
|
|
368
|
+
type: InputSystemStateType
|
|
377
369
|
|
|
378
370
|
disabled: Optional[bool] = False
|
|
379
371
|
|