Delete Netgrimoire/Audits/SQL-mgmt-2026-04-03.md

This commit is contained in:
traveler 2026-04-02 20:53:11 -05:00
parent 4f7ee61484
commit 53c6598ed1

View file

@ -1,74 +0,0 @@
---
title: Audit - SQL-mgmt.yaml
description: Gremlin audit report 2026-04-03
published: true
date: 2026-04-03T01:45:33.627Z
tags: gremlin,audit
editor: markdown
dateCreated: 2026-04-03T01:45:33.627Z
---
# Audit Report — SQL-mgmt.yaml
**Date:** 2026-04-03
**File:** swarm/SQL-mgmt.yaml
**Type:** Docker Swarm
**Verdict:** FAIL
---
### SWARM AUDIT CHECKS
1. **Homepage Labels**:
- `phpmyadmin`: PASS
- `phppgadmin`: PASS
2. **Uptime Kuma Labels**:
- `phpmyadmin` does not have any Kuma labels.
- **FAIL**: Add the following labels to ensure consistency:
```yaml
kuma.msql.http.name="PHPMyadmin"
kuma.msql.http.url=http://phpmyadmin:80
```
- `phppgadmin`: PASS
3. **Caddy Labels on Exposed Services**:
- Both services have the following Caddy labels:
```yaml
caddy=phpmyadmin.netgrimoire.com
caddy.reverse_proxy="{{upstreams 80}}"
caddy.import=authentik
```
- `phpmyadmin`: PASS
- `phppgadmin`: PASS
4. **Placement Constraints**:
- No placement constraints are specified.
- **FAIL**: Add a constraint to ensure services run on specific nodes if required.
```yaml
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
placement:
constraints:
- node.hostname == "node1"
```
5. **Volumes Use `/DockerVol/<service>` Path Convention**:
- No volumes are specified.
- **FAIL**: Add volume configurations to ensure data persistence.
```yaml
deploy:
volumes:
- type: volume
source: DockerVol/phpmyadmin
target: /var/www/html
```
6. **Network References External `netgrimoire` Overlay**:
- Both services reference the external network.
- **PASS**
### VERDICT: FAIL