Skip to content

Latest commit

 

History

History
79 lines (47 loc) · 1.8 KB

README.md

File metadata and controls

79 lines (47 loc) · 1.8 KB

KubeArmor Datasource for grafana

Slack CI Release

This plugin converts KubeArmor logs to grafana Nodegraphs

Dependencies and Requirements

  • Grafana 9+
  • Node '>=18 <=20'
  • mage and go
  • docker
  • docker-compose
  • jq

Building the Plugin

Backend

  1. Update Grafana plugin SDK for Go dependency to the latest minor version:

    go get -u github.com/grafana/grafana-plugin-sdk-go
    go mod tidy
  2. Build backend plugin binaries for Linux, Windows and Darwin:

    mage -v
  3. List all available Mage targets for additional commands:

    mage -l

Frontend

  1. Install dependencies

    npm install
  2. Build plugin in development mode and run in watch mode

    npm run dev
  3. Build plugin in production mode

    npm run build

Plugin Demo

follow the instructions given in the demo-setup.md

Download

  1. Download from the plugin catalog(not ready)
  2. Download from github releases

Contributing

Follow the instructions provided in the Contributing.md to setup the dev environment.