cribl-control-plane 0.0.38a1__py3-none-any.whl → 0.0.40__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 +52 -42
- cribl_control_plane/commits_files.py +12 -12
- cribl_control_plane/destinations.py +3 -3
- cribl_control_plane/destinations_pq.py +2 -2
- cribl_control_plane/groups_sdk.py +8 -8
- cribl_control_plane/models/__init__.py +315 -368
- cribl_control_plane/models/branchinfo.py +13 -0
- cribl_control_plane/models/configgroup.py +5 -3
- 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/deleteoutputpqbyidop.py +5 -5
- cribl_control_plane/models/difffiles.py +171 -0
- cribl_control_plane/models/getoutputpqbyidop.py +6 -5
- cribl_control_plane/models/getversionbranchop.py +6 -5
- cribl_control_plane/models/getversioncountop.py +9 -7
- cribl_control_plane/models/getversiondiffop.py +9 -7
- 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/gitcountresult.py +13 -0
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/inputcribllakehttp.py +5 -4
- cribl_control_plane/models/inputcrowdstrike.py +2 -2
- 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/inputwineventlogs.py +1 -1
- cribl_control_plane/models/jobinfo.py +25 -0
- cribl_control_plane/models/jobstatus.py +17 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -1
- cribl_control_plane/models/outputgooglepubsub.py +7 -28
- cribl_control_plane/models/outputsentineloneaisiem.py +3 -3
- cribl_control_plane/models/packinfo.py +5 -5
- cribl_control_plane/models/packinstallinfo.py +7 -7
- cribl_control_plane/models/packrequestbody_union.py +140 -0
- cribl_control_plane/models/packupgraderequest.py +26 -0
- cribl_control_plane/models/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +589 -0
- cribl_control_plane/models/runnablejobexecutor.py +336 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +267 -0
- cribl_control_plane/models/updatepacksbyidop.py +9 -28
- cribl_control_plane/packs.py +62 -116
- cribl_control_plane/{destinations_samples.py → samples.py} +1 -1
- cribl_control_plane/sdk.py +0 -3
- cribl_control_plane/statuses.py +6 -6
- {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40.dist-info}/METADATA +6 -22
- {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40.dist-info}/RECORD +51 -68
- cribl_control_plane/cribl.py +0 -513
- cribl_control_plane/models/authconfig.py +0 -43
- cribl_control_plane/models/commonservicelimitconfigs.py +0 -14
- cribl_control_plane/models/edgeheartbeatmetricsmode.py +0 -11
- cribl_control_plane/models/getsystemsettingsauthop.py +0 -24
- cribl_control_plane/models/getsystemsettingsconfop.py +0 -24
- cribl_control_plane/models/getsystemsettingsgitsettingsop.py +0 -24
- cribl_control_plane/models/gitopstype.py +0 -10
- cribl_control_plane/models/gitsettings.py +0 -70
- cribl_control_plane/models/jobsettings.py +0 -83
- cribl_control_plane/models/limits.py +0 -127
- cribl_control_plane/models/packrequestbody.py +0 -75
- cribl_control_plane/models/rediscachelimits.py +0 -38
- cribl_control_plane/models/redisconnectionlimits.py +0 -20
- cribl_control_plane/models/redislimits.py +0 -14
- cribl_control_plane/models/searchsettings.py +0 -71
- cribl_control_plane/models/serviceslimits.py +0 -23
- cribl_control_plane/models/systemsettings.py +0 -358
- cribl_control_plane/models/systemsettingsconf.py +0 -311
- cribl_control_plane/models/updatesystemsettingsauthop.py +0 -24
- cribl_control_plane/models/updatesystemsettingsconfop.py +0 -24
- cribl_control_plane/models/updatesystemsettingsgitsettingsop.py +0 -24
- cribl_control_plane/models/upgradegroupsettings.py +0 -24
- cribl_control_plane/models/upgradepackageurls.py +0 -20
- cribl_control_plane/models/upgradesettings.py +0 -36
- cribl_control_plane/settings.py +0 -23
- cribl_control_plane/settings_auth.py +0 -339
- cribl_control_plane/settings_git.py +0 -339
- cribl_control_plane/system_sdk.py +0 -17
- {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40.dist-info}/WHEEL +0 -0
cribl_control_plane/packs.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
from .basesdk import BaseSDK
|
|
4
4
|
from cribl_control_plane import errors, models, utils
|
|
5
5
|
from cribl_control_plane._hooks import HookContext
|
|
6
|
-
from cribl_control_plane.types import OptionalNullable, UNSET
|
|
6
|
+
from cribl_control_plane.types import BaseModel, OptionalNullable, UNSET
|
|
7
7
|
from cribl_control_plane.utils import get_security_from_env
|
|
8
8
|
from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_response
|
|
9
|
-
from typing import Any,
|
|
9
|
+
from typing import Any, Mapping, Optional, Union, cast
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class Packs(BaseSDK):
|
|
@@ -15,45 +15,19 @@ class Packs(BaseSDK):
|
|
|
15
15
|
def install(
|
|
16
16
|
self,
|
|
17
17
|
*,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
author: Optional[str] = None,
|
|
22
|
-
description: Optional[str] = None,
|
|
23
|
-
display_name: Optional[str] = None,
|
|
24
|
-
exports: Optional[List[str]] = None,
|
|
25
|
-
force: Optional[bool] = None,
|
|
26
|
-
inputs: Optional[float] = None,
|
|
27
|
-
min_log_stream_version: Optional[str] = None,
|
|
28
|
-
outputs: Optional[float] = None,
|
|
29
|
-
spec: Optional[str] = None,
|
|
30
|
-
tags: Optional[
|
|
31
|
-
Union[models.PackRequestBodyTags, models.PackRequestBodyTagsTypedDict]
|
|
32
|
-
] = None,
|
|
33
|
-
version: Optional[str] = None,
|
|
18
|
+
request: Union[
|
|
19
|
+
models.PackRequestBodyUnion, models.PackRequestBodyUnionTypedDict
|
|
20
|
+
],
|
|
34
21
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
35
22
|
server_url: Optional[str] = None,
|
|
36
23
|
timeout_ms: Optional[int] = None,
|
|
37
24
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
38
25
|
) -> models.CreatePacksResponse:
|
|
39
|
-
r"""
|
|
26
|
+
r"""Create or install a Pack
|
|
40
27
|
|
|
41
|
-
|
|
28
|
+
Create or install a Pack.
|
|
42
29
|
|
|
43
|
-
:param
|
|
44
|
-
:param source:
|
|
45
|
-
:param allow_custom_functions:
|
|
46
|
-
:param author:
|
|
47
|
-
:param description:
|
|
48
|
-
:param display_name:
|
|
49
|
-
:param exports:
|
|
50
|
-
:param force:
|
|
51
|
-
:param inputs:
|
|
52
|
-
:param min_log_stream_version:
|
|
53
|
-
:param outputs:
|
|
54
|
-
:param spec:
|
|
55
|
-
:param tags:
|
|
56
|
-
:param version:
|
|
30
|
+
:param request: The request object to send.
|
|
57
31
|
:param retries: Override the default retry configuration for this method
|
|
58
32
|
:param server_url: Override the default server URL for this method
|
|
59
33
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -69,22 +43,9 @@ class Packs(BaseSDK):
|
|
|
69
43
|
else:
|
|
70
44
|
base_url = self._get_url(base_url, url_variables)
|
|
71
45
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
description=description,
|
|
76
|
-
display_name=display_name,
|
|
77
|
-
exports=exports,
|
|
78
|
-
force=force,
|
|
79
|
-
id=id,
|
|
80
|
-
inputs=inputs,
|
|
81
|
-
min_log_stream_version=min_log_stream_version,
|
|
82
|
-
outputs=outputs,
|
|
83
|
-
source=source,
|
|
84
|
-
spec=spec,
|
|
85
|
-
tags=utils.get_pydantic_model(tags, Optional[models.PackRequestBodyTags]),
|
|
86
|
-
version=version,
|
|
87
|
-
)
|
|
46
|
+
if not isinstance(request, BaseModel):
|
|
47
|
+
request = utils.unmarshal(request, models.PackRequestBodyUnion)
|
|
48
|
+
request = cast(models.PackRequestBodyUnion, request)
|
|
88
49
|
|
|
89
50
|
req = self._build_request(
|
|
90
51
|
method="POST",
|
|
@@ -100,7 +61,7 @@ class Packs(BaseSDK):
|
|
|
100
61
|
http_headers=http_headers,
|
|
101
62
|
security=self.sdk_configuration.security,
|
|
102
63
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
103
|
-
request, False, False, "json", models.
|
|
64
|
+
request, False, False, "json", models.PackRequestBodyUnion
|
|
104
65
|
),
|
|
105
66
|
timeout_ms=timeout_ms,
|
|
106
67
|
)
|
|
@@ -146,45 +107,19 @@ class Packs(BaseSDK):
|
|
|
146
107
|
async def install_async(
|
|
147
108
|
self,
|
|
148
109
|
*,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
author: Optional[str] = None,
|
|
153
|
-
description: Optional[str] = None,
|
|
154
|
-
display_name: Optional[str] = None,
|
|
155
|
-
exports: Optional[List[str]] = None,
|
|
156
|
-
force: Optional[bool] = None,
|
|
157
|
-
inputs: Optional[float] = None,
|
|
158
|
-
min_log_stream_version: Optional[str] = None,
|
|
159
|
-
outputs: Optional[float] = None,
|
|
160
|
-
spec: Optional[str] = None,
|
|
161
|
-
tags: Optional[
|
|
162
|
-
Union[models.PackRequestBodyTags, models.PackRequestBodyTagsTypedDict]
|
|
163
|
-
] = None,
|
|
164
|
-
version: Optional[str] = None,
|
|
110
|
+
request: Union[
|
|
111
|
+
models.PackRequestBodyUnion, models.PackRequestBodyUnionTypedDict
|
|
112
|
+
],
|
|
165
113
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
166
114
|
server_url: Optional[str] = None,
|
|
167
115
|
timeout_ms: Optional[int] = None,
|
|
168
116
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
169
117
|
) -> models.CreatePacksResponse:
|
|
170
|
-
r"""
|
|
118
|
+
r"""Create or install a Pack
|
|
171
119
|
|
|
172
|
-
|
|
120
|
+
Create or install a Pack.
|
|
173
121
|
|
|
174
|
-
:param
|
|
175
|
-
:param source:
|
|
176
|
-
:param allow_custom_functions:
|
|
177
|
-
:param author:
|
|
178
|
-
:param description:
|
|
179
|
-
:param display_name:
|
|
180
|
-
:param exports:
|
|
181
|
-
:param force:
|
|
182
|
-
:param inputs:
|
|
183
|
-
:param min_log_stream_version:
|
|
184
|
-
:param outputs:
|
|
185
|
-
:param spec:
|
|
186
|
-
:param tags:
|
|
187
|
-
:param version:
|
|
122
|
+
:param request: The request object to send.
|
|
188
123
|
:param retries: Override the default retry configuration for this method
|
|
189
124
|
:param server_url: Override the default server URL for this method
|
|
190
125
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -200,22 +135,9 @@ class Packs(BaseSDK):
|
|
|
200
135
|
else:
|
|
201
136
|
base_url = self._get_url(base_url, url_variables)
|
|
202
137
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
description=description,
|
|
207
|
-
display_name=display_name,
|
|
208
|
-
exports=exports,
|
|
209
|
-
force=force,
|
|
210
|
-
id=id,
|
|
211
|
-
inputs=inputs,
|
|
212
|
-
min_log_stream_version=min_log_stream_version,
|
|
213
|
-
outputs=outputs,
|
|
214
|
-
source=source,
|
|
215
|
-
spec=spec,
|
|
216
|
-
tags=utils.get_pydantic_model(tags, Optional[models.PackRequestBodyTags]),
|
|
217
|
-
version=version,
|
|
218
|
-
)
|
|
138
|
+
if not isinstance(request, BaseModel):
|
|
139
|
+
request = utils.unmarshal(request, models.PackRequestBodyUnion)
|
|
140
|
+
request = cast(models.PackRequestBodyUnion, request)
|
|
219
141
|
|
|
220
142
|
req = self._build_request_async(
|
|
221
143
|
method="POST",
|
|
@@ -231,7 +153,7 @@ class Packs(BaseSDK):
|
|
|
231
153
|
http_headers=http_headers,
|
|
232
154
|
security=self.sdk_configuration.security,
|
|
233
155
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
234
|
-
request, False, False, "json", models.
|
|
156
|
+
request, False, False, "json", models.PackRequestBodyUnion
|
|
235
157
|
),
|
|
236
158
|
timeout_ms=timeout_ms,
|
|
237
159
|
)
|
|
@@ -800,7 +722,8 @@ class Packs(BaseSDK):
|
|
|
800
722
|
self,
|
|
801
723
|
*,
|
|
802
724
|
id: str,
|
|
803
|
-
source:
|
|
725
|
+
source: str,
|
|
726
|
+
allow_custom_functions: Optional[bool] = None,
|
|
804
727
|
minor: Optional[str] = None,
|
|
805
728
|
spec: Optional[str] = None,
|
|
806
729
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -813,9 +736,10 @@ class Packs(BaseSDK):
|
|
|
813
736
|
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack. Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
814
737
|
|
|
815
738
|
:param id: The <code>id</code> of the Pack to upgrade.
|
|
816
|
-
:param source:
|
|
817
|
-
:param
|
|
818
|
-
:param
|
|
739
|
+
:param source:
|
|
740
|
+
:param allow_custom_functions:
|
|
741
|
+
:param minor:
|
|
742
|
+
:param spec:
|
|
819
743
|
:param retries: Override the default retry configuration for this method
|
|
820
744
|
:param server_url: Override the default server URL for this method
|
|
821
745
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -833,9 +757,12 @@ class Packs(BaseSDK):
|
|
|
833
757
|
|
|
834
758
|
request = models.UpdatePacksByIDRequest(
|
|
835
759
|
id=id,
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
760
|
+
pack_upgrade_request=models.PackUpgradeRequest(
|
|
761
|
+
allow_custom_functions=allow_custom_functions,
|
|
762
|
+
minor=minor,
|
|
763
|
+
source=source,
|
|
764
|
+
spec=spec,
|
|
765
|
+
),
|
|
839
766
|
)
|
|
840
767
|
|
|
841
768
|
req = self._build_request(
|
|
@@ -844,13 +771,20 @@ class Packs(BaseSDK):
|
|
|
844
771
|
base_url=base_url,
|
|
845
772
|
url_variables=url_variables,
|
|
846
773
|
request=request,
|
|
847
|
-
request_body_required=
|
|
774
|
+
request_body_required=True,
|
|
848
775
|
request_has_path_params=True,
|
|
849
776
|
request_has_query_params=True,
|
|
850
777
|
user_agent_header="user-agent",
|
|
851
778
|
accept_header_value="application/json",
|
|
852
779
|
http_headers=http_headers,
|
|
853
780
|
security=self.sdk_configuration.security,
|
|
781
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
782
|
+
request.pack_upgrade_request,
|
|
783
|
+
False,
|
|
784
|
+
False,
|
|
785
|
+
"json",
|
|
786
|
+
models.PackUpgradeRequest,
|
|
787
|
+
),
|
|
854
788
|
timeout_ms=timeout_ms,
|
|
855
789
|
)
|
|
856
790
|
|
|
@@ -896,7 +830,8 @@ class Packs(BaseSDK):
|
|
|
896
830
|
self,
|
|
897
831
|
*,
|
|
898
832
|
id: str,
|
|
899
|
-
source:
|
|
833
|
+
source: str,
|
|
834
|
+
allow_custom_functions: Optional[bool] = None,
|
|
900
835
|
minor: Optional[str] = None,
|
|
901
836
|
spec: Optional[str] = None,
|
|
902
837
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -909,9 +844,10 @@ class Packs(BaseSDK):
|
|
|
909
844
|
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack. Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
910
845
|
|
|
911
846
|
:param id: The <code>id</code> of the Pack to upgrade.
|
|
912
|
-
:param source:
|
|
913
|
-
:param
|
|
914
|
-
:param
|
|
847
|
+
:param source:
|
|
848
|
+
:param allow_custom_functions:
|
|
849
|
+
:param minor:
|
|
850
|
+
:param spec:
|
|
915
851
|
:param retries: Override the default retry configuration for this method
|
|
916
852
|
:param server_url: Override the default server URL for this method
|
|
917
853
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -929,9 +865,12 @@ class Packs(BaseSDK):
|
|
|
929
865
|
|
|
930
866
|
request = models.UpdatePacksByIDRequest(
|
|
931
867
|
id=id,
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
868
|
+
pack_upgrade_request=models.PackUpgradeRequest(
|
|
869
|
+
allow_custom_functions=allow_custom_functions,
|
|
870
|
+
minor=minor,
|
|
871
|
+
source=source,
|
|
872
|
+
spec=spec,
|
|
873
|
+
),
|
|
935
874
|
)
|
|
936
875
|
|
|
937
876
|
req = self._build_request_async(
|
|
@@ -940,13 +879,20 @@ class Packs(BaseSDK):
|
|
|
940
879
|
base_url=base_url,
|
|
941
880
|
url_variables=url_variables,
|
|
942
881
|
request=request,
|
|
943
|
-
request_body_required=
|
|
882
|
+
request_body_required=True,
|
|
944
883
|
request_has_path_params=True,
|
|
945
884
|
request_has_query_params=True,
|
|
946
885
|
user_agent_header="user-agent",
|
|
947
886
|
accept_header_value="application/json",
|
|
948
887
|
http_headers=http_headers,
|
|
949
888
|
security=self.sdk_configuration.security,
|
|
889
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
890
|
+
request.pack_upgrade_request,
|
|
891
|
+
False,
|
|
892
|
+
False,
|
|
893
|
+
"json",
|
|
894
|
+
models.PackUpgradeRequest,
|
|
895
|
+
),
|
|
950
896
|
timeout_ms=timeout_ms,
|
|
951
897
|
)
|
|
952
898
|
|
cribl_control_plane/sdk.py
CHANGED
|
@@ -24,7 +24,6 @@ if TYPE_CHECKING:
|
|
|
24
24
|
from cribl_control_plane.pipelines import Pipelines
|
|
25
25
|
from cribl_control_plane.routes_sdk import RoutesSDK
|
|
26
26
|
from cribl_control_plane.sources import Sources
|
|
27
|
-
from cribl_control_plane.system_sdk import SystemSDK
|
|
28
27
|
from cribl_control_plane.versions import Versions
|
|
29
28
|
|
|
30
29
|
|
|
@@ -46,7 +45,6 @@ class CriblControlPlane(BaseSDK):
|
|
|
46
45
|
r"""Actions related to REST server health"""
|
|
47
46
|
packs: "Packs"
|
|
48
47
|
r"""Actions related to Packs"""
|
|
49
|
-
system: "SystemSDK"
|
|
50
48
|
versions: "Versions"
|
|
51
49
|
groups: "GroupsSDK"
|
|
52
50
|
r"""Actions related to Groups"""
|
|
@@ -60,7 +58,6 @@ class CriblControlPlane(BaseSDK):
|
|
|
60
58
|
"nodes": ("cribl_control_plane.nodes", "Nodes"),
|
|
61
59
|
"health": ("cribl_control_plane.health", "Health"),
|
|
62
60
|
"packs": ("cribl_control_plane.packs", "Packs"),
|
|
63
|
-
"system": ("cribl_control_plane.system_sdk", "SystemSDK"),
|
|
64
61
|
"versions": ("cribl_control_plane.versions", "Versions"),
|
|
65
62
|
"groups": ("cribl_control_plane.groups_sdk", "GroupsSDK"),
|
|
66
63
|
}
|
cribl_control_plane/statuses.py
CHANGED
|
@@ -13,7 +13,7 @@ class Statuses(BaseSDK):
|
|
|
13
13
|
def get(
|
|
14
14
|
self,
|
|
15
15
|
*,
|
|
16
|
-
|
|
16
|
+
group_id: Optional[str] = None,
|
|
17
17
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
@@ -23,7 +23,7 @@ class Statuses(BaseSDK):
|
|
|
23
23
|
|
|
24
24
|
Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
|
|
25
25
|
|
|
26
|
-
:param
|
|
26
|
+
:param group_id: The <code>id</code> of the Worker Group or Edge Fleet to get the status for.
|
|
27
27
|
:param retries: Override the default retry configuration for this method
|
|
28
28
|
:param server_url: Override the default server URL for this method
|
|
29
29
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -40,7 +40,7 @@ class Statuses(BaseSDK):
|
|
|
40
40
|
base_url = self._get_url(base_url, url_variables)
|
|
41
41
|
|
|
42
42
|
request = models.GetVersionStatusRequest(
|
|
43
|
-
|
|
43
|
+
group_id=group_id,
|
|
44
44
|
)
|
|
45
45
|
|
|
46
46
|
req = self._build_request(
|
|
@@ -100,7 +100,7 @@ class Statuses(BaseSDK):
|
|
|
100
100
|
async def get_async(
|
|
101
101
|
self,
|
|
102
102
|
*,
|
|
103
|
-
|
|
103
|
+
group_id: Optional[str] = None,
|
|
104
104
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
105
105
|
server_url: Optional[str] = None,
|
|
106
106
|
timeout_ms: Optional[int] = None,
|
|
@@ -110,7 +110,7 @@ class Statuses(BaseSDK):
|
|
|
110
110
|
|
|
111
111
|
Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
|
|
112
112
|
|
|
113
|
-
:param
|
|
113
|
+
:param group_id: The <code>id</code> of the Worker Group or Edge Fleet to get the status for.
|
|
114
114
|
:param retries: Override the default retry configuration for this method
|
|
115
115
|
:param server_url: Override the default server URL for this method
|
|
116
116
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -127,7 +127,7 @@ class Statuses(BaseSDK):
|
|
|
127
127
|
base_url = self._get_url(base_url, url_variables)
|
|
128
128
|
|
|
129
129
|
request = models.GetVersionStatusRequest(
|
|
130
|
-
|
|
130
|
+
group_id=group_id,
|
|
131
131
|
)
|
|
132
132
|
|
|
133
133
|
req = self._build_request_async(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cribl-control-plane
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.40
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -325,10 +325,10 @@ with CriblControlPlane(
|
|
|
325
325
|
* [clear](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinationspq/README.md#clear) - Clear the persistent queue for a Destination
|
|
326
326
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinationspq/README.md#get) - Get information about the latest job to clear the persistent queue for a Destination
|
|
327
327
|
|
|
328
|
-
#### [destinations.samples](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/
|
|
328
|
+
#### [destinations.samples](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/samples/README.md)
|
|
329
329
|
|
|
330
|
-
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/
|
|
331
|
-
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/
|
|
330
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/samples/README.md#get) - Get sample event data for a Destination
|
|
331
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/samples/README.md#create) - Send sample event data to a Destination
|
|
332
332
|
|
|
333
333
|
### [groups](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md)
|
|
334
334
|
|
|
@@ -374,7 +374,7 @@ with CriblControlPlane(
|
|
|
374
374
|
|
|
375
375
|
### [packs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md)
|
|
376
376
|
|
|
377
|
-
* [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) -
|
|
377
|
+
* [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Create or install a Pack
|
|
378
378
|
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
|
|
379
379
|
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
|
|
380
380
|
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#get) - Get a Pack
|
|
@@ -408,22 +408,6 @@ with CriblControlPlane(
|
|
|
408
408
|
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#create) - Add an HEC token and optional metadata to a Splunk HEC Source
|
|
409
409
|
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/hectokens/README.md#update) - Update metadata for an HEC token for a Splunk HEC Source
|
|
410
410
|
|
|
411
|
-
|
|
412
|
-
#### [system.settings.auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/settingsauth/README.md)
|
|
413
|
-
|
|
414
|
-
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/settingsauth/README.md#list) - Get authentication settings
|
|
415
|
-
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/settingsauth/README.md#update) - Update authentication settings
|
|
416
|
-
|
|
417
|
-
#### [system.settings.cribl](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/cribl/README.md)
|
|
418
|
-
|
|
419
|
-
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/cribl/README.md#list) - Get Cribl system settings
|
|
420
|
-
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/cribl/README.md#update) - Update Cribl system settings
|
|
421
|
-
|
|
422
|
-
#### [system.settings.git](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/settingsgit/README.md)
|
|
423
|
-
|
|
424
|
-
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/settingsgit/README.md#list) - Get git settings
|
|
425
|
-
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/settingsgit/README.md#update) - Update git settings
|
|
426
|
-
|
|
427
411
|
### [versions](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versions/README.md)
|
|
428
412
|
|
|
429
413
|
|
|
@@ -671,7 +655,7 @@ with CriblControlPlane(
|
|
|
671
655
|
|
|
672
656
|
|
|
673
657
|
**Inherit from [`CriblControlPlaneError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/criblcontrolplaneerror.py)**:
|
|
674
|
-
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of
|
|
658
|
+
* [`HealthStatusError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/healthstatuserror.py): Healthy status. Status code `420`. Applicable to 1 of 62 methods.*
|
|
675
659
|
* [`ResponseValidationError`](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/./src/cribl_control_plane/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
676
660
|
|
|
677
661
|
</details>
|