audit(gremlin): SQL-mgmt FAIL 2026-05-04

This commit is contained in:
traveler 2026-05-04 06:03:25 -05:00
parent 661439590e
commit 920585ce12

View file

@ -0,0 +1,45 @@
---
title: Audit - SQL-mgmt.yaml
description: Gremlin audit report 2026-05-04
published: true
date: 2026-05-04T11:03:25.730Z
tags: gremlin,audit
editor: markdown
dateCreated: 2026-05-04T11:03:25.730Z
---
# Audit Report — SQL-mgmt.yaml
**Date:** 2026-05-04
**File:** swarm/SQL-mgmt.yaml
**Type:** Docker Swarm
**Verdict:** FAIL
---
### SWARM AUDIT - SQL-mgmt.yaml Review
#### Homepage Labels
- **PASS**: homepage.group, homepage.name, homepage.icon, homepage.href, homepage.description are all present and correctly labeled.
#### Uptime Kuma Labels
- **FAIL**: `kuma.msql.http.name` is incorrect; should be `kuma.sql.http.name`.
- **Fix**: Change `kuma.msql.http.name="PHPMyadmin"` to `kuma.sql.http.name="PHPMyadmin"`.
#### Caddy Labels on Exposed Services
- **PASS**: All services have caddy labels correctly formatted with domain and reverse proxy settings.
#### Placement Constraints
- **FAIL**: There are no node.hostname placement constraints defined.
- **Fix**: Add `placement: { constraints: [node.hostname == <hostname>] }` to the relevant service(s) as needed.
#### Volumes Use /DockerVol/<service> Path Convention
- **FAIL**: No volume definitions found in the YAML file. If volumes are required, ensure they follow the `/DockerVol/<service>` path convention.
- **Fix**: Define necessary volumes and mount them within each service definition.
#### Network References External Netgrimoire Overlay
- **PASS**: The `netgrimoire` network is correctly referenced as an external overlay network.
### VERDICT: FAIL
The YAML file has several issues that need to be addressed to meet the audit criteria. Specifically, the Uptime Kuma labels require a correction and placement constraints should be defined for better control over service deployment. Additionally, volumes are not defined in this configuration.