Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-audit-logs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-audit-logs

  • 0.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

github-audit-logs


Overview

github-audit-logs lets you create a local SQLite copy of your organizations Github audit logs. There doesn't appear to be a way to retrieve audit logs via the Github developer API. This gem utilizes the mechanize and nokogiri gems to scrape your organizations audit log page.

Installation

$ gem install github-audit-logs

Usage

$ github-audit-logs -h
Usage: github_audit_log.rb [options]
    -u, --username USERNAME          Github username
    -p, --password PASSWORD          Github password
    -o, --organization ORG           Github organization
    -s, --sqlite-file FILE           SQLite output file

Working with SQLite

To open a sqlite3 database use the following:

$ sqlite3 /path/to/my/output.db

The 5 fields present in the Github audit log table are stored as the following sqlite columns:

timestamp | username | action | country | type

Current limitations

At the moment this uses the default history selection of 90 days.

todo

  1. Add audit log filtering
  2. Rake tests

FAQs

Package last updated on 07 Apr 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc