Git Product home page Git Product logo

voodooteam / starboard-federator Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 0.0 87 KB

Aggregates starboard security reports from several clusters

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

License: Apache License 2.0

Haskell 78.16% Nix 6.77% Dockerfile 2.87% Makefile 4.03% Shell 8.17%
kubernetes security security-audit ihp haskell haskell-application

starboard-federator's Introduction

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

starboard-federator's People

Contributors

matthieujacquot-voodoo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

starboard-federator's Issues

InternalException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa))))


Failed job with exception: HttpExceptionRequest Request {

host = "kubernetes.default.svc"

port = 443

secure = True

requestHeaders = [("Authorization","<REDACTED>"),("Accept","application/json"),("User-Agent","haskell wreq-0.5.3.2")]

path = "/apis/aquasecurity.github.io/v1alpha1/configauditreports"

queryString = ""

method = "GET"

proxy = Nothing

rawBody = False

redirectCount = 10

responseTimeout = ResponseTimeoutDefault

requestVersion = HTTP/1.1

}

(InternalException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa))))```

add navigation per namespace

page : confReportsInCluster(clusterID)

add a namespace section, then show -> navigate to confReportsInNamespace(clusterID, ns) (to be created)

improve report update pattern

maybe drop only the updated cluster's reports or even better : update in place and remove those not present anymore.

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.