cribl-control-plane 0.0.50rc2__py3-none-any.whl → 0.0.51__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 +5 -3
- cribl_control_plane/errors/healthstatus_error.py +2 -8
- cribl_control_plane/groups_sdk.py +4 -4
- cribl_control_plane/health.py +2 -6
- cribl_control_plane/models/__init__.py +31 -56
- cribl_control_plane/models/appmode.py +13 -0
- cribl_control_plane/models/cacheconnection.py +2 -10
- cribl_control_plane/models/cacheconnectionbackfillstatus.py +1 -2
- cribl_control_plane/models/cloudprovider.py +1 -2
- cribl_control_plane/models/configgroup.py +4 -24
- cribl_control_plane/models/configgroupcloud.py +2 -6
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -8
- cribl_control_plane/models/createinputhectokenbyidop.py +5 -6
- cribl_control_plane/models/createversionpushop.py +5 -5
- cribl_control_plane/models/cribllakedataset.py +2 -8
- cribl_control_plane/models/datasetmetadata.py +2 -8
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +2 -7
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +2 -4
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +2 -4
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -3
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +2 -7
- cribl_control_plane/models/getsummaryop.py +2 -7
- cribl_control_plane/models/getversionshowop.py +5 -6
- cribl_control_plane/models/gitinfo.py +3 -14
- cribl_control_plane/models/hbcriblinfo.py +3 -24
- cribl_control_plane/models/healthstatus.py +4 -7
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +63 -65
- cribl_control_plane/models/inputappscope.py +14 -34
- cribl_control_plane/models/inputazureblob.py +6 -17
- cribl_control_plane/models/inputcollection.py +4 -11
- cribl_control_plane/models/inputconfluentcloud.py +32 -41
- cribl_control_plane/models/inputcribl.py +4 -11
- cribl_control_plane/models/inputcriblhttp.py +8 -23
- cribl_control_plane/models/inputcribllakehttp.py +10 -22
- cribl_control_plane/models/inputcriblmetrics.py +4 -12
- cribl_control_plane/models/inputcribltcp.py +8 -23
- cribl_control_plane/models/inputcrowdstrike.py +10 -26
- cribl_control_plane/models/inputdatadogagent.py +8 -24
- cribl_control_plane/models/inputdatagen.py +4 -11
- cribl_control_plane/models/inputedgeprometheus.py +24 -58
- cribl_control_plane/models/inputelastic.py +14 -40
- cribl_control_plane/models/inputeventhub.py +6 -15
- cribl_control_plane/models/inputexec.py +6 -14
- cribl_control_plane/models/inputfile.py +6 -15
- cribl_control_plane/models/inputfirehose.py +8 -23
- cribl_control_plane/models/inputgooglepubsub.py +6 -19
- cribl_control_plane/models/inputgrafana.py +24 -67
- cribl_control_plane/models/inputhttp.py +8 -23
- cribl_control_plane/models/inputhttpraw.py +8 -23
- cribl_control_plane/models/inputjournalfiles.py +4 -12
- cribl_control_plane/models/inputkafka.py +28 -41
- cribl_control_plane/models/inputkinesis.py +14 -38
- cribl_control_plane/models/inputkubeevents.py +4 -11
- cribl_control_plane/models/inputkubelogs.py +8 -16
- cribl_control_plane/models/inputkubemetrics.py +8 -16
- cribl_control_plane/models/inputloki.py +10 -29
- cribl_control_plane/models/inputmetrics.py +8 -23
- cribl_control_plane/models/inputmodeldriventelemetry.py +10 -32
- cribl_control_plane/models/inputmsk.py +30 -48
- cribl_control_plane/models/inputnetflow.py +4 -11
- cribl_control_plane/models/inputoffice365mgmt.py +14 -33
- cribl_control_plane/models/inputoffice365msgtrace.py +16 -35
- cribl_control_plane/models/inputoffice365service.py +16 -35
- cribl_control_plane/models/inputopentelemetry.py +16 -38
- cribl_control_plane/models/inputprometheus.py +18 -50
- cribl_control_plane/models/inputprometheusrw.py +10 -30
- cribl_control_plane/models/inputrawudp.py +4 -11
- cribl_control_plane/models/inputs3.py +8 -21
- cribl_control_plane/models/inputs3inventory.py +10 -26
- cribl_control_plane/models/inputsecuritylake.py +10 -27
- cribl_control_plane/models/inputsnmp.py +6 -16
- cribl_control_plane/models/inputsplunk.py +12 -33
- cribl_control_plane/models/inputsplunkhec.py +10 -29
- cribl_control_plane/models/inputsplunksearch.py +14 -33
- cribl_control_plane/models/inputsqs.py +10 -27
- cribl_control_plane/models/inputsyslog.py +16 -43
- cribl_control_plane/models/inputsystemmetrics.py +24 -48
- cribl_control_plane/models/inputsystemstate.py +8 -16
- cribl_control_plane/models/inputtcp.py +10 -29
- cribl_control_plane/models/inputtcpjson.py +10 -29
- cribl_control_plane/models/inputwef.py +14 -37
- cribl_control_plane/models/inputwindowsmetrics.py +24 -44
- cribl_control_plane/models/inputwineventlogs.py +10 -20
- cribl_control_plane/models/inputwiz.py +8 -21
- cribl_control_plane/models/inputwizwebhook.py +8 -23
- cribl_control_plane/models/inputzscalerhec.py +10 -29
- cribl_control_plane/models/lakehouseconnectiontype.py +1 -2
- cribl_control_plane/models/listconfiggroupbyproductop.py +1 -3
- cribl_control_plane/models/masterworkerentry.py +2 -7
- cribl_control_plane/models/nodeactiveupgradestatus.py +1 -2
- cribl_control_plane/models/nodefailedupgradestatus.py +1 -2
- cribl_control_plane/models/nodeprovidedinfo.py +0 -3
- cribl_control_plane/models/nodeskippedupgradestatus.py +1 -2
- cribl_control_plane/models/nodeupgradestate.py +1 -2
- cribl_control_plane/models/nodeupgradestatus.py +5 -13
- cribl_control_plane/models/output.py +79 -84
- cribl_control_plane/models/outputazureblob.py +18 -48
- cribl_control_plane/models/outputazuredataexplorer.py +28 -73
- cribl_control_plane/models/outputazureeventhub.py +18 -40
- cribl_control_plane/models/outputazurelogs.py +12 -35
- cribl_control_plane/models/outputclickhouse.py +20 -55
- cribl_control_plane/models/outputcloudwatch.py +10 -29
- cribl_control_plane/models/outputconfluentcloud.py +44 -71
- cribl_control_plane/models/outputcriblhttp.py +16 -44
- cribl_control_plane/models/outputcribllake.py +16 -46
- cribl_control_plane/models/outputcribltcp.py +18 -45
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +14 -49
- cribl_control_plane/models/outputdatadog.py +20 -48
- cribl_control_plane/models/outputdataset.py +18 -46
- cribl_control_plane/models/outputdiskspool.py +2 -7
- cribl_control_plane/models/outputdls3.py +24 -68
- cribl_control_plane/models/outputdynatracehttp.py +20 -53
- cribl_control_plane/models/outputdynatraceotlp.py +22 -55
- cribl_control_plane/models/outputelastic.py +18 -43
- cribl_control_plane/models/outputelasticcloud.py +12 -36
- cribl_control_plane/models/outputexabeam.py +10 -29
- cribl_control_plane/models/outputfilesystem.py +14 -39
- cribl_control_plane/models/outputgooglechronicle.py +16 -50
- cribl_control_plane/models/outputgooglecloudlogging.py +18 -50
- cribl_control_plane/models/outputgooglecloudstorage.py +24 -66
- cribl_control_plane/models/outputgooglepubsub.py +10 -31
- cribl_control_plane/models/outputgrafanacloud.py +32 -97
- cribl_control_plane/models/outputgraphite.py +14 -31
- cribl_control_plane/models/outputhoneycomb.py +12 -35
- cribl_control_plane/models/outputhumiohec.py +16 -43
- cribl_control_plane/models/outputinfluxdb.py +16 -42
- cribl_control_plane/models/outputkafka.py +40 -69
- cribl_control_plane/models/outputkinesis.py +16 -40
- cribl_control_plane/models/outputloki.py +16 -41
- cribl_control_plane/models/outputminio.py +24 -65
- cribl_control_plane/models/outputmsk.py +42 -77
- cribl_control_plane/models/outputnewrelic.py +18 -43
- cribl_control_plane/models/outputnewrelicevents.py +14 -41
- cribl_control_plane/models/outputopentelemetry.py +26 -67
- cribl_control_plane/models/outputprometheus.py +12 -35
- cribl_control_plane/models/outputring.py +8 -19
- cribl_control_plane/models/outputs3.py +26 -68
- cribl_control_plane/models/outputsecuritylake.py +18 -52
- cribl_control_plane/models/outputsentinel.py +18 -45
- cribl_control_plane/models/outputsentineloneaisiem.py +18 -50
- cribl_control_plane/models/outputservicenow.py +24 -60
- cribl_control_plane/models/outputsignalfx.py +14 -37
- cribl_control_plane/models/outputsns.py +14 -36
- cribl_control_plane/models/outputsplunk.py +24 -60
- cribl_control_plane/models/outputsplunkhec.py +12 -35
- cribl_control_plane/models/outputsplunklb.py +30 -77
- cribl_control_plane/models/outputsqs.py +16 -41
- cribl_control_plane/models/outputstatsd.py +14 -30
- cribl_control_plane/models/outputstatsdext.py +12 -29
- cribl_control_plane/models/outputsumologic.py +12 -35
- cribl_control_plane/models/outputsyslog.py +24 -58
- cribl_control_plane/models/outputtcpjson.py +20 -52
- cribl_control_plane/models/outputwavefront.py +12 -35
- cribl_control_plane/models/outputwebhook.py +22 -58
- cribl_control_plane/models/outputxsiam.py +14 -35
- cribl_control_plane/models/productscore.py +1 -2
- cribl_control_plane/models/rbacresource.py +1 -2
- cribl_control_plane/models/resourcepolicy.py +2 -4
- cribl_control_plane/models/routecloneconf.py +13 -0
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +13 -30
- cribl_control_plane/models/runnablejobexecutor.py +4 -13
- cribl_control_plane/models/runnablejobscheduledsearch.py +2 -7
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +2 -8
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +2 -8
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +5 -6
- cribl_control_plane/models/workertypes.py +1 -2
- {cribl_control_plane-0.0.50rc2.dist-info → cribl_control_plane-0.0.51.dist-info}/METADATA +14 -5
- cribl_control_plane-0.0.51.dist-info/RECORD +325 -0
- cribl_control_plane/models/error.py +0 -16
- cribl_control_plane/models/gethealthinfoop.py +0 -17
- cribl_control_plane/models/gitshowresult.py +0 -19
- cribl_control_plane/models/outputdatabricks.py +0 -282
- cribl_control_plane-0.0.50rc2.dist-info/RECORD +0 -327
- {cribl_control_plane-0.0.50rc2.dist-info → cribl_control_plane-0.0.51.dist-info}/WHEEL +0 -0
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .cloudprovider import CloudProvider
|
|
5
5
|
from cribl_control_plane.types import BaseModel, Nullable, UNSET_SENTINEL
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
6
|
from pydantic import model_serializer
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
from typing_extensions import TypedDict
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
class ConfigGroupCloudTypedDict(TypedDict):
|
|
@@ -15,9 +13,7 @@ class ConfigGroupCloudTypedDict(TypedDict):
|
|
|
15
13
|
|
|
16
14
|
|
|
17
15
|
class ConfigGroupCloud(BaseModel):
|
|
18
|
-
provider:
|
|
19
|
-
Nullable[CloudProvider], PlainValidator(validate_open_enum(False))
|
|
20
|
-
]
|
|
16
|
+
provider: Nullable[CloudProvider]
|
|
21
17
|
|
|
22
18
|
region: str
|
|
23
19
|
|
|
@@ -4,13 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from cribl_control_plane.utils import
|
|
8
|
-
FieldMetadata,
|
|
9
|
-
PathParamMetadata,
|
|
10
|
-
RequestMetadata,
|
|
11
|
-
validate_open_enum,
|
|
12
|
-
)
|
|
13
|
-
from pydantic.functional_validators import PlainValidator
|
|
7
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
14
8
|
from typing import List, Optional
|
|
15
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
10
|
|
|
@@ -24,7 +18,7 @@ class CreateConfigGroupByProductRequestTypedDict(TypedDict):
|
|
|
24
18
|
|
|
25
19
|
class CreateConfigGroupByProductRequest(BaseModel):
|
|
26
20
|
product: Annotated[
|
|
27
|
-
|
|
21
|
+
ProductsCore,
|
|
28
22
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
29
23
|
]
|
|
30
24
|
r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .addhectokenrequest import AddHecTokenRequest, AddHecTokenRequestTypedDict
|
|
5
|
-
from .inputsplunkhec import InputSplunkHec, InputSplunkHecTypedDict
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
|
-
from typing import List, Optional
|
|
7
|
+
from typing import Any, Dict, List, Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -30,17 +29,17 @@ class CreateInputHecTokenByIDRequest(BaseModel):
|
|
|
30
29
|
|
|
31
30
|
|
|
32
31
|
class CreateInputHecTokenByIDResponseTypedDict(TypedDict):
|
|
33
|
-
r"""a list of
|
|
32
|
+
r"""a list of any objects"""
|
|
34
33
|
|
|
35
34
|
count: NotRequired[int]
|
|
36
35
|
r"""number of items present in the items array"""
|
|
37
|
-
items: NotRequired[List[
|
|
36
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
38
37
|
|
|
39
38
|
|
|
40
39
|
class CreateInputHecTokenByIDResponse(BaseModel):
|
|
41
|
-
r"""a list of
|
|
40
|
+
r"""a list of any objects"""
|
|
42
41
|
|
|
43
42
|
count: Optional[int] = None
|
|
44
43
|
r"""number of items present in the items array"""
|
|
45
44
|
|
|
46
|
-
items: Optional[List[
|
|
45
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
-
from typing import List, Optional
|
|
5
|
+
from typing import Any, Dict, List, Optional
|
|
6
6
|
from typing_extensions import NotRequired, TypedDict
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class CreateVersionPushResponseTypedDict(TypedDict):
|
|
10
|
-
r"""a list of
|
|
10
|
+
r"""a list of any objects"""
|
|
11
11
|
|
|
12
12
|
count: NotRequired[int]
|
|
13
13
|
r"""number of items present in the items array"""
|
|
14
|
-
items: NotRequired[List[str]]
|
|
14
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class CreateVersionPushResponse(BaseModel):
|
|
18
|
-
r"""a list of
|
|
18
|
+
r"""a list of any objects"""
|
|
19
19
|
|
|
20
20
|
count: Optional[int] = None
|
|
21
21
|
r"""number of items present in the items array"""
|
|
22
22
|
|
|
23
|
-
items: Optional[List[str]] = None
|
|
23
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -6,17 +6,14 @@ from .lakedatasetsearchconfig import (
|
|
|
6
6
|
LakeDatasetSearchConfig,
|
|
7
7
|
LakeDatasetSearchConfigTypedDict,
|
|
8
8
|
)
|
|
9
|
-
from cribl_control_plane import utils
|
|
10
9
|
from cribl_control_plane.types import BaseModel
|
|
11
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
12
10
|
from enum import Enum
|
|
13
11
|
import pydantic
|
|
14
|
-
from pydantic.functional_validators import PlainValidator
|
|
15
12
|
from typing import List, Optional
|
|
16
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
14
|
|
|
18
15
|
|
|
19
|
-
class CriblLakeDatasetFormat(str, Enum
|
|
16
|
+
class CriblLakeDatasetFormat(str, Enum):
|
|
20
17
|
JSON = "json"
|
|
21
18
|
DDSS = "ddss"
|
|
22
19
|
PARQUET = "parquet"
|
|
@@ -57,10 +54,7 @@ class CriblLakeDataset(BaseModel):
|
|
|
57
54
|
description: Optional[str] = None
|
|
58
55
|
|
|
59
56
|
format_: Annotated[
|
|
60
|
-
|
|
61
|
-
Optional[CriblLakeDatasetFormat], PlainValidator(validate_open_enum(False))
|
|
62
|
-
],
|
|
63
|
-
pydantic.Field(alias="format"),
|
|
57
|
+
Optional[CriblLakeDatasetFormat], pydantic.Field(alias="format")
|
|
64
58
|
] = None
|
|
65
59
|
|
|
66
60
|
http_da_used: Annotated[Optional[bool], pydantic.Field(alias="httpDAUsed")] = None
|
|
@@ -5,17 +5,14 @@ from .datasetmetadataruninfo import (
|
|
|
5
5
|
DatasetMetadataRunInfo,
|
|
6
6
|
DatasetMetadataRunInfoTypedDict,
|
|
7
7
|
)
|
|
8
|
-
from cribl_control_plane import utils
|
|
9
8
|
from cribl_control_plane.types import BaseModel
|
|
10
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
11
9
|
from enum import Enum
|
|
12
10
|
import pydantic
|
|
13
|
-
from pydantic.functional_validators import PlainValidator
|
|
14
11
|
from typing import List, Optional
|
|
15
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
13
|
|
|
17
14
|
|
|
18
|
-
class ScanMode(str, Enum
|
|
15
|
+
class ScanMode(str, Enum):
|
|
19
16
|
DETAILED = "detailed"
|
|
20
17
|
QUICK = "quick"
|
|
21
18
|
|
|
@@ -35,10 +32,7 @@ class DatasetMetadata(BaseModel):
|
|
|
35
32
|
|
|
36
33
|
field_list: Annotated[List[str], pydantic.Field(alias="fieldList")]
|
|
37
34
|
|
|
38
|
-
scan_mode: Annotated[
|
|
39
|
-
Annotated[ScanMode, PlainValidator(validate_open_enum(False))],
|
|
40
|
-
pydantic.Field(alias="scanMode"),
|
|
41
|
-
]
|
|
35
|
+
scan_mode: Annotated[ScanMode, pydantic.Field(alias="scanMode")]
|
|
42
36
|
|
|
43
37
|
latest_run_info: Annotated[
|
|
44
38
|
Optional[DatasetMetadataRunInfo], pydantic.Field(alias="latestRunInfo")
|
|
@@ -4,12 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from cribl_control_plane.utils import
|
|
8
|
-
FieldMetadata,
|
|
9
|
-
PathParamMetadata,
|
|
10
|
-
validate_open_enum,
|
|
11
|
-
)
|
|
12
|
-
from pydantic.functional_validators import PlainValidator
|
|
7
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
13
8
|
from typing import List, Optional
|
|
14
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
10
|
|
|
@@ -23,7 +18,7 @@ class DeleteConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
|
23
18
|
|
|
24
19
|
class DeleteConfigGroupByProductAndIDRequest(BaseModel):
|
|
25
20
|
product: Annotated[
|
|
26
|
-
|
|
21
|
+
ProductsCore,
|
|
27
22
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
28
23
|
]
|
|
29
24
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -9,9 +9,7 @@ from cribl_control_plane.utils import (
|
|
|
9
9
|
FieldMetadata,
|
|
10
10
|
PathParamMetadata,
|
|
11
11
|
QueryParamMetadata,
|
|
12
|
-
validate_open_enum,
|
|
13
12
|
)
|
|
14
|
-
from pydantic.functional_validators import PlainValidator
|
|
15
13
|
from typing import List, Optional
|
|
16
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
15
|
|
|
@@ -27,7 +25,7 @@ class GetConfigGroupACLByProductAndIDRequestTypedDict(TypedDict):
|
|
|
27
25
|
|
|
28
26
|
class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
29
27
|
product: Annotated[
|
|
30
|
-
|
|
28
|
+
ProductsCore,
|
|
31
29
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
32
30
|
]
|
|
33
31
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -38,7 +36,7 @@ class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
|
38
36
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the ACL for."""
|
|
39
37
|
|
|
40
38
|
type: Annotated[
|
|
41
|
-
|
|
39
|
+
Optional[RbacResource],
|
|
42
40
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
43
41
|
] = None
|
|
44
42
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
@@ -9,9 +9,7 @@ from cribl_control_plane.utils import (
|
|
|
9
9
|
FieldMetadata,
|
|
10
10
|
PathParamMetadata,
|
|
11
11
|
QueryParamMetadata,
|
|
12
|
-
validate_open_enum,
|
|
13
12
|
)
|
|
14
|
-
from pydantic.functional_validators import PlainValidator
|
|
15
13
|
from typing import List, Optional
|
|
16
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
15
|
|
|
@@ -27,7 +25,7 @@ class GetConfigGroupACLTeamsByProductAndIDRequestTypedDict(TypedDict):
|
|
|
27
25
|
|
|
28
26
|
class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
29
27
|
product: Annotated[
|
|
30
|
-
|
|
28
|
+
ProductsCore,
|
|
31
29
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
32
30
|
]
|
|
33
31
|
r"""Name of the Cribl product that contains the Worker Group or Edge Fleet."""
|
|
@@ -38,7 +36,7 @@ class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
|
38
36
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the team ACL for."""
|
|
39
37
|
|
|
40
38
|
type: Annotated[
|
|
41
|
-
|
|
39
|
+
Optional[RbacResource],
|
|
42
40
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
43
41
|
] = None
|
|
44
42
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
@@ -8,9 +8,7 @@ from cribl_control_plane.utils import (
|
|
|
8
8
|
FieldMetadata,
|
|
9
9
|
PathParamMetadata,
|
|
10
10
|
QueryParamMetadata,
|
|
11
|
-
validate_open_enum,
|
|
12
11
|
)
|
|
13
|
-
from pydantic.functional_validators import PlainValidator
|
|
14
12
|
from typing import List, Optional
|
|
15
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
14
|
|
|
@@ -26,7 +24,7 @@ class GetConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
|
26
24
|
|
|
27
25
|
class GetConfigGroupByProductAndIDRequest(BaseModel):
|
|
28
26
|
product: Annotated[
|
|
29
|
-
|
|
27
|
+
ProductsCore,
|
|
30
28
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
31
29
|
]
|
|
32
30
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import
|
|
7
|
-
FieldMetadata,
|
|
8
|
-
PathParamMetadata,
|
|
9
|
-
validate_open_enum,
|
|
10
|
-
)
|
|
11
|
-
from pydantic.functional_validators import PlainValidator
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
12
7
|
from typing import List, Optional
|
|
13
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
9
|
|
|
@@ -22,7 +17,7 @@ class GetConfigGroupConfigVersionByProductAndIDRequestTypedDict(TypedDict):
|
|
|
22
17
|
|
|
23
18
|
class GetConfigGroupConfigVersionByProductAndIDRequest(BaseModel):
|
|
24
19
|
product: Annotated[
|
|
25
|
-
|
|
20
|
+
ProductsCore,
|
|
26
21
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
27
22
|
]
|
|
28
23
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -4,12 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .distributedsummary import DistributedSummary, DistributedSummaryTypedDict
|
|
5
5
|
from .workertypes import WorkerTypes
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from cribl_control_plane.utils import
|
|
8
|
-
FieldMetadata,
|
|
9
|
-
QueryParamMetadata,
|
|
10
|
-
validate_open_enum,
|
|
11
|
-
)
|
|
12
|
-
from pydantic.functional_validators import PlainValidator
|
|
7
|
+
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
13
8
|
from typing import List, Optional
|
|
14
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
10
|
|
|
@@ -21,7 +16,7 @@ class GetSummaryRequestTypedDict(TypedDict):
|
|
|
21
16
|
|
|
22
17
|
class GetSummaryRequest(BaseModel):
|
|
23
18
|
mode: Annotated[
|
|
24
|
-
|
|
19
|
+
Optional[WorkerTypes],
|
|
25
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
26
21
|
] = None
|
|
27
22
|
r"""Filter for limiting the response by Cribl product: Cribl Stream (<code>worker</code>) or Cribl Edge (<code>managed-edge</code>)."""
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .gitshowresult import GitShowResult, GitShowResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import List, Optional
|
|
7
|
+
from typing import Any, Dict, List, Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -49,17 +48,17 @@ class GetVersionShowRequest(BaseModel):
|
|
|
49
48
|
|
|
50
49
|
|
|
51
50
|
class GetVersionShowResponseTypedDict(TypedDict):
|
|
52
|
-
r"""a list of
|
|
51
|
+
r"""a list of any objects"""
|
|
53
52
|
|
|
54
53
|
count: NotRequired[int]
|
|
55
54
|
r"""number of items present in the items array"""
|
|
56
|
-
items: NotRequired[List[
|
|
55
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
57
56
|
|
|
58
57
|
|
|
59
58
|
class GetVersionShowResponse(BaseModel):
|
|
60
|
-
r"""a list of
|
|
59
|
+
r"""a list of any objects"""
|
|
61
60
|
|
|
62
61
|
count: Optional[int] = None
|
|
63
62
|
r"""number of items present in the items array"""
|
|
64
63
|
|
|
65
|
-
items: Optional[List[
|
|
64
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -1,26 +1,15 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
-
from enum import Enum
|
|
8
|
-
from pydantic.functional_validators import PlainValidator
|
|
9
5
|
from typing import Union
|
|
10
|
-
from typing_extensions import
|
|
6
|
+
from typing_extensions import TypeAliasType, TypedDict
|
|
11
7
|
|
|
12
8
|
|
|
13
|
-
|
|
14
|
-
FALSE = "false"
|
|
9
|
+
RemoteTypedDict = TypeAliasType("RemoteTypedDict", Union[str, bool])
|
|
15
10
|
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Remote = TypeAliasType(
|
|
21
|
-
"Remote",
|
|
22
|
-
Union[str, Annotated[RemoteEnum, PlainValidator(validate_open_enum(False))]],
|
|
23
|
-
)
|
|
12
|
+
Remote = TypeAliasType("Remote", Union[str, bool])
|
|
24
13
|
|
|
25
14
|
|
|
26
15
|
class GitInfoTypedDict(TypedDict):
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .appmode import AppMode
|
|
4
5
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
5
6
|
from .lookupversions import LookupVersions, LookupVersionsTypedDict
|
|
6
|
-
from cribl_control_plane import utils
|
|
7
7
|
from cribl_control_plane.types import BaseModel
|
|
8
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
9
|
-
from enum import Enum
|
|
10
8
|
import pydantic
|
|
11
|
-
from pydantic.functional_validators import PlainValidator
|
|
12
9
|
from typing import List, Optional
|
|
13
10
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
11
|
|
|
@@ -37,19 +34,9 @@ class Config(BaseModel):
|
|
|
37
34
|
version: Optional[str] = None
|
|
38
35
|
|
|
39
36
|
|
|
40
|
-
class DistMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
41
|
-
EDGE = "edge"
|
|
42
|
-
WORKER = "worker"
|
|
43
|
-
SINGLE = "single"
|
|
44
|
-
MASTER = "master"
|
|
45
|
-
MANAGED_EDGE = "managed-edge"
|
|
46
|
-
OUTPOST = "outpost"
|
|
47
|
-
SEARCH_SUPERVISOR = "search-supervisor"
|
|
48
|
-
|
|
49
|
-
|
|
50
37
|
class HBCriblInfoTypedDict(TypedDict):
|
|
51
38
|
config: ConfigTypedDict
|
|
52
|
-
dist_mode:
|
|
39
|
+
dist_mode: AppMode
|
|
53
40
|
group: str
|
|
54
41
|
guid: str
|
|
55
42
|
start_time: float
|
|
@@ -61,17 +48,13 @@ class HBCriblInfoTypedDict(TypedDict):
|
|
|
61
48
|
lookup_versions: NotRequired[LookupVersionsTypedDict]
|
|
62
49
|
master: NotRequired[HBLeaderInfoTypedDict]
|
|
63
50
|
pid: NotRequired[float]
|
|
64
|
-
socks_enabled: NotRequired[bool]
|
|
65
51
|
version: NotRequired[str]
|
|
66
52
|
|
|
67
53
|
|
|
68
54
|
class HBCriblInfo(BaseModel):
|
|
69
55
|
config: Config
|
|
70
56
|
|
|
71
|
-
dist_mode: Annotated[
|
|
72
|
-
Annotated[DistMode, PlainValidator(validate_open_enum(False))],
|
|
73
|
-
pydantic.Field(alias="distMode"),
|
|
74
|
-
]
|
|
57
|
+
dist_mode: Annotated[AppMode, pydantic.Field(alias="distMode")]
|
|
75
58
|
|
|
76
59
|
group: str
|
|
77
60
|
|
|
@@ -99,8 +82,4 @@ class HBCriblInfo(BaseModel):
|
|
|
99
82
|
|
|
100
83
|
pid: Optional[float] = None
|
|
101
84
|
|
|
102
|
-
socks_enabled: Annotated[Optional[bool], pydantic.Field(alias="socksEnabled")] = (
|
|
103
|
-
None
|
|
104
|
-
)
|
|
105
|
-
|
|
106
85
|
version: Optional[str] = None
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
5
|
from enum import Enum
|
|
8
6
|
import pydantic
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
7
|
from typing import Optional
|
|
11
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
9
|
|
|
13
10
|
|
|
14
|
-
class Role(str, Enum
|
|
11
|
+
class Role(str, Enum):
|
|
15
12
|
PRIMARY = "primary"
|
|
16
13
|
STANDBY = "standby"
|
|
17
14
|
|
|
18
15
|
|
|
19
|
-
class Status(str, Enum
|
|
16
|
+
class Status(str, Enum):
|
|
20
17
|
HEALTHY = "healthy"
|
|
21
18
|
SHUTTING_DOWN = "shutting down"
|
|
22
19
|
STANDBY = "standby"
|
|
@@ -29,8 +26,8 @@ class HealthStatusTypedDict(TypedDict):
|
|
|
29
26
|
|
|
30
27
|
|
|
31
28
|
class HealthStatus(BaseModel):
|
|
32
|
-
status:
|
|
29
|
+
status: Status
|
|
33
30
|
|
|
34
31
|
start_time: Annotated[float, pydantic.Field(alias="startTime")]
|
|
35
32
|
|
|
36
|
-
role:
|
|
33
|
+
role: Optional[Role] = None
|
|
@@ -17,7 +17,6 @@ class HeartbeatMetadataTags(BaseModel):
|
|
|
17
17
|
|
|
18
18
|
class HeartbeatMetadataAwsTypedDict(TypedDict):
|
|
19
19
|
enabled: bool
|
|
20
|
-
instance_id: str
|
|
21
20
|
region: str
|
|
22
21
|
type: str
|
|
23
22
|
zone: str
|
|
@@ -27,8 +26,6 @@ class HeartbeatMetadataAwsTypedDict(TypedDict):
|
|
|
27
26
|
class HeartbeatMetadataAws(BaseModel):
|
|
28
27
|
enabled: bool
|
|
29
28
|
|
|
30
|
-
instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
|
|
31
|
-
|
|
32
29
|
region: str
|
|
33
30
|
|
|
34
31
|
type: str
|
|
@@ -66,10 +66,8 @@ from .inputwineventlogs import InputWinEventLogs, InputWinEventLogsTypedDict
|
|
|
66
66
|
from .inputwiz import InputWiz, InputWizTypedDict
|
|
67
67
|
from .inputwizwebhook import InputWizWebhook, InputWizWebhookTypedDict
|
|
68
68
|
from .inputzscalerhec import InputZscalerHec, InputZscalerHecTypedDict
|
|
69
|
-
from cribl_control_plane.utils import get_discriminator
|
|
70
|
-
from pydantic import Discriminator, Tag
|
|
71
69
|
from typing import Union
|
|
72
|
-
from typing_extensions import
|
|
70
|
+
from typing_extensions import TypeAliasType
|
|
73
71
|
|
|
74
72
|
|
|
75
73
|
InputTypedDict = TypeAliasType(
|
|
@@ -138,67 +136,67 @@ InputTypedDict = TypeAliasType(
|
|
|
138
136
|
)
|
|
139
137
|
|
|
140
138
|
|
|
141
|
-
Input =
|
|
139
|
+
Input = TypeAliasType(
|
|
140
|
+
"Input",
|
|
142
141
|
Union[
|
|
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
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
142
|
+
InputDatagen,
|
|
143
|
+
InputKubeEvents,
|
|
144
|
+
InputCribl,
|
|
145
|
+
InputCriblmetrics,
|
|
146
|
+
InputKubeMetrics,
|
|
147
|
+
InputCollection,
|
|
148
|
+
InputSystemState,
|
|
149
|
+
InputModelDrivenTelemetry,
|
|
150
|
+
InputSystemMetrics,
|
|
151
|
+
InputWindowsMetrics,
|
|
152
|
+
InputJournalFiles,
|
|
153
|
+
InputWinEventLogs,
|
|
154
|
+
InputRawUDP,
|
|
155
|
+
InputExec,
|
|
156
|
+
InputKubeLogs,
|
|
157
|
+
InputMetrics,
|
|
158
|
+
InputSnmp,
|
|
159
|
+
InputCriblTCP,
|
|
160
|
+
InputNetflow,
|
|
161
|
+
InputTcpjson,
|
|
162
|
+
InputGooglePubsub,
|
|
163
|
+
InputOffice365Service,
|
|
164
|
+
InputWiz,
|
|
165
|
+
InputTCP,
|
|
166
|
+
InputFirehose,
|
|
167
|
+
InputCriblHTTP,
|
|
168
|
+
InputDatadogAgent,
|
|
169
|
+
InputOffice365Mgmt,
|
|
170
|
+
InputFile,
|
|
171
|
+
InputSplunk,
|
|
172
|
+
InputWef,
|
|
173
|
+
InputAppscope,
|
|
174
|
+
InputHTTPRaw,
|
|
175
|
+
InputWizWebhook,
|
|
176
|
+
InputHTTP,
|
|
177
|
+
InputCriblLakeHTTP,
|
|
178
|
+
InputAzureBlob,
|
|
179
|
+
InputSqs,
|
|
180
|
+
InputZscalerHec,
|
|
181
|
+
InputKinesis,
|
|
182
|
+
InputConfluentCloud,
|
|
183
|
+
InputEventhub,
|
|
184
|
+
InputKafka,
|
|
185
|
+
InputElastic,
|
|
186
|
+
InputOffice365MsgTrace,
|
|
187
|
+
InputSplunkHec,
|
|
188
|
+
InputLoki,
|
|
189
|
+
InputPrometheusRw,
|
|
190
|
+
InputPrometheus,
|
|
191
|
+
InputCrowdstrike,
|
|
192
|
+
InputEdgePrometheus,
|
|
193
|
+
InputOpenTelemetry,
|
|
194
|
+
InputS3,
|
|
195
|
+
InputSecurityLake,
|
|
196
|
+
InputMsk,
|
|
197
|
+
InputS3Inventory,
|
|
198
|
+
InputSplunkSearch,
|
|
199
|
+
InputSyslog,
|
|
200
|
+
InputGrafana,
|
|
202
201
|
],
|
|
203
|
-
|
|
204
|
-
]
|
|
202
|
+
)
|