virity

module
v0.0.0-...-e5b449a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2020 License: MIT

README

Virity

Go Report Card license Build Status

Virity-Logo

Virity is a tool which is built for making vulnerabilities of Docker containers visible. It connects monitoring tools like sensu or elasticseach with container scanning tools like clair or anchore. Virity is based on an Agent-Server architecture. The Virity-Agent runs on every Docker host or a Kubernetes cluster and fetches constantly all currently running containers. The Virity Server uses this information and automatically pushes the images, used in the containers, to the configurated scan engine. The scanning results are filtered by severity and then pushed to the chosen monitoring system.

Virity-Overview

Install

Build agent and server (optional pass registry and version variable):

make VERSION=<version> REGISTRY=<registry>

Run the agent

Run on every dockerhost:

docker run -d -h $(hostname)  --read-only --name virity-agent -v /var/run/docker.sock:/var/run/docker.sock <registry>/virity-agent:<version>

Run the server

Run on one dockerhost:

docker run -d --name  --read-only virity-server <registry>/virity-server:<version>

Configuration

Configuration can be done via environment variables.

export VIRITY_GENERAL_AGENTENV=k8s
export VIRITY_STORE_INTERVAL_AGENTPUSH=10m

How to set environment variables in docker

All config variables can be found in the example config.yml file.

Directories

Path Synopsis
cmd
agent command
server command
internal
log
Package log is a wrapper for external log packages
Package log is a wrapper for external log packages

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL