gaudit

command module
v0.0.0-...-2a5bb9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gaudit - Github Audit Tool for Organizations

This is a command line tool to help you organize and analyze your github repositories in your organization. You can create some basic rules to look for conditions in your repositories and output the results as a CSV.

Commands
gaudit

  gaudit update - Update working list of github repos
  gaudit list - List of working github repos
	gaudit team <team> [permission] - List of repos available to a team
  gaudit diff <old> <new> - Difference since last update
  gaudit details [filter] - Detail list of github repos
  gaudit analyze - Analyze rules against working repos
  gaudit results [--verbose] - Show results of analysis
  gaudit append - Creates or updates the append file
  gaudit stats - Summarizes statistics data on the audit
  gaudit csv - Outputs to csv format
Environment Variables

GAUDIT_GITHUB_TOKEN - The Github Token for your account.

GAUDIT_ORGANIZATION - Specify the Github Organization (does not work with personal accounts)

GAUDIT_STORAGE - The file to store state in (defaults to audit.store)

GAUDIT_RULES - Rules file for analysis (defaults to rules.yml)

GAUDIT_APPEND - Append file for annotating (defaults to append.yml)

GAUDIT_DEBUG - Set debug mode (defaults to false)

Rules File

You can create a rules file to analyze your Github repositories.

Example:

-
  name: CircleCI Config
  action: exists
  resource: .circleci/config.yml
-
  name: TravisCI Config
  action: not_exists
  resource: .travis.yml
-
  name: README File
  action: exists
  resource: README.md
-
  name: License
  action: exists
  resource: LICENSE
-
  name: Copyright Notice
  action: exists
  resource: NOTICE.md
  type: public
-
  name: Copyright Date
  action: contains
  resource: NOTICE.md
  match: 2019
  type: public
Releases

NEXT

  • Added rules results to details
  • Added rules results to stats
  • Updated diff to exclude size/updated date
  • Updated the stats date output
  • Added list of teams on each repo
  • Added team command to list by team
  • Added team output for details and csv
  • Switching Org ownership

v0.1.1

  • Added a Stats command

v0.1.0

  • Initial release

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址