cmanaha / python-elasticsearch-logger

Python Elasticsearch handler for the standard python logging framework
Other
232 stars 116 forks source link

Add support for authentication using certificates #53

Closed kusha closed 6 years ago

kusha commented 6 years ago

client_cert and ca_certs are new parameters of CMRESHandler. CERT_AUTH is an alais for NO_AUTH to support both cert + HTTP auth for other authentication methods.

codecov-io commented 6 years ago

Codecov Report

Merging #53 into master will decrease coverage by 0.72%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
- Coverage      83%   82.27%   -0.73%     
==========================================
  Files           2        2              
  Lines         153      158       +5     
  Branches       20       21       +1     
==========================================
+ Hits          127      130       +3     
- Misses         22       23       +1     
- Partials        4        5       +1
Impacted Files Coverage Δ
cmreslogging/handlers.py 81.45% <50%> (-0.74%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e042bb...b800c07. Read the comment docs.

kusha commented 6 years ago

Closing PR because it was created on top of the commit with other changes. I will create the PR on top of the commit from upstream.