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.

Files changed (38) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/commits.py +56 -46
  3. cribl_control_plane/commits_files.py +12 -12
  4. cribl_control_plane/models/__init__.py +533 -215
  5. cribl_control_plane/models/createversioncommitop.py +26 -1
  6. cribl_control_plane/models/createversionrevertop.py +4 -2
  7. cribl_control_plane/models/createversionundoop.py +4 -2
  8. cribl_control_plane/models/getpacksbyidop.py +37 -0
  9. cribl_control_plane/models/getversioncountop.py +3 -2
  10. cribl_control_plane/models/getversiondiffop.py +3 -2
  11. cribl_control_plane/models/getversionfilesop.py +3 -2
  12. cribl_control_plane/models/getversionop.py +4 -2
  13. cribl_control_plane/models/getversionshowop.py +3 -2
  14. cribl_control_plane/models/getversionstatusop.py +4 -2
  15. cribl_control_plane/models/gitrevertparams.py +3 -3
  16. cribl_control_plane/models/input.py +77 -76
  17. cribl_control_plane/models/inputcrowdstrike.py +2 -2
  18. cribl_control_plane/models/inputgrafana.py +678 -67
  19. cribl_control_plane/models/inputs3.py +2 -2
  20. cribl_control_plane/models/inputs3inventory.py +2 -2
  21. cribl_control_plane/models/inputsecuritylake.py +2 -2
  22. cribl_control_plane/models/inputsyslog.py +406 -37
  23. cribl_control_plane/models/inputwizwebhook.py +393 -0
  24. cribl_control_plane/models/output.py +75 -77
  25. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -1
  26. cribl_control_plane/models/outputgooglepubsub.py +7 -28
  27. cribl_control_plane/models/outputgrafanacloud.py +565 -69
  28. cribl_control_plane/models/packinfo.py +5 -5
  29. cribl_control_plane/models/packinstallinfo.py +5 -5
  30. cribl_control_plane/models/packrequestbody_union.py +140 -0
  31. cribl_control_plane/models/packupgraderequest.py +26 -0
  32. cribl_control_plane/models/updatepacksbyidop.py +9 -28
  33. cribl_control_plane/packs.py +236 -116
  34. cribl_control_plane/statuses.py +6 -6
  35. {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38.dist-info}/METADATA +4 -3
  36. {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38.dist-info}/RECORD +37 -34
  37. cribl_control_plane/models/packrequestbody.py +0 -75
  38. {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38.dist-info}/WHEEL +0 -0
@@ -8,7 +8,7 @@ from typing import List, Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
11
- class OutputGooglePubsubTypeGooglePubsub(str, Enum):
11
+ class OutputGooglePubsubType(str, Enum):
12
12
  GOOGLE_PUBSUB = "google_pubsub"
13
13
 
14
14
 
@@ -20,25 +20,6 @@ class OutputGooglePubsubGoogleAuthenticationMethod(str, Enum):
20
20
  SECRET = "secret"
21
21
 
22
22
 
23
- class FlushPeriodSecType(str, Enum):
24
- NUMBER = "number"
25
-
26
-
27
- class FlushPeriodSecTypedDict(TypedDict):
28
- r"""Maximum time to wait before sending a batch (when batch size limit is not reached)."""
29
-
30
- type: NotRequired[FlushPeriodSecType]
31
- default: NotRequired[float]
32
-
33
-
34
- class FlushPeriodSec(BaseModel):
35
- r"""Maximum time to wait before sending a batch (when batch size limit is not reached)."""
36
-
37
- type: Optional[FlushPeriodSecType] = None
38
-
39
- default: Optional[float] = None
40
-
41
-
42
23
  class OutputGooglePubsubBackpressureBehavior(str, Enum):
43
24
  r"""How to handle events when all receivers are exerting backpressure"""
44
25
 
@@ -78,7 +59,7 @@ class OutputGooglePubsubPqControls(BaseModel):
78
59
 
79
60
 
80
61
  class OutputGooglePubsubTypedDict(TypedDict):
81
- type: OutputGooglePubsubTypeGooglePubsub
62
+ type: OutputGooglePubsubType
82
63
  topic_name: str
83
64
  r"""ID of the topic to send events to."""
84
65
  id: NotRequired[str]
@@ -111,8 +92,8 @@ class OutputGooglePubsubTypedDict(TypedDict):
111
92
  r"""Maximum number of queued batches before blocking."""
112
93
  max_record_size_kb: NotRequired[float]
113
94
  r"""Maximum size (KB) of batches to send."""
114
- flush_period_sec: NotRequired[FlushPeriodSecTypedDict]
115
- r"""Maximum time to wait before sending a batch (when batch size limit is not reached)."""
95
+ flush_period: NotRequired[float]
96
+ r"""Maximum time to wait before sending a batch (when batch size limit is not reached)"""
116
97
  max_in_progress: NotRequired[float]
117
98
  r"""The maximum number of in-progress API requests before backpressure is applied."""
118
99
  on_backpressure: NotRequired[OutputGooglePubsubBackpressureBehavior]
@@ -134,7 +115,7 @@ class OutputGooglePubsubTypedDict(TypedDict):
134
115
 
135
116
 
136
117
  class OutputGooglePubsub(BaseModel):
137
- type: OutputGooglePubsubTypeGooglePubsub
118
+ type: OutputGooglePubsubType
138
119
 
139
120
  topic_name: Annotated[str, pydantic.Field(alias="topicName")]
140
121
  r"""ID of the topic to send events to."""
@@ -199,10 +180,8 @@ class OutputGooglePubsub(BaseModel):
199
180
  ] = 256
200
181
  r"""Maximum size (KB) of batches to send."""
201
182
 
202
- flush_period_sec: Annotated[
203
- Optional[FlushPeriodSec], pydantic.Field(alias="flushPeriodSec")
204
- ] = None
205
- r"""Maximum time to wait before sending a batch (when batch size limit is not reached)."""
183
+ flush_period: Annotated[Optional[float], pydantic.Field(alias="flushPeriod")] = 1
184
+ r"""Maximum time to wait before sending a batch (when batch size limit is not reached)"""
206
185
 
207
186
  max_in_progress: Annotated[
208
187
  Optional[float], pydantic.Field(alias="maxInProgress")