Skip to content

Project — Linux Operations Toolkit

Advanced portfolio build — a cohesive toolkit an SRE or Linux admin could drop onto bastions.

Project Overview

Goal: Ship a versioned toolkit (rebash-ops) with subcommands for health, triage, audit, and report generation.

Deliverable for your portfolio:

  • CLI entrypoint: rebash-ops <command>
  • Modules: health, triage, audit-ssh, audit-firewall, report
  • Shared logging and exit taxonomy
  • Packaging notes (tarball or simple install.sh)
  • Tests or a validate.sh smoke suite

Estimated cost: £0.

Goals

  • Subcommands share libraries (no copy-paste thresholds)
  • triage prints ordered first commands + live snippets (uptime, top processes, failed units)
  • audit-ssh / audit-firewall emit pass/fail findings
  • report builds a dated bundle under out/
  • README includes threat model notes (what the toolkit does not do)

Stack

Piece Choice
Language Bash (Python optional for report formatting)
Layout bin/rebash-ops, lib/*.sh, config/, out/, tests/
Scheduling Optional systemd timer calling report

Prerequisites

Milestones

Milestone 1 — CLI skeleton

Argument parsing (getopts or simple case), --help, global --config.

Milestone 2 — Health + triage

Integrate checks; triage mode is read-only and fast (<30s typical).

Milestone 3 — Audits

Parse sshd -T and ufw status (or firewall-cmd); never change config unless --apply (default dry-run).

Milestone 4 — Release

install.sh, sample config, smoke tests, CHANGELOG, semantic version in --version.

Success criteria

  • rebash-ops health and rebash-ops triage run on a clean Ubuntu VM
  • Audits are dry-run by default
  • Another engineer installs via README in under 10 minutes