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 #55

Open kusha opened 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 #55 into master will decrease coverage by 0.5%. The diff coverage is 62.5%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #55      +/-   ##
=========================================
- Coverage      83%   82.5%   -0.51%     
=========================================
  Files           2       2              
  Lines         153     160       +7     
  Branches       20      21       +1     
=========================================
+ Hits          127     132       +5     
- Misses         22      23       +1     
- Partials        4       5       +1
Impacted Files Coverage Δ
cmreslogging/handlers.py 81.69% <62.5%> (-0.5%) :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...5314ddd. Read the comment docs.