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
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);
}
System.Object
System.EventArgs
Walter.Web.FireWall.EventArguments.PhishyRequestEventArgs
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2