HazAuth - an authentication testing framework
An open source tool to test authentication in containerised applications. With HazAuth you will be able to quickly identify services that are not locked with an authentication mechanism.
Currently HazAuth is shipped with 3 plugins:
- Docker Registry
- Redis
- MongoDB
python3.5
requests
docker
docker-py
redis-py
> pip3.5 install requests docker redis
> apt-get install docker python3.5
> docker run --disable-content-trust=false twistlock/hazauth -h
Dont want to run as a container? no problem!:
> git clone https://github.com/twistlock/HazAuth.git
> python3.5 hazauth.py -h
Currently HazAuth support these actions:
> docker run --disable-content-trust=false -v /var/run/docker.sock:/var/run/docker.sock:ro twistlock/hazauth registry check -l
> docker run --disable-content-trust=false twistlock/hazauth:alpha-0.1 registry check -i IP -p PORT
> docker run --disable-content-trust=false twistlock/hazauth redi5 check -i IP -p PORT
>docker run --disable-content-trust=false twistlock/hazauth redi5 check -l
>
Documentation is still in progress... sorry!
Any collaboration is welcome!
There are lots of additional possible plugins and improvments. You can check the Issues and send us a Pull Request.
This project is distributed under GNU v3 license