Initial commit

This commit is contained in:
Felipe Cardoso
2026-03-25 20:13:15 +01:00
commit c596e38e9e
26 changed files with 2345 additions and 0 deletions

18
bin/audit Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# System audit dispatcher
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
case "${1:---quick}" in
--quick|-q) exec bash "$SCRIPT_DIR/scripts/audit/quick-glance.sh" ;;
--full|-f) exec bash "$SCRIPT_DIR/scripts/audit/system-report.sh" ;;
--json|-j) exec bash "$SCRIPT_DIR/scripts/audit/system-report.sh" --json ;;
*)
echo "Usage: audit [--quick|--full|--json]"
echo " --quick Single-screen system status (default)"
echo " --full Detailed report saved to data/audits/"
echo " --json JSON output to stdout"
exit 1
;;
esac