Client app to read Audit Log from Azure DevOps
dotnet run publish
This will read all events from your audit log into your event hub
The tool uses 2 configuration files:
Provides the inputs to read the audit log, for example this one point to my Azure DevOps organization
{
"Url": "https://dev.azure.com/Octavio/",
"PAT": "Your Azure DevOps PAT token"
}
Specifies the targets to publish into, for example this one points to an event hub
[
{
"Name": "EventHub",
"Url": "Endpoint=sb://{your event hub name}.servicebus.windows.net/;SharedAccessKeyName=aw;SharedAccessKey={your shared access key};EntityPath={some path}"
}
]