aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.66k stars 579 forks source link

More intuitive message when ProveSystemLogs fails #409

Closed danielsagi closed 3 years ago

danielsagi commented 3 years ago

Description

ProveSystemLogs was misleading in certain cases on it's audit log parsing. Now when the file does not exist, we output a corresponding message in the evidence

Fixed Issues

fixes #408

Contribution checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #409 (e8c9ebb) into master (bf7023d) will decrease coverage by 0.05%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   63.56%   63.50%   -0.06%     
==========================================
  Files          42       42              
  Lines        2289     2291       +2     
==========================================
  Hits         1455     1455              
- Misses        834      836       +2     
Impacted Files Coverage Δ
kube_hunter/modules/hunting/kubelet.py 59.75% <0.00%> (-0.25%) :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 bf7023d...e8c9ebb. Read the comment docs.