关于审核日志
The audit log lists events triggered by activities that affect your enterprise within the current month and up to the previous six months. The audit log retains Git events for seven days.
By default, only events from the past three months are displayed. To view older events, you must specify a date range with the created
parameter. 更多信息请参阅“了解搜索语法”。
The name for each audit log entry is composed of the action
object or category qualifier, followed by an operation type. For example, the repo.create
entry refers to the create
operation on the repo
category.
每个审核日志条目都显示有关事件的适用信息,例如:
- The enterprise or organization an action was performed in
- The user (actor) who performed the action
- The user affected by the action
- 执行操作的仓库
- 执行的操作内容
- 发生操作的国家/地区
- 操作发生的日期和时间
- Optionally, the source IP address for the user (actor) who performed the action
除了查看审核日志之外,您还可以通过其他方式监控企业中的活动,例如 管理全局 web 挂钩。 更多信息请参阅“探索企业中的用户活动”。
使用审核日志
作为企业所有者,您可以通过多种方式与企业的审核日志数据进行交互:
- 您可以查看企业的审核日志。 更多信息请参阅“访问企业的审核日志”。
- 您可以在审核日志中搜索特定事件 并导出审核日志数据。 更多信息请参阅“搜索企业的审核日志” 和“导出企业的审核日志”。
- 您可以在审核日志中显示与事件关联的 IP 地址。 更多信息请参阅“在企业的审核日志中显示 IP 地址”。
- 您可以将审核和 Git 事件数据从 GitHub 流式传输到外部数据管理系统。 更多信息请参阅“流式传输企业的审核日志”。
- 您可以使用审核日志 API 查看在企业中执行的操作。 更多信息请参阅“使用企业的审核日志 API”。
有关企业审核日志中可能显示的审核日志操作的完整列表,请参阅“企业的审核日志操作”。
Git 事件
记录 Git 事件数据,如克隆、提取和推送。 更多信息请参阅“流式传输企业的审核日志”。