files.com 1.1.638 → 1.1.640
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/notification.md +12 -4
- data/docs/siem_http_destination.md +13 -6
- data/lib/files.com/models/notification.rb +17 -2
- data/lib/files.com/models/siem_http_destination.rb +32 -6
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5b93e0702af89d82c3e978f3561ff8248033bdfe2420b674fcb083dcb6ce7d9
|
|
4
|
+
data.tar.gz: 1842f1c449d99ba92f5c7b2eab8d1df04e92e09147311455fbd1e3a1d98c1781
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9622cb6c443901bc60c99c2eed881f8cab79f37de2fc8e167b165fc4f33f8c8854ab3b4171d968ff35934da01e6ae4ac8b2ccd592e300267f363e4eb9eecad1
|
|
7
|
+
data.tar.gz: d897f96c73ba1ce545a426b84c1333a5788d912ab84f34b3d9fe7418024381d56aee1785f78ef26154a4222113d864e2d2c4b22f4d86cb579dc8891293440837
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.640
|
data/docs/notification.md
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"*.jpg",
|
|
36
36
|
"notify_file.txt"
|
|
37
37
|
],
|
|
38
|
+
"workspace_id": 1,
|
|
38
39
|
"unsubscribed": true,
|
|
39
40
|
"unsubscribed_reason": "example",
|
|
40
41
|
"user_id": 1,
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
* `subject` (string): Custom subject line to use for notification emails
|
|
64
65
|
* `message` (string): Custom message to include in notification emails
|
|
65
66
|
* `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
|
|
67
|
+
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
66
68
|
* `unsubscribed` (boolean): Is the user unsubscribed from this notification?
|
|
67
69
|
* `unsubscribed_reason` (string): The reason that the user unsubscribed
|
|
68
70
|
* `user_id` (int64): Notification user ID
|
|
@@ -85,8 +87,8 @@ Files::Notification.list(
|
|
|
85
87
|
|
|
86
88
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
87
89
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
88
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path`, `user_id` or `group_id`.
|
|
89
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id` or `group_id`.
|
|
90
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `path`, `user_id` or `group_id`.
|
|
91
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id`, `workspace_id` or `group_id`. Valid field combinations are `[ workspace_id, path ]`, `[ workspace_id, user_id ]`, `[ workspace_id, group_id ]` or `[ workspace_id, user_id, path ]`.
|
|
90
92
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
|
91
93
|
* `path` (string): Show notifications for this Path.
|
|
92
94
|
* `include_ancestors` (boolean): If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
|
|
@@ -127,6 +129,7 @@ Files::Notification.create(
|
|
|
127
129
|
triggering_group_ids: [1],
|
|
128
130
|
triggering_user_ids: [1],
|
|
129
131
|
trigger_by_share_recipients: true,
|
|
132
|
+
workspace_id: 1,
|
|
130
133
|
group_id: 1,
|
|
131
134
|
group_ids: [1],
|
|
132
135
|
username: "User"
|
|
@@ -150,6 +153,7 @@ Files::Notification.create(
|
|
|
150
153
|
* `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
|
|
151
154
|
* `triggering_user_ids` (array(int64)): If set, will only notify on actions made one of the specified users
|
|
152
155
|
* `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
|
|
156
|
+
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
153
157
|
* `group_id` (int64): The ID of the group to notify. Provide `user_id`, `username` or `group_id`.
|
|
154
158
|
* `group_ids` (string): Group IDs when the notification requires multiple groups. If sent as a string, it should be comma-delimited.
|
|
155
159
|
* `path` (string): Path
|
|
@@ -175,7 +179,8 @@ Files::Notification.update(id,
|
|
|
175
179
|
triggering_filenames: ["*.jpg","notify_file.txt"],
|
|
176
180
|
triggering_group_ids: [1],
|
|
177
181
|
triggering_user_ids: [1],
|
|
178
|
-
trigger_by_share_recipients: true
|
|
182
|
+
trigger_by_share_recipients: true,
|
|
183
|
+
workspace_id: 1
|
|
179
184
|
)
|
|
180
185
|
```
|
|
181
186
|
|
|
@@ -196,6 +201,7 @@ Files::Notification.update(id,
|
|
|
196
201
|
* `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
|
|
197
202
|
* `triggering_user_ids` (array(int64)): If set, will only notify on actions made one of the specified users
|
|
198
203
|
* `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
|
|
204
|
+
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
199
205
|
|
|
200
206
|
|
|
201
207
|
---
|
|
@@ -232,7 +238,8 @@ notification.update(
|
|
|
232
238
|
triggering_filenames: ["*.jpg","notify_file.txt"],
|
|
233
239
|
triggering_group_ids: [1],
|
|
234
240
|
triggering_user_ids: [1],
|
|
235
|
-
trigger_by_share_recipients: true
|
|
241
|
+
trigger_by_share_recipients: true,
|
|
242
|
+
workspace_id: 1
|
|
236
243
|
)
|
|
237
244
|
```
|
|
238
245
|
|
|
@@ -253,6 +260,7 @@ notification.update(
|
|
|
253
260
|
* `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
|
|
254
261
|
* `triggering_user_ids` (array(int64)): If set, will only notify on actions made one of the specified users
|
|
255
262
|
* `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
|
|
263
|
+
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
256
264
|
|
|
257
265
|
|
|
258
266
|
---
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"sending_active": true,
|
|
18
18
|
"generic_payload_type": "example",
|
|
19
19
|
"splunk_token_masked": "example",
|
|
20
|
+
"crowdstrike_token_masked": "example",
|
|
20
21
|
"azure_dcr_immutable_id": "example",
|
|
21
22
|
"azure_stream_name": "example",
|
|
22
23
|
"azure_oauth_client_credentials_tenant_id": "example",
|
|
@@ -73,7 +74,8 @@
|
|
|
73
74
|
* `additional_headers` (object): Additional HTTP Headers included in calls to the destination URL
|
|
74
75
|
* `sending_active` (boolean): Whether this SIEM HTTP Destination is currently being sent to or not
|
|
75
76
|
* `generic_payload_type` (string): Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
|
|
76
|
-
* `splunk_token_masked` (string): Applicable only for destination
|
|
77
|
+
* `splunk_token_masked` (string): Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
78
|
+
* `crowdstrike_token_masked` (string): Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
77
79
|
* `azure_dcr_immutable_id` (string): Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
78
80
|
* `azure_stream_name` (string): Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
79
81
|
* `azure_oauth_client_credentials_tenant_id` (string): Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -117,7 +119,8 @@
|
|
|
117
119
|
* `last_http_call_duration_ms` (int64): Duration of the last HTTP Call in milliseconds
|
|
118
120
|
* `most_recent_http_call_success_time` (string): Time of Most Recent Successful HTTP Call
|
|
119
121
|
* `connection_test_entry` (string): Connection Test Entry
|
|
120
|
-
* `splunk_token` (string): Applicable only for destination
|
|
122
|
+
* `splunk_token` (string): Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
123
|
+
* `crowdstrike_token` (string): Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
121
124
|
* `azure_oauth_client_credentials_client_secret` (string): Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
|
|
122
125
|
* `qradar_password` (string): Applicable only for destination type: qradar. Basic auth password provided by QRadar.
|
|
123
126
|
* `solar_winds_token` (string): Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
|
|
@@ -196,7 +199,8 @@ Files::SiemHttpDestination.create(
|
|
|
196
199
|
* `file_destination_path` (string): Applicable only for destination type: file. Destination folder path on Files.com.
|
|
197
200
|
* `file_format` (string): Applicable only for destination type: file. Generated file format.
|
|
198
201
|
* `file_interval_minutes` (int64): Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
199
|
-
* `splunk_token` (string): Applicable only for destination
|
|
202
|
+
* `splunk_token` (string): Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
203
|
+
* `crowdstrike_token` (string): Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
200
204
|
* `azure_dcr_immutable_id` (string): Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
201
205
|
* `azure_stream_name` (string): Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
202
206
|
* `azure_oauth_client_credentials_tenant_id` (string): Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -271,7 +275,8 @@ Files::SiemHttpDestination.send_test_entry(
|
|
|
271
275
|
* `file_destination_path` (string): Applicable only for destination type: file. Destination folder path on Files.com.
|
|
272
276
|
* `file_format` (string): Applicable only for destination type: file. Generated file format.
|
|
273
277
|
* `file_interval_minutes` (int64): Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
274
|
-
* `splunk_token` (string): Applicable only for destination
|
|
278
|
+
* `splunk_token` (string): Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
279
|
+
* `crowdstrike_token` (string): Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
275
280
|
* `azure_dcr_immutable_id` (string): Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
276
281
|
* `azure_stream_name` (string): Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
277
282
|
* `azure_oauth_client_credentials_tenant_id` (string): Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -341,7 +346,8 @@ Files::SiemHttpDestination.update(id,
|
|
|
341
346
|
* `file_destination_path` (string): Applicable only for destination type: file. Destination folder path on Files.com.
|
|
342
347
|
* `file_format` (string): Applicable only for destination type: file. Generated file format.
|
|
343
348
|
* `file_interval_minutes` (int64): Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
344
|
-
* `splunk_token` (string): Applicable only for destination
|
|
349
|
+
* `splunk_token` (string): Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
350
|
+
* `crowdstrike_token` (string): Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
345
351
|
* `azure_dcr_immutable_id` (string): Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
346
352
|
* `azure_stream_name` (string): Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
347
353
|
* `azure_oauth_client_credentials_tenant_id` (string): Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -428,7 +434,8 @@ siem_http_destination.update(
|
|
|
428
434
|
* `file_destination_path` (string): Applicable only for destination type: file. Destination folder path on Files.com.
|
|
429
435
|
* `file_format` (string): Applicable only for destination type: file. Generated file format.
|
|
430
436
|
* `file_interval_minutes` (int64): Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
431
|
-
* `splunk_token` (string): Applicable only for destination
|
|
437
|
+
* `splunk_token` (string): Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
438
|
+
* `crowdstrike_token` (string): Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
432
439
|
* `azure_dcr_immutable_id` (string): Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
433
440
|
* `azure_stream_name` (string): Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
434
441
|
* `azure_oauth_client_credentials_tenant_id` (string): Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -189,6 +189,15 @@ module Files
|
|
|
189
189
|
@attributes[:triggering_filenames] = value
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
+
# int64 - Workspace ID. `0` means the default workspace.
|
|
193
|
+
def workspace_id
|
|
194
|
+
@attributes[:workspace_id]
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
def workspace_id=(value)
|
|
198
|
+
@attributes[:workspace_id] = value
|
|
199
|
+
end
|
|
200
|
+
|
|
192
201
|
# boolean - Is the user unsubscribed from this notification?
|
|
193
202
|
def unsubscribed
|
|
194
203
|
@attributes[:unsubscribed]
|
|
@@ -249,6 +258,7 @@ module Files
|
|
|
249
258
|
# triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
|
250
259
|
# triggering_user_ids - array(int64) - If set, will only notify on actions made one of the specified users
|
|
251
260
|
# trigger_by_share_recipients - boolean - Notify when actions are performed by a share recipient?
|
|
261
|
+
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
252
262
|
def update(params = {})
|
|
253
263
|
params ||= {}
|
|
254
264
|
params[:id] = @attributes[:id]
|
|
@@ -260,6 +270,7 @@ module Files
|
|
|
260
270
|
raise InvalidParameterError.new("Bad parameter: triggering_filenames must be an Array") if params[:triggering_filenames] and !params[:triggering_filenames].is_a?(Array)
|
|
261
271
|
raise InvalidParameterError.new("Bad parameter: triggering_group_ids must be an Array") if params[:triggering_group_ids] and !params[:triggering_group_ids].is_a?(Array)
|
|
262
272
|
raise InvalidParameterError.new("Bad parameter: triggering_user_ids must be an Array") if params[:triggering_user_ids] and !params[:triggering_user_ids].is_a?(Array)
|
|
273
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
263
274
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
264
275
|
|
|
265
276
|
Api.send_request("/notifications/#{@attributes[:id]}", :patch, params, @options)
|
|
@@ -294,8 +305,8 @@ module Files
|
|
|
294
305
|
# Parameters:
|
|
295
306
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
296
307
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
297
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path`, `user_id` or `group_id`.
|
|
298
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id` or `group_id`.
|
|
308
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `path`, `user_id` or `group_id`.
|
|
309
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id`, `workspace_id` or `group_id`. Valid field combinations are `[ workspace_id, path ]`, `[ workspace_id, user_id ]`, `[ workspace_id, group_id ]` or `[ workspace_id, user_id, path ]`.
|
|
299
310
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
|
300
311
|
# path - string - Show notifications for this Path.
|
|
301
312
|
# include_ancestors - boolean - If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
|
|
@@ -350,6 +361,7 @@ module Files
|
|
|
350
361
|
# triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
|
351
362
|
# triggering_user_ids - array(int64) - If set, will only notify on actions made one of the specified users
|
|
352
363
|
# trigger_by_share_recipients - boolean - Notify when actions are performed by a share recipient?
|
|
364
|
+
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
353
365
|
# group_id - int64 - The ID of the group to notify. Provide `user_id`, `username` or `group_id`.
|
|
354
366
|
# group_ids - string - Group IDs when the notification requires multiple groups. If sent as a string, it should be comma-delimited.
|
|
355
367
|
# path - string - Path
|
|
@@ -362,6 +374,7 @@ module Files
|
|
|
362
374
|
raise InvalidParameterError.new("Bad parameter: triggering_filenames must be an Array") if params[:triggering_filenames] and !params[:triggering_filenames].is_a?(Array)
|
|
363
375
|
raise InvalidParameterError.new("Bad parameter: triggering_group_ids must be an Array") if params[:triggering_group_ids] and !params[:triggering_group_ids].is_a?(Array)
|
|
364
376
|
raise InvalidParameterError.new("Bad parameter: triggering_user_ids must be an Array") if params[:triggering_user_ids] and !params[:triggering_user_ids].is_a?(Array)
|
|
377
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
365
378
|
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
|
366
379
|
raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params[:group_ids] and !params[:group_ids].is_a?(String)
|
|
367
380
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
|
@@ -386,6 +399,7 @@ module Files
|
|
|
386
399
|
# triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
|
387
400
|
# triggering_user_ids - array(int64) - If set, will only notify on actions made one of the specified users
|
|
388
401
|
# trigger_by_share_recipients - boolean - Notify when actions are performed by a share recipient?
|
|
402
|
+
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
389
403
|
def self.update(id, params = {}, options = {})
|
|
390
404
|
params ||= {}
|
|
391
405
|
params[:id] = id
|
|
@@ -396,6 +410,7 @@ module Files
|
|
|
396
410
|
raise InvalidParameterError.new("Bad parameter: triggering_filenames must be an Array") if params[:triggering_filenames] and !params[:triggering_filenames].is_a?(Array)
|
|
397
411
|
raise InvalidParameterError.new("Bad parameter: triggering_group_ids must be an Array") if params[:triggering_group_ids] and !params[:triggering_group_ids].is_a?(Array)
|
|
398
412
|
raise InvalidParameterError.new("Bad parameter: triggering_user_ids must be an Array") if params[:triggering_user_ids] and !params[:triggering_user_ids].is_a?(Array)
|
|
413
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
399
414
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
400
415
|
|
|
401
416
|
response, options = Api.send_request("/notifications/#{params[:id]}", :patch, params, options)
|
|
@@ -99,7 +99,7 @@ module Files
|
|
|
99
99
|
@attributes[:generic_payload_type] = value
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
# string - Applicable only for destination
|
|
102
|
+
# string - Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
103
103
|
def splunk_token_masked
|
|
104
104
|
@attributes[:splunk_token_masked]
|
|
105
105
|
end
|
|
@@ -108,6 +108,15 @@ module Files
|
|
|
108
108
|
@attributes[:splunk_token_masked] = value
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
+
# string - Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
112
|
+
def crowdstrike_token_masked
|
|
113
|
+
@attributes[:crowdstrike_token_masked]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def crowdstrike_token_masked=(value)
|
|
117
|
+
@attributes[:crowdstrike_token_masked] = value
|
|
118
|
+
end
|
|
119
|
+
|
|
111
120
|
# string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
112
121
|
def azure_dcr_immutable_id
|
|
113
122
|
@attributes[:azure_dcr_immutable_id]
|
|
@@ -495,7 +504,7 @@ module Files
|
|
|
495
504
|
@attributes[:connection_test_entry] = value
|
|
496
505
|
end
|
|
497
506
|
|
|
498
|
-
# string - Applicable only for destination
|
|
507
|
+
# string - Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
499
508
|
def splunk_token
|
|
500
509
|
@attributes[:splunk_token]
|
|
501
510
|
end
|
|
@@ -504,6 +513,15 @@ module Files
|
|
|
504
513
|
@attributes[:splunk_token] = value
|
|
505
514
|
end
|
|
506
515
|
|
|
516
|
+
# string - Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
517
|
+
def crowdstrike_token
|
|
518
|
+
@attributes[:crowdstrike_token]
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
def crowdstrike_token=(value)
|
|
522
|
+
@attributes[:crowdstrike_token] = value
|
|
523
|
+
end
|
|
524
|
+
|
|
507
525
|
# string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
|
|
508
526
|
def azure_oauth_client_credentials_client_secret
|
|
509
527
|
@attributes[:azure_oauth_client_credentials_client_secret]
|
|
@@ -557,7 +575,8 @@ module Files
|
|
|
557
575
|
# file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
|
|
558
576
|
# file_format - string - Applicable only for destination type: file. Generated file format.
|
|
559
577
|
# file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
560
|
-
# splunk_token - string - Applicable only for destination
|
|
578
|
+
# splunk_token - string - Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
579
|
+
# crowdstrike_token - string - Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
561
580
|
# azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
562
581
|
# azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
563
582
|
# azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -593,6 +612,7 @@ module Files
|
|
|
593
612
|
raise InvalidParameterError.new("Bad parameter: file_format must be an String") if params[:file_format] and !params[:file_format].is_a?(String)
|
|
594
613
|
raise InvalidParameterError.new("Bad parameter: file_interval_minutes must be an Integer") if params[:file_interval_minutes] and !params[:file_interval_minutes].is_a?(Integer)
|
|
595
614
|
raise InvalidParameterError.new("Bad parameter: splunk_token must be an String") if params[:splunk_token] and !params[:splunk_token].is_a?(String)
|
|
615
|
+
raise InvalidParameterError.new("Bad parameter: crowdstrike_token must be an String") if params[:crowdstrike_token] and !params[:crowdstrike_token].is_a?(String)
|
|
596
616
|
raise InvalidParameterError.new("Bad parameter: azure_dcr_immutable_id must be an String") if params[:azure_dcr_immutable_id] and !params[:azure_dcr_immutable_id].is_a?(String)
|
|
597
617
|
raise InvalidParameterError.new("Bad parameter: azure_stream_name must be an String") if params[:azure_stream_name] and !params[:azure_stream_name].is_a?(String)
|
|
598
618
|
raise InvalidParameterError.new("Bad parameter: azure_oauth_client_credentials_tenant_id must be an String") if params[:azure_oauth_client_credentials_tenant_id] and !params[:azure_oauth_client_credentials_tenant_id].is_a?(String)
|
|
@@ -676,7 +696,8 @@ module Files
|
|
|
676
696
|
# file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
|
|
677
697
|
# file_format - string - Applicable only for destination type: file. Generated file format.
|
|
678
698
|
# file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
679
|
-
# splunk_token - string - Applicable only for destination
|
|
699
|
+
# splunk_token - string - Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
700
|
+
# crowdstrike_token - string - Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
680
701
|
# azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
681
702
|
# azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
682
703
|
# azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -709,6 +730,7 @@ module Files
|
|
|
709
730
|
raise InvalidParameterError.new("Bad parameter: file_format must be an String") if params[:file_format] and !params[:file_format].is_a?(String)
|
|
710
731
|
raise InvalidParameterError.new("Bad parameter: file_interval_minutes must be an Integer") if params[:file_interval_minutes] and !params[:file_interval_minutes].is_a?(Integer)
|
|
711
732
|
raise InvalidParameterError.new("Bad parameter: splunk_token must be an String") if params[:splunk_token] and !params[:splunk_token].is_a?(String)
|
|
733
|
+
raise InvalidParameterError.new("Bad parameter: crowdstrike_token must be an String") if params[:crowdstrike_token] and !params[:crowdstrike_token].is_a?(String)
|
|
712
734
|
raise InvalidParameterError.new("Bad parameter: azure_dcr_immutable_id must be an String") if params[:azure_dcr_immutable_id] and !params[:azure_dcr_immutable_id].is_a?(String)
|
|
713
735
|
raise InvalidParameterError.new("Bad parameter: azure_stream_name must be an String") if params[:azure_stream_name] and !params[:azure_stream_name].is_a?(String)
|
|
714
736
|
raise InvalidParameterError.new("Bad parameter: azure_oauth_client_credentials_tenant_id must be an String") if params[:azure_oauth_client_credentials_tenant_id] and !params[:azure_oauth_client_credentials_tenant_id].is_a?(String)
|
|
@@ -738,7 +760,8 @@ module Files
|
|
|
738
760
|
# file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
|
|
739
761
|
# file_format - string - Applicable only for destination type: file. Generated file format.
|
|
740
762
|
# file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
741
|
-
# splunk_token - string - Applicable only for destination
|
|
763
|
+
# splunk_token - string - Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
764
|
+
# crowdstrike_token - string - Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
742
765
|
# azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
743
766
|
# azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
744
767
|
# azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -772,6 +795,7 @@ module Files
|
|
|
772
795
|
raise InvalidParameterError.new("Bad parameter: file_format must be an String") if params[:file_format] and !params[:file_format].is_a?(String)
|
|
773
796
|
raise InvalidParameterError.new("Bad parameter: file_interval_minutes must be an Integer") if params[:file_interval_minutes] and !params[:file_interval_minutes].is_a?(Integer)
|
|
774
797
|
raise InvalidParameterError.new("Bad parameter: splunk_token must be an String") if params[:splunk_token] and !params[:splunk_token].is_a?(String)
|
|
798
|
+
raise InvalidParameterError.new("Bad parameter: crowdstrike_token must be an String") if params[:crowdstrike_token] and !params[:crowdstrike_token].is_a?(String)
|
|
775
799
|
raise InvalidParameterError.new("Bad parameter: azure_dcr_immutable_id must be an String") if params[:azure_dcr_immutable_id] and !params[:azure_dcr_immutable_id].is_a?(String)
|
|
776
800
|
raise InvalidParameterError.new("Bad parameter: azure_stream_name must be an String") if params[:azure_stream_name] and !params[:azure_stream_name].is_a?(String)
|
|
777
801
|
raise InvalidParameterError.new("Bad parameter: azure_oauth_client_credentials_tenant_id must be an String") if params[:azure_oauth_client_credentials_tenant_id] and !params[:azure_oauth_client_credentials_tenant_id].is_a?(String)
|
|
@@ -795,7 +819,8 @@ module Files
|
|
|
795
819
|
# file_destination_path - string - Applicable only for destination type: file. Destination folder path on Files.com.
|
|
796
820
|
# file_format - string - Applicable only for destination type: file. Generated file format.
|
|
797
821
|
# file_interval_minutes - int64 - Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
|
|
798
|
-
# splunk_token - string - Applicable only for destination
|
|
822
|
+
# splunk_token - string - Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
|
|
823
|
+
# crowdstrike_token - string - Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
|
|
799
824
|
# azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
|
|
800
825
|
# azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
|
|
801
826
|
# azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
|
|
@@ -831,6 +856,7 @@ module Files
|
|
|
831
856
|
raise InvalidParameterError.new("Bad parameter: file_format must be an String") if params[:file_format] and !params[:file_format].is_a?(String)
|
|
832
857
|
raise InvalidParameterError.new("Bad parameter: file_interval_minutes must be an Integer") if params[:file_interval_minutes] and !params[:file_interval_minutes].is_a?(Integer)
|
|
833
858
|
raise InvalidParameterError.new("Bad parameter: splunk_token must be an String") if params[:splunk_token] and !params[:splunk_token].is_a?(String)
|
|
859
|
+
raise InvalidParameterError.new("Bad parameter: crowdstrike_token must be an String") if params[:crowdstrike_token] and !params[:crowdstrike_token].is_a?(String)
|
|
834
860
|
raise InvalidParameterError.new("Bad parameter: azure_dcr_immutable_id must be an String") if params[:azure_dcr_immutable_id] and !params[:azure_dcr_immutable_id].is_a?(String)
|
|
835
861
|
raise InvalidParameterError.new("Bad parameter: azure_stream_name must be an String") if params[:azure_stream_name] and !params[:azure_stream_name].is_a?(String)
|
|
836
862
|
raise InvalidParameterError.new("Bad parameter: azure_oauth_client_credentials_tenant_id must be an String") if params[:azure_oauth_client_credentials_tenant_id] and !params[:azure_oauth_client_credentials_tenant_id].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.640
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|