files.com 1.0.368 → 1.0.370
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_result.md +3 -1
- data/docs/site.md +1 -0
- data/docs/user.md +2 -0
- data/lib/files.com/models/history_export_result.rb +6 -1
- data/lib/files.com/models/user.rb +9 -0
- 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: 0d2fe78953773ed28ca9092c5ac4bd98424cebe39719349b2f8da32498e9f3f3
|
4
|
+
data.tar.gz: 2497dc7f393eabfc34bc3a85a6c3678960e663db780d75cb0e0116701e620cef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbba291e41dccd38391815dbf7393c5e5c3d891f32c0dec1accb9d7d0137471fdf8c1284e48ad9594388bd48f261f8781cf13c74c57df7214dcf5b09afba3849
|
7
|
+
data.tar.gz: ca21c9b79c0ef2a434b983cccd1aeae9a0d7afd0524a7dec8ffa2820952f9770d6edc8622418afa24f956d8765635343c27553703c398bc881b5adf5127b330d
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.370
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"target_permission": "full",
|
25
25
|
"target_recursive": true,
|
26
26
|
"target_expires_at": 1,
|
27
|
+
"target_expires_at_iso8601": "example",
|
27
28
|
"target_permission_set": "desktop_app",
|
28
29
|
"target_platform": "windows",
|
29
30
|
"target_username": "jerry",
|
@@ -50,7 +51,8 @@
|
|
50
51
|
* `target_name` (string): Name of the User, Group or other object with a name related to this action
|
51
52
|
* `target_permission` (string): Permission level of the action
|
52
53
|
* `target_recursive` (boolean): Whether or not the action was recursive
|
53
|
-
* `target_expires_at` (int64): If searching for Histories about API keys, this is when the API key will expire
|
54
|
+
* `target_expires_at` (int64): If searching for Histories about API keys, this is when the API key will expire. Represented as a Unix timestamp.
|
55
|
+
* `target_expires_at_iso8601` (string): If searching for Histories about API keys, this is when the API key will expire. Represented in ISO8601 format.
|
54
56
|
* `target_permission_set` (string): If searching for Histories about API keys, this represents the permission set of the associated API key
|
55
57
|
* `target_platform` (string): If searching for Histories about API keys, this is the platform on which the action was taken
|
56
58
|
* `target_username` (string): If searching for Histories about API keys, this is the username on which the action was taken
|
data/docs/site.md
CHANGED
data/docs/user.md
CHANGED
@@ -48,6 +48,7 @@
|
|
48
48
|
"public_keys_count": 1,
|
49
49
|
"receive_admin_alerts": true,
|
50
50
|
"require_2fa": "always_require",
|
51
|
+
"require_login_by": "2000-01-01T01:00:00Z",
|
51
52
|
"active_2fa": true,
|
52
53
|
"require_password_change": true,
|
53
54
|
"password_expired": true,
|
@@ -110,6 +111,7 @@
|
|
110
111
|
* `public_keys_count` (int64): Number of public keys associated with this user
|
111
112
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
112
113
|
* `require_2fa` (string): 2FA required setting
|
114
|
+
* `require_login_by` (date-time): Require user to login by specified date otherwise it will be disabled.
|
113
115
|
* `active_2fa` (boolean): Is 2fa active for the user?
|
114
116
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
115
117
|
* `password_expired` (boolean): Is user's password expired?
|
@@ -104,11 +104,16 @@ module Files
|
|
104
104
|
@attributes[:target_recursive]
|
105
105
|
end
|
106
106
|
|
107
|
-
# int64 - If searching for Histories about API keys, this is when the API key will expire
|
107
|
+
# int64 - If searching for Histories about API keys, this is when the API key will expire. Represented as a Unix timestamp.
|
108
108
|
def target_expires_at
|
109
109
|
@attributes[:target_expires_at]
|
110
110
|
end
|
111
111
|
|
112
|
+
# string - If searching for Histories about API keys, this is when the API key will expire. Represented in ISO8601 format.
|
113
|
+
def target_expires_at_iso8601
|
114
|
+
@attributes[:target_expires_at_iso8601]
|
115
|
+
end
|
116
|
+
|
112
117
|
# string - If searching for Histories about API keys, this represents the permission set of the associated API key
|
113
118
|
def target_permission_set
|
114
119
|
@attributes[:target_permission_set]
|
@@ -383,6 +383,15 @@ module Files
|
|
383
383
|
@attributes[:require_2fa] = value
|
384
384
|
end
|
385
385
|
|
386
|
+
# date-time - Require user to login by specified date otherwise it will be disabled.
|
387
|
+
def require_login_by
|
388
|
+
@attributes[:require_login_by]
|
389
|
+
end
|
390
|
+
|
391
|
+
def require_login_by=(value)
|
392
|
+
@attributes[:require_login_by] = value
|
393
|
+
end
|
394
|
+
|
386
395
|
# boolean - Is 2fa active for the user?
|
387
396
|
def active_2fa
|
388
397
|
@attributes[:active_2fa]
|
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.370
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|