├── .dockerignore ├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── support_question.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── lint.yml │ ├── publish.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .yamllint ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── MITRE.png ├── Makefile ├── NOTICE ├── README.md ├── SECURITY.md ├── docs ├── .gitignore ├── Gemfile ├── Gemfile.lock ├── _config.yml ├── _kb │ ├── KHV002.md │ ├── KHV003.md │ ├── KHV004.md │ ├── KHV005.md │ ├── KHV006.md │ ├── KHV007.md │ ├── KHV020.md │ ├── KHV021.md │ ├── KHV022.md │ ├── KHV023.md │ ├── KHV024.md │ ├── KHV025.md │ ├── KHV026.md │ ├── KHV027.md │ ├── KHV028.md │ ├── KHV029.md │ ├── KHV030.md │ ├── KHV031.md │ ├── KHV032.md │ ├── KHV033.md │ ├── KHV034.md │ ├── KHV036.md │ ├── KHV037.md │ ├── KHV038.md │ ├── KHV039.md │ ├── KHV040.md │ ├── KHV041.md │ ├── KHV042.md │ ├── KHV043.md │ ├── KHV044.md │ ├── KHV045.md │ ├── KHV046.md │ ├── KHV047.md │ ├── KHV049.md │ ├── KHV050.md │ ├── KHV051.md │ ├── KHV052.md │ └── KHV053.md ├── _layouts │ └── default.html ├── index.md └── kbindex.html ├── job.yaml ├── kube-hunter-screenshot.png ├── kube-hunter.png ├── kube-hunter.py ├── kube_hunter ├── README.md ├── __init__.py ├── __main__.py ├── conf │ ├── __init__.py │ ├── logging.py │ └── parser.py ├── core │ ├── __init__.py │ ├── events │ │ ├── __init__.py │ │ ├── event_handler.py │ │ └── types.py │ └── types │ │ ├── __init__.py │ │ ├── components.py │ │ ├── hunters.py │ │ └── vulnerabilities.py ├── modules │ ├── __init__.py │ ├── discovery │ │ ├── __init__.py │ │ ├── apiserver.py │ │ ├── dashboard.py │ │ ├── etcd.py │ │ ├── hosts.py │ │ ├── kubectl.py │ │ ├── kubelet.py │ │ ├── kubernetes_client.py │ │ ├── ports.py │ │ └── proxy.py │ ├── hunting │ │ ├── __init__.py │ │ ├── aks.py │ │ ├── apiserver.py │ │ ├── capabilities.py │ │ ├── certificates.py │ │ ├── cves.py │ │ ├── dashboard.py │ │ ├── etcd.py │ │ ├── kubelet.py │ │ ├── mounts.py │ │ ├── proxy.py │ │ └── secrets.py │ └── report │ │ ├── __init__.py │ │ ├── base.py │ │ ├── collector.py │ │ ├── dispatchers.py │ │ ├── factory.py │ │ ├── json.py │ │ ├── plain.py │ │ └── yaml.py └── plugins │ ├── __init__.py │ └── hookspecs.py ├── mypy.ini ├── pyinstaller_hooks └── hook-prettytable.py ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── conf └── test_logging.py ├── core ├── test_cloud.py ├── test_handler.py └── test_subscribe.py ├── discovery ├── test_apiserver.py ├── test_hosts.py └── test_k8s.py ├── hunting ├── test_aks.py ├── test_apiserver_hunter.py ├── test_certificates.py ├── test_cvehunting.py ├── test_dashboard.py └── test_kubelet.py ├── modules └── test_reports.py └── plugins ├── test_hooks.py └── test_plugins_hooks.py /.dockerignore: -------------------------------------------------------------------------------- 1 | *.png 2 | tests/ 3 | docs/ 4 | .github/ 5 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/support_question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/ISSUE_TEMPLATE/support_question.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.yamllint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/.yamllint -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/LICENSE -------------------------------------------------------------------------------- /MITRE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/MITRE.png -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/Makefile -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/SECURITY.md -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _site -------------------------------------------------------------------------------- /docs/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/Gemfile -------------------------------------------------------------------------------- /docs/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/Gemfile.lock -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/_kb/KHV002.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV002.md -------------------------------------------------------------------------------- /docs/_kb/KHV003.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV003.md -------------------------------------------------------------------------------- /docs/_kb/KHV004.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV004.md -------------------------------------------------------------------------------- /docs/_kb/KHV005.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV005.md -------------------------------------------------------------------------------- /docs/_kb/KHV006.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV006.md -------------------------------------------------------------------------------- /docs/_kb/KHV007.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV007.md -------------------------------------------------------------------------------- /docs/_kb/KHV020.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV020.md -------------------------------------------------------------------------------- /docs/_kb/KHV021.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV021.md -------------------------------------------------------------------------------- /docs/_kb/KHV022.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV022.md -------------------------------------------------------------------------------- /docs/_kb/KHV023.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV023.md -------------------------------------------------------------------------------- /docs/_kb/KHV024.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV024.md -------------------------------------------------------------------------------- /docs/_kb/KHV025.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV025.md -------------------------------------------------------------------------------- /docs/_kb/KHV026.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV026.md -------------------------------------------------------------------------------- /docs/_kb/KHV027.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV027.md -------------------------------------------------------------------------------- /docs/_kb/KHV028.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV028.md -------------------------------------------------------------------------------- /docs/_kb/KHV029.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV029.md -------------------------------------------------------------------------------- /docs/_kb/KHV030.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV030.md -------------------------------------------------------------------------------- /docs/_kb/KHV031.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV031.md -------------------------------------------------------------------------------- /docs/_kb/KHV032.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV032.md -------------------------------------------------------------------------------- /docs/_kb/KHV033.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV033.md -------------------------------------------------------------------------------- /docs/_kb/KHV034.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV034.md -------------------------------------------------------------------------------- /docs/_kb/KHV036.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV036.md -------------------------------------------------------------------------------- /docs/_kb/KHV037.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV037.md -------------------------------------------------------------------------------- /docs/_kb/KHV038.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV038.md -------------------------------------------------------------------------------- /docs/_kb/KHV039.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV039.md -------------------------------------------------------------------------------- /docs/_kb/KHV040.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV040.md -------------------------------------------------------------------------------- /docs/_kb/KHV041.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV041.md -------------------------------------------------------------------------------- /docs/_kb/KHV042.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV042.md -------------------------------------------------------------------------------- /docs/_kb/KHV043.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV043.md -------------------------------------------------------------------------------- /docs/_kb/KHV044.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV044.md -------------------------------------------------------------------------------- /docs/_kb/KHV045.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV045.md -------------------------------------------------------------------------------- /docs/_kb/KHV046.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV046.md -------------------------------------------------------------------------------- /docs/_kb/KHV047.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV047.md -------------------------------------------------------------------------------- /docs/_kb/KHV049.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV049.md -------------------------------------------------------------------------------- /docs/_kb/KHV050.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV050.md -------------------------------------------------------------------------------- /docs/_kb/KHV051.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV051.md -------------------------------------------------------------------------------- /docs/_kb/KHV052.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV052.md -------------------------------------------------------------------------------- /docs/_kb/KHV053.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_kb/KHV053.md -------------------------------------------------------------------------------- /docs/_layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/_layouts/default.html -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/kbindex.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/docs/kbindex.html -------------------------------------------------------------------------------- /job.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/job.yaml -------------------------------------------------------------------------------- /kube-hunter-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube-hunter-screenshot.png -------------------------------------------------------------------------------- /kube-hunter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube-hunter.png -------------------------------------------------------------------------------- /kube-hunter.py: -------------------------------------------------------------------------------- 1 | kube_hunter/__main__.py -------------------------------------------------------------------------------- /kube_hunter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/README.md -------------------------------------------------------------------------------- /kube_hunter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /kube_hunter/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/__main__.py -------------------------------------------------------------------------------- /kube_hunter/conf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/conf/__init__.py -------------------------------------------------------------------------------- /kube_hunter/conf/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/conf/logging.py -------------------------------------------------------------------------------- /kube_hunter/conf/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/conf/parser.py -------------------------------------------------------------------------------- /kube_hunter/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/__init__.py -------------------------------------------------------------------------------- /kube_hunter/core/events/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa: E402 2 | from . import types 3 | -------------------------------------------------------------------------------- /kube_hunter/core/events/event_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/events/event_handler.py -------------------------------------------------------------------------------- /kube_hunter/core/events/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/events/types.py -------------------------------------------------------------------------------- /kube_hunter/core/types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/types/__init__.py -------------------------------------------------------------------------------- /kube_hunter/core/types/components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/types/components.py -------------------------------------------------------------------------------- /kube_hunter/core/types/hunters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/types/hunters.py -------------------------------------------------------------------------------- /kube_hunter/core/types/vulnerabilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/core/types/vulnerabilities.py -------------------------------------------------------------------------------- /kube_hunter/modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/__init__.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/__init__.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/apiserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/apiserver.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/dashboard.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/etcd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/etcd.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/hosts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/hosts.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/kubectl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/kubectl.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/kubelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/kubelet.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/kubernetes_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/kubernetes_client.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/ports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/ports.py -------------------------------------------------------------------------------- /kube_hunter/modules/discovery/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/discovery/proxy.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/__init__.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/aks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/aks.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/apiserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/apiserver.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/capabilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/capabilities.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/certificates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/certificates.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/cves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/cves.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/dashboard.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/etcd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/etcd.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/kubelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/kubelet.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/mounts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/mounts.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/proxy.py -------------------------------------------------------------------------------- /kube_hunter/modules/hunting/secrets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/hunting/secrets.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/__init__.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/base.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/collector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/collector.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/dispatchers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/dispatchers.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/factory.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/json.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/plain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/plain.py -------------------------------------------------------------------------------- /kube_hunter/modules/report/yaml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/modules/report/yaml.py -------------------------------------------------------------------------------- /kube_hunter/plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/plugins/__init__.py -------------------------------------------------------------------------------- /kube_hunter/plugins/hookspecs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/kube_hunter/plugins/hookspecs.py -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | ignore_missing_imports = True -------------------------------------------------------------------------------- /pyinstaller_hooks/hook-prettytable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/pyinstaller_hooks/hook-prettytable.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | -e . 2 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conf/test_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/conf/test_logging.py -------------------------------------------------------------------------------- /tests/core/test_cloud.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/core/test_cloud.py -------------------------------------------------------------------------------- /tests/core/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/core/test_handler.py -------------------------------------------------------------------------------- /tests/core/test_subscribe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/core/test_subscribe.py -------------------------------------------------------------------------------- /tests/discovery/test_apiserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/discovery/test_apiserver.py -------------------------------------------------------------------------------- /tests/discovery/test_hosts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/discovery/test_hosts.py -------------------------------------------------------------------------------- /tests/discovery/test_k8s.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/discovery/test_k8s.py -------------------------------------------------------------------------------- /tests/hunting/test_aks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/hunting/test_aks.py -------------------------------------------------------------------------------- /tests/hunting/test_apiserver_hunter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/hunting/test_apiserver_hunter.py -------------------------------------------------------------------------------- /tests/hunting/test_certificates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/hunting/test_certificates.py -------------------------------------------------------------------------------- /tests/hunting/test_cvehunting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/hunting/test_cvehunting.py -------------------------------------------------------------------------------- /tests/hunting/test_dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/hunting/test_dashboard.py -------------------------------------------------------------------------------- /tests/hunting/test_kubelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/hunting/test_kubelet.py -------------------------------------------------------------------------------- /tests/modules/test_reports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/modules/test_reports.py -------------------------------------------------------------------------------- /tests/plugins/test_hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/plugins/test_hooks.py -------------------------------------------------------------------------------- /tests/plugins/test_plugins_hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aquasecurity/kube-hunter/HEAD/tests/plugins/test_plugins_hooks.py --------------------------------------------------------------------------------