Skip to content

Automate the process of checking for tool updates via GitHub and log version changes

License

Notifications You must be signed in to change notification settings

lironbm7/RepoVersionChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Repository Version Checker (RVC)

Receive notifications and stay up-to-date when tools in your pipeline are updated.

* Integrate with Slack / Discord / Telegram and a Scheduling library for optimal convenience.

Table of Contents

Overview

GitHub does not provide a notification service to update users when a tool is updated / a new Release has been published.

RepoVersionChecker (RVC) provides a solution by scraping online data from GitHub Repositories with minimal effort and a simple, comprehensive Scan Logging system.

File Breakdown

main.py

repos = {
    "Gitleaks": "https://github.com/zricethezav/gitleaks",
    "Semgrep": "https://github.com/returntocorp/semgrep",
    ...
}

Hard-coded dictionary, tells the program which tools it needs to scan.

KEY (tool nickname, can be anything) : VALUE (has to be a working GitHub Repo URL)


requirements.txt

Packages and dependencies used in the program, included to guarantee compatibility with your IDE.

Generated via 'pip freeze'


versions.txt

Last scan's log, provides information about each tool and the latest version release it was scanned in.


versions_{date}.txt

Log-file containing past information from previous scans


Usage

After installing packages and dependencies:

  • In main.py, provide 'repos' dictionary with appropriate Key & Value pairs
  • Run the program
  • Scenario 1: All tools are up to date
All tools are up to date.
  • Scenario 2: Tool has a newer version
Backup created.
Latest version of Semgrep changed: 1.13.0
Latest version of OSV_Scanner changed: 1.2.0
Latest version of Prowler changed: 3.2.4
  • Logs are generated in versions.txt and backup in the versions_{date}.txt.

About

Automate the process of checking for tool updates via GitHub and log version changes

Topics

Resources

License

Stars

Watchers

Forks

Languages