Coder Social home page Coder Social logo

gvm-kubernetes's Introduction

Greenbone Vulnerability Manager in Kubernetes

The goal of this project is to containerize and run Greenbone's Vulnerability Manager whole stack in Kubernetes, which includes:

  • GVM Base Libraries (gvm-libs)
  • Greenbone Security Assistant (gsad)
  • Greenbone Vulnerability Manager (gvmd)
  • Open Scanner Protocol Base Class (ospd)
  • OpenVAS (openvas)
  • Open Scanner Protocol implementation for OpenVAS (ospd-openvas)

Since GVM depends on Postgres and needs specific libraries installed with GVM's own Postgres plugin, a Docker image for Postgres containing GVM has also been made available.

You can find all docker images in Dockerhub.

Architecture

GVM has basically three components:

  • gvmd - The actual platform for managing vulnerabilities, which requires a Postgres installation.
  • gsad - A web UI which makes it a lot easier to operate GVM and visualize security reports.
  • ospd-openvas - An Open Scanner Protocol server implementation for OpenVAS, which runs the actual vulnerability scans. It relies on Redis to temporarily store the results of scans.

What's "complicated about" gvmd and ospd-openvas is that both of them rely on socket connections to communicate with Postgres and Redis respectively, rather than on TCP connections. Because of that, gvmd must run in the same machine as Postgres, and ospd-openvas must run in the same machine as Redis. Although there might be hacky workarounds, these components have been designed this way with security concerns in mind.

A good solution is to have gvmd and Postgres run in the same pod in Kubernetes, allowing them to share sockets through an emptyDir volume. The same goes for ospd-openvas and Redis.

The same principle can be applied running all containers locally, using shared volumes.

gvm-kubernetes's People

Watchers

 avatar  avatar

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.