akeyless 5.0.23 → 5.0.24

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.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -5
  3. data/docs/AgenticRule.md +20 -0
  4. data/docs/AgenticRules.md +20 -0
  5. data/docs/CreateRole.md +2 -0
  6. data/docs/CreateUSC.md +5 -1
  7. data/docs/DSProducerDetails.md +2 -0
  8. data/docs/DeleteRoleRule.md +1 -1
  9. data/docs/EsmListSecretsOutput.md +2 -0
  10. data/docs/GatewayMigrationCreateOutput.md +2 -0
  11. data/docs/ItemGeneralInfo.md +2 -0
  12. data/docs/ListItems.md +2 -0
  13. data/docs/RuntimeAuthorityCommand.md +28 -0
  14. data/docs/SetDefaultProfile.md +20 -0
  15. data/docs/SetDefaultProfileOutput.md +18 -0
  16. data/docs/SetRoleRule.md +1 -1
  17. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  18. data/docs/Target.md +2 -0
  19. data/docs/TargetCreateArtifactory.md +2 -0
  20. data/docs/TargetCreateAws.md +2 -0
  21. data/docs/TargetCreateAzure.md +2 -0
  22. data/docs/TargetCreateDB.md +2 -0
  23. data/docs/TargetCreateDigiCert.md +2 -0
  24. data/docs/TargetCreateDockerhub.md +2 -0
  25. data/docs/TargetCreateEks.md +2 -0
  26. data/docs/TargetCreateGcp.md +2 -0
  27. data/docs/TargetCreateGemini.md +2 -0
  28. data/docs/TargetCreateGithub.md +2 -0
  29. data/docs/TargetCreateGitlab.md +2 -0
  30. data/docs/TargetCreateGke.md +2 -0
  31. data/docs/TargetCreateGlobalSign.md +2 -0
  32. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  33. data/docs/TargetCreateGodaddy.md +2 -0
  34. data/docs/TargetCreateGoogleTrust.md +2 -0
  35. data/docs/TargetCreateHashiVault.md +2 -0
  36. data/docs/TargetCreateK8s.md +2 -0
  37. data/docs/TargetCreateLdap.md +2 -0
  38. data/docs/TargetCreateLetsEncrypt.md +2 -0
  39. data/docs/TargetCreateLinked.md +2 -0
  40. data/docs/TargetCreateOpenAI.md +2 -0
  41. data/docs/TargetCreatePing.md +2 -0
  42. data/docs/TargetCreateRabbitMq.md +2 -0
  43. data/docs/TargetCreateSalesforce.md +2 -0
  44. data/docs/TargetCreateSectigo.md +2 -0
  45. data/docs/TargetCreateSplunk.md +2 -0
  46. data/docs/TargetCreateSsh.md +2 -0
  47. data/docs/TargetCreateWeb.md +2 -0
  48. data/docs/TargetCreateWindows.md +2 -0
  49. data/docs/TargetCreateZeroSSL.md +2 -0
  50. data/docs/TargetUpdateArtifactory.md +2 -0
  51. data/docs/TargetUpdateAws.md +2 -0
  52. data/docs/TargetUpdateAzure.md +2 -0
  53. data/docs/TargetUpdateDB.md +2 -0
  54. data/docs/TargetUpdateDockerhub.md +2 -0
  55. data/docs/TargetUpdateEks.md +2 -0
  56. data/docs/TargetUpdateGcp.md +2 -0
  57. data/docs/TargetUpdateGemini.md +2 -0
  58. data/docs/TargetUpdateGithub.md +2 -0
  59. data/docs/TargetUpdateGitlab.md +2 -0
  60. data/docs/TargetUpdateGke.md +2 -0
  61. data/docs/TargetUpdateGlobalSign.md +2 -0
  62. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  63. data/docs/TargetUpdateGodaddy.md +2 -0
  64. data/docs/TargetUpdateGoogleTrust.md +2 -0
  65. data/docs/TargetUpdateHashiVault.md +2 -0
  66. data/docs/TargetUpdateK8s.md +2 -0
  67. data/docs/TargetUpdateLdap.md +2 -0
  68. data/docs/TargetUpdateLetsEncrypt.md +2 -0
  69. data/docs/TargetUpdateOpenAI.md +2 -0
  70. data/docs/TargetUpdatePing.md +2 -0
  71. data/docs/TargetUpdateRabbitMq.md +2 -0
  72. data/docs/TargetUpdateSalesforce.md +2 -0
  73. data/docs/TargetUpdateSectigo.md +2 -0
  74. data/docs/TargetUpdateSsh.md +2 -0
  75. data/docs/TargetUpdateWeb.md +2 -0
  76. data/docs/TargetUpdateWindows.md +2 -0
  77. data/docs/TargetUpdateZeroSSL.md +2 -0
  78. data/docs/UpdateItem.md +5 -1
  79. data/docs/UpdateRole.md +2 -0
  80. data/docs/UpdateTarget.md +2 -0
  81. data/docs/UscList.md +4 -0
  82. data/docs/UscListSecretsOutput.md +2 -0
  83. data/docs/V2Api.md +66 -4
  84. data/lib/akeyless/api/v2_api.rb +68 -4
  85. data/lib/akeyless/models/agentic_rule.rb +223 -0
  86. data/lib/akeyless/models/agentic_rules.rb +227 -0
  87. data/lib/akeyless/models/create_role.rb +11 -1
  88. data/lib/akeyless/models/create_usc.rb +24 -4
  89. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  90. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  91. data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
  92. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  93. data/lib/akeyless/models/item_general_info.rb +10 -1
  94. data/lib/akeyless/models/list_items.rb +13 -1
  95. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  96. data/lib/akeyless/models/set_default_profile.rb +234 -0
  97. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  98. data/lib/akeyless/models/set_role_rule.rb +1 -1
  99. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  100. data/lib/akeyless/models/target.rb +10 -1
  101. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  102. data/lib/akeyless/models/target_create_aws.rb +11 -1
  103. data/lib/akeyless/models/target_create_azure.rb +11 -1
  104. data/lib/akeyless/models/target_create_db.rb +11 -1
  105. data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
  106. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  107. data/lib/akeyless/models/target_create_eks.rb +11 -1
  108. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  109. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  110. data/lib/akeyless/models/target_create_github.rb +11 -1
  111. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  112. data/lib/akeyless/models/target_create_gke.rb +11 -1
  113. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  114. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  115. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  116. data/lib/akeyless/models/target_create_google_trust.rb +11 -1
  117. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  118. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  119. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  120. data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
  121. data/lib/akeyless/models/target_create_linked.rb +11 -1
  122. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  123. data/lib/akeyless/models/target_create_ping.rb +11 -1
  124. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  125. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  126. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  127. data/lib/akeyless/models/target_create_splunk.rb +11 -1
  128. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  129. data/lib/akeyless/models/target_create_web.rb +11 -1
  130. data/lib/akeyless/models/target_create_windows.rb +11 -1
  131. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  132. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  133. data/lib/akeyless/models/target_update_aws.rb +11 -1
  134. data/lib/akeyless/models/target_update_azure.rb +11 -1
  135. data/lib/akeyless/models/target_update_db.rb +11 -1
  136. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  137. data/lib/akeyless/models/target_update_eks.rb +11 -1
  138. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  139. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  140. data/lib/akeyless/models/target_update_github.rb +11 -1
  141. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  142. data/lib/akeyless/models/target_update_gke.rb +11 -1
  143. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  144. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  145. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  146. data/lib/akeyless/models/target_update_google_trust.rb +11 -1
  147. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  148. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  149. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  150. data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
  151. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  152. data/lib/akeyless/models/target_update_ping.rb +11 -1
  153. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  154. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  155. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  156. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  157. data/lib/akeyless/models/target_update_web.rb +11 -1
  158. data/lib/akeyless/models/target_update_windows.rb +11 -1
  159. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  160. data/lib/akeyless/models/update_item.rb +24 -4
  161. data/lib/akeyless/models/update_role.rb +11 -1
  162. data/lib/akeyless/models/update_target.rb +11 -1
  163. data/lib/akeyless/models/usc_list.rb +21 -1
  164. data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
  165. data/lib/akeyless/version.rb +1 -1
  166. data/lib/akeyless.rb +5 -0
  167. data/spec/models/agentic_rule_spec.rb +42 -0
  168. data/spec/models/agentic_rules_spec.rb +42 -0
  169. data/spec/models/runtime_authority_command_spec.rb +66 -0
  170. data/spec/models/set_default_profile_output_spec.rb +36 -0
  171. data/spec/models/set_default_profile_spec.rb +42 -0
  172. metadata +22 -2
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Customer Uri of the Sectigo account
23
23
  attr_accessor :customer_uri
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -69,6 +72,7 @@ module Akeyless
69
72
  {
70
73
  :'certificate_profile_id' => :'certificate-profile-id',
71
74
  :'customer_uri' => :'customer-uri',
75
+ :'delete_protection' => :'delete_protection',
72
76
  :'description' => :'description',
73
77
  :'external_requester' => :'external-requester',
74
78
  :'json' => :'json',
@@ -96,6 +100,7 @@ module Akeyless
96
100
  {
97
101
  :'certificate_profile_id' => :'Integer',
98
102
  :'customer_uri' => :'String',
103
+ :'delete_protection' => :'String',
99
104
  :'description' => :'String',
100
105
  :'external_requester' => :'String',
101
106
  :'json' => :'Boolean',
@@ -146,6 +151,10 @@ module Akeyless
146
151
  self.customer_uri = nil
147
152
  end
148
153
 
154
+ if attributes.key?(:'delete_protection')
155
+ self.delete_protection = attributes[:'delete_protection']
156
+ end
157
+
149
158
  if attributes.key?(:'description')
150
159
  self.description = attributes[:'description']
151
160
  end
@@ -274,6 +283,7 @@ module Akeyless
274
283
  self.class == o.class &&
275
284
  certificate_profile_id == o.certificate_profile_id &&
276
285
  customer_uri == o.customer_uri &&
286
+ delete_protection == o.delete_protection &&
277
287
  description == o.description &&
278
288
  external_requester == o.external_requester &&
279
289
  json == o.json &&
@@ -299,7 +309,7 @@ module Akeyless
299
309
  # Calculates hash code according to all attributes.
300
310
  # @return [Integer] Hash code
301
311
  def hash
302
- [certificate_profile_id, customer_uri, description, external_requester, json, keep_prev_version, key, max_versions, name, new_name, organization_id, password, timeout, token, uid_token, username].hash
312
+ [certificate_profile_id, customer_uri, delete_protection, description, external_requester, json, keep_prev_version, key, max_versions, name, new_name, organization_id, password, timeout, token, uid_token, username].hash
303
313
  end
304
314
 
305
315
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateSsh is a command that updates an existing ssh target
18
18
  class TargetUpdateSsh
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -64,6 +67,7 @@ module Akeyless
64
67
  # Attribute mapping from ruby-style variable name to JSON key.
65
68
  def self.attribute_map
66
69
  {
70
+ :'delete_protection' => :'delete_protection',
67
71
  :'description' => :'description',
68
72
  :'host' => :'host',
69
73
  :'json' => :'json',
@@ -90,6 +94,7 @@ module Akeyless
90
94
  # Attribute type mapping.
91
95
  def self.openapi_types
92
96
  {
97
+ :'delete_protection' => :'String',
93
98
  :'description' => :'String',
94
99
  :'host' => :'String',
95
100
  :'json' => :'Boolean',
@@ -129,6 +134,10 @@ module Akeyless
129
134
  h[k.to_sym] = v
130
135
  }
131
136
 
137
+ if attributes.key?(:'delete_protection')
138
+ self.delete_protection = attributes[:'delete_protection']
139
+ end
140
+
132
141
  if attributes.key?(:'description')
133
142
  self.description = attributes[:'description']
134
143
  end
@@ -221,6 +230,7 @@ module Akeyless
221
230
  def ==(o)
222
231
  return true if self.equal?(o)
223
232
  self.class == o.class &&
233
+ delete_protection == o.delete_protection &&
224
234
  description == o.description &&
225
235
  host == o.host &&
226
236
  json == o.json &&
@@ -247,7 +257,7 @@ module Akeyless
247
257
  # Calculates hash code according to all attributes.
248
258
  # @return [Integer] Hash code
249
259
  def hash
250
- [description, host, json, keep_prev_version, key, max_versions, name, new_name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
260
+ [delete_protection, description, host, json, keep_prev_version, key, max_versions, name, new_name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
251
261
  end
252
262
 
253
263
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateWeb is a command that updates an existing web target
18
18
  class TargetUpdateWeb
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -49,6 +52,7 @@ module Akeyless
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'delete_protection' => :'delete_protection',
52
56
  :'description' => :'description',
53
57
  :'json' => :'json',
54
58
  :'keep_prev_version' => :'keep-prev-version',
@@ -70,6 +74,7 @@ module Akeyless
70
74
  # Attribute type mapping.
71
75
  def self.openapi_types
72
76
  {
77
+ :'delete_protection' => :'String',
73
78
  :'description' => :'String',
74
79
  :'json' => :'Boolean',
75
80
  :'keep_prev_version' => :'String',
@@ -104,6 +109,10 @@ module Akeyless
104
109
  h[k.to_sym] = v
105
110
  }
106
111
 
112
+ if attributes.key?(:'delete_protection')
113
+ self.delete_protection = attributes[:'delete_protection']
114
+ end
115
+
107
116
  if attributes.key?(:'description')
108
117
  self.description = attributes[:'description']
109
118
  end
@@ -174,6 +183,7 @@ module Akeyless
174
183
  def ==(o)
175
184
  return true if self.equal?(o)
176
185
  self.class == o.class &&
186
+ delete_protection == o.delete_protection &&
177
187
  description == o.description &&
178
188
  json == o.json &&
179
189
  keep_prev_version == o.keep_prev_version &&
@@ -195,7 +205,7 @@ module Akeyless
195
205
  # Calculates hash code according to all attributes.
196
206
  # @return [Integer] Hash code
197
207
  def hash
198
- [description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, url].hash
208
+ [delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, url].hash
199
209
  end
200
210
 
201
211
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Type of connection to Windows Server [credentials/parent-target]
23
23
  attr_accessor :connection_type
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -75,6 +78,7 @@ module Akeyless
75
78
  {
76
79
  :'certificate' => :'certificate',
77
80
  :'connection_type' => :'connection-type',
81
+ :'delete_protection' => :'delete_protection',
78
82
  :'description' => :'description',
79
83
  :'domain' => :'domain',
80
84
  :'hostname' => :'hostname',
@@ -104,6 +108,7 @@ module Akeyless
104
108
  {
105
109
  :'certificate' => :'String',
106
110
  :'connection_type' => :'String',
111
+ :'delete_protection' => :'String',
107
112
  :'description' => :'String',
108
113
  :'domain' => :'String',
109
114
  :'hostname' => :'String',
@@ -154,6 +159,10 @@ module Akeyless
154
159
  self.connection_type = 'credentials'
155
160
  end
156
161
 
162
+ if attributes.key?(:'delete_protection')
163
+ self.delete_protection = attributes[:'delete_protection']
164
+ end
165
+
157
166
  if attributes.key?(:'description')
158
167
  self.description = attributes[:'description']
159
168
  end
@@ -275,6 +284,7 @@ module Akeyless
275
284
  self.class == o.class &&
276
285
  certificate == o.certificate &&
277
286
  connection_type == o.connection_type &&
287
+ delete_protection == o.delete_protection &&
278
288
  description == o.description &&
279
289
  domain == o.domain &&
280
290
  hostname == o.hostname &&
@@ -302,7 +312,7 @@ module Akeyless
302
312
  # Calculates hash code according to all attributes.
303
313
  # @return [Integer] Hash code
304
314
  def hash
305
- [certificate, connection_type, description, domain, hostname, json, keep_prev_version, key, max_versions, name, new_name, parent_target_name, password, port, token, uid_token, use_tls, username].hash
315
+ [certificate, connection_type, delete_protection, description, domain, hostname, json, keep_prev_version, key, max_versions, name, new_name, parent_target_name, password, port, token, uid_token, use_tls, username].hash
306
316
  end
307
317
 
308
318
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # API Key of the ZeroSSLTarget account
20
20
  attr_accessor :api_key
21
21
 
22
+ # Protection from accidental deletion of this object [true/false]
23
+ attr_accessor :delete_protection
24
+
22
25
  # Description of the object
23
26
  attr_accessor :description
24
27
 
@@ -68,6 +71,7 @@ module Akeyless
68
71
  def self.attribute_map
69
72
  {
70
73
  :'api_key' => :'api-key',
74
+ :'delete_protection' => :'delete_protection',
71
75
  :'description' => :'description',
72
76
  :'imap_fqdn' => :'imap-fqdn',
73
77
  :'imap_password' => :'imap-password',
@@ -95,6 +99,7 @@ module Akeyless
95
99
  def self.openapi_types
96
100
  {
97
101
  :'api_key' => :'String',
102
+ :'delete_protection' => :'String',
98
103
  :'description' => :'String',
99
104
  :'imap_fqdn' => :'String',
100
105
  :'imap_password' => :'String',
@@ -140,6 +145,10 @@ module Akeyless
140
145
  self.api_key = nil
141
146
  end
142
147
 
148
+ if attributes.key?(:'delete_protection')
149
+ self.delete_protection = attributes[:'delete_protection']
150
+ end
151
+
143
152
  if attributes.key?(:'description')
144
153
  self.description = attributes[:'description']
145
154
  end
@@ -261,6 +270,7 @@ module Akeyless
261
270
  return true if self.equal?(o)
262
271
  self.class == o.class &&
263
272
  api_key == o.api_key &&
273
+ delete_protection == o.delete_protection &&
264
274
  description == o.description &&
265
275
  imap_fqdn == o.imap_fqdn &&
266
276
  imap_password == o.imap_password &&
@@ -287,7 +297,7 @@ module Akeyless
287
297
  # Calculates hash code according to all attributes.
288
298
  # @return [Integer] Hash code
289
299
  def hash
290
- [api_key, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, keep_prev_version, key, max_versions, name, new_name, timeout, token, uid_token].hash
300
+ [api_key, delete_protection, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, keep_prev_version, key, max_versions, name, new_name, timeout, token, uid_token].hash
291
301
  end
292
302
 
293
303
  # Builds the object from hash
@@ -168,6 +168,12 @@ module Akeyless
168
168
  # The universal identity token, Required only for universal_identity authentication
169
169
  attr_accessor :uid_token
170
170
 
171
+ # Comma-separated list of tags to apply to all secrets created/synced on the remote USC USC items only.
172
+ attr_accessor :usc_tags
173
+
174
+ # Whether to filter the USC secret list using the specified usc-tags [true/false] USC items only.
175
+ attr_accessor :use_tags_as_filter
176
+
171
177
  # Attribute mapping from ruby-style variable name to JSON key.
172
178
  def self.attribute_map
173
179
  {
@@ -222,7 +228,9 @@ module Akeyless
222
228
  :'secure_access_web_browsing' => :'secure-access-web-browsing',
223
229
  :'secure_access_web_proxy' => :'secure-access-web-proxy',
224
230
  :'token' => :'token',
225
- :'uid_token' => :'uid-token'
231
+ :'uid_token' => :'uid-token',
232
+ :'usc_tags' => :'usc-tags',
233
+ :'use_tags_as_filter' => :'use-tags-as-filter'
226
234
  }
227
235
  end
228
236
 
@@ -285,7 +293,9 @@ module Akeyless
285
293
  :'secure_access_web_browsing' => :'Boolean',
286
294
  :'secure_access_web_proxy' => :'Boolean',
287
295
  :'token' => :'String',
288
- :'uid_token' => :'String'
296
+ :'uid_token' => :'String',
297
+ :'usc_tags' => :'String',
298
+ :'use_tags_as_filter' => :'String'
289
299
  }
290
300
  end
291
301
 
@@ -545,6 +555,14 @@ module Akeyless
545
555
  if attributes.key?(:'uid_token')
546
556
  self.uid_token = attributes[:'uid_token']
547
557
  end
558
+
559
+ if attributes.key?(:'usc_tags')
560
+ self.usc_tags = attributes[:'usc_tags']
561
+ end
562
+
563
+ if attributes.key?(:'use_tags_as_filter')
564
+ self.use_tags_as_filter = attributes[:'use_tags_as_filter']
565
+ end
548
566
  end
549
567
 
550
568
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -623,7 +641,9 @@ module Akeyless
623
641
  secure_access_web_browsing == o.secure_access_web_browsing &&
624
642
  secure_access_web_proxy == o.secure_access_web_proxy &&
625
643
  token == o.token &&
626
- uid_token == o.uid_token
644
+ uid_token == o.uid_token &&
645
+ usc_tags == o.usc_tags &&
646
+ use_tags_as_filter == o.use_tags_as_filter
627
647
  end
628
648
 
629
649
  # @see the `==` method
@@ -635,7 +655,7 @@ module Akeyless
635
655
  # Calculates hash code according to all attributes.
636
656
  # @return [Integer] Hash code
637
657
  def hash
638
- [provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, lock_during_sra_session, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
658
+ [provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, lock_during_sra_session, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token, usc_tags, use_tags_as_filter].hash
639
659
  end
640
660
 
641
661
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  # Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
19
19
  attr_accessor :analytics_access
20
20
 
21
+ # Allow this role to view Agentic Runtime Authority Dashboard. Currently only 'none', 'scoped', 'all' values are supported.
22
+ attr_accessor :ara_reports_access
23
+
21
24
  # Allow this role to view audit logs. Currently only 'none', 'own', 'scoped' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
22
25
  attr_accessor :audit_access
23
26
 
@@ -67,6 +70,7 @@ module Akeyless
67
70
  def self.attribute_map
68
71
  {
69
72
  :'analytics_access' => :'analytics-access',
73
+ :'ara_reports_access' => :'ara-reports-access',
70
74
  :'audit_access' => :'audit-access',
71
75
  :'delete_protection' => :'delete_protection',
72
76
  :'description' => :'description',
@@ -94,6 +98,7 @@ module Akeyless
94
98
  def self.openapi_types
95
99
  {
96
100
  :'analytics_access' => :'String',
101
+ :'ara_reports_access' => :'String',
97
102
  :'audit_access' => :'String',
98
103
  :'delete_protection' => :'String',
99
104
  :'description' => :'String',
@@ -137,6 +142,10 @@ module Akeyless
137
142
  self.analytics_access = attributes[:'analytics_access']
138
143
  end
139
144
 
145
+ if attributes.key?(:'ara_reports_access')
146
+ self.ara_reports_access = attributes[:'ara_reports_access']
147
+ end
148
+
140
149
  if attributes.key?(:'audit_access')
141
150
  self.audit_access = attributes[:'audit_access']
142
151
  end
@@ -232,6 +241,7 @@ module Akeyless
232
241
  return true if self.equal?(o)
233
242
  self.class == o.class &&
234
243
  analytics_access == o.analytics_access &&
244
+ ara_reports_access == o.ara_reports_access &&
235
245
  audit_access == o.audit_access &&
236
246
  delete_protection == o.delete_protection &&
237
247
  description == o.description &&
@@ -258,7 +268,7 @@ module Akeyless
258
268
  # Calculates hash code according to all attributes.
259
269
  # @return [Integer] Hash code
260
270
  def hash
261
- [analytics_access, audit_access, delete_protection, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
271
+ [analytics_access, ara_reports_access, audit_access, delete_protection, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
262
272
  end
263
273
 
264
274
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class UpdateTarget
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -42,6 +45,7 @@ module Akeyless
42
45
  # Attribute mapping from ruby-style variable name to JSON key.
43
46
  def self.attribute_map
44
47
  {
48
+ :'delete_protection' => :'delete_protection',
45
49
  :'description' => :'description',
46
50
  :'json' => :'json',
47
51
  :'max_versions' => :'max-versions',
@@ -61,6 +65,7 @@ module Akeyless
61
65
  # Attribute type mapping.
62
66
  def self.openapi_types
63
67
  {
68
+ :'delete_protection' => :'String',
64
69
  :'description' => :'String',
65
70
  :'json' => :'Boolean',
66
71
  :'max_versions' => :'String',
@@ -93,6 +98,10 @@ module Akeyless
93
98
  h[k.to_sym] = v
94
99
  }
95
100
 
101
+ if attributes.key?(:'delete_protection')
102
+ self.delete_protection = attributes[:'delete_protection']
103
+ end
104
+
96
105
  if attributes.key?(:'description')
97
106
  self.description = attributes[:'description']
98
107
  else
@@ -159,6 +168,7 @@ module Akeyless
159
168
  def ==(o)
160
169
  return true if self.equal?(o)
161
170
  self.class == o.class &&
171
+ delete_protection == o.delete_protection &&
162
172
  description == o.description &&
163
173
  json == o.json &&
164
174
  max_versions == o.max_versions &&
@@ -178,7 +188,7 @@ module Akeyless
178
188
  # Calculates hash code according to all attributes.
179
189
  # @return [Integer] Hash code
180
190
  def hash
181
- [description, json, max_versions, name, new_comment, new_name, token, uid_token].hash
191
+ [delete_protection, description, json, max_versions, name, new_comment, new_name, token, uid_token].hash
182
192
  end
183
193
 
184
194
  # Builds the object from hash
@@ -21,6 +21,12 @@ module Akeyless
21
21
 
22
22
  attr_accessor :object_type
23
23
 
24
+ # Optional: number of items requested per response (Azure KV). When set, response may include next_token
25
+ attr_accessor :page_size
26
+
27
+ # Optional: continuation token returned by a previous usc list --page-size call
28
+ attr_accessor :page_token
29
+
24
30
  # Authentication token (see `/auth` and `/configure`)
25
31
  attr_accessor :token
26
32
 
@@ -35,6 +41,8 @@ module Akeyless
35
41
  {
36
42
  :'json' => :'json',
37
43
  :'object_type' => :'object-type',
44
+ :'page_size' => :'page-size',
45
+ :'page_token' => :'page-token',
38
46
  :'token' => :'token',
39
47
  :'uid_token' => :'uid-token',
40
48
  :'usc_name' => :'usc-name'
@@ -51,6 +59,8 @@ module Akeyless
51
59
  {
52
60
  :'json' => :'Boolean',
53
61
  :'object_type' => :'String',
62
+ :'page_size' => :'Integer',
63
+ :'page_token' => :'String',
54
64
  :'token' => :'String',
55
65
  :'uid_token' => :'String',
56
66
  :'usc_name' => :'String'
@@ -88,6 +98,14 @@ module Akeyless
88
98
  self.object_type = attributes[:'object_type']
89
99
  end
90
100
 
101
+ if attributes.key?(:'page_size')
102
+ self.page_size = attributes[:'page_size']
103
+ end
104
+
105
+ if attributes.key?(:'page_token')
106
+ self.page_token = attributes[:'page_token']
107
+ end
108
+
91
109
  if attributes.key?(:'token')
92
110
  self.token = attributes[:'token']
93
111
  end
@@ -130,6 +148,8 @@ module Akeyless
130
148
  self.class == o.class &&
131
149
  json == o.json &&
132
150
  object_type == o.object_type &&
151
+ page_size == o.page_size &&
152
+ page_token == o.page_token &&
133
153
  token == o.token &&
134
154
  uid_token == o.uid_token &&
135
155
  usc_name == o.usc_name
@@ -144,7 +164,7 @@ module Akeyless
144
164
  # Calculates hash code according to all attributes.
145
165
  # @return [Integer] Hash code
146
166
  def hash
147
- [json, object_type, token, uid_token, usc_name].hash
167
+ [json, object_type, page_size, page_token, token, uid_token, usc_name].hash
148
168
  end
149
169
 
150
170
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class UscListSecretsOutput
18
+ attr_accessor :next_token
19
+
18
20
  attr_accessor :secrets_list
19
21
 
20
22
  attr_accessor :warnings
@@ -22,6 +24,7 @@ module Akeyless
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
27
+ :'next_token' => :'next_token',
25
28
  :'secrets_list' => :'secrets_list',
26
29
  :'warnings' => :'warnings'
27
30
  }
@@ -35,6 +38,7 @@ module Akeyless
35
38
  # Attribute type mapping.
36
39
  def self.openapi_types
37
40
  {
41
+ :'next_token' => :'String',
38
42
  :'secrets_list' => :'Array<SecretInfo>',
39
43
  :'warnings' => :'Array<String>'
40
44
  }
@@ -61,6 +65,10 @@ module Akeyless
61
65
  h[k.to_sym] = v
62
66
  }
63
67
 
68
+ if attributes.key?(:'next_token')
69
+ self.next_token = attributes[:'next_token']
70
+ end
71
+
64
72
  if attributes.key?(:'secrets_list')
65
73
  if (value = attributes[:'secrets_list']).is_a?(Array)
66
74
  self.secrets_list = value
@@ -94,6 +102,7 @@ module Akeyless
94
102
  def ==(o)
95
103
  return true if self.equal?(o)
96
104
  self.class == o.class &&
105
+ next_token == o.next_token &&
97
106
  secrets_list == o.secrets_list &&
98
107
  warnings == o.warnings
99
108
  end
@@ -107,7 +116,7 @@ module Akeyless
107
116
  # Calculates hash code according to all attributes.
108
117
  # @return [Integer] Hash code
109
118
  def hash
110
- [secrets_list, warnings].hash
119
+ [next_token, secrets_list, warnings].hash
111
120
  end
112
121
 
113
122
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '5.0.23'
14
+ VERSION = '5.0.24'
15
15
  end
data/lib/akeyless.rb CHANGED
@@ -39,6 +39,8 @@ require 'akeyless/models/active_directory_migration'
39
39
  require 'akeyless/models/active_directory_payload'
40
40
  require 'akeyless/models/add_gateway_allowed_access_id'
41
41
  require 'akeyless/models/admins_config_part'
42
+ require 'akeyless/models/agentic_rule'
43
+ require 'akeyless/models/agentic_rules'
42
44
  require 'akeyless/models/ai_insights_config_part'
43
45
  require 'akeyless/models/ai_insights_setting'
44
46
  require 'akeyless/models/akeyless_gateway_config'
@@ -916,6 +918,7 @@ require 'akeyless/models/rotator'
916
918
  require 'akeyless/models/rotators_config_part'
917
919
  require 'akeyless/models/rule_assigner'
918
920
  require 'akeyless/models/rules'
921
+ require 'akeyless/models/runtime_authority_command'
919
922
  require 'akeyless/models/saml_access_rules'
920
923
  require 'akeyless/models/saml_attribute'
921
924
  require 'akeyless/models/ssh_certificate_issue_details'
@@ -928,6 +931,8 @@ require 'akeyless/models/sectigo_target_details'
928
931
  require 'akeyless/models/secure_remote_access'
929
932
  require 'akeyless/models/server_inventory_migration'
930
933
  require 'akeyless/models/server_inventory_payload'
934
+ require 'akeyless/models/set_default_profile'
935
+ require 'akeyless/models/set_default_profile_output'
931
936
  require 'akeyless/models/set_item_state'
932
937
  require 'akeyless/models/set_role_rule'
933
938
  require 'akeyless/models/share_item'
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::AgenticRule
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::AgenticRule do
21
+ let(:instance) { Akeyless::AgenticRule.new }
22
+
23
+ describe 'test an instance of AgenticRule' do
24
+ it 'should create an instance of AgenticRule' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Akeyless::AgenticRule)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "rule"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::AgenticRules
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::AgenticRules do
21
+ let(:instance) { Akeyless::AgenticRules.new }
22
+
23
+ describe 'test an instance of AgenticRules' do
24
+ it 'should create an instance of AgenticRules' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Akeyless::AgenticRules)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "input_rules"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "output_rules"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end