cribl-control-plane 0.0.36__py3-none-any.whl → 0.0.37a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/commits.py +4 -4
- cribl_control_plane/models/__init__.py +189 -487
- cribl_control_plane/models/gitrevertparams.py +3 -3
- cribl_control_plane/models/input.py +76 -77
- cribl_control_plane/models/inputgrafana.py +67 -678
- cribl_control_plane/models/inputsyslog.py +37 -406
- cribl_control_plane/models/output.py +77 -75
- cribl_control_plane/models/outputgrafanacloud.py +69 -565
- cribl_control_plane/packs.py +0 -174
- {cribl_control_plane-0.0.36.dist-info → cribl_control_plane-0.0.37a1.dist-info}/METADATA +2 -3
- {cribl_control_plane-0.0.36.dist-info → cribl_control_plane-0.0.37a1.dist-info}/RECORD +13 -15
- cribl_control_plane/models/getpacksbyidop.py +0 -37
- cribl_control_plane/models/inputwizwebhook.py +0 -393
- {cribl_control_plane-0.0.36.dist-info → cribl_control_plane-0.0.37a1.dist-info}/WHEEL +0 -0
|
@@ -80,8 +80,10 @@ from .outputtcpjson import OutputTcpjson, OutputTcpjsonTypedDict
|
|
|
80
80
|
from .outputwavefront import OutputWavefront, OutputWavefrontTypedDict
|
|
81
81
|
from .outputwebhook import OutputWebhook, OutputWebhookTypedDict
|
|
82
82
|
from .outputxsiam import OutputXsiam, OutputXsiamTypedDict
|
|
83
|
+
from cribl_control_plane.utils import get_discriminator
|
|
84
|
+
from pydantic import Discriminator, Tag
|
|
83
85
|
from typing import Union
|
|
84
|
-
from typing_extensions import TypeAliasType
|
|
86
|
+
from typing_extensions import Annotated, TypeAliasType
|
|
85
87
|
|
|
86
88
|
|
|
87
89
|
OutputTypedDict = TypeAliasType(
|
|
@@ -90,25 +92,25 @@ OutputTypedDict = TypeAliasType(
|
|
|
90
92
|
OutputDevnullTypedDict,
|
|
91
93
|
OutputDefaultTypedDict,
|
|
92
94
|
OutputRouterTypedDict,
|
|
93
|
-
OutputNetflowTypedDict,
|
|
94
95
|
OutputSnmpTypedDict,
|
|
96
|
+
OutputNetflowTypedDict,
|
|
95
97
|
OutputDiskSpoolTypedDict,
|
|
96
98
|
OutputRingTypedDict,
|
|
97
|
-
OutputStatsdExtTypedDict,
|
|
98
99
|
OutputGraphiteTypedDict,
|
|
99
100
|
OutputStatsdTypedDict,
|
|
101
|
+
OutputStatsdExtTypedDict,
|
|
100
102
|
OutputGooglePubsubTypedDict,
|
|
101
103
|
OutputCriblTCPTypedDict,
|
|
102
|
-
OutputSnsTypedDict,
|
|
103
104
|
OutputSplunkTypedDict,
|
|
105
|
+
OutputSnsTypedDict,
|
|
104
106
|
OutputCloudwatchTypedDict,
|
|
105
107
|
OutputSyslogTypedDict,
|
|
106
108
|
OutputAzureEventhubTypedDict,
|
|
107
109
|
OutputWavefrontTypedDict,
|
|
108
110
|
OutputSignalfxTypedDict,
|
|
109
111
|
OutputHoneycombTypedDict,
|
|
110
|
-
OutputSumoLogicTypedDict,
|
|
111
112
|
OutputTcpjsonTypedDict,
|
|
113
|
+
OutputSumoLogicTypedDict,
|
|
112
114
|
OutputHumioHecTypedDict,
|
|
113
115
|
OutputElasticCloudTypedDict,
|
|
114
116
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
@@ -122,6 +124,7 @@ OutputTypedDict = TypeAliasType(
|
|
|
122
124
|
OutputSqsTypedDict,
|
|
123
125
|
OutputNewrelicTypedDict,
|
|
124
126
|
OutputCriblHTTPTypedDict,
|
|
127
|
+
OutputGrafanaCloudTypedDict,
|
|
125
128
|
OutputXsiamTypedDict,
|
|
126
129
|
OutputFilesystemTypedDict,
|
|
127
130
|
OutputDatasetTypedDict,
|
|
@@ -130,10 +133,10 @@ OutputTypedDict = TypeAliasType(
|
|
|
130
133
|
OutputServiceNowTypedDict,
|
|
131
134
|
OutputLokiTypedDict,
|
|
132
135
|
OutputDynatraceOtlpTypedDict,
|
|
133
|
-
OutputGoogleChronicleTypedDict,
|
|
134
136
|
OutputElasticTypedDict,
|
|
135
|
-
|
|
137
|
+
OutputGoogleChronicleTypedDict,
|
|
136
138
|
OutputCriblLakeTypedDict,
|
|
139
|
+
OutputDatadogTypedDict,
|
|
137
140
|
OutputPrometheusTypedDict,
|
|
138
141
|
OutputMskTypedDict,
|
|
139
142
|
OutputSentinelOneAiSiemTypedDict,
|
|
@@ -150,77 +153,76 @@ OutputTypedDict = TypeAliasType(
|
|
|
150
153
|
OutputAzureDataExplorerTypedDict,
|
|
151
154
|
OutputWebhookTypedDict,
|
|
152
155
|
OutputGoogleCloudLoggingTypedDict,
|
|
153
|
-
OutputGrafanaCloudTypedDict,
|
|
154
156
|
],
|
|
155
157
|
)
|
|
156
158
|
|
|
157
159
|
|
|
158
|
-
Output =
|
|
159
|
-
"Output",
|
|
160
|
+
Output = Annotated[
|
|
160
161
|
Union[
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
-
|
|
162
|
+
Annotated[OutputDefault, Tag("default")],
|
|
163
|
+
Annotated[OutputWebhook, Tag("webhook")],
|
|
164
|
+
Annotated[OutputSentinel, Tag("sentinel")],
|
|
165
|
+
Annotated[OutputDevnull, Tag("devnull")],
|
|
166
|
+
Annotated[OutputSyslog, Tag("syslog")],
|
|
167
|
+
Annotated[OutputSplunk, Tag("splunk")],
|
|
168
|
+
Annotated[OutputSplunkLb, Tag("splunk_lb")],
|
|
169
|
+
Annotated[OutputSplunkHec, Tag("splunk_hec")],
|
|
170
|
+
Annotated[OutputTcpjson, Tag("tcpjson")],
|
|
171
|
+
Annotated[OutputWavefront, Tag("wavefront")],
|
|
172
|
+
Annotated[OutputSignalfx, Tag("signalfx")],
|
|
173
|
+
Annotated[OutputFilesystem, Tag("filesystem")],
|
|
174
|
+
Annotated[OutputS3, Tag("s3")],
|
|
175
|
+
Annotated[OutputAzureBlob, Tag("azure_blob")],
|
|
176
|
+
Annotated[OutputAzureDataExplorer, Tag("azure_data_explorer")],
|
|
177
|
+
Annotated[OutputAzureLogs, Tag("azure_logs")],
|
|
178
|
+
Annotated[OutputKinesis, Tag("kinesis")],
|
|
179
|
+
Annotated[OutputHoneycomb, Tag("honeycomb")],
|
|
180
|
+
Annotated[OutputAzureEventhub, Tag("azure_eventhub")],
|
|
181
|
+
Annotated[OutputGoogleChronicle, Tag("google_chronicle")],
|
|
182
|
+
Annotated[OutputGoogleCloudStorage, Tag("google_cloud_storage")],
|
|
183
|
+
Annotated[OutputGoogleCloudLogging, Tag("google_cloud_logging")],
|
|
184
|
+
Annotated[OutputGooglePubsub, Tag("google_pubsub")],
|
|
185
|
+
Annotated[OutputExabeam, Tag("exabeam")],
|
|
186
|
+
Annotated[OutputKafka, Tag("kafka")],
|
|
187
|
+
Annotated[OutputConfluentCloud, Tag("confluent_cloud")],
|
|
188
|
+
Annotated[OutputMsk, Tag("msk")],
|
|
189
|
+
Annotated[OutputElastic, Tag("elastic")],
|
|
190
|
+
Annotated[OutputElasticCloud, Tag("elastic_cloud")],
|
|
191
|
+
Annotated[OutputNewrelic, Tag("newrelic")],
|
|
192
|
+
Annotated[OutputNewrelicEvents, Tag("newrelic_events")],
|
|
193
|
+
Annotated[OutputInfluxdb, Tag("influxdb")],
|
|
194
|
+
Annotated[OutputCloudwatch, Tag("cloudwatch")],
|
|
195
|
+
Annotated[OutputMinio, Tag("minio")],
|
|
196
|
+
Annotated[OutputStatsd, Tag("statsd")],
|
|
197
|
+
Annotated[OutputStatsdExt, Tag("statsd_ext")],
|
|
198
|
+
Annotated[OutputGraphite, Tag("graphite")],
|
|
199
|
+
Annotated[OutputRouter, Tag("router")],
|
|
200
|
+
Annotated[OutputSns, Tag("sns")],
|
|
201
|
+
Annotated[OutputSqs, Tag("sqs")],
|
|
202
|
+
Annotated[OutputSnmp, Tag("snmp")],
|
|
203
|
+
Annotated[OutputSumoLogic, Tag("sumo_logic")],
|
|
204
|
+
Annotated[OutputDatadog, Tag("datadog")],
|
|
205
|
+
Annotated[OutputGrafanaCloud, Tag("grafana_cloud")],
|
|
206
|
+
Annotated[OutputLoki, Tag("loki")],
|
|
207
|
+
Annotated[OutputPrometheus, Tag("prometheus")],
|
|
208
|
+
Annotated[OutputRing, Tag("ring")],
|
|
209
|
+
Annotated[OutputOpenTelemetry, Tag("open_telemetry")],
|
|
210
|
+
Annotated[OutputServiceNow, Tag("service_now")],
|
|
211
|
+
Annotated[OutputDataset, Tag("dataset")],
|
|
212
|
+
Annotated[OutputCriblTCP, Tag("cribl_tcp")],
|
|
213
|
+
Annotated[OutputCriblHTTP, Tag("cribl_http")],
|
|
214
|
+
Annotated[OutputHumioHec, Tag("humio_hec")],
|
|
215
|
+
Annotated[OutputCrowdstrikeNextGenSiem, Tag("crowdstrike_next_gen_siem")],
|
|
216
|
+
Annotated[OutputDlS3, Tag("dl_s3")],
|
|
217
|
+
Annotated[OutputSecurityLake, Tag("security_lake")],
|
|
218
|
+
Annotated[OutputCriblLake, Tag("cribl_lake")],
|
|
219
|
+
Annotated[OutputDiskSpool, Tag("disk_spool")],
|
|
220
|
+
Annotated[OutputClickHouse, Tag("click_house")],
|
|
221
|
+
Annotated[OutputXsiam, Tag("xsiam")],
|
|
222
|
+
Annotated[OutputNetflow, Tag("netflow")],
|
|
223
|
+
Annotated[OutputDynatraceHTTP, Tag("dynatrace_http")],
|
|
224
|
+
Annotated[OutputDynatraceOtlp, Tag("dynatrace_otlp")],
|
|
225
|
+
Annotated[OutputSentinelOneAiSiem, Tag("sentinel_one_ai_siem")],
|
|
225
226
|
],
|
|
226
|
-
)
|
|
227
|
+
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
|
228
|
+
]
|