execsnoop-k8s

command module
v0.0.0-...-9121bbd Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 18 Imported by: 0

README

Execsnoop-K8s

Log all binary executions in Kubernetes.

Based on BPF program from iovisor/gobpf.

Development WIP.

Build

  1. Install https://github.com/iovisor/bcc (INSTALL.md)

  2. Build on host machine:

    go build execsnoop.go
    
  3. Dockerize

    docker build -t execsnoop .
    

Run in Docker

sudo docker run --rm -it -v /lib:/lib -v /usr/src:/usr/src -v /var/run/docker.sock:/var/run/docker.sock --privileged execsnoop

Run in Kubernetes

TBD

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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