audit(gremlin): homepage FAIL 2026-04-27

This commit is contained in:
traveler 2026-04-27 06:15:37 -05:00
parent 93723aef3b
commit 7475391ea5

View file

@ -0,0 +1,53 @@
---
title: Audit - homepage.yaml
description: Gremlin audit report 2026-04-27
published: true
date: 2026-04-27T11:15:37.459Z
tags: gremlin,audit
editor: markdown
dateCreated: 2026-04-27T11:15:37.459Z
---
# Audit Report — homepage.yaml
**Date:** 2026-04-27
**File:** swarm/homepage.yaml
**Type:** Docker Swarm
**Verdict:** FAIL
---
### Audit Results:
1. **Homepage labels**:
- `homepage.group`: Not present.
- `homepage.name`: Present (`kuma.homepage.http.name="Homepage"`).
- `homepage.icon`: Not present.
- `homepage.href`: Not present.
- `homepage.description`: Not present.
2. **Uptime Kuma labels**:
- Both `kuma.<n>.http.name` and `kuma.<n>.http.url` are not found, but this is expected as they were not configured in the provided YAML.
3. **Caddy labels on exposed services**:
- Present (`caddy=homepage.netgrimoire.com`).
- `caddy.reverse_proxy`: Present with placeholder value (`{{upstreams 3000}}`).
4. **Placement constraints**:
- `node.hostname`: Present (`node.hostname == znas`), ensuring the service is placed on the node named 'znas'.
5. **Volumes use `/DockerVol/<service>` path convention**:
- All volumes follow the required convention:
- `/DockerVol/homepage/config:/app/config`
- `/DockerVol/homepage/images:/app/public/images:ro`
- `/var/run/docker.sock:/var/run/docker.sock:ro`
6. **Network references external `netgrimoire` overlay**:
- The service correctly references the external network `netgrimoire`.
### VERDICT: FAIL
- **Homepage labels**: Missing essential keys (`homepage.group`, `homepage.icon`, `homepage.href`, `homepage.description`). These should be added for completeness.
- **Uptime Kuma labels**: Uptime Kuma related labels are missing. This may affect monitoring and management of the service.
These issues need to be addressed to ensure a fully functional and auditable Docker Swarm configuration.