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.
- checksums.yaml +4 -4
- data/README.md +11 -5
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +5 -1
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/EsmListSecretsOutput.md +2 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListItems.md +2 -0
- data/docs/RuntimeAuthorityCommand.md +28 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateDigiCert.md +2 -0
- data/docs/TargetCreateDockerhub.md +2 -0
- data/docs/TargetCreateEks.md +2 -0
- data/docs/TargetCreateGcp.md +2 -0
- data/docs/TargetCreateGemini.md +2 -0
- data/docs/TargetCreateGithub.md +2 -0
- data/docs/TargetCreateGitlab.md +2 -0
- data/docs/TargetCreateGke.md +2 -0
- data/docs/TargetCreateGlobalSign.md +2 -0
- data/docs/TargetCreateGlobalSignAtlas.md +2 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateGoogleTrust.md +2 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +2 -0
- data/docs/TargetCreateLinked.md +2 -0
- data/docs/TargetCreateOpenAI.md +2 -0
- data/docs/TargetCreatePing.md +2 -0
- data/docs/TargetCreateRabbitMq.md +2 -0
- data/docs/TargetCreateSalesforce.md +2 -0
- data/docs/TargetCreateSectigo.md +2 -0
- data/docs/TargetCreateSplunk.md +2 -0
- data/docs/TargetCreateSsh.md +2 -0
- data/docs/TargetCreateWeb.md +2 -0
- data/docs/TargetCreateWindows.md +2 -0
- data/docs/TargetCreateZeroSSL.md +2 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateDockerhub.md +2 -0
- data/docs/TargetUpdateEks.md +2 -0
- data/docs/TargetUpdateGcp.md +2 -0
- data/docs/TargetUpdateGemini.md +2 -0
- data/docs/TargetUpdateGithub.md +2 -0
- data/docs/TargetUpdateGitlab.md +2 -0
- data/docs/TargetUpdateGke.md +2 -0
- data/docs/TargetUpdateGlobalSign.md +2 -0
- data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateGoogleTrust.md +2 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +2 -0
- data/docs/TargetUpdateOpenAI.md +2 -0
- data/docs/TargetUpdatePing.md +2 -0
- data/docs/TargetUpdateRabbitMq.md +2 -0
- data/docs/TargetUpdateSalesforce.md +2 -0
- data/docs/TargetUpdateSectigo.md +2 -0
- data/docs/TargetUpdateSsh.md +2 -0
- data/docs/TargetUpdateWeb.md +2 -0
- data/docs/TargetUpdateWindows.md +2 -0
- data/docs/TargetUpdateZeroSSL.md +2 -0
- data/docs/UpdateItem.md +5 -1
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +2 -0
- data/docs/V2Api.md +66 -4
- data/lib/akeyless/api/v2_api.rb +68 -4
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +24 -4
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/set_default_profile.rb +234 -0
- data/lib/akeyless/models/set_default_profile_output.rb +214 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_artifactory.rb +11 -1
- data/lib/akeyless/models/target_create_aws.rb +11 -1
- data/lib/akeyless/models/target_create_azure.rb +11 -1
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
- data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_create_eks.rb +11 -1
- data/lib/akeyless/models/target_create_gcp.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +11 -1
- data/lib/akeyless/models/target_create_github.rb +11 -1
- data/lib/akeyless/models/target_create_gitlab.rb +11 -1
- data/lib/akeyless/models/target_create_gke.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_google_trust.rb +11 -1
- data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_create_k8s.rb +11 -1
- data/lib/akeyless/models/target_create_ldap.rb +11 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
- data/lib/akeyless/models/target_create_linked.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +11 -1
- data/lib/akeyless/models/target_create_ping.rb +11 -1
- data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_create_salesforce.rb +11 -1
- data/lib/akeyless/models/target_create_sectigo.rb +11 -1
- data/lib/akeyless/models/target_create_splunk.rb +11 -1
- data/lib/akeyless/models/target_create_ssh.rb +11 -1
- data/lib/akeyless/models/target_create_web.rb +11 -1
- data/lib/akeyless/models/target_create_windows.rb +11 -1
- data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
- data/lib/akeyless/models/target_update_artifactory.rb +11 -1
- data/lib/akeyless/models/target_update_aws.rb +11 -1
- data/lib/akeyless/models/target_update_azure.rb +11 -1
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_update_eks.rb +11 -1
- data/lib/akeyless/models/target_update_gcp.rb +11 -1
- data/lib/akeyless/models/target_update_gemini.rb +11 -1
- data/lib/akeyless/models/target_update_github.rb +11 -1
- data/lib/akeyless/models/target_update_gitlab.rb +11 -1
- data/lib/akeyless/models/target_update_gke.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_google_trust.rb +11 -1
- data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_update_k8s.rb +11 -1
- data/lib/akeyless/models/target_update_ldap.rb +11 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
- data/lib/akeyless/models/target_update_open_ai.rb +11 -1
- data/lib/akeyless/models/target_update_ping.rb +11 -1
- data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_update_salesforce.rb +11 -1
- data/lib/akeyless/models/target_update_sectigo.rb +11 -1
- data/lib/akeyless/models/target_update_ssh.rb +11 -1
- data/lib/akeyless/models/target_update_web.rb +11 -1
- data/lib/akeyless/models/target_update_windows.rb +11 -1
- data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
- data/lib/akeyless/models/update_item.rb +24 -4
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_target.rb +11 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/runtime_authority_command_spec.rb +66 -0
- data/spec/models/set_default_profile_output_spec.rb +36 -0
- data/spec/models/set_default_profile_spec.rb +42 -0
- metadata +22 -2
|
@@ -0,0 +1,227 @@
|
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class AgenticRules
|
|
18
|
+
attr_accessor :input_rules
|
|
19
|
+
|
|
20
|
+
attr_accessor :output_rules
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'input_rules' => :'input_rules',
|
|
26
|
+
:'output_rules' => :'output_rules'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns all the JSON keys this model knows about
|
|
31
|
+
def self.acceptable_attributes
|
|
32
|
+
attribute_map.values
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.openapi_types
|
|
37
|
+
{
|
|
38
|
+
:'input_rules' => :'Array<AgenticRule>',
|
|
39
|
+
:'output_rules' => :'Array<AgenticRule>'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# List of attributes with nullable: true
|
|
44
|
+
def self.openapi_nullable
|
|
45
|
+
Set.new([
|
|
46
|
+
])
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
if (!attributes.is_a?(Hash))
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AgenticRules` initialize method"
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AgenticRules`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
|
+
end
|
|
61
|
+
h[k.to_sym] = v
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if attributes.key?(:'input_rules')
|
|
65
|
+
if (value = attributes[:'input_rules']).is_a?(Array)
|
|
66
|
+
self.input_rules = value
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'output_rules')
|
|
71
|
+
if (value = attributes[:'output_rules']).is_a?(Array)
|
|
72
|
+
self.output_rules = value
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
78
|
+
# @return Array for valid properties with the reasons
|
|
79
|
+
def list_invalid_properties
|
|
80
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
81
|
+
invalid_properties = Array.new
|
|
82
|
+
invalid_properties
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Check to see if the all the properties in the model are valid
|
|
86
|
+
# @return true if the model is valid
|
|
87
|
+
def valid?
|
|
88
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
89
|
+
true
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Checks equality by comparing each attribute.
|
|
93
|
+
# @param [Object] Object to be compared
|
|
94
|
+
def ==(o)
|
|
95
|
+
return true if self.equal?(o)
|
|
96
|
+
self.class == o.class &&
|
|
97
|
+
input_rules == o.input_rules &&
|
|
98
|
+
output_rules == o.output_rules
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# @see the `==` method
|
|
102
|
+
# @param [Object] Object to be compared
|
|
103
|
+
def eql?(o)
|
|
104
|
+
self == o
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Calculates hash code according to all attributes.
|
|
108
|
+
# @return [Integer] Hash code
|
|
109
|
+
def hash
|
|
110
|
+
[input_rules, output_rules].hash
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Builds the object from hash
|
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
115
|
+
# @return [Object] Returns the model itself
|
|
116
|
+
def self.build_from_hash(attributes)
|
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
|
118
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
119
|
+
transformed_hash = {}
|
|
120
|
+
openapi_types.each_pair do |key, type|
|
|
121
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
122
|
+
transformed_hash["#{key}"] = nil
|
|
123
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
124
|
+
# check to ensure the input is an array given that the attribute
|
|
125
|
+
# is documented as an array but the input is not
|
|
126
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
127
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
128
|
+
end
|
|
129
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
130
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
new(transformed_hash)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Deserializes the data based on type
|
|
137
|
+
# @param string type Data type
|
|
138
|
+
# @param string value Value to be deserialized
|
|
139
|
+
# @return [Object] Deserialized data
|
|
140
|
+
def self._deserialize(type, value)
|
|
141
|
+
case type.to_sym
|
|
142
|
+
when :Time
|
|
143
|
+
Time.parse(value)
|
|
144
|
+
when :Date
|
|
145
|
+
Date.parse(value)
|
|
146
|
+
when :String
|
|
147
|
+
value.to_s
|
|
148
|
+
when :Integer
|
|
149
|
+
value.to_i
|
|
150
|
+
when :Float
|
|
151
|
+
value.to_f
|
|
152
|
+
when :Boolean
|
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
154
|
+
true
|
|
155
|
+
else
|
|
156
|
+
false
|
|
157
|
+
end
|
|
158
|
+
when :Object
|
|
159
|
+
# generic object (usually a Hash), return directly
|
|
160
|
+
value
|
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
|
167
|
+
{}.tap do |hash|
|
|
168
|
+
value.each do |k, v|
|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
else # model
|
|
173
|
+
# models (e.g. Pet) or oneOf
|
|
174
|
+
klass = Akeyless.const_get(type)
|
|
175
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Returns the string representation of the object
|
|
180
|
+
# @return [String] String presentation of the object
|
|
181
|
+
def to_s
|
|
182
|
+
to_hash.to_s
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
|
187
|
+
def to_body
|
|
188
|
+
to_hash
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Returns the object in the form of hash
|
|
192
|
+
# @return [Hash] Returns the object in the form of hash
|
|
193
|
+
def to_hash
|
|
194
|
+
hash = {}
|
|
195
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
196
|
+
value = self.send(attr)
|
|
197
|
+
if value.nil?
|
|
198
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
199
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
hash[param] = _to_hash(value)
|
|
203
|
+
end
|
|
204
|
+
hash
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Outputs non-array value in the form of hash
|
|
208
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
209
|
+
# @param [Object] value Any valid value
|
|
210
|
+
# @return [Hash] Returns the value in the form of hash
|
|
211
|
+
def _to_hash(value)
|
|
212
|
+
if value.is_a?(Array)
|
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
|
214
|
+
elsif value.is_a?(Hash)
|
|
215
|
+
{}.tap do |hash|
|
|
216
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
217
|
+
end
|
|
218
|
+
elsif value.respond_to? :to_hash
|
|
219
|
+
value.to_hash
|
|
220
|
+
else
|
|
221
|
+
value
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
end
|
|
@@ -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
|
:'comment' => :'comment',
|
|
72
76
|
:'delete_protection' => :'delete_protection',
|
|
@@ -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
|
:'comment' => :'String',
|
|
99
104
|
:'delete_protection' => :'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
|
|
@@ -230,6 +239,7 @@ module Akeyless
|
|
|
230
239
|
return true if self.equal?(o)
|
|
231
240
|
self.class == o.class &&
|
|
232
241
|
analytics_access == o.analytics_access &&
|
|
242
|
+
ara_reports_access == o.ara_reports_access &&
|
|
233
243
|
audit_access == o.audit_access &&
|
|
234
244
|
comment == o.comment &&
|
|
235
245
|
delete_protection == o.delete_protection &&
|
|
@@ -256,7 +266,7 @@ module Akeyless
|
|
|
256
266
|
# Calculates hash code according to all attributes.
|
|
257
267
|
# @return [Integer] Hash code
|
|
258
268
|
def hash
|
|
259
|
-
[analytics_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, event_forwarders_name, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
269
|
+
[analytics_access, ara_reports_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, event_forwarders_name, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
260
270
|
end
|
|
261
271
|
|
|
262
272
|
# Builds the object from hash
|
|
@@ -72,9 +72,15 @@ module Akeyless
|
|
|
72
72
|
# Prefix for all secrets created in AWS Secrets Manager
|
|
73
73
|
attr_accessor :usc_prefix
|
|
74
74
|
|
|
75
|
+
# Comma-separated list of tags to apply to all secrets created on the remote USC
|
|
76
|
+
attr_accessor :usc_tags
|
|
77
|
+
|
|
75
78
|
# Whether to filter the USC secret list using the specified usc-prefix [true/false]
|
|
76
79
|
attr_accessor :use_prefix_as_filter
|
|
77
80
|
|
|
81
|
+
# Filter the USC secret list by the value(s) of --usc-tags. [true|false]
|
|
82
|
+
attr_accessor :use_tags_as_filter
|
|
83
|
+
|
|
78
84
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
79
85
|
def self.attribute_map
|
|
80
86
|
{
|
|
@@ -97,7 +103,9 @@ module Akeyless
|
|
|
97
103
|
:'token' => :'token',
|
|
98
104
|
:'uid_token' => :'uid-token',
|
|
99
105
|
:'usc_prefix' => :'usc-prefix',
|
|
100
|
-
:'
|
|
106
|
+
:'usc_tags' => :'usc-tags',
|
|
107
|
+
:'use_prefix_as_filter' => :'use-prefix-as-filter',
|
|
108
|
+
:'use_tags_as_filter' => :'use-tags-as-filter'
|
|
101
109
|
}
|
|
102
110
|
end
|
|
103
111
|
|
|
@@ -128,7 +136,9 @@ module Akeyless
|
|
|
128
136
|
:'token' => :'String',
|
|
129
137
|
:'uid_token' => :'String',
|
|
130
138
|
:'usc_prefix' => :'String',
|
|
131
|
-
:'
|
|
139
|
+
:'usc_tags' => :'String',
|
|
140
|
+
:'use_prefix_as_filter' => :'String',
|
|
141
|
+
:'use_tags_as_filter' => :'Boolean'
|
|
132
142
|
}
|
|
133
143
|
end
|
|
134
144
|
|
|
@@ -243,11 +253,19 @@ module Akeyless
|
|
|
243
253
|
self.usc_prefix = attributes[:'usc_prefix']
|
|
244
254
|
end
|
|
245
255
|
|
|
256
|
+
if attributes.key?(:'usc_tags')
|
|
257
|
+
self.usc_tags = attributes[:'usc_tags']
|
|
258
|
+
end
|
|
259
|
+
|
|
246
260
|
if attributes.key?(:'use_prefix_as_filter')
|
|
247
261
|
self.use_prefix_as_filter = attributes[:'use_prefix_as_filter']
|
|
248
262
|
else
|
|
249
263
|
self.use_prefix_as_filter = 'false'
|
|
250
264
|
end
|
|
265
|
+
|
|
266
|
+
if attributes.key?(:'use_tags_as_filter')
|
|
267
|
+
self.use_tags_as_filter = attributes[:'use_tags_as_filter']
|
|
268
|
+
end
|
|
251
269
|
end
|
|
252
270
|
|
|
253
271
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -299,7 +317,9 @@ module Akeyless
|
|
|
299
317
|
token == o.token &&
|
|
300
318
|
uid_token == o.uid_token &&
|
|
301
319
|
usc_prefix == o.usc_prefix &&
|
|
302
|
-
|
|
320
|
+
usc_tags == o.usc_tags &&
|
|
321
|
+
use_prefix_as_filter == o.use_prefix_as_filter &&
|
|
322
|
+
use_tags_as_filter == o.use_tags_as_filter
|
|
303
323
|
end
|
|
304
324
|
|
|
305
325
|
# @see the `==` method
|
|
@@ -311,7 +331,7 @@ module Akeyless
|
|
|
311
331
|
# Calculates hash code according to all attributes.
|
|
312
332
|
# @return [Integer] Hash code
|
|
313
333
|
def hash
|
|
314
|
-
[azure_kv_name, delete_protection, description, environment_names, gcp_project_id, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, use_prefix_as_filter].hash
|
|
334
|
+
[azure_kv_name, delete_protection, description, environment_names, gcp_project_id, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, usc_tags, use_prefix_as_filter, use_tags_as_filter].hash
|
|
315
335
|
end
|
|
316
336
|
|
|
317
337
|
# Builds the object from hash
|
|
@@ -24,7 +24,7 @@ module Akeyless
|
|
|
24
24
|
# The role name to be updated
|
|
25
25
|
attr_accessor :role_name
|
|
26
26
|
|
|
27
|
-
# item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule, sra-reports-rule, sra-rule, ara-rule
|
|
27
|
+
# item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule, sra-reports-rule, ara-reports-rule, sra-rule, ara-rule, usage-reports-rule, event-rule, event-forwarder-rule, reverse-rbac-rule
|
|
28
28
|
attr_accessor :rule_type
|
|
29
29
|
|
|
30
30
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -29,6 +29,8 @@ module Akeyless
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :administrative_port
|
|
31
31
|
|
|
32
|
+
attr_accessor :agentic_rules
|
|
33
|
+
|
|
32
34
|
attr_accessor :api_key
|
|
33
35
|
|
|
34
36
|
attr_accessor :api_key_id
|
|
@@ -577,6 +579,7 @@ module Akeyless
|
|
|
577
579
|
:'admin_pwd' => :'admin_pwd',
|
|
578
580
|
:'admin_rotation_interval_days' => :'admin_rotation_interval_days',
|
|
579
581
|
:'administrative_port' => :'administrative_port',
|
|
582
|
+
:'agentic_rules' => :'agentic_rules',
|
|
580
583
|
:'api_key' => :'api_key',
|
|
581
584
|
:'api_key_id' => :'api_key_id',
|
|
582
585
|
:'artifactory_admin_apikey' => :'artifactory_admin_apikey',
|
|
@@ -853,6 +856,7 @@ module Akeyless
|
|
|
853
856
|
:'admin_pwd' => :'String',
|
|
854
857
|
:'admin_rotation_interval_days' => :'Integer',
|
|
855
858
|
:'administrative_port' => :'String',
|
|
859
|
+
:'agentic_rules' => :'AgenticRules',
|
|
856
860
|
:'api_key' => :'String',
|
|
857
861
|
:'api_key_id' => :'String',
|
|
858
862
|
:'artifactory_admin_apikey' => :'String',
|
|
@@ -1165,6 +1169,10 @@ module Akeyless
|
|
|
1165
1169
|
self.administrative_port = attributes[:'administrative_port']
|
|
1166
1170
|
end
|
|
1167
1171
|
|
|
1172
|
+
if attributes.key?(:'agentic_rules')
|
|
1173
|
+
self.agentic_rules = attributes[:'agentic_rules']
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1168
1176
|
if attributes.key?(:'api_key')
|
|
1169
1177
|
self.api_key = attributes[:'api_key']
|
|
1170
1178
|
end
|
|
@@ -2253,6 +2261,7 @@ module Akeyless
|
|
|
2253
2261
|
admin_pwd == o.admin_pwd &&
|
|
2254
2262
|
admin_rotation_interval_days == o.admin_rotation_interval_days &&
|
|
2255
2263
|
administrative_port == o.administrative_port &&
|
|
2264
|
+
agentic_rules == o.agentic_rules &&
|
|
2256
2265
|
api_key == o.api_key &&
|
|
2257
2266
|
api_key_id == o.api_key_id &&
|
|
2258
2267
|
artifactory_admin_apikey == o.artifactory_admin_apikey &&
|
|
@@ -2522,7 +2531,7 @@ module Akeyless
|
|
|
2522
2531
|
# Calculates hash code according to all attributes.
|
|
2523
2532
|
# @return [Integer] Hash code
|
|
2524
2533
|
def hash
|
|
2525
|
-
[access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, api_key, api_key_id, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, authorization_port, aws_access_key_id, aws_access_mode, aws_external_id, aws_region, aws_role_arns, aws_secret_access_key, aws_session_tags, aws_session_token, aws_transitive_tag_keys, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_administrative_unit, azure_app_object_id, azure_client_id, azure_client_secret, azure_cloud, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, azure_username, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_authentication_type, cloud_service_provider, cluster_mode, connection_type, create_sync_url, db_client_id, db_client_secret, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, delete_protection, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, enforce_replay_prevention, expiration_date, externally_provided_user, failure_message, fixed_user_only, gcp_access_type, gcp_fixed_user_claim_keyname, gcp_key_algo, gcp_project_id, gcp_role_bindings, gcp_role_names, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, gcp_service_account_type, gcp_tmp_service_account_name, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_organization_name, github_repository_path, gitlab_access_token, gitlab_access_type, gitlab_certificate, gitlab_group_name, gitlab_project_name, gitlab_role, gitlab_token_scope, gitlab_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, google_workspace_access_mode, google_workspace_admin_name, google_workspace_fixed_user_name_sub_claim_key, google_workspace_group_name, google_workspace_group_role, google_workspace_role_name, google_workspace_role_scope, grace_rotated_secret_key, grant_types, groups, gw_cloud_identity_external_id_opt, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, item_custom_fields_details, item_targets_assoc, jwks, jwks_url, k8s_allowed_namespaces, k8s_auth_type, k8s_bearer_token, k8s_client_cert_data, k8s_client_key_data, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_cluster_name, k8s_dynamic_mode, k8s_multiple_doc_yaml_temp_definition, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_fixed_user_name_sub_claim_key, ldap_fixed_user_type, ldap_group_dn, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, metadata, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_allowed_db_names, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, openai_url, oracle_creation_statements, oracle_revocation_statements, oracle_wallet_details, organization_id, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, project_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, rdp_fixed_user_name_sub_claim_key, redirect_uris, redshift_creation_statements, restricted_scopes, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_auth_mode, sf_key_algo, sf_user_role, sf_warehouse_name, should_stop, signing_algorithm, ssl_connection_certificate, ssl_connection_mode, subject_dn, tags, timeout_seconds, use_gw_cloud_identity, use_gw_service_account, user_name, user_password, user_principal_name, user_ttl, username_length, username_policy, username_template, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
|
2534
|
+
[access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, agentic_rules, api_key, api_key_id, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, authorization_port, aws_access_key_id, aws_access_mode, aws_external_id, aws_region, aws_role_arns, aws_secret_access_key, aws_session_tags, aws_session_token, aws_transitive_tag_keys, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_administrative_unit, azure_app_object_id, azure_client_id, azure_client_secret, azure_cloud, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, azure_username, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_authentication_type, cloud_service_provider, cluster_mode, connection_type, create_sync_url, db_client_id, db_client_secret, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, delete_protection, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, enforce_replay_prevention, expiration_date, externally_provided_user, failure_message, fixed_user_only, gcp_access_type, gcp_fixed_user_claim_keyname, gcp_key_algo, gcp_project_id, gcp_role_bindings, gcp_role_names, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, gcp_service_account_type, gcp_tmp_service_account_name, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_organization_name, github_repository_path, gitlab_access_token, gitlab_access_type, gitlab_certificate, gitlab_group_name, gitlab_project_name, gitlab_role, gitlab_token_scope, gitlab_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, google_workspace_access_mode, google_workspace_admin_name, google_workspace_fixed_user_name_sub_claim_key, google_workspace_group_name, google_workspace_group_role, google_workspace_role_name, google_workspace_role_scope, grace_rotated_secret_key, grant_types, groups, gw_cloud_identity_external_id_opt, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, item_custom_fields_details, item_targets_assoc, jwks, jwks_url, k8s_allowed_namespaces, k8s_auth_type, k8s_bearer_token, k8s_client_cert_data, k8s_client_key_data, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_cluster_name, k8s_dynamic_mode, k8s_multiple_doc_yaml_temp_definition, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_fixed_user_name_sub_claim_key, ldap_fixed_user_type, ldap_group_dn, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, metadata, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_allowed_db_names, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, openai_url, oracle_creation_statements, oracle_revocation_statements, oracle_wallet_details, organization_id, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, project_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, rdp_fixed_user_name_sub_claim_key, redirect_uris, redshift_creation_statements, restricted_scopes, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_auth_mode, sf_key_algo, sf_user_role, sf_warehouse_name, should_stop, signing_algorithm, ssl_connection_certificate, ssl_connection_mode, subject_dn, tags, timeout_seconds, use_gw_cloud_identity, use_gw_service_account, user_name, user_password, user_principal_name, user_ttl, username_length, username_policy, username_template, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
|
2526
2535
|
end
|
|
2527
2536
|
|
|
2528
2537
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class EsmListSecretsOutput
|
|
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
|
|
@@ -15,11 +15,14 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class GatewayMigrationCreateOutput
|
|
18
|
+
attr_accessor :migration_id
|
|
19
|
+
|
|
18
20
|
attr_accessor :migration_name
|
|
19
21
|
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
25
|
+
:'migration_id' => :'migration_id',
|
|
23
26
|
:'migration_name' => :'migration_name'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
@@ -32,6 +35,7 @@ module Akeyless
|
|
|
32
35
|
# Attribute type mapping.
|
|
33
36
|
def self.openapi_types
|
|
34
37
|
{
|
|
38
|
+
:'migration_id' => :'String',
|
|
35
39
|
:'migration_name' => :'String'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
@@ -57,6 +61,10 @@ module Akeyless
|
|
|
57
61
|
h[k.to_sym] = v
|
|
58
62
|
}
|
|
59
63
|
|
|
64
|
+
if attributes.key?(:'migration_id')
|
|
65
|
+
self.migration_id = attributes[:'migration_id']
|
|
66
|
+
end
|
|
67
|
+
|
|
60
68
|
if attributes.key?(:'migration_name')
|
|
61
69
|
self.migration_name = attributes[:'migration_name']
|
|
62
70
|
end
|
|
@@ -82,6 +90,7 @@ module Akeyless
|
|
|
82
90
|
def ==(o)
|
|
83
91
|
return true if self.equal?(o)
|
|
84
92
|
self.class == o.class &&
|
|
93
|
+
migration_id == o.migration_id &&
|
|
85
94
|
migration_name == o.migration_name
|
|
86
95
|
end
|
|
87
96
|
|
|
@@ -94,7 +103,7 @@ module Akeyless
|
|
|
94
103
|
# Calculates hash code according to all attributes.
|
|
95
104
|
# @return [Integer] Hash code
|
|
96
105
|
def hash
|
|
97
|
-
[migration_name].hash
|
|
106
|
+
[migration_id, migration_name].hash
|
|
98
107
|
end
|
|
99
108
|
|
|
100
109
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class ItemGeneralInfo
|
|
18
|
+
attr_accessor :agentic_rules
|
|
19
|
+
|
|
18
20
|
attr_accessor :cert_issue_details
|
|
19
21
|
|
|
20
22
|
attr_accessor :certificate_chain_info
|
|
@@ -54,6 +56,7 @@ module Akeyless
|
|
|
54
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
55
57
|
def self.attribute_map
|
|
56
58
|
{
|
|
59
|
+
:'agentic_rules' => :'agentic_rules',
|
|
57
60
|
:'cert_issue_details' => :'cert_issue_details',
|
|
58
61
|
:'certificate_chain_info' => :'certificate_chain_info',
|
|
59
62
|
:'certificate_format' => :'certificate_format',
|
|
@@ -83,6 +86,7 @@ module Akeyless
|
|
|
83
86
|
# Attribute type mapping.
|
|
84
87
|
def self.openapi_types
|
|
85
88
|
{
|
|
89
|
+
:'agentic_rules' => :'AgenticRules',
|
|
86
90
|
:'cert_issue_details' => :'CertificateIssueInfo',
|
|
87
91
|
:'certificate_chain_info' => :'CertificateChainInfo',
|
|
88
92
|
:'certificate_format' => :'String',
|
|
@@ -125,6 +129,10 @@ module Akeyless
|
|
|
125
129
|
h[k.to_sym] = v
|
|
126
130
|
}
|
|
127
131
|
|
|
132
|
+
if attributes.key?(:'agentic_rules')
|
|
133
|
+
self.agentic_rules = attributes[:'agentic_rules']
|
|
134
|
+
end
|
|
135
|
+
|
|
128
136
|
if attributes.key?(:'cert_issue_details')
|
|
129
137
|
self.cert_issue_details = attributes[:'cert_issue_details']
|
|
130
138
|
end
|
|
@@ -222,6 +230,7 @@ module Akeyless
|
|
|
222
230
|
def ==(o)
|
|
223
231
|
return true if self.equal?(o)
|
|
224
232
|
self.class == o.class &&
|
|
233
|
+
agentic_rules == o.agentic_rules &&
|
|
225
234
|
cert_issue_details == o.cert_issue_details &&
|
|
226
235
|
certificate_chain_info == o.certificate_chain_info &&
|
|
227
236
|
certificate_format == o.certificate_format &&
|
|
@@ -251,7 +260,7 @@ module Akeyless
|
|
|
251
260
|
# Calculates hash code according to all attributes.
|
|
252
261
|
# @return [Integer] Hash code
|
|
253
262
|
def hash
|
|
254
|
-
[cert_issue_details, certificate_chain_info, certificate_format, certificates_template_info, classic_key_details, cluster_gw_url, display_metadata, dynamic_secret_producer_details, expiration_events, importer_info, issuer_overview_info, next_rotation_events, oidc_client_info, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
|
|
263
|
+
[agentic_rules, cert_issue_details, certificate_chain_info, certificate_format, certificates_template_info, classic_key_details, cluster_gw_url, display_metadata, dynamic_secret_producer_details, expiration_events, importer_info, issuer_overview_info, next_rotation_events, oidc_client_info, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
|
|
255
264
|
end
|
|
256
265
|
|
|
257
266
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module Akeyless
|
|
|
21
21
|
# Filter by item name/username/website or part of it
|
|
22
22
|
attr_accessor :advanced_filter
|
|
23
23
|
|
|
24
|
+
# Filter by items with ARA functionality enabled
|
|
25
|
+
attr_accessor :ara_only
|
|
26
|
+
|
|
24
27
|
# Retrieve all items using pagination, when disabled retrieving only first 1000 items
|
|
25
28
|
attr_accessor :auto_pagination
|
|
26
29
|
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
|
67
70
|
{
|
|
68
71
|
:'accessibility' => :'accessibility',
|
|
69
72
|
:'advanced_filter' => :'advanced-filter',
|
|
73
|
+
:'ara_only' => :'ara-only',
|
|
70
74
|
:'auto_pagination' => :'auto-pagination',
|
|
71
75
|
:'current_folder' => :'current-folder',
|
|
72
76
|
:'filter' => :'filter',
|
|
@@ -94,6 +98,7 @@ module Akeyless
|
|
|
94
98
|
{
|
|
95
99
|
:'accessibility' => :'String',
|
|
96
100
|
:'advanced_filter' => :'String',
|
|
101
|
+
:'ara_only' => :'Boolean',
|
|
97
102
|
:'auto_pagination' => :'String',
|
|
98
103
|
:'current_folder' => :'Boolean',
|
|
99
104
|
:'filter' => :'String',
|
|
@@ -142,6 +147,12 @@ module Akeyless
|
|
|
142
147
|
self.advanced_filter = attributes[:'advanced_filter']
|
|
143
148
|
end
|
|
144
149
|
|
|
150
|
+
if attributes.key?(:'ara_only')
|
|
151
|
+
self.ara_only = attributes[:'ara_only']
|
|
152
|
+
else
|
|
153
|
+
self.ara_only = false
|
|
154
|
+
end
|
|
155
|
+
|
|
145
156
|
if attributes.key?(:'auto_pagination')
|
|
146
157
|
self.auto_pagination = attributes[:'auto_pagination']
|
|
147
158
|
else
|
|
@@ -233,6 +244,7 @@ module Akeyless
|
|
|
233
244
|
self.class == o.class &&
|
|
234
245
|
accessibility == o.accessibility &&
|
|
235
246
|
advanced_filter == o.advanced_filter &&
|
|
247
|
+
ara_only == o.ara_only &&
|
|
236
248
|
auto_pagination == o.auto_pagination &&
|
|
237
249
|
current_folder == o.current_folder &&
|
|
238
250
|
filter == o.filter &&
|
|
@@ -258,7 +270,7 @@ module Akeyless
|
|
|
258
270
|
# Calculates hash code according to all attributes.
|
|
259
271
|
# @return [Integer] Hash code
|
|
260
272
|
def hash
|
|
261
|
-
[accessibility, advanced_filter, auto_pagination, current_folder, filter, json, minimal_view, modified_after, pagination_token, path, sra_only, sub_types, tag, token, type, uid_token].hash
|
|
273
|
+
[accessibility, advanced_filter, ara_only, auto_pagination, current_folder, filter, json, minimal_view, modified_after, pagination_token, path, sra_only, sub_types, tag, token, type, uid_token].hash
|
|
262
274
|
end
|
|
263
275
|
|
|
264
276
|
# Builds the object from hash
|