post: commit 5b26e52 in bojemoi
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 14s

This commit is contained in:
2026-05-27 21:51:28 +02:00
committed by Betty
parent 6a6e21dace
commit dfda3c897a

View File

@@ -0,0 +1,58 @@
---
title: "[bojemoi] fix(grafana): corriger les panels PostgreSQL pour Grafana 12"
date: 2026-05-27T21:51:28+02:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 5b26e52 par Betty dans bojemoi"
author: "Betty"
---
## Commit `5b26e52`
| | |
|---|---|
| **Repository** | bojemoi |
| **Branch** | `main` |
| **Author** | Betty |
| **Hash** | `5b26e5259bf86c6f17878b8bbd4096a1b569eaa0` |
### Description
- Datasource: type postgres → grafana-postgresql-datasource, database dans jsonData
- Targets: ajouter editorMode=code (requis par Grafana 12, sinon SQL effacé)
- Targets: remettre datasource dans chaque target (lecture target-level en Grafana 12)
- Targets: rawQuery=true sur tous les panels PostgreSQL
- Stack: GF_SERVER_ROOT_URL → https://grafana.bojemoi.lab (évite cross-origin)
- Supprimer datasource PostgreSQL-ThreatIntel (IP inexistante, aucun dashboard)
- Sentinel DB: user créé dans PostgreSQL + schéma initialisé
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
### Files Changed
```
M stack/01-service-hl.yml
M volumes/grafana/dashboards/pentest/pentest-overview.json
M volumes/grafana/dashboards/pentest/pipeline-overview.json
M volumes/grafana/dashboards/pentest/scan-results.json
M volumes/grafana/dashboards/pentest/vuln-management.json
M volumes/grafana/dashboards/security/sentinel.json
M volumes/grafana/dashboards/security/vigie.json
M volumes/grafana/provisioning/datasources/datasources.yml
```
### Diff Summary
```
stack/01-service-hl.yml | 2 +-
.../dashboards/pentest/pentest-overview.json | 396 +++++++--
.../dashboards/pentest/pipeline-overview.json | 238 ++++--
.../grafana/dashboards/pentest/scan-results.json | 79 +-
.../dashboards/pentest/vuln-management.json | 223 +++--
volumes/grafana/dashboards/security/sentinel.json | 943 +++++++++++++++++----
volumes/grafana/dashboards/security/vigie.json | 252 +++++-
.../provisioning/datasources/datasources.yml | 24 +-
8 files changed, 1713 insertions(+), 444 deletions(-)
```