| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
The audit log event pipeline generates the event data for 3 audit log pages; the enterprise events page, the organization events page, and the user events page. The source data is stored in the private github/audit-log-allowlists repository.
flowchart TD
Start([Start])-->
RunScript["Run:
src/auditlog/scripts/sync.js"]-->
GetContents["getContents() schema.json
from github/audit-log-allowlists repo"]-->
SchemaFiles["audit log schema file\n
.json"]-->
Transform["transform audit log data
into docs readable format"]-->DataForDocs
subgraph Transform ["transform"]
t["transform audit log data into docs readable format"]-->
o["organize events by version and page"]-->t
end
DataForDocs["Only content from audit log data
that is rendered in the docs\n
.json"]-->
End([End])
style Start fill:#19AA9B,color:#FFF
style SchemaFiles fill:#E6E6E6
style DataForDocs fill:#E6E6E6
style End fill:#F7C325
A workflow is used to trigger the automation of the audit log events documentation. The workflow runs automatically on a daily schedule.
The workflow creates a pull request with audit log event updates and the label audit-log-pipeline. If there is no updated audit log data, a pull request is not created.
The workflow runs the src/audit-logs/scripts/sync.ts script.
To run the audit log events pipeline locally:
The content writers can manually update frontmatter and introductory content in the associated Markdown files:
Automated content gets appended to the end of these files.
To edit the event descriptions and reference links, writers can update https://github.com/github/audit-log-allowlists/blob/main/allowlists/meta.json. The workflow mentioned above propagates these updates to github/docs-internal once a day. See https://github.com/github/audit-log-allowlists/blob/main/docs/meta.md for more details about editing the meta.json file.
Slack: #docs-engineering Repo: github/docs-engineering
If you have a question about the audit log events pipeline, you can ask in the #docs-engineering Slack channel. If you notice a problem with the audit log events pipeline, you can open an issue in the github/docs-engineering repository.
| Back | FazBrowse Home | New Git URL |