logstash-output-elasticsearch 11.3.1-java → 11.4.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -2
- data/Gemfile +2 -1
- data/docs/index.asciidoc +3 -7
- data/lib/logstash/outputs/elasticsearch/data_stream_support.rb +1 -1
- data/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb +40 -16
- data/lib/logstash/outputs/elasticsearch/http_client/pool.rb +5 -9
- data/lib/logstash/outputs/elasticsearch/http_client.rb +1 -2
- data/lib/logstash/outputs/elasticsearch/http_client_builder.rb +3 -6
- data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-7x.json +2196 -288
- data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-8x.json +2196 -288
- data/logstash-output-elasticsearch.gemspec +2 -2
- data/spec/es_spec_helper.rb +5 -1
- data/spec/fixtures/test_certs/{ca/ca.crt → ca.crt} +0 -0
- data/spec/fixtures/test_certs/{ca/ca.key → ca.key} +0 -0
- data/spec/fixtures/test_certs/test.p12 +0 -0
- data/spec/fixtures/test_certs/test_invalid.crt +36 -0
- data/spec/fixtures/test_certs/test_invalid.key +51 -0
- data/spec/fixtures/test_certs/test_invalid.p12 +0 -0
- data/spec/fixtures/test_certs/test_self_signed.crt +32 -0
- data/spec/fixtures/test_certs/test_self_signed.key +54 -0
- data/spec/fixtures/test_certs/test_self_signed.p12 +0 -0
- data/spec/integration/outputs/ilm_spec.rb +2 -1
- data/spec/integration/outputs/index_spec.rb +87 -43
- data/spec/integration/outputs/ingest_pipeline_spec.rb +2 -1
- data/spec/integration/outputs/no_es_on_startup_spec.rb +12 -6
- data/spec/integration/outputs/retry_spec.rb +2 -1
- data/spec/integration/outputs/sniffer_spec.rb +1 -1
- data/spec/unit/outputs/elasticsearch/http_client/manticore_adapter_spec.rb +6 -5
- data/spec/unit/outputs/elasticsearch/http_client/pool_spec.rb +1 -1
- data/spec/unit/outputs/elasticsearch_ssl_spec.rb +1 -1
- metadata +22 -8
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
3
|
-
s.version = '11.
|
3
|
+
s.version = '11.4.1'
|
4
4
|
|
5
5
|
s.licenses = ['apache-2.0']
|
6
6
|
s.summary = "Stores logs in Elasticsearch"
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
# Special flag to let us know this is actually a logstash plugin
|
22
22
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
23
23
|
|
24
|
-
s.add_runtime_dependency "manticore", '>= 0.
|
24
|
+
s.add_runtime_dependency "manticore", '>= 0.8.0', '< 1.0.0'
|
25
25
|
s.add_runtime_dependency 'stud', ['>= 0.0.17', '~> 0.0']
|
26
26
|
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
|
27
27
|
s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.0'
|
data/spec/es_spec_helper.rb
CHANGED
@@ -59,7 +59,11 @@ module ESHelper
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def self.es_version
|
62
|
-
|
62
|
+
[
|
63
|
+
nilify(RSpec.configuration.filter[:es_version]),
|
64
|
+
nilify(ENV['ES_VERSION']),
|
65
|
+
nilify(ENV['ELASTIC_STACK_VERSION']),
|
66
|
+
].compact.first
|
63
67
|
end
|
64
68
|
|
65
69
|
RSpec::Matchers.define :have_hits do |expected|
|
File without changes
|
File without changes
|
Binary file
|
@@ -0,0 +1,36 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIGVzCCBD+gAwIBAgIBAzANBgkqhkiG9w0BAQsFADBMMQswCQYDVQQGEwJQVDEL
|
3
|
+
MAkGA1UECAwCTkExDzANBgNVBAcMBkxpc2JvbjEOMAwGA1UECgwFTXlMYWIxDzAN
|
4
|
+
BgNVBAMMBlJvb3RDQTAeFw0yMjAxMTgwNTA0MDZaFw0yNTAxMTgwNTA0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|
50
|
+
pAl7Rja/fb/1yBuQHrUU1lgYIXqb262lebMhLlDHntc+J8Vjk++UuP2WjPNeztp2
|
51
|
+
H4VF5NxMKJU8gScaN67FUtFYst5cz2aJuDHxbitFHKgoxNFYHVMjY26X/kmZVnUb
|
52
|
+
aNCsaa8YbPPUDmHf2rJjIlK+PZLvLlENFbWDxaRC7/ab39Za9DTD9zH4aut6gw3Y
|
53
|
+
q/eu/hnuc3qa580zbpgcAg==
|
54
|
+
-----END ENCRYPTED PRIVATE KEY-----
|
Binary file
|
@@ -236,7 +236,8 @@ describe 'Elasticsearch has index lifecycle management enabled', :integration =>
|
|
236
236
|
let (:settings) {
|
237
237
|
{
|
238
238
|
"ilm_enabled" => ilm_enabled,
|
239
|
-
"hosts" => "#{get_host_port()}"
|
239
|
+
"hosts" => "#{get_host_port()}",
|
240
|
+
"ecs_compatibility" => "disabled", # specs are tightly tied to non-ECS defaults
|
240
241
|
}
|
241
242
|
}
|
242
243
|
let (:small_max_doc_policy) { max_docs_policy(3) }
|
@@ -46,7 +46,8 @@ describe "TARGET_BULK_BYTES", :integration => true do
|
|
46
46
|
end
|
47
47
|
|
48
48
|
describe "indexing" do
|
49
|
-
let(:
|
49
|
+
let(:message) { "Hello from #{__FILE__}" }
|
50
|
+
let(:event) { LogStash::Event.new("message" => message, "type" => type) }
|
50
51
|
let(:index) { 10.times.collect { rand(10).to_s }.join("") }
|
51
52
|
let(:type) { ESHelper.es_version_satisfies?("< 7") ? "doc" : "_doc" }
|
52
53
|
let(:event_count) { 1 + rand(2) }
|
@@ -55,10 +56,22 @@ describe "indexing" do
|
|
55
56
|
subject { LogStash::Outputs::ElasticSearch.new(config) }
|
56
57
|
|
57
58
|
let(:es_url) { "http://#{get_host_port}" }
|
58
|
-
let(:index_url) {"#{es_url}/#{index}"}
|
59
|
-
|
60
|
-
let(:
|
61
|
-
|
59
|
+
let(:index_url) { "#{es_url}/#{index}" }
|
60
|
+
|
61
|
+
let(:curl_opts) { nil }
|
62
|
+
|
63
|
+
def curl_and_get_json_response(url, method: :get); require 'open3'
|
64
|
+
begin
|
65
|
+
stdout, status = Open3.capture2("curl #{curl_opts} -X #{method.to_s.upcase} -k #{url}")
|
66
|
+
rescue Errno::ENOENT
|
67
|
+
fail "curl not available, make sure curl binary is installed and available on $PATH"
|
68
|
+
end
|
69
|
+
|
70
|
+
if status.success?
|
71
|
+
LogStash::Json.load(stdout)
|
72
|
+
else
|
73
|
+
fail "curl failed: #{status}\n #{stdout}"
|
74
|
+
end
|
62
75
|
end
|
63
76
|
|
64
77
|
before do
|
@@ -70,16 +83,16 @@ describe "indexing" do
|
|
70
83
|
it "ships events" do
|
71
84
|
subject.multi_receive(events)
|
72
85
|
|
73
|
-
|
86
|
+
curl_and_get_json_response "#{es_url}/_refresh", method: :post
|
74
87
|
|
75
|
-
|
76
|
-
result = LogStash::Json.load(response.body)
|
88
|
+
result = curl_and_get_json_response "#{index_url}/_count?q=*"
|
77
89
|
cur_count = result["count"]
|
78
90
|
expect(cur_count).to eq(event_count)
|
79
91
|
|
80
|
-
|
81
|
-
result = LogStash::Json.load(response.body)
|
92
|
+
result = curl_and_get_json_response "#{index_url}/_search?q=*&size=1000"
|
82
93
|
result["hits"]["hits"].each do |doc|
|
94
|
+
expect(doc["_source"]["message"]).to eq(message)
|
95
|
+
|
83
96
|
if ESHelper.es_version_satisfies?("< 8")
|
84
97
|
expect(doc["_type"]).to eq(type)
|
85
98
|
else
|
@@ -132,7 +145,7 @@ describe "indexing" do
|
|
132
145
|
describe "a secured indexer", :secure_integration => true do
|
133
146
|
let(:user) { "simpleuser" }
|
134
147
|
let(:password) { "abc123" }
|
135
|
-
let(:cacert) { "spec/fixtures/test_certs/
|
148
|
+
let(:cacert) { "spec/fixtures/test_certs/ca.crt" }
|
136
149
|
let(:es_url) {"https://elasticsearch:9200"}
|
137
150
|
let(:config) do
|
138
151
|
{
|
@@ -140,42 +153,73 @@ describe "indexing" do
|
|
140
153
|
"user" => user,
|
141
154
|
"password" => password,
|
142
155
|
"ssl" => true,
|
143
|
-
"cacert" =>
|
156
|
+
"cacert" => cacert,
|
144
157
|
"index" => index
|
145
158
|
}
|
146
159
|
end
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
160
|
+
|
161
|
+
let(:curl_opts) { "-u #{user}:#{password}" }
|
162
|
+
|
163
|
+
if ENV['ES_SSL_KEY_INVALID'] == 'true' # test_invalid.crt (configured in ES) has SAN: DNS:localhost
|
164
|
+
# javax.net.ssl.SSLPeerUnverifiedException: Host name 'elasticsearch' does not match the certificate subject ...
|
165
|
+
|
166
|
+
context "when no keystore nor ca cert set and verification is disabled" do
|
167
|
+
let(:config) do
|
168
|
+
super().tap { |config| config.delete('cacert') }.merge('ssl_certificate_verification' => false)
|
169
|
+
end
|
170
|
+
|
171
|
+
include_examples("an indexer", true)
|
172
|
+
end
|
173
|
+
|
174
|
+
context "when keystore is set and verification is disabled" do
|
175
|
+
let(:config) do
|
176
|
+
super().merge(
|
177
|
+
'ssl_certificate_verification' => false,
|
178
|
+
'keystore' => 'spec/fixtures/test_certs/test.p12',
|
179
|
+
'keystore_password' => '1234567890'
|
180
|
+
)
|
181
|
+
end
|
182
|
+
|
183
|
+
include_examples("an indexer", true)
|
184
|
+
end
|
185
|
+
|
186
|
+
context "when keystore has self-signed cert and verification is disabled" do
|
187
|
+
let(:config) do
|
188
|
+
super().tap { |config| config.delete('cacert') }.merge(
|
189
|
+
'ssl_certificate_verification' => false,
|
190
|
+
'keystore' => 'spec/fixtures/test_certs/test_self_signed.p12',
|
191
|
+
'keystore_password' => '1234567890'
|
192
|
+
)
|
193
|
+
end
|
194
|
+
|
195
|
+
include_examples("an indexer", true)
|
196
|
+
end
|
197
|
+
|
198
|
+
else
|
199
|
+
|
200
|
+
it_behaves_like("an indexer", true)
|
201
|
+
|
202
|
+
describe "with a password requiring escaping" do
|
203
|
+
let(:user) { "f@ncyuser" }
|
204
|
+
let(:password) { "ab%12#" }
|
205
|
+
|
206
|
+
include_examples("an indexer", true)
|
176
207
|
end
|
177
|
-
|
178
|
-
|
208
|
+
|
209
|
+
describe "with a user/password requiring escaping in the URL" do
|
210
|
+
let(:config) do
|
211
|
+
{
|
212
|
+
"hosts" => ["https://#{CGI.escape(user)}:#{CGI.escape(password)}@elasticsearch:9200"],
|
213
|
+
"ssl" => true,
|
214
|
+
"cacert" => "spec/fixtures/test_certs/test.crt",
|
215
|
+
"index" => index
|
216
|
+
}
|
217
|
+
end
|
218
|
+
|
219
|
+
include_examples("an indexer", true)
|
220
|
+
end
|
221
|
+
|
179
222
|
end
|
223
|
+
|
180
224
|
end
|
181
225
|
end
|
@@ -6,7 +6,8 @@ describe "Ingest pipeline execution behavior", :integration => true do
|
|
6
6
|
settings = {
|
7
7
|
"hosts" => "#{get_host_port()}",
|
8
8
|
"pipeline" => "apache-logs",
|
9
|
-
"data_stream" => 'false'
|
9
|
+
"data_stream" => 'false',
|
10
|
+
"ecs_compatibility" => "disabled", # specs are tightly tied to non-ECS defaults
|
10
11
|
}
|
11
12
|
next LogStash::Outputs::ElasticSearch.new(settings)
|
12
13
|
end
|
@@ -12,13 +12,13 @@ describe "elasticsearch is down on startup", :integration => true do
|
|
12
12
|
"template_overwrite" => true,
|
13
13
|
"hosts" => get_host_port(),
|
14
14
|
"retry_max_interval" => 64,
|
15
|
-
"retry_initial_interval" => 2
|
15
|
+
"retry_initial_interval" => 2,
|
16
|
+
'ecs_compatibility' => 'disabled'
|
16
17
|
})
|
17
18
|
}
|
18
19
|
|
19
20
|
before :each do
|
20
21
|
# Delete all templates first.
|
21
|
-
require "elasticsearch"
|
22
22
|
allow(Stud).to receive(:stoppable_sleep)
|
23
23
|
|
24
24
|
# Clean ES of data before we start.
|
@@ -33,7 +33,9 @@ describe "elasticsearch is down on startup", :integration => true do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'should ingest events when Elasticsearch recovers before documents are sent' do
|
36
|
-
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_es_version).and_raise(
|
36
|
+
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_es_version).and_raise(
|
37
|
+
::LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError.new StandardError.new("TEST: before docs are sent"), 'http://test.es/'
|
38
|
+
)
|
37
39
|
subject.register
|
38
40
|
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_es_version).and_return(ESHelper.es_version)
|
39
41
|
subject.multi_receive([event1, event2])
|
@@ -43,7 +45,9 @@ describe "elasticsearch is down on startup", :integration => true do
|
|
43
45
|
end
|
44
46
|
|
45
47
|
it 'should ingest events when Elasticsearch recovers after documents are sent' do
|
46
|
-
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_es_version).and_raise(
|
48
|
+
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_es_version).and_raise(
|
49
|
+
::LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError.new StandardError.new("TEST: after docs are sent"), 'http://test.es/'
|
50
|
+
)
|
47
51
|
subject.register
|
48
52
|
Thread.new do
|
49
53
|
sleep 4
|
@@ -56,11 +60,13 @@ describe "elasticsearch is down on startup", :integration => true do
|
|
56
60
|
end
|
57
61
|
|
58
62
|
it 'should get cluster_uuid when Elasticsearch recovers from license check failure' do
|
59
|
-
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_license).
|
63
|
+
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_license).and_raise(
|
64
|
+
::LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError.new StandardError.new("TEST: docs are sent"), 'http://test.es/_license'
|
65
|
+
)
|
60
66
|
subject.register
|
61
67
|
Thread.new do
|
62
68
|
sleep 4
|
63
|
-
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_license).
|
69
|
+
allow_any_instance_of(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:get_license).and_call_original
|
64
70
|
end
|
65
71
|
subject.multi_receive([event1, event2])
|
66
72
|
@es.indices.refresh
|
@@ -45,7 +45,8 @@ describe "failures in bulk class expected behavior", :integration => true do
|
|
45
45
|
"template_overwrite" => true,
|
46
46
|
"hosts" => get_host_port(),
|
47
47
|
"retry_max_interval" => 64,
|
48
|
-
"retry_initial_interval" => 2
|
48
|
+
"retry_initial_interval" => 2,
|
49
|
+
"ecs_compatibility" => "disabled", # specs are tightly tied to non-ECS defaults
|
49
50
|
}
|
50
51
|
next LogStash::Outputs::ElasticSearch.new(settings)
|
51
52
|
end
|
@@ -5,7 +5,7 @@ require "socket"
|
|
5
5
|
|
6
6
|
describe "pool sniffer", :integration => true do
|
7
7
|
let(:logger) { Cabin::Channel.get }
|
8
|
-
let(:adapter) { LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter.new(logger) }
|
8
|
+
let(:adapter) { LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter.new(logger, {}) }
|
9
9
|
let(:es_host) { get_host_port.split(":").first }
|
10
10
|
let(:es_port) { get_host_port.split(":").last }
|
11
11
|
let(:es_ip) { IPSocket.getaddress(es_host) }
|
@@ -10,11 +10,12 @@ describe LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter do
|
|
10
10
|
|
11
11
|
it "should raise an exception if requests are issued after close" do
|
12
12
|
subject.close
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
begin
|
14
|
+
subject.perform_request(::LogStash::Util::SafeURI.new("http://localhost:9200"), :get, '/')
|
15
|
+
fail 'expected to raise a HostUnreachableError'
|
16
|
+
rescue ::LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError => e
|
17
|
+
expect( e.original_error ).to be_a ::Manticore::ClientStoppedException
|
18
|
+
end
|
18
19
|
end
|
19
20
|
|
20
21
|
describe "auth" do
|
@@ -4,7 +4,7 @@ require 'cabin'
|
|
4
4
|
|
5
5
|
describe LogStash::Outputs::ElasticSearch::HttpClient::Pool do
|
6
6
|
let(:logger) { Cabin::Channel.get }
|
7
|
-
let(:adapter) { LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter.new(logger) }
|
7
|
+
let(:adapter) { LogStash::Outputs::ElasticSearch::HttpClient::ManticoreAdapter.new(logger, {}) }
|
8
8
|
let(:initial_urls) { [::LogStash::Util::SafeURI.new("http://localhost:9200")] }
|
9
9
|
let(:options) { {:resurrect_delay => 2, :url_normalizer => proc {|u| u}} } # Shorten the delay a bit to speed up tests
|
10
10
|
let(:es_node_versions) { [ "0.0.0" ] }
|
@@ -33,7 +33,7 @@ describe "SSL option" do
|
|
33
33
|
|
34
34
|
it "should pass the flag to the ES client" do
|
35
35
|
expect(::Manticore::Client).to receive(:new) do |args|
|
36
|
-
expect(args[:ssl]).to eq(:enabled => true, :verify =>
|
36
|
+
expect(args[:ssl]).to eq(:enabled => true, :verify => :disable)
|
37
37
|
end.and_return(manticore_double)
|
38
38
|
|
39
39
|
subject.register
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.4.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.
|
18
|
+
version: 0.8.0
|
19
19
|
- - "<"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 1.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.8.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|
@@ -244,10 +244,17 @@ files:
|
|
244
244
|
- spec/fixtures/template-with-policy-es6x.json
|
245
245
|
- spec/fixtures/template-with-policy-es7x.json
|
246
246
|
- spec/fixtures/template-with-policy-es8x.json
|
247
|
-
- spec/fixtures/test_certs/ca
|
248
|
-
- spec/fixtures/test_certs/ca
|
247
|
+
- spec/fixtures/test_certs/ca.crt
|
248
|
+
- spec/fixtures/test_certs/ca.key
|
249
249
|
- spec/fixtures/test_certs/test.crt
|
250
250
|
- spec/fixtures/test_certs/test.key
|
251
|
+
- spec/fixtures/test_certs/test.p12
|
252
|
+
- spec/fixtures/test_certs/test_invalid.crt
|
253
|
+
- spec/fixtures/test_certs/test_invalid.key
|
254
|
+
- spec/fixtures/test_certs/test_invalid.p12
|
255
|
+
- spec/fixtures/test_certs/test_self_signed.crt
|
256
|
+
- spec/fixtures/test_certs/test_self_signed.key
|
257
|
+
- spec/fixtures/test_certs/test_self_signed.p12
|
251
258
|
- spec/integration/outputs/compressed_indexing_spec.rb
|
252
259
|
- spec/integration/outputs/create_spec.rb
|
253
260
|
- spec/integration/outputs/data_stream_spec.rb
|
@@ -319,10 +326,17 @@ test_files:
|
|
319
326
|
- spec/fixtures/template-with-policy-es6x.json
|
320
327
|
- spec/fixtures/template-with-policy-es7x.json
|
321
328
|
- spec/fixtures/template-with-policy-es8x.json
|
322
|
-
- spec/fixtures/test_certs/ca
|
323
|
-
- spec/fixtures/test_certs/ca
|
329
|
+
- spec/fixtures/test_certs/ca.crt
|
330
|
+
- spec/fixtures/test_certs/ca.key
|
324
331
|
- spec/fixtures/test_certs/test.crt
|
325
332
|
- spec/fixtures/test_certs/test.key
|
333
|
+
- spec/fixtures/test_certs/test.p12
|
334
|
+
- spec/fixtures/test_certs/test_invalid.crt
|
335
|
+
- spec/fixtures/test_certs/test_invalid.key
|
336
|
+
- spec/fixtures/test_certs/test_invalid.p12
|
337
|
+
- spec/fixtures/test_certs/test_self_signed.crt
|
338
|
+
- spec/fixtures/test_certs/test_self_signed.key
|
339
|
+
- spec/fixtures/test_certs/test_self_signed.p12
|
326
340
|
- spec/integration/outputs/compressed_indexing_spec.rb
|
327
341
|
- spec/integration/outputs/create_spec.rb
|
328
342
|
- spec/integration/outputs/data_stream_spec.rb
|