Skip to content

eyalkraft/cloudbeat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudbeat

Coverage Go Report Card Build Status

Table of contents

Prerequisites

  1. Just command runner
  2. Elasticsearch with the default username & password (elastic & changeme) running on the default port (http://localhost:9200)
  3. Kibana with running on the default port (http://localhost:5601)
  4. Set up the local env:
just setup-env

Running Cloudbeat

Build & deploy cloudbeat:

just build-deploy-cloudbeat

To validate check the logs:

just logs-cloudbeat

Now go and check out the data on your Kibana! Make sure to add a kibana dataview logs-cis_kubernetes_benchmark.findings-*

Clean up

To stop this example and clean up the pod, run:

just delete-cloudbeat

Remote Debugging

Build & Deploy remote debug docker:

just build-deploy-cloudbeat-debug

After running the pod, expose the relevant ports:

just expose-ports

The app will wait for the debugger to connect before starting

just logs-cloudbeat

Use your favorite IDE to connect to the debugger on localhost:40000 (for example Goland)

Note: Check the jusfile for all available commands for build or deploy $ just --summary

About

Beat containing opa sdk to run rego eval on cloud native resources

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 69.4%
  • Shell 21.1%
  • Makefile 4.1%
  • Python 3.8%
  • Jinja 1.3%
  • Batchfile 0.2%
  • Dockerfile 0.1%