Reporting interface for the firewall and the windows to support structured logging to the ILogging frameworks. 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 options }).UseILoggerLogging(options:option=> { option.Level = Microsoft.Extensions.Logging.LogLevel.Critical; option.NameSpace = "MyApplication.FireWall.Logger"; }); 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 as well as on-line at documentation at https://www.asp-waf.com/NuGet. This Add-On will work any license version of the firewall.
$ dotnet add package Walter.Web.FireWall.ILoggerTo log exploits detected by the firewall use the following extension method
services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
, domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
, options =>
{
//your firewall options
})
.UseILoggerLogging(options: option =>
{
option.Level = Microsoft.Extensions.Logging.LogLevel.Information;
option.NameSpace = "MyApplication.FireWall.Logger";
});
You can specify the level a detection gets as well as the name-space to use when reporting allowing you to use structured filtering on the loggers output.