enterprise-admin
Create an audit log streaming configuration for an enterprise
Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.
Microsoft Agent 365 and Microsoft Purview streams require Microsoft Entra authorization and cannot be created with this endpoint. Configure those destinations from the enterprise audit log streaming settings.
When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "Encrypting secrets for the REST API."
post/enterprises/{enterprise}/audit-log/streams
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/audit-log/streams
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Response
The audit log stream configuration was created successfully.
Changes
No recorded changes to this operation across all 83 revisions of this API.