Giter Site home page Giter Site logo

guysartorelli / github-access-audit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxime-rainville/github-access-audit

0.0 1.0 0.0 206 KB

This simple Silverstripe CMS project provides a way to review everyone who has access to repos on a specific GitHub org.

Scheme 1.54% PHP 98.46%

github-access-audit's Introduction

Overview

This simple Silverstripe CMS project provides a way to review everyone who has access to repos on a specific GitHub org or packages on Packagist.

This is not meant to be some long live project. Basically you just use it to get the data you need and blast it afterwards.

Setup

  • Pull down the local repo and set it up like any Silverstripe CMS site.
  • You need a GITHUB_TOKEN for this to work.
    • If you're only going to access public repos, you only need public_repo
    • If you're going to look at private repos, you need the repo "Full control of private repositories" option.

Fetching GitHub data

  • Log into the CMS
  • Under /a/github/organisation create all the orgs you plan to query. You only need to specify the name.
  • Run sake dev/tasks/fetch-repos to fetch all your data.

This will fetch all the repos for the provided organisations and let you know which users have access to them. You can review the data in the CMS in the GitHub ModelAdmin.

Fetching Packagist data

  • Log into the CMS
  • Under /a/packagist/organisation create all the orgs you plan to query. You only need to specify the name.
  • Run sake dev/tasks/fetch-packages to fetch all your data.

This will fetch all the packages for the provided organisations and let you know which maintainers have access to them. You can review the data in the CMS in the GitHub ModelAdmin.

Clearing data

Some user data is preserve between runs: users' review access status and users' notes. You probably don't want to keep personal data sitting there in-between audit.

You can clear all the user and repo data by running sake dev/tasks/reset-audit-data.

Note that Organisation data will be preserved.

github-access-audit's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.