Overview

GitHub Quick Review analyzes GitHub enterprises, organizations, and repositories against GitHub best practices and security recommendations.

GitHub Quick Review (ghqr) is a powerful command-line interface (CLI) tool that analyzes GitHub enterprises, organizations, and repositories to ensure compliance with GitHub best practices and security recommendations. Its main objective is to offer users a comprehensive assessment of their GitHub security posture, allowing them to easily identify security gaps, misconfigured settings, and areas for improvement.

What ghqr Checks

GitHub Enterprise Cloud / Organizations / Repositories

AreaScopeExamples
SecurityOrg, RepoDependabot alerts, secret scanning, code scanning, GHAS
Access ControlOrg, Repo2FA enforcement, member privileges, SAML SSO, CODEOWNERS
Branch ProtectionRepoRequired reviews, status checks, admin enforcement
CopilotOrgSeat usage, content exclusions, policy configuration, MCP settings
GovernanceOrgIP allow lists, repository creation policies, fork policies
Audit LogEnterprise, OrgAudit log streaming, suspicious event detection
CommunityRepoContributing guide, issue templates, code of conduct
ActionsOrg, RepoWorkflow permissions, allowed actions, self-hosted runners
DependenciesRepoDependabot version updates, security updates
MetadataRepoDescription, topics, visibility, archival status

GitHub Enterprise Server (GHES)

AreaExamples
Server ConfigurationVersion currency, subdomain isolation, TLS, private mode
AuthenticationAuth mode (SAML/LDAP/CAS), open signup, password authentication
LicenseSeat utilization, license expiration warnings
SecurityGHAS enablement, secret scanning, push protection, code scanning
DependenciesDependabot alerts and security updates enablement
ActionsGitHub Actions enablement, self-hosted runner security
Audit LogSuspicious event detection, log forwarding, staff impersonation
InfrastructureAdmin SSH access, site admin count, backup-utils, HA replicas
Admin StatsUser/org/repo counts, suspended user ratio, disabled orgs

Scan Results

The output generated by GitHub Quick Review (ghqr) includes the following sheets when using the default Excel format:

  • Recommendations: Prioritized findings with severity and category
  • Organizations: Summary of all scanned organizations and their posture
  • Repositories: Per-repository findings with branch protection, security features, and access settings
  • Issues: All findings with recommendations and links to documentation

Output Formats

GitHub Quick Review (ghqr) supports three output formats:

  • Excel (.xlsx) (default): Multi-sheet workbook with all findings, summaries, and links
  • Markdown (.md): Text-based report suitable for inclusion in wikis or pull requests
  • JSON: Machine-readable output suitable for integration with other tools or pipelines

Recommendation Severity Levels

Each recommendation is assigned one of the following severity levels:

SeverityDescription
criticalImmediate risk of compromise or data loss; remediate without delay
highSignificant security gap that should be addressed promptly
mediumSecurity control that reduces risk when implemented
lowImprovement that provides defense-in-depth or best-practice alignment
infoObservation or informational finding requiring no immediate action

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Trademark Notice

Trademarks This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.


Last modified May 31, 2026: feat: documentation (d32d3b4)