akeyless 3.3.9 → 3.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/CertificateChainInfo.md +2 -0
- data/docs/ElasticsearchLogForwardingConfig.md +4 -0
- data/docs/LogForwardingConfigPart.md +2 -0
- data/docs/LogstashLogForwardingConfig.md +5 -1
- data/docs/SplunkLogForwardingConfig.md +4 -0
- data/docs/SumologicLogForwardingConfig.md +22 -0
- data/docs/SyslogLogForwardingConfig.md +5 -1
- data/docs/UpdateAccountSettings.md +2 -0
- data/lib/akeyless/models/account_general_settings.rb +21 -1
- data/lib/akeyless/models/certificate_chain_info.rb +10 -1
- data/lib/akeyless/models/elasticsearch_log_forwarding_config.rb +19 -1
- data/lib/akeyless/models/log_forwarding_config_part.rb +10 -1
- data/lib/akeyless/models/logstash_log_forwarding_config.rb +22 -4
- data/lib/akeyless/models/splunk_log_forwarding_config.rb +19 -1
- data/lib/akeyless/models/sumologic_log_forwarding_config.rb +237 -0
- data/lib/akeyless/models/syslog_log_forwarding_config.rb +22 -4
- data/lib/akeyless/models/update_account_settings.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +1 -0
- data/spec/models/sumologic_log_forwarding_config_spec.rb +46 -0
- metadata +626 -622
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51b13d8fe2397378d01832f43a5e5979748190ef983b36bb95ad80aefdd69183
|
4
|
+
data.tar.gz: 24be0cba026670619fd233683184b1507b8918025e7177edbf5fd497fba1ea1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d3b33f0a024de923bf68aa8b4b7d2abf304e6cef9ab5a4f7124877752b7d936276948dbef7739b6815092b023b689bed87d0885879c9da4413efce3f95576d
|
7
|
+
data.tar.gz: 19f455c0eb78c9c3bfad156fc8be91c58b19e8dff4632d0fb623aedbf6998aeaf1a955780ae4e75ab7e387f16f40a6a122ba16a5b0c48d479d6384c9662d0e62
|
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.11
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
13
13
|
|
@@ -880,6 +880,7 @@ Class | Method | HTTP request | Description
|
|
880
880
|
- [Akeyless::StaticCredsAuth](docs/StaticCredsAuth.md)
|
881
881
|
- [Akeyless::StaticCredsAuthOutput](docs/StaticCredsAuthOutput.md)
|
882
882
|
- [Akeyless::StaticSecretDetailsInfo](docs/StaticSecretDetailsInfo.md)
|
883
|
+
- [Akeyless::SumologicLogForwardingConfig](docs/SumologicLogForwardingConfig.md)
|
883
884
|
- [Akeyless::SyslogLogForwardingConfig](docs/SyslogLogForwardingConfig.md)
|
884
885
|
- [Akeyless::SystemAccessCredentialsReplyObj](docs/SystemAccessCredentialsReplyObj.md)
|
885
886
|
- [Akeyless::SystemAccessCredsSettings](docs/SystemAccessCredsSettings.md)
|
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_default_key_item_id** | **Integer** | AccountDefaultKeyItemID is the item ID of the DFC key item configured as the default protection key | [optional] |
|
8
|
+
| **account_default_key_name** | **String** | AccountDefaultKeyName is the name of the DFC key item configured as the default key This is here simply for the response to include the item name in addition to the display ID so the client can properly show this to the user. It will not be saved to the DB, only the AccountDefaultKeyItemID will. | [optional] |
|
7
9
|
| **data_protection_section** | [**DataProtectionSection**](DataProtectionSection.md) | | [optional] |
|
8
10
|
| **enable_request_for_access** | **Boolean** | | [optional] |
|
9
11
|
| **password_policy** | [**PasswordPolicyInfo**](PasswordPolicyInfo.md) | | [optional] |
|
@@ -16,6 +18,8 @@
|
|
16
18
|
require 'akeyless'
|
17
19
|
|
18
20
|
instance = Akeyless::AccountGeneralSettings.new(
|
21
|
+
account_default_key_item_id: null,
|
22
|
+
account_default_key_name: null,
|
19
23
|
data_protection_section: null,
|
20
24
|
enable_request_for_access: null,
|
21
25
|
password_policy: null,
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **certificate_chain** | [**Array<CertificateInfo>**](CertificateInfo.md) | | [optional] |
|
8
8
|
| **certificate_format** | **String** | | [optional] |
|
9
|
+
| **certificate_issuer_item_id** | **Integer** | | [optional] |
|
9
10
|
| **certificate_issuer_name** | **String** | | [optional] |
|
10
11
|
| **certificate_pem** | **String** | | [optional] |
|
11
12
|
| **certificate_status** | **String** | | [optional] |
|
@@ -19,6 +20,7 @@ require 'akeyless'
|
|
19
20
|
instance = Akeyless::CertificateChainInfo.new(
|
20
21
|
certificate_chain: null,
|
21
22
|
certificate_format: null,
|
23
|
+
certificate_issuer_item_id: null,
|
22
24
|
certificate_issuer_name: null,
|
23
25
|
certificate_pem: null,
|
24
26
|
certificate_status: null,
|
@@ -7,10 +7,12 @@
|
|
7
7
|
| **elasticsearch_api_key** | **String** | | [optional] |
|
8
8
|
| **elasticsearch_auth_type** | **String** | | [optional] |
|
9
9
|
| **elasticsearch_cloud_id** | **String** | | [optional] |
|
10
|
+
| **elasticsearch_enable_tls** | **Boolean** | | [optional] |
|
10
11
|
| **elasticsearch_index** | **String** | | [optional] |
|
11
12
|
| **elasticsearch_nodes** | **String** | | [optional] |
|
12
13
|
| **elasticsearch_password** | **String** | | [optional] |
|
13
14
|
| **elasticsearch_server_type** | **String** | | [optional] |
|
15
|
+
| **elasticsearch_tls_certificate** | **String** | | [optional] |
|
14
16
|
| **elasticsearch_user_name** | **String** | | [optional] |
|
15
17
|
|
16
18
|
## Example
|
@@ -22,10 +24,12 @@ instance = Akeyless::ElasticsearchLogForwardingConfig.new(
|
|
22
24
|
elasticsearch_api_key: null,
|
23
25
|
elasticsearch_auth_type: null,
|
24
26
|
elasticsearch_cloud_id: null,
|
27
|
+
elasticsearch_enable_tls: null,
|
25
28
|
elasticsearch_index: null,
|
26
29
|
elasticsearch_nodes: null,
|
27
30
|
elasticsearch_password: null,
|
28
31
|
elasticsearch_server_type: null,
|
32
|
+
elasticsearch_tls_certificate: null,
|
29
33
|
elasticsearch_user_name: null
|
30
34
|
)
|
31
35
|
```
|
@@ -15,6 +15,7 @@
|
|
15
15
|
| **logz_io_config** | [**LogzIoLogForwardingConfig**](LogzIoLogForwardingConfig.md) | | [optional] |
|
16
16
|
| **pull_interval_sec** | **String** | | [optional] |
|
17
17
|
| **splunk_config** | [**SplunkLogForwardingConfig**](SplunkLogForwardingConfig.md) | | [optional] |
|
18
|
+
| **sumo_logic_config** | [**SumologicLogForwardingConfig**](SumologicLogForwardingConfig.md) | | [optional] |
|
18
19
|
| **syslog_config** | [**SyslogLogForwardingConfig**](SyslogLogForwardingConfig.md) | | [optional] |
|
19
20
|
| **target_log_type** | **String** | | [optional] |
|
20
21
|
|
@@ -35,6 +36,7 @@ instance = Akeyless::LogForwardingConfigPart.new(
|
|
35
36
|
logz_io_config: null,
|
36
37
|
pull_interval_sec: null,
|
37
38
|
splunk_config: null,
|
39
|
+
sumo_logic_config: null,
|
38
40
|
syslog_config: null,
|
39
41
|
target_log_type: null
|
40
42
|
)
|
@@ -5,7 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **logstash_dns** | **String** | | [optional] |
|
8
|
+
| **logstash_enable_tls** | **Boolean** | | [optional] |
|
8
9
|
| **logstash_protocol** | **String** | | [optional] |
|
10
|
+
| **logstash_tls_certificate** | **String** | | [optional] |
|
9
11
|
|
10
12
|
## Example
|
11
13
|
|
@@ -14,7 +16,9 @@ require 'akeyless'
|
|
14
16
|
|
15
17
|
instance = Akeyless::LogstashLogForwardingConfig.new(
|
16
18
|
logstash_dns: null,
|
17
|
-
|
19
|
+
logstash_enable_tls: null,
|
20
|
+
logstash_protocol: null,
|
21
|
+
logstash_tls_certificate: null
|
18
22
|
)
|
19
23
|
```
|
20
24
|
|
@@ -4,9 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **splunk_enable_tls** | **Boolean** | | [optional] |
|
7
8
|
| **splunk_index** | **String** | | [optional] |
|
8
9
|
| **splunk_source** | **String** | | [optional] |
|
9
10
|
| **splunk_sourcetype** | **String** | | [optional] |
|
11
|
+
| **splunk_tls_certificate** | **String** | | [optional] |
|
10
12
|
| **splunk_token** | **String** | | [optional] |
|
11
13
|
| **splunk_url** | **String** | | [optional] |
|
12
14
|
|
@@ -16,9 +18,11 @@
|
|
16
18
|
require 'akeyless'
|
17
19
|
|
18
20
|
instance = Akeyless::SplunkLogForwardingConfig.new(
|
21
|
+
splunk_enable_tls: null,
|
19
22
|
splunk_index: null,
|
20
23
|
splunk_source: null,
|
21
24
|
splunk_sourcetype: null,
|
25
|
+
splunk_tls_certificate: null,
|
22
26
|
splunk_token: null,
|
23
27
|
splunk_url: null
|
24
28
|
)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Akeyless::SumologicLogForwardingConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **sumo_logic_endpoint** | **String** | | [optional] |
|
8
|
+
| **sumo_logic_host** | **String** | | [optional] |
|
9
|
+
| **sumo_logic_tags** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'akeyless'
|
15
|
+
|
16
|
+
instance = Akeyless::SumologicLogForwardingConfig.new(
|
17
|
+
sumo_logic_endpoint: null,
|
18
|
+
sumo_logic_host: null,
|
19
|
+
sumo_logic_tags: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -4,10 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **syslog_enable_tls** | **Boolean** | | [optional] |
|
7
8
|
| **syslog_formatter** | **String** | | [optional] |
|
8
9
|
| **syslog_host** | **String** | | [optional] |
|
9
10
|
| **syslog_network** | **String** | | [optional] |
|
10
11
|
| **syslog_target_tag** | **String** | | [optional] |
|
12
|
+
| **syslog_tls_certificate** | **String** | | [optional] |
|
11
13
|
|
12
14
|
## Example
|
13
15
|
|
@@ -15,10 +17,12 @@
|
|
15
17
|
require 'akeyless'
|
16
18
|
|
17
19
|
instance = Akeyless::SyslogLogForwardingConfig.new(
|
20
|
+
syslog_enable_tls: null,
|
18
21
|
syslog_formatter: null,
|
19
22
|
syslog_host: null,
|
20
23
|
syslog_network: null,
|
21
|
-
syslog_target_tag: null
|
24
|
+
syslog_target_tag: null,
|
25
|
+
syslog_tls_certificate: null
|
22
26
|
)
|
23
27
|
```
|
24
28
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **city** | **String** | City | [optional] |
|
9
9
|
| **company_name** | **String** | Company name | [optional] |
|
10
10
|
| **country** | **String** | Country | [optional] |
|
11
|
+
| **default_key_name** | **String** | Set the account default key based on the DFC key item name. Use \"set-original-akeyless-default-key\" to revert to using the original default key of the account. Empty string will change nothing. | [optional] |
|
11
12
|
| **default_share_link_ttl_minutes** | **String** | Set the default ttl in minutes for sharing item number between 60 and 43200 | [optional] |
|
12
13
|
| **default_versioning** | **String** | If set to true, new item version will be created on each update [true/false] | [optional] |
|
13
14
|
| **dp_enable_classic_key_protection** | **String** | Set to update protection with classic keys state [true/false] | [optional] |
|
@@ -38,6 +39,7 @@ instance = Akeyless::UpdateAccountSettings.new(
|
|
38
39
|
city: null,
|
39
40
|
company_name: null,
|
40
41
|
country: null,
|
42
|
+
default_key_name: null,
|
41
43
|
default_share_link_ttl_minutes: null,
|
42
44
|
default_versioning: null,
|
43
45
|
dp_enable_classic_key_protection: null,
|
@@ -16,6 +16,12 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# AccountGeneralSettings describes general settings for an account
|
18
18
|
class AccountGeneralSettings
|
19
|
+
# AccountDefaultKeyItemID is the item ID of the DFC key item configured as the default protection key
|
20
|
+
attr_accessor :account_default_key_item_id
|
21
|
+
|
22
|
+
# AccountDefaultKeyName is the name of the DFC key item configured as the default key This is here simply for the response to include the item name in addition to the display ID so the client can properly show this to the user. It will not be saved to the DB, only the AccountDefaultKeyItemID will.
|
23
|
+
attr_accessor :account_default_key_name
|
24
|
+
|
19
25
|
attr_accessor :data_protection_section
|
20
26
|
|
21
27
|
attr_accessor :enable_request_for_access
|
@@ -29,6 +35,8 @@ module Akeyless
|
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
38
|
+
:'account_default_key_item_id' => :'account_default_key_item_id',
|
39
|
+
:'account_default_key_name' => :'account_default_key_name',
|
32
40
|
:'data_protection_section' => :'data_protection_section',
|
33
41
|
:'enable_request_for_access' => :'enable_request_for_access',
|
34
42
|
:'password_policy' => :'password_policy',
|
@@ -45,6 +53,8 @@ module Akeyless
|
|
45
53
|
# Attribute type mapping.
|
46
54
|
def self.openapi_types
|
47
55
|
{
|
56
|
+
:'account_default_key_item_id' => :'Integer',
|
57
|
+
:'account_default_key_name' => :'String',
|
48
58
|
:'data_protection_section' => :'DataProtectionSection',
|
49
59
|
:'enable_request_for_access' => :'Boolean',
|
50
60
|
:'password_policy' => :'PasswordPolicyInfo',
|
@@ -74,6 +84,14 @@ module Akeyless
|
|
74
84
|
h[k.to_sym] = v
|
75
85
|
}
|
76
86
|
|
87
|
+
if attributes.key?(:'account_default_key_item_id')
|
88
|
+
self.account_default_key_item_id = attributes[:'account_default_key_item_id']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.key?(:'account_default_key_name')
|
92
|
+
self.account_default_key_name = attributes[:'account_default_key_name']
|
93
|
+
end
|
94
|
+
|
77
95
|
if attributes.key?(:'data_protection_section')
|
78
96
|
self.data_protection_section = attributes[:'data_protection_section']
|
79
97
|
end
|
@@ -113,6 +131,8 @@ module Akeyless
|
|
113
131
|
def ==(o)
|
114
132
|
return true if self.equal?(o)
|
115
133
|
self.class == o.class &&
|
134
|
+
account_default_key_item_id == o.account_default_key_item_id &&
|
135
|
+
account_default_key_name == o.account_default_key_name &&
|
116
136
|
data_protection_section == o.data_protection_section &&
|
117
137
|
enable_request_for_access == o.enable_request_for_access &&
|
118
138
|
password_policy == o.password_policy &&
|
@@ -129,7 +149,7 @@ module Akeyless
|
|
129
149
|
# Calculates hash code according to all attributes.
|
130
150
|
# @return [Integer] Hash code
|
131
151
|
def hash
|
132
|
-
[data_protection_section, enable_request_for_access, password_policy, protect_items_by_default, sharing_policy].hash
|
152
|
+
[account_default_key_item_id, account_default_key_name, data_protection_section, enable_request_for_access, password_policy, protect_items_by_default, sharing_policy].hash
|
133
153
|
end
|
134
154
|
|
135
155
|
# Builds the object from hash
|
@@ -19,6 +19,8 @@ module Akeyless
|
|
19
19
|
|
20
20
|
attr_accessor :certificate_format
|
21
21
|
|
22
|
+
attr_accessor :certificate_issuer_item_id
|
23
|
+
|
22
24
|
attr_accessor :certificate_issuer_name
|
23
25
|
|
24
26
|
attr_accessor :certificate_pem
|
@@ -32,6 +34,7 @@ module Akeyless
|
|
32
34
|
{
|
33
35
|
:'certificate_chain' => :'certificate_chain',
|
34
36
|
:'certificate_format' => :'certificate_format',
|
37
|
+
:'certificate_issuer_item_id' => :'certificate_issuer_item_id',
|
35
38
|
:'certificate_issuer_name' => :'certificate_issuer_name',
|
36
39
|
:'certificate_pem' => :'certificate_pem',
|
37
40
|
:'certificate_status' => :'certificate_status',
|
@@ -49,6 +52,7 @@ module Akeyless
|
|
49
52
|
{
|
50
53
|
:'certificate_chain' => :'Array<CertificateInfo>',
|
51
54
|
:'certificate_format' => :'String',
|
55
|
+
:'certificate_issuer_item_id' => :'Integer',
|
52
56
|
:'certificate_issuer_name' => :'String',
|
53
57
|
:'certificate_pem' => :'String',
|
54
58
|
:'certificate_status' => :'String',
|
@@ -87,6 +91,10 @@ module Akeyless
|
|
87
91
|
self.certificate_format = attributes[:'certificate_format']
|
88
92
|
end
|
89
93
|
|
94
|
+
if attributes.key?(:'certificate_issuer_item_id')
|
95
|
+
self.certificate_issuer_item_id = attributes[:'certificate_issuer_item_id']
|
96
|
+
end
|
97
|
+
|
90
98
|
if attributes.key?(:'certificate_issuer_name')
|
91
99
|
self.certificate_issuer_name = attributes[:'certificate_issuer_name']
|
92
100
|
end
|
@@ -126,6 +134,7 @@ module Akeyless
|
|
126
134
|
self.class == o.class &&
|
127
135
|
certificate_chain == o.certificate_chain &&
|
128
136
|
certificate_format == o.certificate_format &&
|
137
|
+
certificate_issuer_item_id == o.certificate_issuer_item_id &&
|
129
138
|
certificate_issuer_name == o.certificate_issuer_name &&
|
130
139
|
certificate_pem == o.certificate_pem &&
|
131
140
|
certificate_status == o.certificate_status &&
|
@@ -141,7 +150,7 @@ module Akeyless
|
|
141
150
|
# Calculates hash code according to all attributes.
|
142
151
|
# @return [Integer] Hash code
|
143
152
|
def hash
|
144
|
-
[certificate_chain, certificate_format, certificate_issuer_name, certificate_pem, certificate_status, expiration_events].hash
|
153
|
+
[certificate_chain, certificate_format, certificate_issuer_item_id, certificate_issuer_name, certificate_pem, certificate_status, expiration_events].hash
|
145
154
|
end
|
146
155
|
|
147
156
|
# Builds the object from hash
|
@@ -21,6 +21,8 @@ module Akeyless
|
|
21
21
|
|
22
22
|
attr_accessor :elasticsearch_cloud_id
|
23
23
|
|
24
|
+
attr_accessor :elasticsearch_enable_tls
|
25
|
+
|
24
26
|
attr_accessor :elasticsearch_index
|
25
27
|
|
26
28
|
attr_accessor :elasticsearch_nodes
|
@@ -29,6 +31,8 @@ module Akeyless
|
|
29
31
|
|
30
32
|
attr_accessor :elasticsearch_server_type
|
31
33
|
|
34
|
+
attr_accessor :elasticsearch_tls_certificate
|
35
|
+
|
32
36
|
attr_accessor :elasticsearch_user_name
|
33
37
|
|
34
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -37,10 +41,12 @@ module Akeyless
|
|
37
41
|
:'elasticsearch_api_key' => :'elasticsearch_api_key',
|
38
42
|
:'elasticsearch_auth_type' => :'elasticsearch_auth_type',
|
39
43
|
:'elasticsearch_cloud_id' => :'elasticsearch_cloud_id',
|
44
|
+
:'elasticsearch_enable_tls' => :'elasticsearch_enable_tls',
|
40
45
|
:'elasticsearch_index' => :'elasticsearch_index',
|
41
46
|
:'elasticsearch_nodes' => :'elasticsearch_nodes',
|
42
47
|
:'elasticsearch_password' => :'elasticsearch_password',
|
43
48
|
:'elasticsearch_server_type' => :'elasticsearch_server_type',
|
49
|
+
:'elasticsearch_tls_certificate' => :'elasticsearch_tls_certificate',
|
44
50
|
:'elasticsearch_user_name' => :'elasticsearch_user_name'
|
45
51
|
}
|
46
52
|
end
|
@@ -56,10 +62,12 @@ module Akeyless
|
|
56
62
|
:'elasticsearch_api_key' => :'String',
|
57
63
|
:'elasticsearch_auth_type' => :'String',
|
58
64
|
:'elasticsearch_cloud_id' => :'String',
|
65
|
+
:'elasticsearch_enable_tls' => :'Boolean',
|
59
66
|
:'elasticsearch_index' => :'String',
|
60
67
|
:'elasticsearch_nodes' => :'String',
|
61
68
|
:'elasticsearch_password' => :'String',
|
62
69
|
:'elasticsearch_server_type' => :'String',
|
70
|
+
:'elasticsearch_tls_certificate' => :'String',
|
63
71
|
:'elasticsearch_user_name' => :'String'
|
64
72
|
}
|
65
73
|
end
|
@@ -97,6 +105,10 @@ module Akeyless
|
|
97
105
|
self.elasticsearch_cloud_id = attributes[:'elasticsearch_cloud_id']
|
98
106
|
end
|
99
107
|
|
108
|
+
if attributes.key?(:'elasticsearch_enable_tls')
|
109
|
+
self.elasticsearch_enable_tls = attributes[:'elasticsearch_enable_tls']
|
110
|
+
end
|
111
|
+
|
100
112
|
if attributes.key?(:'elasticsearch_index')
|
101
113
|
self.elasticsearch_index = attributes[:'elasticsearch_index']
|
102
114
|
end
|
@@ -113,6 +125,10 @@ module Akeyless
|
|
113
125
|
self.elasticsearch_server_type = attributes[:'elasticsearch_server_type']
|
114
126
|
end
|
115
127
|
|
128
|
+
if attributes.key?(:'elasticsearch_tls_certificate')
|
129
|
+
self.elasticsearch_tls_certificate = attributes[:'elasticsearch_tls_certificate']
|
130
|
+
end
|
131
|
+
|
116
132
|
if attributes.key?(:'elasticsearch_user_name')
|
117
133
|
self.elasticsearch_user_name = attributes[:'elasticsearch_user_name']
|
118
134
|
end
|
@@ -139,10 +155,12 @@ module Akeyless
|
|
139
155
|
elasticsearch_api_key == o.elasticsearch_api_key &&
|
140
156
|
elasticsearch_auth_type == o.elasticsearch_auth_type &&
|
141
157
|
elasticsearch_cloud_id == o.elasticsearch_cloud_id &&
|
158
|
+
elasticsearch_enable_tls == o.elasticsearch_enable_tls &&
|
142
159
|
elasticsearch_index == o.elasticsearch_index &&
|
143
160
|
elasticsearch_nodes == o.elasticsearch_nodes &&
|
144
161
|
elasticsearch_password == o.elasticsearch_password &&
|
145
162
|
elasticsearch_server_type == o.elasticsearch_server_type &&
|
163
|
+
elasticsearch_tls_certificate == o.elasticsearch_tls_certificate &&
|
146
164
|
elasticsearch_user_name == o.elasticsearch_user_name
|
147
165
|
end
|
148
166
|
|
@@ -155,7 +173,7 @@ module Akeyless
|
|
155
173
|
# Calculates hash code according to all attributes.
|
156
174
|
# @return [Integer] Hash code
|
157
175
|
def hash
|
158
|
-
[elasticsearch_api_key, elasticsearch_auth_type, elasticsearch_cloud_id, elasticsearch_index, elasticsearch_nodes, elasticsearch_password, elasticsearch_server_type, elasticsearch_user_name].hash
|
176
|
+
[elasticsearch_api_key, elasticsearch_auth_type, elasticsearch_cloud_id, elasticsearch_enable_tls, elasticsearch_index, elasticsearch_nodes, elasticsearch_password, elasticsearch_server_type, elasticsearch_tls_certificate, elasticsearch_user_name].hash
|
159
177
|
end
|
160
178
|
|
161
179
|
# Builds the object from hash
|
@@ -37,6 +37,8 @@ module Akeyless
|
|
37
37
|
|
38
38
|
attr_accessor :splunk_config
|
39
39
|
|
40
|
+
attr_accessor :sumo_logic_config
|
41
|
+
|
40
42
|
attr_accessor :syslog_config
|
41
43
|
|
42
44
|
attr_accessor :target_log_type
|
@@ -55,6 +57,7 @@ module Akeyless
|
|
55
57
|
:'logz_io_config' => :'logz_io_config',
|
56
58
|
:'pull_interval_sec' => :'pull_interval_sec',
|
57
59
|
:'splunk_config' => :'splunk_config',
|
60
|
+
:'sumo_logic_config' => :'sumo_logic_config',
|
58
61
|
:'syslog_config' => :'syslog_config',
|
59
62
|
:'target_log_type' => :'target_log_type'
|
60
63
|
}
|
@@ -79,6 +82,7 @@ module Akeyless
|
|
79
82
|
:'logz_io_config' => :'LogzIoLogForwardingConfig',
|
80
83
|
:'pull_interval_sec' => :'String',
|
81
84
|
:'splunk_config' => :'SplunkLogForwardingConfig',
|
85
|
+
:'sumo_logic_config' => :'SumologicLogForwardingConfig',
|
82
86
|
:'syslog_config' => :'SyslogLogForwardingConfig',
|
83
87
|
:'target_log_type' => :'String'
|
84
88
|
}
|
@@ -149,6 +153,10 @@ module Akeyless
|
|
149
153
|
self.splunk_config = attributes[:'splunk_config']
|
150
154
|
end
|
151
155
|
|
156
|
+
if attributes.key?(:'sumo_logic_config')
|
157
|
+
self.sumo_logic_config = attributes[:'sumo_logic_config']
|
158
|
+
end
|
159
|
+
|
152
160
|
if attributes.key?(:'syslog_config')
|
153
161
|
self.syslog_config = attributes[:'syslog_config']
|
154
162
|
end
|
@@ -187,6 +195,7 @@ module Akeyless
|
|
187
195
|
logz_io_config == o.logz_io_config &&
|
188
196
|
pull_interval_sec == o.pull_interval_sec &&
|
189
197
|
splunk_config == o.splunk_config &&
|
198
|
+
sumo_logic_config == o.sumo_logic_config &&
|
190
199
|
syslog_config == o.syslog_config &&
|
191
200
|
target_log_type == o.target_log_type
|
192
201
|
end
|
@@ -200,7 +209,7 @@ module Akeyless
|
|
200
209
|
# Calculates hash code according to all attributes.
|
201
210
|
# @return [Integer] Hash code
|
202
211
|
def hash
|
203
|
-
[aws_s3_config, azure_analytics_config, datadog_config, elasticsearch_config, json_output, logan_enable, logan_url, logstash_config, logz_io_config, pull_interval_sec, splunk_config, syslog_config, target_log_type].hash
|
212
|
+
[aws_s3_config, azure_analytics_config, datadog_config, elasticsearch_config, json_output, logan_enable, logan_url, logstash_config, logz_io_config, pull_interval_sec, splunk_config, sumo_logic_config, syslog_config, target_log_type].hash
|
204
213
|
end
|
205
214
|
|
206
215
|
# Builds the object from hash
|
@@ -17,13 +17,19 @@ module Akeyless
|
|
17
17
|
class LogstashLogForwardingConfig
|
18
18
|
attr_accessor :logstash_dns
|
19
19
|
|
20
|
+
attr_accessor :logstash_enable_tls
|
21
|
+
|
20
22
|
attr_accessor :logstash_protocol
|
21
23
|
|
24
|
+
attr_accessor :logstash_tls_certificate
|
25
|
+
|
22
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
27
|
def self.attribute_map
|
24
28
|
{
|
25
29
|
:'logstash_dns' => :'logstash_dns',
|
26
|
-
:'
|
30
|
+
:'logstash_enable_tls' => :'logstash_enable_tls',
|
31
|
+
:'logstash_protocol' => :'logstash_protocol',
|
32
|
+
:'logstash_tls_certificate' => :'logstash_tls_certificate'
|
27
33
|
}
|
28
34
|
end
|
29
35
|
|
@@ -36,7 +42,9 @@ module Akeyless
|
|
36
42
|
def self.openapi_types
|
37
43
|
{
|
38
44
|
:'logstash_dns' => :'String',
|
39
|
-
:'
|
45
|
+
:'logstash_enable_tls' => :'Boolean',
|
46
|
+
:'logstash_protocol' => :'String',
|
47
|
+
:'logstash_tls_certificate' => :'String'
|
40
48
|
}
|
41
49
|
end
|
42
50
|
|
@@ -65,9 +73,17 @@ module Akeyless
|
|
65
73
|
self.logstash_dns = attributes[:'logstash_dns']
|
66
74
|
end
|
67
75
|
|
76
|
+
if attributes.key?(:'logstash_enable_tls')
|
77
|
+
self.logstash_enable_tls = attributes[:'logstash_enable_tls']
|
78
|
+
end
|
79
|
+
|
68
80
|
if attributes.key?(:'logstash_protocol')
|
69
81
|
self.logstash_protocol = attributes[:'logstash_protocol']
|
70
82
|
end
|
83
|
+
|
84
|
+
if attributes.key?(:'logstash_tls_certificate')
|
85
|
+
self.logstash_tls_certificate = attributes[:'logstash_tls_certificate']
|
86
|
+
end
|
71
87
|
end
|
72
88
|
|
73
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -89,7 +105,9 @@ module Akeyless
|
|
89
105
|
return true if self.equal?(o)
|
90
106
|
self.class == o.class &&
|
91
107
|
logstash_dns == o.logstash_dns &&
|
92
|
-
|
108
|
+
logstash_enable_tls == o.logstash_enable_tls &&
|
109
|
+
logstash_protocol == o.logstash_protocol &&
|
110
|
+
logstash_tls_certificate == o.logstash_tls_certificate
|
93
111
|
end
|
94
112
|
|
95
113
|
# @see the `==` method
|
@@ -101,7 +119,7 @@ module Akeyless
|
|
101
119
|
# Calculates hash code according to all attributes.
|
102
120
|
# @return [Integer] Hash code
|
103
121
|
def hash
|
104
|
-
[logstash_dns, logstash_protocol].hash
|
122
|
+
[logstash_dns, logstash_enable_tls, logstash_protocol, logstash_tls_certificate].hash
|
105
123
|
end
|
106
124
|
|
107
125
|
# Builds the object from hash
|
@@ -15,12 +15,16 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class SplunkLogForwardingConfig
|
18
|
+
attr_accessor :splunk_enable_tls
|
19
|
+
|
18
20
|
attr_accessor :splunk_index
|
19
21
|
|
20
22
|
attr_accessor :splunk_source
|
21
23
|
|
22
24
|
attr_accessor :splunk_sourcetype
|
23
25
|
|
26
|
+
attr_accessor :splunk_tls_certificate
|
27
|
+
|
24
28
|
attr_accessor :splunk_token
|
25
29
|
|
26
30
|
attr_accessor :splunk_url
|
@@ -28,9 +32,11 @@ module Akeyless
|
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
33
|
def self.attribute_map
|
30
34
|
{
|
35
|
+
:'splunk_enable_tls' => :'splunk_enable_tls',
|
31
36
|
:'splunk_index' => :'splunk_index',
|
32
37
|
:'splunk_source' => :'splunk_source',
|
33
38
|
:'splunk_sourcetype' => :'splunk_sourcetype',
|
39
|
+
:'splunk_tls_certificate' => :'splunk_tls_certificate',
|
34
40
|
:'splunk_token' => :'splunk_token',
|
35
41
|
:'splunk_url' => :'splunk_url'
|
36
42
|
}
|
@@ -44,9 +50,11 @@ module Akeyless
|
|
44
50
|
# Attribute type mapping.
|
45
51
|
def self.openapi_types
|
46
52
|
{
|
53
|
+
:'splunk_enable_tls' => :'Boolean',
|
47
54
|
:'splunk_index' => :'String',
|
48
55
|
:'splunk_source' => :'String',
|
49
56
|
:'splunk_sourcetype' => :'String',
|
57
|
+
:'splunk_tls_certificate' => :'String',
|
50
58
|
:'splunk_token' => :'String',
|
51
59
|
:'splunk_url' => :'String'
|
52
60
|
}
|
@@ -73,6 +81,10 @@ module Akeyless
|
|
73
81
|
h[k.to_sym] = v
|
74
82
|
}
|
75
83
|
|
84
|
+
if attributes.key?(:'splunk_enable_tls')
|
85
|
+
self.splunk_enable_tls = attributes[:'splunk_enable_tls']
|
86
|
+
end
|
87
|
+
|
76
88
|
if attributes.key?(:'splunk_index')
|
77
89
|
self.splunk_index = attributes[:'splunk_index']
|
78
90
|
end
|
@@ -85,6 +97,10 @@ module Akeyless
|
|
85
97
|
self.splunk_sourcetype = attributes[:'splunk_sourcetype']
|
86
98
|
end
|
87
99
|
|
100
|
+
if attributes.key?(:'splunk_tls_certificate')
|
101
|
+
self.splunk_tls_certificate = attributes[:'splunk_tls_certificate']
|
102
|
+
end
|
103
|
+
|
88
104
|
if attributes.key?(:'splunk_token')
|
89
105
|
self.splunk_token = attributes[:'splunk_token']
|
90
106
|
end
|
@@ -112,9 +128,11 @@ module Akeyless
|
|
112
128
|
def ==(o)
|
113
129
|
return true if self.equal?(o)
|
114
130
|
self.class == o.class &&
|
131
|
+
splunk_enable_tls == o.splunk_enable_tls &&
|
115
132
|
splunk_index == o.splunk_index &&
|
116
133
|
splunk_source == o.splunk_source &&
|
117
134
|
splunk_sourcetype == o.splunk_sourcetype &&
|
135
|
+
splunk_tls_certificate == o.splunk_tls_certificate &&
|
118
136
|
splunk_token == o.splunk_token &&
|
119
137
|
splunk_url == o.splunk_url
|
120
138
|
end
|
@@ -128,7 +146,7 @@ module Akeyless
|
|
128
146
|
# Calculates hash code according to all attributes.
|
129
147
|
# @return [Integer] Hash code
|
130
148
|
def hash
|
131
|
-
[splunk_index, splunk_source, splunk_sourcetype, splunk_token, splunk_url].hash
|
149
|
+
[splunk_enable_tls, splunk_index, splunk_source, splunk_sourcetype, splunk_tls_certificate, splunk_token, splunk_url].hash
|
132
150
|
end
|
133
151
|
|
134
152
|
# Builds the object from hash
|