62 lines
2.0 KiB
Markdown
62 lines
2.0 KiB
Markdown
---
|
|
title: "[bojemoi] feat(grafana): dashboards bind mount + scan-results dashboard + config swap fix"
|
|
date: 2026-04-05T00:48:14+02:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "main"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit 24c1a17 par Betty dans bojemoi"
|
|
author: "Betty"
|
|
---
|
|
|
|
## Commit `24c1a17`
|
|
|
|
| | |
|
|
|---|---|
|
|
| **Repository** | bojemoi |
|
|
| **Branch** | `main` |
|
|
| **Author** | Betty |
|
|
| **Hash** | `24c1a17329f8046482acedb7cf6b714be7253f20` |
|
|
|
|
|
|
### Description
|
|
|
|
- stack/01-service-hl.yml:
|
|
- Grafana: bind mount /opt/bojemoi/volumes/grafana/dashboards → /var/lib/grafana/dashboards
|
|
- Grafana: rename Docker configs (grafana-datasources_v2, grafana-dashboards-provider_v2)
|
|
to fix immutability error + correct the datasource/dashboard config swap
|
|
- Loki: publish port 3100 on host (mode: host) for redirector log drain via VPN
|
|
|
|
- volumes/grafana/provisioning/dashboards/dashboards.yml:
|
|
- Cleaned (removed embedded K8s ConfigMap garbage)
|
|
- 3 providers: Pentest, Security, Attack Heatmap
|
|
|
|
- volumes/grafana/provisioning/datasources/datasources.yml:
|
|
- Added PostgreSQL-MSF datasource (postgres:5432/msf) for scan log queries
|
|
|
|
- volumes/grafana/dashboards/pentest/scan-results.json (NEW):
|
|
- Dashboard with 3 sections: Nuclei / ZAP / UZI
|
|
- Stats: total scans, findings/alerts, critical/high, faraday_ok
|
|
- Tables: top vulns per tool
|
|
- Pie charts: status breakdown
|
|
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
### Files Changed
|
|
|
|
```
|
|
M stack/01-service-hl.yml
|
|
A volumes/grafana/dashboards/pentest/scan-results.json
|
|
M volumes/grafana/provisioning/dashboards/dashboards.yml
|
|
M volumes/grafana/provisioning/datasources/datasources.yml
|
|
```
|
|
|
|
### Diff Summary
|
|
|
|
```
|
|
stack/01-service-hl.yml | 20 +-
|
|
.../grafana/dashboards/pentest/scan-results.json | 202 +++++
|
|
.../grafana/provisioning/dashboards/dashboards.yml | 838 +--------------------
|
|
.../provisioning/datasources/datasources.yml | 18 +
|
|
4 files changed, 249 insertions(+), 829 deletions(-)
|
|
```
|