cribl-control-plane 0.1.0b2__py3-none-any.whl → 0.1.1rc2__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 (148) hide show
  1. cribl_control_plane/_hooks/clientcredentials.py +91 -41
  2. cribl_control_plane/_version.py +4 -4
  3. cribl_control_plane/errors/apierror.py +1 -1
  4. cribl_control_plane/errors/criblcontrolplaneerror.py +1 -1
  5. cribl_control_plane/errors/error.py +1 -1
  6. cribl_control_plane/errors/healthstatus_error.py +1 -1
  7. cribl_control_plane/errors/no_response_error.py +1 -1
  8. cribl_control_plane/errors/responsevalidationerror.py +1 -1
  9. cribl_control_plane/httpclient.py +0 -1
  10. cribl_control_plane/lakedatasets.py +12 -12
  11. cribl_control_plane/models/__init__.py +89 -7
  12. cribl_control_plane/models/createversionundoop.py +3 -3
  13. cribl_control_plane/models/cribllakedatasetupdate.py +81 -0
  14. cribl_control_plane/models/distributedsummary.py +6 -0
  15. cribl_control_plane/models/gitinfo.py +14 -3
  16. cribl_control_plane/models/input.py +65 -63
  17. cribl_control_plane/models/inputappscope.py +4 -0
  18. cribl_control_plane/models/inputazureblob.py +4 -0
  19. cribl_control_plane/models/inputcollection.py +4 -0
  20. cribl_control_plane/models/inputconfluentcloud.py +8 -0
  21. cribl_control_plane/models/inputcribl.py +4 -0
  22. cribl_control_plane/models/inputcriblhttp.py +4 -0
  23. cribl_control_plane/models/inputcribllakehttp.py +4 -0
  24. cribl_control_plane/models/inputcriblmetrics.py +4 -0
  25. cribl_control_plane/models/inputcribltcp.py +4 -0
  26. cribl_control_plane/models/inputcrowdstrike.py +7 -0
  27. cribl_control_plane/models/inputdatadogagent.py +4 -0
  28. cribl_control_plane/models/inputdatagen.py +4 -0
  29. cribl_control_plane/models/inputedgeprometheus.py +12 -0
  30. cribl_control_plane/models/inputelastic.py +11 -0
  31. cribl_control_plane/models/inputeventhub.py +6 -0
  32. cribl_control_plane/models/inputexec.py +4 -0
  33. cribl_control_plane/models/inputfile.py +6 -0
  34. cribl_control_plane/models/inputfirehose.py +4 -0
  35. cribl_control_plane/models/inputgooglepubsub.py +7 -0
  36. cribl_control_plane/models/inputgrafana.py +8 -0
  37. cribl_control_plane/models/inputhttp.py +4 -0
  38. cribl_control_plane/models/inputhttpraw.py +4 -0
  39. cribl_control_plane/models/inputjournalfiles.py +4 -0
  40. cribl_control_plane/models/inputkafka.py +8 -0
  41. cribl_control_plane/models/inputkinesis.py +15 -0
  42. cribl_control_plane/models/inputkubeevents.py +4 -0
  43. cribl_control_plane/models/inputkubelogs.py +4 -0
  44. cribl_control_plane/models/inputkubemetrics.py +4 -0
  45. cribl_control_plane/models/inputloki.py +4 -0
  46. cribl_control_plane/models/inputmetrics.py +4 -0
  47. cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
  48. cribl_control_plane/models/inputmsk.py +7 -0
  49. cribl_control_plane/models/inputnetflow.py +4 -0
  50. cribl_control_plane/models/inputoffice365mgmt.py +11 -0
  51. cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
  52. cribl_control_plane/models/inputoffice365service.py +11 -0
  53. cribl_control_plane/models/inputopentelemetry.py +8 -0
  54. cribl_control_plane/models/inputprometheus.py +10 -0
  55. cribl_control_plane/models/inputprometheusrw.py +4 -0
  56. cribl_control_plane/models/inputrawudp.py +4 -0
  57. cribl_control_plane/models/inputs3.py +7 -0
  58. cribl_control_plane/models/inputs3inventory.py +7 -0
  59. cribl_control_plane/models/inputsecuritylake.py +7 -0
  60. cribl_control_plane/models/inputsnmp.py +11 -0
  61. cribl_control_plane/models/inputsplunk.py +9 -0
  62. cribl_control_plane/models/inputsplunkhec.py +4 -0
  63. cribl_control_plane/models/inputsplunksearch.py +7 -0
  64. cribl_control_plane/models/inputsqs.py +17 -10
  65. cribl_control_plane/models/inputsyslog.py +8 -0
  66. cribl_control_plane/models/inputsystemmetrics.py +32 -0
  67. cribl_control_plane/models/inputsystemstate.py +4 -0
  68. cribl_control_plane/models/inputtcp.py +4 -0
  69. cribl_control_plane/models/inputtcpjson.py +4 -0
  70. cribl_control_plane/models/inputwef.py +6 -0
  71. cribl_control_plane/models/inputwindowsmetrics.py +28 -0
  72. cribl_control_plane/models/inputwineventlogs.py +8 -0
  73. cribl_control_plane/models/inputwiz.py +7 -0
  74. cribl_control_plane/models/inputwizwebhook.py +4 -0
  75. cribl_control_plane/models/inputzscalerhec.py +4 -0
  76. cribl_control_plane/models/jobinfo.py +4 -1
  77. cribl_control_plane/models/nodeprovidedinfo.py +4 -1
  78. cribl_control_plane/models/output.py +74 -69
  79. cribl_control_plane/models/outputazureblob.py +20 -0
  80. cribl_control_plane/models/outputazuredataexplorer.py +28 -0
  81. cribl_control_plane/models/outputazureeventhub.py +17 -0
  82. cribl_control_plane/models/outputazurelogs.py +13 -0
  83. cribl_control_plane/models/outputchronicle.py +444 -0
  84. cribl_control_plane/models/outputclickhouse.py +17 -0
  85. cribl_control_plane/models/outputcloudwatch.py +13 -0
  86. cribl_control_plane/models/outputconfluentcloud.py +24 -0
  87. cribl_control_plane/models/outputcriblhttp.py +15 -0
  88. cribl_control_plane/models/outputcribllake.py +21 -0
  89. cribl_control_plane/models/outputcribltcp.py +12 -0
  90. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
  91. cribl_control_plane/models/outputdatabricks.py +9 -0
  92. cribl_control_plane/models/outputdatadog.py +30 -0
  93. cribl_control_plane/models/outputdataset.py +23 -0
  94. cribl_control_plane/models/outputdls3.py +35 -0
  95. cribl_control_plane/models/outputdynatracehttp.py +22 -0
  96. cribl_control_plane/models/outputdynatraceotlp.py +22 -0
  97. cribl_control_plane/models/outputelastic.py +18 -0
  98. cribl_control_plane/models/outputelasticcloud.py +13 -0
  99. cribl_control_plane/models/outputexabeam.py +14 -0
  100. cribl_control_plane/models/outputfilesystem.py +15 -0
  101. cribl_control_plane/models/outputgooglechronicle.py +26 -4
  102. cribl_control_plane/models/outputgooglecloudlogging.py +28 -4
  103. cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
  104. cribl_control_plane/models/outputgooglepubsub.py +13 -0
  105. cribl_control_plane/models/outputgrafanacloud.py +50 -0
  106. cribl_control_plane/models/outputgraphite.py +12 -0
  107. cribl_control_plane/models/outputhoneycomb.py +13 -0
  108. cribl_control_plane/models/outputhumiohec.py +15 -0
  109. cribl_control_plane/models/outputinfluxdb.py +19 -0
  110. cribl_control_plane/models/outputkafka.py +24 -0
  111. cribl_control_plane/models/outputkinesis.py +15 -0
  112. cribl_control_plane/models/outputloki.py +20 -0
  113. cribl_control_plane/models/outputminio.py +28 -0
  114. cribl_control_plane/models/outputmsk.py +23 -0
  115. cribl_control_plane/models/outputnewrelic.py +16 -0
  116. cribl_control_plane/models/outputnewrelicevents.py +16 -0
  117. cribl_control_plane/models/outputopentelemetry.py +22 -0
  118. cribl_control_plane/models/outputprometheus.py +13 -0
  119. cribl_control_plane/models/outputring.py +2 -0
  120. cribl_control_plane/models/outputs3.py +35 -0
  121. cribl_control_plane/models/outputsecuritylake.py +29 -0
  122. cribl_control_plane/models/outputsentinel.py +15 -0
  123. cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
  124. cribl_control_plane/models/outputservicenow.py +21 -0
  125. cribl_control_plane/models/outputsignalfx.py +13 -0
  126. cribl_control_plane/models/outputsns.py +13 -0
  127. cribl_control_plane/models/outputsplunk.py +15 -0
  128. cribl_control_plane/models/outputsplunkhec.py +13 -0
  129. cribl_control_plane/models/outputsplunklb.py +15 -0
  130. cribl_control_plane/models/outputsqs.py +23 -10
  131. cribl_control_plane/models/outputstatsd.py +12 -0
  132. cribl_control_plane/models/outputstatsdext.py +12 -0
  133. cribl_control_plane/models/outputsumologic.py +15 -0
  134. cribl_control_plane/models/outputsyslog.py +24 -0
  135. cribl_control_plane/models/outputtcpjson.py +12 -0
  136. cribl_control_plane/models/outputwavefront.py +13 -0
  137. cribl_control_plane/models/outputwebhook.py +23 -0
  138. cribl_control_plane/models/outputxsiam.py +13 -0
  139. cribl_control_plane/models/packinfo.py +6 -3
  140. cribl_control_plane/models/packinstallinfo.py +6 -3
  141. cribl_control_plane/models/runnablejobcollection.py +4 -0
  142. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +9 -5
  143. cribl_control_plane/models/updatepacksop.py +27 -0
  144. cribl_control_plane/models/uploadpackresponse.py +13 -0
  145. cribl_control_plane/packs.py +196 -1
  146. {cribl_control_plane-0.1.0b2.dist-info → cribl_control_plane-0.1.1rc2.dist-info}/METADATA +47 -13
  147. {cribl_control_plane-0.1.0b2.dist-info → cribl_control_plane-0.1.1rc2.dist-info}/RECORD +148 -144
  148. {cribl_control_plane-0.1.0b2.dist-info → cribl_control_plane-0.1.1rc2.dist-info}/WHEEL +0 -0
