Giter Club home page Giter Club logo

flair-vulnerability-scanner's Introduction

flair-vulnerability-scanner

The repository is used to scan Flair images for vulnerabilities

Startup

To scan a Flair docker image, you need to start a scanner first, then start the scan.

Start the scanner

First start the database, Clair (scanner) and a docker registry by running

./start.sh

Wait for at least 30 minutes after startup to wait for the Clair to pull vulnerability into a local PostgreSQL database, otherwise, you won't find any vulnerabilities.

Do the scan

Then, run the scanning by first editing the following file scan/klarrunner/.env

APPNAME=flair-engine
APPVER=latest

where APPNAME is a flair docker image name, and APPVER is the version you would like to scan (latest by default).

After that run

./scan.sh

You should see high and critical vulnerability scanning results on the screen.

The scan.sh file builds the klar docker image from the scan/klarrunner folder that starts the actual scan. Then it pulls the image you requested to scan into the local docker repository, and then starts the scanning.

Troubleshooting

If any issues, run the following commands and try again.

docker-compose -f docker/scanner-docker-compose.yml down
docker-compose -f scan/klarrunner-docker-compose.yml down

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.