VoodooTeam / starboard-federator

Aggregates starboard security reports from several clusters

Home Page:https://github.com/orgs/VoodooTeam/packages/container/package/starboard-federator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starboard federator

Aggregates Aqua Starboard reports from several clusters

Start dev server

IHP relies on nix package manager, you must install it first : (see IHP doc)

./start

should be enough ;)

dev env

start a target cluster (with starboard operator installed and the CR, CRB & serviceAccount for the federator)

make start-target

this will output the URL and serviceAccount token so you can the federator can aggregate results

you can open a shell with all needed softwares by running

nix-shell ./dev-shell.nix

test deployment setup

start an "infra" cluster where you can test the federator deployment (not needed if you work on the app's code locally)

make local-env

this will also run a local docker regitstry available on port 5000

build & deploy the Staboard federator :

make build-deploy-local

Creating the db schema

2 files are necessary (apply order matters) :

  • ./build/ihp-lib/IHPSchema.sql
  • ./Application/Schema.sql

k8s deployment

a working (simple) example is available here

About

Aggregates starboard security reports from several clusters

https://github.com/orgs/VoodooTeam/packages/container/package/starboard-federator

License:Apache License 2.0


Languages

Language:Haskell 78.2%Language:Shell 8.2%Language:Nix 6.8%Language:Makefile 4.0%Language:Dockerfile 2.9%