@@ -16,16 +16,22 @@ class OutputGoogleCloudLoggingType(str, Enum):
16
16
 
17
17
 
18
18
  class LogLocationType(str, Enum, metaclass=utils.OpenEnumMeta):
19
+ # Project
19
20
  PROJECT = "project"
21
+ # Organization
20
22
  ORGANIZATION = "organization"
23
+ # Billing Account
21
24
  BILLING_ACCOUNT = "billingAccount"
25
+ # Folder
22
26
  FOLDER = "folder"
23
27
 
24
28
 
25
29
  class PayloadFormat(str, Enum, metaclass=utils.OpenEnumMeta):
26
30
  r"""Format to use when sending payload. Defaults to Text."""
27
31
 
32
+ # Text
28
33
  TEXT = "text"
34
+ # JSON
29
35
  JSON = "json"
30
36
 
31
37
 
@@ -64,8 +70,11 @@ class OutputGoogleCloudLoggingGoogleAuthenticationMethod(
64
70
  ):
65
71
  r"""Choose Auto to use Google Application Default Credentials (ADC), Manual to enter Google service account credentials directly, or Secret to select or create a stored secret that references Google service account credentials."""
66
72
 
73
+ # Auto
67
74
  AUTO = "auto"
75
+ # Manual
68
76
  MANUAL = "manual"
