Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📦 AutoPatch — Linux Security Update Monitoring & Notification Tool

AutoPatch is a lightweight Bash-based Linux security update monitoring utility that checks APT-based systems for available security patches, records the results, and helps administrators stay informed about critical updates.

Designed as a practical Linux administration project, AutoPatch provides an easy way to automate security update monitoring while maintaining detailed logs for auditing and maintenance.


✨ Features

  • 🔐 Detects available security updates
  • 📦 Checks APT package repositories
  • 📝 Generates timestamped security update logs
  • ⏰ Supports scheduled execution with cron
  • ⚡ Lightweight and easy to deploy
  • 🐧 Compatible with Ubuntu, Debian, Kali Linux, Linux Mint, and other APT-based distributions

📂 Project Structure

AutoPatch/
├── autopatch.sh
├── logs/
└── README.md

🚀 Installation

Clone the repository:

git clone https://github.com/Kachinonye/autopatch.git

Navigate into the project:

cd autopatch

Make the script executable:

chmod +x autopatch.sh

▶️ Usage

Run manually:

./autopatch.sh

Or automate with cron:

0 8 * * * /path/to/autopatch/autopatch.sh >> /path/to/autopatch/autopatch_cron.log 2>&1

AutoPatch automatically:

  • Checks for available security updates
  • Displays the results
  • Saves timestamped logs
  • Maintains a cron execution log

📋 Monitoring Capabilities

AutoPatch reports:

  • Available security updates
  • Package names
  • Repository information
  • Timestamp of each scan

Logs are automatically stored in the logs/ directory.


💼 Skills Demonstrated

This project showcases practical experience with:

  • Linux System Administration
  • Bash Shell Scripting
  • APT Package Management
  • Linux Security
  • Patch Monitoring
  • Cron Automation
  • Log Management
  • Technical Documentation

🎯 Use Cases

AutoPatch is useful for:

  • Linux System Administrators
  • DevOps Engineers
  • Cloud Engineers
  • Home Lab Environments
  • Server Security Monitoring
  • Linux Administration Training

🔮 Planned Enhancements

Future releases may include:

  • Email notifications
  • Slack and Discord alerts
  • HTML reports
  • JSON export
  • Automatic update installation
  • Severity classification
  • CVE reference integration
  • Multi-server monitoring

👨‍💻 Author

Kachinonye Nmezi

Linux Systems Administrator | Bash Automation Specialist | Cloud Engineering Enthusiast


📜 License

Licensed under the MIT License.

About

A simple Bash tool that checks for and logs Linux security updates automatically.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages