Code Monkey home page Code Monkey logo

falco-eks-audit-bridge's Introduction

Falco EKS Audit Bridge

Falco EKS Audit Bridge (FEAB) monitors an S3 bucket with AWS EKS audit logs and sends them to Sysdig Falco for inspection. The EKS audit logs are retrieved from AWS CloudWatch with the AWS Kinesis Firehose service. Please check this guide to learn how to setup the AWS infrastructure.

Building

In order to build this project you can use the Makefile, which contains two goals:

  1. bin: create a local, system specific, binary with the local Go installation (1.11+ required)
  2. docker: create a docker image from scratch with the tool added

Configuration

Two environment variables are required when starting the bridge:

  1. BUCKET: the S3 bucket to monitor. Please make sure that the correct AWS credentials are available to the application (either as environment variables, instance profile, etc.)
  2. FALCO_ENDPOINT: the Falco HTTP endpoint (e.g. http://localhost:8765/k8s_audit)

Deployment

This tool is meant to run as a service within Kubernetes. To that end, we have provided a Helm chart (TODO) which makes deployment easy. You can of course create your own deployment configuration for any system with the docker image.

The Helm chart contains several configuration options that you can override for your specific environment.

The docker image for this tool can be found here: https://hub.docker.com/r/xebia/falco-eks-audit-bridge

Monitoring

The bridge exposes two endpoints for monitoring:

  1. /metrics: Prometheus metrics that track the number of audit logs processed and the total amount of errors encountered. The errors are labeled with the appropriate type.
  2. /health: A simple HTTP endpoint that returns 200 when requested.

falco-eks-audit-bridge's People

Contributors

iverberk avatar arminc avatar

Watchers

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