cribl-control-plane 0.0.37a1__py3-none-any.whl → 0.0.38__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 +56 -46
- cribl_control_plane/commits_files.py +12 -12
- cribl_control_plane/models/__init__.py +533 -215
- cribl_control_plane/models/createversioncommitop.py +26 -1
- cribl_control_plane/models/createversionrevertop.py +4 -2
- cribl_control_plane/models/createversionundoop.py +4 -2
- cribl_control_plane/models/getpacksbyidop.py +37 -0
- cribl_control_plane/models/getversioncountop.py +3 -2
- cribl_control_plane/models/getversiondiffop.py +3 -2
- cribl_control_plane/models/getversionfilesop.py +3 -2
- cribl_control_plane/models/getversionop.py +4 -2
- cribl_control_plane/models/getversionshowop.py +3 -2
- cribl_control_plane/models/getversionstatusop.py +4 -2
- cribl_control_plane/models/gitrevertparams.py +3 -3
- cribl_control_plane/models/input.py +77 -76
- cribl_control_plane/models/inputcrowdstrike.py +2 -2
- cribl_control_plane/models/inputgrafana.py +678 -67
- cribl_control_plane/models/inputs3.py +2 -2
- cribl_control_plane/models/inputs3inventory.py +2 -2
- cribl_control_plane/models/inputsecuritylake.py +2 -2
- cribl_control_plane/models/inputsyslog.py +406 -37
- cribl_control_plane/models/inputwizwebhook.py +393 -0
- cribl_control_plane/models/output.py +75 -77
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -1
- cribl_control_plane/models/outputgooglepubsub.py +7 -28
- cribl_control_plane/models/outputgrafanacloud.py +565 -69
- cribl_control_plane/models/packinfo.py +5 -5
- cribl_control_plane/models/packinstallinfo.py +5 -5
- cribl_control_plane/models/packrequestbody_union.py +140 -0
- cribl_control_plane/models/packupgraderequest.py +26 -0
- cribl_control_plane/models/updatepacksbyidop.py +9 -28
- cribl_control_plane/packs.py +236 -116
- cribl_control_plane/statuses.py +6 -6
- {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38.dist-info}/METADATA +4 -3
- {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38.dist-info}/RECORD +37 -34
- cribl_control_plane/models/packrequestbody.py +0 -75
- {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38.dist-info}/WHEEL +0 -0
|
@@ -9,19 +9,19 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
9
9
|
|
|
10
10
|
class PackInfoTagsTypedDict(TypedDict):
|
|
11
11
|
data_type: List[str]
|
|
12
|
-
domain: List[str]
|
|
13
|
-
streamtags: List[str]
|
|
14
12
|
technology: List[str]
|
|
13
|
+
domain: NotRequired[List[str]]
|
|
14
|
+
streamtags: NotRequired[List[str]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class PackInfoTags(BaseModel):
|
|
18
18
|
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
technology: List[str]
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
domain: Optional[List[str]] = None
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
streamtags: Optional[List[str]] = None
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class PackInfoTypedDict(TypedDict):
|
|
@@ -9,19 +9,19 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
9
9
|
|
|
10
10
|
class PackInstallInfoTagsTypedDict(TypedDict):
|
|
11
11
|
data_type: List[str]
|
|
12
|
-
domain: List[str]
|
|
13
|
-
streamtags: List[str]
|
|
14
12
|
technology: List[str]
|
|
13
|
+
domain: NotRequired[List[str]]
|
|
14
|
+
streamtags: NotRequired[List[str]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class PackInstallInfoTags(BaseModel):
|
|
18
18
|
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
technology: List[str]
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
domain: Optional[List[str]] = None
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
streamtags: Optional[List[str]] = None
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class PackInstallInfoTypedDict(TypedDict):
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
import pydantic
|
|
6
|
+
from typing import List, Optional, Union
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PackRequestBodyTags2TypedDict(TypedDict):
|
|
11
|
+
data_type: NotRequired[List[str]]
|
|
12
|
+
domain: NotRequired[List[str]]
|
|
13
|
+
technology: NotRequired[List[str]]
|
|
14
|
+
streamtags: NotRequired[List[str]]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PackRequestBodyTags2(BaseModel):
|
|
18
|
+
data_type: Annotated[Optional[List[str]], pydantic.Field(alias="dataType")] = None
|
|
19
|
+
|
|
20
|
+
domain: Optional[List[str]] = None
|
|
21
|
+
|
|
22
|
+
technology: Optional[List[str]] = None
|
|
23
|
+
|
|
24
|
+
streamtags: Optional[List[str]] = None
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class PackRequestBody2TypedDict(TypedDict):
|
|
28
|
+
source: str
|
|
29
|
+
r"""The source of the pack. If not present, an empty pack will be created"""
|
|
30
|
+
id: NotRequired[str]
|
|
31
|
+
spec: NotRequired[str]
|
|
32
|
+
version: NotRequired[str]
|
|
33
|
+
min_log_stream_version: NotRequired[str]
|
|
34
|
+
display_name: NotRequired[str]
|
|
35
|
+
author: NotRequired[str]
|
|
36
|
+
description: NotRequired[str]
|
|
37
|
+
tags: NotRequired[PackRequestBodyTags2TypedDict]
|
|
38
|
+
allow_custom_functions: NotRequired[bool]
|
|
39
|
+
force: NotRequired[bool]
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class PackRequestBody2(BaseModel):
|
|
43
|
+
source: str
|
|
44
|
+
r"""The source of the pack. If not present, an empty pack will be created"""
|
|
45
|
+
|
|
46
|
+
id: Optional[str] = None
|
|
47
|
+
|
|
48
|
+
spec: Optional[str] = None
|
|
49
|
+
|
|
50
|
+
version: Optional[str] = None
|
|
51
|
+
|
|
52
|
+
min_log_stream_version: Annotated[
|
|
53
|
+
Optional[str], pydantic.Field(alias="minLogStreamVersion")
|
|
54
|
+
] = None
|
|
55
|
+
|
|
56
|
+
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
57
|
+
|
|
58
|
+
author: Optional[str] = None
|
|
59
|
+
|
|
60
|
+
description: Optional[str] = None
|
|
61
|
+
|
|
62
|
+
tags: Optional[PackRequestBodyTags2] = None
|
|
63
|
+
|
|
64
|
+
allow_custom_functions: Annotated[
|
|
65
|
+
Optional[bool], pydantic.Field(alias="allowCustomFunctions")
|
|
66
|
+
] = None
|
|
67
|
+
|
|
68
|
+
force: Optional[bool] = None
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class PackRequestBodyTags1TypedDict(TypedDict):
|
|
72
|
+
data_type: NotRequired[List[str]]
|
|
73
|
+
domain: NotRequired[List[str]]
|
|
74
|
+
technology: NotRequired[List[str]]
|
|
75
|
+
streamtags: NotRequired[List[str]]
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class PackRequestBodyTags1(BaseModel):
|
|
79
|
+
data_type: Annotated[Optional[List[str]], pydantic.Field(alias="dataType")] = None
|
|
80
|
+
|
|
81
|
+
domain: Optional[List[str]] = None
|
|
82
|
+
|
|
83
|
+
technology: Optional[List[str]] = None
|
|
84
|
+
|
|
85
|
+
streamtags: Optional[List[str]] = None
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class PackRequestBody1TypedDict(TypedDict):
|
|
89
|
+
id: str
|
|
90
|
+
spec: NotRequired[str]
|
|
91
|
+
version: NotRequired[str]
|
|
92
|
+
min_log_stream_version: NotRequired[str]
|
|
93
|
+
display_name: NotRequired[str]
|
|
94
|
+
author: NotRequired[str]
|
|
95
|
+
description: NotRequired[str]
|
|
96
|
+
source: NotRequired[str]
|
|
97
|
+
r"""The source of the pack. If not present, an empty pack will be created"""
|
|
98
|
+
tags: NotRequired[PackRequestBodyTags1TypedDict]
|
|
99
|
+
allow_custom_functions: NotRequired[bool]
|
|
100
|
+
force: NotRequired[bool]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class PackRequestBody1(BaseModel):
|
|
104
|
+
id: str
|
|
105
|
+
|
|
106
|
+
spec: Optional[str] = None
|
|
107
|
+
|
|
108
|
+
version: Optional[str] = None
|
|
109
|
+
|
|
110
|
+
min_log_stream_version: Annotated[
|
|
111
|
+
Optional[str], pydantic.Field(alias="minLogStreamVersion")
|
|
112
|
+
] = None
|
|
113
|
+
|
|
114
|
+
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
115
|
+
|
|
116
|
+
author: Optional[str] = None
|
|
117
|
+
|
|
118
|
+
description: Optional[str] = None
|
|
119
|
+
|
|
120
|
+
source: Optional[str] = None
|
|
121
|
+
r"""The source of the pack. If not present, an empty pack will be created"""
|
|
122
|
+
|
|
123
|
+
tags: Optional[PackRequestBodyTags1] = None
|
|
124
|
+
|
|
125
|
+
allow_custom_functions: Annotated[
|
|
126
|
+
Optional[bool], pydantic.Field(alias="allowCustomFunctions")
|
|
127
|
+
] = None
|
|
128
|
+
|
|
129
|
+
force: Optional[bool] = None
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
PackRequestBodyUnionTypedDict = TypeAliasType(
|
|
133
|
+
"PackRequestBodyUnionTypedDict",
|
|
134
|
+
Union[PackRequestBody1TypedDict, PackRequestBody2TypedDict],
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
PackRequestBodyUnion = TypeAliasType(
|
|
139
|
+
"PackRequestBodyUnion", Union[PackRequestBody1, PackRequestBody2]
|
|
140
|
+
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
import pydantic
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PackUpgradeRequestTypedDict(TypedDict):
|
|
11
|
+
source: str
|
|
12
|
+
allow_custom_functions: NotRequired[bool]
|
|
13
|
+
minor: NotRequired[str]
|
|
14
|
+
spec: NotRequired[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PackUpgradeRequest(BaseModel):
|
|
18
|
+
source: str
|
|
19
|
+
|
|
20
|
+
allow_custom_functions: Annotated[
|
|
21
|
+
Optional[bool], pydantic.Field(alias="allowCustomFunctions")
|
|
22
|
+
] = None
|
|
23
|
+
|
|
24
|
+
minor: Optional[str] = None
|
|
25
|
+
|
|
26
|
+
spec: Optional[str] = None
|
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .packinfo import PackInfo, PackInfoTypedDict
|
|
5
|
+
from .packupgraderequest import PackUpgradeRequest, PackUpgradeRequestTypedDict
|
|
5
6
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import
|
|
7
|
-
FieldMetadata,
|
|
8
|
-
PathParamMetadata,
|
|
9
|
-
QueryParamMetadata,
|
|
10
|
-
)
|
|
7
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
11
8
|
from typing import List, Optional
|
|
12
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
10
|
|
|
@@ -15,12 +12,8 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
15
12
|
class UpdatePacksByIDRequestTypedDict(TypedDict):
|
|
16
13
|
id: str
|
|
17
14
|
r"""The <code>id</code> of the Pack to upgrade."""
|
|
18
|
-
|
|
19
|
-
r"""
|
|
20
|
-
minor: NotRequired[str]
|
|
21
|
-
r"""body boolean optional Only upgrade to minor/patch versions"""
|
|
22
|
-
spec: NotRequired[str]
|
|
23
|
-
r"""body string optional Specify a branch, tag or a semver spec"""
|
|
15
|
+
pack_upgrade_request: PackUpgradeRequestTypedDict
|
|
16
|
+
r"""PackUpgradeRequest object"""
|
|
24
17
|
|
|
25
18
|
|
|
26
19
|
class UpdatePacksByIDRequest(BaseModel):
|
|
@@ -29,23 +22,11 @@ class UpdatePacksByIDRequest(BaseModel):
|
|
|
29
22
|
]
|
|
30
23
|
r"""The <code>id</code> of the Pack to upgrade."""
|
|
31
24
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
FieldMetadata(
|
|
35
|
-
]
|
|
36
|
-
r"""
|
|
37
|
-
|
|
38
|
-
minor: Annotated[
|
|
39
|
-
Optional[str],
|
|
40
|
-
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
41
|
-
] = None
|
|
42
|
-
r"""body boolean optional Only upgrade to minor/patch versions"""
|
|
43
|
-
|
|
44
|
-
spec: Annotated[
|
|
45
|
-
Optional[str],
|
|
46
|
-
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
47
|
-
] = None
|
|
48
|
-
r"""body string optional Specify a branch, tag or a semver spec"""
|
|
25
|
+
pack_upgrade_request: Annotated[
|
|
26
|
+
PackUpgradeRequest,
|
|
27
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
|
+
]
|
|
29
|
+
r"""PackUpgradeRequest object"""
|
|
49
30
|
|
|
50
31
|
|
|
51
32
|
class UpdatePacksByIDResponseTypedDict(TypedDict):
|