files.com 1.0.25 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/history_export.md +4 -4
- data/lib/files.com/models/history_export.rb +6 -6
- 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: 7709e4f414eb10e7dd04880d7601597b146bd3f37889da91107bffe83f8240e4
|
4
|
+
data.tar.gz: b24c3bad0c628f1d71b086f46687656d72e02bba907fa53eac32a2d91f09c3aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5324ac80f91a4d85cf407d5c1f9a5c4331ef362fb399e65524449dddf645bade19d3b984efeecbc16777b32b5d0275d1d1465cad584fa3d4204e98c12e80d347
|
7
|
+
data.tar.gz: e9b2b7ddb6d2683d2e087dd4ebe18b609be7ef90742932d8ad123467bf7ef55c9debcd80e928bbbd676bd1ddc228cccf4f52bf45c75a91ca7769736b5c1dcf45
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.26
|
data/docs/history_export.md
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
"query_destination": "DestFolder",
|
20
20
|
"query_ip": "127.0.0.1",
|
21
21
|
"query_username": "jerry",
|
22
|
-
"
|
22
|
+
"query_failure_type": "bad_password",
|
23
23
|
"query_target_id": 1,
|
24
24
|
"query_target_name": "full",
|
25
25
|
"query_target_permission": "full",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
* `query_destination` (string): Return results that are file moves with this path as destination.
|
46
46
|
* `query_ip` (string): Filter results by this IP address.
|
47
47
|
* `query_username` (string): Filter results by this username.
|
48
|
-
* `
|
48
|
+
* `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`
|
49
49
|
* `query_target_id` (int64): If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
|
50
50
|
* `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.
|
51
51
|
* `query_target_permission` (string): If searching for Histories about Permisisons, this parameter restricts results to permissions of this level.
|
@@ -109,7 +109,7 @@ Files::HistoryExport.create(
|
|
109
109
|
query_destination: "DestFolder",
|
110
110
|
query_ip: "127.0.0.1",
|
111
111
|
query_username: "jerry",
|
112
|
-
|
112
|
+
query_failure_type: "bad_password",
|
113
113
|
query_target_id: 1,
|
114
114
|
query_target_name: "full",
|
115
115
|
query_target_permission: "full",
|
@@ -136,7 +136,7 @@ Files::HistoryExport.create(
|
|
136
136
|
* `query_destination` (string): Return results that are file moves with this path as destination.
|
137
137
|
* `query_ip` (string): Filter results by this IP address.
|
138
138
|
* `query_username` (string): Filter results by this username.
|
139
|
-
* `
|
139
|
+
* `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`
|
140
140
|
* `query_target_id` (int64): If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
|
141
141
|
* `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.
|
142
142
|
* `query_target_permission` (string): If searching for Histories about Permisisons, this parameter restricts results to permissions of this level.
|
@@ -145,12 +145,12 @@ module Files
|
|
145
145
|
end
|
146
146
|
|
147
147
|
# 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`
|
148
|
-
def
|
149
|
-
@attributes[:
|
148
|
+
def query_failure_type
|
149
|
+
@attributes[:query_failure_type]
|
150
150
|
end
|
151
151
|
|
152
|
-
def
|
153
|
-
@attributes[:
|
152
|
+
def query_failure_type=(value)
|
153
|
+
@attributes[:query_failure_type] = value
|
154
154
|
end
|
155
155
|
|
156
156
|
# int64 - If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
|
@@ -298,7 +298,7 @@ module Files
|
|
298
298
|
# query_destination - string - Return results that are file moves with this path as destination.
|
299
299
|
# query_ip - string - Filter results by this IP address.
|
300
300
|
# query_username - string - Filter results by this username.
|
301
|
-
#
|
301
|
+
# 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`
|
302
302
|
# query_target_id - integer - If searching for Histories about specific objects (such as Users, or API Keys), this paremeter restricts results to objects that match this ID.
|
303
303
|
# 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.
|
304
304
|
# query_target_permission - string - If searching for Histories about Permisisons, this parameter restricts results to permissions of this level.
|
@@ -321,7 +321,7 @@ module Files
|
|
321
321
|
raise InvalidParameterError.new("Bad parameter: query_destination must be an String") if params.dig(:query_destination) and !params.dig(:query_destination).is_a?(String)
|
322
322
|
raise InvalidParameterError.new("Bad parameter: query_ip must be an String") if params.dig(:query_ip) and !params.dig(:query_ip).is_a?(String)
|
323
323
|
raise InvalidParameterError.new("Bad parameter: query_username must be an String") if params.dig(:query_username) and !params.dig(:query_username).is_a?(String)
|
324
|
-
raise InvalidParameterError.new("Bad parameter:
|
324
|
+
raise InvalidParameterError.new("Bad parameter: query_failure_type must be an String") if params.dig(:query_failure_type) and !params.dig(:query_failure_type).is_a?(String)
|
325
325
|
raise InvalidParameterError.new("Bad parameter: query_target_id must be an Integer") if params.dig(:query_target_id) and !params.dig(:query_target_id).is_a?(Integer)
|
326
326
|
raise InvalidParameterError.new("Bad parameter: query_target_name must be an String") if params.dig(:query_target_name) and !params.dig(:query_target_name).is_a?(String)
|
327
327
|
raise InvalidParameterError.new("Bad parameter: query_target_permission must be an String") if params.dig(:query_target_permission) and !params.dig(:query_target_permission).is_a?(String)
|
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.0.
|
4
|
+
version: 1.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|