cribl-control-plane 0.2.0b8__py3-none-any.whl → 0.2.0rc1__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 (143) hide show
  1. cribl_control_plane/_version.py +5 -3
  2. cribl_control_plane/groups_sdk.py +8 -8
  3. cribl_control_plane/models/__init__.py +27 -45
  4. cribl_control_plane/models/appmode.py +14 -0
  5. cribl_control_plane/models/authtoken.py +1 -8
  6. cribl_control_plane/models/configgroup.py +2 -30
  7. cribl_control_plane/models/createversionundoop.py +3 -3
  8. cribl_control_plane/models/distributedsummary.py +0 -6
  9. cribl_control_plane/models/hbcriblinfo.py +3 -14
  10. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  11. cribl_control_plane/models/input.py +63 -65
  12. cribl_control_plane/models/inputappscope.py +0 -4
  13. cribl_control_plane/models/inputazureblob.py +0 -4
  14. cribl_control_plane/models/inputcollection.py +0 -4
  15. cribl_control_plane/models/inputconfluentcloud.py +18 -8
  16. cribl_control_plane/models/inputcribl.py +0 -4
  17. cribl_control_plane/models/inputcriblhttp.py +0 -4
  18. cribl_control_plane/models/inputcribllakehttp.py +0 -4
  19. cribl_control_plane/models/inputcriblmetrics.py +0 -4
  20. cribl_control_plane/models/inputcribltcp.py +0 -4
  21. cribl_control_plane/models/inputcrowdstrike.py +0 -7
  22. cribl_control_plane/models/inputdatadogagent.py +0 -4
  23. cribl_control_plane/models/inputdatagen.py +0 -4
  24. cribl_control_plane/models/inputedgeprometheus.py +0 -12
  25. cribl_control_plane/models/inputelastic.py +0 -11
  26. cribl_control_plane/models/inputeventhub.py +0 -6
  27. cribl_control_plane/models/inputexec.py +0 -4
  28. cribl_control_plane/models/inputfile.py +0 -6
  29. cribl_control_plane/models/inputfirehose.py +0 -4
  30. cribl_control_plane/models/inputgooglepubsub.py +0 -7
  31. cribl_control_plane/models/inputgrafana.py +0 -8
  32. cribl_control_plane/models/inputhttp.py +0 -4
  33. cribl_control_plane/models/inputhttpraw.py +0 -4
  34. cribl_control_plane/models/inputjournalfiles.py +0 -4
  35. cribl_control_plane/models/inputkafka.py +17 -8
  36. cribl_control_plane/models/inputkinesis.py +0 -15
  37. cribl_control_plane/models/inputkubeevents.py +0 -4
  38. cribl_control_plane/models/inputkubelogs.py +0 -4
  39. cribl_control_plane/models/inputkubemetrics.py +0 -4
  40. cribl_control_plane/models/inputloki.py +0 -4
  41. cribl_control_plane/models/inputmetrics.py +0 -4
  42. cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
  43. cribl_control_plane/models/inputmsk.py +17 -7
  44. cribl_control_plane/models/inputnetflow.py +0 -4
  45. cribl_control_plane/models/inputoffice365mgmt.py +0 -11
  46. cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
  47. cribl_control_plane/models/inputoffice365service.py +0 -11
  48. cribl_control_plane/models/inputopentelemetry.py +0 -8
  49. cribl_control_plane/models/inputprometheus.py +0 -10
  50. cribl_control_plane/models/inputprometheusrw.py +0 -4
  51. cribl_control_plane/models/inputrawudp.py +0 -4
  52. cribl_control_plane/models/inputs3.py +0 -7
  53. cribl_control_plane/models/inputs3inventory.py +0 -7
  54. cribl_control_plane/models/inputsecuritylake.py +0 -7
  55. cribl_control_plane/models/inputsnmp.py +0 -11
  56. cribl_control_plane/models/inputsplunk.py +0 -9
  57. cribl_control_plane/models/inputsplunkhec.py +0 -4
  58. cribl_control_plane/models/inputsplunksearch.py +0 -7
  59. cribl_control_plane/models/inputsqs.py +0 -9
  60. cribl_control_plane/models/inputsyslog.py +0 -8
  61. cribl_control_plane/models/inputsystemmetrics.py +0 -32
  62. cribl_control_plane/models/inputsystemstate.py +0 -4
  63. cribl_control_plane/models/inputtcp.py +0 -4
  64. cribl_control_plane/models/inputtcpjson.py +0 -4
  65. cribl_control_plane/models/inputwef.py +0 -6
  66. cribl_control_plane/models/inputwindowsmetrics.py +0 -28
  67. cribl_control_plane/models/inputwineventlogs.py +0 -8
  68. cribl_control_plane/models/inputwiz.py +0 -7
  69. cribl_control_plane/models/inputwizwebhook.py +0 -4
  70. cribl_control_plane/models/inputzscalerhec.py +0 -4
  71. cribl_control_plane/models/jobinfo.py +1 -4
  72. cribl_control_plane/models/nodeprovidedinfo.py +1 -7
  73. cribl_control_plane/models/output.py +80 -85
  74. cribl_control_plane/models/outputazureblob.py +0 -20
  75. cribl_control_plane/models/outputazuredataexplorer.py +0 -28
  76. cribl_control_plane/models/outputazureeventhub.py +0 -17
  77. cribl_control_plane/models/outputazurelogs.py +0 -13
  78. cribl_control_plane/models/outputchronicle.py +0 -13
  79. cribl_control_plane/models/outputclickhouse.py +0 -17
  80. cribl_control_plane/models/outputcloudwatch.py +0 -13
  81. cribl_control_plane/models/outputconfluentcloud.py +18 -24
  82. cribl_control_plane/models/outputcriblhttp.py +0 -15
  83. cribl_control_plane/models/outputcribllake.py +0 -21
  84. cribl_control_plane/models/outputcribltcp.py +0 -12
  85. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
  86. cribl_control_plane/models/outputdatadog.py +0 -30
  87. cribl_control_plane/models/outputdataset.py +0 -23
  88. cribl_control_plane/models/outputdls3.py +0 -35
  89. cribl_control_plane/models/outputdynatracehttp.py +0 -22
  90. cribl_control_plane/models/outputdynatraceotlp.py +0 -22
  91. cribl_control_plane/models/outputelastic.py +0 -18
  92. cribl_control_plane/models/outputelasticcloud.py +0 -13
  93. cribl_control_plane/models/outputexabeam.py +0 -14
  94. cribl_control_plane/models/outputfilesystem.py +0 -15
  95. cribl_control_plane/models/outputgooglechronicle.py +0 -21
  96. cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
  97. cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
  98. cribl_control_plane/models/outputgooglepubsub.py +0 -13
  99. cribl_control_plane/models/outputgrafanacloud.py +0 -50
  100. cribl_control_plane/models/outputgraphite.py +0 -12
  101. cribl_control_plane/models/outputhoneycomb.py +0 -13
  102. cribl_control_plane/models/outputhumiohec.py +0 -15
  103. cribl_control_plane/models/outputinfluxdb.py +0 -19
  104. cribl_control_plane/models/outputkafka.py +17 -24
  105. cribl_control_plane/models/outputkinesis.py +0 -15
  106. cribl_control_plane/models/outputloki.py +0 -20
  107. cribl_control_plane/models/outputminio.py +0 -28
  108. cribl_control_plane/models/outputmsk.py +17 -23
  109. cribl_control_plane/models/outputnewrelic.py +0 -16
  110. cribl_control_plane/models/outputnewrelicevents.py +0 -16
  111. cribl_control_plane/models/outputopentelemetry.py +0 -22
  112. cribl_control_plane/models/outputprometheus.py +0 -13
  113. cribl_control_plane/models/outputring.py +0 -2
  114. cribl_control_plane/models/outputs3.py +0 -35
  115. cribl_control_plane/models/outputsecuritylake.py +0 -29
  116. cribl_control_plane/models/outputsentinel.py +0 -15
  117. cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
  118. cribl_control_plane/models/outputservicenow.py +0 -21
  119. cribl_control_plane/models/outputsignalfx.py +0 -13
  120. cribl_control_plane/models/outputsns.py +0 -13
  121. cribl_control_plane/models/outputsplunk.py +0 -15
  122. cribl_control_plane/models/outputsplunkhec.py +0 -13
  123. cribl_control_plane/models/outputsplunklb.py +0 -15
  124. cribl_control_plane/models/outputsqs.py +0 -15
  125. cribl_control_plane/models/outputstatsd.py +0 -12
  126. cribl_control_plane/models/outputstatsdext.py +0 -12
  127. cribl_control_plane/models/outputsumologic.py +0 -15
  128. cribl_control_plane/models/outputsyslog.py +0 -24
  129. cribl_control_plane/models/outputtcpjson.py +0 -12
  130. cribl_control_plane/models/outputwavefront.py +0 -13
  131. cribl_control_plane/models/outputwebhook.py +0 -23
  132. cribl_control_plane/models/outputxsiam.py +0 -13
  133. cribl_control_plane/models/packinfo.py +5 -8
  134. cribl_control_plane/models/packinstallinfo.py +5 -8
  135. cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
  136. cribl_control_plane/models/routeconf.py +4 -3
  137. cribl_control_plane/models/runnablejobcollection.py +0 -4
  138. cribl_control_plane/packs.py +7 -202
  139. {cribl_control_plane-0.2.0b8.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/METADATA +16 -39
  140. {cribl_control_plane-0.2.0b8.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/RECORD +141 -142
  141. cribl_control_plane/models/outputdatabricks.py +0 -291
  142. cribl_control_plane/models/updatepacksop.py +0 -25
  143. {cribl_control_plane-0.2.0b8.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/WHEEL +0 -0
@@ -16,22 +16,16 @@ class OutputGoogleChronicleType(str, Enum):
16
16
 
17
17
 
18
18
  class OutputGoogleChronicleAPIVersion(str, Enum, metaclass=utils.OpenEnumMeta):
19
- # V1
20
19
  V1 = "v1"
21
- # V2
22
20
  V2 = "v2"
23
21
 
24
22
 
25
23
  class OutputGoogleChronicleAuthenticationMethod(
26
24
  str, Enum, metaclass=utils.OpenEnumMeta
27
25
  ):
28
- # API key
29
26
  MANUAL = "manual"
30
- # API key secret
31
27
  SECRET = "secret"
32
- # Service account credentials
33
28
  SERVICE_ACCOUNT = "serviceAccount"
34
- # Service account credentials secret
35
29
  SERVICE_ACCOUNT_SECRET = "serviceAccountSecret"
36
30
 
37
31
 
@@ -90,9 +84,7 @@ class OutputGoogleChronicleTimeoutRetrySettings(BaseModel):
90
84
 
91
85
 
92
86
  class SendEventsAs(str, Enum, metaclass=utils.OpenEnumMeta):
93
- # Unstructured
94
87
  UNSTRUCTURED = "unstructured"
95
- # UDM
96
88
  UDM = "udm"
97
89
 
98
90
 
@@ -112,11 +104,8 @@ class OutputGoogleChronicleFailedRequestLoggingMode(
112
104
  ):
113
105
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
114
106
 
115
- # Payload
116
107
  PAYLOAD = "payload"
117
- # Payload + Headers
118
108
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
119
- # None
120
109
  NONE = "none"
121
110
 
122
111
 
@@ -125,11 +114,8 @@ class OutputGoogleChronicleBackpressureBehavior(
125
114
  ):
126
115
  r"""How to handle events when all receivers are exerting backpressure"""
127
116
 
128
- # Block
129
117
  BLOCK = "block"
130
- # Drop
131
118
  DROP = "drop"
132
- # Persistent Queue
133
119
  QUEUE = "queue"
134
120
 
135
121
 
@@ -158,29 +144,22 @@ class OutputGoogleChronicleCustomLabel(BaseModel):
158
144
  class OutputGoogleChronicleCompression(str, Enum, metaclass=utils.OpenEnumMeta):
159
145
  r"""Codec to use to compress the persisted data"""
160
146
 
161
- # None
162
147
  NONE = "none"
163
- # Gzip
164
148
  GZIP = "gzip"
165
149
 
166
150
 
167
151
  class OutputGoogleChronicleQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
168
152
  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."""
169
153
 
170
- # Block
171
154
  BLOCK = "block"
172
- # Drop new data
173
155
  DROP = "drop"
174
156
 
175
157
 
176
158
  class OutputGoogleChronicleMode(str, Enum, metaclass=utils.OpenEnumMeta):
177
159
  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."""
178
160
 
179
- # Error
180
161
  ERROR = "error"
181
- # Backpressure
182
162
  BACKPRESSURE = "backpressure"
183
- # Always On
184
163
  ALWAYS = "always"
185
164
 
186
165
 
@@ -16,22 +16,16 @@ class OutputGoogleCloudLoggingType(str, Enum):
16
16
 
17
17
 
18
18
  class LogLocationType(str, Enum, metaclass=utils.OpenEnumMeta):
19
- # Project
20
19
  PROJECT = "project"
21
- # Organization
22
20
  ORGANIZATION = "organization"
23
- # Billing Account
24
21
  BILLING_ACCOUNT = "billingAccount"
25
- # Folder
26
22
  FOLDER = "folder"
27
23
 
28
24
 
29
25
  class PayloadFormat(str, Enum, metaclass=utils.OpenEnumMeta):
30
26
  r"""Format to use when sending payload. Defaults to Text."""
31
27
 
32
- # Text
33
28
  TEXT = "text"
34
- # JSON
35
29
  JSON = "json"
36
30
 
37
31
 
@@ -70,11 +64,8 @@ class OutputGoogleCloudLoggingGoogleAuthenticationMethod(
70
64
  ):
71
65
  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."""
72
66
 
73
- # Auto
74
67
  AUTO = "auto"
75
- # Manual
76
68
  MANUAL = "manual"
77
- # Secret
78
69
  SECRET = "secret"
79
70
 
80
71
 
@@ -83,20 +74,15 @@ class OutputGoogleCloudLoggingBackpressureBehavior(
83
74
  ):
84
75
  r"""How to handle events when all receivers are exerting backpressure"""
85
76
 
86
- # Block
87
77
  BLOCK = "block"
88
- # Drop
89
78
  DROP = "drop"
90
- # Persistent Queue
91
79
  QUEUE = "queue"
92
80
 
93
81
 
94
82
  class OutputGoogleCloudLoggingCompression(str, Enum, metaclass=utils.OpenEnumMeta):
95
83
  r"""Codec to use to compress the persisted data"""
96
84
 
97
- # None
98
85
  NONE = "none"
99
- # Gzip
100
86
  GZIP = "gzip"
101
87
 
102
88
 
@@ -105,20 +91,15 @@ class OutputGoogleCloudLoggingQueueFullBehavior(
105
91
  ):
106
92
  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."""
107
93
 
108
- # Block
109
94
  BLOCK = "block"
110
- # Drop new data
111
95
  DROP = "drop"
112
96
 
113
97
 
114
98
  class OutputGoogleCloudLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
115
99
  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."""
116
100
 
117
- # Error
118
101
  ERROR = "error"
119
- # Backpressure
120
102
  BACKPRESSURE = "backpressure"
121
- # Always On
122
103
  ALWAYS = "always"
123
104
 
124
105
 
@@ -25,52 +25,36 @@ class OutputGoogleCloudStorageSignatureVersion(str, Enum, metaclass=utils.OpenEn
25
25
  class OutputGoogleCloudStorageAuthenticationMethod(
26
26
  str, Enum, metaclass=utils.OpenEnumMeta
27
27
  ):
28
- # auto
29
28
  AUTO = "auto"
30
- # manual
31
29
  MANUAL = "manual"
32
- # Secret Key pair
33
30
  SECRET = "secret"
34
31
 
35
32
 
36
33
  class OutputGoogleCloudStorageObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
37
34
  r"""Object ACL to assign to uploaded objects"""
38
35
 
39
- # private
40
36
  PRIVATE = "private"
41
- # bucket-owner-read
42
37
  BUCKET_OWNER_READ = "bucket-owner-read"
43
- # bucket-owner-full-control
44
38
  BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
45
- # project-private
46
39
  PROJECT_PRIVATE = "project-private"
47
- # authenticated-read
48
40
  AUTHENTICATED_READ = "authenticated-read"
49
- # public-read
50
41
  PUBLIC_READ = "public-read"
51
42
 
52
43
 
53
44
  class OutputGoogleCloudStorageStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
54
45
  r"""Storage class to select for uploaded objects"""
55
46
 
56
- # Standard Storage
57
47
  STANDARD = "STANDARD"
58
- # Nearline Storage
59
48
  NEARLINE = "NEARLINE"
60
- # Coldline Storage
61
49
  COLDLINE = "COLDLINE"
62
- # Archive Storage
63
50
  ARCHIVE = "ARCHIVE"
64
51
 
65
52
 
66
53
  class OutputGoogleCloudStorageDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
67
54
  r"""Format of the output data"""
68
55
 
69
- # JSON
70
56
  JSON = "json"
71
- # Raw
72
57
  RAW = "raw"
73
- # Parquet
74
58
  PARQUET = "parquet"
75
59
 
76
60
 
@@ -79,9 +63,7 @@ class OutputGoogleCloudStorageBackpressureBehavior(
79
63
  ):
80
64
  r"""How to handle events when all receivers are exerting backpressure"""
81
65
 
82
- # Block
83
66
  BLOCK = "block"
84
- # Drop
85
67
  DROP = "drop"
86
68
 
87
69
 
@@ -90,9 +72,7 @@ class OutputGoogleCloudStorageDiskSpaceProtection(
90
72
  ):
91
73
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
92
74
 
93
- # Block
94
75
  BLOCK = "block"
95
- # Drop
96
76
  DROP = "drop"
97
77
 
98
78
 
@@ -106,31 +86,23 @@ class OutputGoogleCloudStorageCompression(str, Enum, metaclass=utils.OpenEnumMet
106
86
  class OutputGoogleCloudStorageCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
107
87
  r"""Compression level to apply before moving files to final destination"""
108
88
 
109
- # Best Speed
110
89
  BEST_SPEED = "best_speed"
111
- # Normal
112
90
  NORMAL = "normal"
113
- # Best Compression
114
91
  BEST_COMPRESSION = "best_compression"
115
92
 
116
93
 
117
94
  class OutputGoogleCloudStorageParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
118
95
  r"""Determines which data types are supported and how they are represented"""
119
96
 
120
- # 1.0
121
97
  PARQUET_1_0 = "PARQUET_1_0"
122
- # 2.4
123
98
  PARQUET_2_4 = "PARQUET_2_4"
124
- # 2.6
125
99
  PARQUET_2_6 = "PARQUET_2_6"
126
100
 
127
101
 
128
102
  class OutputGoogleCloudStorageDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
129
103
  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."""
130
104
 
131
- # V1
132
105
  DATA_PAGE_V1 = "DATA_PAGE_V1"
133
- # V2
134
106
  DATA_PAGE_V2 = "DATA_PAGE_V2"
135
107
 
136
108
 
@@ -20,51 +20,38 @@ 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
24
23
  AUTO = "auto"
25
- # Manual
26
24
  MANUAL = "manual"
27
- # Secret
28
25
  SECRET = "secret"
29
26
 
30
27
 
31
28
  class OutputGooglePubsubBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
32
29
  r"""How to handle events when all receivers are exerting backpressure"""
33
30
 
34
- # Block
35
31
  BLOCK = "block"
36
- # Drop
37
32
  DROP = "drop"
38
- # Persistent Queue
39
33
  QUEUE = "queue"
40
34
 
41
35
 
42
36
  class OutputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
43
37
  r"""Codec to use to compress the persisted data"""
44
38
 
45
- # None
46
39
  NONE = "none"
47
- # Gzip
48
40
  GZIP = "gzip"
49
41
 
50
42
 
51
43
  class OutputGooglePubsubQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
52
44
  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."""
53
45
 
54
- # Block
55
46
  BLOCK = "block"
56
- # Drop new data
57
47
  DROP = "drop"
58
48
 
59
49
 
60
50
  class OutputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
61
51
  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."""
62
52
 
63
- # Error
64
53
  ERROR = "error"
65
- # Backpressure
66
54
  BACKPRESSURE = "backpressure"
67
- # Always On
68
55
  ALWAYS = "always"
69
56
 
70
57
 
@@ -18,9 +18,7 @@ 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
22
21
  PROTOBUF = "protobuf"
23
- # JSON
24
22
  JSON = "json"
25
23
 
26
24
 
@@ -38,15 +36,10 @@ class OutputGrafanaCloudLabel2(BaseModel):
38
36
  class OutputGrafanaCloudPrometheusAuthAuthenticationType2(
39
37
  str, Enum, metaclass=utils.OpenEnumMeta
40
38
  ):
41
- # None
42
39
  NONE = "none"
43
- # Auth token
44
40
  TOKEN = "token"
45
- # Auth token (text secret)
46
41
  TEXT_SECRET = "textSecret"
47
- # Basic
48
42
  BASIC = "basic"
49
- # Basic (credentials secret)
50
43
  CREDENTIALS_SECRET = "credentialsSecret"
51
44
 
52
45
 
@@ -94,15 +87,10 @@ class OutputGrafanaCloudPrometheusAuth2(BaseModel):
94
87
  class OutputGrafanaCloudLokiAuthAuthenticationType2(
95
88
  str, Enum, metaclass=utils.OpenEnumMeta
96
89
  ):
97
- # None
98
90
  NONE = "none"
99
- # Auth token
100
91
  TOKEN = "token"
101
- # Auth token (text secret)
102
92
  TEXT_SECRET = "textSecret"
103
- # Basic
104
93
  BASIC = "basic"
105
- # Basic (credentials secret)
106
94
  CREDENTIALS_SECRET = "credentialsSecret"
107
95
 
108
96
 
@@ -163,11 +151,8 @@ class OutputGrafanaCloudFailedRequestLoggingMode2(
163
151
  ):
164
152
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
165
153
 
166
- # Payload
167
154
  PAYLOAD = "payload"
168
- # Payload + Headers
169
155
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
170
- # None
171
156
  NONE = "none"
172
157
 
173
158
 
@@ -228,40 +213,30 @@ class OutputGrafanaCloudTimeoutRetrySettings2(BaseModel):
228
213
  class OutputGrafanaCloudBackpressureBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
229
214
  r"""How to handle events when all receivers are exerting backpressure"""
230
215
 
231
- # Block
232
216
  BLOCK = "block"
233
- # Drop
234
217
  DROP = "drop"
235
- # Persistent Queue
236
218
  QUEUE = "queue"
237
219
 
238
220
 
239
221
  class OutputGrafanaCloudCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
240
222
  r"""Codec to use to compress the persisted data"""
241
223
 
242
- # None
243
224
  NONE = "none"
244
- # Gzip
245
225
  GZIP = "gzip"
246
226
 
247
227
 
248
228
  class OutputGrafanaCloudQueueFullBehavior2(str, Enum, metaclass=utils.OpenEnumMeta):
249
229
  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."""
250
230
 
251
- # Block
252
231
  BLOCK = "block"
253
- # Drop new data
254
232
  DROP = "drop"
255
233
 
256
234
 
257
235
  class OutputGrafanaCloudMode2(str, Enum, metaclass=utils.OpenEnumMeta):
258
236
  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."""
259
237
 
260
- # Error
261
238
  ERROR = "error"
262
- # Backpressure
263
239
  BACKPRESSURE = "backpressure"
264
- # Always On
265
240
  ALWAYS = "always"
266
241
 
267
242
 
@@ -543,9 +518,7 @@ class OutputGrafanaCloudType1(str, Enum):
543
518
  class OutputGrafanaCloudMessageFormat1(str, Enum, metaclass=utils.OpenEnumMeta):
544
519
  r"""Format to use when sending logs to Loki (Protobuf or JSON)"""
545
520
 
546
- # Protobuf
547
521
  PROTOBUF = "protobuf"
548
- # JSON
549
522
  JSON = "json"
550
523
 
551
524
 
@@ -563,15 +536,10 @@ class OutputGrafanaCloudLabel1(BaseModel):
563
536
  class OutputGrafanaCloudPrometheusAuthAuthenticationType1(
564
537
  str, Enum, metaclass=utils.OpenEnumMeta
565
538
  ):
566
- # None
567
539
  NONE = "none"
568
- # Auth token
569
540
  TOKEN = "token"
570
- # Auth token (text secret)
571
541
  TEXT_SECRET = "textSecret"
572
- # Basic
573
542
  BASIC = "basic"
574
- # Basic (credentials secret)
575
543
  CREDENTIALS_SECRET = "credentialsSecret"
576
544
 
577
545
 
@@ -619,15 +587,10 @@ class OutputGrafanaCloudPrometheusAuth1(BaseModel):
619
587
  class OutputGrafanaCloudLokiAuthAuthenticationType1(
620
588
  str, Enum, metaclass=utils.OpenEnumMeta
621
589
  ):
622
- # None
623
590
  NONE = "none"
624
- # Auth token
625
591
  TOKEN = "token"
626
- # Auth token (text secret)
627
592
  TEXT_SECRET = "textSecret"
628
- # Basic
629
593
  BASIC = "basic"
630
- # Basic (credentials secret)
631
594
  CREDENTIALS_SECRET = "credentialsSecret"
632
595
 
633
596
 
@@ -688,11 +651,8 @@ class OutputGrafanaCloudFailedRequestLoggingMode1(
688
651
  ):
689
652
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
690
653
 
691
- # Payload
692
654
  PAYLOAD = "payload"
693
- # Payload + Headers
694
655
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
695
- # None
696
656
  NONE = "none"
697
657
 
698
658
 
@@ -753,40 +713,30 @@ class OutputGrafanaCloudTimeoutRetrySettings1(BaseModel):
753
713
  class OutputGrafanaCloudBackpressureBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
754
714
  r"""How to handle events when all receivers are exerting backpressure"""
755
715
 
756
- # Block
757
716
  BLOCK = "block"
758
- # Drop
759
717
  DROP = "drop"
760
- # Persistent Queue
761
718
  QUEUE = "queue"
762
719
 
763
720
 
764
721
  class OutputGrafanaCloudCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
765
722
  r"""Codec to use to compress the persisted data"""
766
723
 
767
- # None
768
724
  NONE = "none"
769
- # Gzip
770
725
  GZIP = "gzip"
771
726
 
772
727
 
773
728
  class OutputGrafanaCloudQueueFullBehavior1(str, Enum, metaclass=utils.OpenEnumMeta):
774
729
  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."""
775
730
 
776
- # Block
777
731
  BLOCK = "block"
778
- # Drop new data
779
732
  DROP = "drop"
780
733
 
781
734
 
782
735
  class OutputGrafanaCloudMode1(str, Enum, metaclass=utils.OpenEnumMeta):
783
736
  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."""
784
737
 
785
- # Error
786
738
  ERROR = "error"
787
- # Backpressure
788
739
  BACKPRESSURE = "backpressure"
789
- # Always On
790
740
  ALWAYS = "always"
791
741
 
792
742
 
@@ -18,49 +18,37 @@ 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
22
21
  UDP = "udp"
23
- # TCP
24
22
  TCP = "tcp"
25
23
 
26
24
 
27
25
  class OutputGraphiteBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
28
26
  r"""How to handle events when all receivers are exerting backpressure"""
29
27
 
30
- # Block
31
28
  BLOCK = "block"
32
- # Drop
33
29
  DROP = "drop"
34
- # Persistent Queue
35
30
  QUEUE = "queue"
36
31
 
37
32
 
38
33
  class OutputGraphiteCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
34
  r"""Codec to use to compress the persisted data"""
40
35
 
41
- # None
42
36
  NONE = "none"
43
- # Gzip
44
37
  GZIP = "gzip"
45
38
 
46
39
 
47
40
  class OutputGraphiteQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
48
41
  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."""
49
42
 
50
- # Block
51
43
  BLOCK = "block"
52
- # Drop new data
53
44
  DROP = "drop"
54
45
 
55
46
 
56
47
  class OutputGraphiteMode(str, Enum, metaclass=utils.OpenEnumMeta):
57
48
  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."""
58
49
 
59
- # Error
60
50
  ERROR = "error"
61
- # Backpressure
62
51
  BACKPRESSURE = "backpressure"
63
- # Always On
64
52
  ALWAYS = "always"
65
53
 
66
54
 
@@ -29,11 +29,8 @@ 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
33
32
  PAYLOAD = "payload"
34
- # Payload + Headers
35
33
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
36
- # None
37
34
  NONE = "none"
38
35
 
39
36
 
@@ -94,11 +91,8 @@ class OutputHoneycombTimeoutRetrySettings(BaseModel):
94
91
  class OutputHoneycombBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
95
92
  r"""How to handle events when all receivers are exerting backpressure"""
96
93
 
97
- # Block
98
94
  BLOCK = "block"
99
- # Drop
100
95
  DROP = "drop"
101
- # Persistent Queue
102
96
  QUEUE = "queue"
103
97
 
104
98
 
@@ -112,29 +106,22 @@ class OutputHoneycombAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
112
106
  class OutputHoneycombCompression(str, Enum, metaclass=utils.OpenEnumMeta):
113
107
  r"""Codec to use to compress the persisted data"""
114
108
 
115
- # None
116
109
  NONE = "none"
117
- # Gzip
118
110
  GZIP = "gzip"
119
111
 
120
112
 
121
113
  class OutputHoneycombQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
122
114
  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."""
123
115
 
124
- # Block
125
116
  BLOCK = "block"
126
- # Drop new data
127
117
  DROP = "drop"
128
118
 
129
119
 
130
120
  class OutputHoneycombMode(str, Enum, metaclass=utils.OpenEnumMeta):
131
121
  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."""
132
122
 
133
- # Error
134
123
  ERROR = "error"
135
- # Backpressure
136
124
  BACKPRESSURE = "backpressure"
137
- # Always On
138
125
  ALWAYS = "always"
139
126
 
140
127
 
@@ -29,20 +29,15 @@ 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
33
32
  PAYLOAD = "payload"
34
- # Payload + Headers
35
33
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
36
- # None
37
34
  NONE = "none"
38
35
 
39
36
 
40
37
  class OutputHumioHecRequestFormat(str, Enum, metaclass=utils.OpenEnumMeta):
41
38
  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."""
42
39
 
43
- # JSON
44
40
  JSON = "JSON"
45
- # Raw
46
41
  RAW = "raw"
47
42
 
48
43
 
@@ -110,40 +105,30 @@ class OutputHumioHecTimeoutRetrySettings(BaseModel):
110
105
  class OutputHumioHecBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
111
106
  r"""How to handle events when all receivers are exerting backpressure"""
112
107
 
113
- # Block
114
108
  BLOCK = "block"
115
- # Drop
116
109
  DROP = "drop"
117
- # Persistent Queue
118
110
  QUEUE = "queue"
119
111
 
120
112
 
121
113
  class OutputHumioHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
122
114
  r"""Codec to use to compress the persisted data"""
123
115
 
124
- # None
125
116
  NONE = "none"
126
- # Gzip
127
117
  GZIP = "gzip"
128
118
 
129
119
 
130
120
  class OutputHumioHecQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
131
121
  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."""
132
122
 
133
- # Block
134
123
  BLOCK = "block"
135
- # Drop new data
136
124
  DROP = "drop"
137
125
 
138
126
 
139
127
  class OutputHumioHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
140
128
  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."""
141
129
 
142
- # Error
143
130
  ERROR = "error"
144
- # Backpressure
145
131
  BACKPRESSURE = "backpressure"
146
- # Always On
147
132
  ALWAYS = "always"
148
133
 
149
134