Reporting interface for the firewall and the windows to support structured logging to the windows EventLog. The Package extends the reporting functionality to NuGet package Walter.Web.Firewall and is easily activated by dependency injection during service configuration services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey , domainName: new Uri("https://www.your-domain.com", UriKind.Absolute) , options => { //your firewall settings }).UseEventLogLogging(options=>{ options.LogName = "FireWall"; options.SourceName = "www.your-domain.com"; }); More information on how to use this Add-On is available in this manual https://www.asp-waf.com/download/ASP-WAF-FireWall-Getting-Started.pdf
$ dotnet add package Walter.Web.FireWall.EventLogTo enable logging to the windows eventlog you download and configure the NuGet package by using the UseEventLogLogging extension method
services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
, domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
, options =>
{
//your firewall options
})
.UseEventLogLogging();
Writing to the EventLog requires additional permissions, Please look at https://www.manageengine.com/products/active-directory-audit/service-account-configuration-privileges-permissions-for-event-log-collection.html for a sample of how to elevate the user rights of the process running the web application the right to write to the EventLog.