SudoShea Profile Picture

SudoShea โšก

Security Automation, Linux Hardening & Infrastructure-as-Code

About Me: Systems & Security Automation Engineer focused on building resilient, reproducible, and production-grade Linux infrastructure. I specialise in zero-trust rootless containerisation, automated OS hardening, client-side encryption pipelines, and Infrastructure-as-Code (IaC) workflows.

Current & Planned Focus: My ongoing work centres on eliminating single points of failure across multi-node homelab architectures โ€” engineering automated multi-OS maintenance (Debian & RHEL), high-availability DNS synchronisation, native TLS certificate lifecycle management, and strict 3-2-1 disaster recovery pipelines.

๐Ÿš€ Production Repositories

Ansible-driven IaC stack deploying rootless Podman containers (Pi-hole v6 native HTTPS, Unbound recursive DNS, Vector, Loki, Grafana) with multi-OS support (Debian/RHEL), 3-2-1 AES-256 encrypted backups, and automated host security patching.

Ansible Podman Rootless Native TLS Loki Grafana Vector AES-256

Automated Linux security baseline enforcement implementing SSH hardening, PAM rules, firewall rules, and kernel sysctl tuning.

Ansible Linux Hardening CI/CD

POSIX-compliant Shell script framework for lightweight, zero-dependency host security hardening and lockdown.

Shell POSIX ShellCheck

Python security audit tool featuring real-time SSH threat monitoring daemon and automated compliance inspection routines.

Python Flake8 Monitoring

โœ… Completed Smaller Projects

๐Ÿ”„ Automated Secondary DNS Sync

Completed

Integrated Nebula Sync for real-time automated gravity, adlist, and local DNS record replication between primary and secondary Pi-hole v6 instances.

  • Engine: Nebula Sync container
  • Scope: High-availability Pi-hole v6 cluster sync
Nebula Sync High Availability Pi-hole v6 Podman

๐Ÿ“Š Centralised Syslog & Log Pipeline

Completed

Deployment of a lightweight Vector log collector, Loki indexing engine, and Grafana UI container stack over HTTPS to visualize systemd and container logs.

  • Pipeline: Vector → Loki → Grafana HTTPS
  • Scope: Real-time journald & container log aggregation
Vector Grafana Loki Syslog Podman

๐Ÿ”‘ Native Pi-hole v6 HTTPS Setup

Completed

Private Root Certificate Authority (CA) workflow, Civetweb unencrypted key formatting, and annual automated TLS certificate renewal scripting without external reverse proxies.

  • Protocol: Local Root CA + SAN extensions
  • Automation: Annual renewal & container reload cron
TLS/PKI OpenSSL Civetweb Pi-hole v6

๐Ÿ“– Topology & DR Runbook

Completed

Operational playbook defining local network layout, recursive DNS chaining via Pi-hole & Unbound, and verified cold-boot disaster restore steps.

  • RTO Target: < 15 min core recovery
  • Scope: Multi-OS DNS failover & route recovery
Runbook Networking DR

๐Ÿ” Encrypted Backup Policy

Completed

Client-side AES-256 GPG snapshot automation, automated weekly dry-run restore tests, and 3-2-1 offsite cloud replication runbook.

  • Schedule: Daily 02:00 AM (7-day rolling)
  • Integrity: Weekly automated restore test
Backup AES-256 GnuPG rclone

๐Ÿ‘๏ธ SSH Sentinel Daemon

Completed

Lightweight Python log monitoring daemon integrated into linux-security-auditor parsing auth logs in real time to trigger alert hooks.

Python Log Parsing Security

๐Ÿค– CI/CD Quality Gates

Completed

GitHub Actions workflows enforcing automated static code analysis across Python (Flake8), Shell (ShellCheck), Ansible (ansible-lint), and HTML (HTMLHint).

GitHub Actions DevSecOps

๐Ÿšง In Progress

๐Ÿ“ฆ Podman Quadlet Migration

In Progress

Migrating container definitions to systemd-native Podman Quadlets (`.container` files) managed via Ansible roles for deeper systemd service integration.

Quadlet systemd Podman Ansible

๐Ÿ›ก๏ธ CIS Benchmark Compliance Scanner

In Progress

Automated auditing role validating host OS configurations against CIS (Center for Internet Security) benchmarks for Debian and RHEL node targets.

CIS Compliance Hardening Ansible

๐Ÿ“Œ Backlog

๐ŸŒ Headscale Mesh VPN

homelab-infrastructure

Self-hosted Headscale control plane to orchestrate a private, secure WireGuard mesh network connecting remote devices and homelab nodes.

Headscale WireGuard VPN

๐Ÿ“ˆ Prometheus & Grafana Telemetry

homelab-infrastructure

Telemetry stack deploying Node Exporter and cAdvisor metrics collectors piped into Prometheus and visualised via custom Grafana dashboards.

Prometheus Grafana Metrics

๐Ÿ” Automated Secrets Management

ansible-system-hardening

Integrating Mozilla SOPS and HashiCorp Vault workflows into Ansible automation for secure, age-encrypted credential handling in public repositories.

SOPS Vault Encryption Ansible

๐Ÿงช Molecule CI Integration Testing

ansible-system-hardening

Implementing automated Ansible Molecule testing pipelines utilising Podman drivers to validate role idempotency and task execution in CI.

Molecule CI/CD Podman Testing