logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mod_security - Security Audit and Trailing Functionality

Description

       Security Audit and Trailing Functionality

Exports

Module:event(What,Port,Dir,Data)->ignoredModule:event(What,Address,Port,Dir,Data)->ignored

              Types:

                 What = atom()
                 Port = integer()
                 Address = {A,B,C,D} | string()
                 Dir = string()
                 Data = [Info]
                 Info = {Name, Value}

              event/4  or  event/5  is called whenever an event occurs in the mod_security Erlang web server API
              module. (event/4 is called if Address is undefined, otherwise event/5. Argument What specifies the
              type of event that has occurred and is one of the following reasons:

                auth_fail:
                  A failed user authentication.

                user_block:
                  A user is being blocked from access.

                user_unblock:
                  A user is being removed from the block list.

          Note:
              The event user_unblock is not triggered when a user is removed  from  the  block  list  explicitly
              using the unblock_user function.

Ericsson AB                                         inets 7.5                                 mod_security(3erl)

Name

       mod_security - Security Audit and Trailing Functionality

Securitycallbackmodule

       The SecurityCallbackModule is a user-written module that can receive events from the mod_security  Erlang
       web server API module. This module only exports the functions event/[4,5] which are described here.

See Also