{"id":49709825,"url":"https://github.com/terminalctrlcode/soc-update-automation","last_synced_at":"2026-05-08T13:03:54.296Z","repository":{"id":296548007,"uuid":"987386099","full_name":"terminalctrlcode/soc-update-automation","owner":"terminalctrlcode","description":"Secure Bash automation tool for SOC and sysadmin updates on Ubuntu and Pop!_OS. Enforces hardening, logging, and compliance.","archived":false,"fork":false,"pushed_at":"2025-05-31T13:14:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-04T17:36:10.520Z","etag":null,"topics":["automation","bash","blue-team","compliance","devops","hardening","linux","logging","pop-os","security-tools","shell-script","soc-automation","sysadmin","ubuntu","updater"],"latest_commit_sha":null,"homepage":"https://github.com/jokics-infosec/soc-update-automation","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/terminalctrlcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-21T02:16:25.000Z","updated_at":"2025-05-31T13:14:45.000Z","dependencies_parsed_at":"2025-06-01T01:28:49.973Z","dependency_job_id":"a64dad68-8ca2-4a2f-a13c-e59a111d2245","html_url":"https://github.com/terminalctrlcode/soc-update-automation","commit_stats":null,"previous_names":["jokics-infosec/soc-update-automation","terminalctrlcode/soc-update-automation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terminalctrlcode/soc-update-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminalctrlcode%2Fsoc-update-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminalctrlcode%2Fsoc-update-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminalctrlcode%2Fsoc-update-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminalctrlcode%2Fsoc-update-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terminalctrlcode","download_url":"https://codeload.github.com/terminalctrlcode/soc-update-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminalctrlcode%2Fsoc-update-automation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32781567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","bash","blue-team","compliance","devops","hardening","linux","logging","pop-os","security-tools","shell-script","soc-automation","sysadmin","ubuntu","updater"],"created_at":"2026-05-08T13:03:50.851Z","updated_at":"2026-05-08T13:03:54.280Z","avatar_url":"https://github.com/terminalctrlcode.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# secure-updater\n\n\u003c!-- Badges --\u003e\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://github.com/YOUR_ORG/secure-updater/actions/workflows/shellcheck.yml\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/YOUR_ORG/secure-updater/shellcheck.yml?label=ShellCheck\u0026logo=gnu-bash\" alt=\"ShellCheck Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/YOUR_ORG/secure-updater?color=blue\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\nA secure, production-ready Bash automation tool for safely updating Ubuntu and Pop!_OS systems. Designed for SOC analysts and IT-secured Linux workstations, it enforces strict security and logging standards.\n\n## Features\n- Distro validation (Ubuntu/Pop!_OS only)\n- Secure, error-checked update flow\n- Detailed logging to `/var/log/updates/`\n- Modular, maintainable, and ShellCheck-clean\n- Follows OWASP, NIST, and CERT Bash best practices\n\n## Supported Operating Systems\n- Ubuntu (all LTS and current releases)\n- Pop!_OS (all supported releases)\n\n## Setup\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/YOUR_ORG/secure-updater.git\n   cd secure-updater\n   ```\n2. Review and copy the example environment file:\n   ```bash\n   cp .env.example .env\n   # Edit .env as needed\n   ```\n3. Make the script executable:\n   ```bash\n   chmod +x scripts/secure_update.sh\n   ```\n\n## Usage\nRun the script as root (with sudo):\n```bash\nsudo bash scripts/secure_update.sh\n```\n\n- Logs are stored in `/var/log/updates/secure_update_\u003ctimestamp\u003e.log`.\n- Only Ubuntu and Pop!_OS are supported. The script will exit on other distros.\n- **Log files are root-readable only (default permissions: 750).**\n\n## Example Output\n```\n[INFO] Starting secure update at 20240601_120000 for Ubuntu\n[INFO] apt update completed successfully.\n[INFO] Listed upgradable packages.\n[INFO] apt upgrade completed successfully.\n[INFO] apt autoremove completed successfully.\n[INFO] apt clean completed successfully.\n[INFO] Secure update completed at 2024-06-01 12:00:30\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterminalctrlcode%2Fsoc-update-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterminalctrlcode%2Fsoc-update-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterminalctrlcode%2Fsoc-update-automation/lists"}