akeyless 5.0.17 → 5.0.19
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 +13 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/CertificateDiscovery.md +34 -0
- data/docs/CertificateDiscoveryOutput.md +18 -0
- data/docs/CertificateMigration.md +20 -0
- data/docs/CertificatePayload.md +30 -0
- data/docs/CertificateScanTarget.md +20 -0
- data/docs/CreateRole.md +5 -5
- data/docs/GatewayCreateMigration.md +7 -1
- data/docs/GatewayUpdateMigration.md +6 -0
- data/docs/ItemUSCSyncAssociation.md +2 -0
- data/docs/ListItems.md +2 -0
- data/docs/MigrationsConfigPart.md +2 -0
- data/docs/RotatedSecretCreateOpenAI.md +56 -0
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretSync.md +2 -0
- data/docs/RotatedSecretUpdateOpenAI.md +58 -0
- data/docs/RotatedSecretUpdateSsh.md +1 -1
- data/docs/ScanResults.md +32 -0
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/StaticSecretSync.md +2 -0
- data/docs/TargetError.md +22 -0
- data/docs/UpdateRole.md +5 -5
- data/docs/UscDelete.md +2 -0
- data/docs/UscSyncInfo.md +2 -0
- data/docs/V2Api.md +191 -2
- data/lib/akeyless/api/v2_api.rb +192 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/certificate_discovery.rb +318 -0
- data/lib/akeyless/models/certificate_discovery_output.rb +214 -0
- data/lib/akeyless/models/certificate_migration.rb +223 -0
- data/lib/akeyless/models/certificate_payload.rb +272 -0
- data/lib/akeyless/models/certificate_scan_target.rb +223 -0
- data/lib/akeyless/models/create_role.rb +5 -5
- data/lib/akeyless/models/gateway_create_migration.rb +43 -2
- data/lib/akeyless/models/gateway_update_migration.rb +42 -1
- data/lib/akeyless/models/item_usc_sync_association.rb +10 -1
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/migrations_config_part.rb +12 -1
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +437 -0
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +13 -1
- data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +437 -0
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
- data/lib/akeyless/models/scan_results.rb +282 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +13 -1
- data/lib/akeyless/models/static_secret_sync.rb +11 -1
- data/lib/akeyless/models/target_error.rb +233 -0
- data/lib/akeyless/models/update_role.rb +5 -5
- data/lib/akeyless/models/usc_delete.rb +11 -1
- data/lib/akeyless/models/usc_sync_info.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +9 -0
- data/spec/models/certificate_discovery_output_spec.rb +36 -0
- data/spec/models/certificate_discovery_spec.rb +84 -0
- data/spec/models/certificate_migration_spec.rb +42 -0
- data/spec/models/certificate_payload_spec.rb +72 -0
- data/spec/models/certificate_scan_target_spec.rb +42 -0
- data/spec/models/rotated_secret_create_open_ai_spec.rb +150 -0
- data/spec/models/rotated_secret_update_open_ai_spec.rb +156 -0
- data/spec/models/scan_results_spec.rb +78 -0
- data/spec/models/target_error_spec.rb +48 -0
- metadata +38 -2
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# uscDelete is a command that deletes a secret from a Universal Secrets Connector
|
|
18
18
|
class UscDelete
|
|
19
|
+
# Force delete objects that are soft deleted by default (relavent only for Azure target)
|
|
20
|
+
attr_accessor :force_delete
|
|
21
|
+
|
|
19
22
|
# Set output format to JSON
|
|
20
23
|
attr_accessor :json
|
|
21
24
|
|
|
@@ -37,6 +40,7 @@ module Akeyless
|
|
|
37
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
41
|
def self.attribute_map
|
|
39
42
|
{
|
|
43
|
+
:'force_delete' => :'force-delete',
|
|
40
44
|
:'json' => :'json',
|
|
41
45
|
:'namespace' => :'namespace',
|
|
42
46
|
:'secret_id' => :'secret-id',
|
|
@@ -54,6 +58,7 @@ module Akeyless
|
|
|
54
58
|
# Attribute type mapping.
|
|
55
59
|
def self.openapi_types
|
|
56
60
|
{
|
|
61
|
+
:'force_delete' => :'Boolean',
|
|
57
62
|
:'json' => :'Boolean',
|
|
58
63
|
:'namespace' => :'String',
|
|
59
64
|
:'secret_id' => :'String',
|
|
@@ -84,6 +89,10 @@ module Akeyless
|
|
|
84
89
|
h[k.to_sym] = v
|
|
85
90
|
}
|
|
86
91
|
|
|
92
|
+
if attributes.key?(:'force_delete')
|
|
93
|
+
self.force_delete = attributes[:'force_delete']
|
|
94
|
+
end
|
|
95
|
+
|
|
87
96
|
if attributes.key?(:'json')
|
|
88
97
|
self.json = attributes[:'json']
|
|
89
98
|
else
|
|
@@ -145,6 +154,7 @@ module Akeyless
|
|
|
145
154
|
def ==(o)
|
|
146
155
|
return true if self.equal?(o)
|
|
147
156
|
self.class == o.class &&
|
|
157
|
+
force_delete == o.force_delete &&
|
|
148
158
|
json == o.json &&
|
|
149
159
|
namespace == o.namespace &&
|
|
150
160
|
secret_id == o.secret_id &&
|
|
@@ -162,7 +172,7 @@ module Akeyless
|
|
|
162
172
|
# Calculates hash code according to all attributes.
|
|
163
173
|
# @return [Integer] Hash code
|
|
164
174
|
def hash
|
|
165
|
-
[json, namespace, secret_id, token, uid_token, usc_name].hash
|
|
175
|
+
[force_delete, json, namespace, secret_id, token, uid_token, usc_name].hash
|
|
166
176
|
end
|
|
167
177
|
|
|
168
178
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UscSyncInfo
|
|
18
|
+
attr_accessor :delete_remote
|
|
19
|
+
|
|
18
20
|
attr_accessor :jq_secret_filter
|
|
19
21
|
|
|
20
22
|
attr_accessor :last_error
|
|
@@ -28,6 +30,7 @@ module Akeyless
|
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
33
|
+
:'delete_remote' => :'delete_remote',
|
|
31
34
|
:'jq_secret_filter' => :'jq_secret_filter',
|
|
32
35
|
:'last_error' => :'last_error',
|
|
33
36
|
:'namespace' => :'namespace',
|
|
@@ -44,6 +47,7 @@ module Akeyless
|
|
|
44
47
|
# Attribute type mapping.
|
|
45
48
|
def self.openapi_types
|
|
46
49
|
{
|
|
50
|
+
:'delete_remote' => :'Boolean',
|
|
47
51
|
:'jq_secret_filter' => :'String',
|
|
48
52
|
:'last_error' => :'String',
|
|
49
53
|
:'namespace' => :'String',
|
|
@@ -73,6 +77,10 @@ module Akeyless
|
|
|
73
77
|
h[k.to_sym] = v
|
|
74
78
|
}
|
|
75
79
|
|
|
80
|
+
if attributes.key?(:'delete_remote')
|
|
81
|
+
self.delete_remote = attributes[:'delete_remote']
|
|
82
|
+
end
|
|
83
|
+
|
|
76
84
|
if attributes.key?(:'jq_secret_filter')
|
|
77
85
|
self.jq_secret_filter = attributes[:'jq_secret_filter']
|
|
78
86
|
end
|
|
@@ -114,6 +122,7 @@ module Akeyless
|
|
|
114
122
|
def ==(o)
|
|
115
123
|
return true if self.equal?(o)
|
|
116
124
|
self.class == o.class &&
|
|
125
|
+
delete_remote == o.delete_remote &&
|
|
117
126
|
jq_secret_filter == o.jq_secret_filter &&
|
|
118
127
|
last_error == o.last_error &&
|
|
119
128
|
namespace == o.namespace &&
|
|
@@ -130,7 +139,7 @@ module Akeyless
|
|
|
130
139
|
# Calculates hash code according to all attributes.
|
|
131
140
|
# @return [Integer] Hash code
|
|
132
141
|
def hash
|
|
133
|
-
[jq_secret_filter, last_error, namespace, secret_id, secret_name].hash
|
|
142
|
+
[delete_remote, jq_secret_filter, last_error, namespace, secret_id, secret_name].hash
|
|
134
143
|
end
|
|
135
144
|
|
|
136
145
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -117,10 +117,15 @@ require 'akeyless/models/calc_password_security_info'
|
|
|
117
117
|
require 'akeyless/models/cert_access_rules'
|
|
118
118
|
require 'akeyless/models/certificate_analytic_aggregation'
|
|
119
119
|
require 'akeyless/models/certificate_chain_info'
|
|
120
|
+
require 'akeyless/models/certificate_discovery'
|
|
121
|
+
require 'akeyless/models/certificate_discovery_output'
|
|
120
122
|
require 'akeyless/models/certificate_expiration_event'
|
|
121
123
|
require 'akeyless/models/certificate_expiration_events_settings'
|
|
122
124
|
require 'akeyless/models/certificate_info'
|
|
123
125
|
require 'akeyless/models/certificate_issue_info'
|
|
126
|
+
require 'akeyless/models/certificate_migration'
|
|
127
|
+
require 'akeyless/models/certificate_payload'
|
|
128
|
+
require 'akeyless/models/certificate_scan_target'
|
|
124
129
|
require 'akeyless/models/certificate_store'
|
|
125
130
|
require 'akeyless/models/certificate_template_info'
|
|
126
131
|
require 'akeyless/models/certificate_version_info'
|
|
@@ -844,6 +849,7 @@ require 'akeyless/models/rotated_secret_create_ldap'
|
|
|
844
849
|
require 'akeyless/models/rotated_secret_create_mongodb'
|
|
845
850
|
require 'akeyless/models/rotated_secret_create_mssql'
|
|
846
851
|
require 'akeyless/models/rotated_secret_create_mysql'
|
|
852
|
+
require 'akeyless/models/rotated_secret_create_open_ai'
|
|
847
853
|
require 'akeyless/models/rotated_secret_create_oracledb'
|
|
848
854
|
require 'akeyless/models/rotated_secret_create_output'
|
|
849
855
|
require 'akeyless/models/rotated_secret_create_postgresql'
|
|
@@ -871,6 +877,7 @@ require 'akeyless/models/rotated_secret_update_ldap'
|
|
|
871
877
|
require 'akeyless/models/rotated_secret_update_mongodb'
|
|
872
878
|
require 'akeyless/models/rotated_secret_update_mssql'
|
|
873
879
|
require 'akeyless/models/rotated_secret_update_mysql'
|
|
880
|
+
require 'akeyless/models/rotated_secret_update_open_ai'
|
|
874
881
|
require 'akeyless/models/rotated_secret_update_oracledb'
|
|
875
882
|
require 'akeyless/models/rotated_secret_update_output'
|
|
876
883
|
require 'akeyless/models/rotated_secret_update_postgresql'
|
|
@@ -889,6 +896,7 @@ require 'akeyless/models/saml_attribute'
|
|
|
889
896
|
require 'akeyless/models/ssh_certificate_issue_details'
|
|
890
897
|
require 'akeyless/models/ssh_target_details'
|
|
891
898
|
require 'akeyless/models/salesforce_target_details'
|
|
899
|
+
require 'akeyless/models/scan_results'
|
|
892
900
|
require 'akeyless/models/secret_info'
|
|
893
901
|
require 'akeyless/models/secret_sync_output'
|
|
894
902
|
require 'akeyless/models/sectigo_target_details'
|
|
@@ -963,6 +971,7 @@ require 'akeyless/models/target_create_web'
|
|
|
963
971
|
require 'akeyless/models/target_create_windows'
|
|
964
972
|
require 'akeyless/models/target_create_zero_ssl'
|
|
965
973
|
require 'akeyless/models/target_delete'
|
|
974
|
+
require 'akeyless/models/target_error'
|
|
966
975
|
require 'akeyless/models/target_get'
|
|
967
976
|
require 'akeyless/models/target_get_details'
|
|
968
977
|
require 'akeyless/models/target_item_association'
|
|
@@ -0,0 +1,36 @@
|
|
|
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::CertificateDiscoveryOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateDiscoveryOutput do
|
|
21
|
+
let(:instance) { Akeyless::CertificateDiscoveryOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateDiscoveryOutput' do
|
|
24
|
+
it 'should create an instance of CertificateDiscoveryOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::CertificateDiscoveryOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "results"' 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
|
+
end
|
|
@@ -0,0 +1,84 @@
|
|
|
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::CertificateDiscovery
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateDiscovery do
|
|
21
|
+
let(:instance) { Akeyless::CertificateDiscovery.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateDiscovery' do
|
|
24
|
+
it 'should create an instance of CertificateDiscovery' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::CertificateDiscovery)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "debug"' 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 "expiration_event_in"' 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
|
+
describe 'test attribute "hosts"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "json"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "port_ranges"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "protection_key"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "target_location"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "token"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "uid_token"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
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::CertificateMigration
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateMigration do
|
|
21
|
+
let(:instance) { Akeyless::CertificateMigration.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateMigration' do
|
|
24
|
+
it 'should create an instance of CertificateMigration' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::CertificateMigration)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "general"' 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 "payload"' 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,72 @@
|
|
|
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::CertificatePayload
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificatePayload do
|
|
21
|
+
let(:instance) { Akeyless::CertificatePayload.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificatePayload' do
|
|
24
|
+
it 'should create an instance of CertificatePayload' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::CertificatePayload)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "expiration_events"' 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 "folder"' 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
|
+
describe 'test attribute "max_dial_timeout"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "max_scan_duration"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "max_workers"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "port_ranges"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "targets"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
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::CertificateScanTarget
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateScanTarget do
|
|
21
|
+
let(:instance) { Akeyless::CertificateScanTarget.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateScanTarget' do
|
|
24
|
+
it 'should create an instance of CertificateScanTarget' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::CertificateScanTarget)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "host"' 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 "port_ranges"' 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,150 @@
|
|
|
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::RotatedSecretCreateOpenAI
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::RotatedSecretCreateOpenAI do
|
|
21
|
+
let(:instance) { Akeyless::RotatedSecretCreateOpenAI.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RotatedSecretCreateOpenAI' do
|
|
24
|
+
it 'should create an instance of RotatedSecretCreateOpenAI' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::RotatedSecretCreateOpenAI)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "api_key"' 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 "api_key_id"' 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
|
+
describe 'test attribute "authentication_credentials"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "auto_rotate"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "delete_protection"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "description"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "item_custom_fields"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "json"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "key"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "max_versions"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "name"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "password_length"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "rotation_event_in"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "rotation_hour"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "rotation_interval"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "rotator_type"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "tags"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "target_name"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "token"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "uid_token"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
end
|