cribl-control-plane 0.0.35__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 +2 -2
- cribl_control_plane/models/__init__.py +189 -414
- cribl_control_plane/models/input.py +78 -76
- 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-0.0.35.dist-info → cribl_control_plane-0.0.37a1.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.0.35.dist-info → cribl_control_plane-0.0.37a1.dist-info}/RECORD +10 -10
- {cribl_control_plane-0.0.35.dist-info → cribl_control_plane-0.0.37a1.dist-info}/WHEEL +0 -0
|
@@ -65,58 +65,62 @@ from .inputwindowsmetrics import InputWindowsMetrics, InputWindowsMetricsTypedDi
|
|
|
65
65
|
from .inputwineventlogs import InputWinEventLogs, InputWinEventLogsTypedDict
|
|
66
66
|
from .inputwiz import InputWiz, InputWizTypedDict
|
|
67
67
|
from .inputzscalerhec import InputZscalerHec, InputZscalerHecTypedDict
|
|
68
|
+
from cribl_control_plane.utils import get_discriminator
|
|
69
|
+
from pydantic import Discriminator, Tag
|
|
68
70
|
from typing import Union
|
|
69
|
-
from typing_extensions import TypeAliasType
|
|
71
|
+
from typing_extensions import Annotated, TypeAliasType
|
|
70
72
|
|
|
71
73
|
|
|
72
74
|
InputTypedDict = TypeAliasType(
|
|
73
75
|
"InputTypedDict",
|
|
74
76
|
Union[
|
|
75
|
-
InputDatagenTypedDict,
|
|
76
77
|
InputKubeEventsTypedDict,
|
|
78
|
+
InputDatagenTypedDict,
|
|
77
79
|
InputCriblTypedDict,
|
|
78
80
|
InputCriblmetricsTypedDict,
|
|
79
81
|
InputKubeMetricsTypedDict,
|
|
80
82
|
InputCollectionTypedDict,
|
|
81
83
|
InputSystemStateTypedDict,
|
|
82
|
-
InputModelDrivenTelemetryTypedDict,
|
|
83
84
|
InputWindowsMetricsTypedDict,
|
|
85
|
+
InputModelDrivenTelemetryTypedDict,
|
|
84
86
|
InputSystemMetricsTypedDict,
|
|
85
87
|
InputJournalFilesTypedDict,
|
|
88
|
+
InputKubeLogsTypedDict,
|
|
86
89
|
InputRawUDPTypedDict,
|
|
87
90
|
InputWinEventLogsTypedDict,
|
|
88
91
|
InputExecTypedDict,
|
|
89
|
-
InputKubeLogsTypedDict,
|
|
90
92
|
InputMetricsTypedDict,
|
|
91
93
|
InputSnmpTypedDict,
|
|
92
94
|
InputCriblTCPTypedDict,
|
|
93
95
|
InputNetflowTypedDict,
|
|
94
96
|
InputTcpjsonTypedDict,
|
|
95
97
|
InputGooglePubsubTypedDict,
|
|
96
|
-
InputTCPTypedDict,
|
|
97
|
-
InputWizTypedDict,
|
|
98
98
|
InputOffice365ServiceTypedDict,
|
|
99
|
+
InputWizTypedDict,
|
|
100
|
+
InputTCPTypedDict,
|
|
99
101
|
InputFirehoseTypedDict,
|
|
100
102
|
InputCriblHTTPTypedDict,
|
|
101
|
-
InputOffice365MgmtTypedDict,
|
|
102
103
|
InputDatadogAgentTypedDict,
|
|
104
|
+
InputOffice365MgmtTypedDict,
|
|
103
105
|
InputFileTypedDict,
|
|
104
106
|
InputSplunkTypedDict,
|
|
105
107
|
InputAppscopeTypedDict,
|
|
108
|
+
InputGrafanaTypedDict,
|
|
106
109
|
InputWefTypedDict,
|
|
107
110
|
InputHTTPRawTypedDict,
|
|
108
|
-
InputHTTPTypedDict,
|
|
109
111
|
InputCriblLakeHTTPTypedDict,
|
|
110
|
-
|
|
111
|
-
InputSqsTypedDict,
|
|
112
|
+
InputHTTPTypedDict,
|
|
112
113
|
InputZscalerHecTypedDict,
|
|
113
|
-
|
|
114
|
+
InputSyslogTypedDict,
|
|
115
|
+
InputSqsTypedDict,
|
|
116
|
+
InputAzureBlobTypedDict,
|
|
117
|
+
InputConfluentCloudTypedDict,
|
|
114
118
|
InputKinesisTypedDict,
|
|
119
|
+
InputEventhubTypedDict,
|
|
115
120
|
InputKafkaTypedDict,
|
|
116
|
-
InputConfluentCloudTypedDict,
|
|
117
121
|
InputElasticTypedDict,
|
|
118
|
-
InputOffice365MsgTraceTypedDict,
|
|
119
122
|
InputSplunkHecTypedDict,
|
|
123
|
+
InputOffice365MsgTraceTypedDict,
|
|
120
124
|
InputPrometheusRwTypedDict,
|
|
121
125
|
InputLokiTypedDict,
|
|
122
126
|
InputPrometheusTypedDict,
|
|
@@ -128,72 +132,70 @@ InputTypedDict = TypeAliasType(
|
|
|
128
132
|
InputMskTypedDict,
|
|
129
133
|
InputS3InventoryTypedDict,
|
|
130
134
|
InputSplunkSearchTypedDict,
|
|
131
|
-
InputSyslogTypedDict,
|
|
132
|
-
InputGrafanaTypedDict,
|
|
133
135
|
],
|
|
134
136
|
)
|
|
135
137
|
|
|
136
138
|
|
|
137
|
-
Input =
|
|
138
|
-
"Input",
|
|
139
|
+
Input = Annotated[
|
|
139
140
|
Union[
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
-
|
|
141
|
+
Annotated[InputCollection, Tag("collection")],
|
|
142
|
+
Annotated[InputKafka, Tag("kafka")],
|
|
143
|
+
Annotated[InputMsk, Tag("msk")],
|
|
144
|
+
Annotated[InputHTTP, Tag("http")],
|
|
145
|
+
Annotated[InputSplunk, Tag("splunk")],
|
|
146
|
+
Annotated[InputSplunkSearch, Tag("splunk_search")],
|
|
147
|
+
Annotated[InputSplunkHec, Tag("splunk_hec")],
|
|
148
|
+
Annotated[InputAzureBlob, Tag("azure_blob")],
|
|
149
|
+
Annotated[InputElastic, Tag("elastic")],
|
|
150
|
+
Annotated[InputConfluentCloud, Tag("confluent_cloud")],
|
|
151
|
+
Annotated[InputGrafana, Tag("grafana")],
|
|
152
|
+
Annotated[InputLoki, Tag("loki")],
|
|
153
|
+
Annotated[InputPrometheusRw, Tag("prometheus_rw")],
|
|
154
|
+
Annotated[InputPrometheus, Tag("prometheus")],
|
|
155
|
+
Annotated[InputEdgePrometheus, Tag("edge_prometheus")],
|
|
156
|
+
Annotated[InputOffice365Mgmt, Tag("office365_mgmt")],
|
|
157
|
+
Annotated[InputOffice365Service, Tag("office365_service")],
|
|
158
|
+
Annotated[InputOffice365MsgTrace, Tag("office365_msg_trace")],
|
|
159
|
+
Annotated[InputEventhub, Tag("eventhub")],
|
|
160
|
+
Annotated[InputExec, Tag("exec")],
|
|
161
|
+
Annotated[InputFirehose, Tag("firehose")],
|
|
162
|
+
Annotated[InputGooglePubsub, Tag("google_pubsub")],
|
|
163
|
+
Annotated[InputCribl, Tag("cribl")],
|
|
164
|
+
Annotated[InputCriblTCP, Tag("cribl_tcp")],
|
|
165
|
+
Annotated[InputCriblHTTP, Tag("cribl_http")],
|
|
166
|
+
Annotated[InputCriblLakeHTTP, Tag("cribl_lake_http")],
|
|
167
|
+
Annotated[InputTcpjson, Tag("tcpjson")],
|
|
168
|
+
Annotated[InputSystemMetrics, Tag("system_metrics")],
|
|
169
|
+
Annotated[InputSystemState, Tag("system_state")],
|
|
170
|
+
Annotated[InputKubeMetrics, Tag("kube_metrics")],
|
|
171
|
+
Annotated[InputKubeLogs, Tag("kube_logs")],
|
|
172
|
+
Annotated[InputKubeEvents, Tag("kube_events")],
|
|
173
|
+
Annotated[InputWindowsMetrics, Tag("windows_metrics")],
|
|
174
|
+
Annotated[InputCrowdstrike, Tag("crowdstrike")],
|
|
175
|
+
Annotated[InputDatadogAgent, Tag("datadog_agent")],
|
|
176
|
+
Annotated[InputDatagen, Tag("datagen")],
|
|
177
|
+
Annotated[InputHTTPRaw, Tag("http_raw")],
|
|
178
|
+
Annotated[InputKinesis, Tag("kinesis")],
|
|
179
|
+
Annotated[InputCriblmetrics, Tag("criblmetrics")],
|
|
180
|
+
Annotated[InputMetrics, Tag("metrics")],
|
|
181
|
+
Annotated[InputS3, Tag("s3")],
|
|
182
|
+
Annotated[InputS3Inventory, Tag("s3_inventory")],
|
|
183
|
+
Annotated[InputSnmp, Tag("snmp")],
|
|
184
|
+
Annotated[InputOpenTelemetry, Tag("open_telemetry")],
|
|
185
|
+
Annotated[InputModelDrivenTelemetry, Tag("model_driven_telemetry")],
|
|
186
|
+
Annotated[InputSqs, Tag("sqs")],
|
|
187
|
+
Annotated[InputSyslog, Tag("syslog")],
|
|
188
|
+
Annotated[InputFile, Tag("file")],
|
|
189
|
+
Annotated[InputTCP, Tag("tcp")],
|
|
190
|
+
Annotated[InputAppscope, Tag("appscope")],
|
|
191
|
+
Annotated[InputWef, Tag("wef")],
|
|
192
|
+
Annotated[InputWinEventLogs, Tag("win_event_logs")],
|
|
193
|
+
Annotated[InputRawUDP, Tag("raw_udp")],
|
|
194
|
+
Annotated[InputJournalFiles, Tag("journal_files")],
|
|
195
|
+
Annotated[InputWiz, Tag("wiz")],
|
|
196
|
+
Annotated[InputNetflow, Tag("netflow")],
|
|
197
|
+
Annotated[InputSecurityLake, Tag("security_lake")],
|
|
198
|
+
Annotated[InputZscalerHec, Tag("zscaler_hec")],
|
|
198
199
|
],
|
|
199
|
-
)
|
|
200
|
+
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
|
201
|
+
]
|