cribl-control-plane 0.0.44a2__py3-none-any.whl → 0.0.45__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 +3 -3
- cribl_control_plane/models/appmode.py +1 -2
- cribl_control_plane/models/cacheconnection.py +2 -10
- cribl_control_plane/models/cacheconnectionbackfillstatus.py +1 -2
- cribl_control_plane/models/cloudprovider.py +1 -2
- cribl_control_plane/models/configgroup.py +2 -7
- cribl_control_plane/models/configgroupcloud.py +2 -6
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -8
- cribl_control_plane/models/cribllakedataset.py +2 -8
- cribl_control_plane/models/datasetmetadata.py +2 -8
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +2 -7
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +2 -4
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +2 -4
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -3
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +2 -7
- cribl_control_plane/models/getsummaryop.py +2 -7
- cribl_control_plane/models/hbcriblinfo.py +6 -6
- cribl_control_plane/models/healthstatus.py +4 -7
- cribl_control_plane/models/inputappscope.py +14 -34
- cribl_control_plane/models/inputazureblob.py +6 -17
- cribl_control_plane/models/inputcollection.py +4 -11
- cribl_control_plane/models/inputconfluentcloud.py +20 -47
- cribl_control_plane/models/inputcribl.py +4 -11
- cribl_control_plane/models/inputcriblhttp.py +8 -23
- cribl_control_plane/models/inputcribllakehttp.py +10 -22
- cribl_control_plane/models/inputcriblmetrics.py +4 -12
- cribl_control_plane/models/inputcribltcp.py +8 -23
- cribl_control_plane/models/inputcrowdstrike.py +10 -26
- cribl_control_plane/models/inputdatadogagent.py +8 -24
- cribl_control_plane/models/inputdatagen.py +4 -11
- cribl_control_plane/models/inputedgeprometheus.py +24 -58
- cribl_control_plane/models/inputelastic.py +14 -40
- cribl_control_plane/models/inputeventhub.py +6 -15
- cribl_control_plane/models/inputexec.py +6 -14
- cribl_control_plane/models/inputfile.py +6 -15
- cribl_control_plane/models/inputfirehose.py +8 -23
- cribl_control_plane/models/inputgooglepubsub.py +6 -19
- cribl_control_plane/models/inputgrafana.py +24 -67
- cribl_control_plane/models/inputhttp.py +8 -23
- cribl_control_plane/models/inputhttpraw.py +8 -23
- cribl_control_plane/models/inputjournalfiles.py +4 -12
- cribl_control_plane/models/inputkafka.py +16 -46
- cribl_control_plane/models/inputkinesis.py +14 -38
- cribl_control_plane/models/inputkubeevents.py +4 -11
- cribl_control_plane/models/inputkubelogs.py +8 -16
- cribl_control_plane/models/inputkubemetrics.py +8 -16
- cribl_control_plane/models/inputloki.py +10 -29
- cribl_control_plane/models/inputmetrics.py +8 -23
- cribl_control_plane/models/inputmodeldriventelemetry.py +10 -27
- cribl_control_plane/models/inputmsk.py +18 -53
- cribl_control_plane/models/inputnetflow.py +4 -11
- cribl_control_plane/models/inputoffice365mgmt.py +14 -33
- cribl_control_plane/models/inputoffice365msgtrace.py +16 -35
- cribl_control_plane/models/inputoffice365service.py +16 -35
- cribl_control_plane/models/inputopentelemetry.py +16 -38
- cribl_control_plane/models/inputprometheus.py +18 -50
- cribl_control_plane/models/inputprometheusrw.py +10 -30
- cribl_control_plane/models/inputrawudp.py +4 -11
- cribl_control_plane/models/inputs3.py +8 -21
- cribl_control_plane/models/inputs3inventory.py +10 -26
- cribl_control_plane/models/inputsecuritylake.py +10 -27
- cribl_control_plane/models/inputsnmp.py +6 -16
- cribl_control_plane/models/inputsplunk.py +12 -33
- cribl_control_plane/models/inputsplunkhec.py +10 -29
- cribl_control_plane/models/inputsplunksearch.py +14 -33
- cribl_control_plane/models/inputsqs.py +10 -27
- cribl_control_plane/models/inputsyslog.py +16 -43
- cribl_control_plane/models/inputsystemmetrics.py +24 -48
- cribl_control_plane/models/inputsystemstate.py +8 -16
- cribl_control_plane/models/inputtcp.py +10 -29
- cribl_control_plane/models/inputtcpjson.py +10 -29
- cribl_control_plane/models/inputwef.py +14 -37
- cribl_control_plane/models/inputwindowsmetrics.py +24 -44
- cribl_control_plane/models/inputwineventlogs.py +10 -20
- cribl_control_plane/models/inputwiz.py +8 -21
- cribl_control_plane/models/inputwizwebhook.py +8 -23
- cribl_control_plane/models/inputzscalerhec.py +10 -29
- cribl_control_plane/models/lakehouseconnectiontype.py +1 -2
- cribl_control_plane/models/listconfiggroupbyproductop.py +1 -3
- cribl_control_plane/models/masterworkerentry.py +2 -7
- cribl_control_plane/models/nodeactiveupgradestatus.py +1 -2
- cribl_control_plane/models/nodefailedupgradestatus.py +1 -2
- cribl_control_plane/models/nodeskippedupgradestatus.py +1 -2
- cribl_control_plane/models/nodeupgradestate.py +1 -2
- cribl_control_plane/models/nodeupgradestatus.py +5 -13
- cribl_control_plane/models/outputazureblob.py +18 -48
- cribl_control_plane/models/outputazuredataexplorer.py +28 -73
- cribl_control_plane/models/outputazureeventhub.py +18 -40
- cribl_control_plane/models/outputazurelogs.py +12 -35
- cribl_control_plane/models/outputclickhouse.py +20 -55
- cribl_control_plane/models/outputcloudwatch.py +10 -29
- cribl_control_plane/models/outputconfluentcloud.py +32 -77
- cribl_control_plane/models/outputcriblhttp.py +16 -44
- cribl_control_plane/models/outputcribllake.py +16 -46
- cribl_control_plane/models/outputcribltcp.py +18 -45
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +14 -49
- cribl_control_plane/models/outputdatadog.py +20 -48
- cribl_control_plane/models/outputdataset.py +18 -46
- cribl_control_plane/models/outputdiskspool.py +2 -7
- cribl_control_plane/models/outputdls3.py +24 -68
- cribl_control_plane/models/outputdynatracehttp.py +20 -53
- cribl_control_plane/models/outputdynatraceotlp.py +22 -55
- cribl_control_plane/models/outputelastic.py +18 -43
- cribl_control_plane/models/outputelasticcloud.py +12 -36
- cribl_control_plane/models/outputexabeam.py +10 -29
- cribl_control_plane/models/outputfilesystem.py +14 -39
- cribl_control_plane/models/outputgooglechronicle.py +16 -50
- cribl_control_plane/models/outputgooglecloudlogging.py +14 -41
- cribl_control_plane/models/outputgooglecloudstorage.py +24 -66
- cribl_control_plane/models/outputgooglepubsub.py +10 -31
- cribl_control_plane/models/outputgrafanacloud.py +32 -97
- cribl_control_plane/models/outputgraphite.py +14 -31
- cribl_control_plane/models/outputhoneycomb.py +12 -35
- cribl_control_plane/models/outputhumiohec.py +16 -43
- cribl_control_plane/models/outputinfluxdb.py +16 -42
- cribl_control_plane/models/outputkafka.py +28 -74
- cribl_control_plane/models/outputkinesis.py +16 -40
- cribl_control_plane/models/outputloki.py +16 -41
- cribl_control_plane/models/outputminio.py +24 -65
- cribl_control_plane/models/outputmsk.py +30 -82
- cribl_control_plane/models/outputnewrelic.py +18 -43
- cribl_control_plane/models/outputnewrelicevents.py +14 -41
- cribl_control_plane/models/outputopentelemetry.py +26 -67
- cribl_control_plane/models/outputprometheus.py +12 -35
- cribl_control_plane/models/outputring.py +8 -19
- cribl_control_plane/models/outputs3.py +26 -68
- cribl_control_plane/models/outputsecuritylake.py +18 -52
- cribl_control_plane/models/outputsentinel.py +18 -45
- cribl_control_plane/models/outputsentineloneaisiem.py +18 -50
- cribl_control_plane/models/outputservicenow.py +24 -60
- cribl_control_plane/models/outputsignalfx.py +14 -37
- cribl_control_plane/models/outputsns.py +14 -36
- cribl_control_plane/models/outputsplunk.py +24 -60
- cribl_control_plane/models/outputsplunkhec.py +12 -35
- cribl_control_plane/models/outputsplunklb.py +30 -77
- cribl_control_plane/models/outputsqs.py +16 -41
- cribl_control_plane/models/outputstatsd.py +14 -30
- cribl_control_plane/models/outputstatsdext.py +12 -29
- cribl_control_plane/models/outputsumologic.py +12 -35
- cribl_control_plane/models/outputsyslog.py +24 -58
- cribl_control_plane/models/outputtcpjson.py +20 -52
- cribl_control_plane/models/outputwavefront.py +12 -35
- cribl_control_plane/models/outputwebhook.py +22 -58
- cribl_control_plane/models/outputxsiam.py +14 -35
- cribl_control_plane/models/productscore.py +1 -2
- cribl_control_plane/models/rbacresource.py +1 -2
- cribl_control_plane/models/resourcepolicy.py +2 -4
- cribl_control_plane/models/runnablejobcollection.py +13 -30
- cribl_control_plane/models/runnablejobexecutor.py +4 -13
- cribl_control_plane/models/runnablejobscheduledsearch.py +2 -7
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +2 -8
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +2 -8
- cribl_control_plane/models/workertypes.py +1 -2
- {cribl_control_plane-0.0.44a2.dist-info → cribl_control_plane-0.0.45.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.0.44a2.dist-info → cribl_control_plane-0.0.45.dist-info}/RECORD +158 -158
- {cribl_control_plane-0.0.44a2.dist-info → cribl_control_plane-0.0.45.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,9 @@
|
|
|
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
|
|
|
@@ -26,14 +23,14 @@ class InputOffice365MgmtConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputOffice365MgmtMode(str, Enum
|
|
26
|
+
class InputOffice365MgmtMode(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 InputOffice365MgmtCompression(str, Enum
|
|
33
|
+
class InputOffice365MgmtCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -67,9 +64,7 @@ class InputOffice365MgmtPqTypedDict(TypedDict):
|
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
class InputOffice365MgmtPq(BaseModel):
|
|
70
|
-
mode:
|
|
71
|
-
Optional[InputOffice365MgmtMode], PlainValidator(validate_open_enum(False))
|
|
72
|
-
] = InputOffice365MgmtMode.ALWAYS
|
|
67
|
+
mode: Optional[InputOffice365MgmtMode] = InputOffice365MgmtMode.ALWAYS
|
|
73
68
|
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."""
|
|
74
69
|
|
|
75
70
|
max_buffer_size: Annotated[
|
|
@@ -93,10 +88,9 @@ class InputOffice365MgmtPq(BaseModel):
|
|
|
93
88
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
94
89
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
95
90
|
|
|
96
|
-
compress:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
] = InputOffice365MgmtCompression.NONE
|
|
91
|
+
compress: Optional[InputOffice365MgmtCompression] = (
|
|
92
|
+
InputOffice365MgmtCompression.NONE
|
|
93
|
+
)
|
|
100
94
|
r"""Codec to use to compress the persisted data"""
|
|
101
95
|
|
|
102
96
|
pq_controls: Annotated[
|
|
@@ -104,7 +98,7 @@ class InputOffice365MgmtPq(BaseModel):
|
|
|
104
98
|
] = None
|
|
105
99
|
|
|
106
100
|
|
|
107
|
-
class InputOffice365MgmtSubscriptionPlan(str, Enum
|
|
101
|
+
class InputOffice365MgmtSubscriptionPlan(str, Enum):
|
|
108
102
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
109
103
|
|
|
110
104
|
ENTERPRISE_GCC = "enterprise_gcc"
|
|
@@ -126,7 +120,7 @@ class InputOffice365MgmtMetadatum(BaseModel):
|
|
|
126
120
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
127
121
|
|
|
128
122
|
|
|
129
|
-
class InputOffice365MgmtLogLevel(str, Enum
|
|
123
|
+
class InputOffice365MgmtLogLevel(str, Enum):
|
|
130
124
|
r"""Collector runtime Log Level"""
|
|
131
125
|
|
|
132
126
|
ERROR = "error"
|
|
@@ -156,18 +150,14 @@ class InputOffice365MgmtContentConfig(BaseModel):
|
|
|
156
150
|
interval: Optional[float] = None
|
|
157
151
|
|
|
158
152
|
log_level: Annotated[
|
|
159
|
-
|
|
160
|
-
Optional[InputOffice365MgmtLogLevel],
|
|
161
|
-
PlainValidator(validate_open_enum(False)),
|
|
162
|
-
],
|
|
163
|
-
pydantic.Field(alias="logLevel"),
|
|
153
|
+
Optional[InputOffice365MgmtLogLevel], pydantic.Field(alias="logLevel")
|
|
164
154
|
] = None
|
|
165
155
|
r"""Collector runtime Log Level"""
|
|
166
156
|
|
|
167
157
|
enabled: Optional[bool] = None
|
|
168
158
|
|
|
169
159
|
|
|
170
|
-
class InputOffice365MgmtRetryType(str, Enum
|
|
160
|
+
class InputOffice365MgmtRetryType(str, Enum):
|
|
171
161
|
r"""The algorithm to use when performing HTTP retries"""
|
|
172
162
|
|
|
173
163
|
NONE = "none"
|
|
@@ -195,9 +185,7 @@ class InputOffice365MgmtRetryRulesTypedDict(TypedDict):
|
|
|
195
185
|
|
|
196
186
|
|
|
197
187
|
class InputOffice365MgmtRetryRules(BaseModel):
|
|
198
|
-
type:
|
|
199
|
-
Optional[InputOffice365MgmtRetryType], PlainValidator(validate_open_enum(False))
|
|
200
|
-
] = InputOffice365MgmtRetryType.BACKOFF
|
|
188
|
+
type: Optional[InputOffice365MgmtRetryType] = InputOffice365MgmtRetryType.BACKOFF
|
|
201
189
|
r"""The algorithm to use when performing HTTP retries"""
|
|
202
190
|
|
|
203
191
|
interval: Optional[float] = 1000
|
|
@@ -228,7 +216,7 @@ class InputOffice365MgmtRetryRules(BaseModel):
|
|
|
228
216
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
229
217
|
|
|
230
218
|
|
|
231
|
-
class InputOffice365MgmtAuthenticationMethod(str, Enum
|
|
219
|
+
class InputOffice365MgmtAuthenticationMethod(str, Enum):
|
|
232
220
|
r"""Enter client secret directly, or select a stored secret"""
|
|
233
221
|
|
|
234
222
|
MANUAL = "manual"
|
|
@@ -326,11 +314,7 @@ class InputOffice365Mgmt(BaseModel):
|
|
|
326
314
|
pq: Optional[InputOffice365MgmtPq] = None
|
|
327
315
|
|
|
328
316
|
plan_type: Annotated[
|
|
329
|
-
|
|
330
|
-
Optional[InputOffice365MgmtSubscriptionPlan],
|
|
331
|
-
PlainValidator(validate_open_enum(False)),
|
|
332
|
-
],
|
|
333
|
-
pydantic.Field(alias="planType"),
|
|
317
|
+
Optional[InputOffice365MgmtSubscriptionPlan], pydantic.Field(alias="planType")
|
|
334
318
|
] = InputOffice365MgmtSubscriptionPlan.ENTERPRISE_GCC
|
|
335
319
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
336
320
|
|
|
@@ -380,10 +364,7 @@ class InputOffice365Mgmt(BaseModel):
|
|
|
380
364
|
] = None
|
|
381
365
|
|
|
382
366
|
auth_type: Annotated[
|
|
383
|
-
|
|
384
|
-
Optional[InputOffice365MgmtAuthenticationMethod],
|
|
385
|
-
PlainValidator(validate_open_enum(False)),
|
|
386
|
-
],
|
|
367
|
+
Optional[InputOffice365MgmtAuthenticationMethod],
|
|
387
368
|
pydantic.Field(alias="authType"),
|
|
388
369
|
] = InputOffice365MgmtAuthenticationMethod.MANUAL
|
|
389
370
|
r"""Enter client secret directly, or select a stored secret"""
|
|
@@ -1,12 +1,9 @@
|
|
|
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
|
|
|
@@ -26,14 +23,14 @@ class InputOffice365MsgTraceConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputOffice365MsgTraceMode(str, Enum
|
|
26
|
+
class InputOffice365MsgTraceMode(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 InputOffice365MsgTraceCompression(str, Enum
|
|
33
|
+
class InputOffice365MsgTraceCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -67,9 +64,7 @@ class InputOffice365MsgTracePqTypedDict(TypedDict):
|
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
class InputOffice365MsgTracePq(BaseModel):
|
|
70
|
-
mode:
|
|
71
|
-
Optional[InputOffice365MsgTraceMode], PlainValidator(validate_open_enum(False))
|
|
72
|
-
] = InputOffice365MsgTraceMode.ALWAYS
|
|
67
|
+
mode: Optional[InputOffice365MsgTraceMode] = InputOffice365MsgTraceMode.ALWAYS
|
|
73
68
|
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."""
|
|
74
69
|
|
|
75
70
|
max_buffer_size: Annotated[
|
|
@@ -93,10 +88,9 @@ class InputOffice365MsgTracePq(BaseModel):
|
|
|
93
88
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
94
89
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
95
90
|
|
|
96
|
-
compress:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
] = InputOffice365MsgTraceCompression.NONE
|
|
91
|
+
compress: Optional[InputOffice365MsgTraceCompression] = (
|
|
92
|
+
InputOffice365MsgTraceCompression.NONE
|
|
93
|
+
)
|
|
100
94
|
r"""Codec to use to compress the persisted data"""
|
|
101
95
|
|
|
102
96
|
pq_controls: Annotated[
|
|
@@ -104,9 +98,7 @@ class InputOffice365MsgTracePq(BaseModel):
|
|
|
104
98
|
] = None
|
|
105
99
|
|
|
106
100
|
|
|
107
|
-
class InputOffice365MsgTraceAuthenticationMethod(
|
|
108
|
-
str, Enum, metaclass=utils.OpenEnumMeta
|
|
109
|
-
):
|
|
101
|
+
class InputOffice365MsgTraceAuthenticationMethod(str, Enum):
|
|
110
102
|
r"""Select authentication method."""
|
|
111
103
|
|
|
112
104
|
MANUAL = "manual"
|
|
@@ -116,7 +108,7 @@ class InputOffice365MsgTraceAuthenticationMethod(
|
|
|
116
108
|
OAUTH_CERT = "oauthCert"
|
|
117
109
|
|
|
118
110
|
|
|
119
|
-
class InputOffice365MsgTraceLogLevel(str, Enum
|
|
111
|
+
class InputOffice365MsgTraceLogLevel(str, Enum):
|
|
120
112
|
r"""Log Level (verbosity) for collection runtime behavior."""
|
|
121
113
|
|
|
122
114
|
ERROR = "error"
|
|
@@ -139,7 +131,7 @@ class InputOffice365MsgTraceMetadatum(BaseModel):
|
|
|
139
131
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
140
132
|
|
|
141
133
|
|
|
142
|
-
class InputOffice365MsgTraceRetryType(str, Enum
|
|
134
|
+
class InputOffice365MsgTraceRetryType(str, Enum):
|
|
143
135
|
r"""The algorithm to use when performing HTTP retries"""
|
|
144
136
|
|
|
145
137
|
NONE = "none"
|
|
@@ -167,10 +159,9 @@ class InputOffice365MsgTraceRetryRulesTypedDict(TypedDict):
|
|
|
167
159
|
|
|
168
160
|
|
|
169
161
|
class InputOffice365MsgTraceRetryRules(BaseModel):
|
|
170
|
-
type:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
] = InputOffice365MsgTraceRetryType.BACKOFF
|
|
162
|
+
type: Optional[InputOffice365MsgTraceRetryType] = (
|
|
163
|
+
InputOffice365MsgTraceRetryType.BACKOFF
|
|
164
|
+
)
|
|
174
165
|
r"""The algorithm to use when performing HTTP retries"""
|
|
175
166
|
|
|
176
167
|
interval: Optional[float] = 1000
|
|
@@ -201,7 +192,7 @@ class InputOffice365MsgTraceRetryRules(BaseModel):
|
|
|
201
192
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
202
193
|
|
|
203
194
|
|
|
204
|
-
class InputOffice365MsgTraceSubscriptionPlan(str, Enum
|
|
195
|
+
class InputOffice365MsgTraceSubscriptionPlan(str, Enum):
|
|
205
196
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
206
197
|
|
|
207
198
|
ENTERPRISE_GCC = "enterprise_gcc"
|
|
@@ -363,10 +354,7 @@ class InputOffice365MsgTrace(BaseModel):
|
|
|
363
354
|
r"""Disables time filtering of events when a date range is specified."""
|
|
364
355
|
|
|
365
356
|
auth_type: Annotated[
|
|
366
|
-
|
|
367
|
-
Optional[InputOffice365MsgTraceAuthenticationMethod],
|
|
368
|
-
PlainValidator(validate_open_enum(False)),
|
|
369
|
-
],
|
|
357
|
+
Optional[InputOffice365MsgTraceAuthenticationMethod],
|
|
370
358
|
pydantic.Field(alias="authType"),
|
|
371
359
|
] = InputOffice365MsgTraceAuthenticationMethod.OAUTH
|
|
372
360
|
r"""Select authentication method."""
|
|
@@ -382,11 +370,7 @@ class InputOffice365MsgTrace(BaseModel):
|
|
|
382
370
|
r"""Maximum number of times a task can be rescheduled"""
|
|
383
371
|
|
|
384
372
|
log_level: Annotated[
|
|
385
|
-
|
|
386
|
-
Optional[InputOffice365MsgTraceLogLevel],
|
|
387
|
-
PlainValidator(validate_open_enum(False)),
|
|
388
|
-
],
|
|
389
|
-
pydantic.Field(alias="logLevel"),
|
|
373
|
+
Optional[InputOffice365MsgTraceLogLevel], pydantic.Field(alias="logLevel")
|
|
390
374
|
] = InputOffice365MsgTraceLogLevel.INFO
|
|
391
375
|
r"""Log Level (verbosity) for collection runtime behavior."""
|
|
392
376
|
|
|
@@ -444,10 +428,7 @@ class InputOffice365MsgTrace(BaseModel):
|
|
|
444
428
|
r"""Resource to pass in the OAuth request parameter."""
|
|
445
429
|
|
|
446
430
|
plan_type: Annotated[
|
|
447
|
-
|
|
448
|
-
Optional[InputOffice365MsgTraceSubscriptionPlan],
|
|
449
|
-
PlainValidator(validate_open_enum(False)),
|
|
450
|
-
],
|
|
431
|
+
Optional[InputOffice365MsgTraceSubscriptionPlan],
|
|
451
432
|
pydantic.Field(alias="planType"),
|
|
452
433
|
] = InputOffice365MsgTraceSubscriptionPlan.ENTERPRISE_GCC
|
|
453
434
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -1,12 +1,9 @@
|
|
|
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
|
|
|
@@ -26,14 +23,14 @@ class InputOffice365ServiceConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputOffice365ServiceMode(str, Enum
|
|
26
|
+
class InputOffice365ServiceMode(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 InputOffice365ServiceCompression(str, Enum
|
|
33
|
+
class InputOffice365ServiceCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -67,9 +64,7 @@ class InputOffice365ServicePqTypedDict(TypedDict):
|
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
class InputOffice365ServicePq(BaseModel):
|
|
70
|
-
mode:
|
|
71
|
-
Optional[InputOffice365ServiceMode], PlainValidator(validate_open_enum(False))
|
|
72
|
-
] = InputOffice365ServiceMode.ALWAYS
|
|
67
|
+
mode: Optional[InputOffice365ServiceMode] = InputOffice365ServiceMode.ALWAYS
|
|
73
68
|
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."""
|
|
74
69
|
|
|
75
70
|
max_buffer_size: Annotated[
|
|
@@ -93,10 +88,9 @@ class InputOffice365ServicePq(BaseModel):
|
|
|
93
88
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
94
89
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
95
90
|
|
|
96
|
-
compress:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
] = InputOffice365ServiceCompression.NONE
|
|
91
|
+
compress: Optional[InputOffice365ServiceCompression] = (
|
|
92
|
+
InputOffice365ServiceCompression.NONE
|
|
93
|
+
)
|
|
100
94
|
r"""Codec to use to compress the persisted data"""
|
|
101
95
|
|
|
102
96
|
pq_controls: Annotated[
|
|
@@ -104,7 +98,7 @@ class InputOffice365ServicePq(BaseModel):
|
|
|
104
98
|
] = None
|
|
105
99
|
|
|
106
100
|
|
|
107
|
-
class InputOffice365ServiceSubscriptionPlan(str, Enum
|
|
101
|
+
class InputOffice365ServiceSubscriptionPlan(str, Enum):
|
|
108
102
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
109
103
|
|
|
110
104
|
ENTERPRISE_GCC = "enterprise_gcc"
|
|
@@ -126,7 +120,7 @@ class InputOffice365ServiceMetadatum(BaseModel):
|
|
|
126
120
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
127
121
|
|
|
128
122
|
|
|
129
|
-
class InputOffice365ServiceLogLevel(str, Enum
|
|
123
|
+
class InputOffice365ServiceLogLevel(str, Enum):
|
|
130
124
|
r"""Collector runtime Log Level"""
|
|
131
125
|
|
|
132
126
|
ERROR = "error"
|
|
@@ -156,18 +150,14 @@ class InputOffice365ServiceContentConfig(BaseModel):
|
|
|
156
150
|
interval: Optional[float] = None
|
|
157
151
|
|
|
158
152
|
log_level: Annotated[
|
|
159
|
-
|
|
160
|
-
Optional[InputOffice365ServiceLogLevel],
|
|
161
|
-
PlainValidator(validate_open_enum(False)),
|
|
162
|
-
],
|
|
163
|
-
pydantic.Field(alias="logLevel"),
|
|
153
|
+
Optional[InputOffice365ServiceLogLevel], pydantic.Field(alias="logLevel")
|
|
164
154
|
] = None
|
|
165
155
|
r"""Collector runtime Log Level"""
|
|
166
156
|
|
|
167
157
|
enabled: Optional[bool] = None
|
|
168
158
|
|
|
169
159
|
|
|
170
|
-
class InputOffice365ServiceRetryType(str, Enum
|
|
160
|
+
class InputOffice365ServiceRetryType(str, Enum):
|
|
171
161
|
r"""The algorithm to use when performing HTTP retries"""
|
|
172
162
|
|
|
173
163
|
NONE = "none"
|
|
@@ -195,10 +185,9 @@ class InputOffice365ServiceRetryRulesTypedDict(TypedDict):
|
|
|
195
185
|
|
|
196
186
|
|
|
197
187
|
class InputOffice365ServiceRetryRules(BaseModel):
|
|
198
|
-
type:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
] = InputOffice365ServiceRetryType.BACKOFF
|
|
188
|
+
type: Optional[InputOffice365ServiceRetryType] = (
|
|
189
|
+
InputOffice365ServiceRetryType.BACKOFF
|
|
190
|
+
)
|
|
202
191
|
r"""The algorithm to use when performing HTTP retries"""
|
|
203
192
|
|
|
204
193
|
interval: Optional[float] = 1000
|
|
@@ -229,9 +218,7 @@ class InputOffice365ServiceRetryRules(BaseModel):
|
|
|
229
218
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
230
219
|
|
|
231
220
|
|
|
232
|
-
class InputOffice365ServiceAuthenticationMethod(
|
|
233
|
-
str, Enum, metaclass=utils.OpenEnumMeta
|
|
234
|
-
):
|
|
221
|
+
class InputOffice365ServiceAuthenticationMethod(str, Enum):
|
|
235
222
|
r"""Enter client secret directly, or select a stored secret"""
|
|
236
223
|
|
|
237
224
|
MANUAL = "manual"
|
|
@@ -325,10 +312,7 @@ class InputOffice365Service(BaseModel):
|
|
|
325
312
|
pq: Optional[InputOffice365ServicePq] = None
|
|
326
313
|
|
|
327
314
|
plan_type: Annotated[
|
|
328
|
-
|
|
329
|
-
Optional[InputOffice365ServiceSubscriptionPlan],
|
|
330
|
-
PlainValidator(validate_open_enum(False)),
|
|
331
|
-
],
|
|
315
|
+
Optional[InputOffice365ServiceSubscriptionPlan],
|
|
332
316
|
pydantic.Field(alias="planType"),
|
|
333
317
|
] = InputOffice365ServiceSubscriptionPlan.ENTERPRISE_GCC
|
|
334
318
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -371,10 +355,7 @@ class InputOffice365Service(BaseModel):
|
|
|
371
355
|
] = None
|
|
372
356
|
|
|
373
357
|
auth_type: Annotated[
|
|
374
|
-
|
|
375
|
-
Optional[InputOffice365ServiceAuthenticationMethod],
|
|
376
|
-
PlainValidator(validate_open_enum(False)),
|
|
377
|
-
],
|
|
358
|
+
Optional[InputOffice365ServiceAuthenticationMethod],
|
|
378
359
|
pydantic.Field(alias="authType"),
|
|
379
360
|
] = InputOffice365ServiceAuthenticationMethod.MANUAL
|
|
380
361
|
r"""Enter client secret directly, or select a stored secret"""
|
|
@@ -1,12 +1,9 @@
|
|
|
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
|
|
|
@@ -26,14 +23,14 @@ class InputOpenTelemetryConnection(BaseModel):
|
|
|
26
23
|
pipeline: Optional[str] = None
|
|
27
24
|
|
|
28
25
|
|
|
29
|
-
class InputOpenTelemetryMode(str, Enum
|
|
26
|
+
class InputOpenTelemetryMode(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 InputOpenTelemetryCompression(str, Enum
|
|
33
|
+
class InputOpenTelemetryCompression(str, Enum):
|
|
37
34
|
r"""Codec to use to compress the persisted data"""
|
|
38
35
|
|
|
39
36
|
NONE = "none"
|
|
@@ -67,9 +64,7 @@ class InputOpenTelemetryPqTypedDict(TypedDict):
|
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
class InputOpenTelemetryPq(BaseModel):
|
|
70
|
-
mode:
|
|
71
|
-
Optional[InputOpenTelemetryMode], PlainValidator(validate_open_enum(False))
|
|
72
|
-
] = InputOpenTelemetryMode.ALWAYS
|
|
67
|
+
mode: Optional[InputOpenTelemetryMode] = InputOpenTelemetryMode.ALWAYS
|
|
73
68
|
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."""
|
|
74
69
|
|
|
75
70
|
max_buffer_size: Annotated[
|
|
@@ -93,10 +88,9 @@ class InputOpenTelemetryPq(BaseModel):
|
|
|
93
88
|
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
94
89
|
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
95
90
|
|
|
96
|
-
compress:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
] = InputOpenTelemetryCompression.NONE
|
|
91
|
+
compress: Optional[InputOpenTelemetryCompression] = (
|
|
92
|
+
InputOpenTelemetryCompression.NONE
|
|
93
|
+
)
|
|
100
94
|
r"""Codec to use to compress the persisted data"""
|
|
101
95
|
|
|
102
96
|
pq_controls: Annotated[
|
|
@@ -104,14 +98,14 @@ class InputOpenTelemetryPq(BaseModel):
|
|
|
104
98
|
] = None
|
|
105
99
|
|
|
106
100
|
|
|
107
|
-
class InputOpenTelemetryMinimumTLSVersion(str, Enum
|
|
101
|
+
class InputOpenTelemetryMinimumTLSVersion(str, Enum):
|
|
108
102
|
TL_SV1 = "TLSv1"
|
|
109
103
|
TL_SV1_1 = "TLSv1.1"
|
|
110
104
|
TL_SV1_2 = "TLSv1.2"
|
|
111
105
|
TL_SV1_3 = "TLSv1.3"
|
|
112
106
|
|
|
113
107
|
|
|
114
|
-
class InputOpenTelemetryMaximumTLSVersion(str, Enum
|
|
108
|
+
class InputOpenTelemetryMaximumTLSVersion(str, Enum):
|
|
115
109
|
TL_SV1 = "TLSv1"
|
|
116
110
|
TL_SV1_1 = "TLSv1.1"
|
|
117
111
|
TL_SV1_2 = "TLSv1.2"
|
|
@@ -170,37 +164,31 @@ class InputOpenTelemetryTLSSettingsServerSide(BaseModel):
|
|
|
170
164
|
] = None
|
|
171
165
|
|
|
172
166
|
min_version: Annotated[
|
|
173
|
-
|
|
174
|
-
Optional[InputOpenTelemetryMinimumTLSVersion],
|
|
175
|
-
PlainValidator(validate_open_enum(False)),
|
|
176
|
-
],
|
|
167
|
+
Optional[InputOpenTelemetryMinimumTLSVersion],
|
|
177
168
|
pydantic.Field(alias="minVersion"),
|
|
178
169
|
] = None
|
|
179
170
|
|
|
180
171
|
max_version: Annotated[
|
|
181
|
-
|
|
182
|
-
Optional[InputOpenTelemetryMaximumTLSVersion],
|
|
183
|
-
PlainValidator(validate_open_enum(False)),
|
|
184
|
-
],
|
|
172
|
+
Optional[InputOpenTelemetryMaximumTLSVersion],
|
|
185
173
|
pydantic.Field(alias="maxVersion"),
|
|
186
174
|
] = None
|
|
187
175
|
|
|
188
176
|
|
|
189
|
-
class InputOpenTelemetryProtocol(str, Enum
|
|
177
|
+
class InputOpenTelemetryProtocol(str, Enum):
|
|
190
178
|
r"""Select whether to leverage gRPC or HTTP for OpenTelemetry"""
|
|
191
179
|
|
|
192
180
|
GRPC = "grpc"
|
|
193
181
|
HTTP = "http"
|
|
194
182
|
|
|
195
183
|
|
|
196
|
-
class InputOpenTelemetryOTLPVersion(str, Enum
|
|
184
|
+
class InputOpenTelemetryOTLPVersion(str, Enum):
|
|
197
185
|
r"""The version of OTLP Protobuf definitions to use when interpreting received data"""
|
|
198
186
|
|
|
199
187
|
ZERO_DOT_10_DOT_0 = "0.10.0"
|
|
200
188
|
ONE_DOT_3_DOT_1 = "1.3.1"
|
|
201
189
|
|
|
202
190
|
|
|
203
|
-
class InputOpenTelemetryAuthenticationType(str, Enum
|
|
191
|
+
class InputOpenTelemetryAuthenticationType(str, Enum):
|
|
204
192
|
r"""OpenTelemetry authentication type"""
|
|
205
193
|
|
|
206
194
|
NONE = "none"
|
|
@@ -429,9 +417,7 @@ class InputOpenTelemetry(BaseModel):
|
|
|
429
417
|
] = "/^$/"
|
|
430
418
|
r"""Messages from matched IP addresses will be ignored. This takes precedence over the allowlist."""
|
|
431
419
|
|
|
432
|
-
protocol:
|
|
433
|
-
Optional[InputOpenTelemetryProtocol], PlainValidator(validate_open_enum(False))
|
|
434
|
-
] = InputOpenTelemetryProtocol.GRPC
|
|
420
|
+
protocol: Optional[InputOpenTelemetryProtocol] = InputOpenTelemetryProtocol.GRPC
|
|
435
421
|
r"""Select whether to leverage gRPC or HTTP for OpenTelemetry"""
|
|
436
422
|
|
|
437
423
|
extract_spans: Annotated[Optional[bool], pydantic.Field(alias="extractSpans")] = (
|
|
@@ -445,20 +431,12 @@ class InputOpenTelemetry(BaseModel):
|
|
|
445
431
|
r"""Enable to extract each incoming Gauge or IntGauge metric to multiple events, one per data point"""
|
|
446
432
|
|
|
447
433
|
otlp_version: Annotated[
|
|
448
|
-
|
|
449
|
-
Optional[InputOpenTelemetryOTLPVersion],
|
|
450
|
-
PlainValidator(validate_open_enum(False)),
|
|
451
|
-
],
|
|
452
|
-
pydantic.Field(alias="otlpVersion"),
|
|
434
|
+
Optional[InputOpenTelemetryOTLPVersion], pydantic.Field(alias="otlpVersion")
|
|
453
435
|
] = InputOpenTelemetryOTLPVersion.ZERO_DOT_10_DOT_0
|
|
454
436
|
r"""The version of OTLP Protobuf definitions to use when interpreting received data"""
|
|
455
437
|
|
|
456
438
|
auth_type: Annotated[
|
|
457
|
-
|
|
458
|
-
Optional[InputOpenTelemetryAuthenticationType],
|
|
459
|
-
PlainValidator(validate_open_enum(False)),
|
|
460
|
-
],
|
|
461
|
-
pydantic.Field(alias="authType"),
|
|
439
|
+
Optional[InputOpenTelemetryAuthenticationType], pydantic.Field(alias="authType")
|
|
462
440
|
] = InputOpenTelemetryAuthenticationType.NONE
|
|
463
441
|
r"""OpenTelemetry authentication type"""
|
|
464
442
|
|