Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a fix to failing secured integration tests #28

Merged

Conversation

naveentatikonda
Copy link
Member

Signed-off-by: Naveen Tatikonda navtat@amazon.com

Description

Fix the failing secured integration tests.

Issues Resolved

#16

Check List

  • All tests pass
  • Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@naveentatikonda naveentatikonda requested a review from a team as a code owner March 14, 2022 23:28
@naveentatikonda naveentatikonda force-pushed the secured_integ_tests branch 2 times, most recently from 34b3a45 to a0ad6d6 Compare March 15, 2022 16:21
@@ -348,6 +350,8 @@ def hosts_default?(hosts)

def setup_ssl
@ssl && @ca_file ? { :ssl => true, :ca_file => @ca_file } : {}
#@ssl && !@ca_file ? { :ssl => true, :verify => false } : {}
@ssl && !@ssl_certificate_verification ? { :ssl => true, :verify => false } : {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will line 352 ever be able to be returned?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, not from the tests but when the Cx provides ca_file path.

lib/logstash/inputs/opensearch.rb Outdated Show resolved Hide resolved
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
@naveentatikonda naveentatikonda merged commit 205cc8e into opensearch-project:main Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants