
- Ensures tamper-evidence and durable retention.
- Supports faster incident response by making logs immediately available in a central location.
- Enables long-term retention and compliance with regulatory frameworks.
Streaming is typically required by compliance frameworks such as SOC 2, FedRAMP, and ISO/IEC 27001 because it provides tamper evidence and off-site retention.
Audit log search: quick examples and patterns
GitHub’s audit log search syntax is consistent across the UI and the enterprise audit log API, which makes scripted investigations straightforward. Use tight filters (time range,
actor:, repo:) to reduce result volume.
Example: find every repository deletion
Scope your queries by time range and additional filters (for example
actor: or repo:) to reduce noise and speed up investigations. Use saved queries or scripted API calls for repeatable incident workflows.user.login) are only recorded in the enterprise audit log. Organization-level audit logs show actions performed inside that organization, but they do not include global login events. Only enterprise owners can see user.login entries.

Organization admins cannot see global
user.login events. If you need visibility into logins for forensic purposes, ensure enterprise-level audit log streaming is enabled and that enterprise owners delegate access appropriately.- Audit log streaming is configured at the enterprise level; enable it to ensure durable, tamper-evident storage.
- Supported streaming destinations: Amazon S3, Azure Event Hubs, Google Cloud Logging, Splunk, Datadog.
- Use audit log search syntax (for example
action:repo.destroyoractor:jsmith action:business.set_actions_policy) either in the UI or via the enterprise audit log API. - User login events (
user.login) appear only in the enterprise audit log — organization logs do not include them. - Always scope queries by time range and relevant filters to improve performance and accuracy.
- GitHub audit log search documentation
- GitHub enterprise audit log REST API
- SOC 2 Overview (AICPA)
- FedRAMP
- ISO/IEC 27001