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

This commit is contained in:
traveler 2026-04-27 06:21:00 -05:00
parent 169056b9a7
commit e9df43dd58

View file

@ -0,0 +1,52 @@
---
title: Audit - library.yaml
description: Gremlin audit report 2026-04-27
published: true
date: 2026-04-27T11:21:00.700Z
tags: gremlin,audit
editor: markdown
dateCreated: 2026-04-27T11:21:00.700Z
---
# Audit Report — library.yaml
**Date:** 2026-04-27
**File:** swarm/library.yaml
**Type:** Docker Swarm
**Verdict:** FAIL
---
**Audit Results:**
1. **Homepage labels:**
- `homepage.group`: PASS
- `homepage.name`: PASS
- `homepage.icon`: PASS
- `homepage.href`: PASS
- `homepage.description`: PASS
2. **Uptime Kuma labels:**
- `kuma.calibre1.http.name`: PASS
- `kuma.calibre1.http.url`: PASS
3. **Caddy labels on exposed services:**
- `caddy=books.netgrimoire.com`: PASS
- `caddy.reverse_proxy="{{upstreams 8083}}"`: PASS
4. **Placement constraints:**
- `node.labels.general == true`: FAIL
- **Issue:** The placement constraint refers to a node label that might not be set or available.
- **Fix:** Ensure that the node has the label `general` set to `true`.
5. **Volumes use /DockerVol/<service> path convention:**
- `/data/nfs/Baxter/Docker/Calibre-netgrimoire/Config`: FAIL
- **Issue:** The volume paths do not follow the `/DockerVol/<service>` convention.
- **Fix:** Rename the volumes to match the convention, e.g., `/DockerVol/Calibre-Netgrimoire/Config`.
6. **Network references external netgrimoire overlay:**
- `netgrimoire`: PASS
**VERDICT: FAIL**
The audit found issues with placement constraints and volume paths that need to be addressed before the deployment is considered successful.