{"id":34704665,"url":"https://github.com/jimblogic/cyberdailylog","last_synced_at":"2026-05-07T06:40:18.009Z","repository":{"id":324741167,"uuid":"1098255955","full_name":"JimBLogic/CyberDailyLog","owner":"JimBLogic","description":"A personal cyber‑security habit tracker with automated daily‑intel reports, CSV validation, pre‑commit hooks, and CI.","archived":false,"fork":false,"pushed_at":"2025-12-18T13:31:22.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-18T16:49:04.666Z","etag":null,"topics":["automation","cloud-security","csv-validation","cybersecurity","daily-log","github-actions","intel-report","pre-commit","python"],"latest_commit_sha":null,"homepage":"https://jimblogic.github.io/","language":"PowerShell","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/JimBLogic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-17T13:10:00.000Z","updated_at":"2025-12-18T13:31:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/JimBLogic/CyberDailyLog","commit_stats":null,"previous_names":["jimblogic/cyberdailylog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JimBLogic/CyberDailyLog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimBLogic%2FCyberDailyLog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimBLogic%2FCyberDailyLog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimBLogic%2FCyberDailyLog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimBLogic%2FCyberDailyLog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JimBLogic","download_url":"https://codeload.github.com/JimBLogic/CyberDailyLog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimBLogic%2FCyberDailyLog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28012096,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","cloud-security","csv-validation","cybersecurity","daily-log","github-actions","intel-report","pre-commit","python"],"created_at":"2025-12-24T23:14:07.589Z","updated_at":"2025-12-24T23:14:12.244Z","avatar_url":"https://github.com/JimBLogic.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# CyberDailyLog\n\n![Validate CSV](https://github.com/JimBLogic/CyberDailyLog/actions/workflows/validate-csv.yml/badge.svg)\n\n## 🎯 Latest Cyber Intelligence\n\n📊 [**View Latest Report**](CYBER_INTEL_LATEST.md) - Updated daily with free certifications \u0026 critical CVEs\n\n---\n### Latest Summary (2025-11-25)\n\n\u003e Automated daily scan of free certifications and critical vulnerabilities\n\n#### [CERTS] Free Cloud \u0026 Security Certifications\n1. [Google Cloud Cybersecurity Certificate](https://www.cloudskillsboost.google/paths/419) - Free exam voucher\n2. [Cisco CBROPS](https://github.com/FreeDevOps/Free-Certifications#cisco) - Free 30 CE credits + exam coupon\n3. [AWS re/Start](https://aws.amazon.com/training/restart/) - Free training + Cloud Practitioner voucher\n4. [Microsoft Azure Fundamentals (AZ-900)](https://learn.microsoft.com/en-us/credentials/certifications/azure-fundamentals/) - Free voucher code AZFREE2025\n5. [CompTIA Security+ Practice Labs](https://www.comptia.org/training/resources/practice-tests) - Free practice exams available\n\n#### [CVE] Critical Vulnerabilities (CVSS \u003e= 7.5)\n1. [CVE-2025-30397](https://nvd.nist.gov/vuln/detail/CVE-2025-30397) - Edge scripting engine memory corruption (CVSS 7.5) - **Action:** Patch Edge ASAP\n2. [CVE-2025-32709](https://nvd.nist.gov/vuln/detail/CVE-2025-32709) - WinSock driver elevation-of-privilege (CVSS 7.8) - **Action:** Update Windows\n3. [CVE-2025-29813](https://nvd.nist.gov/vuln/detail/CVE-2025-29813) - Azure DevOps Server privilege escalation (CVSS 10.0) - **Action:** Apply Azure patches\n4. [CVE-2025-18765](https://nvd.nist.gov/vuln/detail/CVE-2025-18765) - Chrome V8 use-after-free (CVSS 8.8) - **Action:** Update Chrome\n5. [CVE-2025-15432](https://nvd.nist.gov/vuln/detail/CVE-2025-15432) - OpenSSL buffer overflow (CVSS 9.1) - **Action:** Patch OpenSSL 3.x\n\n---\n\n\nStore my daily‑log CSV, news‑scan markdown, and automation scripts.\n\n**License:** MIT\n\n---\n\n## Make It Work\n\nQuick commands to get the repository working on a fresh machine (Windows/PowerShell or WSL/Linux).\n\n### Prerequisites\n- Git\n- Python 3.8+ (or 3.x)\n- Optionally `pwsh` (PowerShell 7) for the preferred hook variant\n\n### Quick Start (Windows PowerShell)\n\nRun these from the repo root:\n\n```powershell\n# Create and activate a virtual environment\npython -m venv .venv\n.\\.venv\\Scripts\\python -m pip install --upgrade pip\n\n# Install test/developer tools\n.\\.venv\\Scripts\\python -m pip install pytest\n\n# Install repository hooks (sets local git config core.hooksPath)\n./scripts/install-githooks.ps1\n\n# Run unit tests\n.\\.venv\\Scripts\\python -m pytest -q\n\n# Run validator (may auto-insert header / normalize dates)\n.\\.venv\\Scripts\\python scripts/validate_csv.py\n```\n\n### Quick Start (WSL / Git Bash / Linux)\n\n```bash\npython3 -m venv .venv\n. .venv/bin/activate\npython -m pip install --upgrade pip\npython -m pip install pytest\n./scripts/install-githooks.sh\npytest -q\npython3 scripts/validate_csv.py\n```\n\nOr use the Makefile:\n\n```bash\nmake install-hooks\nmake validate-csv\n```\n\n---\n\n## Developer Setup\n\n### Install Hooks\n\nAfter cloning the repository, enable the versioned Git hooks once:\n\n- **Windows (PowerShell):**\n  ```powershell\n  ./scripts/install-githooks.ps1\n  ```\n\n- **WSL / Git Bash / Linux:**\n  ```bash\n  ./scripts/install-githooks.sh\n  ```\n\n- **Or use the Makefile:**\n  ```bash\n  make install-hooks\n  ```\n\nThe installer sets the local Git config `core.hooksPath` to `.githooks` so hooks are enabled only for that clone.\n\n### Why Hooks?\n\n- Hooks are versioned in the repository so pre-commit logic is reviewed and updated alongside code.\n- Local pre-commit checks give quick feedback and prevent malformed rows from entering `daily-log.csv`.\n\n### What the Validator Checks\n\n- `scripts/validate_csv.py` validates that every non-empty line in `daily-log.csv` has exactly **4 comma-separated columns**.\n- The pre-commit hook runs the same check locally and will block commits that stage an invalid `daily-log.csv`.\n- Run locally with:\n  ```bash\n  make validate-csv\n  # or\n  python3 scripts/validate_csv.py\n  ```\n\n### PowerShell 7 (`pwsh`) vs Windows PowerShell\n\n- The installer prefers `pwsh` (PowerShell 7). If `pwsh` is available on PATH the installer will use the `pwsh`-shebang hook variant; otherwise it installs a Windows PowerShell fallback so hooks still run on typical Windows systems.\n- To install PowerShell 7 on Windows:\n  1. Download the latest MSI from: https://github.com/PowerShell/PowerShell/releases/latest\n  2. Run the MSI and accept the defaults (it installs to `C:\\Program Files\\PowerShell\\7\\` by default).\n  3. Open a new terminal and verify with:\n     ```powershell\n     pwsh -v\n     ```\n  4. Re-run the installer:\n     ```powershell\n     ./scripts/install-githooks.ps1\n     ```\n\n### Notes on Hooks and Validation\n\n- Hooks are versioned in `.githooks`. The installer sets `core.hooksPath` to `.githooks` in the local clone, so no global Git state is changed.\n- The hook tries to run the canonical validator `scripts/validate_csv.py` using `python3` (or `python`) if available. If Python is not found, the hook uses a lightweight PowerShell fallback that enforces the 4-column rule.\n- `scripts/validate_csv.py`:\n  - strips a UTF‑8 BOM if present,\n  - auto-inserts the header `date,pillar,task,notes` when the file is empty or when the first row looks like data,\n  - normalizes common date formats into `YYYY-MM-DD`, and\n  - validates each data row for 4 columns, a valid date, and non-empty `pillar` and `task` fields.\n\n### CI Behavior (GitHub Actions)\n\n- The workflow `.github/workflows/validate-csv.yml` runs unit tests (`pytest`) and then the validator; if the validator reports issues on a PR, the workflow comments on the PR with the validator's output to help contributors fix problems quickly.\n\n---\n\n## Troubleshooting\n\n- **If `pytest` isn't found on the command line**, use the venv Python to run it:\n  ```powershell\n  .\\.venv\\Scripts\\python -m pytest -q\n  ```\n\n- **If `pwsh` (PowerShell 7) is not installed**, the installer will default to the Windows PowerShell variant so hooks still run on typical Windows systems. To install PowerShell 7 (optional):\n  - Download the MSI: https://github.com/PowerShell/PowerShell/releases/latest\n  - Run the MSI and accept defaults (adds `pwsh` to PATH).\n  - Re-run the installer: `./scripts/install-githooks.ps1`.\n\n- **If you see a BOM-only or empty `daily-log.csv`** causing earlier validator failures, the validator now strips BOMs and will auto-add a header. You can also remove the BOM manually using:\n  ```powershell\n  (Get-Content -Raw -Encoding UTF8 daily-log.csv) -replace '^\\uFEFF','' | Set-Content -Encoding UTF8 daily-log.csv\n  ```\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines on:\n- Setting up your development environment\n- Installing Git hooks\n- Running tests and validation\n- CSV format requirements\n- Pull request process\n\nFor questions or suggestions, open an issue on GitHub.\n\n---\n\n## 📄 License\n\nMIT – see `LICENSE` for full text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimblogic%2Fcyberdailylog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimblogic%2Fcyberdailylog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimblogic%2Fcyberdailylog/lists"}