ASP-WAF Web application firewall for .Net 5, .Net Standard 2.1 and .Net Core 3.x

ILogSettings Class

Class ILogSettings are the logging settings for the Walter.Web.FireWall.ILoggerReporting NuGet package.

Namespace:  Walter.Web.FireWall.ILoggerReporting
Assembly:  Walter.Web.FireWall.ILogger (in Walter.Web.FireWall.ILogger.dll)

Syntax


public class ILogSettings

Remarks


You can download this NuGet package and use it with any version of the firewall, licensed and community editions

Examples


You find the ILogger extension method for the Walter.Waf.Web.IFirewall in NuGet package Walter.Web.FireWall.ILoggerReporting
C#
services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
    , domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
    , options =>
    {
        options.Cypher.ApplicationPassword = "123456$even";
        options.ApplicationName = "Name as used for reporting";
        options.ApplicationTag = "ITIL Tag";
        options.Rules.BlockRequest.BlockDuration.SlideExpiration = true;
        options.Rules.BlockRequest.BlockDuration.Expires = TimeSpan.FromSeconds(10);

        //used by JavaScript in the browser
        options.WebServices.IsUserApiUrl = new Uri(Links.IsUserEndpoint, UriKind.Relative);
        options.WebServices.RegisterLinksApiUrl = new Uri(Links.SiteMapEndPoint, UriKind.Relative);
        options.WebServices.BeaconApiUrl = new Uri(Links.BeaconPoint, UriKind.Relative);

}).UseILoggerLogging(level: Microsoft.Extensions.Logging.LogLevel.Critical);

Inheritance Hierarchy


Object
  Walter.Web.FireWall.ILoggerReporting..::..ILogSettings