cribl-control-plane 0.2.1rc6__py3-none-any.whl → 0.3.0a1__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 -4
- cribl_control_plane/errors/__init__.py +5 -8
- cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
- cribl_control_plane/groups_sdk.py +30 -54
- cribl_control_plane/health.py +16 -22
- cribl_control_plane/models/__init__.py +50 -103
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -5
- cribl_control_plane/models/configgroup.py +6 -35
- cribl_control_plane/models/createconfiggroupbyproductop.py +7 -8
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/distributedsummary.py +0 -6
- cribl_control_plane/models/error.py +16 -0
- cribl_control_plane/models/gethealthinfoop.py +17 -0
- cribl_control_plane/models/hbcriblinfo.py +3 -14
- cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +7 -7
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +63 -65
- cribl_control_plane/models/inputappscope.py +0 -4
- cribl_control_plane/models/inputazureblob.py +0 -4
- cribl_control_plane/models/inputcollection.py +0 -4
- cribl_control_plane/models/inputconfluentcloud.py +18 -8
- cribl_control_plane/models/inputcribl.py +0 -4
- cribl_control_plane/models/inputcriblhttp.py +0 -4
- cribl_control_plane/models/inputcribllakehttp.py +0 -4
- cribl_control_plane/models/inputcriblmetrics.py +0 -4
- cribl_control_plane/models/inputcribltcp.py +0 -4
- cribl_control_plane/models/inputcrowdstrike.py +0 -7
- cribl_control_plane/models/inputdatadogagent.py +0 -4
- cribl_control_plane/models/inputdatagen.py +0 -4
- cribl_control_plane/models/inputedgeprometheus.py +0 -12
- cribl_control_plane/models/inputelastic.py +0 -11
- cribl_control_plane/models/inputeventhub.py +0 -6
- cribl_control_plane/models/inputexec.py +0 -4
- cribl_control_plane/models/inputfile.py +0 -6
- cribl_control_plane/models/inputfirehose.py +0 -4
- cribl_control_plane/models/inputgooglepubsub.py +0 -7
- cribl_control_plane/models/inputgrafana.py +0 -8
- cribl_control_plane/models/inputhttp.py +0 -4
- cribl_control_plane/models/inputhttpraw.py +0 -4
- cribl_control_plane/models/inputjournalfiles.py +0 -4
- cribl_control_plane/models/inputkafka.py +17 -8
- cribl_control_plane/models/inputkinesis.py +0 -15
- cribl_control_plane/models/inputkubeevents.py +0 -4
- cribl_control_plane/models/inputkubelogs.py +0 -4
- cribl_control_plane/models/inputkubemetrics.py +0 -4
- cribl_control_plane/models/inputloki.py +0 -4
- cribl_control_plane/models/inputmetrics.py +0 -4
- cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
- cribl_control_plane/models/inputmsk.py +17 -7
- cribl_control_plane/models/inputnetflow.py +0 -4
- cribl_control_plane/models/inputoffice365mgmt.py +0 -11
- cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
- cribl_control_plane/models/inputoffice365service.py +0 -11
- cribl_control_plane/models/inputopentelemetry.py +0 -8
- cribl_control_plane/models/inputprometheus.py +0 -10
- cribl_control_plane/models/inputprometheusrw.py +0 -4
- cribl_control_plane/models/inputrawudp.py +0 -4
- cribl_control_plane/models/inputs3.py +0 -7
- cribl_control_plane/models/inputs3inventory.py +0 -7
- cribl_control_plane/models/inputsecuritylake.py +0 -7
- cribl_control_plane/models/inputsnmp.py +0 -11
- cribl_control_plane/models/inputsplunk.py +0 -9
- cribl_control_plane/models/inputsplunkhec.py +0 -4
- cribl_control_plane/models/inputsplunksearch.py +0 -7
- cribl_control_plane/models/inputsqs.py +0 -9
- cribl_control_plane/models/inputsyslog.py +0 -8
- cribl_control_plane/models/inputsystemmetrics.py +0 -32
- cribl_control_plane/models/inputsystemstate.py +0 -4
- cribl_control_plane/models/inputtcp.py +0 -4
- cribl_control_plane/models/inputtcpjson.py +0 -4
- cribl_control_plane/models/inputwef.py +0 -6
- cribl_control_plane/models/inputwindowsmetrics.py +0 -28
- cribl_control_plane/models/inputwineventlogs.py +0 -8
- cribl_control_plane/models/inputwiz.py +0 -7
- cribl_control_plane/models/inputwizwebhook.py +0 -4
- cribl_control_plane/models/inputzscalerhec.py +0 -4
- cribl_control_plane/models/jobinfo.py +1 -4
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/nodeprovidedinfo.py +1 -11
- cribl_control_plane/models/output.py +72 -77
- cribl_control_plane/models/outputazureblob.py +0 -20
- cribl_control_plane/models/outputazuredataexplorer.py +0 -28
- cribl_control_plane/models/outputazureeventhub.py +0 -17
- cribl_control_plane/models/outputazurelogs.py +0 -13
- cribl_control_plane/models/outputchronicle.py +0 -13
- cribl_control_plane/models/outputclickhouse.py +0 -17
- cribl_control_plane/models/outputcloudwatch.py +0 -13
- cribl_control_plane/models/outputconfluentcloud.py +18 -24
- cribl_control_plane/models/outputcriblhttp.py +0 -15
- cribl_control_plane/models/outputcribllake.py +0 -21
- cribl_control_plane/models/outputcribltcp.py +0 -12
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
- cribl_control_plane/models/outputdatadog.py +0 -30
- cribl_control_plane/models/outputdataset.py +0 -23
- cribl_control_plane/models/outputdls3.py +0 -35
- cribl_control_plane/models/outputdynatracehttp.py +0 -22
- cribl_control_plane/models/outputdynatraceotlp.py +0 -22
- cribl_control_plane/models/outputelastic.py +0 -18
- cribl_control_plane/models/outputelasticcloud.py +0 -13
- cribl_control_plane/models/outputexabeam.py +0 -14
- cribl_control_plane/models/outputfilesystem.py +0 -15
- cribl_control_plane/models/outputgooglechronicle.py +0 -21
- cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
- cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
- cribl_control_plane/models/outputgooglepubsub.py +0 -13
- cribl_control_plane/models/outputgrafanacloud.py +0 -50
- cribl_control_plane/models/outputgraphite.py +0 -12
- cribl_control_plane/models/outputhoneycomb.py +0 -13
- cribl_control_plane/models/outputhumiohec.py +0 -15
- cribl_control_plane/models/outputinfluxdb.py +0 -19
- cribl_control_plane/models/outputkafka.py +17 -24
- cribl_control_plane/models/outputkinesis.py +0 -15
- cribl_control_plane/models/outputloki.py +0 -20
- cribl_control_plane/models/outputminio.py +0 -28
- cribl_control_plane/models/outputmsk.py +17 -23
- cribl_control_plane/models/outputnewrelic.py +0 -16
- cribl_control_plane/models/outputnewrelicevents.py +0 -16
- cribl_control_plane/models/outputopentelemetry.py +0 -22
- cribl_control_plane/models/outputprometheus.py +0 -13
- cribl_control_plane/models/outputring.py +0 -2
- cribl_control_plane/models/outputs3.py +0 -35
- cribl_control_plane/models/outputsecuritylake.py +0 -29
- cribl_control_plane/models/outputsentinel.py +0 -15
- cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
- cribl_control_plane/models/outputservicenow.py +0 -21
- cribl_control_plane/models/outputsignalfx.py +0 -13
- cribl_control_plane/models/outputsns.py +0 -13
- cribl_control_plane/models/outputsplunk.py +0 -15
- cribl_control_plane/models/outputsplunkhec.py +0 -13
- cribl_control_plane/models/outputsplunklb.py +0 -15
- cribl_control_plane/models/outputsqs.py +0 -15
- cribl_control_plane/models/outputstatsd.py +0 -12
- cribl_control_plane/models/outputstatsdext.py +0 -12
- cribl_control_plane/models/outputsumologic.py +0 -15
- cribl_control_plane/models/outputsyslog.py +0 -24
- cribl_control_plane/models/outputtcpjson.py +0 -12
- cribl_control_plane/models/outputwavefront.py +0 -13
- cribl_control_plane/models/outputwebhook.py +0 -23
- cribl_control_plane/models/outputxsiam.py +0 -13
- cribl_control_plane/models/packinfo.py +5 -8
- cribl_control_plane/models/packinstallinfo.py +5 -8
- cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +0 -4
- cribl_control_plane/packs.py +7 -202
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +15 -23
- {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
- {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/RECORD +153 -154
- cribl_control_plane/models/groupcreaterequest.py +0 -152
- cribl_control_plane/models/outpostnodeinfo.py +0 -16
- cribl_control_plane/models/outputdatabricks.py +0 -411
- cribl_control_plane/models/updatepacksop.py +0 -25
- {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputSystemStateCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputTcpjsonCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputWefCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -110,9 +106,7 @@ class InputWefPq(BaseModel):
|
|
|
110
106
|
class InputWefAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
107
|
r"""How to authenticate incoming client connections"""
|
|
112
108
|
|
|
113
|
-
# Client certificate
|
|
114
109
|
CLIENT_CERT = "clientCert"
|
|
115
|
-
# Kerberos
|
|
116
110
|
KERBEROS = "kerberos"
|
|
117
111
|
|
|
118
112
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputWindowsMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -111,26 +107,18 @@ class InputWindowsMetricsPq(BaseModel):
|
|
|
111
107
|
class InputWindowsMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
112
108
|
r"""Select level of detail for host metrics"""
|
|
113
109
|
|
|
114
|
-
# Basic
|
|
115
110
|
BASIC = "basic"
|
|
116
|
-
# All
|
|
117
111
|
ALL = "all"
|
|
118
|
-
# Custom
|
|
119
112
|
CUSTOM = "custom"
|
|
120
|
-
# Disabled
|
|
121
113
|
DISABLED = "disabled"
|
|
122
114
|
|
|
123
115
|
|
|
124
116
|
class InputWindowsMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
125
117
|
r"""Select the level of details for system metrics"""
|
|
126
118
|
|
|
127
|
-
# Basic
|
|
128
119
|
BASIC = "basic"
|
|
129
|
-
# All
|
|
130
120
|
ALL = "all"
|
|
131
|
-
# Custom
|
|
132
121
|
CUSTOM = "custom"
|
|
133
|
-
# Disabled
|
|
134
122
|
DISABLED = "disabled"
|
|
135
123
|
|
|
136
124
|
|
|
@@ -155,13 +143,9 @@ class InputWindowsMetricsSystem(BaseModel):
|
|
|
155
143
|
class InputWindowsMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
156
144
|
r"""Select the level of details for CPU metrics"""
|
|
157
145
|
|
|
158
|
-
# Basic
|
|
159
146
|
BASIC = "basic"
|
|
160
|
-
# All
|
|
161
147
|
ALL = "all"
|
|
162
|
-
# Custom
|
|
163
148
|
CUSTOM = "custom"
|
|
164
|
-
# Disabled
|
|
165
149
|
DISABLED = "disabled"
|
|
166
150
|
|
|
167
151
|
|
|
@@ -195,13 +179,9 @@ class InputWindowsMetricsCPU(BaseModel):
|
|
|
195
179
|
class InputWindowsMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
196
180
|
r"""Select the level of details for memory metrics"""
|
|
197
181
|
|
|
198
|
-
# Basic
|
|
199
182
|
BASIC = "basic"
|
|
200
|
-
# All
|
|
201
183
|
ALL = "all"
|
|
202
|
-
# Custom
|
|
203
184
|
CUSTOM = "custom"
|
|
204
|
-
# Disabled
|
|
205
185
|
DISABLED = "disabled"
|
|
206
186
|
|
|
207
187
|
|
|
@@ -226,13 +206,9 @@ class InputWindowsMetricsMemory(BaseModel):
|
|
|
226
206
|
class InputWindowsMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
227
207
|
r"""Select the level of details for network metrics"""
|
|
228
208
|
|
|
229
|
-
# Basic
|
|
230
209
|
BASIC = "basic"
|
|
231
|
-
# All
|
|
232
210
|
ALL = "all"
|
|
233
|
-
# Custom
|
|
234
211
|
CUSTOM = "custom"
|
|
235
|
-
# Disabled
|
|
236
212
|
DISABLED = "disabled"
|
|
237
213
|
|
|
238
214
|
|
|
@@ -269,13 +245,9 @@ class InputWindowsMetricsNetwork(BaseModel):
|
|
|
269
245
|
class InputWindowsMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
270
246
|
r"""Select the level of details for disk metrics"""
|
|
271
247
|
|
|
272
|
-
# Basic
|
|
273
248
|
BASIC = "basic"
|
|
274
|
-
# All
|
|
275
249
|
ALL = "all"
|
|
276
|
-
# Custom
|
|
277
250
|
CUSTOM = "custom"
|
|
278
|
-
# Disabled
|
|
279
251
|
DISABLED = "disabled"
|
|
280
252
|
|
|
281
253
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputWinEventLogsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -111,18 +107,14 @@ class InputWinEventLogsPq(BaseModel):
|
|
|
111
107
|
class ReadMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
112
108
|
r"""Read all stored and future event logs, or only future events"""
|
|
113
109
|
|
|
114
|
-
# Entire log
|
|
115
110
|
OLDEST = "oldest"
|
|
116
|
-
# From last entry
|
|
117
111
|
NEWEST = "newest"
|
|
118
112
|
|
|
119
113
|
|
|
120
114
|
class EventFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
121
115
|
r"""Format of individual events"""
|
|
122
116
|
|
|
123
|
-
# JSON
|
|
124
117
|
JSON = "json"
|
|
125
|
-
# XML
|
|
126
118
|
XML = "xml"
|
|
127
119
|
|
|
128
120
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputWizCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -141,11 +137,8 @@ class InputWizMetadatum(BaseModel):
|
|
|
141
137
|
class InputWizRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
142
138
|
r"""The algorithm to use when performing HTTP retries"""
|
|
143
139
|
|
|
144
|
-
# Disabled
|
|
145
140
|
NONE = "none"
|
|
146
|
-
# Backoff
|
|
147
141
|
BACKOFF = "backoff"
|
|
148
|
-
# Static
|
|
149
142
|
STATIC = "static"
|
|
150
143
|
|
|
151
144
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputWizWebhookCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -29,18 +29,14 @@ 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
|
|
33
32
|
SMART = "smart"
|
|
34
|
-
# Always On
|
|
35
33
|
ALWAYS = "always"
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
class InputZscalerHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Codec to use to compress the persisted data"""
|
|
40
38
|
|
|
41
|
-
# None
|
|
42
39
|
NONE = "none"
|
|
43
|
-
# Gzip
|
|
44
40
|
GZIP = "gzip"
|
|
45
41
|
|
|
46
42
|
|
|
@@ -4,14 +4,13 @@ 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
|
|
7
|
+
from typing import 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]
|
|
15
14
|
status: JobStatusTypedDict
|
|
16
15
|
keep: NotRequired[bool]
|
|
17
16
|
|
|
@@ -21,8 +20,6 @@ class JobInfo(BaseModel):
|
|
|
21
20
|
|
|
22
21
|
id: str
|
|
23
22
|
|
|
24
|
-
stats: Dict[str, float]
|
|
25
|
-
|
|
26
23
|
status: JobStatus
|
|
27
24
|
|
|
28
25
|
keep: Optional[bool] = None
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .hbcriblinfo import HBCriblInfo, HBCriblInfoTypedDict
|
|
5
5
|
from .heartbeatmetadata import HeartbeatMetadata, HeartbeatMetadataTypedDict
|
|
6
|
-
from .outpostnodeinfo import OutpostNodeInfo, OutpostNodeInfoTypedDict
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
8
7
|
import pydantic
|
|
9
|
-
from typing import
|
|
8
|
+
from typing import List, Optional, Union
|
|
10
9
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
11
10
|
|
|
12
11
|
|
|
@@ -20,7 +19,6 @@ class NodeProvidedInfoTags(BaseModel):
|
|
|
20
19
|
|
|
21
20
|
class NodeProvidedInfoAwsTypedDict(TypedDict):
|
|
22
21
|
enabled: bool
|
|
23
|
-
instance_id: str
|
|
24
22
|
region: str
|
|
25
23
|
type: str
|
|
26
24
|
zone: str
|
|
@@ -30,8 +28,6 @@ class NodeProvidedInfoAwsTypedDict(TypedDict):
|
|
|
30
28
|
class NodeProvidedInfoAws(BaseModel):
|
|
31
29
|
enabled: bool
|
|
32
30
|
|
|
33
|
-
instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
|
|
34
|
-
|
|
35
31
|
region: str
|
|
36
32
|
|
|
37
33
|
type: str
|
|
@@ -129,7 +125,6 @@ class NodeProvidedInfoTypedDict(TypedDict):
|
|
|
129
125
|
architecture: str
|
|
130
126
|
cpus: float
|
|
131
127
|
cribl: HBCriblInfoTypedDict
|
|
132
|
-
env: Dict[str, str]
|
|
133
128
|
free_disk_space: float
|
|
134
129
|
hostname: str
|
|
135
130
|
node: str
|
|
@@ -145,7 +140,6 @@ class NodeProvidedInfoTypedDict(TypedDict):
|
|
|
145
140
|
local_time: NotRequired[float]
|
|
146
141
|
metadata: NotRequired[HeartbeatMetadataTypedDict]
|
|
147
142
|
os: NotRequired[OsTypedDict]
|
|
148
|
-
outpost: NotRequired[OutpostNodeInfoTypedDict]
|
|
149
143
|
|
|
150
144
|
|
|
151
145
|
class NodeProvidedInfo(BaseModel):
|
|
@@ -155,8 +149,6 @@ class NodeProvidedInfo(BaseModel):
|
|
|
155
149
|
|
|
156
150
|
cribl: HBCriblInfo
|
|
157
151
|
|
|
158
|
-
env: Dict[str, str]
|
|
159
|
-
|
|
160
152
|
free_disk_space: Annotated[float, pydantic.Field(alias="freeDiskSpace")]
|
|
161
153
|
|
|
162
154
|
hostname: str
|
|
@@ -190,5 +182,3 @@ class NodeProvidedInfo(BaseModel):
|
|
|
190
182
|
metadata: Optional[HeartbeatMetadata] = None
|
|
191
183
|
|
|
192
184
|
os: Optional[Os] = None
|
|
193
|
-
|
|
194
|
-
outpost: Optional[OutpostNodeInfo] = None
|
|
@@ -19,7 +19,6 @@ from .outputcrowdstrikenextgensiem import (
|
|
|
19
19
|
OutputCrowdstrikeNextGenSiem,
|
|
20
20
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
21
21
|
)
|
|
22
|
-
from .outputdatabricks import OutputDatabricks, OutputDatabricksTypedDict
|
|
23
22
|
from .outputdatadog import OutputDatadog, OutputDatadogTypedDict
|
|
24
23
|
from .outputdataset import OutputDataset, OutputDatasetTypedDict
|
|
25
24
|
from .outputdefault import OutputDefault, OutputDefaultTypedDict
|
|
@@ -82,10 +81,8 @@ from .outputtcpjson import OutputTcpjson, OutputTcpjsonTypedDict
|
|
|
82
81
|
from .outputwavefront import OutputWavefront, OutputWavefrontTypedDict
|
|
83
82
|
from .outputwebhook import OutputWebhook, OutputWebhookTypedDict
|
|
84
83
|
from .outputxsiam import OutputXsiam, OutputXsiamTypedDict
|
|
85
|
-
from cribl_control_plane.utils import get_discriminator
|
|
86
|
-
from pydantic import Discriminator, Tag
|
|
87
84
|
from typing import Union
|
|
88
|
-
from typing_extensions import
|
|
85
|
+
from typing_extensions import TypeAliasType
|
|
89
86
|
|
|
90
87
|
|
|
91
88
|
OutputTypedDict = TypeAliasType(
|
|
@@ -135,11 +132,10 @@ OutputTypedDict = TypeAliasType(
|
|
|
135
132
|
OutputServiceNowTypedDict,
|
|
136
133
|
OutputChronicleTypedDict,
|
|
137
134
|
OutputDynatraceOtlpTypedDict,
|
|
138
|
-
OutputGoogleChronicleTypedDict,
|
|
139
135
|
OutputElasticTypedDict,
|
|
140
|
-
|
|
136
|
+
OutputGoogleChronicleTypedDict,
|
|
141
137
|
OutputCriblLakeTypedDict,
|
|
142
|
-
|
|
138
|
+
OutputDatadogTypedDict,
|
|
143
139
|
OutputPrometheusTypedDict,
|
|
144
140
|
OutputMskTypedDict,
|
|
145
141
|
OutputSentinelOneAiSiemTypedDict,
|
|
@@ -151,8 +147,8 @@ OutputTypedDict = TypeAliasType(
|
|
|
151
147
|
OutputMinioTypedDict,
|
|
152
148
|
OutputClickHouseTypedDict,
|
|
153
149
|
OutputSecurityLakeTypedDict,
|
|
154
|
-
OutputS3TypedDict,
|
|
155
150
|
OutputDlS3TypedDict,
|
|
151
|
+
OutputS3TypedDict,
|
|
156
152
|
OutputWebhookTypedDict,
|
|
157
153
|
OutputAzureDataExplorerTypedDict,
|
|
158
154
|
OutputGoogleCloudLoggingTypedDict,
|
|
@@ -161,74 +157,73 @@ OutputTypedDict = TypeAliasType(
|
|
|
161
157
|
)
|
|
162
158
|
|
|
163
159
|
|
|
164
|
-
Output =
|
|
160
|
+
Output = TypeAliasType(
|
|
161
|
+
"Output",
|
|
165
162
|
Union[
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
Annotated[OutputDatabricks, Tag("databricks")],
|
|
163
|
+
OutputDevnull,
|
|
164
|
+
OutputDefault,
|
|
165
|
+
OutputRouter,
|
|
166
|
+
OutputSnmp,
|
|
167
|
+
OutputNetflow,
|
|
168
|
+
OutputDiskSpool,
|
|
169
|
+
OutputRing,
|
|
170
|
+
OutputStatsdExt,
|
|
171
|
+
OutputGraphite,
|
|
172
|
+
OutputStatsd,
|
|
173
|
+
OutputGooglePubsub,
|
|
174
|
+
OutputCriblTCP,
|
|
175
|
+
OutputSplunk,
|
|
176
|
+
OutputSns,
|
|
177
|
+
OutputCloudwatch,
|
|
178
|
+
OutputAzureEventhub,
|
|
179
|
+
OutputWavefront,
|
|
180
|
+
OutputSignalfx,
|
|
181
|
+
OutputHoneycomb,
|
|
182
|
+
OutputSumoLogic,
|
|
183
|
+
OutputCrowdstrikeNextGenSiem,
|
|
184
|
+
OutputHumioHec,
|
|
185
|
+
OutputTcpjson,
|
|
186
|
+
OutputElasticCloud,
|
|
187
|
+
OutputKinesis,
|
|
188
|
+
OutputConfluentCloud,
|
|
189
|
+
OutputKafka,
|
|
190
|
+
OutputExabeam,
|
|
191
|
+
OutputNewrelicEvents,
|
|
192
|
+
OutputAzureLogs,
|
|
193
|
+
OutputSplunkLb,
|
|
194
|
+
OutputSyslog,
|
|
195
|
+
OutputSqs,
|
|
196
|
+
OutputNewrelic,
|
|
197
|
+
OutputCriblHTTP,
|
|
198
|
+
OutputXsiam,
|
|
199
|
+
OutputFilesystem,
|
|
200
|
+
OutputDataset,
|
|
201
|
+
OutputLoki,
|
|
202
|
+
OutputSplunkHec,
|
|
203
|
+
OutputDynatraceHTTP,
|
|
204
|
+
OutputServiceNow,
|
|
205
|
+
OutputChronicle,
|
|
206
|
+
OutputDynatraceOtlp,
|
|
207
|
+
OutputElastic,
|
|
208
|
+
OutputGoogleChronicle,
|
|
209
|
+
OutputCriblLake,
|
|
210
|
+
OutputDatadog,
|
|
211
|
+
OutputPrometheus,
|
|
212
|
+
OutputMsk,
|
|
213
|
+
OutputSentinelOneAiSiem,
|
|
214
|
+
OutputSentinel,
|
|
215
|
+
OutputInfluxdb,
|
|
216
|
+
OutputGoogleCloudStorage,
|
|
217
|
+
OutputAzureBlob,
|
|
218
|
+
OutputOpenTelemetry,
|
|
219
|
+
OutputMinio,
|
|
220
|
+
OutputClickHouse,
|
|
221
|
+
OutputSecurityLake,
|
|
222
|
+
OutputDlS3,
|
|
223
|
+
OutputS3,
|
|
224
|
+
OutputWebhook,
|
|
225
|
+
OutputAzureDataExplorer,
|
|
226
|
+
OutputGoogleCloudLogging,
|
|
227
|
+
OutputGrafanaCloud,
|
|
232
228
|
],
|
|
233
|
-
|
|
234
|
-
]
|
|
229
|
+
)
|
|
@@ -18,29 +18,22 @@ class OutputAzureBlobType(str, Enum):
|
|
|
18
18
|
class OutputAzureBlobDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Format of the output data"""
|
|
20
20
|
|
|
21
|
-
# JSON
|
|
22
21
|
JSON = "json"
|
|
23
|
-
# Raw
|
|
24
22
|
RAW = "raw"
|
|
25
|
-
# Parquet
|
|
26
23
|
PARQUET = "parquet"
|
|
27
24
|
|
|
28
25
|
|
|
29
26
|
class OutputAzureBlobBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
27
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
31
28
|
|
|
32
|
-
# Block
|
|
33
29
|
BLOCK = "block"
|
|
34
|
-
# Drop
|
|
35
30
|
DROP = "drop"
|
|
36
31
|
|
|
37
32
|
|
|
38
33
|
class OutputAzureBlobDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
34
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
40
35
|
|
|
41
|
-
# Block
|
|
42
36
|
BLOCK = "block"
|
|
43
|
-
# Drop
|
|
44
37
|
DROP = "drop"
|
|
45
38
|
|
|
46
39
|
|
|
@@ -52,15 +45,10 @@ class OutputAzureBlobAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
|
|
|
52
45
|
|
|
53
46
|
|
|
54
47
|
class BlobAccessTier(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
55
|
-
# Default account access tier
|
|
56
48
|
INFERRED = "Inferred"
|
|
57
|
-
# Hot tier
|
|
58
49
|
HOT = "Hot"
|
|
59
|
-
# Cool tier
|
|
60
50
|
COOL = "Cool"
|
|
61
|
-
# Cold tier
|
|
62
51
|
COLD = "Cold"
|
|
63
|
-
# Archive tier
|
|
64
52
|
ARCHIVE = "Archive"
|
|
65
53
|
|
|
66
54
|
|
|
@@ -74,31 +62,23 @@ class OutputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
74
62
|
class OutputAzureBlobCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
75
63
|
r"""Compression level to apply before moving files to final destination"""
|
|
76
64
|
|
|
77
|
-
# Best Speed
|
|
78
65
|
BEST_SPEED = "best_speed"
|
|
79
|
-
# Normal
|
|
80
66
|
NORMAL = "normal"
|
|
81
|
-
# Best Compression
|
|
82
67
|
BEST_COMPRESSION = "best_compression"
|
|
83
68
|
|
|
84
69
|
|
|
85
70
|
class OutputAzureBlobParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
86
71
|
r"""Determines which data types are supported and how they are represented"""
|
|
87
72
|
|
|
88
|
-
# 1.0
|
|
89
73
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
90
|
-
# 2.4
|
|
91
74
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
92
|
-
# 2.6
|
|
93
75
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
94
76
|
|
|
95
77
|
|
|
96
78
|
class OutputAzureBlobDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
97
79
|
r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
|
|
98
80
|
|
|
99
|
-
# V1
|
|
100
81
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
101
|
-
# V2
|
|
102
82
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
103
83
|
|
|
104
84
|
|