cribl-control-plane 0.0.15__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/{outputs.py → destinations.py} +69 -71
- cribl_control_plane/errors/healthstatus_error.py +2 -8
- cribl_control_plane/models/__init__.py +5347 -115
- cribl_control_plane/models/createinputop.py +18216 -2
- cribl_control_plane/models/createoutputop.py +18417 -4
- cribl_control_plane/models/createoutputtestbyidop.py +2 -2
- cribl_control_plane/models/deleteoutputbyidop.py +2 -2
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/getoutputbyidop.py +2 -2
- cribl_control_plane/models/getoutputpqbyidop.py +2 -2
- cribl_control_plane/models/getoutputsamplesbyidop.py +2 -2
- 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 +22 -45
- cribl_control_plane/models/inputcribl.py +6 -13
- cribl_control_plane/models/inputcriblhttp.py +12 -27
- cribl_control_plane/models/inputcribllakehttp.py +14 -26
- cribl_control_plane/models/inputcriblmetrics.py +6 -14
- cribl_control_plane/models/inputcribltcp.py +12 -27
- cribl_control_plane/models/inputcrowdstrike.py +12 -28
- cribl_control_plane/models/inputdatadogagent.py +12 -28
- cribl_control_plane/models/inputdatagen.py +6 -13
- cribl_control_plane/models/inputedgeprometheus.py +33 -64
- cribl_control_plane/models/inputelastic.py +18 -44
- cribl_control_plane/models/inputeventhub.py +10 -19
- cribl_control_plane/models/inputexec.py +8 -16
- cribl_control_plane/models/inputfile.py +8 -17
- cribl_control_plane/models/inputfirehose.py +12 -27
- cribl_control_plane/models/inputgooglepubsub.py +10 -23
- cribl_control_plane/models/inputgrafana_union.py +39 -81
- cribl_control_plane/models/inputhttp.py +12 -27
- cribl_control_plane/models/inputhttpraw.py +12 -27
- cribl_control_plane/models/inputjournalfiles.py +8 -16
- cribl_control_plane/models/inputkafka.py +18 -45
- cribl_control_plane/models/inputkinesis.py +18 -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 +14 -33
- cribl_control_plane/models/inputmetrics.py +10 -25
- cribl_control_plane/models/inputmodeldriventelemetry.py +14 -33
- cribl_control_plane/models/inputmsk.py +20 -52
- cribl_control_plane/models/inputnetflow.py +8 -15
- cribl_control_plane/models/inputoffice365mgmt.py +18 -37
- cribl_control_plane/models/inputoffice365msgtrace.py +20 -41
- cribl_control_plane/models/inputoffice365service.py +20 -41
- cribl_control_plane/models/inputopentelemetry.py +20 -42
- cribl_control_plane/models/inputprometheus.py +22 -54
- cribl_control_plane/models/inputprometheusrw.py +14 -34
- cribl_control_plane/models/inputrawudp.py +8 -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 +10 -20
- cribl_control_plane/models/inputsplunk.py +16 -37
- cribl_control_plane/models/inputsplunkhec.py +14 -33
- cribl_control_plane/models/inputsplunksearch.py +18 -37
- cribl_control_plane/models/inputsqs.py +14 -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 +14 -33
- cribl_control_plane/models/inputtcpjson.py +14 -33
- cribl_control_plane/models/inputwef.py +22 -45
- cribl_control_plane/models/inputwindowsmetrics.py +26 -46
- cribl_control_plane/models/inputwineventlogs.py +12 -22
- cribl_control_plane/models/inputwiz.py +12 -25
- cribl_control_plane/models/inputzscalerhec.py +14 -33
- cribl_control_plane/models/listoutputop.py +2 -2
- 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/models/updateoutputbyidop.py +4 -4
- cribl_control_plane/sdk.py +3 -5
- cribl_control_plane/sources.py +8 -10
- {cribl_control_plane-0.0.15.dist-info → cribl_control_plane-0.0.17.dist-info}/METADATA +13 -13
- cribl_control_plane-0.0.17.dist-info/RECORD +215 -0
- cribl_control_plane-0.0.15.dist-info/RECORD +0 -215
- {cribl_control_plane-0.0.15.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 InputCriblType(str, Enum
|
|
11
|
+
class InputCriblType(str, Enum):
|
|
15
12
|
CRIBL = "cribl"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputCriblConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputCriblMode(str, Enum
|
|
26
|
+
class InputCriblMode(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 InputCriblCompression(str, Enum
|
|
33
|
+
class InputCriblCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputCriblPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputCriblPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputCriblMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputCriblMode.ALWAYS
|
|
58
|
+
mode: Optional[InputCriblMode] = InputCriblMode.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 InputCriblPq(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[InputCriblCompression], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputCriblCompression.NONE
|
|
82
|
+
compress: Optional[InputCriblCompression] = InputCriblCompression.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
@@ -131,7 +124,7 @@ class InputCribl(BaseModel):
|
|
|
131
124
|
id: str
|
|
132
125
|
r"""Unique ID for this input"""
|
|
133
126
|
|
|
134
|
-
type:
|
|
127
|
+
type: InputCriblType
|
|
135
128
|
|
|
136
129
|
disabled: Optional[bool] = False
|
|
137
130
|
|
|
@@ -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
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputCriblHTTPType(str, Enum
|
|
11
|
+
class InputCriblHTTPType(str, Enum):
|
|
15
12
|
CRIBL_HTTP = "cribl_http"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputCriblHTTPConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputCriblHTTPMode(str, Enum
|
|
26
|
+
class InputCriblHTTPMode(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 InputCriblHTTPCompression(str, Enum
|
|
33
|
+
class InputCriblHTTPCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputCriblHTTPPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputCriblHTTPPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputCriblHTTPMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputCriblHTTPMode.ALWAYS
|
|
58
|
+
mode: Optional[InputCriblHTTPMode] = InputCriblHTTPMode.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 InputCriblHTTPPq(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[InputCriblHTTPCompression], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputCriblHTTPCompression.NONE
|
|
82
|
+
compress: Optional[InputCriblHTTPCompression] = InputCriblHTTPCompression.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
93
|
-
class InputCriblHTTPMinimumTLSVersion(str, Enum
|
|
86
|
+
class InputCriblHTTPMinimumTLSVersion(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 InputCriblHTTPMaximumTLSVersion(str, Enum
|
|
93
|
+
class InputCriblHTTPMaximumTLSVersion(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 InputCriblHTTPTLSSettingsServerSide(BaseModel):
|
|
|
156
149
|
] = None
|
|
157
150
|
|
|
158
151
|
min_version: Annotated[
|
|
159
|
-
|
|
160
|
-
Optional[InputCriblHTTPMinimumTLSVersion],
|
|
161
|
-
PlainValidator(validate_open_enum(False)),
|
|
162
|
-
],
|
|
163
|
-
pydantic.Field(alias="minVersion"),
|
|
152
|
+
Optional[InputCriblHTTPMinimumTLSVersion], pydantic.Field(alias="minVersion")
|
|
164
153
|
] = None
|
|
165
154
|
|
|
166
155
|
max_version: Annotated[
|
|
167
|
-
|
|
168
|
-
Optional[InputCriblHTTPMaximumTLSVersion],
|
|
169
|
-
PlainValidator(validate_open_enum(False)),
|
|
170
|
-
],
|
|
171
|
-
pydantic.Field(alias="maxVersion"),
|
|
156
|
+
Optional[InputCriblHTTPMaximumTLSVersion], pydantic.Field(alias="maxVersion")
|
|
172
157
|
] = None
|
|
173
158
|
|
|
174
159
|
|
|
@@ -186,11 +171,11 @@ class InputCriblHTTPMetadatum(BaseModel):
|
|
|
186
171
|
|
|
187
172
|
|
|
188
173
|
class InputCriblHTTPTypedDict(TypedDict):
|
|
189
|
-
type: InputCriblHTTPType
|
|
190
174
|
port: float
|
|
191
175
|
r"""Port to listen on"""
|
|
192
176
|
id: NotRequired[str]
|
|
193
177
|
r"""Unique ID for this input"""
|
|
178
|
+
type: NotRequired[InputCriblHTTPType]
|
|
194
179
|
disabled: NotRequired[bool]
|
|
195
180
|
pipeline: NotRequired[str]
|
|
196
181
|
r"""Pipeline to process data from this Source before sending it through the Routes"""
|
|
@@ -238,14 +223,14 @@ class InputCriblHTTPTypedDict(TypedDict):
|
|
|
238
223
|
|
|
239
224
|
|
|
240
225
|
class InputCriblHTTP(BaseModel):
|
|
241
|
-
type: Annotated[InputCriblHTTPType, PlainValidator(validate_open_enum(False))]
|
|
242
|
-
|
|
243
226
|
port: float
|
|
244
227
|
r"""Port to listen on"""
|
|
245
228
|
|
|
246
229
|
id: Optional[str] = None
|
|
247
230
|
r"""Unique ID for this input"""
|
|
248
231
|
|
|
232
|
+
type: Optional[InputCriblHTTPType] = None
|
|
233
|
+
|
|
249
234
|
disabled: Optional[bool] = False
|
|
250
235
|
|
|
251
236
|
pipeline: Optional[str] = None
|
|
@@ -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
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputCriblLakeHTTPType(str, Enum
|
|
11
|
+
class InputCriblLakeHTTPType(str, Enum):
|
|
15
12
|
CRIBL_LAKE_HTTP = "cribl_lake_http"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputCriblLakeHTTPConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputCriblLakeHTTPMode(str, Enum
|
|
26
|
+
class InputCriblLakeHTTPMode(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 InputCriblLakeHTTPCompression(str, Enum
|
|
33
|
+
class InputCriblLakeHTTPCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputCriblLakeHTTPPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputCriblLakeHTTPPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputCriblLakeHTTPMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputCriblLakeHTTPMode.ALWAYS
|
|
58
|
+
mode: Optional[InputCriblLakeHTTPMode] = InputCriblLakeHTTPMode.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,21 +79,20 @@ class InputCriblLakeHTTPPq(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
|
-
] = InputCriblLakeHTTPCompression.NONE
|
|
82
|
+
compress: Optional[InputCriblLakeHTTPCompression] = (
|
|
83
|
+
InputCriblLakeHTTPCompression.NONE
|
|
84
|
+
)
|
|
91
85
|
r"""Codec to use to compress the persisted data"""
|
|
92
86
|
|
|
93
87
|
|
|
94
|
-
class InputCriblLakeHTTPMinimumTLSVersion(str, Enum
|
|
88
|
+
class InputCriblLakeHTTPMinimumTLSVersion(str, Enum):
|
|
95
89
|
TL_SV1 = "TLSv1"
|
|
96
90
|
TL_SV1_1 = "TLSv1.1"
|
|
97
91
|
TL_SV1_2 = "TLSv1.2"
|
|
98
92
|
TL_SV1_3 = "TLSv1.3"
|
|
99
93
|
|
|
100
94
|
|
|
101
|
-
class InputCriblLakeHTTPMaximumTLSVersion(str, Enum
|
|
95
|
+
class InputCriblLakeHTTPMaximumTLSVersion(str, Enum):
|
|
102
96
|
TL_SV1 = "TLSv1"
|
|
103
97
|
TL_SV1_1 = "TLSv1.1"
|
|
104
98
|
TL_SV1_2 = "TLSv1.2"
|
|
@@ -157,18 +151,12 @@ class InputCriblLakeHTTPTLSSettingsServerSide(BaseModel):
|
|
|
157
151
|
] = None
|
|
158
152
|
|
|
159
153
|
min_version: Annotated[
|
|
160
|
-
|
|
161
|
-
Optional[InputCriblLakeHTTPMinimumTLSVersion],
|
|
162
|
-
PlainValidator(validate_open_enum(False)),
|
|
163
|
-
],
|
|
154
|
+
Optional[InputCriblLakeHTTPMinimumTLSVersion],
|
|
164
155
|
pydantic.Field(alias="minVersion"),
|
|
165
156
|
] = None
|
|
166
157
|
|
|
167
158
|
max_version: Annotated[
|
|
168
|
-
|
|
169
|
-
Optional[InputCriblLakeHTTPMaximumTLSVersion],
|
|
170
|
-
PlainValidator(validate_open_enum(False)),
|
|
171
|
-
],
|
|
159
|
+
Optional[InputCriblLakeHTTPMaximumTLSVersion],
|
|
172
160
|
pydantic.Field(alias="maxVersion"),
|
|
173
161
|
] = None
|
|
174
162
|
|
|
@@ -187,11 +175,11 @@ class InputCriblLakeHTTPMetadatum(BaseModel):
|
|
|
187
175
|
|
|
188
176
|
|
|
189
177
|
class InputCriblLakeHTTPTypedDict(TypedDict):
|
|
190
|
-
type: InputCriblLakeHTTPType
|
|
191
178
|
port: float
|
|
192
179
|
r"""Port to listen on"""
|
|
193
180
|
id: NotRequired[str]
|
|
194
181
|
r"""Unique ID for this input"""
|
|
182
|
+
type: NotRequired[InputCriblLakeHTTPType]
|
|
195
183
|
disabled: NotRequired[bool]
|
|
196
184
|
pipeline: NotRequired[str]
|
|
197
185
|
r"""Pipeline to process data from this Source before sending it through the Routes"""
|
|
@@ -239,14 +227,14 @@ class InputCriblLakeHTTPTypedDict(TypedDict):
|
|
|
239
227
|
|
|
240
228
|
|
|
241
229
|
class InputCriblLakeHTTP(BaseModel):
|
|
242
|
-
type: Annotated[InputCriblLakeHTTPType, PlainValidator(validate_open_enum(False))]
|
|
243
|
-
|
|
244
230
|
port: float
|
|
245
231
|
r"""Port to listen on"""
|
|
246
232
|
|
|
247
233
|
id: Optional[str] = None
|
|
248
234
|
r"""Unique ID for this input"""
|
|
249
235
|
|
|
236
|
+
type: Optional[InputCriblLakeHTTPType] = None
|
|
237
|
+
|
|
250
238
|
disabled: Optional[bool] = False
|
|
251
239
|
|
|
252
240
|
pipeline: Optional[str] = None
|
|
@@ -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 InputCriblmetricsType(str, Enum
|
|
11
|
+
class InputCriblmetricsType(str, Enum):
|
|
15
12
|
CRIBLMETRICS = "criblmetrics"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputCriblmetricsConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputCriblmetricsMode(str, Enum
|
|
26
|
+
class InputCriblmetricsMode(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 InputCriblmetricsCompression(str, Enum
|
|
33
|
+
class InputCriblmetricsCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputCriblmetricsPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputCriblmetricsPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputCriblmetricsMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputCriblmetricsMode.ALWAYS
|
|
58
|
+
mode: Optional[InputCriblmetricsMode] = InputCriblmetricsMode.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,10 +79,7 @@ class InputCriblmetricsPq(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[InputCriblmetricsCompression],
|
|
89
|
-
PlainValidator(validate_open_enum(False)),
|
|
90
|
-
] = InputCriblmetricsCompression.NONE
|
|
82
|
+
compress: Optional[InputCriblmetricsCompression] = InputCriblmetricsCompression.NONE
|
|
91
83
|
r"""Codec to use to compress the persisted data"""
|
|
92
84
|
|
|
93
85
|
|
|
@@ -135,7 +127,7 @@ class InputCriblmetrics(BaseModel):
|
|
|
135
127
|
id: str
|
|
136
128
|
r"""Unique ID for this input"""
|
|
137
129
|
|
|
138
|
-
type:
|
|
130
|
+
type: InputCriblmetricsType
|
|
139
131
|
|
|
140
132
|
disabled: Optional[bool] = False
|
|
141
133
|
|
|
@@ -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
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class InputCriblTCPType(str, Enum
|
|
11
|
+
class InputCriblTCPType(str, Enum):
|
|
15
12
|
CRIBL_TCP = "cribl_tcp"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputCriblTCPConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputCriblTCPMode(str, Enum
|
|
26
|
+
class InputCriblTCPMode(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 InputCriblTCPCompression(str, Enum
|
|
33
|
+
class InputCriblTCPCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputCriblTCPPqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputCriblTCPPq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputCriblTCPMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputCriblTCPMode.ALWAYS
|
|
58
|
+
mode: Optional[InputCriblTCPMode] = InputCriblTCPMode.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 InputCriblTCPPq(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[InputCriblTCPCompression], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputCriblTCPCompression.NONE
|
|
82
|
+
compress: Optional[InputCriblTCPCompression] = InputCriblTCPCompression.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
93
|
-
class InputCriblTCPMinimumTLSVersion(str, Enum
|
|
86
|
+
class InputCriblTCPMinimumTLSVersion(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 InputCriblTCPMaximumTLSVersion(str, Enum
|
|
93
|
+
class InputCriblTCPMaximumTLSVersion(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 InputCriblTCPTLSSettingsServerSide(BaseModel):
|
|
|
156
149
|
] = None
|
|
157
150
|
|
|
158
151
|
min_version: Annotated[
|
|
159
|
-
|
|
160
|
-
Optional[InputCriblTCPMinimumTLSVersion],
|
|
161
|
-
PlainValidator(validate_open_enum(False)),
|
|
162
|
-
],
|
|
163
|
-
pydantic.Field(alias="minVersion"),
|
|
152
|
+
Optional[InputCriblTCPMinimumTLSVersion], pydantic.Field(alias="minVersion")
|
|
164
153
|
] = None
|
|
165
154
|
|
|
166
155
|
max_version: Annotated[
|
|
167
|
-
|
|
168
|
-
Optional[InputCriblTCPMaximumTLSVersion],
|
|
169
|
-
PlainValidator(validate_open_enum(False)),
|
|
170
|
-
],
|
|
171
|
-
pydantic.Field(alias="maxVersion"),
|
|
156
|
+
Optional[InputCriblTCPMaximumTLSVersion], pydantic.Field(alias="maxVersion")
|
|
172
157
|
] = None
|
|
173
158
|
|
|
174
159
|
|
|
@@ -186,11 +171,11 @@ class InputCriblTCPMetadatum(BaseModel):
|
|
|
186
171
|
|
|
187
172
|
|
|
188
173
|
class InputCriblTCPTypedDict(TypedDict):
|
|
189
|
-
type: InputCriblTCPType
|
|
190
174
|
port: float
|
|
191
175
|
r"""Port to listen on"""
|
|
192
176
|
id: NotRequired[str]
|
|
193
177
|
r"""Unique ID for this input"""
|
|
178
|
+
type: NotRequired[InputCriblTCPType]
|
|
194
179
|
disabled: NotRequired[bool]
|
|
195
180
|
pipeline: NotRequired[str]
|
|
196
181
|
r"""Pipeline to process data from this Source before sending it through the Routes"""
|
|
@@ -226,14 +211,14 @@ class InputCriblTCPTypedDict(TypedDict):
|
|
|
226
211
|
|
|
227
212
|
|
|
228
213
|
class InputCriblTCP(BaseModel):
|
|
229
|
-
type: Annotated[InputCriblTCPType, PlainValidator(validate_open_enum(False))]
|
|
230
|
-
|
|
231
214
|
port: float
|
|
232
215
|
r"""Port to listen on"""
|
|
233
216
|
|
|
234
217
|
id: Optional[str] = None
|
|
235
218
|
r"""Unique ID for this input"""
|
|
236
219
|
|
|
220
|
+
type: Optional[InputCriblTCPType] = None
|
|
221
|
+
|
|
237
222
|
disabled: Optional[bool] = False
|
|
238
223
|
|
|
239
224
|
pipeline: Optional[str] = None
|
|
@@ -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 InputCrowdstrikeType(str, Enum
|
|
11
|
+
class InputCrowdstrikeType(str, Enum):
|
|
15
12
|
CROWDSTRIKE = "crowdstrike"
|
|
16
13
|
|
|
17
14
|
|
|
@@ -26,14 +23,14 @@ class InputCrowdstrikeConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputCrowdstrikeMode(str, Enum
|
|
26
|
+
class InputCrowdstrikeMode(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 InputCrowdstrikeCompression(str, Enum
|
|
33
|
+
class InputCrowdstrikeCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -58,9 +55,7 @@ class InputCrowdstrikePqTypedDict(TypedDict):
|
|
|
58
55
|
|
|
59
56
|
|
|
60
57
|
class InputCrowdstrikePq(BaseModel):
|
|
61
|
-
mode:
|
|
62
|
-
Optional[InputCrowdstrikeMode], PlainValidator(validate_open_enum(False))
|
|
63
|
-
] = InputCrowdstrikeMode.ALWAYS
|
|
58
|
+
mode: Optional[InputCrowdstrikeMode] = InputCrowdstrikeMode.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,13 +79,11 @@ class InputCrowdstrikePq(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[InputCrowdstrikeCompression], PlainValidator(validate_open_enum(False))
|
|
89
|
-
] = InputCrowdstrikeCompression.NONE
|
|
82
|
+
compress: Optional[InputCrowdstrikeCompression] = InputCrowdstrikeCompression.NONE
|
|
90
83
|
r"""Codec to use to compress the persisted data"""
|
|
91
84
|
|
|
92
85
|
|
|
93
|
-
class InputCrowdstrikeAuthenticationMethod(str, Enum
|
|
86
|
+
class InputCrowdstrikeAuthenticationMethod(str, Enum):
|
|
94
87
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
95
88
|
|
|
96
89
|
AUTO = "auto"
|
|
@@ -98,7 +91,7 @@ class InputCrowdstrikeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMe
|
|
|
98
91
|
SECRET = "secret"
|
|
99
92
|
|
|
100
93
|
|
|
101
|
-
class InputCrowdstrikeSignatureVersion(str, Enum
|
|
94
|
+
class InputCrowdstrikeSignatureVersion(str, Enum):
|
|
102
95
|
r"""Signature version to use for signing S3 requests"""
|
|
103
96
|
|
|
104
97
|
V2 = "v2"
|
|
@@ -151,7 +144,7 @@ class InputCrowdstrikeCheckpointing(BaseModel):
|
|
|
151
144
|
r"""The number of times to retry processing when a processing error occurs. If Skip file on error is enabled, this setting is ignored."""
|
|
152
145
|
|
|
153
146
|
|
|
154
|
-
class InputCrowdstrikeTagAfterProcessing(str, Enum
|
|
147
|
+
class InputCrowdstrikeTagAfterProcessing(str, Enum):
|
|
155
148
|
FALSE = "false"
|
|
156
149
|
TRUE = "true"
|
|
157
150
|
|
|
@@ -237,7 +230,7 @@ class InputCrowdstrikeTypedDict(TypedDict):
|
|
|
237
230
|
|
|
238
231
|
|
|
239
232
|
class InputCrowdstrike(BaseModel):
|
|
240
|
-
type:
|
|
233
|
+
type: InputCrowdstrikeType
|
|
241
234
|
|
|
242
235
|
queue_name: Annotated[str, pydantic.Field(alias="queueName")]
|
|
243
236
|
r"""The name, URL, or ARN of the SQS queue to read notifications 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 be evaluated only at init time. Example referencing a Global Variable: `https://host:port/myQueue-${C.vars.myVar}`."""
|
|
@@ -278,10 +271,7 @@ class InputCrowdstrike(BaseModel):
|
|
|
278
271
|
r"""SQS queue owner's AWS account ID. Leave empty if SQS queue is in same AWS account."""
|
|
279
272
|
|
|
280
273
|
aws_authentication_method: Annotated[
|
|
281
|
-
|
|
282
|
-
Optional[InputCrowdstrikeAuthenticationMethod],
|
|
283
|
-
PlainValidator(validate_open_enum(False)),
|
|
284
|
-
],
|
|
274
|
+
Optional[InputCrowdstrikeAuthenticationMethod],
|
|
285
275
|
pydantic.Field(alias="awsAuthenticationMethod"),
|
|
286
276
|
] = InputCrowdstrikeAuthenticationMethod.AUTO
|
|
287
277
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
@@ -297,10 +287,7 @@ class InputCrowdstrike(BaseModel):
|
|
|
297
287
|
r"""S3 service endpoint. If empty, defaults to the AWS Region-specific endpoint. Otherwise, it must point to S3-compatible endpoint."""
|
|
298
288
|
|
|
299
289
|
signature_version: Annotated[
|
|
300
|
-
|
|
301
|
-
Optional[InputCrowdstrikeSignatureVersion],
|
|
302
|
-
PlainValidator(validate_open_enum(False)),
|
|
303
|
-
],
|
|
290
|
+
Optional[InputCrowdstrikeSignatureVersion],
|
|
304
291
|
pydantic.Field(alias="signatureVersion"),
|
|
305
292
|
] = InputCrowdstrikeSignatureVersion.V4
|
|
306
293
|
r"""Signature version to use for signing S3 requests"""
|
|
@@ -392,10 +379,7 @@ class InputCrowdstrike(BaseModel):
|
|
|
392
379
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
393
380
|
|
|
394
381
|
tag_after_processing: Annotated[
|
|
395
|
-
|
|
396
|
-
Optional[InputCrowdstrikeTagAfterProcessing],
|
|
397
|
-
PlainValidator(validate_open_enum(False)),
|
|
398
|
-
],
|
|
382
|
+
Optional[InputCrowdstrikeTagAfterProcessing],
|
|
399
383
|
pydantic.Field(alias="tagAfterProcessing"),
|
|
400
384
|
] = None
|
|
401
385
|
|