77
+ # Secret
69
78
  SECRET = "secret"
70
79
 
71
80
 
@@ -74,15 +83,20 @@ class OutputGoogleCloudLoggingBackpressureBehavior(
74
83
  ):
75
84
  r"""How to handle events when all receivers are exerting backpressure"""
76
85
 
86
+ # Block
77
87
  BLOCK = "block"
88
+ # Drop
78
89
  DROP = "drop"
90
+ # Persistent Queue
79
91
  QUEUE = "queue"
80
92
 
81
93
 
82
94
  class OutputGoogleCloudLoggingCompression(str, Enum, metaclass=utils.OpenEnumMeta):
83
95
  r"""Codec to use to compress the persisted data"""
84
96
 
97
+ # None
85
98
  NONE = "none"
99
+ # Gzip
86
100
  GZIP = "gzip"
87
101
 
88
102
 
@@ -91,15 +105,20 @@ class OutputGoogleCloudLoggingQueueFullBehavior(
91
105
  ):
92
106
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
93
107
 
108
+ # Block
94
109
  BLOCK = "block"
110
+ # Drop new data
95
111
  DROP = "drop"
96
112
 
97
113
 
98
114
  class OutputGoogleCloudLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
99
115
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
100
116
 
117
+ # Error
101
118
  ERROR = "error"
