Git Product home page Git Product logo

kenna-agent-image's Introduction

How to build on CentOS 8

  1. Git-clone this repository
    [email protected]:sfgeorge/kenna-agent-image.git
  2. Save the kenna-agent rpm installation package to the centos8/ directory, and rename the rpm package to kenna-agent.rpm.
  3. cd centos8/ if you are not already in the centos8/ directory.
  4. Build this image
    docker build -t kenna-agent:latest .
  5. Launch the container, while specifying your Kenna API Key as an Environment variable:
   export KENNA_API_KEY=XXXX-XXXX
   docker run --name kenna-agent --env KENNA_API_KEY --init --rm -it kenna-agent:latest
  1. If the output from the previous step indicates a successful launch, you can stop it and run it again in a more stable way. For example,

    Detached mode (-d)

    docker run --name kenna-agent --env KENNA_API_KEY --init --rm -d kenna-agent:latest

    Restart the container if it exits up to 5 times

    docker run --name kenna-agent --env KENNA_API_KEY --init -d --restart on-failure:5 kenna-agent:latest

Troubleshooting / FAQ

  1. What is kenna-agent?

    kenna-agent allows your organization to send encrypted security vulnerability date to the Kenna Security platform. For more information, visit https://help.kennasecurity.com/hc/en-us/articles/360029047771-Setting-Up-the-Kenna-Agent

  2. I've edited centos8/kenna-agent.toml.template but don't see the changes reflected in the container.

    Re-run the build with layer caching disabled...

    docker build --no-cache -t kenna-agent:latest .

  3. I can't kill the container with Ctrl-C

    docker kill kenna-agent

Container Inspection

To launch the container without automatically running kenna-agent, such as for troubleshooting purposes, run the following...

docker build -t kenna-agent:latest .
docker run --name kenna-agent --env KENNA_API_KEY --init --rm -it kenna-agent:latest /bin/bash
kenna-agent check

kenna-agent-image's People

Contributors

sfgeorge avatar

Watchers

 avatar James Cloos avatar  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.