Email incident reporting Add-On for the ASP-WAF Application FireWall NuGet Package

The Package adds E-Mail based reporting functionality to NuGet package Walter.Web.Firewall
and allows for the logging of incidents via E-Mail by using a E-Mail buffer and sends the emails at configured intervals.
The NuGet package 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

}).UseSMTPReportingDatabase(options =>{
options.Archive = TimeSpan.FromDays(180);
options.Server = "mail.server.com";
options.UserName = "[email protected]";
options.Password = "pa$$w0rd1234";
options.Port = 8889;
options.From = "[email protected]";
options.IgnoreServerCertificateErrors = true;
options.DefaultEmail = "[email protected]";
options.Archive = TimeSpan.FromDays(60);
options.MailingList.AddRange(new[] {
new EMailAddress("Security Admin","[email protected]") {
Frequency= TimeSpan.FromHours(1),
Roles= EMailRoles.FireWallAdministrationViolations | EMailRoles.UnauthorizedPhysicalFilesViolation },
new EMailAddress("WAF","[email protected]"){
Frequency= TimeSpan.FromHours(1),
Roles= EMailRoles.ProductUpdates | EMailRoles.OwnAccountRelatedViolations } ,
});
});

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
https://www.asp-waf.com/NuGet.




Got any Email incident reporting Add-On for the ASP-WAF Application FireWall Question?





Info

Version: 2024.9.27.1406
Author(s): Walter Verhoeven, Stijn Snellinx
Last Update: Friday, September 27, 2024
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Walter.Web.FireWall.SMTPLogger


Install
Install-Package Walter.Web.FireWall.SMTPLogger
dotnet add package Walter.Web.FireWall.SMTPLogger
paket add Walter.Web.FireWall.SMTPLogger
Walter.Web.FireWall.SMTPLogger Download (Unzip the "nupkg" after downloading)

net5.0 netcoreapp3.1 netstandard2.1


Tags



STATS

must-have-score

1.3

avg-downloads-per-day

201

days-since-last-release

39