71 Commits

Author SHA1 Message Date
Andreas Lindhé
7479aae9ba Fix broken link to Trivy (#546)
Fixes #545
2023-11-15 15:30:45 +02:00
Itay Shakury
e8827b24f6 add maintenance notice (#544) 2023-11-11 01:05:12 +02:00
danielsagi
2a7020682e Update image tag of aqua version 2022-03-28 17:33:22 +03:00
danielsagi
7c62cc21af Feature: Custom Hunting (#489)
* added partial and partial-names flag. mechanism for whitelisting hunter subscrption for custom hunts

* changed name from partial to custom

* ran black to format

* flake8 formatting

* added documentation in readme for Custom hunting and made Advanced Usage a higher level topic

* added Collector, StartedInfo and SendFullReport to the core_hunters

* changed old name class-names to raw-hunter-names

* fixed bug in import loop
2022-01-28 18:54:36 +02:00
testn
4204879251 Update README.md (#487)
Fix typo
2022-01-22 16:05:20 +02:00
danielsagi
b379e64314 Added MITRE documentation in README (#485)
* Added documentation about differences between vulnerabilities and the attack matrix techniques

* moved docs to start of README, also created MITRE image, showing covered areas of kube-hunter

* fixed link in readme
2022-01-14 00:00:29 +02:00
danielsagi
83b19d4208 Feature: Changed vulnerability categories to support MITRE ATT&CK (#474)
* Refactored all categories to the new MITRE attack matrix format

* Changed format of vulnerabilities table to display the mitre technique related to the vulnerability
2021-09-30 15:25:30 +03:00
danielsagi
a7d26452fb Feature: New Service Account Token Flag (#463)
* added service account token flag to use in hunting

* added flag to main parsing config creation

* fixed linting issues

* added documentation on the service-account-token flag

* minor readme change
2021-06-24 20:58:43 +03:00
Mikolaj Pawlikowski
6689005544 K8s autodiscovery (#453)
* Add a new dependency on Kubernetes package

* Add and store a new flag about automatic nodes discovery from a pod

* Implement the listing of nodes

* Add tests to cover the k8s node listing

* Fix the k8s listing test to ensure the load incluster function is actually called

* Add more help to the k8s node discovery flags, and cross-reference them.

* Add a note on the Kubernetes auto-discovery in the main README file

* Move the kubernetes discovery from conf to modules/discovery

* When running with --pods, run the Kubernetes auto discovery

* Also mention that the auto discovery is always on when using --pod

Co-authored-by: Mikolaj Pawlikowski <mpawlikowsk1@bloomberg.net>
2021-06-05 15:53:07 +03:00
Tommy McCormick
5745f4a32b Add discovery for AWS metadata (#447) 2021-04-21 20:57:17 +03:00
danielsagi
1a26653007 Added Advanced Usage section to the readme, documenting azure quick scanning (#441) 2021-04-08 19:20:09 +03:00
Carol Valencia
d208b43532 feat: github actions to publish ecr and docker (#429)
* feat: github actions to publish ecr and docker

* test: github actions to publish ecr and docker

* chore: yaml lint github actions

* chore: yaml lint github actions

* fix: secrets envs for github action

* chore: build and push action for ecr/docker

Co-authored-by: Carol Valencia <krol3@users.noreply.github.com>
2020-12-26 21:31:53 +02:00
Itay Shakury
42250d9f62 move from master branch to main (#427) 2020-12-17 16:16:16 +02:00
danielsagi
22d6676e08 Removed Travis and Greetings workflows (#415)
* removed greetings workflow, and travis

* Update the build status badge to point to Github Actions
2020-12-04 13:42:38 +02:00
Monish Singh
0d5b3d57d3 added the link of contribution page (#383)
* added the link of contribution page

users can directly go to the contribution page from here after reading the readme file

* added it to the table of contents

* Done

sorry for my prev. mistake, now its fixed.

Co-authored-by: danielsagi <danielsagi2009@gmail.com>
2020-11-07 15:07:39 +02:00
Liz Rice
2428e2e869 docs: fix broken CONTRIBUTING link (#361) 2020-07-03 11:59:53 +03:00
Yehuda Chikvashvili
0f1739262f Linting Standards (#330)
Fix linting issues with flake8 and black.
Add pre-commit congifuration, update documnetation for it.
Apply linting check in Travis CI.
2020-04-05 05:22:24 +03:00
Vipul Gupta
df12d75d6d Packaging Kube-Hunter for PyPi (#272)
* Inital Commit

Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>

* Suggestions implemented as suggested

Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>

* Package with setuptools

Use setuptools to package kube-hunter as redistributable file.
Once packages, it can be pushed to PyPi.
The package version is taken from git tags (using setuptools_scm).

Closes #185

* Ignore __main__.py script in code coverage

The entrypoint script should not be tested but rather be calling
to tested modules.
Ideally, __main__ should only make a call to single function from
another tested module.

* Update requirements files

Use install_requires from setup.cfg file as single source of truth
for dependencies.
Install regular dependencies when installing dev dependencies.

* Symlink kube-hunter.py to entry point

Support the old way to run kube-hunter via the main script by making
a link to the new kube_hunter/__main__.py script.

Co-authored-by: Yehuda Chikvashvili <yehudaac1@gmail.com>
2020-02-10 21:35:31 +02:00
Yehuda Chikvashvili
fe3dba90d8 Refactor configuration (#283)
* Remove __main__ references and create a top-level config module

* Move conf module into separate standalone package

* Deprecate install_imports.py script

* Rename root package to kube_hunter

The previous src root package name was too generic and not unique,
so it can be used as external name.
Change `src` to `kube_hunter` so it can be referenced in a clear way.
Addtional changes made on the way:
* Make imports absolute
* Formatting

Relates to #185

* remove todos

Co-authored-by: Ryan Lahfa <masterancpp@gmail.com>
Co-authored-by: Itay Shakury <itay@itaysk.com>
2019-12-29 14:18:58 +02:00
Oleg Butuzov
fd4d79a853 adding codecoverage (#198) 2019-11-30 08:45:33 +00:00
Liz Rice
3326171c7a docs: clarify that job.yaml is an example (#279) 2019-11-27 18:42:35 +02:00
Itay Shakury
14c49922da mention KB in the readme (#276)
Co-Authored-By: Liz Rice <liz@lizrice.com>
2019-11-15 21:54:14 +02:00
Greg Jacobs
1c443eb6e4 Fixes for typos and readability in Readme.md and KB (#248) 2019-11-12 14:08:47 +02:00
Raj Chowdhury
25333b201f Typo fix (#247)
Fixed Minor typos in README
2019-10-25 11:54:27 -07:00
Nithin-183
bde288ceb3 Update README.md (#237) 2019-10-25 11:42:10 -07:00
Soumyadeep Sinha
300fd117c9 Fixed Some typos (#199)
* Fixed some typos

* Fixed some typos
2019-10-18 18:55:47 +03:00
Aayush Srivastava
6a80cdede5 Update README.md (#196)
* Update README.md

Added license details(and linked to the license page) and improved the readability of the README file.

* Update README.md

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>
2019-10-18 17:32:54 +03:00
Sumit Kharche
a877d86c13 Added license & docker image badge (#197)
* Added license badge in README.md

* Removed spaces at end of file.
2019-10-18 16:49:39 +03:00
Mohan Sha
4df3908772 Added table of contents for easier navigation (#211) 2019-10-18 15:58:54 +03:00
SinithH
e982f291e9 fixed some typos (#193)
* Update README.md

* Update README.md

* Update README.md

* Replace missing "if"
2019-10-10 10:17:23 +01:00
Adam Hauze
bed2a1fe4a Updated README to include documentation around python venv (#187)
* Updated README to include documentation around python venv

* Tidy PR

Add link to Virtual Environments docs
Remove Mac-specific instruction about brew
Remove non-installation instructions from installation section

* Tidy PR

Remove run instruction from installation section
2019-10-04 13:09:25 +02:00
Pierre-Yves Aillet
c4e1e1e48c removing the foot note (#178)
* removing the foot note

the underlying issue has been closed, so the foot note might be removed

* removing another note

spotted another note and reference to the issue in the README
2019-09-08 11:42:23 +03:00
danielsagi
427a295c8c Adding visibility for dispatching (#166)
* minor addition to description

* added documantation in readme

* minor changes to logging levels and formatting

* changed example in readme

* fixed merge

* added info logging to http dispatch method

* changed description from environ to environment variables
2019-08-28 12:18:58 +03:00
danielsagi
44e6438d37 Changed name of Subnet scanning to - Interface Scanning (#169)
* changed Subnet/internal scanning to interface

* Change one more internal -> interface
2019-08-25 20:40:30 +03:00
danielsagi
889a77d939 Pyinstaller/py2exe support (#157)
* removed unnecessary imports from main file

* added a script that generates static __init__ files based on existing modules

* added documentation

* added installing of plugins imports to script
2019-07-29 05:47:36 -07:00
danielsagi
cc70c83ba4 Retire Support For Python 2 (#153)
* removed python2 from readme and travis

* changed except on caps hunter to except PermissionError, supports only from python3

* removed python2 support in main file

* changed cvehunter to use res.text in place of res.content (python3 returnes a bytes object for content)
2019-07-10 11:23:08 +01:00
Tomek Rabczak
e536f53b88 Update README to reference non-SSH URL 2019-05-17 17:44:42 +00:00
Liz Rice
0707954efb Add note that current container is out of date 2019-03-30 08:40:14 +01:00
Weston Steimel
22334c67ad update dockerfile and travis
* Update docker image to python 3.7.2 and alpine3.9
* Update travis to test python3.7
* Remove part about using python2 in python3-based environment from
README

Signed-off-by: Weston Steimel <weston.steimel@gmail.com>
2019-03-07 22:36:01 +00:00
Liz Rice
f2b3573bee Add python 3 2019-03-06 20:36:43 +00:00
Liz Rice
d66180d7cc Add build status badge 2019-03-05 12:33:16 +00:00
Liz Rice
5cd9efec15 Update README.md 2019-02-19 09:40:28 +00:00
Abubakr-Sadik Nii Nai Davis
b0d014848c Link prerequisites to detailed instruction later in the page 2019-02-18 20:46:54 +00:00
Abubakr-Sadik Nii Nai Davis
68b736c7c3 Add pip command to install required modules 2019-02-18 15:45:50 +00:00
Liz Rice
bb52711c41 Merge pull request #42 from aquasecurity/updateDocForPythonPath
Update README.md
2018-11-06 10:33:42 +00:00
Liz Rice
6d73a2cde3 Update README.md 2018-11-06 10:32:44 +00:00
Liz Rice
79a5ca8bde Add link to demo video 2018-09-13 16:14:21 +01:00
jmichealson
f22b89775d Update README.md 2018-09-11 08:03:43 -05:00
Liz Rice
8da2b588a8 Add logo to readme 2018-09-07 14:08:42 +01:00
Liz Rice
8af84cb008 Capitalization
Thanks @craigbox :-)
2018-09-04 18:01:42 +01:00