aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.7k stars 581 forks source link

Minor hunting bug fixes #360

Closed danielsagi closed 4 years ago

danielsagi commented 4 years ago

Description

This PR fixes some typo issues and general misuses of function, which made some hunters fail silently.

Contribution checklist

Notes

codecov[bot] commented 4 years ago

Codecov Report

Merging #360 into master will decrease coverage by 0.02%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
- Coverage   59.27%   59.24%   -0.03%     
==========================================
  Files          42       42              
  Lines        2060     2061       +1     
==========================================
  Hits         1221     1221              
- Misses        839      840       +1     
Impacted Files Coverage Δ
kube_hunter/modules/hunting/etcd.py 33.75% <0.00%> (-0.43%) :arrow_down:
kube_hunter/modules/hunting/kubelet.py 30.90% <0.00%> (ø)

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 3ba9264...e6a7cb9. Read the comment docs.