{"id":15063486,"url":"https://github.com/armoghans-organization/security-patch-manager","last_synced_at":"2026-01-03T04:59:27.194Z","repository":{"id":218879071,"uuid":"747596314","full_name":"Armoghans-Organization/Security-Patch-Manager","owner":"Armoghans-Organization","description":" This bash script allows to to check and apply system security updates for Debian Based Distros..","archived":false,"fork":false,"pushed_at":"2024-02-08T11:33:05.000Z","size":330,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T17:12:26.781Z","etag":null,"topics":["bash","bash-script","bash-scripting","debian","debian-linux","lahore-garrison-university","lgu","linux","project","shell-script","shell-scripting","university","university-project"],"latest_commit_sha":null,"homepage":"https://armoghan-blogs-2.netlify.app/posts/security-patch-manager/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Armoghans-Organization.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-24T08:57:21.000Z","updated_at":"2024-02-15T09:43:58.000Z","dependencies_parsed_at":"2024-02-03T12:29:27.630Z","dependency_job_id":"ed4aa28b-aad6-4238-9b40-4c3dc94362ba","html_url":"https://github.com/Armoghans-Organization/Security-Patch-Manager","commit_stats":{"total_commits":35,"total_committers":2,"mean_commits":17.5,"dds":"0.19999999999999996","last_synced_commit":"b2113fd1f9b1016b84f106f7febe5c3b2553e7e4"},"previous_names":["armoghans-organization/security-patch-manager"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armoghans-Organization%2FSecurity-Patch-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armoghans-Organization%2FSecurity-Patch-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armoghans-Organization%2FSecurity-Patch-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armoghans-Organization%2FSecurity-Patch-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armoghans-Organization","download_url":"https://codeload.github.com/Armoghans-Organization/Security-Patch-Manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826828,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","bash-scripting","debian","debian-linux","lahore-garrison-university","lgu","linux","project","shell-script","shell-scripting","university","university-project"],"created_at":"2024-09-24T23:58:17.597Z","updated_at":"2026-01-03T04:59:27.127Z","avatar_url":"https://github.com/Armoghans-Organization.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSecurity-Patch-Manager 🚀\u003c/h1\u003e\n\u003cbr\u003e\n\n[![GitHub](https://img.shields.io/github/license/Armoghans-Organization/Security-Patch-Manager)](https://github.com/Armoghans-Organization/Security-Patch-Manager/blob/main/LICENSE)\n![Code Size](https://img.shields.io/github/languages/code-size/Armoghans-Organization/Security-Patch-Manager)\n[![Codacy Security Scan](https://github.com/Armoghans-Organization/Security-Patch-Manager/actions/workflows/codacy.yml/badge.svg)](https://github.com/Armoghans-Organization/Security-Patch-Manager/actions/workflows/codacy.yml)\n\n![Script_Preview](/Preview.png)\n\n## Table of Contents\n\n\n- [Overview](#overview)\n- [Dependencies](#dependencies)\n- [Flags](#flags)\n- [Functions](#functions)\n- [Contributing](#contributing)\n- [License](#license)\n\n\n## Overview\n\nSecurity-Patch-Manager is a Bash script designed to streamline the process of managing system security updates on Linux-based environments. With a focus on simplicity and efficiency, this script automates the tasks of checking for available updates, displaying relevant information, and applying updates when desired.\n\n## Dependencies\n\nThe following dependencies are required to run the Security Patch Manager script:\n\n- **awk**: A programming language and utility for pattern scanning and processing. It's used in various parts of the script for text processing.\n\n- **column**: A command-line utility to format its input into multiple columns. It's used to format the output of certain commands for better readability.\n\n- **ping**: A command-line utility to test the reachability of a host on an IP network. In the script, it's used to check for an active internet connection.\n\n- **sudo**: A command-line utility that allows a permitted user to execute a command as the superuser or another user. It's used to run certain commands with elevated privileges.\n\n- **apt**: The package management tool for Debian-based Linux distributions like Ubuntu. It's used to update, upgrade, and manage software packages.\n\nMake sure these dependencies are installed on your system. Most Linux distributions come with these utilities pre-installed, but if any of them are missing, you can install them using your package manager. For example, on Ubuntu, you can install missing dependencies.\n\n\n## Flags\n\n| Flag           | Description                              |\n| -------------- | ---------------------------------------- |\n| `-h, --help`   | Show help message.                       |\n| `-r, --root`   | Run the script as root.                  |\n| `-v, --version`| Display script version.                  |\n| `-l, --list`   | List available security updates.         |\n| `-a, --apply`  | Apply security updates.                  |\n| `-c, --clean`  | Run 'apt autoclean'.                     |\n| `-d, --remove` | Run 'apt autoremove'.                    |\n\n\n## Functions\n\n- **print_message:** Display colored messages.\n- **exit_message:** Display exit message.\n- **trap exit_message INT:** Trap Ctrl+C to display exit message.\n- **show_version:** Display script version.\n- **press_enter:** Wait for Enter key press to continue.\n- **print_banner:** Print the contents of an ASCII banner from a file.\n- **print_linux_util_banner:** Print the Linux-Util banner.\n\n\n\n## Contributing\n\nFeel free to contribute by submitting issues or pull requests.\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/Armoghans-Organization/Security-Patch-Manager/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmoghans-organization%2Fsecurity-patch-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmoghans-organization%2Fsecurity-patch-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmoghans-organization%2Fsecurity-patch-manager/lists"}