Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
gitcommitlogger
Logs statistics for specific commits in CSV form and optionally sends them as JSON to a web api.
Readme
A Python package that logs the details of a specific set of events made to a GitHub repository. Logs are saved into a CSV
file and can optionally be sent in a request to a web app, such as a Google Apps Script attached to a Google Sheet where the data can be stored.
This package is designed to be used in a GitHub Actions workflow, where the workflow is triggered by a push or pull request to the repository. Details of the commits included in the push will then be logged.
A sample GitHub Actions workflow is included in .github/workflows/
event-logger.yml
. This example stores the logs into a Google Sheet by first posting them as JSON
data to a web app attached to the Google Sheet. The URL of the web app is presumed be stored in a GitHub Actions Secret named COMMIT_LOG_API
.
In order to save the logs into a Google Sheet, the following steps are required:
Extensions
->Apps Scripts
menu option in Google Sheets.apps-script-example
/code.js
into the Apps Script editor and save. This sets up the script as a web app so it can respond to GET
or POST
requests.Deploy
->New Deployment
in the Apps Scripts editor. Note the web app URL that is generated once deployed.COMMIT_LOG_API
.gitcommitlogger
command in the example GitHub Action will send a POST
request to the Google Sheet web app whenever a push or pull request is made on the repository.FAQs
Logs statistics for specific commits in CSV form and optionally sends them as JSON to a web api.
We found that gitcommitlogger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.