cribl-control-plane 0.4.0b23__py3-none-any.whl → 0.5.0b3__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.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/collectors_sdk.py +993 -0
- cribl_control_plane/models/__init__.py +2161 -734
- cribl_control_plane/models/configgroup.py +3 -0
- cribl_control_plane/models/countedsavedjob.py +20 -0
- cribl_control_plane/models/createsavedjobop.py +30 -0
- cribl_control_plane/models/deletesavedjobbyidop.py +42 -0
- cribl_control_plane/models/functionaggregatemetrics.py +7 -144
- cribl_control_plane/models/functionaggregation.py +7 -110
- cribl_control_plane/models/functionautotimestamp.py +7 -111
- cribl_control_plane/models/functioncef.py +6 -51
- cribl_control_plane/models/functionchain.py +6 -12
- cribl_control_plane/models/functionclone.py +7 -13
- cribl_control_plane/models/functioncode.py +8 -35
- cribl_control_plane/models/functioncomment.py +6 -12
- cribl_control_plane/models/functionconfschemaaggregatemetrics.py +153 -0
- cribl_control_plane/models/functionconfschemaaggregation.py +114 -0
- cribl_control_plane/models/functionconfschemaautotimestamp.py +116 -0
- cribl_control_plane/models/functionconfschemacef.py +83 -0
- cribl_control_plane/models/functionconfschemachain.py +16 -0
- cribl_control_plane/models/functionconfschemaclone.py +16 -0
- cribl_control_plane/models/functionconfschemacode.py +38 -0
- cribl_control_plane/models/functionconfschemacomment.py +16 -0
- cribl_control_plane/models/functionconfschemadistinct.py +41 -0
- cribl_control_plane/models/functionconfschemadnslookup.py +193 -0
- cribl_control_plane/models/functionconfschemadrop.py +13 -0
- cribl_control_plane/models/functionconfschemadropdimensions.py +31 -0
- cribl_control_plane/models/functionconfschemadynamicsampling.py +67 -0
- cribl_control_plane/models/functionconfschemaeval.py +44 -0
- cribl_control_plane/models/functionconfschemaeventbreaker.py +51 -0
- cribl_control_plane/models/functionconfschemaeventstats.py +34 -0
- cribl_control_plane/models/functionconfschemaexternaldata.py +13 -0
- cribl_control_plane/models/functionconfschemaflatten.py +31 -0
- cribl_control_plane/models/functionconfschemafoldkeys.py +31 -0
- cribl_control_plane/models/functionconfschemagenstats.py +14 -0
- cribl_control_plane/models/functionconfschemageoip.py +66 -0
- cribl_control_plane/models/functionconfschemagrok.py +38 -0
- cribl_control_plane/models/functionconfschemahandlebar.py +56 -0
- cribl_control_plane/models/functionconfschemajoin.py +55 -0
- cribl_control_plane/models/functionconfschemajsonunroll.py +21 -0
- cribl_control_plane/models/functionconfschemalakeexport.py +44 -0
- cribl_control_plane/models/functionconfschemalimit.py +16 -0
- cribl_control_plane/models/functionconfschemalocalsearchdatatypeparser.py +17 -0
- cribl_control_plane/models/functionconfschemalocalsearchrulesetrunner.py +40 -0
- cribl_control_plane/models/functionconfschemalookup.py +92 -0
- cribl_control_plane/models/functionconfschemamask.py +63 -0
- cribl_control_plane/models/functionconfschemamvexpand.py +76 -0
- cribl_control_plane/models/functionconfschemamvpull.py +45 -0
- cribl_control_plane/models/functionconfschemanotificationpolicies.py +129 -0
- cribl_control_plane/models/functionconfschemanotifications.py +26 -0
- cribl_control_plane/models/functionconfschemanotify.py +149 -0
- cribl_control_plane/models/functionconfschemanumerify.py +63 -0
- cribl_control_plane/models/functionconfschemaotlplogs.py +24 -0
- cribl_control_plane/models/functionconfschemaotlpmetrics.py +61 -0
- cribl_control_plane/models/functionconfschemaotlptraces.py +54 -0
- cribl_control_plane/models/functionconfschemapack.py +24 -0
- cribl_control_plane/models/functionconfschemapivot.py +31 -0
- cribl_control_plane/models/functionconfschemapublishmetrics.py +98 -0
- cribl_control_plane/models/functionconfschemaredis.py +121 -0
- cribl_control_plane/models/functionconfschemaregexextract.py +55 -0
- cribl_control_plane/models/functionconfschemaregexfilter.py +38 -0
- cribl_control_plane/models/functionconfschemarename.py +49 -0
- cribl_control_plane/models/functionconfschemarollupmetrics.py +57 -0
- cribl_control_plane/models/functionconfschemasampling.py +32 -0
- cribl_control_plane/models/functionconfschemasend.py +84 -0
- cribl_control_plane/models/functionconfschemasensitivedatascanner.py +75 -0
- cribl_control_plane/models/functionconfschemaserde.py +105 -0
- cribl_control_plane/models/functionconfschemaserialize.py +78 -0
- cribl_control_plane/models/functionconfschemasidlookup.py +34 -0
- cribl_control_plane/models/functionconfschemasnmptrapserialize.py +92 -0
- cribl_control_plane/models/functionconfschemasort.py +41 -0
- cribl_control_plane/models/functionconfschemastore.py +75 -0
- cribl_control_plane/models/functionconfschemasuppress.py +57 -0
- cribl_control_plane/models/functionconfschematee.py +32 -0
- cribl_control_plane/models/functionconfschematrimtimestamp.py +16 -0
- cribl_control_plane/models/functionconfschemaunion.py +22 -0
- cribl_control_plane/models/functionconfschemaunroll.py +22 -0
- cribl_control_plane/models/functionconfschemawindow.py +40 -0
- cribl_control_plane/models/functionconfschemaxmlunroll.py +34 -0
- cribl_control_plane/models/functiondistinct.py +7 -37
- cribl_control_plane/models/functiondnslookup.py +7 -188
- cribl_control_plane/models/functiondrop.py +8 -12
- cribl_control_plane/models/functiondropdimensions.py +7 -25
- cribl_control_plane/models/functiondynamicsampling.py +6 -58
- cribl_control_plane/models/functioneval.py +9 -43
- cribl_control_plane/models/functioneventbreaker.py +6 -40
- cribl_control_plane/models/functioneventstats.py +7 -30
- cribl_control_plane/models/functionexternaldata.py +6 -10
- cribl_control_plane/models/functionflatten.py +7 -28
- cribl_control_plane/models/functionfoldkeys.py +6 -26
- cribl_control_plane/models/functiongenstats.py +7 -11
- cribl_control_plane/models/functiongeoip.py +7 -58
- cribl_control_plane/models/functiongrok.py +9 -35
- cribl_control_plane/models/functionhandlebar.py +6 -49
- cribl_control_plane/models/functionjoin.py +9 -52
- cribl_control_plane/models/functionjsonunroll.py +6 -17
- cribl_control_plane/models/functionlakeexport.py +6 -39
- cribl_control_plane/models/functionlimit.py +6 -12
- cribl_control_plane/models/functionlocalsearchdatatypeparser.py +6 -12
- cribl_control_plane/models/functionlocalsearchrulesetrunner.py +7 -34
- cribl_control_plane/models/functionlookup.py +7 -86
- cribl_control_plane/models/functionmask.py +9 -61
- cribl_control_plane/models/functionmvexpand.py +7 -66
- cribl_control_plane/models/functionmvpull.py +6 -36
- cribl_control_plane/models/functionnotificationpolicies.py +8 -125
- cribl_control_plane/models/functionnotifications.py +6 -22
- cribl_control_plane/models/functionnotify.py +6 -133
- cribl_control_plane/models/functionnumerify.py +7 -57
- cribl_control_plane/models/functionotlplogs.py +6 -19
- cribl_control_plane/models/functionotlpmetrics.py +7 -56
- cribl_control_plane/models/functionotlptraces.py +6 -48
- cribl_control_plane/models/functionpack.py +9 -20
- cribl_control_plane/models/functionpivot.py +7 -23
- cribl_control_plane/models/functionpublishmetrics.py +7 -91
- cribl_control_plane/models/functionredis.py +7 -111
- cribl_control_plane/models/functionregexextract.py +7 -50
- cribl_control_plane/models/functionregexfilter.py +7 -33
- cribl_control_plane/models/functionrename.py +7 -45
- cribl_control_plane/models/functionrollupmetrics.py +7 -52
- cribl_control_plane/models/functionsampling.py +7 -28
- cribl_control_plane/models/functionsend.py +8 -80
- cribl_control_plane/models/functionsensitivedatascanner.py +7 -66
- cribl_control_plane/models/functionserde.py +6 -98
- cribl_control_plane/models/functionserialize.py +7 -72
- cribl_control_plane/models/functionsidlookup.py +7 -31
- cribl_control_plane/models/functionsnmptrapserialize.py +6 -81
- cribl_control_plane/models/functionsort.py +8 -36
- cribl_control_plane/models/functionstore.py +6 -69
- cribl_control_plane/models/functionsuppress.py +6 -52
- cribl_control_plane/models/functiontee.py +6 -30
- cribl_control_plane/models/functiontrimtimestamp.py +6 -12
- cribl_control_plane/models/functionunion.py +9 -20
- cribl_control_plane/models/functionunroll.py +6 -17
- cribl_control_plane/models/functionwindow.py +7 -34
- cribl_control_plane/models/functionxmlunroll.py +6 -29
- cribl_control_plane/models/getsavedjobbyidop.py +33 -0
- cribl_control_plane/models/getsavedjobop.py +40 -0
- cribl_control_plane/models/groupcreaterequest.py +3 -0
- cribl_control_plane/models/heartbeatmetadata.py +42 -0
- cribl_control_plane/models/input.py +1 -1
- cribl_control_plane/models/inputedgeprometheus.py +11 -11
- cribl_control_plane/models/inputprometheus.py +23 -18
- cribl_control_plane/models/nodeprovidedinfo.py +42 -0
- cribl_control_plane/models/output.py +15 -9
- cribl_control_plane/models/outputclickhouse.py +31 -0
- cribl_control_plane/models/outputcriblhttp.py +7 -0
- cribl_control_plane/models/outputcriblsearchengine.py +655 -0
- cribl_control_plane/models/outputnetflow.py +16 -2
- cribl_control_plane/models/pipeline.py +52 -4
- cribl_control_plane/models/pipelinefunctionaggregatemetrics.py +195 -0
- cribl_control_plane/models/pipelinefunctionaggregation.py +159 -0
- cribl_control_plane/models/pipelinefunctionautotimestamp.py +56 -0
- cribl_control_plane/models/pipelinefunctioncef.py +96 -0
- cribl_control_plane/models/pipelinefunctionchain.py +62 -0
- cribl_control_plane/models/pipelinefunctionclone.py +56 -0
- cribl_control_plane/models/pipelinefunctioncode.py +56 -0
- cribl_control_plane/models/pipelinefunctioncomment.py +56 -0
- cribl_control_plane/models/pipelinefunctionconf.py +343 -46
- cribl_control_plane/models/pipelinefunctionconf_input.py +353 -0
- cribl_control_plane/models/pipelinefunctiondistinct.py +86 -0
- cribl_control_plane/models/pipelinefunctiondnslookup.py +56 -0
- cribl_control_plane/models/pipelinefunctiondrop.py +56 -0
- cribl_control_plane/models/pipelinefunctiondropdimensions.py +74 -0
- cribl_control_plane/models/pipelinefunctiondynamicsampling.py +111 -0
- cribl_control_plane/models/pipelinefunctioneval.py +56 -0
- cribl_control_plane/models/pipelinefunctioneventbreaker.py +95 -0
- cribl_control_plane/models/pipelinefunctioneventstats.py +79 -0
- cribl_control_plane/models/pipelinefunctionexternaldata.py +56 -0
- cribl_control_plane/models/pipelinefunctionflatten.py +56 -0
- cribl_control_plane/models/pipelinefunctionfoldkeys.py +56 -0
- cribl_control_plane/models/pipelinefunctiongenstats.py +56 -0
- cribl_control_plane/models/pipelinefunctiongeoip.py +109 -0
- cribl_control_plane/models/pipelinefunctiongrok.py +83 -0
- cribl_control_plane/models/pipelinefunctionhandlebar.py +99 -0
- cribl_control_plane/models/pipelinefunctionjoin.py +100 -0
- cribl_control_plane/models/pipelinefunctionjsonunroll.py +67 -0
- cribl_control_plane/models/pipelinefunctionlakeexport.py +89 -0
- cribl_control_plane/models/pipelinefunctionlimit.py +56 -0
- cribl_control_plane/models/pipelinefunctionlocalsearchdatatypeparser.py +62 -0
- cribl_control_plane/models/pipelinefunctionlocalsearchrulesetrunner.py +56 -0
- cribl_control_plane/models/pipelinefunctionlookup.py +136 -0
- cribl_control_plane/models/pipelinefunctionmask.py +108 -0
- cribl_control_plane/models/pipelinefunctionmvexpand.py +116 -0
- cribl_control_plane/models/pipelinefunctionmvpull.py +86 -0
- cribl_control_plane/models/pipelinefunctionnotificationpolicies.py +56 -0
- cribl_control_plane/models/pipelinefunctionnotifications.py +72 -0
- cribl_control_plane/models/pipelinefunctionnotify.py +189 -0
- cribl_control_plane/models/pipelinefunctionnumerify.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlplogs.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlpmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlptraces.py +56 -0
- cribl_control_plane/models/pipelinefunctionpack.py +67 -0
- cribl_control_plane/models/pipelinefunctionpivot.py +72 -0
- cribl_control_plane/models/pipelinefunctionpublishmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionredis.py +165 -0
- cribl_control_plane/models/pipelinefunctionregexextract.py +100 -0
- cribl_control_plane/models/pipelinefunctionregexfilter.py +56 -0
- cribl_control_plane/models/pipelinefunctionrename.py +56 -0
- cribl_control_plane/models/pipelinefunctionrollupmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionsampling.py +56 -0
- cribl_control_plane/models/pipelinefunctionsend.py +128 -0
- cribl_control_plane/models/pipelinefunctionsensitivedatascanner.py +120 -0
- cribl_control_plane/models/pipelinefunctionserde.py +149 -0
- cribl_control_plane/models/pipelinefunctionserialize.py +122 -0
- cribl_control_plane/models/pipelinefunctionsidlookup.py +56 -0
- cribl_control_plane/models/pipelinefunctionsnmptrapserialize.py +56 -0
- cribl_control_plane/models/pipelinefunctionsort.py +84 -0
- cribl_control_plane/models/pipelinefunctionstore.py +120 -0
- cribl_control_plane/models/pipelinefunctionsuppress.py +102 -0
- cribl_control_plane/models/pipelinefunctiontee.py +77 -0
- cribl_control_plane/models/pipelinefunctiontrimtimestamp.py +56 -0
- cribl_control_plane/models/pipelinefunctionunion.py +67 -0
- cribl_control_plane/models/pipelinefunctionunroll.py +67 -0
- cribl_control_plane/models/pipelinefunctionwindow.py +83 -0
- cribl_control_plane/models/pipelinefunctionxmlunroll.py +79 -0
- cribl_control_plane/models/runnablejobcollection.py +11 -10
- cribl_control_plane/models/runnablejobexecutor.py +8 -8
- cribl_control_plane/models/savedjob.py +26 -0
- cribl_control_plane/models/savedjobcollection.py +411 -0
- cribl_control_plane/models/savedjobexecutor.py +301 -0
- cribl_control_plane/models/savedjobscheduledsearch.py +278 -0
- cribl_control_plane/models/updatepipelinebyidop.py +4 -3
- cribl_control_plane/models/updatesavedjobbyidop.py +42 -0
- cribl_control_plane/pipelines.py +16 -16
- cribl_control_plane/sdk.py +4 -0
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/METADATA +10 -2
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/RECORD +229 -88
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/WHEEL +0 -0
- {cribl_control_plane-0.4.0b23.dist-info → cribl_control_plane-0.5.0b3.dist-info}/licenses/LICENSE +0 -0
|
@@ -30,6 +30,45 @@ class HeartbeatMetadataAws(BaseModel):
|
|
|
30
30
|
tags: Optional[Dict[str, str]] = None
|
|
31
31
|
|
|
32
32
|
|
|
33
|
+
class HeartbeatMetadataAzureTypedDict(TypedDict):
|
|
34
|
+
enabled: bool
|
|
35
|
+
hostname: NotRequired[str]
|
|
36
|
+
instance_id: NotRequired[str]
|
|
37
|
+
name: NotRequired[str]
|
|
38
|
+
region: NotRequired[str]
|
|
39
|
+
resource_group: NotRequired[str]
|
|
40
|
+
subscription_id: NotRequired[str]
|
|
41
|
+
tags: NotRequired[Dict[str, str]]
|
|
42
|
+
type: NotRequired[str]
|
|
43
|
+
zone: NotRequired[str]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class HeartbeatMetadataAzure(BaseModel):
|
|
47
|
+
enabled: bool
|
|
48
|
+
|
|
49
|
+
hostname: Optional[str] = None
|
|
50
|
+
|
|
51
|
+
instance_id: Annotated[Optional[str], pydantic.Field(alias="instanceId")] = None
|
|
52
|
+
|
|
53
|
+
name: Optional[str] = None
|
|
54
|
+
|
|
55
|
+
region: Optional[str] = None
|
|
56
|
+
|
|
57
|
+
resource_group: Annotated[Optional[str], pydantic.Field(alias="resourceGroup")] = (
|
|
58
|
+
None
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
subscription_id: Annotated[
|
|
62
|
+
Optional[str], pydantic.Field(alias="subscriptionId")
|
|
63
|
+
] = None
|
|
64
|
+
|
|
65
|
+
tags: Optional[Dict[str, str]] = None
|
|
66
|
+
|
|
67
|
+
type: Optional[str] = None
|
|
68
|
+
|
|
69
|
+
zone: Optional[str] = None
|
|
70
|
+
|
|
71
|
+
|
|
33
72
|
class HeartbeatMetadataHostOsTypedDict(TypedDict):
|
|
34
73
|
addresses: List[str]
|
|
35
74
|
enabled: bool
|
|
@@ -100,6 +139,7 @@ class HeartbeatMetadataOs(BaseModel):
|
|
|
100
139
|
|
|
101
140
|
class HeartbeatMetadataTypedDict(TypedDict):
|
|
102
141
|
aws: NotRequired[HeartbeatMetadataAwsTypedDict]
|
|
142
|
+
azure: NotRequired[HeartbeatMetadataAzureTypedDict]
|
|
103
143
|
host_os: NotRequired[HeartbeatMetadataHostOsTypedDict]
|
|
104
144
|
kube: NotRequired[HeartbeatMetadataKubeTypedDict]
|
|
105
145
|
os: NotRequired[HeartbeatMetadataOsTypedDict]
|
|
@@ -108,6 +148,8 @@ class HeartbeatMetadataTypedDict(TypedDict):
|
|
|
108
148
|
class HeartbeatMetadata(BaseModel):
|
|
109
149
|
aws: Optional[HeartbeatMetadataAws] = None
|
|
110
150
|
|
|
151
|
+
azure: Optional[HeartbeatMetadataAzure] = None
|
|
152
|
+
|
|
111
153
|
host_os: Annotated[
|
|
112
154
|
Optional[HeartbeatMetadataHostOs], pydantic.Field(alias="hostOs")
|
|
113
155
|
] = None
|
|
@@ -128,10 +128,10 @@ InputTypedDict = TypeAliasType(
|
|
|
128
128
|
InputCrowdstrikeTypedDict,
|
|
129
129
|
InputEdgePrometheusTypedDict,
|
|
130
130
|
InputOpenTelemetryTypedDict,
|
|
131
|
-
InputPrometheusTypedDict,
|
|
132
131
|
InputS3TypedDict,
|
|
133
132
|
InputSecurityLakeTypedDict,
|
|
134
133
|
InputMskTypedDict,
|
|
134
|
+
InputPrometheusTypedDict,
|
|
135
135
|
InputS3InventoryTypedDict,
|
|
136
136
|
InputSplunkSearchTypedDict,
|
|
137
137
|
InputSyslogTypedDict,
|
|
@@ -260,7 +260,7 @@ class Target(BaseModel):
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
class InputEdgePrometheusRecordType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
263
|
-
r"""DNS
|
|
263
|
+
r"""DNS record type to resolve"""
|
|
264
264
|
|
|
265
265
|
SRV = "SRV"
|
|
266
266
|
A = "A"
|
|
@@ -289,17 +289,17 @@ class InputEdgePrometheusAwsAuthenticationMethodAuthenticationMethod(
|
|
|
289
289
|
|
|
290
290
|
class InputEdgePrometheusSearchFilterTypedDict(TypedDict):
|
|
291
291
|
name: str
|
|
292
|
-
r"""
|
|
292
|
+
r"""See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html for information. Attributes can be manually entered if not present in the list."""
|
|
293
293
|
values: List[str]
|
|
294
|
-
r"""
|
|
294
|
+
r"""Values to match within this row's attribute. If empty, search will return only running EC2 instances."""
|
|
295
295
|
|
|
296
296
|
|
|
297
297
|
class InputEdgePrometheusSearchFilter(BaseModel):
|
|
298
298
|
name: Annotated[str, pydantic.Field(alias="Name")]
|
|
299
|
-
r"""
|
|
299
|
+
r"""See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html for information. Attributes can be manually entered if not present in the list."""
|
|
300
300
|
|
|
301
301
|
values: Annotated[List[str], pydantic.Field(alias="Values")]
|
|
302
|
-
r"""
|
|
302
|
+
r"""Values to match within this row's attribute. If empty, search will return only running EC2 instances."""
|
|
303
303
|
|
|
304
304
|
|
|
305
305
|
class InputEdgePrometheusSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
@@ -358,7 +358,7 @@ class InputEdgePrometheusTypedDict(TypedDict):
|
|
|
358
358
|
description: NotRequired[str]
|
|
359
359
|
targets: NotRequired[List[TargetTypedDict]]
|
|
360
360
|
record_type: NotRequired[InputEdgePrometheusRecordType]
|
|
361
|
-
r"""DNS
|
|
361
|
+
r"""DNS record type to resolve"""
|
|
362
362
|
scrape_port: NotRequired[float]
|
|
363
363
|
r"""The port number in the metrics URL for discovered targets."""
|
|
364
364
|
name_list: NotRequired[List[str]]
|
|
@@ -375,9 +375,9 @@ class InputEdgePrometheusTypedDict(TypedDict):
|
|
|
375
375
|
aws_secret: NotRequired[str]
|
|
376
376
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
377
377
|
use_public_ip: NotRequired[bool]
|
|
378
|
-
r"""Use public IP address for discovered targets.
|
|
378
|
+
r"""Use public IP address for discovered targets. Disable to use the private IP address."""
|
|
379
379
|
search_filter: NotRequired[List[InputEdgePrometheusSearchFilterTypedDict]]
|
|
380
|
-
r"""
|
|
380
|
+
r"""Filter to apply when searching for EC2 instances"""
|
|
381
381
|
aws_secret_key: NotRequired[str]
|
|
382
382
|
region: NotRequired[str]
|
|
383
383
|
r"""Region where the EC2 is located"""
|
|
@@ -492,7 +492,7 @@ class InputEdgePrometheus(BaseModel):
|
|
|
492
492
|
],
|
|
493
493
|
pydantic.Field(alias="recordType"),
|
|
494
494
|
] = InputEdgePrometheusRecordType.SRV
|
|
495
|
-
r"""DNS
|
|
495
|
+
r"""DNS record type to resolve"""
|
|
496
496
|
|
|
497
497
|
scrape_port: Annotated[Optional[float], pydantic.Field(alias="scrapePort")] = 9090
|
|
498
498
|
r"""The port number in the metrics URL for discovered targets."""
|
|
@@ -528,13 +528,13 @@ class InputEdgePrometheus(BaseModel):
|
|
|
528
528
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
529
529
|
|
|
530
530
|
use_public_ip: Annotated[Optional[bool], pydantic.Field(alias="usePublicIp")] = True
|
|
531
|
-
r"""Use public IP address for discovered targets.
|
|
531
|
+
r"""Use public IP address for discovered targets. Disable to use the private IP address."""
|
|
532
532
|
|
|
533
533
|
search_filter: Annotated[
|
|
534
534
|
Optional[List[InputEdgePrometheusSearchFilter]],
|
|
535
535
|
pydantic.Field(alias="searchFilter"),
|
|
536
536
|
] = None
|
|
537
|
-
r"""
|
|
537
|
+
r"""Filter to apply when searching for EC2 instances"""
|
|
538
538
|
|
|
539
539
|
aws_secret_key: Annotated[Optional[str], pydantic.Field(alias="awsSecretKey")] = (
|
|
540
540
|
None
|
|
@@ -138,7 +138,7 @@ class InputPrometheusDiscoveryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
class InputPrometheusLogLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
141
|
-
r"""Collector runtime
|
|
141
|
+
r"""Collector runtime log level"""
|
|
142
142
|
|
|
143
143
|
ERROR = "error"
|
|
144
144
|
WARN = "warn"
|
|
@@ -169,7 +169,7 @@ class InputPrometheusAuthTypeAuthenticationMethod(
|
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
class InputPrometheusRecordType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
172
|
-
r"""DNS
|
|
172
|
+
r"""DNS record type to resolve"""
|
|
173
173
|
|
|
174
174
|
SRV = "SRV"
|
|
175
175
|
A = "A"
|
|
@@ -198,17 +198,17 @@ class InputPrometheusAwsAuthenticationMethodAuthenticationMethod(
|
|
|
198
198
|
|
|
199
199
|
class InputPrometheusSearchFilterTypedDict(TypedDict):
|
|
200
200
|
name: str
|
|
201
|
-
r"""
|
|
201
|
+
r"""See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html for information. Attributes can be manually entered if not present in the list."""
|
|
202
202
|
values: List[str]
|
|
203
|
-
r"""
|
|
203
|
+
r"""Values to match within this row's attribute. If empty, search will return only running EC2 instances."""
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
class InputPrometheusSearchFilter(BaseModel):
|
|
207
207
|
name: Annotated[str, pydantic.Field(alias="Name")]
|
|
208
|
-
r"""
|
|
208
|
+
r"""See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html for information. Attributes can be manually entered if not present in the list."""
|
|
209
209
|
|
|
210
210
|
values: Annotated[List[str], pydantic.Field(alias="Values")]
|
|
211
|
-
r"""
|
|
211
|
+
r"""Values to match within this row's attribute. If empty, search will return only running EC2 instances."""
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
class InputPrometheusSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
@@ -241,11 +241,13 @@ class InputPrometheusTypedDict(TypedDict):
|
|
|
241
241
|
discovery_type: NotRequired[InputPrometheusDiscoveryType]
|
|
242
242
|
r"""Target discovery mechanism. Use static to manually enter a list of targets."""
|
|
243
243
|
interval: NotRequired[float]
|
|
244
|
-
r"""How often in minutes to scrape targets for metrics
|
|
244
|
+
r"""How often, in minutes, to scrape targets for metrics. Maximum of 60 minutes. 60 must be evenly divisible by the value you enter."""
|
|
245
245
|
log_level: NotRequired[InputPrometheusLogLevel]
|
|
246
|
-
r"""Collector runtime
|
|
246
|
+
r"""Collector runtime log level"""
|
|
247
247
|
reject_unauthorized: NotRequired[bool]
|
|
248
248
|
r"""Reject certificates that cannot be verified against a valid CA, such as self-signed certificates"""
|
|
249
|
+
timeout: NotRequired[float]
|
|
250
|
+
r"""Time, in seconds, before aborting HTTP connection attempts; use 0 for no timeout"""
|
|
249
251
|
keep_alive_time: NotRequired[float]
|
|
250
252
|
r"""How often workers should check in with the scheduler to keep job subscription alive"""
|
|
251
253
|
job_timeout: NotRequired[str]
|
|
@@ -264,9 +266,9 @@ class InputPrometheusTypedDict(TypedDict):
|
|
|
264
266
|
target_list: NotRequired[List[str]]
|
|
265
267
|
r"""List of Prometheus targets to pull metrics from. Values can be in URL or host[:port] format. For example: http://localhost:9090/metrics, localhost:9090, or localhost. In cases where just host[:port] is specified, the endpoint will resolve to 'http://host[:port]/metrics'."""
|
|
266
268
|
record_type: NotRequired[InputPrometheusRecordType]
|
|
267
|
-
r"""DNS
|
|
269
|
+
r"""DNS record type to resolve"""
|
|
268
270
|
scrape_port: NotRequired[float]
|
|
269
|
-
r"""The port number in the metrics URL for discovered targets
|
|
271
|
+
r"""The port number in the metrics URL for discovered targets"""
|
|
270
272
|
name_list: NotRequired[List[str]]
|
|
271
273
|
r"""List of DNS names to resolve"""
|
|
272
274
|
scrape_protocol: NotRequired[MetricsProtocol]
|
|
@@ -281,9 +283,9 @@ class InputPrometheusTypedDict(TypedDict):
|
|
|
281
283
|
aws_secret: NotRequired[str]
|
|
282
284
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
283
285
|
use_public_ip: NotRequired[bool]
|
|
284
|
-
r"""Use public IP address for discovered targets.
|
|
286
|
+
r"""Use public IP address for discovered targets. Disable to use the private IP address."""
|
|
285
287
|
search_filter: NotRequired[List[InputPrometheusSearchFilterTypedDict]]
|
|
286
|
-
r"""
|
|
288
|
+
r"""Filter to apply when searching for EC2 instances"""
|
|
287
289
|
aws_secret_key: NotRequired[str]
|
|
288
290
|
region: NotRequired[str]
|
|
289
291
|
r"""Region where the EC2 is located"""
|
|
@@ -354,7 +356,7 @@ class InputPrometheus(BaseModel):
|
|
|
354
356
|
r"""Target discovery mechanism. Use static to manually enter a list of targets."""
|
|
355
357
|
|
|
356
358
|
interval: Optional[float] = 15
|
|
357
|
-
r"""How often in minutes to scrape targets for metrics
|
|
359
|
+
r"""How often, in minutes, to scrape targets for metrics. Maximum of 60 minutes. 60 must be evenly divisible by the value you enter."""
|
|
358
360
|
|
|
359
361
|
log_level: Annotated[
|
|
360
362
|
Annotated[
|
|
@@ -362,13 +364,16 @@ class InputPrometheus(BaseModel):
|
|
|
362
364
|
],
|
|
363
365
|
pydantic.Field(alias="logLevel"),
|
|
364
366
|
] = InputPrometheusLogLevel.INFO
|
|
365
|
-
r"""Collector runtime
|
|
367
|
+
r"""Collector runtime log level"""
|
|
366
368
|
|
|
367
369
|
reject_unauthorized: Annotated[
|
|
368
370
|
Optional[bool], pydantic.Field(alias="rejectUnauthorized")
|
|
369
371
|
] = True
|
|
370
372
|
r"""Reject certificates that cannot be verified against a valid CA, such as self-signed certificates"""
|
|
371
373
|
|
|
374
|
+
timeout: Optional[float] = 0
|
|
375
|
+
r"""Time, in seconds, before aborting HTTP connection attempts; use 0 for no timeout"""
|
|
376
|
+
|
|
372
377
|
keep_alive_time: Annotated[
|
|
373
378
|
Optional[float], pydantic.Field(alias="keepAliveTime")
|
|
374
379
|
] = 30
|
|
@@ -416,10 +421,10 @@ class InputPrometheus(BaseModel):
|
|
|
416
421
|
],
|
|
417
422
|
pydantic.Field(alias="recordType"),
|
|
418
423
|
] = InputPrometheusRecordType.SRV
|
|
419
|
-
r"""DNS
|
|
424
|
+
r"""DNS record type to resolve"""
|
|
420
425
|
|
|
421
426
|
scrape_port: Annotated[Optional[float], pydantic.Field(alias="scrapePort")] = 9090
|
|
422
|
-
r"""The port number in the metrics URL for discovered targets
|
|
427
|
+
r"""The port number in the metrics URL for discovered targets"""
|
|
423
428
|
|
|
424
429
|
name_list: Annotated[Optional[List[str]], pydantic.Field(alias="nameList")] = None
|
|
425
430
|
r"""List of DNS names to resolve"""
|
|
@@ -450,13 +455,13 @@ class InputPrometheus(BaseModel):
|
|
|
450
455
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
451
456
|
|
|
452
457
|
use_public_ip: Annotated[Optional[bool], pydantic.Field(alias="usePublicIp")] = True
|
|
453
|
-
r"""Use public IP address for discovered targets.
|
|
458
|
+
r"""Use public IP address for discovered targets. Disable to use the private IP address."""
|
|
454
459
|
|
|
455
460
|
search_filter: Annotated[
|
|
456
461
|
Optional[List[InputPrometheusSearchFilter]],
|
|
457
462
|
pydantic.Field(alias="searchFilter"),
|
|
458
463
|
] = None
|
|
459
|
-
r"""
|
|
464
|
+
r"""Filter to apply when searching for EC2 instances"""
|
|
460
465
|
|
|
461
466
|
aws_secret_key: Annotated[Optional[str], pydantic.Field(alias="awsSecretKey")] = (
|
|
462
467
|
None
|
|
@@ -33,6 +33,45 @@ class NodeProvidedInfoAws(BaseModel):
|
|
|
33
33
|
tags: Optional[Dict[str, str]] = None
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
class NodeProvidedInfoAzureTypedDict(TypedDict):
|
|
37
|
+
enabled: bool
|
|
38
|
+
hostname: NotRequired[str]
|
|
39
|
+
instance_id: NotRequired[str]
|
|
40
|
+
name: NotRequired[str]
|
|
41
|
+
region: NotRequired[str]
|
|
42
|
+
resource_group: NotRequired[str]
|
|
43
|
+
subscription_id: NotRequired[str]
|
|
44
|
+
tags: NotRequired[Dict[str, str]]
|
|
45
|
+
type: NotRequired[str]
|
|
46
|
+
zone: NotRequired[str]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class NodeProvidedInfoAzure(BaseModel):
|
|
50
|
+
enabled: bool
|
|
51
|
+
|
|
52
|
+
hostname: Optional[str] = None
|
|
53
|
+
|
|
54
|
+
instance_id: Annotated[Optional[str], pydantic.Field(alias="instanceId")] = None
|
|
55
|
+
|
|
56
|
+
name: Optional[str] = None
|
|
57
|
+
|
|
58
|
+
region: Optional[str] = None
|
|
59
|
+
|
|
60
|
+
resource_group: Annotated[Optional[str], pydantic.Field(alias="resourceGroup")] = (
|
|
61
|
+
None
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
subscription_id: Annotated[
|
|
65
|
+
Optional[str], pydantic.Field(alias="subscriptionId")
|
|
66
|
+
] = None
|
|
67
|
+
|
|
68
|
+
tags: Optional[Dict[str, str]] = None
|
|
69
|
+
|
|
70
|
+
type: Optional[str] = None
|
|
71
|
+
|
|
72
|
+
zone: Optional[str] = None
|
|
73
|
+
|
|
74
|
+
|
|
36
75
|
class NodeProvidedInfoHostOsTypedDict(TypedDict):
|
|
37
76
|
addresses: List[str]
|
|
38
77
|
enabled: bool
|
|
@@ -130,6 +169,7 @@ class NodeProvidedInfoTypedDict(TypedDict):
|
|
|
130
169
|
total_disk_space: float
|
|
131
170
|
totalmem: float
|
|
132
171
|
aws: NotRequired[NodeProvidedInfoAwsTypedDict]
|
|
172
|
+
azure: NotRequired[NodeProvidedInfoAzureTypedDict]
|
|
133
173
|
conn_ip: NotRequired[str]
|
|
134
174
|
host_os: NotRequired[NodeProvidedInfoHostOsTypedDict]
|
|
135
175
|
is_saas_worker: NotRequired[bool]
|
|
@@ -165,6 +205,8 @@ class NodeProvidedInfo(BaseModel):
|
|
|
165
205
|
|
|
166
206
|
aws: Optional[NodeProvidedInfoAws] = None
|
|
167
207
|
|
|
208
|
+
azure: Optional[NodeProvidedInfoAzure] = None
|
|
209
|
+
|
|
168
210
|
conn_ip: Optional[str] = None
|
|
169
211
|
|
|
170
212
|
host_os: Annotated[
|
|
@@ -15,6 +15,10 @@ from .outputcloudwatch import OutputCloudwatch, OutputCloudwatchTypedDict
|
|
|
15
15
|
from .outputconfluentcloud import OutputConfluentCloud, OutputConfluentCloudTypedDict
|
|
16
16
|
from .outputcriblhttp import OutputCriblHTTP, OutputCriblHTTPTypedDict
|
|
17
17
|
from .outputcribllake import OutputCriblLake, OutputCriblLakeTypedDict
|
|
18
|
+
from .outputcriblsearchengine import (
|
|
19
|
+
OutputCriblSearchEngine,
|
|
20
|
+
OutputCriblSearchEngineTypedDict,
|
|
21
|
+
)
|
|
18
22
|
from .outputcribltcp import OutputCriblTCP, OutputCriblTCPTypedDict
|
|
19
23
|
from .outputcrowdstrikenextgensiem import (
|
|
20
24
|
OutputCrowdstrikeNextGenSiem,
|
|
@@ -114,30 +118,31 @@ OutputTypedDict = TypeAliasType(
|
|
|
114
118
|
OutputHoneycombTypedDict,
|
|
115
119
|
OutputSignalfxTypedDict,
|
|
116
120
|
OutputWavefrontTypedDict,
|
|
117
|
-
|
|
121
|
+
OutputElasticCloudTypedDict,
|
|
118
122
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
119
|
-
|
|
123
|
+
OutputSumoLogicTypedDict,
|
|
120
124
|
OutputTcpjsonTypedDict,
|
|
121
|
-
|
|
125
|
+
OutputHumioHecTypedDict,
|
|
122
126
|
OutputKinesisTypedDict,
|
|
123
127
|
OutputConfluentCloudTypedDict,
|
|
128
|
+
OutputAzureLogsTypedDict,
|
|
124
129
|
OutputKafkaTypedDict,
|
|
125
130
|
OutputNewrelicEventsTypedDict,
|
|
126
|
-
OutputAzureLogsTypedDict,
|
|
127
131
|
OutputSplunkLbTypedDict,
|
|
128
132
|
OutputSqsTypedDict,
|
|
129
|
-
OutputNewrelicTypedDict,
|
|
130
133
|
OutputFilesystemTypedDict,
|
|
131
134
|
OutputSyslogTypedDict,
|
|
135
|
+
OutputNewrelicTypedDict,
|
|
132
136
|
OutputXsiamTypedDict,
|
|
133
137
|
OutputCriblHTTPTypedDict,
|
|
134
138
|
OutputDatasetTypedDict,
|
|
139
|
+
OutputCriblSearchEngineTypedDict,
|
|
135
140
|
OutputDynatraceHTTPTypedDict,
|
|
136
141
|
OutputLokiTypedDict,
|
|
142
|
+
OutputSplunkHecTypedDict,
|
|
137
143
|
OutputChronicleTypedDict,
|
|
138
|
-
OutputDynatraceOtlpTypedDict,
|
|
139
144
|
OutputServiceNowTypedDict,
|
|
140
|
-
|
|
145
|
+
OutputDynatraceOtlpTypedDict,
|
|
141
146
|
OutputCriblLakeTypedDict,
|
|
142
147
|
OutputElasticTypedDict,
|
|
143
148
|
OutputDatadogTypedDict,
|
|
@@ -147,16 +152,16 @@ OutputTypedDict = TypeAliasType(
|
|
|
147
152
|
OutputSentinelOneAiSiemTypedDict,
|
|
148
153
|
OutputMskTypedDict,
|
|
149
154
|
OutputSentinelTypedDict,
|
|
150
|
-
OutputGoogleCloudStorageTypedDict,
|
|
151
155
|
OutputInfluxdbTypedDict,
|
|
156
|
+
OutputGoogleCloudStorageTypedDict,
|
|
152
157
|
OutputAzureBlobTypedDict,
|
|
153
158
|
OutputCloudflareR2TypedDict,
|
|
154
159
|
OutputMinioTypedDict,
|
|
155
160
|
OutputOpenTelemetryTypedDict,
|
|
156
161
|
OutputSecurityLakeTypedDict,
|
|
157
162
|
OutputClickHouseTypedDict,
|
|
158
|
-
OutputDlS3TypedDict,
|
|
159
163
|
OutputS3TypedDict,
|
|
164
|
+
OutputDlS3TypedDict,
|
|
160
165
|
OutputWebhookTypedDict,
|
|
161
166
|
OutputGoogleCloudLoggingTypedDict,
|
|
162
167
|
OutputAzureDataExplorerTypedDict,
|
|
@@ -219,6 +224,7 @@ Output = Annotated[
|
|
|
219
224
|
Annotated[OutputDataset, Tag("dataset")],
|
|
220
225
|
Annotated[OutputCriblTCP, Tag("cribl_tcp")],
|
|
221
226
|
Annotated[OutputCriblHTTP, Tag("cribl_http")],
|
|
227
|
+
Annotated[OutputCriblSearchEngine, Tag("cribl_search_engine")],
|
|
222
228
|
Annotated[OutputHumioHec, Tag("humio_hec")],
|
|
223
229
|
Annotated[OutputCrowdstrikeNextGenSiem, Tag("crowdstrike_next_gen_siem")],
|
|
224
230
|
Annotated[OutputDlS3, Tag("dl_s3")],
|
|
@@ -210,6 +210,32 @@ class OutputClickHouseTimeoutRetrySettings(BaseModel):
|
|
|
210
210
|
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
211
211
|
|
|
212
212
|
|
|
213
|
+
class StatsDestinationTypedDict(TypedDict):
|
|
214
|
+
url: NotRequired[str]
|
|
215
|
+
database: NotRequired[str]
|
|
216
|
+
table_name: NotRequired[str]
|
|
217
|
+
auth_type: NotRequired[str]
|
|
218
|
+
username: NotRequired[str]
|
|
219
|
+
sql_username: NotRequired[str]
|
|
220
|
+
password: NotRequired[str]
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
class StatsDestination(BaseModel):
|
|
224
|
+
url: Optional[str] = None
|
|
225
|
+
|
|
226
|
+
database: Optional[str] = None
|
|
227
|
+
|
|
228
|
+
table_name: Annotated[Optional[str], pydantic.Field(alias="tableName")] = None
|
|
229
|
+
|
|
230
|
+
auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None
|
|
231
|
+
|
|
232
|
+
username: Optional[str] = None
|
|
233
|
+
|
|
234
|
+
sql_username: Annotated[Optional[str], pydantic.Field(alias="sqlUsername")] = None
|
|
235
|
+
|
|
236
|
+
password: Optional[str] = None
|
|
237
|
+
|
|
238
|
+
|
|
213
239
|
class OutputClickHouseBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
214
240
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
215
241
|
|
|
@@ -369,6 +395,7 @@ class OutputClickHouseTypedDict(TypedDict):
|
|
|
369
395
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
370
396
|
dump_format_errors_to_disk: NotRequired[bool]
|
|
371
397
|
r"""Log the most recent event that fails to match the table schema"""
|
|
398
|
+
stats_destination: NotRequired[StatsDestinationTypedDict]
|
|
372
399
|
on_backpressure: NotRequired[OutputClickHouseBackpressureBehavior]
|
|
373
400
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
374
401
|
description: NotRequired[str]
|
|
@@ -563,6 +590,10 @@ class OutputClickHouse(BaseModel):
|
|
|
563
590
|
] = False
|
|
564
591
|
r"""Log the most recent event that fails to match the table schema"""
|
|
565
592
|
|
|
593
|
+
stats_destination: Annotated[
|
|
594
|
+
Optional[StatsDestination], pydantic.Field(alias="statsDestination")
|
|
595
|
+
] = None
|
|
596
|
+
|
|
566
597
|
on_backpressure: Annotated[
|
|
567
598
|
Annotated[
|
|
568
599
|
Optional[OutputClickHouseBackpressureBehavior],
|
|
@@ -323,6 +323,8 @@ class OutputCriblHTTPTypedDict(TypedDict):
|
|
|
323
323
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
324
324
|
safe_headers: NotRequired[List[str]]
|
|
325
325
|
r"""List of headers that are safe to log in plain text"""
|
|
326
|
+
throttle_rate_per_sec: NotRequired[str]
|
|
327
|
+
r"""Rate (in bytes per second) to throttle while writing to an output. Accepts values with multiple-byte units, such as KB, MB, and GB. (Example: 42 MB) Default value of 0 specifies no throttling."""
|
|
326
328
|
response_retry_settings: NotRequired[
|
|
327
329
|
List[OutputCriblHTTPResponseRetrySettingTypedDict]
|
|
328
330
|
]
|
|
@@ -460,6 +462,11 @@ class OutputCriblHTTP(BaseModel):
|
|
|
460
462
|
] = None
|
|
461
463
|
r"""List of headers that are safe to log in plain text"""
|
|
462
464
|
|
|
465
|
+
throttle_rate_per_sec: Annotated[
|
|
466
|
+
Optional[str], pydantic.Field(alias="throttleRatePerSec")
|
|
467
|
+
] = "0"
|
|
468
|
+
r"""Rate (in bytes per second) to throttle while writing to an output. Accepts values with multiple-byte units, such as KB, MB, and GB. (Example: 42 MB) Default value of 0 specifies no throttling."""
|
|
469
|
+
|
|
463
470
|
response_retry_settings: Annotated[
|
|
464
471
|
Optional[List[OutputCriblHTTPResponseRetrySetting]],
|
|
465
472
|
pydantic.Field(alias="responseRetrySettings"),
|