Giter Club home page Giter Club logo

kapprover's Introduction

kapprover

kapprover is a tool meant to be deployed in Kubernetes clusters that use the TLS client certificate bootstrapping flow. It will monitor and automatically approve Certificate Signing Requests based on the the policy specified in the command-line arguments.

The easiest way to deploy kapprover is to use the provided resources in the resources directory. This implements a reasonable default policy for POD TLS server/client certificates.

Approval policies

The approval policy is specified on the command line as three sets of inspectors. An inspector performs a policy check on a certificate request and either takes no action, letting the request go on to the next inspector, or indicates adverse action should be taken, returning a message as to why.

What adverse action is taken depends on which of the three sets the inspector is in. They are, in order of application to requests:

  • filters: The request is ignored. Presumably some other approver will process it.
  • deniers: The request is denied.
  • warners: The message is logged at warning level, but the request is still approved. This is intended to allow graceful transition to stricter policies.

If a request passes all of the configured filters and deniers it is then approved.

Request cleanup

Once a request is approved or denied, kapprover will delete it after an amount of time that is specified on the command line.

Custom inspectors

To use a custom inspector, fork (only) the main package and have it import the necessary inspectors.

kapprover's People

Contributors

johngmyers avatar quentin-m avatar kousik93 avatar

Watchers

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