Logging for API Security Without Leaking Secrets
Log the signals that catch attackers while redacting tokens, keys, and personal data from your API event stream before it leaks to anyone.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
599 articles · 24 topics
Log the signals that catch attackers while redacting tokens, keys, and personal data from your API event stream before it leaks to anyone.
Use systemctl edit and drop-in override.conf files to customize vendor units safely, so package upgrades never clobber your production changes.
Understand how Linux resolves hostnames through systemd-resolved, resolv.conf, and the hosts file, and fix DNS problems.
Encrypt backups at rest and in transit with age and gpg for files and restic native crypto for repositories, without losing your recovery keys.
Read-only /usr, atomic A/B updates, and boot-time configuration: how container-optimized operating systems differ from a conventional distro with Docker.
Go past a single healthcheck: layered probes, readiness vs liveness, and systemd watchdogs for containers that repair themselves.
The .github directory is repo policy as code — issue forms, workflows, owners files, and community defaults — and org-level repos inherit it everywhere.
Cache dependencies and build outputs with correct keys so every run is fast and never silently stale.
Watch disk and CPU on a VPS and let the agent run only allowlisted fixes such as journal vacuum or nginx reload, logging every action it takes.
Log tokens, encode_ms, generate_ms, and RSS on every CPU inference request so you see saturation and OOM risk before the OOM killer ever fires.
Deploy unattended-upgrades on Debian or dnf-automatic on Rocky so security patches install themselves without breaking your running services.
Read-only roots, atomic updates, and containerized apps: how Silverblue and MicroOS change patching, deployment, and what a VPS admin must unlearn.