files.com 1.1.712 → 1.1.714
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/automation_run.md +2 -0
- data/docs/sftp_host_key.md +10 -0
- data/docs/site.md +6 -0
- data/lib/files.com/models/automation_run.rb +5 -0
- data/lib/files.com/models/sftp_host_key.rb +21 -0
- data/lib/files.com/models/site.rb +7 -0
- 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: 33d1443f459a2b691dad9c0f2b4da0cdbb46a3e21fda708f2bf95b4000da958b
|
|
4
|
+
data.tar.gz: 79f52dff494aa273916233dae51dbe4ac19aa52ae77acb15184c61ecd5eec9ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c2e2787fb12a251c3df389452711771a04d6376d6e688ce10f0a78639586299c38433a085f6bc57c3479264ebd54ec4ddab24a08213ab4dfb14c9cbad9e9f58
|
|
7
|
+
data.tar.gz: 4f927c7295c7314d18f911115c67985cac612d0fbb7aa7545f88be0710303f2b5d74abe097d90f4dc23d936e9b146fe4333c37636704bdb9c4eed7f1dd701621
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.714
|
data/docs/automation_run.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"automation_id": 1,
|
|
9
9
|
"automation_version_id": 1,
|
|
10
|
+
"version": 1,
|
|
10
11
|
"workspace_id": 1,
|
|
11
12
|
"cancel_requested_at": "2000-01-01T01:00:00Z",
|
|
12
13
|
"completed_at": "2000-01-01T01:00:00Z",
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
* `id` (int64): ID.
|
|
52
53
|
* `automation_id` (int64): ID of the associated Automation.
|
|
53
54
|
* `automation_version_id` (int64): ID of the immutable Automation version pinned by this run.
|
|
55
|
+
* `version` (int64): Pinned Automation v2 definition version.
|
|
54
56
|
* `workspace_id` (int64): Workspace ID.
|
|
55
57
|
* `cancel_requested_at` (date-time): Date/time at which cancellation was requested.
|
|
56
58
|
* `completed_at` (date-time): Automation run completion/failure date/time.
|
data/docs/sftp_host_key.md
CHANGED
|
@@ -4,15 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
|
+
"active": true,
|
|
7
8
|
"id": 1,
|
|
8
9
|
"name": "My Key",
|
|
10
|
+
"key_type": "ssh-rsa",
|
|
9
11
|
"fingerprint_md5": "12:7e:f8:61:78:a4:b2:c2:ee:12:51:92:25:a7:42:cc",
|
|
10
12
|
"fingerprint_sha256": "SHA256:5ANRkDpXWA+PgOquzZAG9RtQ1Bt8KXYAH2hecr7LQk8"
|
|
11
13
|
}
|
|
12
14
|
```
|
|
13
15
|
|
|
16
|
+
* `active` (boolean): If true, use this SFTP Host Key.
|
|
14
17
|
* `id` (int64): SFTP Host Key ID
|
|
15
18
|
* `name` (string): The friendly name of this SFTP Host Key.
|
|
19
|
+
* `key_type` (string): SSH key type
|
|
16
20
|
* `fingerprint_md5` (string): MD5 Fingerprint of the public key
|
|
17
21
|
* `fingerprint_sha256` (string): SHA256 Fingerprint of the public key
|
|
18
22
|
* `private_key` (string): The private key data.
|
|
@@ -51,12 +55,14 @@ Files::SftpHostKey.find(id)
|
|
|
51
55
|
|
|
52
56
|
```
|
|
53
57
|
Files::SftpHostKey.create(
|
|
58
|
+
active: true,
|
|
54
59
|
name: "My Key"
|
|
55
60
|
)
|
|
56
61
|
```
|
|
57
62
|
|
|
58
63
|
### Parameters
|
|
59
64
|
|
|
65
|
+
* `active` (boolean): If true, use this SFTP Host Key.
|
|
60
66
|
* `name` (string): The friendly name of this SFTP Host Key.
|
|
61
67
|
* `private_key` (string): The private key data.
|
|
62
68
|
|
|
@@ -67,6 +73,7 @@ Files::SftpHostKey.create(
|
|
|
67
73
|
|
|
68
74
|
```
|
|
69
75
|
Files::SftpHostKey.update(id,
|
|
76
|
+
active: true,
|
|
70
77
|
name: "My Key"
|
|
71
78
|
)
|
|
72
79
|
```
|
|
@@ -74,6 +81,7 @@ Files::SftpHostKey.update(id,
|
|
|
74
81
|
### Parameters
|
|
75
82
|
|
|
76
83
|
* `id` (int64): Required - Sftp Host Key ID.
|
|
84
|
+
* `active` (boolean): If true, use this SFTP Host Key.
|
|
77
85
|
* `name` (string): The friendly name of this SFTP Host Key.
|
|
78
86
|
* `private_key` (string): The private key data.
|
|
79
87
|
|
|
@@ -99,6 +107,7 @@ Files::SftpHostKey.delete(id)
|
|
|
99
107
|
sftp_host_key = Files::SftpHostKey.find(id)
|
|
100
108
|
|
|
101
109
|
sftp_host_key.update(
|
|
110
|
+
active: true,
|
|
102
111
|
name: "My Key"
|
|
103
112
|
)
|
|
104
113
|
```
|
|
@@ -106,6 +115,7 @@ sftp_host_key.update(
|
|
|
106
115
|
### Parameters
|
|
107
116
|
|
|
108
117
|
* `id` (int64): Required - Sftp Host Key ID.
|
|
118
|
+
* `active` (boolean): If true, use this SFTP Host Key.
|
|
109
119
|
* `name` (string): The friendly name of this SFTP Host Key.
|
|
110
120
|
* `private_key` (string): The private key data.
|
|
111
121
|
|
data/docs/site.md
CHANGED
|
@@ -225,6 +225,9 @@
|
|
|
225
225
|
"sftp_finalize_partial_uploads": true,
|
|
226
226
|
"sftp_host_key_type": "default",
|
|
227
227
|
"active_sftp_host_key_id": 1,
|
|
228
|
+
"active_sftp_host_key_ids": [
|
|
229
|
+
1
|
|
230
|
+
],
|
|
228
231
|
"sftp_insecure_ciphers": false,
|
|
229
232
|
"sftp_insecure_diffie_hellman": false,
|
|
230
233
|
"sftp_user_root_enabled": false,
|
|
@@ -515,6 +518,7 @@
|
|
|
515
518
|
* `sftp_finalize_partial_uploads` (boolean): Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
516
519
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
|
517
520
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
|
521
|
+
* `active_sftp_host_key_ids` (array(int64)): Ids of the selected custom SFTP Host Keys
|
|
518
522
|
* `sftp_insecure_ciphers` (boolean): If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
519
523
|
* `sftp_insecure_diffie_hellman` (boolean): If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
|
|
520
524
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
|
@@ -692,6 +696,7 @@ Files::Site.update(
|
|
|
692
696
|
show_user_notifications_log_in_link: false,
|
|
693
697
|
sftp_host_key_type: "default",
|
|
694
698
|
active_sftp_host_key_id: 1,
|
|
699
|
+
active_sftp_host_key_ids: [1],
|
|
695
700
|
protocol_access_groups_only: false,
|
|
696
701
|
revoke_bundle_access_on_disable_or_delete: false,
|
|
697
702
|
bundle_watermark_value: {"key":"example value"},
|
|
@@ -875,6 +880,7 @@ Files::Site.update(
|
|
|
875
880
|
* `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
|
|
876
881
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
|
877
882
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
|
883
|
+
* `active_sftp_host_key_ids` (array(int64)): Ids of the selected custom SFTP Host Keys
|
|
878
884
|
* `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.
|
|
879
885
|
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
880
886
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
@@ -9,6 +9,15 @@ module Files
|
|
|
9
9
|
@options = options || {}
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
# boolean - If true, use this SFTP Host Key.
|
|
13
|
+
def active
|
|
14
|
+
@attributes[:active]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def active=(value)
|
|
18
|
+
@attributes[:active] = value
|
|
19
|
+
end
|
|
20
|
+
|
|
12
21
|
# int64 - SFTP Host Key ID
|
|
13
22
|
def id
|
|
14
23
|
@attributes[:id]
|
|
@@ -27,6 +36,15 @@ module Files
|
|
|
27
36
|
@attributes[:name] = value
|
|
28
37
|
end
|
|
29
38
|
|
|
39
|
+
# string - SSH key type
|
|
40
|
+
def key_type
|
|
41
|
+
@attributes[:key_type]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def key_type=(value)
|
|
45
|
+
@attributes[:key_type] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
30
48
|
# string - MD5 Fingerprint of the public key
|
|
31
49
|
def fingerprint_md5
|
|
32
50
|
@attributes[:fingerprint_md5]
|
|
@@ -55,6 +73,7 @@ module Files
|
|
|
55
73
|
end
|
|
56
74
|
|
|
57
75
|
# Parameters:
|
|
76
|
+
# active - boolean - If true, use this SFTP Host Key.
|
|
58
77
|
# name - string - The friendly name of this SFTP Host Key.
|
|
59
78
|
# private_key - string - The private key data.
|
|
60
79
|
def update(params = {})
|
|
@@ -128,6 +147,7 @@ module Files
|
|
|
128
147
|
end
|
|
129
148
|
|
|
130
149
|
# Parameters:
|
|
150
|
+
# active - boolean - If true, use this SFTP Host Key.
|
|
131
151
|
# name - string - The friendly name of this SFTP Host Key.
|
|
132
152
|
# private_key - string - The private key data.
|
|
133
153
|
def self.create(params = {}, options = {})
|
|
@@ -139,6 +159,7 @@ module Files
|
|
|
139
159
|
end
|
|
140
160
|
|
|
141
161
|
# Parameters:
|
|
162
|
+
# active - boolean - If true, use this SFTP Host Key.
|
|
142
163
|
# name - string - The friendly name of this SFTP Host Key.
|
|
143
164
|
# private_key - string - The private key data.
|
|
144
165
|
def self.update(id, params = {}, options = {})
|
|
@@ -779,6 +779,11 @@ module Files
|
|
|
779
779
|
@attributes[:active_sftp_host_key_id]
|
|
780
780
|
end
|
|
781
781
|
|
|
782
|
+
# array(int64) - Ids of the selected custom SFTP Host Keys
|
|
783
|
+
def active_sftp_host_key_ids
|
|
784
|
+
@attributes[:active_sftp_host_key_ids]
|
|
785
|
+
end
|
|
786
|
+
|
|
782
787
|
# boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
783
788
|
def sftp_insecure_ciphers
|
|
784
789
|
@attributes[:sftp_insecure_ciphers]
|
|
@@ -1106,6 +1111,7 @@ module Files
|
|
|
1106
1111
|
# show_user_notifications_log_in_link - boolean - Show log in link in user notifications?
|
|
1107
1112
|
# sftp_host_key_type - string - Sftp Host Key Type
|
|
1108
1113
|
# active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
|
1114
|
+
# active_sftp_host_key_ids - array(int64) - Ids of the selected custom SFTP Host Keys
|
|
1109
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.
|
|
1110
1116
|
# revoke_bundle_access_on_disable_or_delete - boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
1111
1117
|
# bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
@@ -1223,6 +1229,7 @@ module Files
|
|
|
1223
1229
|
raise InvalidParameterError.new("Bad parameter: bundle_upload_receipt_notifications must be an String") if params[:bundle_upload_receipt_notifications] and !params[:bundle_upload_receipt_notifications].is_a?(String)
|
|
1224
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)
|
|
1225
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
|
+
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)
|
|
1226
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)
|
|
1227
1234
|
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)
|
|
1228
1235
|
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)
|
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.714
|
|
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-08-
|
|
11
|
+
date: 2026-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|