119
+ # Backpressure
102
120
  BACKPRESSURE = "backpressure"
121
+ # Always On
103
122
  ALWAYS = "always"
104
123
 
105
124
 
@@ -115,9 +134,9 @@ class OutputGoogleCloudLoggingTypedDict(TypedDict):
115
134
  type: OutputGoogleCloudLoggingType
116
135
  log_location_type: LogLocationType
117
136
  log_name_expression: str
118
- r"""JavaScript expression to compute the value of the log name."""
137
+ r"""JavaScript expression to compute the value of the log name. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
119
138
  log_location_expression: str
120
- r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated."""
139
+ r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
121
140
  id: NotRequired[str]
122
141
  r"""Unique ID for this output"""
123
142
  pipeline: NotRequired[str]
@@ -128,6 +147,7 @@ class OutputGoogleCloudLoggingTypedDict(TypedDict):
128
147
  r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
129
148
  streamtags: NotRequired[List[str]]
130
149
  r"""Tags for filtering and grouping in @{product}"""
150
+ sanitize_log_names: NotRequired[bool]
131
151
  payload_format: NotRequired[PayloadFormat]
132
152
  r"""Format to use when sending payload. Defaults to Text."""
133
153
  log_labels: NotRequired[List[LogLabelTypedDict]]
@@ -247,12 +267,12 @@ class OutputGoogleCloudLogging(BaseModel):
247
267
  ]
248
268
 
249
269
  log_name_expression: Annotated[str, pydantic.Field(alias="logNameExpression")]
250
- r"""JavaScript expression to compute the value of the log name."""
270
+ r"""JavaScript expression to compute the value of the log name. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
251
271
 
252
272
  log_location_expression: Annotated[
253
273
  str, pydantic.Field(alias="logLocationExpression")
254
274
  ]
255
- r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated."""
275
+ r"""JavaScript expression to compute the value of the folder ID with which log entries should be associated. If Validate and correct log name is enabled, invalid characters (characters other than alphanumerics, forward-slashes, underscores, hyphens, and periods) will be replaced with an underscore."""
256
276
 
257
277
  id: Optional[str] = None
258
278
  r"""Unique ID for this output"""
@@ -271,6 +291,10 @@ class OutputGoogleCloudLogging(BaseModel):
271
291
  streamtags: Optional[List[str]] = None
272
292
  r"""Tags for filtering and grouping in @{product}"""
273
293
 
