akeyless 5.0.18 → 5.0.20
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 +9 -1
- 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/CertificateStore.md +2 -0
- data/docs/CreateRole.md +5 -5
- data/docs/CreateUSC.md +2 -0
- data/docs/GatewayCreateMigration.md +7 -1
- data/docs/GatewayUpdateMigration.md +6 -0
- data/docs/GatewayUpdateTlsCert.md +2 -0
- data/docs/GeneralConfigPart.md +6 -0
- data/docs/GetKubeExecCreds.md +1 -1
- data/docs/GetPKICertificate.md +1 -1
- data/docs/MigrationsConfigPart.md +2 -0
- data/docs/ScanResults.md +32 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/TargetError.md +22 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UpdateRole.md +5 -5
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +2 -0
- data/docs/V2Api.md +65 -2
- data/lib/akeyless/api/v2_api.rb +64 -0
- 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/certificate_store.rb +12 -1
- data/lib/akeyless/models/create_role.rb +5 -5
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/gateway_create_migration.rb +43 -2
- data/lib/akeyless/models/gateway_update_migration.rb +42 -1
- data/lib/akeyless/models/gateway_update_tls_cert.rb +13 -1
- data/lib/akeyless/models/general_config_part.rb +30 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
- data/lib/akeyless/models/get_pki_certificate.rb +1 -1
- data/lib/akeyless/models/migrations_config_part.rb +12 -1
- data/lib/akeyless/models/scan_results.rb +282 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/target_error.rb +233 -0
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/models/update_role.rb +5 -5
- data/lib/akeyless/models/usc_create.rb +11 -1
- data/lib/akeyless/models/usc_delete.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +7 -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/scan_results_spec.rb +78 -0
- data/spec/models/target_error_spec.rb +48 -0
- metadata +30 -2
|
@@ -18,7 +18,7 @@ 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 audit logs. Currently only 'none', 'own' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
|
|
21
|
+
# 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
22
|
attr_accessor :audit_access
|
|
23
23
|
|
|
24
24
|
# Protection from accidental deletion of this object [true/false]
|
|
@@ -27,13 +27,13 @@ module Akeyless
|
|
|
27
27
|
# Description of the object
|
|
28
28
|
attr_accessor :description
|
|
29
29
|
|
|
30
|
-
# Allow this role to view Event Center. Currently only 'none', '
|
|
30
|
+
# Allow this role to view Event Center. Currently only 'none', 'scoped' and 'all' values are supported
|
|
31
31
|
attr_accessor :event_center_access
|
|
32
32
|
|
|
33
33
|
# Allow this role to manage Event Forwarders. Currently only 'none' and 'all' values are supported.
|
|
34
34
|
attr_accessor :event_forwarder_access
|
|
35
35
|
|
|
36
|
-
# Allow this role to view gw analytics. Currently only 'none', '
|
|
36
|
+
# Allow this role to view gw analytics. Currently only 'none', 'scoped', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
|
|
37
37
|
attr_accessor :gw_analytics_access
|
|
38
38
|
|
|
39
39
|
# Set output format to JSON
|
|
@@ -48,10 +48,10 @@ module Akeyless
|
|
|
48
48
|
# New Role name
|
|
49
49
|
attr_accessor :new_name
|
|
50
50
|
|
|
51
|
-
# Allow this role to view Reverse RBAC. Supported values: '
|
|
51
|
+
# Allow this role to view Reverse RBAC. Supported values: 'scoped', 'all'.
|
|
52
52
|
attr_accessor :reverse_rbac_access
|
|
53
53
|
|
|
54
|
-
# Allow this role to view SRA Clusters. Currently only 'none', '
|
|
54
|
+
# Allow this role to view SRA Clusters. Currently only 'none', 'scoped', 'all' values are supported.
|
|
55
55
|
attr_accessor :sra_reports_access
|
|
56
56
|
|
|
57
57
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -33,6 +33,9 @@ module Akeyless
|
|
|
33
33
|
# Optional, the passphrase that protects the private key within the pfx certificate (Relevant only for Azure KV certificates)
|
|
34
34
|
attr_accessor :pfx_password
|
|
35
35
|
|
|
36
|
+
# Optional, create secret in a specific region (GCP only). If empty, a global secret will be created (provider default).
|
|
37
|
+
attr_accessor :region
|
|
38
|
+
|
|
36
39
|
# Name for the new universal secrets
|
|
37
40
|
attr_accessor :secret_name
|
|
38
41
|
|
|
@@ -63,6 +66,7 @@ module Akeyless
|
|
|
63
66
|
:'namespace' => :'namespace',
|
|
64
67
|
:'object_type' => :'object-type',
|
|
65
68
|
:'pfx_password' => :'pfx-password',
|
|
69
|
+
:'region' => :'region',
|
|
66
70
|
:'secret_name' => :'secret-name',
|
|
67
71
|
:'tags' => :'tags',
|
|
68
72
|
:'token' => :'token',
|
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
|
87
91
|
:'namespace' => :'String',
|
|
88
92
|
:'object_type' => :'String',
|
|
89
93
|
:'pfx_password' => :'String',
|
|
94
|
+
:'region' => :'String',
|
|
90
95
|
:'secret_name' => :'String',
|
|
91
96
|
:'tags' => :'Hash<String, String>',
|
|
92
97
|
:'token' => :'String',
|
|
@@ -144,6 +149,10 @@ module Akeyless
|
|
|
144
149
|
self.pfx_password = attributes[:'pfx_password']
|
|
145
150
|
end
|
|
146
151
|
|
|
152
|
+
if attributes.key?(:'region')
|
|
153
|
+
self.region = attributes[:'region']
|
|
154
|
+
end
|
|
155
|
+
|
|
147
156
|
if attributes.key?(:'secret_name')
|
|
148
157
|
self.secret_name = attributes[:'secret_name']
|
|
149
158
|
else
|
|
@@ -222,6 +231,7 @@ module Akeyless
|
|
|
222
231
|
namespace == o.namespace &&
|
|
223
232
|
object_type == o.object_type &&
|
|
224
233
|
pfx_password == o.pfx_password &&
|
|
234
|
+
region == o.region &&
|
|
225
235
|
secret_name == o.secret_name &&
|
|
226
236
|
tags == o.tags &&
|
|
227
237
|
token == o.token &&
|
|
@@ -240,7 +250,7 @@ module Akeyless
|
|
|
240
250
|
# Calculates hash code according to all attributes.
|
|
241
251
|
# @return [Integer] Hash code
|
|
242
252
|
def hash
|
|
243
|
-
[binary_value, description, json, namespace, object_type, pfx_password, secret_name, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
253
|
+
[binary_value, description, json, namespace, object_type, pfx_password, region, secret_name, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
244
254
|
end
|
|
245
255
|
|
|
246
256
|
# Builds the object from hash
|
|
@@ -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
|
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'
|
|
@@ -891,6 +896,7 @@ require 'akeyless/models/saml_attribute'
|
|
|
891
896
|
require 'akeyless/models/ssh_certificate_issue_details'
|
|
892
897
|
require 'akeyless/models/ssh_target_details'
|
|
893
898
|
require 'akeyless/models/salesforce_target_details'
|
|
899
|
+
require 'akeyless/models/scan_results'
|
|
894
900
|
require 'akeyless/models/secret_info'
|
|
895
901
|
require 'akeyless/models/secret_sync_output'
|
|
896
902
|
require 'akeyless/models/sectigo_target_details'
|
|
@@ -965,6 +971,7 @@ require 'akeyless/models/target_create_web'
|
|
|
965
971
|
require 'akeyless/models/target_create_windows'
|
|
966
972
|
require 'akeyless/models/target_create_zero_ssl'
|
|
967
973
|
require 'akeyless/models/target_delete'
|
|
974
|
+
require 'akeyless/models/target_error'
|
|
968
975
|
require 'akeyless/models/target_get'
|
|
969
976
|
require 'akeyless/models/target_get_details'
|
|
970
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,78 @@
|
|
|
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::ScanResults
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::ScanResults do
|
|
21
|
+
let(:instance) { Akeyless::ScanResults.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ScanResults' do
|
|
24
|
+
it 'should create an instance of ScanResults' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::ScanResults)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "count_existing"' 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 "count_failed"' 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 "count_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 "count_new"' 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 "count_subdomains"' 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 "error"' 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 "failed_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
|
+
describe 'test attribute "item_names"' 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
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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::TargetError
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::TargetError do
|
|
21
|
+
let(:instance) { Akeyless::TargetError.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of TargetError' do
|
|
24
|
+
it 'should create an instance of TargetError' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::TargetError)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "error"' 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 "host"' 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 "port"' 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
|
+
end
|