Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF | .Net API for WAF Systems

PhishyRequestEventArgs Class

Argument used when a Phishy Request is considered, a phishy request is a request that is processed by your web application that resulted from a URL that is unknown to the firewall

Namespace:  Walter.Web.FireWall.EventArguments
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)


public class PhishyRequestEventArgs


Assuming the firewall using the SMTP NuGet package we use the NuGet package extension method to send a email to the configured developers mailbox for those that are responsible for security
private void MyFireWall_OnPhishyRequest(object sender, PhishyRequestEventArgs e)
    e.IgnoreForNow = true;
    (sender as IFireWall)?.SendEmail(EMailRoles.SecurityRelevant, $"URL {e.Request.OriginalUrl.PathAndQuery} phishy", $"Consider protection for {e.Request.OriginalUrl.PathAndQuery} on {e.Request}", false);