294
+ sanitize_log_names: Annotated[
295
+ Optional[bool], pydantic.Field(alias="sanitizeLogNames")
296
+ ] = False
297
+
274
298
  payload_format: Annotated[
275
299
  Annotated[Optional[PayloadFormat], PlainValidator(validate_open_enum(False))],
276
300
  pydantic.Field(alias="payloadFormat"),
@@ -25,36 +25,52 @@ class OutputGoogleCloudStorageSignatureVersion(str, Enum, metaclass=utils.OpenEn
25
25
  class OutputGoogleCloudStorageAuthenticationMethod(
26
26
  str, Enum, metaclass=utils.OpenEnumMeta
27
27
  ):
28
+ # auto
28
29
  AUTO = "auto"
30
+ # manual
29
31
  MANUAL = "manual"
32
+ # Secret Key pair
30
33
  SECRET = "secret"
31
34
 
32
35
 
33
36
  class OutputGoogleCloudStorageObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
34
37
  r"""Object ACL to assign to uploaded objects"""
35
38
 
39
+ # private
36
40
  PRIVATE = "private"
41
+ # bucket-owner-read
37
42
  BUCKET_OWNER_READ = "bucket-owner-read"
43
+ # bucket-owner-full-control
38
44
  BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
45
+ # project-private
39
46
  PROJECT_PRIVATE = "project-private"
47
+ # authenticated-read
40
48
  AUTHENTICATED_READ = "authenticated-read"
49
+ # public-read
41
50
  PUBLIC_READ = "public-read"
42
51
 
43
52
 
44
53
  class OutputGoogleCloudStorageStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
45
54
  r"""Storage class to select for uploaded objects"""
46
55
 
56
+ # Standard Storage
47
57
  STANDARD = "STANDARD"
58
+ # Nearline Storage
48
59
  NEARLINE = "NEARLINE"
60
+ # Coldline Storage
49
61
  COLDLINE = "COLDLINE"
62
+ # Archive Storage
50
63
  ARCHIVE = "ARCHIVE"
51
64
 
52
65
 
53
66
  class OutputGoogleCloudStorageDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
54
67
  r"""Format of the output data"""
55
68
 
69
+ # JSON
56
70
  JSON = "json"
71
+ # Raw
57
72
  RAW = "raw"
73
+ # Parquet
58
74
  PARQUET = "parquet"
59
75
 
60
76
 
@@ -63,7 +79,9 @@ class OutputGoogleCloudStorageBackpressureBehavior(
63
79
  ):
64
80
  r"""How to handle events when all receivers are exerting backpressure"""
65
81
 
82
+ # Block
66
83
  BLOCK = "block"
84
+ # Drop
67
85
  DROP = "drop"
68
86
 
69
87
 
@@ -72,7 +90,9 @@ class OutputGoogleCloudStorageDiskSpaceProtection(
72
90
  ):
73
91
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
74
92
 
93
+ # Block
75
94
  BLOCK = "block"
95
+ # Drop
76
96
  DROP = "drop"
77
97
 
78
98
 
@@ -86,23 +106,31 @@ class OutputGoogleCloudStorageCompression(str, Enum, metaclass=utils.OpenEnumMet
86
106
  class OutputGoogleCloudStorageCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
87
107
  r"""Compression level to apply before moving files to final destination"""
88
108
 
109
+ # Best Speed
89
110
  BEST_SPEED = "best_speed"
111
+ # Normal
90
112
  NORMAL = "normal"
113
+ # Best Compression
91
114
  BEST_COMPRESSION = "best_compression"
92
115
 
93
116
 
94
117
  class OutputGoogleCloudStorageParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
95
118
  r"""Determines which data types are supported and how they are represented"""
96
119
 
120
+ # 1.0
97
121
  PARQUET_1_0 = "PARQUET_1_0"
122
+ # 2.4
98
123
  PARQUET_2_4 = "PARQUET_2_4"
124
+ # 2.6
99
125
  PARQUET_2_6 = "PARQUET_2_6"
100
126
 
101
127
 
102
128
  class OutputGoogleCloudStorageDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
103
129
  r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
104
130
 
131
+ # V1
105
132
  DATA_PAGE_V1 = "DATA_PAGE_V1"
133
+ # V2
106
134
  DATA_PAGE_V2 = "DATA_PAGE_V2"
107
135
 
108
136
 
@@ -20,38 +20,51 @@ class OutputGooglePubsubGoogleAuthenticationMethod(
20
20
  ):
21
21
  r"""Choose Auto to use Google Application Default Credentials (ADC), Manual to enter Google service account credentials directly, or Secret to select or create a stored secret that references Google service account credentials."""
22
22
 
23
+ # Auto
23
24
  AUTO = "auto"
25
+ # Manual
24
26
  MANUAL = "manual"
27
+ # Secret
25
28
  SECRET = "secret"
26
29
 
27
30
 
28
31
  class OutputGooglePubsubBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
29
32
  r"""How to handle events when all receivers are exerting backpressure"""
30
33
 
34
+ # Block
31
35
  BLOCK = "block"
36
+ # Drop
32
37
  DROP = "drop"
38
+ # Persistent Queue
33
39
  QUEUE = "queue"
34
40
 
35
41
 
36
42
  class OutputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
43
  r"""Codec to use to compress the persisted data"""
38
44
 
45
+ # None
39
46
  NONE = "none"
47
+ # Gzip
40
48
  GZIP = "gzip"
41
49
 
42
50
 
43
51
  class OutputGooglePubsubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
44
52
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
45
53
 
54
+ # Block
46
55
  BLOCK = "block"
56
+ # Drop new data
47
57
  DROP = "drop"
48
58
 
49
59
 
50
60
  class OutputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
51
61
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
52
62
 
63
+ # Error
53
64
  ERROR = "error"
65
+ # Backpressure
54
66
  BACKPRESSURE = "backpressure"
67
+ # Always On
55
68
  ALWAYS = "always"
56
69
 
57
70
 
@@ -18,7 +18,9 @@ class OutputGrafanaCloudType2(str, Enum):
18
18
  class OutputGrafanaCloudMessageFormat2(str, Enum, metaclass=utils.OpenEnumMeta):
19
19
  r"""Format to use when sending logs to Loki (Protobuf or JSON)"""
20
20
 
21
+ # Protobuf
21
22
  PROTOBUF = "protobuf"
23
+ # JSON
22
24
  JSON = "json"
23
25
 
24
26
 
@@ -36,10 +38,15 @@ class OutputGrafanaCloudLabel2(BaseModel):
36
38
  class OutputGrafanaCloudPrometheusAuthAuthenticationType2(
37
39
  str, Enum, metaclass=utils.OpenEnumMeta
38
40
  ):
41
+ # None
39
42
  NONE = "none"
43
+ # Auth token
40
44
  TOKEN = "token"
45
+ # Auth token (text secret)
41
46
  TEXT_SECRET = "textSecret"
47
+ # Basic
42
48
  BASIC = "basic"
49
+ # Basic (credentials secret)
43
50
  CREDENTIALS_SECRET = "credentialsSecret"
44
51
 
45
52
 
@@ -87,10 +94,15 @@ class OutputGrafanaCloudPrometheusAuth2(BaseModel):
87
94
  class OutputGrafanaCloudLokiAuthAuthenticationType2(
88
95
  str, Enum, metaclass=utils.OpenEnumMeta
89
96
  ):
97
+ # None
90
98
  NONE = "none"
99
+ # Auth token
91
100
  TOKEN = "token"
101
+ # Auth token (text secret)
92
102
  TEXT_SECRET = "textSecret"
103
+ # Basic
93
104
  BASIC = "basic"
105
+ # Basic (credentials secret)
94
106
  CREDENTIALS_SECRET = "credentialsSecret"
95
107
 
96
108
 
@@ -151,8 +163,11 @@ class OutputGrafanaCloudFailedRequestLoggingMode2(
151
163
  ):
152
164
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
153
165
 
166
+ # Payload
154
167
  PAYLOAD = "payload"
168
+ # Payload + Headers
155
169
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
170
+ # None
156
171
  NONE = "none"
157
172
 
158
173
 
@@ -213,30 +228,40 @@ class OutputGrafanaCloudTimeoutRetrySettings2(BaseModel):
213
228
  class OutputGrafanaCloudBackpressureBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
214
229
  r"""How to handle events when all receivers are exerting backpressure"""
215
230
 
231
+ # Block
216
232
  BLOCK = "block"
233
+ # Drop
217
234
  DROP = "drop"
235
+ # Persistent Queue
218
236
  QUEUE = "queue"
219
237
 
220
238
 
221
239
  class OutputGrafanaCloudCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
222
240
  r"""Codec to use to compress the persisted data"""
223
241
 
242
+ # None
224
243
  NONE = "none"
244
+ # Gzip
225
245
  GZIP = "gzip"
226
246
 
227
247
 
228
248
  class OutputGrafanaCloudQueueFullBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
229
249
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
230
250
 
251
+ # Block
231
252
  BLOCK = "block"
253
+ # Drop new data
232
254
  DROP = "drop"
233
255
 
234
256
 
235
257
  class OutputGrafanaCloudMode2(str, Enum, metaclass=utils.OpenEnumMeta):
236
258
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
237
259
 
260
+ # Error
238
261
  ERROR = "error"
262
+ # Backpressure
239
263
  BACKPRESSURE = "backpressure"
264
+ # Always On
240
265
  ALWAYS = "always"
241
266
 
242
267
 
@@ -518,7 +543,9 @@ class OutputGrafanaCloudType1(str, Enum):
518
543
  class OutputGrafanaCloudMessageFormat1(str, Enum, metaclass=utils.OpenEnumMeta):
519
544
  r"""Format to use when sending logs to Loki (Protobuf or JSON)"""
520
545
 
546
+ # Protobuf
521
547
  PROTOBUF = "protobuf"
548
+ # JSON
522
549
  JSON = "json"
523
550
 
524
551
 
@@ -536,10 +563,15 @@ class OutputGrafanaCloudLabel1(BaseModel):
536
563
  class OutputGrafanaCloudPrometheusAuthAuthenticationType1(
537
564
  str, Enum, metaclass=utils.OpenEnumMeta
538
565
  ):
566
+ # None
539
567
  NONE = "none"
568
+ # Auth token
540
569
  TOKEN = "token"
570
+ # Auth token (text secret)
541
571
  TEXT_SECRET = "textSecret"
572
+ # Basic
542
573
  BASIC = "basic"
574
+ # Basic (credentials secret)
543
575
  CREDENTIALS_SECRET = "credentialsSecret"
544
576
 
545
577
 
@@ -587,10 +619,15 @@ class OutputGrafanaCloudPrometheusAuth1(BaseModel):
587
619
  class OutputGrafanaCloudLokiAuthAuthenticationType1(
588
620
  str, Enum, metaclass=utils.OpenEnumMeta
589
621
  ):
622
+ # None
590
623
  NONE = "none"
624
+ # Auth token
591
625
  TOKEN = "token"
626
+ # Auth token (text secret)
592
627
  TEXT_SECRET = "textSecret"
628
+ # Basic
593
629
  BASIC = "basic"
630
+ # Basic (credentials secret)
594
631
  CREDENTIALS_SECRET = "credentialsSecret"
595
632
 
596
633
 
@@ -651,8 +688,11 @@ class OutputGrafanaCloudFailedRequestLoggingMode1(
651
688
  ):
652
689
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
653
690
 
691
+ # Payload
654
692
  PAYLOAD = "payload"
693
+ # Payload + Headers
655
694
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
695
+ # None
656
696
  NONE = "none"
657
697
 
658
698
 
@@ -713,30 +753,40 @@ class OutputGrafanaCloudTimeoutRetrySettings1(BaseModel):
713
753
  class OutputGrafanaCloudBackpressureBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
714
754
  r"""How to handle events when all receivers are exerting backpressure"""
715
755
 
756
+ # Block
716
757
  BLOCK = "block"
758
+ # Drop
717
759
  DROP = "drop"
760
+ # Persistent Queue
718
761
  QUEUE = "queue"
719
762
 
720
763
 
721
764
  class OutputGrafanaCloudCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
722
765
  r"""Codec to use to compress the persisted data"""
723
766
 
767
+ # None
724
768
  NONE = "none"
769
+ # Gzip
725
770
  GZIP = "gzip"
726
771
 
727
772
 
728
773
  class OutputGrafanaCloudQueueFullBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
729
774
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
730
775
 
776
+ # Block
731
777
  BLOCK = "block"
778
+ # Drop new data
732
779
  DROP = "drop"
733
780
 
734
781
 
735
782
  class OutputGrafanaCloudMode1(str, Enum, metaclass=utils.OpenEnumMeta):
736
783
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
737
784
 
785
+ # Error
738
786
  ERROR = "error"
787
+ # Backpressure
739
788
  BACKPRESSURE = "backpressure"
789
+ # Always On
740
790
  ALWAYS = "always"
741
791
 
742
792
 
@@ -18,37 +18,49 @@ class OutputGraphiteType(str, Enum):
18
18
  class OutputGraphiteDestinationProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
19
19
  r"""Protocol to use when communicating with the destination."""
20
20
 
21
+ # UDP
21
22
  UDP = "udp"
23
+ # TCP
22
24
  TCP = "tcp"
23
25
 
24
26
 
25
27
  class OutputGraphiteBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
26
28
  r"""How to handle events when all receivers are exerting backpressure"""
27
29
 
30
+ # Block
28
31
  BLOCK = "block"
32
+ # Drop
29
33
  DROP = "drop"
34
+ # Persistent Queue
30
35
  QUEUE = "queue"
31
36
 
32
37
 
33
38
  class OutputGraphiteCompression(str, Enum, metaclass=utils.OpenEnumMeta):
34
39
  r"""Codec to use to compress the persisted data"""
35
40
 
41
+ # None
36
42
  NONE = "none"
43
+ # Gzip
37
44
  GZIP = "gzip"
38
45
 
39
46
 
40
47
  class OutputGraphiteQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
41
48
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
42
49
 
50
+ # Block
43
51
  BLOCK = "block"
52
+ # Drop new data
44
53
  DROP = "drop"
45
54
 
46
55
 
47
56
  class OutputGraphiteMode(str, Enum, metaclass=utils.OpenEnumMeta):
48
57
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
49
58
 
59
+ # Error
50
60
  ERROR = "error"
61
+ # Backpressure
51
62
  BACKPRESSURE = "backpressure"
63
+ # Always On
52
64
  ALWAYS = "always"
53
65
 
54
66
 
@@ -29,8 +29,11 @@ class OutputHoneycombExtraHTTPHeader(BaseModel):
29
29
  class OutputHoneycombFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
31
31
 
32
+ # Payload
32
33
  PAYLOAD = "payload"
34
+ # Payload + Headers
33
35
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
36
+ # None
34
37
  NONE = "none"
35
38
 
36
39
 
@@ -91,8 +94,11 @@ class OutputHoneycombTimeoutRetrySettings(BaseModel):
91
94
  class OutputHoneycombBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
92
95
  r"""How to handle events when all receivers are exerting backpressure"""
93
96
 
97
+ # Block
94
98
  BLOCK = "block"
99
+ # Drop
95
100
  DROP = "drop"
101
+ # Persistent Queue
96
102
  QUEUE = "queue"
97
103
 
98
104
 
@@ -106,22 +112,29 @@ class OutputHoneycombAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
106
112
  class OutputHoneycombCompression(str, Enum, metaclass=utils.OpenEnumMeta):
107
113
  r"""Codec to use to compress the persisted data"""
108
114
 
115
+ # None
109
116
  NONE = "none"
117
+ # Gzip
110
118
  GZIP = "gzip"
111
119
 
112
120
 
113
121
  class OutputHoneycombQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
114
122
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
115
123
 
124
+ # Block
116
125
  BLOCK = "block"
126
+ # Drop new data
117
127
  DROP = "drop"
118
128
 
119
129
 
120
130
  class OutputHoneycombMode(str, Enum, metaclass=utils.OpenEnumMeta):
121
131
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
122
132
 
133
+ # Error
123
134
  ERROR = "error"
135
+ # Backpressure
124
136
  BACKPRESSURE = "backpressure"
137
+ # Always On
125
138
  ALWAYS = "always"
126
139
 
127
140
 
@@ -29,15 +29,20 @@ class OutputHumioHecExtraHTTPHeader(BaseModel):
29
29
  class OutputHumioHecFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
31
31
 
32
+ # Payload
32
33
  PAYLOAD = "payload"
34
+ # Payload + Headers
33
35
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
36
+ # None
34
37
  NONE = "none"
35
38
 
36
39
 
37
40
  class OutputHumioHecRequestFormat(str, Enum, metaclass=utils.OpenEnumMeta):
38
41
  r"""When set to JSON, the event is automatically formatted with required fields before sending. When set to Raw, only the event's `_raw` value is sent."""
39
42
 
43
+ # JSON
40
44
  JSON = "JSON"
45
+ # Raw
41
46
  RAW = "raw"
42
47
 
43
48
 
@@ -105,30 +110,40 @@ class OutputHumioHecTimeoutRetrySettings(BaseModel):
105
110
  class OutputHumioHecBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
106
111
  r"""How to handle events when all receivers are exerting backpressure"""
107
112
 
113
+ # Block
108
114
  BLOCK = "block"
115
+ # Drop
109
116
  DROP = "drop"
117
+ # Persistent Queue
110
118
  QUEUE = "queue"
111
119
 
112
120
 
113
121
  class OutputHumioHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
114
122
  r"""Codec to use to compress the persisted data"""
115
123
 
124
+ # None
116
125
  NONE = "none"
126
+ # Gzip
117
127
  GZIP = "gzip"
118
128
 
119
129
 
120
130
  class OutputHumioHecQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
121
131
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
122
132
 
133
+ # Block
123
134
  BLOCK = "block"
135
+ # Drop new data
124
136
  DROP = "drop"
125
137
 
126
138
 
127
139
  class OutputHumioHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
128
140
  r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
129
141
 
142
+ # Error
130
143
  ERROR = "error"
144
+ # Backpressure
131
145
  BACKPRESSURE = "backpressure"
146
+ # Always On
132
147
  ALWAYS = "always"
133
148
 
134
149