akeyless 3.3.17 → 3.3.18
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 +2 -2
- data/docs/V2Api.md +63 -60
- data/lib/akeyless/api/v2_api.rb +64 -53
- data/lib/akeyless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1cde8d54ecc540a9095b0cc055b9b44bc88722cffc4ec392ca79a83771948c07
|
|
4
|
+
data.tar.gz: ad91e4471f44af6b8c34e59f3ded1b431ad23a8a5be3b334f9ff26f55cf1d12b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 601f48c90061d0b5098acddb22639608db4e3222e6b332bb909bb6e1fb3a59a88d4017aab29586e62d432999b40a250cb642e404776de7428389cce3477ce4a6
|
|
7
|
+
data.tar.gz: 906284aae202e15698639ae4fc2c48314c288c73604d56a25315e46d1327dbe8f3e4a437baaa36d43d3c6f0fc9f6efb79c4aa614eba2564e26f4cd04e6c72650
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0
|
|
10
|
-
- Package version: 3.3.
|
|
10
|
+
- Package version: 3.3.18
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
|
13
13
|
|
|
@@ -239,6 +239,7 @@ Class | Method | HTTP request | Description
|
|
|
239
239
|
*Akeyless::V2Api* | [**get_event_forwarder**](docs/V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder |
|
|
240
240
|
*Akeyless::V2Api* | [**get_group**](docs/V2Api.md#get_group) | **POST** /get-group |
|
|
241
241
|
*Akeyless::V2Api* | [**get_kube_exec_creds**](docs/V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds |
|
|
242
|
+
*Akeyless::V2Api* | [**get_last_user_event_status**](docs/V2Api.md#get_last_user_event_status) | **POST** /user-event-last-status |
|
|
242
243
|
*Akeyless::V2Api* | [**get_pki_certificate**](docs/V2Api.md#get_pki_certificate) | **POST** /get-pki-certificate |
|
|
243
244
|
*Akeyless::V2Api* | [**get_role**](docs/V2Api.md#get_role) | **POST** /get-role |
|
|
244
245
|
*Akeyless::V2Api* | [**get_rotated_secret_value**](docs/V2Api.md#get_rotated_secret_value) | **POST** /get-rotated-secret-value |
|
|
@@ -248,7 +249,6 @@ Class | Method | HTTP request | Description
|
|
|
248
249
|
*Akeyless::V2Api* | [**get_tags**](docs/V2Api.md#get_tags) | **POST** /get-tags |
|
|
249
250
|
*Akeyless::V2Api* | [**get_target**](docs/V2Api.md#get_target) | **POST** /get-target |
|
|
250
251
|
*Akeyless::V2Api* | [**get_target_details**](docs/V2Api.md#get_target_details) | **POST** /get-target-details |
|
|
251
|
-
*Akeyless::V2Api* | [**get_user_last_event_status**](docs/V2Api.md#get_user_last_event_status) | **POST** /user-event-last-status |
|
|
252
252
|
*Akeyless::V2Api* | [**hmac**](docs/V2Api.md#hmac) | **POST** /hmac |
|
|
253
253
|
*Akeyless::V2Api* | [**import_passwords**](docs/V2Api.md#import_passwords) | **POST** /import-passwords |
|
|
254
254
|
*Akeyless::V2Api* | [**kmip_client_delete_rule**](docs/V2Api.md#kmip_client_delete_rule) | **POST** /kmip-client-delete-rule |
|
data/docs/V2Api.md
CHANGED
|
@@ -184,6 +184,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
184
184
|
| [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
|
|
185
185
|
| [**get_group**](V2Api.md#get_group) | **POST** /get-group | |
|
|
186
186
|
| [**get_kube_exec_creds**](V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds | |
|
|
187
|
+
| [**get_last_user_event_status**](V2Api.md#get_last_user_event_status) | **POST** /user-event-last-status | |
|
|
187
188
|
| [**get_pki_certificate**](V2Api.md#get_pki_certificate) | **POST** /get-pki-certificate | |
|
|
188
189
|
| [**get_role**](V2Api.md#get_role) | **POST** /get-role | |
|
|
189
190
|
| [**get_rotated_secret_value**](V2Api.md#get_rotated_secret_value) | **POST** /get-rotated-secret-value | |
|
|
@@ -193,7 +194,6 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
193
194
|
| [**get_tags**](V2Api.md#get_tags) | **POST** /get-tags | |
|
|
194
195
|
| [**get_target**](V2Api.md#get_target) | **POST** /get-target | |
|
|
195
196
|
| [**get_target_details**](V2Api.md#get_target_details) | **POST** /get-target-details | |
|
|
196
|
-
| [**get_user_last_event_status**](V2Api.md#get_user_last_event_status) | **POST** /user-event-last-status | |
|
|
197
197
|
| [**hmac**](V2Api.md#hmac) | **POST** /hmac | |
|
|
198
198
|
| [**import_passwords**](V2Api.md#import_passwords) | **POST** /import-passwords | |
|
|
199
199
|
| [**kmip_client_delete_rule**](V2Api.md#kmip_client_delete_rule) | **POST** /kmip-client-delete-rule | |
|
|
@@ -11463,6 +11463,68 @@ No authorization required
|
|
|
11463
11463
|
- **Accept**: application/json
|
|
11464
11464
|
|
|
11465
11465
|
|
|
11466
|
+
## get_last_user_event_status
|
|
11467
|
+
|
|
11468
|
+
> <GetUserEventStatusOutput> get_last_user_event_status(body)
|
|
11469
|
+
|
|
11470
|
+
|
|
11471
|
+
|
|
11472
|
+
### Examples
|
|
11473
|
+
|
|
11474
|
+
```ruby
|
|
11475
|
+
require 'time'
|
|
11476
|
+
require 'akeyless'
|
|
11477
|
+
|
|
11478
|
+
api_instance = Akeyless::V2Api.new
|
|
11479
|
+
body = Akeyless::GetLastUserEventStatus.new({event_type: 'event_type_example', item_name: 'item_name_example', item_type: 'item_type_example'}) # GetLastUserEventStatus |
|
|
11480
|
+
|
|
11481
|
+
begin
|
|
11482
|
+
|
|
11483
|
+
result = api_instance.get_last_user_event_status(body)
|
|
11484
|
+
p result
|
|
11485
|
+
rescue Akeyless::ApiError => e
|
|
11486
|
+
puts "Error when calling V2Api->get_last_user_event_status: #{e}"
|
|
11487
|
+
end
|
|
11488
|
+
```
|
|
11489
|
+
|
|
11490
|
+
#### Using the get_last_user_event_status_with_http_info variant
|
|
11491
|
+
|
|
11492
|
+
This returns an Array which contains the response data, status code and headers.
|
|
11493
|
+
|
|
11494
|
+
> <Array(<GetUserEventStatusOutput>, Integer, Hash)> get_last_user_event_status_with_http_info(body)
|
|
11495
|
+
|
|
11496
|
+
```ruby
|
|
11497
|
+
begin
|
|
11498
|
+
|
|
11499
|
+
data, status_code, headers = api_instance.get_last_user_event_status_with_http_info(body)
|
|
11500
|
+
p status_code # => 2xx
|
|
11501
|
+
p headers # => { ... }
|
|
11502
|
+
p data # => <GetUserEventStatusOutput>
|
|
11503
|
+
rescue Akeyless::ApiError => e
|
|
11504
|
+
puts "Error when calling V2Api->get_last_user_event_status_with_http_info: #{e}"
|
|
11505
|
+
end
|
|
11506
|
+
```
|
|
11507
|
+
|
|
11508
|
+
### Parameters
|
|
11509
|
+
|
|
11510
|
+
| Name | Type | Description | Notes |
|
|
11511
|
+
| ---- | ---- | ----------- | ----- |
|
|
11512
|
+
| **body** | [**GetLastUserEventStatus**](GetLastUserEventStatus.md) | | |
|
|
11513
|
+
|
|
11514
|
+
### Return type
|
|
11515
|
+
|
|
11516
|
+
[**GetUserEventStatusOutput**](GetUserEventStatusOutput.md)
|
|
11517
|
+
|
|
11518
|
+
### Authorization
|
|
11519
|
+
|
|
11520
|
+
No authorization required
|
|
11521
|
+
|
|
11522
|
+
### HTTP request headers
|
|
11523
|
+
|
|
11524
|
+
- **Content-Type**: application/json
|
|
11525
|
+
- **Accept**: application/json
|
|
11526
|
+
|
|
11527
|
+
|
|
11466
11528
|
## get_pki_certificate
|
|
11467
11529
|
|
|
11468
11530
|
> <GetPKICertificateOutput> get_pki_certificate(body)
|
|
@@ -12021,65 +12083,6 @@ No authorization required
|
|
|
12021
12083
|
- **Accept**: application/json
|
|
12022
12084
|
|
|
12023
12085
|
|
|
12024
|
-
## get_user_last_event_status
|
|
12025
|
-
|
|
12026
|
-
> <GetUserEventStatusOutput> get_user_last_event_status
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
### Examples
|
|
12031
|
-
|
|
12032
|
-
```ruby
|
|
12033
|
-
require 'time'
|
|
12034
|
-
require 'akeyless'
|
|
12035
|
-
|
|
12036
|
-
api_instance = Akeyless::V2Api.new
|
|
12037
|
-
|
|
12038
|
-
begin
|
|
12039
|
-
|
|
12040
|
-
result = api_instance.get_user_last_event_status
|
|
12041
|
-
p result
|
|
12042
|
-
rescue Akeyless::ApiError => e
|
|
12043
|
-
puts "Error when calling V2Api->get_user_last_event_status: #{e}"
|
|
12044
|
-
end
|
|
12045
|
-
```
|
|
12046
|
-
|
|
12047
|
-
#### Using the get_user_last_event_status_with_http_info variant
|
|
12048
|
-
|
|
12049
|
-
This returns an Array which contains the response data, status code and headers.
|
|
12050
|
-
|
|
12051
|
-
> <Array(<GetUserEventStatusOutput>, Integer, Hash)> get_user_last_event_status_with_http_info
|
|
12052
|
-
|
|
12053
|
-
```ruby
|
|
12054
|
-
begin
|
|
12055
|
-
|
|
12056
|
-
data, status_code, headers = api_instance.get_user_last_event_status_with_http_info
|
|
12057
|
-
p status_code # => 2xx
|
|
12058
|
-
p headers # => { ... }
|
|
12059
|
-
p data # => <GetUserEventStatusOutput>
|
|
12060
|
-
rescue Akeyless::ApiError => e
|
|
12061
|
-
puts "Error when calling V2Api->get_user_last_event_status_with_http_info: #{e}"
|
|
12062
|
-
end
|
|
12063
|
-
```
|
|
12064
|
-
|
|
12065
|
-
### Parameters
|
|
12066
|
-
|
|
12067
|
-
This endpoint does not need any parameter.
|
|
12068
|
-
|
|
12069
|
-
### Return type
|
|
12070
|
-
|
|
12071
|
-
[**GetUserEventStatusOutput**](GetUserEventStatusOutput.md)
|
|
12072
|
-
|
|
12073
|
-
### Authorization
|
|
12074
|
-
|
|
12075
|
-
No authorization required
|
|
12076
|
-
|
|
12077
|
-
### HTTP request headers
|
|
12078
|
-
|
|
12079
|
-
- **Content-Type**: Not defined
|
|
12080
|
-
- **Accept**: application/json
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
12086
|
## hmac
|
|
12084
12087
|
|
|
12085
12088
|
> <HmacOutput> hmac(body)
|
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -11505,6 +11505,70 @@ module Akeyless
|
|
|
11505
11505
|
return data, status_code, headers
|
|
11506
11506
|
end
|
|
11507
11507
|
|
|
11508
|
+
# @param body [GetLastUserEventStatus]
|
|
11509
|
+
# @param [Hash] opts the optional parameters
|
|
11510
|
+
# @return [GetUserEventStatusOutput]
|
|
11511
|
+
def get_last_user_event_status(body, opts = {})
|
|
11512
|
+
data, _status_code, _headers = get_last_user_event_status_with_http_info(body, opts)
|
|
11513
|
+
data
|
|
11514
|
+
end
|
|
11515
|
+
|
|
11516
|
+
# @param body [GetLastUserEventStatus]
|
|
11517
|
+
# @param [Hash] opts the optional parameters
|
|
11518
|
+
# @return [Array<(GetUserEventStatusOutput, Integer, Hash)>] GetUserEventStatusOutput data, response status code and response headers
|
|
11519
|
+
def get_last_user_event_status_with_http_info(body, opts = {})
|
|
11520
|
+
if @api_client.config.debugging
|
|
11521
|
+
@api_client.config.logger.debug 'Calling API: V2Api.get_last_user_event_status ...'
|
|
11522
|
+
end
|
|
11523
|
+
# verify the required parameter 'body' is set
|
|
11524
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
11525
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.get_last_user_event_status"
|
|
11526
|
+
end
|
|
11527
|
+
# resource path
|
|
11528
|
+
local_var_path = '/user-event-last-status'
|
|
11529
|
+
|
|
11530
|
+
# query parameters
|
|
11531
|
+
query_params = opts[:query_params] || {}
|
|
11532
|
+
|
|
11533
|
+
# header parameters
|
|
11534
|
+
header_params = opts[:header_params] || {}
|
|
11535
|
+
# HTTP header 'Accept' (if needed)
|
|
11536
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
11537
|
+
# HTTP header 'Content-Type'
|
|
11538
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
11539
|
+
if !content_type.nil?
|
|
11540
|
+
header_params['Content-Type'] = content_type
|
|
11541
|
+
end
|
|
11542
|
+
|
|
11543
|
+
# form parameters
|
|
11544
|
+
form_params = opts[:form_params] || {}
|
|
11545
|
+
|
|
11546
|
+
# http body (model)
|
|
11547
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
11548
|
+
|
|
11549
|
+
# return_type
|
|
11550
|
+
return_type = opts[:debug_return_type] || 'GetUserEventStatusOutput'
|
|
11551
|
+
|
|
11552
|
+
# auth_names
|
|
11553
|
+
auth_names = opts[:debug_auth_names] || []
|
|
11554
|
+
|
|
11555
|
+
new_options = opts.merge(
|
|
11556
|
+
:operation => :"V2Api.get_last_user_event_status",
|
|
11557
|
+
:header_params => header_params,
|
|
11558
|
+
:query_params => query_params,
|
|
11559
|
+
:form_params => form_params,
|
|
11560
|
+
:body => post_body,
|
|
11561
|
+
:auth_names => auth_names,
|
|
11562
|
+
:return_type => return_type
|
|
11563
|
+
)
|
|
11564
|
+
|
|
11565
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
11566
|
+
if @api_client.config.debugging
|
|
11567
|
+
@api_client.config.logger.debug "API called: V2Api#get_last_user_event_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11568
|
+
end
|
|
11569
|
+
return data, status_code, headers
|
|
11570
|
+
end
|
|
11571
|
+
|
|
11508
11572
|
# @param body [GetPKICertificate]
|
|
11509
11573
|
# @param [Hash] opts the optional parameters
|
|
11510
11574
|
# @return [GetPKICertificateOutput]
|
|
@@ -12081,59 +12145,6 @@ module Akeyless
|
|
|
12081
12145
|
return data, status_code, headers
|
|
12082
12146
|
end
|
|
12083
12147
|
|
|
12084
|
-
# @param [Hash] opts the optional parameters
|
|
12085
|
-
# @return [GetUserEventStatusOutput]
|
|
12086
|
-
def get_user_last_event_status(opts = {})
|
|
12087
|
-
data, _status_code, _headers = get_user_last_event_status_with_http_info(opts)
|
|
12088
|
-
data
|
|
12089
|
-
end
|
|
12090
|
-
|
|
12091
|
-
# @param [Hash] opts the optional parameters
|
|
12092
|
-
# @return [Array<(GetUserEventStatusOutput, Integer, Hash)>] GetUserEventStatusOutput data, response status code and response headers
|
|
12093
|
-
def get_user_last_event_status_with_http_info(opts = {})
|
|
12094
|
-
if @api_client.config.debugging
|
|
12095
|
-
@api_client.config.logger.debug 'Calling API: V2Api.get_user_last_event_status ...'
|
|
12096
|
-
end
|
|
12097
|
-
# resource path
|
|
12098
|
-
local_var_path = '/user-event-last-status'
|
|
12099
|
-
|
|
12100
|
-
# query parameters
|
|
12101
|
-
query_params = opts[:query_params] || {}
|
|
12102
|
-
|
|
12103
|
-
# header parameters
|
|
12104
|
-
header_params = opts[:header_params] || {}
|
|
12105
|
-
# HTTP header 'Accept' (if needed)
|
|
12106
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
12107
|
-
|
|
12108
|
-
# form parameters
|
|
12109
|
-
form_params = opts[:form_params] || {}
|
|
12110
|
-
|
|
12111
|
-
# http body (model)
|
|
12112
|
-
post_body = opts[:debug_body]
|
|
12113
|
-
|
|
12114
|
-
# return_type
|
|
12115
|
-
return_type = opts[:debug_return_type] || 'GetUserEventStatusOutput'
|
|
12116
|
-
|
|
12117
|
-
# auth_names
|
|
12118
|
-
auth_names = opts[:debug_auth_names] || []
|
|
12119
|
-
|
|
12120
|
-
new_options = opts.merge(
|
|
12121
|
-
:operation => :"V2Api.get_user_last_event_status",
|
|
12122
|
-
:header_params => header_params,
|
|
12123
|
-
:query_params => query_params,
|
|
12124
|
-
:form_params => form_params,
|
|
12125
|
-
:body => post_body,
|
|
12126
|
-
:auth_names => auth_names,
|
|
12127
|
-
:return_type => return_type
|
|
12128
|
-
)
|
|
12129
|
-
|
|
12130
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
12131
|
-
if @api_client.config.debugging
|
|
12132
|
-
@api_client.config.logger.debug "API called: V2Api#get_user_last_event_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12133
|
-
end
|
|
12134
|
-
return data, status_code, headers
|
|
12135
|
-
end
|
|
12136
|
-
|
|
12137
12148
|
# @param body [Hmac]
|
|
12138
12149
|
# @param [Hash] opts the optional parameters
|
|
12139
12150
|
# @return [HmacOutput]
|
data/lib/akeyless/version.rb
CHANGED