Giter Site home page Giter Site logo

rosehgal / dockerent Goto Github PK

View Code? Open in Web Editor NEW
124.0 124.0 17.0 2.17 MB

The only open-source tool to analyze vulnerabilities and configuration issues with running docker container(s) and docker networks.

License: MIT License

Python 83.52% HTML 15.13% Makefile 0.46% Dockerfile 0.89%
docker docker-sast hacktoberfest hacktoberfest2020 runtime-security-testing sast

dockerent's People

Contributors

dcrusty avatar dependabot[bot] avatar nishitm avatar rosehgal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockerent's Issues

DockerENT version comes twice

Describe the bug
DockerENT --version displays twice.

To Reproduce
DockerENT --version

Expected behavior
This should only come once.

Webapp is listening on all intefaces

Describe the bug
The webapp of DockerENT listens on all network interfaces.

To Reproduce
Steps to reproduce the behavior:

  1. Run python -m DockerENT
  2. Observe web app is listening on all interfaces

Expected behavior
Should only listen on localhost. If on all IP's then should be behind some authentication.

Can't build DockerENT on Debian Buster

Describe the bug
When building DockerENT, make venv fails, complaining about missing arrow stuff. However, I have installed python3-arrow from Debian repository already. I have not managed to find other packages that would help (other than maybe installing apache-arrow from unofficial sources (which I rather not do since I am doing this on an actual server where I don't want to install too much stuff I don't use.

To Reproduce
Following the readme, git cloning and make venv

Expected behavior
I would have expect the building of venv.

Screenshots
-- Searching for Python libs in /home/klaus/containers/DockerENT/venv/lib64;/home/klaus/containers/DockerENT/venv/lib;/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu
-- Looking for python3.7m
-- Found Python lib /usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Could NOT find Arrow (missing: Arrow_DIR)
-- Checking for module 'arrow'
-- No package 'arrow' found
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR
ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindArrow.cmake:419 (find_package_handle_standard_args)
cmake_modules/FindArrowPython.cmake:46 (find_package)
CMakeLists.txt:214 (find_package)

Desktop (please complete the following information):
Debian Buster

Smartphone (please complete the following information):
N/A

Additional context
I would honestly prefer to pull an image off dockerhub instead. This is way too complicated for me.

Thanks!

`DockerENT -w` doesnot works with pip install setup

Describe the bug

โžœ  ~ DockerENT -w
2020-09-05 12:46:44 INFO     2020-09-05 12:46:44 [68372] [MainProcess] [MainThread] INFO DockerENT.__main__:125 - Starting web application ...                                         __main__.py:125
Usage: streamlit run [OPTIONS] TARGET [ARGS]...

Error: Invalid value: File does not exist: web_app.py
Traceback (most recent call last):
  File "/usr/local/bin/DockerENT", line 5, in <module>
    from DockerENT.__main__ import start
  File "/usr/local/lib/python3.7/site-packages/DockerENT/__main__.py", line 143, in <module>
    start()
  File "/usr/local/lib/python3.7/site-packages/DockerENT/__main__.py", line 131, in start
    _log.info(web_process.stdout.read())
AttributeError: 'NoneType' object has no attribute 'read'

To Reproduce

pip install DockerENT

DockerENT -w

Web Interface Error

Describe the bug
When I try to run from the web interface it says 'NoneType' object is not subscriptable.

To Reproduce
Steps to reproduce the behavior:

  1. Access the Web interface
  2. Select all Containers, All Networks and All Tests
  3. See error

Expected behavior
Tests to run I guess and some sort of feedback provided

Screenshots
1

Desktop (please complete the following information):

  • OS: Ubuntu Server 20.04
  • Browser: Brave and Firefox

Connect to Docker server via API

Currently the docker server is considered to be from local host. But this is not always the case, the docker server may be remote.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.