cribl-control-plane 0.2.0rc1__py3-none-any.whl → 0.2.1rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -6
- cribl_control_plane/groups_sdk.py +11 -8
- cribl_control_plane/mappings.py +1185 -0
- cribl_control_plane/models/__init__.py +195 -33
- cribl_control_plane/models/authtoken.py +8 -1
- cribl_control_plane/models/configgroup.py +30 -2
- cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +52 -0
- cribl_control_plane/models/createadminproductsmappingsbyproductop.py +53 -0
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductop.py +44 -0
- cribl_control_plane/models/hbcriblinfo.py +14 -3
- cribl_control_plane/models/heartbeatmetadata.py +3 -0
- cribl_control_plane/models/input.py +65 -63
- cribl_control_plane/models/inputappscope.py +4 -0
- cribl_control_plane/models/inputazureblob.py +4 -0
- cribl_control_plane/models/inputcollection.py +4 -0
- cribl_control_plane/models/inputconfluentcloud.py +8 -18
- cribl_control_plane/models/inputcribl.py +4 -0
- cribl_control_plane/models/inputcriblhttp.py +4 -0
- cribl_control_plane/models/inputcribllakehttp.py +4 -0
- cribl_control_plane/models/inputcriblmetrics.py +4 -0
- cribl_control_plane/models/inputcribltcp.py +4 -0
- cribl_control_plane/models/inputcrowdstrike.py +7 -0
- cribl_control_plane/models/inputdatadogagent.py +4 -0
- cribl_control_plane/models/inputdatagen.py +4 -0
- cribl_control_plane/models/inputedgeprometheus.py +12 -0
- cribl_control_plane/models/inputelastic.py +11 -0
- cribl_control_plane/models/inputeventhub.py +6 -0
- cribl_control_plane/models/inputexec.py +4 -0
- cribl_control_plane/models/inputfile.py +6 -0
- cribl_control_plane/models/inputfirehose.py +4 -0
- cribl_control_plane/models/inputgooglepubsub.py +7 -0
- cribl_control_plane/models/inputgrafana.py +8 -0
- cribl_control_plane/models/inputhttp.py +4 -0
- cribl_control_plane/models/inputhttpraw.py +4 -0
- cribl_control_plane/models/inputjournalfiles.py +4 -0
- cribl_control_plane/models/inputkafka.py +8 -17
- cribl_control_plane/models/inputkinesis.py +15 -0
- cribl_control_plane/models/inputkubeevents.py +4 -0
- cribl_control_plane/models/inputkubelogs.py +4 -0
- cribl_control_plane/models/inputkubemetrics.py +4 -0
- cribl_control_plane/models/inputloki.py +4 -0
- cribl_control_plane/models/inputmetrics.py +4 -0
- cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
- cribl_control_plane/models/inputmsk.py +7 -17
- cribl_control_plane/models/inputnetflow.py +4 -0
- cribl_control_plane/models/inputoffice365mgmt.py +11 -0
- cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
- cribl_control_plane/models/inputoffice365service.py +11 -0
- cribl_control_plane/models/inputopentelemetry.py +8 -0
- cribl_control_plane/models/inputprometheus.py +10 -0
- cribl_control_plane/models/inputprometheusrw.py +4 -0
- cribl_control_plane/models/inputrawudp.py +4 -0
- cribl_control_plane/models/inputs3.py +7 -0
- cribl_control_plane/models/inputs3inventory.py +7 -0
- cribl_control_plane/models/inputsecuritylake.py +7 -0
- cribl_control_plane/models/inputsnmp.py +11 -0
- cribl_control_plane/models/inputsplunk.py +9 -0
- cribl_control_plane/models/inputsplunkhec.py +4 -0
- cribl_control_plane/models/inputsplunksearch.py +7 -0
- cribl_control_plane/models/inputsqs.py +9 -0
- cribl_control_plane/models/inputsyslog.py +8 -0
- cribl_control_plane/models/inputsystemmetrics.py +32 -0
- cribl_control_plane/models/inputsystemstate.py +4 -0
- cribl_control_plane/models/inputtcp.py +4 -0
- cribl_control_plane/models/inputtcpjson.py +4 -0
- cribl_control_plane/models/inputwef.py +6 -0
- cribl_control_plane/models/inputwindowsmetrics.py +28 -0
- cribl_control_plane/models/inputwineventlogs.py +8 -0
- cribl_control_plane/models/inputwiz.py +7 -0
- cribl_control_plane/models/inputwizwebhook.py +4 -0
- cribl_control_plane/models/inputzscalerhec.py +4 -0
- cribl_control_plane/models/jobinfo.py +4 -1
- cribl_control_plane/models/mappingruleset.py +95 -0
- cribl_control_plane/models/nodeprovidedinfo.py +11 -1
- cribl_control_plane/models/outpostnodeinfo.py +16 -0
- cribl_control_plane/models/output.py +77 -72
- cribl_control_plane/models/outputazureblob.py +20 -0
- cribl_control_plane/models/outputazuredataexplorer.py +28 -0
- cribl_control_plane/models/outputazureeventhub.py +17 -0
- cribl_control_plane/models/outputazurelogs.py +13 -0
- cribl_control_plane/models/outputchronicle.py +13 -0
- cribl_control_plane/models/outputclickhouse.py +17 -0
- cribl_control_plane/models/outputcloudwatch.py +13 -0
- cribl_control_plane/models/outputconfluentcloud.py +24 -18
- cribl_control_plane/models/outputcriblhttp.py +15 -0
- cribl_control_plane/models/outputcribllake.py +21 -0
- cribl_control_plane/models/outputcribltcp.py +12 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
- cribl_control_plane/models/outputdatabricks.py +411 -0
- cribl_control_plane/models/outputdatadog.py +30 -0
- cribl_control_plane/models/outputdataset.py +23 -0
- cribl_control_plane/models/outputdls3.py +35 -0
- cribl_control_plane/models/outputdynatracehttp.py +22 -0
- cribl_control_plane/models/outputdynatraceotlp.py +22 -0
- cribl_control_plane/models/outputelastic.py +18 -0
- cribl_control_plane/models/outputelasticcloud.py +13 -0
- cribl_control_plane/models/outputexabeam.py +14 -0
- cribl_control_plane/models/outputfilesystem.py +15 -0
- cribl_control_plane/models/outputgooglechronicle.py +21 -0
- cribl_control_plane/models/outputgooglecloudlogging.py +19 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
- cribl_control_plane/models/outputgooglepubsub.py +13 -0
- cribl_control_plane/models/outputgrafanacloud.py +50 -0
- cribl_control_plane/models/outputgraphite.py +12 -0
- cribl_control_plane/models/outputhoneycomb.py +13 -0
- cribl_control_plane/models/outputhumiohec.py +15 -0
- cribl_control_plane/models/outputinfluxdb.py +19 -0
- cribl_control_plane/models/outputkafka.py +24 -17
- cribl_control_plane/models/outputkinesis.py +15 -0
- cribl_control_plane/models/outputloki.py +20 -0
- cribl_control_plane/models/outputminio.py +28 -0
- cribl_control_plane/models/outputmsk.py +23 -17
- cribl_control_plane/models/outputnewrelic.py +16 -0
- cribl_control_plane/models/outputnewrelicevents.py +16 -0
- cribl_control_plane/models/outputopentelemetry.py +22 -0
- cribl_control_plane/models/outputprometheus.py +13 -0
- cribl_control_plane/models/outputring.py +2 -0
- cribl_control_plane/models/outputs3.py +35 -0
- cribl_control_plane/models/outputsecuritylake.py +29 -0
- cribl_control_plane/models/outputsentinel.py +15 -0
- cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
- cribl_control_plane/models/outputservicenow.py +21 -0
- cribl_control_plane/models/outputsignalfx.py +13 -0
- cribl_control_plane/models/outputsns.py +13 -0
- cribl_control_plane/models/outputsplunk.py +15 -0
- cribl_control_plane/models/outputsplunkhec.py +13 -0
- cribl_control_plane/models/outputsplunklb.py +15 -0
- cribl_control_plane/models/outputsqs.py +15 -0
- cribl_control_plane/models/outputstatsd.py +12 -0
- cribl_control_plane/models/outputstatsdext.py +12 -0
- cribl_control_plane/models/outputsumologic.py +15 -0
- cribl_control_plane/models/outputsyslog.py +24 -0
- cribl_control_plane/models/outputtcpjson.py +12 -0
- cribl_control_plane/models/outputwavefront.py +13 -0
- cribl_control_plane/models/outputwebhook.py +23 -0
- cribl_control_plane/models/outputxsiam.py +13 -0
- cribl_control_plane/models/packinfo.py +8 -5
- cribl_control_plane/models/packinstallinfo.py +8 -5
- cribl_control_plane/models/pipeline.py +4 -4
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/{routecloneconf.py → rulesetid.py} +4 -4
- cribl_control_plane/models/runnablejobcollection.py +4 -0
- cribl_control_plane/models/updateadminproductsmappingsbyproductandidop.py +63 -0
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/uploadpackresponse.py +13 -0
- cribl_control_plane/packs.py +202 -7
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.0rc1.dist-info → cribl_control_plane-0.2.1rc1.dist-info}/METADATA +44 -3
- {cribl_control_plane-0.2.0rc1.dist-info → cribl_control_plane-0.2.1rc1.dist-info}/RECORD +154 -143
- cribl_control_plane/models/appmode.py +0 -14
- {cribl_control_plane-0.2.0rc1.dist-info → cribl_control_plane-0.2.1rc1.dist-info}/WHEEL +0 -0
|
@@ -29,14 +29,18 @@ class InputSplunkConnection(BaseModel):
|
|
|
29
29
|
class InputSplunkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSplunkPqCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -214,15 +218,20 @@ class InputSplunkAuthToken(BaseModel):
|
|
|
214
218
|
class InputSplunkMaxS2SVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
215
219
|
r"""The highest S2S protocol version to advertise during handshake"""
|
|
216
220
|
|
|
221
|
+
# v3
|
|
217
222
|
V3 = "v3"
|
|
223
|
+
# v4
|
|
218
224
|
V4 = "v4"
|
|
219
225
|
|
|
220
226
|
|
|
221
227
|
class InputSplunkCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
222
228
|
r"""Controls whether to support reading compressed data from a forwarder. Select 'Automatic' to match the forwarder's configuration, or 'Disabled' to reject compressed connections."""
|
|
223
229
|
|
|
230
|
+
# Disabled
|
|
224
231
|
DISABLED = "disabled"
|
|
232
|
+
# Automatic
|
|
225
233
|
AUTO = "auto"
|
|
234
|
+
# Always
|
|
226
235
|
ALWAYS = "always"
|
|
227
236
|
|
|
228
237
|
|
|
@@ -29,14 +29,18 @@ class InputSplunkHecConnection(BaseModel):
|
|
|
29
29
|
class InputSplunkHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSplunkHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputSplunkSearchConnection(BaseModel):
|
|
|
29
29
|
class InputSplunkSearchMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSplunkSearchCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -162,8 +166,11 @@ class InputSplunkSearchMetadatum(BaseModel):
|
|
|
162
166
|
class InputSplunkSearchRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
163
167
|
r"""The algorithm to use when performing HTTP retries"""
|
|
164
168
|
|
|
169
|
+
# Disabled
|
|
165
170
|
NONE = "none"
|
|
171
|
+
# Backoff
|
|
166
172
|
BACKOFF = "backoff"
|
|
173
|
+
# Static
|
|
167
174
|
STATIC = "static"
|
|
168
175
|
|
|
169
176
|
|
|
@@ -29,14 +29,18 @@ class InputSqsConnection(BaseModel):
|
|
|
29
29
|
class InputSqsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSqsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -106,15 +110,20 @@ class InputSqsPq(BaseModel):
|
|
|
106
110
|
class InputSqsQueueType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
111
|
r"""The queue type used (or created)"""
|
|
108
112
|
|
|
113
|
+
# Standard
|
|
109
114
|
STANDARD = "standard"
|
|
115
|
+
# FIFO
|
|
110
116
|
FIFO = "fifo"
|
|
111
117
|
|
|
112
118
|
|
|
113
119
|
class InputSqsAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
114
120
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
115
121
|
|
|
122
|
+
# Auto
|
|
116
123
|
AUTO = "auto"
|
|
124
|
+
# Manual
|
|
117
125
|
MANUAL = "manual"
|
|
126
|
+
# Secret Key pair
|
|
118
127
|
SECRET = "secret"
|
|
119
128
|
|
|
120
129
|
|
|
@@ -29,14 +29,18 @@ class InputSyslogConnection2(BaseModel):
|
|
|
29
29
|
class InputSyslogMode2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSyslogCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -412,14 +416,18 @@ class InputSyslogConnection1(BaseModel):
|
|
|
412
416
|
class InputSyslogMode1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
413
417
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
414
418
|
|
|
419
|
+
# Smart
|
|
415
420
|
SMART = "smart"
|
|
421
|
+
# Always On
|
|
416
422
|
ALWAYS = "always"
|
|
417
423
|
|
|
418
424
|
|
|
419
425
|
class InputSyslogCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
420
426
|
r"""Codec to use to compress the persisted data"""
|
|
421
427
|
|
|
428
|
+
# None
|
|
422
429
|
NONE = "none"
|
|
430
|
+
# Gzip
|
|
423
431
|
GZIP = "gzip"
|
|
424
432
|
|
|
425
433
|
|
|
@@ -29,14 +29,18 @@ class InputSystemMetricsConnection(BaseModel):
|
|
|
29
29
|
class InputSystemMetricsPqMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSystemMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -107,18 +111,26 @@ class InputSystemMetricsPq(BaseModel):
|
|
|
107
111
|
class InputSystemMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
108
112
|
r"""Select level of detail for host metrics"""
|
|
109
113
|
|
|
114
|
+
# Basic
|
|
110
115
|
BASIC = "basic"
|
|
116
|
+
# All
|
|
111
117
|
ALL = "all"
|
|
118
|
+
# Custom
|
|
112
119
|
CUSTOM = "custom"
|
|
120
|
+
# Disabled
|
|
113
121
|
DISABLED = "disabled"
|
|
114
122
|
|
|
115
123
|
|
|
116
124
|
class InputSystemMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
117
125
|
r"""Select the level of detail for system metrics"""
|
|
118
126
|
|
|
127
|
+
# Basic
|
|
119
128
|
BASIC = "basic"
|
|
129
|
+
# All
|
|
120
130
|
ALL = "all"
|
|
131
|
+
# Custom
|
|
121
132
|
CUSTOM = "custom"
|
|
133
|
+
# Disabled
|
|
122
134
|
DISABLED = "disabled"
|
|
123
135
|
|
|
124
136
|
|
|
@@ -143,9 +155,13 @@ class InputSystemMetricsSystem(BaseModel):
|
|
|
143
155
|
class InputSystemMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
156
|
r"""Select the level of detail for CPU metrics"""
|
|
145
157
|
|
|
158
|
+
# Basic
|
|
146
159
|
BASIC = "basic"
|
|
160
|
+
# All
|
|
147
161
|
ALL = "all"
|
|
162
|
+
# Custom
|
|
148
163
|
CUSTOM = "custom"
|
|
164
|
+
# Disabled
|
|
149
165
|
DISABLED = "disabled"
|
|
150
166
|
|
|
151
167
|
|
|
@@ -179,9 +195,13 @@ class InputSystemMetricsCPU(BaseModel):
|
|
|
179
195
|
class InputSystemMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
180
196
|
r"""Select the level of detail for memory metrics"""
|
|
181
197
|
|
|
198
|
+
# Basic
|
|
182
199
|
BASIC = "basic"
|
|
200
|
+
# All
|
|
183
201
|
ALL = "all"
|
|
202
|
+
# Custom
|
|
184
203
|
CUSTOM = "custom"
|
|
204
|
+
# Disabled
|
|
185
205
|
DISABLED = "disabled"
|
|
186
206
|
|
|
187
207
|
|
|
@@ -206,9 +226,13 @@ class InputSystemMetricsMemory(BaseModel):
|
|
|
206
226
|
class InputSystemMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
207
227
|
r"""Select the level of detail for network metrics"""
|
|
208
228
|
|
|
229
|
+
# Basic
|
|
209
230
|
BASIC = "basic"
|
|
231
|
+
# All
|
|
210
232
|
ALL = "all"
|
|
233
|
+
# Custom
|
|
211
234
|
CUSTOM = "custom"
|
|
235
|
+
# Disabled
|
|
212
236
|
DISABLED = "disabled"
|
|
213
237
|
|
|
214
238
|
|
|
@@ -245,9 +269,13 @@ class InputSystemMetricsNetwork(BaseModel):
|
|
|
245
269
|
class InputSystemMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
246
270
|
r"""Select the level of detail for disk metrics"""
|
|
247
271
|
|
|
272
|
+
# Basic
|
|
248
273
|
BASIC = "basic"
|
|
274
|
+
# All
|
|
249
275
|
ALL = "all"
|
|
276
|
+
# Custom
|
|
250
277
|
CUSTOM = "custom"
|
|
278
|
+
# Disabled
|
|
251
279
|
DISABLED = "disabled"
|
|
252
280
|
|
|
253
281
|
|
|
@@ -352,9 +380,13 @@ class InputSystemMetricsProcess(BaseModel):
|
|
|
352
380
|
class ContainerMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
353
381
|
r"""Select the level of detail for container metrics"""
|
|
354
382
|
|
|
383
|
+
# Basic
|
|
355
384
|
BASIC = "basic"
|
|
385
|
+
# All
|
|
356
386
|
ALL = "all"
|
|
387
|
+
# Custom
|
|
357
388
|
CUSTOM = "custom"
|
|
389
|
+
# Disabled
|
|
358
390
|
DISABLED = "disabled"
|
|
359
391
|
|
|
360
392
|
|
|
@@ -29,14 +29,18 @@ class InputSystemStateConnection(BaseModel):
|
|
|
29
29
|
class InputSystemStateMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputSystemStateCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputTCPConnection(BaseModel):
|
|
|
29
29
|
class InputTCPMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputTcpjsonConnection(BaseModel):
|
|
|
29
29
|
class InputTcpjsonMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputTcpjsonCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputWefConnection(BaseModel):
|
|
|
29
29
|
class InputWefMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWefCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -106,7 +110,9 @@ class InputWefPq(BaseModel):
|
|
|
106
110
|
class InputWefAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
111
|
r"""How to authenticate incoming client connections"""
|
|
108
112
|
|
|
113
|
+
# Client certificate
|
|
109
114
|
CLIENT_CERT = "clientCert"
|
|
115
|
+
# Kerberos
|
|
110
116
|
KERBEROS = "kerberos"
|
|
111
117
|
|
|
112
118
|
|
|
@@ -29,14 +29,18 @@ class InputWindowsMetricsConnection(BaseModel):
|
|
|
29
29
|
class InputWindowsMetricsPqMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWindowsMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -107,18 +111,26 @@ class InputWindowsMetricsPq(BaseModel):
|
|
|
107
111
|
class InputWindowsMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
108
112
|
r"""Select level of detail for host metrics"""
|
|
109
113
|
|
|
114
|
+
# Basic
|
|
110
115
|
BASIC = "basic"
|
|
116
|
+
# All
|
|
111
117
|
ALL = "all"
|
|
118
|
+
# Custom
|
|
112
119
|
CUSTOM = "custom"
|
|
120
|
+
# Disabled
|
|
113
121
|
DISABLED = "disabled"
|
|
114
122
|
|
|
115
123
|
|
|
116
124
|
class InputWindowsMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
117
125
|
r"""Select the level of details for system metrics"""
|
|
118
126
|
|
|
127
|
+
# Basic
|
|
119
128
|
BASIC = "basic"
|
|
129
|
+
# All
|
|
120
130
|
ALL = "all"
|
|
131
|
+
# Custom
|
|
121
132
|
CUSTOM = "custom"
|
|
133
|
+
# Disabled
|
|
122
134
|
DISABLED = "disabled"
|
|
123
135
|
|
|
124
136
|
|
|
@@ -143,9 +155,13 @@ class InputWindowsMetricsSystem(BaseModel):
|
|
|
143
155
|
class InputWindowsMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
156
|
r"""Select the level of details for CPU metrics"""
|
|
145
157
|
|
|
158
|
+
# Basic
|
|
146
159
|
BASIC = "basic"
|
|
160
|
+
# All
|
|
147
161
|
ALL = "all"
|
|
162
|
+
# Custom
|
|
148
163
|
CUSTOM = "custom"
|
|
164
|
+
# Disabled
|
|
149
165
|
DISABLED = "disabled"
|
|
150
166
|
|
|
151
167
|
|
|
@@ -179,9 +195,13 @@ class InputWindowsMetricsCPU(BaseModel):
|
|
|
179
195
|
class InputWindowsMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
180
196
|
r"""Select the level of details for memory metrics"""
|
|
181
197
|
|
|
198
|
+
# Basic
|
|
182
199
|
BASIC = "basic"
|
|
200
|
+
# All
|
|
183
201
|
ALL = "all"
|
|
202
|
+
# Custom
|
|
184
203
|
CUSTOM = "custom"
|
|
204
|
+
# Disabled
|
|
185
205
|
DISABLED = "disabled"
|
|
186
206
|
|
|
187
207
|
|
|
@@ -206,9 +226,13 @@ class InputWindowsMetricsMemory(BaseModel):
|
|
|
206
226
|
class InputWindowsMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
207
227
|
r"""Select the level of details for network metrics"""
|
|
208
228
|
|
|
229
|
+
# Basic
|
|
209
230
|
BASIC = "basic"
|
|
231
|
+
# All
|
|
210
232
|
ALL = "all"
|
|
233
|
+
# Custom
|
|
211
234
|
CUSTOM = "custom"
|
|
235
|
+
# Disabled
|
|
212
236
|
DISABLED = "disabled"
|
|
213
237
|
|
|
214
238
|
|
|
@@ -245,9 +269,13 @@ class InputWindowsMetricsNetwork(BaseModel):
|
|
|
245
269
|
class InputWindowsMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
246
270
|
r"""Select the level of details for disk metrics"""
|
|
247
271
|
|
|
272
|
+
# Basic
|
|
248
273
|
BASIC = "basic"
|
|
274
|
+
# All
|
|
249
275
|
ALL = "all"
|
|
276
|
+
# Custom
|
|
250
277
|
CUSTOM = "custom"
|
|
278
|
+
# Disabled
|
|
251
279
|
DISABLED = "disabled"
|
|
252
280
|
|
|
253
281
|
|
|
@@ -29,14 +29,18 @@ class InputWinEventLogsConnection(BaseModel):
|
|
|
29
29
|
class InputWinEventLogsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWinEventLogsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -107,14 +111,18 @@ class InputWinEventLogsPq(BaseModel):
|
|
|
107
111
|
class ReadMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
108
112
|
r"""Read all stored and future event logs, or only future events"""
|
|
109
113
|
|
|
114
|
+
# Entire log
|
|
110
115
|
OLDEST = "oldest"
|
|
116
|
+
# From last entry
|
|
111
117
|
NEWEST = "newest"
|
|
112
118
|
|
|
113
119
|
|
|
114
120
|
class EventFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
115
121
|
r"""Format of individual events"""
|
|
116
122
|
|
|
123
|
+
# JSON
|
|
117
124
|
JSON = "json"
|
|
125
|
+
# XML
|
|
118
126
|
XML = "xml"
|
|
119
127
|
|
|
120
128
|
|
|
@@ -29,14 +29,18 @@ class InputWizConnection(BaseModel):
|
|
|
29
29
|
class InputWizMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWizCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -137,8 +141,11 @@ class InputWizMetadatum(BaseModel):
|
|
|
137
141
|
class InputWizRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
138
142
|
r"""The algorithm to use when performing HTTP retries"""
|
|
139
143
|
|
|
144
|
+
# Disabled
|
|
140
145
|
NONE = "none"
|
|
146
|
+
# Backoff
|
|
141
147
|
BACKOFF = "backoff"
|
|
148
|
+
# Static
|
|
142
149
|
STATIC = "static"
|
|
143
150
|
|
|
144
151
|
|
|
@@ -29,14 +29,18 @@ class InputWizWebhookConnection(BaseModel):
|
|
|
29
29
|
class InputWizWebhookMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputWizWebhookCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -29,14 +29,18 @@ class InputZscalerHecConnection(BaseModel):
|
|
|
29
29
|
class InputZscalerHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
31
31
|
|
|
32
|
+
# Smart
|
|
32
33
|
SMART = "smart"
|
|
34
|
+
# Always On
|
|
33
35
|
ALWAYS = "always"
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
class InputZscalerHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
39
|
r"""Codec to use to compress the persisted data"""
|
|
38
40
|
|
|
41
|
+
# None
|
|
39
42
|
NONE = "none"
|
|
43
|
+
# Gzip
|
|
40
44
|
GZIP = "gzip"
|
|
41
45
|
|
|
42
46
|
|
|
@@ -4,13 +4,14 @@ from __future__ import annotations
|
|
|
4
4
|
from .jobstatus import JobStatus, JobStatusTypedDict
|
|
5
5
|
from .runnablejob import RunnableJob, RunnableJobTypedDict
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from typing import Optional
|
|
7
|
+
from typing import Dict, Optional
|
|
8
8
|
from typing_extensions import NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class JobInfoTypedDict(TypedDict):
|
|
12
12
|
args: RunnableJobTypedDict
|
|
13
13
|
id: str
|
|
14
|
+
stats: Dict[str, float]
|
|
14
15
|
status: JobStatusTypedDict
|
|
15
16
|
keep: NotRequired[bool]
|
|
16
17
|
|
|
@@ -20,6 +21,8 @@ class JobInfo(BaseModel):
|
|
|
20
21
|
|
|
21
22
|
id: str
|
|
22
23
|
|
|
24
|
+
stats: Dict[str, float]
|
|
25
|
+
|
|
23
26
|
status: JobStatus
|
|
24
27
|
|
|
25
28
|
keep: Optional[bool] = None
|