KubeArmor Datasource for grafana
June 24, 2024 ยท View on GitHub
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
-
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 -
Build backend plugin binaries for Linux, Windows and Darwin:
mage -v -
List all available Mage targets for additional commands:
mage -l
Frontend
-
Install dependencies
npm install -
Build plugin in development mode and run in watch mode
npm run dev -
Build plugin in production mode
npm run build
Plugin Demo
follow the instructions given in the demo-setup.md
Download
- Download from the plugin catalog(not ready)
- Download from github releases
Contributing
Follow the instructions provided in the Contributing.md to setup the dev environment.