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
|
@@ -18,9 +18,7 @@ class OutputSumoLogicType(str, Enum):
|
|
|
18
18
|
class OutputSumoLogicDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Preserve the raw event format instead of JSONifying it"""
|
|
20
20
|
|
|
21
|
-
# JSON
|
|
22
21
|
JSON = "json"
|
|
23
|
-
# Raw
|
|
24
22
|
RAW = "raw"
|
|
25
23
|
|
|
26
24
|
|
|
@@ -38,11 +36,8 @@ class OutputSumoLogicExtraHTTPHeader(BaseModel):
|
|
|
38
36
|
class OutputSumoLogicFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
37
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
40
38
|
|
|
41
|
-
# Payload
|
|
42
39
|
PAYLOAD = "payload"
|
|
43
|
-
# Payload + Headers
|
|
44
40
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
45
|
-
# None
|
|
46
41
|
NONE = "none"
|
|
47
42
|
|
|
48
43
|
|
|
@@ -103,40 +98,30 @@ class OutputSumoLogicTimeoutRetrySettings(BaseModel):
|
|
|
103
98
|
class OutputSumoLogicBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
104
99
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
105
100
|
|
|
106
|
-
# Block
|
|
107
101
|
BLOCK = "block"
|
|
108
|
-
# Drop
|
|
109
102
|
DROP = "drop"
|
|
110
|
-
# Persistent Queue
|
|
111
103
|
QUEUE = "queue"
|
|
112
104
|
|
|
113
105
|
|
|
114
106
|
class OutputSumoLogicCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
115
107
|
r"""Codec to use to compress the persisted data"""
|
|
116
108
|
|
|
117
|
-
# None
|
|
118
109
|
NONE = "none"
|
|
119
|
-
# Gzip
|
|
120
110
|
GZIP = "gzip"
|
|
121
111
|
|
|
122
112
|
|
|
123
113
|
class OutputSumoLogicQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
124
114
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
125
115
|
|
|
126
|
-
# Block
|
|
127
116
|
BLOCK = "block"
|
|
128
|
-
# Drop new data
|
|
129
117
|
DROP = "drop"
|
|
130
118
|
|
|
131
119
|
|
|
132
120
|
class OutputSumoLogicMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
133
121
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
134
122
|
|
|
135
|
-
# Error
|
|
136
123
|
ERROR = "error"
|
|
137
|
-
# Backpressure
|
|
138
124
|
BACKPRESSURE = "backpressure"
|
|
139
|
-
# Always On
|
|
140
125
|
ALWAYS = "always"
|
|
141
126
|
|
|
142
127
|
|
|
@@ -18,9 +18,7 @@ class OutputSyslogType(str, Enum):
|
|
|
18
18
|
class OutputSyslogProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""The network protocol to use for sending out syslog messages"""
|
|
20
20
|
|
|
21
|
-
# TCP
|
|
22
21
|
TCP = "tcp"
|
|
23
|
-
# UDP
|
|
24
22
|
UDP = "udp"
|
|
25
23
|
|
|
26
24
|
|
|
@@ -54,39 +52,27 @@ class Facility(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
54
52
|
class OutputSyslogSeverity(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
55
53
|
r"""Default value for message severity. Will be overwritten by value of __severity if set. Defaults to notice."""
|
|
56
54
|
|
|
57
|
-
# emergency
|
|
58
55
|
ZERO = 0
|
|
59
|
-
# alert
|
|
60
56
|
ONE = 1
|
|
61
|
-
# critical
|
|
62
57
|
TWO = 2
|
|
63
|
-
# error
|
|
64
58
|
THREE = 3
|
|
65
|
-
# warning
|
|
66
59
|
FOUR = 4
|
|
67
|
-
# notice
|
|
68
60
|
FIVE = 5
|
|
69
|
-
# info
|
|
70
61
|
SIX = 6
|
|
71
|
-
# debug
|
|
72
62
|
SEVEN = 7
|
|
73
63
|
|
|
74
64
|
|
|
75
65
|
class OutputSyslogMessageFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
76
66
|
r"""The syslog message format depending on the receiver's support"""
|
|
77
67
|
|
|
78
|
-
# RFC3164
|
|
79
68
|
RFC3164 = "rfc3164"
|
|
80
|
-
# RFC5424
|
|
81
69
|
RFC5424 = "rfc5424"
|
|
82
70
|
|
|
83
71
|
|
|
84
72
|
class TimestampFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
85
73
|
r"""Timestamp format to use when serializing event's time field"""
|
|
86
74
|
|
|
87
|
-
# Syslog
|
|
88
75
|
SYSLOG = "syslog"
|
|
89
|
-
# ISO8601
|
|
90
76
|
ISO8601 = "iso8601"
|
|
91
77
|
|
|
92
78
|
|
|
@@ -176,40 +162,30 @@ class OutputSyslogTLSSettingsClientSide(BaseModel):
|
|
|
176
162
|
class OutputSyslogBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
177
163
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
178
164
|
|
|
179
|
-
# Block
|
|
180
165
|
BLOCK = "block"
|
|
181
|
-
# Drop
|
|
182
166
|
DROP = "drop"
|
|
183
|
-
# Persistent Queue
|
|
184
167
|
QUEUE = "queue"
|
|
185
168
|
|
|
186
169
|
|
|
187
170
|
class OutputSyslogCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
188
171
|
r"""Codec to use to compress the persisted data"""
|
|
189
172
|
|
|
190
|
-
# None
|
|
191
173
|
NONE = "none"
|
|
192
|
-
# Gzip
|
|
193
174
|
GZIP = "gzip"
|
|
194
175
|
|
|
195
176
|
|
|
196
177
|
class OutputSyslogQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
197
178
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
198
179
|
|
|
199
|
-
# Block
|
|
200
180
|
BLOCK = "block"
|
|
201
|
-
# Drop new data
|
|
202
181
|
DROP = "drop"
|
|
203
182
|
|
|
204
183
|
|
|
205
184
|
class OutputSyslogMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
206
185
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
207
186
|
|
|
208
|
-
# Error
|
|
209
187
|
ERROR = "error"
|
|
210
|
-
# Backpressure
|
|
211
188
|
BACKPRESSURE = "backpressure"
|
|
212
|
-
# Always On
|
|
213
189
|
ALWAYS = "always"
|
|
214
190
|
|
|
215
191
|
|
|
@@ -18,9 +18,7 @@ class OutputTcpjsonType(str, Enum):
|
|
|
18
18
|
class OutputTcpjsonCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Codec to use to compress the data before sending"""
|
|
20
20
|
|
|
21
|
-
# None
|
|
22
21
|
NONE = "none"
|
|
23
|
-
# Gzip
|
|
24
22
|
GZIP = "gzip"
|
|
25
23
|
|
|
26
24
|
|
|
@@ -110,11 +108,8 @@ class OutputTcpjsonTLSSettingsClientSide(BaseModel):
|
|
|
110
108
|
class OutputTcpjsonBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
109
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
112
110
|
|
|
113
|
-
# Block
|
|
114
111
|
BLOCK = "block"
|
|
115
|
-
# Drop
|
|
116
112
|
DROP = "drop"
|
|
117
|
-
# Persistent Queue
|
|
118
113
|
QUEUE = "queue"
|
|
119
114
|
|
|
120
115
|
|
|
@@ -167,29 +162,22 @@ class OutputTcpjsonHost(BaseModel):
|
|
|
167
162
|
class OutputTcpjsonPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
168
163
|
r"""Codec to use to compress the persisted data"""
|
|
169
164
|
|
|
170
|
-
# None
|
|
171
165
|
NONE = "none"
|
|
172
|
-
# Gzip
|
|
173
166
|
GZIP = "gzip"
|
|
174
167
|
|
|
175
168
|
|
|
176
169
|
class OutputTcpjsonQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
177
170
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
178
171
|
|
|
179
|
-
# Block
|
|
180
172
|
BLOCK = "block"
|
|
181
|
-
# Drop new data
|
|
182
173
|
DROP = "drop"
|
|
183
174
|
|
|
184
175
|
|
|
185
176
|
class OutputTcpjsonMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
186
177
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
187
178
|
|
|
188
|
-
# Error
|
|
189
179
|
ERROR = "error"
|
|
190
|
-
# Backpressure
|
|
191
180
|
BACKPRESSURE = "backpressure"
|
|
192
|
-
# Always On
|
|
193
181
|
ALWAYS = "always"
|
|
194
182
|
|
|
195
183
|
|
|
@@ -36,11 +36,8 @@ class OutputWavefrontExtraHTTPHeader(BaseModel):
|
|
|
36
36
|
class OutputWavefrontFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
37
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
38
38
|
|
|
39
|
-
# Payload
|
|
40
39
|
PAYLOAD = "payload"
|
|
41
|
-
# Payload + Headers
|
|
42
40
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
43
|
-
# None
|
|
44
41
|
NONE = "none"
|
|
45
42
|
|
|
46
43
|
|
|
@@ -101,40 +98,30 @@ class OutputWavefrontTimeoutRetrySettings(BaseModel):
|
|
|
101
98
|
class OutputWavefrontBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
102
99
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
103
100
|
|
|
104
|
-
# Block
|
|
105
101
|
BLOCK = "block"
|
|
106
|
-
# Drop
|
|
107
102
|
DROP = "drop"
|
|
108
|
-
# Persistent Queue
|
|
109
103
|
QUEUE = "queue"
|
|
110
104
|
|
|
111
105
|
|
|
112
106
|
class OutputWavefrontCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
113
107
|
r"""Codec to use to compress the persisted data"""
|
|
114
108
|
|
|
115
|
-
# None
|
|
116
109
|
NONE = "none"
|
|
117
|
-
# Gzip
|
|
118
110
|
GZIP = "gzip"
|
|
119
111
|
|
|
120
112
|
|
|
121
113
|
class OutputWavefrontQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
122
114
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
123
115
|
|
|
124
|
-
# Block
|
|
125
116
|
BLOCK = "block"
|
|
126
|
-
# Drop new data
|
|
127
117
|
DROP = "drop"
|
|
128
118
|
|
|
129
119
|
|
|
130
120
|
class OutputWavefrontMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
121
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
132
122
|
|
|
133
|
-
# Error
|
|
134
123
|
ERROR = "error"
|
|
135
|
-
# Backpressure
|
|
136
124
|
BACKPRESSURE = "backpressure"
|
|
137
|
-
# Always On
|
|
138
125
|
ALWAYS = "always"
|
|
139
126
|
|
|
140
127
|
|
|
@@ -26,13 +26,9 @@ class OutputWebhookMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
26
26
|
class OutputWebhookFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
27
27
|
r"""How to format events before sending out"""
|
|
28
28
|
|
|
29
|
-
# NDJSON (Newline Delimited JSON)
|
|
30
29
|
NDJSON = "ndjson"
|
|
31
|
-
# JSON Array
|
|
32
30
|
JSON_ARRAY = "json_array"
|
|
33
|
-
# Custom
|
|
34
31
|
CUSTOM = "custom"
|
|
35
|
-
# Advanced
|
|
36
32
|
ADVANCED = "advanced"
|
|
37
33
|
|
|
38
34
|
|
|
@@ -50,11 +46,8 @@ class OutputWebhookExtraHTTPHeader(BaseModel):
|
|
|
50
46
|
class OutputWebhookFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
51
47
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
52
48
|
|
|
53
|
-
# Payload
|
|
54
49
|
PAYLOAD = "payload"
|
|
55
|
-
# Payload + Headers
|
|
56
50
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
57
|
-
# None
|
|
58
51
|
NONE = "none"
|
|
59
52
|
|
|
60
53
|
|
|
@@ -115,28 +108,19 @@ class OutputWebhookTimeoutRetrySettings(BaseModel):
|
|
|
115
108
|
class OutputWebhookBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
116
109
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
117
110
|
|
|
118
|
-
# Block
|
|
119
111
|
BLOCK = "block"
|
|
120
|
-
# Drop
|
|
121
112
|
DROP = "drop"
|
|
122
|
-
# Persistent Queue
|
|
123
113
|
QUEUE = "queue"
|
|
124
114
|
|
|
125
115
|
|
|
126
116
|
class OutputWebhookAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
127
117
|
r"""Authentication method to use for the HTTP request"""
|
|
128
118
|
|
|
129
|
-
# None
|
|
130
119
|
NONE = "none"
|
|
131
|
-
# Basic
|
|
132
120
|
BASIC = "basic"
|
|
133
|
-
# Basic (credentials secret)
|
|
134
121
|
CREDENTIALS_SECRET = "credentialsSecret"
|
|
135
|
-
# Token
|
|
136
122
|
TOKEN = "token"
|
|
137
|
-
# Token (text secret)
|
|
138
123
|
TEXT_SECRET = "textSecret"
|
|
139
|
-
# OAuth
|
|
140
124
|
OAUTH = "oauth"
|
|
141
125
|
|
|
142
126
|
|
|
@@ -215,29 +199,22 @@ class OutputWebhookTLSSettingsClientSide(BaseModel):
|
|
|
215
199
|
class OutputWebhookCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
216
200
|
r"""Codec to use to compress the persisted data"""
|
|
217
201
|
|
|
218
|
-
# None
|
|
219
202
|
NONE = "none"
|
|
220
|
-
# Gzip
|
|
221
203
|
GZIP = "gzip"
|
|
222
204
|
|
|
223
205
|
|
|
224
206
|
class OutputWebhookQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
225
207
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
226
208
|
|
|
227
|
-
# Block
|
|
228
209
|
BLOCK = "block"
|
|
229
|
-
# Drop new data
|
|
230
210
|
DROP = "drop"
|
|
231
211
|
|
|
232
212
|
|
|
233
213
|
class OutputWebhookMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
234
214
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
235
215
|
|
|
236
|
-
# Error
|
|
237
216
|
ERROR = "error"
|
|
238
|
-
# Backpressure
|
|
239
217
|
BACKPRESSURE = "backpressure"
|
|
240
|
-
# Always On
|
|
241
218
|
ALWAYS = "always"
|
|
242
219
|
|
|
243
220
|
|
|
@@ -29,11 +29,8 @@ class OutputXsiamExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputXsiamFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
31
31
|
|
|
32
|
-
# Payload
|
|
33
32
|
PAYLOAD = "payload"
|
|
34
|
-
# Payload + Headers
|
|
35
33
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
36
|
-
# None
|
|
37
34
|
NONE = "none"
|
|
38
35
|
|
|
39
36
|
|
|
@@ -101,11 +98,8 @@ class OutputXsiamTimeoutRetrySettings(BaseModel):
|
|
|
101
98
|
class OutputXsiamBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
102
99
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
103
100
|
|
|
104
|
-
# Block
|
|
105
101
|
BLOCK = "block"
|
|
106
|
-
# Drop
|
|
107
102
|
DROP = "drop"
|
|
108
|
-
# Persistent Queue
|
|
109
103
|
QUEUE = "queue"
|
|
110
104
|
|
|
111
105
|
|
|
@@ -125,29 +119,22 @@ class OutputXsiamURL(BaseModel):
|
|
|
125
119
|
class OutputXsiamCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
126
120
|
r"""Codec to use to compress the persisted data"""
|
|
127
121
|
|
|
128
|
-
# None
|
|
129
122
|
NONE = "none"
|
|
130
|
-
# Gzip
|
|
131
123
|
GZIP = "gzip"
|
|
132
124
|
|
|
133
125
|
|
|
134
126
|
class OutputXsiamQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
135
127
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
136
128
|
|
|
137
|
-
# Block
|
|
138
129
|
BLOCK = "block"
|
|
139
|
-
# Drop new data
|
|
140
130
|
DROP = "drop"
|
|
141
131
|
|
|
142
132
|
|
|
143
133
|
class OutputXsiamMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
144
134
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
145
135
|
|
|
146
|
-
# Error
|
|
147
136
|
ERROR = "error"
|
|
148
|
-
# Backpressure
|
|
149
137
|
BACKPRESSURE = "backpressure"
|
|
150
|
-
# Always On
|
|
151
138
|
ALWAYS = "always"
|
|
152
139
|
|
|
153
140
|
|
|
@@ -8,27 +8,26 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class PackInfoTagsTypedDict(TypedDict):
|
|
11
|
-
data_type:
|
|
11
|
+
data_type: List[str]
|
|
12
|
+
technology: List[str]
|
|
12
13
|
domain: NotRequired[List[str]]
|
|
13
14
|
streamtags: NotRequired[List[str]]
|
|
14
|
-
technology: NotRequired[List[str]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class PackInfoTags(BaseModel):
|
|
18
|
-
data_type: Annotated[
|
|
18
|
+
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
|
+
|
|
20
|
+
technology: List[str]
|
|
19
21
|
|
|
20
22
|
domain: Optional[List[str]] = None
|
|
21
23
|
|
|
22
24
|
streamtags: Optional[List[str]] = None
|
|
23
25
|
|
|
24
|
-
technology: Optional[List[str]] = None
|
|
25
|
-
|
|
26
26
|
|
|
27
27
|
class PackInfoTypedDict(TypedDict):
|
|
28
28
|
id: str
|
|
29
29
|
source: str
|
|
30
30
|
author: NotRequired[str]
|
|
31
|
-
dependencies: NotRequired[Dict[str, str]]
|
|
32
31
|
description: NotRequired[str]
|
|
33
32
|
display_name: NotRequired[str]
|
|
34
33
|
exports: NotRequired[List[str]]
|
|
@@ -49,8 +48,6 @@ class PackInfo(BaseModel):
|
|
|
49
48
|
|
|
50
49
|
author: Optional[str] = None
|
|
51
50
|
|
|
52
|
-
dependencies: Optional[Dict[str, str]] = None
|
|
53
|
-
|
|
54
51
|
description: Optional[str] = None
|
|
55
52
|
|
|
56
53
|
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
@@ -8,27 +8,26 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class PackInstallInfoTagsTypedDict(TypedDict):
|
|
11
|
-
data_type:
|
|
11
|
+
data_type: List[str]
|
|
12
|
+
technology: List[str]
|
|
12
13
|
domain: NotRequired[List[str]]
|
|
13
14
|
streamtags: NotRequired[List[str]]
|
|
14
|
-
technology: NotRequired[List[str]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class PackInstallInfoTags(BaseModel):
|
|
18
|
-
data_type: Annotated[
|
|
18
|
+
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
|
+
|
|
20
|
+
technology: List[str]
|
|
19
21
|
|
|
20
22
|
domain: Optional[List[str]] = None
|
|
21
23
|
|
|
22
24
|
streamtags: Optional[List[str]] = None
|
|
23
25
|
|
|
24
|
-
technology: Optional[List[str]] = None
|
|
25
|
-
|
|
26
26
|
|
|
27
27
|
class PackInstallInfoTypedDict(TypedDict):
|
|
28
28
|
id: str
|
|
29
29
|
source: str
|
|
30
30
|
author: NotRequired[str]
|
|
31
|
-
dependencies: NotRequired[Dict[str, str]]
|
|
32
31
|
description: NotRequired[str]
|
|
33
32
|
display_name: NotRequired[str]
|
|
34
33
|
exports: NotRequired[List[str]]
|
|
@@ -50,8 +49,6 @@ class PackInstallInfo(BaseModel):
|
|
|
50
49
|
|
|
51
50
|
author: Optional[str] = None
|
|
52
51
|
|
|
53
|
-
dependencies: Optional[Dict[str, str]] = None
|
|
54
|
-
|
|
55
52
|
description: Optional[str] = None
|
|
56
53
|
|
|
57
54
|
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
@@ -5,9 +5,9 @@ from cribl_control_plane.types import BaseModel
|
|
|
5
5
|
from typing_extensions import TypedDict
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
9
|
-
|
|
8
|
+
class RouteCloneConfTypedDict(TypedDict):
|
|
9
|
+
pass
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
13
|
-
|
|
12
|
+
class RouteCloneConf(BaseModel):
|
|
13
|
+
pass
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .routecloneconf import RouteCloneConf, RouteCloneConfTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
6
|
import pydantic
|
|
6
|
-
from typing import
|
|
7
|
+
from typing import List, Optional
|
|
7
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
9
|
|
|
9
10
|
|
|
@@ -12,7 +13,7 @@ class RouteConfTypedDict(TypedDict):
|
|
|
12
13
|
id: str
|
|
13
14
|
name: str
|
|
14
15
|
pipeline: str
|
|
15
|
-
clones: NotRequired[List[
|
|
16
|
+
clones: NotRequired[List[RouteCloneConfTypedDict]]
|
|
16
17
|
context: NotRequired[str]
|
|
17
18
|
description: NotRequired[str]
|
|
18
19
|
disabled: NotRequired[bool]
|
|
@@ -32,7 +33,7 @@ class RouteConf(BaseModel):
|
|
|
32
33
|
|
|
33
34
|
pipeline: str
|
|
34
35
|
|
|
35
|
-
clones: Optional[List[
|
|
36
|
+
clones: Optional[List[RouteCloneConf]] = None
|
|
36
37
|
|
|
37
38
|
context: Optional[str] = None
|
|
38
39
|
|
|
@@ -363,13 +363,9 @@ class RunnableJobCollectionTimeWarning(BaseModel):
|
|
|
363
363
|
|
|
364
364
|
|
|
365
365
|
class WhereToCapture(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
366
|
-
# 1. Before pre-processing Pipeline
|
|
367
366
|
ZERO = 0
|
|
368
|
-
# 2. Before the Routes
|
|
369
367
|
ONE = 1
|
|
370
|
-
# 3. Before post-processing Pipeline
|
|
371
368
|
TWO = 2
|
|
372
|
-
# 4. Before the Destination
|
|
373
369
|
THREE = 3
|
|
374
370
|
|
|
375
371
|
|