2using System.Threading.Tasks;
55 string Message = await this.
message.EvaluateAsync(State.
Variables,
string.Empty);
56 string UserName = await this.
userName.EvaluateAsync(State.
Variables,
string.Empty);
61 State.
Request.RemoteEndPoint.RemovePortNumber(),
Class that monitors login events, and help applications determine malicious intent....
static async void Success(string Message, string UserName, string RemoteEndPoint, string Protocol, params KeyValuePair< string, object >[] Tags)
Handles a successful login attempt.
Registers an audit success for an endpoint.
override async Task< WafResult?> Review(ProcessingState State)
Reviews the processing state, and returns a WAF result, if any.
AuditSuccess()
Registers an audit success for an endpoint.
override string LocalName
XML Local Name for the XML element defining the action.
override WafAction Create(XmlElement Xml, WafAction Parent, WebApplicationFirewall Document)
Creates a WAF action from its XML definition.
AuditSuccess(XmlElement Xml, WafAction Parent, WebApplicationFirewall Document)
Registers an audit success for an endpoint.
Abstract base class for audit actions.
readonly StringAttribute message
Message attribute
readonly StringAttribute protocol
Protocol attribute
readonly StringAttribute userName
User Name attribute
Contains the current state of a review process.
Variables Variables
Set of variables.
HttpRequest Request
Current HTTP Request
Abstract base class for Web Application Firewall actions.
WebApplicationFirewall Document
Web Application Firewall document.
Web Application Firewall for HttpServer.