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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c150e495c54507dd6a4648cf667df66a51bcbe3adefd3d4749e7ee1314560400
4
- data.tar.gz: 9b331947426923a15b9624adcd6ffafbb7562c7b9844ff634a887db58f9d8730
3
+ metadata.gz: 0d2fe78953773ed28ca9092c5ac4bd98424cebe39719349b2f8da32498e9f3f3
4
+ data.tar.gz: 2497dc7f393eabfc34bc3a85a6c3678960e663db780d75cb0e0116701e620cef
5
5
  SHA512:
6
- metadata.gz: 5aefaf13d849dc255e7d6d0fa1f05d47c23539db8370223408c77da730f50a798b14cc992ada6eb85a42ba9898337edf44d4226d0ade9dbe1ea8abe8ef148af2
7
- data.tar.gz: f6868cbc9f2ecca5f426968bf9c650c476fc6aaa2e14a8f82dc1c9b6d8d1660dddd139896e30e790cb1b07eed4a06337b13775fb235af42dfa63e8f3999684fa
6
+ metadata.gz: cbba291e41dccd38391815dbf7393c5e5c3d891f32c0dec1accb9d7d0137471fdf8c1284e48ad9594388bd48f261f8781cf13c74c57df7214dcf5b09afba3849
7
+ data.tar.gz: ca21c9b79c0ef2a434b983cccd1aeae9a0d7afd0524a7dec8ffa2820952f9770d6edc8622418afa24f956d8765635343c27553703c398bc881b5adf5127b330d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.368
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
@@ -185,6 +185,7 @@
185
185
  "public_keys_count": 1,
186
186
  "receive_admin_alerts": true,
187
187
  "require_2fa": "always_require",
188
+ "require_login_by": "2000-01-01T01:00:00Z",
188
189
  "active_2fa": true,
189
190
  "require_password_change": true,
190
191
  "password_expired": true,
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.368
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-12 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable