files.com 1.1.728 → 1.1.730
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/as2_partner.md +4 -4
- data/docs/bundle.md +13 -3
- data/docs/desktop_configuration_profile.md +4 -4
- data/docs/file.md +4 -4
- data/docs/folder.md +1 -1
- data/docs/group.md +8 -0
- data/docs/history_export.md +2 -2
- data/docs/history_export_result.md +1 -1
- data/docs/integration_centric_profile.md +7 -4
- data/docs/secret.md +4 -4
- data/docs/siem_http_destination.md +5 -5
- data/docs/site.md +6 -3
- data/docs/user.md +8 -0
- data/lib/files.com/models/bundle.rb +5 -0
- data/lib/files.com/models/group.rb +12 -0
- data/lib/files.com/models/history_export.rb +2 -2
- data/lib/files.com/models/history_export_result.rb +1 -1
- data/lib/files.com/models/site.rb +2 -2
- data/lib/files.com/models/user.rb +12 -0
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27d74f027cffc2e30423219f6a1a1e32da95a49cc0f5a279ee7942f5a0d81d01
|
|
4
|
+
data.tar.gz: 972ec8212266d73dec19855e2285ef5644658d1c6a77014b414d6cab9e9aec07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f82c22231dd60e7345aa693f88f0cd7123709d79bf62b4437a947661d43e1403f2b5f14ca7a3b966e9fa3b7c6c99e0b9bce0eeb69588daf0e0209f0c822779e
|
|
7
|
+
data.tar.gz: 50fb711d4b4cb1ecb7950a9b5e8be4985ae6a1004a2493f1d8f59c0250aa55b308d9226b8ac2875a4671ba327bf3a2594c113674c4057cad87928b120f87448f
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.730
|
data/docs/as2_partner.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"server_certificate": "require_match",
|
|
13
13
|
"http_auth_username": "username",
|
|
14
14
|
"additional_http_headers": {
|
|
15
|
-
"
|
|
15
|
+
"X-Partner": "acme"
|
|
16
16
|
},
|
|
17
17
|
"default_mime_type": "application/octet-stream",
|
|
18
18
|
"mdn_validation_level": "none",
|
|
@@ -93,7 +93,7 @@ Files::As2Partner.create(
|
|
|
93
93
|
signature_validation_level: "normal",
|
|
94
94
|
server_certificate: "require_match",
|
|
95
95
|
default_mime_type: "application/octet-stream",
|
|
96
|
-
additional_http_headers: {"
|
|
96
|
+
additional_http_headers: {"X-Partner":"acme"},
|
|
97
97
|
as2_station_id: 1,
|
|
98
98
|
name: "AS2 Partner Name",
|
|
99
99
|
uri: "example",
|
|
@@ -129,7 +129,7 @@ Files::As2Partner.update(id,
|
|
|
129
129
|
signature_validation_level: "normal",
|
|
130
130
|
server_certificate: "require_match",
|
|
131
131
|
default_mime_type: "application/octet-stream",
|
|
132
|
-
additional_http_headers: {"
|
|
132
|
+
additional_http_headers: {"X-Partner":"acme"},
|
|
133
133
|
name: "AS2 Partner Name",
|
|
134
134
|
uri: "example",
|
|
135
135
|
public_certificate: "example"
|
|
@@ -179,7 +179,7 @@ as2_partner.update(
|
|
|
179
179
|
signature_validation_level: "normal",
|
|
180
180
|
server_certificate: "require_match",
|
|
181
181
|
default_mime_type: "application/octet-stream",
|
|
182
|
-
additional_http_headers: {"
|
|
182
|
+
additional_http_headers: {"X-Partner":"acme"},
|
|
183
183
|
name: "AS2 Partner Name",
|
|
184
184
|
uri: "example",
|
|
185
185
|
public_certificate: "example"
|
data/docs/bundle.md
CHANGED
|
@@ -77,14 +77,18 @@
|
|
|
77
77
|
"uri": "https://mysite.files.com/.../my_image.png"
|
|
78
78
|
},
|
|
79
79
|
"watermark_value": {
|
|
80
|
-
"
|
|
80
|
+
"gravity": "SouthWest",
|
|
81
|
+
"max_height_or_width": 20,
|
|
82
|
+
"transparency": 25
|
|
81
83
|
},
|
|
82
84
|
"send_one_time_password_to_recipient_at_registration": true,
|
|
83
85
|
"workspace_id": 1,
|
|
84
86
|
"has_inbox": true,
|
|
85
87
|
"dont_allow_folders_in_uploads": true,
|
|
86
88
|
"requested_upload_slots": [
|
|
87
|
-
|
|
89
|
+
{
|
|
90
|
+
"name": "Photo ID"
|
|
91
|
+
}
|
|
88
92
|
],
|
|
89
93
|
"paths": [
|
|
90
94
|
"file.txt"
|
|
@@ -231,7 +235,8 @@ Files::Bundle.create(
|
|
|
231
235
|
skip_company: true,
|
|
232
236
|
start_access_on_date: "2000-01-01T01:00:00Z",
|
|
233
237
|
snapshot_id: 1,
|
|
234
|
-
workspace_id: 1
|
|
238
|
+
workspace_id: 1,
|
|
239
|
+
watermark_value: {"gravity":"SouthWest","max_height_or_width":20,"transparency":25}
|
|
235
240
|
)
|
|
236
241
|
```
|
|
237
242
|
|
|
@@ -268,6 +273,7 @@ Files::Bundle.create(
|
|
|
268
273
|
* `snapshot_id` (int64): ID of the snapshot containing this bundle's contents.
|
|
269
274
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
270
275
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
276
|
+
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
271
277
|
|
|
272
278
|
|
|
273
279
|
---
|
|
@@ -325,6 +331,7 @@ Files::Bundle.update(id,
|
|
|
325
331
|
skip_name: true,
|
|
326
332
|
user_id: 1,
|
|
327
333
|
watermark_attachment_delete: false,
|
|
334
|
+
watermark_value: {"gravity":"SouthWest","max_height_or_width":20,"transparency":25},
|
|
328
335
|
workspace_id: 1
|
|
329
336
|
)
|
|
330
337
|
```
|
|
@@ -362,6 +369,7 @@ Files::Bundle.update(id,
|
|
|
362
369
|
* `user_id` (int64): The owning user id. Only site admins can set this.
|
|
363
370
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
|
364
371
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
372
|
+
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
365
373
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
366
374
|
|
|
367
375
|
|
|
@@ -437,6 +445,7 @@ bundle.update(
|
|
|
437
445
|
skip_name: true,
|
|
438
446
|
user_id: 1,
|
|
439
447
|
watermark_attachment_delete: false,
|
|
448
|
+
watermark_value: {"gravity":"SouthWest","max_height_or_width":20,"transparency":25},
|
|
440
449
|
workspace_id: 1
|
|
441
450
|
)
|
|
442
451
|
```
|
|
@@ -474,6 +483,7 @@ bundle.update(
|
|
|
474
483
|
* `user_id` (int64): The owning user id. Only site admins can set this.
|
|
475
484
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
|
476
485
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
486
|
+
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
477
487
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
478
488
|
|
|
479
489
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"use_for_all_users": false,
|
|
11
11
|
"disable_drive_mounting": false,
|
|
12
12
|
"mount_mappings": {
|
|
13
|
-
"
|
|
13
|
+
"W": "Americas"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
```
|
|
@@ -59,7 +59,7 @@ Files::DesktopConfigurationProfile.find(id)
|
|
|
59
59
|
```
|
|
60
60
|
Files::DesktopConfigurationProfile.create(
|
|
61
61
|
name: "North America Desktop Profile",
|
|
62
|
-
mount_mappings: {"
|
|
62
|
+
mount_mappings: {"W":"Americas"},
|
|
63
63
|
workspace_id: 1,
|
|
64
64
|
use_for_all_users: false,
|
|
65
65
|
disable_drive_mounting: false
|
|
@@ -83,7 +83,7 @@ Files::DesktopConfigurationProfile.create(
|
|
|
83
83
|
Files::DesktopConfigurationProfile.update(id,
|
|
84
84
|
name: "North America Desktop Profile",
|
|
85
85
|
workspace_id: 1,
|
|
86
|
-
mount_mappings: {"
|
|
86
|
+
mount_mappings: {"W":"Americas"},
|
|
87
87
|
use_for_all_users: false,
|
|
88
88
|
disable_drive_mounting: false
|
|
89
89
|
)
|
|
@@ -122,7 +122,7 @@ desktop_configuration_profile = Files::DesktopConfigurationProfile.find(id)
|
|
|
122
122
|
desktop_configuration_profile.update(
|
|
123
123
|
name: "North America Desktop Profile",
|
|
124
124
|
workspace_id: 1,
|
|
125
|
-
mount_mappings: {"
|
|
125
|
+
mount_mappings: {"W":"Americas"},
|
|
126
126
|
use_for_all_users: false,
|
|
127
127
|
disable_drive_mounting: false
|
|
128
128
|
)
|
data/docs/file.md
CHANGED
|
@@ -17,7 +17,7 @@ may places where a Ruby File object can be used.
|
|
|
17
17
|
"created_by_remote_server_id": 1,
|
|
18
18
|
"created_by_sync_id": 1,
|
|
19
19
|
"custom_metadata": {
|
|
20
|
-
"
|
|
20
|
+
"department": "finance"
|
|
21
21
|
},
|
|
22
22
|
"display_name": "file.txt",
|
|
23
23
|
"type": "file",
|
|
@@ -140,7 +140,7 @@ Files::File.download(path,
|
|
|
140
140
|
|
|
141
141
|
```
|
|
142
142
|
Files::File.create(path,
|
|
143
|
-
custom_metadata: {"
|
|
143
|
+
custom_metadata: {"department":"finance"},
|
|
144
144
|
length: 1,
|
|
145
145
|
mkdir_parents: false,
|
|
146
146
|
part: 1,
|
|
@@ -183,7 +183,7 @@ Files::File.create(path,
|
|
|
183
183
|
|
|
184
184
|
```
|
|
185
185
|
Files::File.update(path,
|
|
186
|
-
custom_metadata: {"
|
|
186
|
+
custom_metadata: {"department":"finance"},
|
|
187
187
|
provided_mtime: "2000-01-01T01:00:00Z",
|
|
188
188
|
priority_color: "red"
|
|
189
189
|
)
|
|
@@ -464,7 +464,7 @@ file.download(
|
|
|
464
464
|
file = Files::File.find(path)
|
|
465
465
|
|
|
466
466
|
file.update(
|
|
467
|
-
custom_metadata: {"
|
|
467
|
+
custom_metadata: {"department":"finance"},
|
|
468
468
|
provided_mtime: "2000-01-01T01:00:00Z",
|
|
469
469
|
priority_color: "red"
|
|
470
470
|
)
|
data/docs/folder.md
CHANGED
data/docs/group.md
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"sftp_permission": true,
|
|
17
17
|
"dav_permission": true,
|
|
18
18
|
"restapi_permission": true,
|
|
19
|
+
"s3_compatible_endpoint_permission": true,
|
|
19
20
|
"desktop_configuration_profile_id": 1,
|
|
20
21
|
"integration_centric_profile_id": 1,
|
|
21
22
|
"site_id": 1,
|
|
@@ -35,6 +36,7 @@
|
|
|
35
36
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
36
37
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
37
38
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
39
|
+
* `s3_compatible_endpoint_permission` (boolean): If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
38
40
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
39
41
|
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
40
42
|
* `site_id` (int64): Site ID
|
|
@@ -89,6 +91,7 @@ Files::Group.create(
|
|
|
89
91
|
sftp_permission: true,
|
|
90
92
|
dav_permission: true,
|
|
91
93
|
restapi_permission: true,
|
|
94
|
+
s3_compatible_endpoint_permission: true,
|
|
92
95
|
desktop_configuration_profile_id: 1,
|
|
93
96
|
integration_centric_profile_id: 1,
|
|
94
97
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
@@ -107,6 +110,7 @@ Files::Group.create(
|
|
|
107
110
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
108
111
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
109
112
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
113
|
+
* `s3_compatible_endpoint_permission` (boolean): If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
110
114
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
111
115
|
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
112
116
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
@@ -128,6 +132,7 @@ Files::Group.update(id,
|
|
|
128
132
|
sftp_permission: true,
|
|
129
133
|
dav_permission: true,
|
|
130
134
|
restapi_permission: true,
|
|
135
|
+
s3_compatible_endpoint_permission: true,
|
|
131
136
|
desktop_configuration_profile_id: 1,
|
|
132
137
|
integration_centric_profile_id: 1,
|
|
133
138
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
@@ -146,6 +151,7 @@ Files::Group.update(id,
|
|
|
146
151
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
147
152
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
148
153
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
154
|
+
* `s3_compatible_endpoint_permission` (boolean): If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
149
155
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
150
156
|
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
151
157
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
|
@@ -181,6 +187,7 @@ group.update(
|
|
|
181
187
|
sftp_permission: true,
|
|
182
188
|
dav_permission: true,
|
|
183
189
|
restapi_permission: true,
|
|
190
|
+
s3_compatible_endpoint_permission: true,
|
|
184
191
|
desktop_configuration_profile_id: 1,
|
|
185
192
|
integration_centric_profile_id: 1,
|
|
186
193
|
allowed_ips: "10.0.0.0/8\n127.0.0.1",
|
|
@@ -199,6 +206,7 @@ group.update(
|
|
|
199
206
|
* `sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
200
207
|
* `dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
201
208
|
* `restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
209
|
+
* `s3_compatible_endpoint_permission` (boolean): If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
202
210
|
* `desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
203
211
|
* `integration_centric_profile_id` (int64): Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
204
212
|
* `allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
|
data/docs/history_export.md
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
* `query_destination` (string): Return results that are file moves with paths matching this pattern as destination.
|
|
49
49
|
* `query_ip` (string): Filter results by this IP address.
|
|
50
50
|
* `query_username` (string): Filter results by this username.
|
|
51
|
-
* `query_failure_type` (string): If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
51
|
+
* `query_failure_type` (string): If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`
|
|
52
52
|
* `query_target_id` (string): If searching for Histories about specific objects (such as Users, or API Keys), this parameter restricts results to objects that match this ID.
|
|
53
53
|
* `query_target_name` (string): If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
|
|
54
54
|
* `query_target_permission` (string): If searching for Histories about Permissions, this parameter restricts results to permissions of this level.
|
|
@@ -120,7 +120,7 @@ Files::HistoryExport.create(
|
|
|
120
120
|
* `query_destination` (string): Return results that are file moves with paths matching this pattern as destination.
|
|
121
121
|
* `query_ip` (string): Filter results by this IP address.
|
|
122
122
|
* `query_username` (string): Filter results by this username.
|
|
123
|
-
* `query_failure_type` (string): If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
123
|
+
* `query_failure_type` (string): If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`
|
|
124
124
|
* `query_target_id` (string): If searching for Histories about specific objects (such as Users, or API Keys), this parameter restricts results to objects that match this ID.
|
|
125
125
|
* `query_target_name` (string): If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
|
|
126
126
|
* `query_target_permission` (string): If searching for Histories about Permissions, this parameter restricts results to permissions of this level.
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* `username` (string): Username of the user that performed the action
|
|
48
48
|
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
|
49
49
|
* `action` (string): What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
|
|
50
|
-
* `failure_type` (string): The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
50
|
+
* `failure_type` (string): The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`
|
|
51
51
|
* `interface` (string): Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
|
|
52
52
|
* `target_id` (int64): ID of the object (such as Users, or API Keys) on which the action was taken
|
|
53
53
|
* `target_name` (string): Name of the User, Group or other object with a name related to this action
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
"workspace_id": 1,
|
|
10
10
|
"use_for_all_users": false,
|
|
11
11
|
"expected_remote_servers": [
|
|
12
|
-
|
|
12
|
+
{
|
|
13
|
+
"server_type": "dropbox",
|
|
14
|
+
"name": "Dropbox"
|
|
15
|
+
}
|
|
13
16
|
]
|
|
14
17
|
}
|
|
15
18
|
```
|
|
@@ -57,7 +60,7 @@ Files::IntegrationCentricProfile.find(id)
|
|
|
57
60
|
```
|
|
58
61
|
Files::IntegrationCentricProfile.create(
|
|
59
62
|
name: "Business Systems Onboarding",
|
|
60
|
-
expected_remote_servers: ["
|
|
63
|
+
expected_remote_servers: [{"server_type":"dropbox","name":"Dropbox"}],
|
|
61
64
|
workspace_id: 1,
|
|
62
65
|
use_for_all_users: false
|
|
63
66
|
)
|
|
@@ -79,7 +82,7 @@ Files::IntegrationCentricProfile.create(
|
|
|
79
82
|
Files::IntegrationCentricProfile.update(id,
|
|
80
83
|
name: "Business Systems Onboarding",
|
|
81
84
|
workspace_id: 1,
|
|
82
|
-
expected_remote_servers: ["
|
|
85
|
+
expected_remote_servers: [{"server_type":"dropbox","name":"Dropbox"}],
|
|
83
86
|
use_for_all_users: false
|
|
84
87
|
)
|
|
85
88
|
```
|
|
@@ -116,7 +119,7 @@ integration_centric_profile = Files::IntegrationCentricProfile.find(id)
|
|
|
116
119
|
integration_centric_profile.update(
|
|
117
120
|
name: "Business Systems Onboarding",
|
|
118
121
|
workspace_id: 1,
|
|
119
|
-
expected_remote_servers: ["
|
|
122
|
+
expected_remote_servers: [{"server_type":"dropbox","name":"Dropbox"}],
|
|
120
123
|
use_for_all_users: false
|
|
121
124
|
)
|
|
122
125
|
```
|
data/docs/secret.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "Used by production API integrations.",
|
|
11
11
|
"secret_type": "token",
|
|
12
12
|
"metadata": {
|
|
13
|
-
"
|
|
13
|
+
"header_name": "Authorization"
|
|
14
14
|
},
|
|
15
15
|
"value_field_names": [
|
|
16
16
|
"example"
|
|
@@ -70,7 +70,7 @@ Files::Secret.create(
|
|
|
70
70
|
name: "Production API token",
|
|
71
71
|
description: "Used by production API integrations.",
|
|
72
72
|
secret_type: "token",
|
|
73
|
-
metadata: {"
|
|
73
|
+
metadata: {"header_name":"Authorization"},
|
|
74
74
|
workspace_id: 0
|
|
75
75
|
)
|
|
76
76
|
```
|
|
@@ -93,7 +93,7 @@ Files::Secret.update(id,
|
|
|
93
93
|
name: "Production API token",
|
|
94
94
|
description: "Used by production API integrations.",
|
|
95
95
|
secret_type: "token",
|
|
96
|
-
metadata: {"
|
|
96
|
+
metadata: {"header_name":"Authorization"}
|
|
97
97
|
)
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -130,7 +130,7 @@ secret.update(
|
|
|
130
130
|
name: "Production API token",
|
|
131
131
|
description: "Used by production API integrations.",
|
|
132
132
|
secret_type: "token",
|
|
133
|
-
metadata: {"
|
|
133
|
+
metadata: {"header_name":"Authorization"}
|
|
134
134
|
)
|
|
135
135
|
```
|
|
136
136
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"file_format": "example",
|
|
13
13
|
"file_interval_minutes": 1,
|
|
14
14
|
"additional_headers": {
|
|
15
|
-
"
|
|
15
|
+
"Authorization": "Bearer YOUR_TOKEN"
|
|
16
16
|
},
|
|
17
17
|
"sending_active": true,
|
|
18
18
|
"generic_payload_type": "example",
|
|
@@ -162,7 +162,7 @@ Files::SiemHttpDestination.find(id)
|
|
|
162
162
|
```
|
|
163
163
|
Files::SiemHttpDestination.create(
|
|
164
164
|
name: "example",
|
|
165
|
-
additional_headers: {"
|
|
165
|
+
additional_headers: {"Authorization":"Bearer YOUR_TOKEN"},
|
|
166
166
|
sending_active: true,
|
|
167
167
|
generic_payload_type: "example",
|
|
168
168
|
file_destination_path: "example",
|
|
@@ -237,7 +237,7 @@ Files::SiemHttpDestination.send_test_entry(
|
|
|
237
237
|
destination_type: "example",
|
|
238
238
|
destination_url: "example",
|
|
239
239
|
name: "example",
|
|
240
|
-
additional_headers: {"
|
|
240
|
+
additional_headers: {"Authorization":"Bearer YOUR_TOKEN"},
|
|
241
241
|
sending_active: true,
|
|
242
242
|
generic_payload_type: "example",
|
|
243
243
|
file_destination_path: "example",
|
|
@@ -308,7 +308,7 @@ Files::SiemHttpDestination.send_test_entry(
|
|
|
308
308
|
```
|
|
309
309
|
Files::SiemHttpDestination.update(id,
|
|
310
310
|
name: "example",
|
|
311
|
-
additional_headers: {"
|
|
311
|
+
additional_headers: {"Authorization":"Bearer YOUR_TOKEN"},
|
|
312
312
|
sending_active: true,
|
|
313
313
|
generic_payload_type: "example",
|
|
314
314
|
file_destination_path: "example",
|
|
@@ -396,7 +396,7 @@ siem_http_destination = Files::SiemHttpDestination.find(id)
|
|
|
396
396
|
|
|
397
397
|
siem_http_destination.update(
|
|
398
398
|
name: "example",
|
|
399
|
-
additional_headers: {"
|
|
399
|
+
additional_headers: {"Authorization":"Bearer YOUR_TOKEN"},
|
|
400
400
|
sending_active: true,
|
|
401
401
|
generic_payload_type: "example",
|
|
402
402
|
file_destination_path: "example",
|
data/docs/site.md
CHANGED
|
@@ -56,7 +56,9 @@
|
|
|
56
56
|
"uri": "https://mysite.files.com/.../my_image.png"
|
|
57
57
|
},
|
|
58
58
|
"bundle_watermark_value": {
|
|
59
|
-
"
|
|
59
|
+
"gravity": "SouthWest",
|
|
60
|
+
"max_height_or_width": 20,
|
|
61
|
+
"transparency": 25
|
|
60
62
|
},
|
|
61
63
|
"calculate_file_checksums_crc32": true,
|
|
62
64
|
"calculate_file_checksums_md5": true,
|
|
@@ -323,6 +325,7 @@
|
|
|
323
325
|
"responsible_user_id": 1,
|
|
324
326
|
"readonly_site_admin": true,
|
|
325
327
|
"restapi_permission": true,
|
|
328
|
+
"s3_compatible_endpoint_permission": true,
|
|
326
329
|
"self_managed": true,
|
|
327
330
|
"sftp_permission": true,
|
|
328
331
|
"site_admin": true,
|
|
@@ -699,7 +702,6 @@ Files::Site.update(
|
|
|
699
702
|
active_sftp_host_key_ids: [1],
|
|
700
703
|
protocol_access_groups_only: false,
|
|
701
704
|
revoke_bundle_access_on_disable_or_delete: false,
|
|
702
|
-
bundle_watermark_value: {"key":"example value"},
|
|
703
705
|
group_admins_can_add_users: false,
|
|
704
706
|
group_admins_can_manage_group_memberships: false,
|
|
705
707
|
group_admins_can_delete_users: false,
|
|
@@ -755,6 +757,7 @@ Files::Site.update(
|
|
|
755
757
|
ldap_group_inclusion: "example",
|
|
756
758
|
ldap_base_dn: "example",
|
|
757
759
|
uploads_via_email_authentication: false,
|
|
760
|
+
bundle_watermark_value: {"gravity":"SouthWest","max_height_or_width":20,"transparency":25},
|
|
758
761
|
icon16_delete: false,
|
|
759
762
|
icon32_delete: false,
|
|
760
763
|
icon48_delete: false,
|
|
@@ -883,7 +886,6 @@ Files::Site.update(
|
|
|
883
886
|
* `active_sftp_host_key_ids` (array(int64)): Ids of the selected custom SFTP Host Keys
|
|
884
887
|
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
885
888
|
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
886
|
-
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
887
889
|
* `group_admins_can_add_users` (boolean): Allow group admins to create users in their groups
|
|
888
890
|
* `group_admins_can_manage_group_memberships` (boolean): Allow group admins to add or remove existing users in their groups
|
|
889
891
|
* `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
|
|
@@ -939,6 +941,7 @@ Files::Site.update(
|
|
|
939
941
|
* `ldap_group_inclusion` (string): Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
|
940
942
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
|
941
943
|
* `uploads_via_email_authentication` (boolean): Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
|
944
|
+
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
942
945
|
* `icon16_file` (file):
|
|
943
946
|
* `icon16_delete` (boolean): If true, will delete the file stored in icon16
|
|
944
947
|
* `icon32_file` (file):
|
data/docs/user.md
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"responsible_user_id": 1,
|
|
75
75
|
"readonly_site_admin": true,
|
|
76
76
|
"restapi_permission": true,
|
|
77
|
+
"s3_compatible_endpoint_permission": true,
|
|
77
78
|
"self_managed": true,
|
|
78
79
|
"sftp_permission": true,
|
|
79
80
|
"site_admin": true,
|
|
@@ -165,6 +166,7 @@
|
|
|
165
166
|
* `responsible_user_id` (int64): ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
166
167
|
* `readonly_site_admin` (boolean): Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
167
168
|
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
169
|
+
* `s3_compatible_endpoint_permission` (boolean): Can the user access the S3-compatible endpoint? Defaults to true.
|
|
168
170
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
|
169
171
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
|
170
172
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
|
@@ -290,6 +292,7 @@ Files::User.create(
|
|
|
290
292
|
responsible_group_id: 1,
|
|
291
293
|
responsible_user_id: 1,
|
|
292
294
|
restapi_permission: true,
|
|
295
|
+
s3_compatible_endpoint_permission: true,
|
|
293
296
|
self_managed: true,
|
|
294
297
|
sftp_permission: true,
|
|
295
298
|
site_admin: true,
|
|
@@ -363,6 +366,7 @@ Files::User.create(
|
|
|
363
366
|
* `responsible_group_id` (int64): ID of the internal Group responsible for this Partner User, overriding the Partner default.
|
|
364
367
|
* `responsible_user_id` (int64): ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
365
368
|
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
369
|
+
* `s3_compatible_endpoint_permission` (boolean): Can the user access the S3-compatible endpoint? Defaults to true.
|
|
366
370
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
|
367
371
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
|
368
372
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
|
@@ -471,6 +475,7 @@ Files::User.update(id,
|
|
|
471
475
|
responsible_group_id: 1,
|
|
472
476
|
responsible_user_id: 1,
|
|
473
477
|
restapi_permission: true,
|
|
478
|
+
s3_compatible_endpoint_permission: true,
|
|
474
479
|
self_managed: true,
|
|
475
480
|
sftp_permission: true,
|
|
476
481
|
site_admin: true,
|
|
@@ -547,6 +552,7 @@ Files::User.update(id,
|
|
|
547
552
|
* `responsible_group_id` (int64): ID of the internal Group responsible for this Partner User, overriding the Partner default.
|
|
548
553
|
* `responsible_user_id` (int64): ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
549
554
|
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
555
|
+
* `s3_compatible_endpoint_permission` (boolean): Can the user access the S3-compatible endpoint? Defaults to true.
|
|
550
556
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
|
551
557
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
|
552
558
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
|
@@ -681,6 +687,7 @@ user.update(
|
|
|
681
687
|
responsible_group_id: 1,
|
|
682
688
|
responsible_user_id: 1,
|
|
683
689
|
restapi_permission: true,
|
|
690
|
+
s3_compatible_endpoint_permission: true,
|
|
684
691
|
self_managed: true,
|
|
685
692
|
sftp_permission: true,
|
|
686
693
|
site_admin: true,
|
|
@@ -757,6 +764,7 @@ user.update(
|
|
|
757
764
|
* `responsible_group_id` (int64): ID of the internal Group responsible for this Partner User, overriding the Partner default.
|
|
758
765
|
* `responsible_user_id` (int64): ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
759
766
|
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
767
|
+
* `s3_compatible_endpoint_permission` (boolean): Can the user access the S3-compatible endpoint? Defaults to true.
|
|
760
768
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
|
761
769
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
|
762
770
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
|
@@ -541,6 +541,7 @@ module Files
|
|
|
541
541
|
# user_id - int64 - The owning user id. Only site admins can set this.
|
|
542
542
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
543
543
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
544
|
+
# watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
544
545
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
545
546
|
def update(params = {})
|
|
546
547
|
params ||= {}
|
|
@@ -678,6 +679,7 @@ module Files
|
|
|
678
679
|
# snapshot_id - int64 - ID of the snapshot containing this bundle's contents.
|
|
679
680
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
680
681
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
682
|
+
# watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
681
683
|
def self.create(params = {}, options = {})
|
|
682
684
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
683
685
|
raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params[:paths] and !params[:paths].is_a?(Array)
|
|
@@ -698,6 +700,7 @@ module Files
|
|
|
698
700
|
raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
|
|
699
701
|
raise InvalidParameterError.new("Bad parameter: snapshot_id must be an Integer") if params[:snapshot_id] and !params[:snapshot_id].is_a?(Integer)
|
|
700
702
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
703
|
+
raise InvalidParameterError.new("Bad parameter: watermark_value must be an Hash") if params[:watermark_value] and !params[:watermark_value].is_a?(Hash)
|
|
701
704
|
raise MissingParameterError.new("Parameter missing: paths") unless params[:paths]
|
|
702
705
|
|
|
703
706
|
response, options = Api.send_request("/bundles", :post, params, options)
|
|
@@ -754,6 +757,7 @@ module Files
|
|
|
754
757
|
# user_id - int64 - The owning user id. Only site admins can set this.
|
|
755
758
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
756
759
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
760
|
+
# watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
757
761
|
# workspace_id - int64 - Workspace ID. `0` means the default workspace.
|
|
758
762
|
def self.update(id, params = {}, options = {})
|
|
759
763
|
params ||= {}
|
|
@@ -776,6 +780,7 @@ module Files
|
|
|
776
780
|
raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
|
|
777
781
|
raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
|
|
778
782
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
783
|
+
raise InvalidParameterError.new("Bad parameter: watermark_value must be an Hash") if params[:watermark_value] and !params[:watermark_value].is_a?(Hash)
|
|
779
784
|
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
780
785
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
781
786
|
|
|
@@ -117,6 +117,15 @@ module Files
|
|
|
117
117
|
@attributes[:restapi_permission] = value
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
+
# boolean - If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
121
|
+
def s3_compatible_endpoint_permission
|
|
122
|
+
@attributes[:s3_compatible_endpoint_permission]
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def s3_compatible_endpoint_permission=(value)
|
|
126
|
+
@attributes[:s3_compatible_endpoint_permission] = value
|
|
127
|
+
end
|
|
128
|
+
|
|
120
129
|
# int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
121
130
|
def desktop_configuration_profile_id
|
|
122
131
|
@attributes[:desktop_configuration_profile_id]
|
|
@@ -162,6 +171,7 @@ module Files
|
|
|
162
171
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
163
172
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
164
173
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
174
|
+
# s3_compatible_endpoint_permission - boolean - If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
165
175
|
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
166
176
|
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
167
177
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
@@ -260,6 +270,7 @@ module Files
|
|
|
260
270
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
261
271
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
262
272
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
273
|
+
# s3_compatible_endpoint_permission - boolean - If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
263
274
|
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
264
275
|
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
265
276
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
@@ -290,6 +301,7 @@ module Files
|
|
|
290
301
|
# sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
|
|
291
302
|
# dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
|
|
292
303
|
# restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
|
|
304
|
+
# s3_compatible_endpoint_permission - boolean - If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
|
|
293
305
|
# desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
294
306
|
# integration_centric_profile_id - int64 - Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
|
|
295
307
|
# allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
|
|
@@ -153,7 +153,7 @@ module Files
|
|
|
153
153
|
@attributes[:query_username] = value
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
-
# string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
156
|
+
# string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`
|
|
157
157
|
def query_failure_type
|
|
158
158
|
@attributes[:query_failure_type]
|
|
159
159
|
end
|
|
@@ -285,7 +285,7 @@ module Files
|
|
|
285
285
|
# query_destination - string - Return results that are file moves with paths matching this pattern as destination.
|
|
286
286
|
# query_ip - string - Filter results by this IP address.
|
|
287
287
|
# query_username - string - Filter results by this username.
|
|
288
|
-
# query_failure_type - string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
288
|
+
# query_failure_type - string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`
|
|
289
289
|
# query_target_id - string - If searching for Histories about specific objects (such as Users, or API Keys), this parameter restricts results to objects that match this ID.
|
|
290
290
|
# query_target_name - string - If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
|
|
291
291
|
# query_target_permission - string - If searching for Histories about Permissions, this parameter restricts results to permissions of this level.
|
|
@@ -79,7 +79,7 @@ module Files
|
|
|
79
79
|
@attributes[:action]
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
# string - The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
82
|
+
# string - The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`
|
|
83
83
|
def failure_type
|
|
84
84
|
@attributes[:failure_type]
|
|
85
85
|
end
|
|
@@ -1114,7 +1114,6 @@ module Files
|
|
|
1114
1114
|
# active_sftp_host_key_ids - array(int64) - Ids of the selected custom SFTP Host Keys
|
|
1115
1115
|
# protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
1116
1116
|
# revoke_bundle_access_on_disable_or_delete - boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
1117
|
-
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
1118
1117
|
# group_admins_can_add_users - boolean - Allow group admins to create users in their groups
|
|
1119
1118
|
# group_admins_can_manage_group_memberships - boolean - Allow group admins to add or remove existing users in their groups
|
|
1120
1119
|
# group_admins_can_delete_users - boolean - Allow group admins to delete users in their groups
|
|
@@ -1170,6 +1169,7 @@ module Files
|
|
|
1170
1169
|
# ldap_group_inclusion - string - Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
|
1171
1170
|
# ldap_base_dn - string - Base DN for looking up users in LDAP server
|
|
1172
1171
|
# uploads_via_email_authentication - boolean - Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
|
1172
|
+
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
1173
1173
|
# icon16_file - file
|
|
1174
1174
|
# icon16_delete - boolean - If true, will delete the file stored in icon16
|
|
1175
1175
|
# icon32_file - file
|
|
@@ -1230,7 +1230,6 @@ module Files
|
|
|
1230
1230
|
raise InvalidParameterError.new("Bad parameter: sftp_host_key_type must be an String") if params[:sftp_host_key_type] and !params[:sftp_host_key_type].is_a?(String)
|
|
1231
1231
|
raise InvalidParameterError.new("Bad parameter: active_sftp_host_key_id must be an Integer") if params[:active_sftp_host_key_id] and !params[:active_sftp_host_key_id].is_a?(Integer)
|
|
1232
1232
|
raise InvalidParameterError.new("Bad parameter: active_sftp_host_key_ids must be an Array") if params[:active_sftp_host_key_ids] and !params[:active_sftp_host_key_ids].is_a?(Array)
|
|
1233
|
-
raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params[:bundle_watermark_value] and !params[:bundle_watermark_value].is_a?(Hash)
|
|
1234
1233
|
raise InvalidParameterError.new("Bad parameter: bundle_recipient_blacklist_domains must be an Array") if params[:bundle_recipient_blacklist_domains] and !params[:bundle_recipient_blacklist_domains].is_a?(Array)
|
|
1235
1234
|
raise InvalidParameterError.new("Bad parameter: require_2fa_user_type must be an String") if params[:require_2fa_user_type] and !params[:require_2fa_user_type].is_a?(String)
|
|
1236
1235
|
raise InvalidParameterError.new("Bad parameter: color2_top must be an String") if params[:color2_top] and !params[:color2_top].is_a?(String)
|
|
@@ -1263,6 +1262,7 @@ module Files
|
|
|
1263
1262
|
raise InvalidParameterError.new("Bad parameter: ldap_group_exclusion must be an String") if params[:ldap_group_exclusion] and !params[:ldap_group_exclusion].is_a?(String)
|
|
1264
1263
|
raise InvalidParameterError.new("Bad parameter: ldap_group_inclusion must be an String") if params[:ldap_group_inclusion] and !params[:ldap_group_inclusion].is_a?(String)
|
|
1265
1264
|
raise InvalidParameterError.new("Bad parameter: ldap_base_dn must be an String") if params[:ldap_base_dn] and !params[:ldap_base_dn].is_a?(String)
|
|
1265
|
+
raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params[:bundle_watermark_value] and !params[:bundle_watermark_value].is_a?(Hash)
|
|
1266
1266
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change must be an String") if params[:ldap_password_change] and !params[:ldap_password_change].is_a?(String)
|
|
1267
1267
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change_confirmation must be an String") if params[:ldap_password_change_confirmation] and !params[:ldap_password_change_confirmation].is_a?(String)
|
|
1268
1268
|
raise InvalidParameterError.new("Bad parameter: smtp_password must be an String") if params[:smtp_password] and !params[:smtp_password].is_a?(String)
|
|
@@ -617,6 +617,15 @@ module Files
|
|
|
617
617
|
@attributes[:restapi_permission] = value
|
|
618
618
|
end
|
|
619
619
|
|
|
620
|
+
# boolean - Can the user access the S3-compatible endpoint? Defaults to true.
|
|
621
|
+
def s3_compatible_endpoint_permission
|
|
622
|
+
@attributes[:s3_compatible_endpoint_permission]
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
def s3_compatible_endpoint_permission=(value)
|
|
626
|
+
@attributes[:s3_compatible_endpoint_permission] = value
|
|
627
|
+
end
|
|
628
|
+
|
|
620
629
|
# boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
|
621
630
|
def self_managed
|
|
622
631
|
@attributes[:self_managed]
|
|
@@ -992,6 +1001,7 @@ module Files
|
|
|
992
1001
|
# responsible_group_id - int64 - ID of the internal Group responsible for this Partner User, overriding the Partner default.
|
|
993
1002
|
# responsible_user_id - int64 - ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
994
1003
|
# restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
1004
|
+
# s3_compatible_endpoint_permission - boolean - Can the user access the S3-compatible endpoint? Defaults to true.
|
|
995
1005
|
# self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
|
996
1006
|
# sftp_permission - boolean - Can the user access with SFTP?
|
|
997
1007
|
# site_admin - boolean - Is the user an administrator for this site?
|
|
@@ -1191,6 +1201,7 @@ module Files
|
|
|
1191
1201
|
# responsible_group_id - int64 - ID of the internal Group responsible for this Partner User, overriding the Partner default.
|
|
1192
1202
|
# responsible_user_id - int64 - ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
1193
1203
|
# restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
1204
|
+
# s3_compatible_endpoint_permission - boolean - Can the user access the S3-compatible endpoint? Defaults to true.
|
|
1194
1205
|
# self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
|
1195
1206
|
# sftp_permission - boolean - Can the user access with SFTP?
|
|
1196
1207
|
# site_admin - boolean - Is the user an administrator for this site?
|
|
@@ -1338,6 +1349,7 @@ module Files
|
|
|
1338
1349
|
# responsible_group_id - int64 - ID of the internal Group responsible for this Partner User, overriding the Partner default.
|
|
1339
1350
|
# responsible_user_id - int64 - ID of the internal User responsible for this Partner User, overriding the Partner default.
|
|
1340
1351
|
# restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
|
1352
|
+
# s3_compatible_endpoint_permission - boolean - Can the user access the S3-compatible endpoint? Defaults to true.
|
|
1341
1353
|
# self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
|
1342
1354
|
# sftp_permission - boolean - Can the user access with SFTP?
|
|
1343
1355
|
# site_admin - boolean - Is the user an administrator for this site?
|
data/lib/files.com/version.rb
CHANGED