aquasecurity / kube-hunter

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

Feature: New Service Account Token Flag #463

Closed danielsagi closed 3 years ago

danielsagi commented 3 years ago

Description

Added an option to manually pass a jwt bearer token to actively test capabilities of specific users.

Contribution checklist

Notes

Please mention if you have not checked any of the above boxes.

codecov[bot] commented 3 years ago

Codecov Report

Merging #463 (4dae95b) into main (e63efdd) will increase coverage by 0.03%. The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #463      +/-   ##
==========================================
+ Coverage   64.07%   64.10%   +0.03%     
==========================================
  Files          43       43              
  Lines        2416     2424       +8     
==========================================
+ Hits         1548     1554       +6     
- Misses        868      870       +2     
Impacted Files Coverage Δ
kube_hunter/core/events/types.py 83.20% <66.66%> (-0.41%) :arrow_down:
kube_hunter/modules/discovery/hosts.py 55.36% <75.00%> (+0.19%) :arrow_up:
kube_hunter/conf/__init__.py 96.29% <100.00%> (+0.14%) :arrow_up:
kube_hunter/conf/parser.py 79.31% <100.00%> (+0.73%) :arrow_up:

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 e63efdd...4dae95b. Read the comment docs.