GitHub Enterprise Audit Log Events

Cloud & SaaSIdentity & DirectoryGitHubCloud Control PlaneSIEM / Log Aggregator

Location

GitHub Enterprise or organization audit log UI and REST API

Description

Audit events for enterprise and organization activity in GitHub, including repo administration, membership changes, authentication and token events, app changes, and security-relevant administrative actions.

Forensic Value

GitHub audit logs are essential for source-code and CI/CD investigations. They show who changed org membership, created or rotated tokens, modified repository settings, added apps, or accessed administration features that could enable code theft or supply-chain abuse.

Tools Required

GitHub Enterprise UIGitHub REST APIgh CLISIEM

Collection Commands

gh CLI

gh api /enterprises/<enterprise>/audit-log?phrase=created:>=2026-03-01 > github_enterprise_audit_log.json

GitHub UI

Enterprise settings > Audit log > Filter by actor, repo, action, and date range > Save the results and query parameters used

Collection Constraints

  • Audit log retention in the UI or API is limited; long-term preservation depends on regular export or audit streaming.
  • Enterprise-level visibility depends on the GitHub plan and the privileges of the account performing the collection.

MITRE ATT&CK Techniques

T1098T1078.004T1528

Related Blockers