org.jwall.web.audit
Interface ModSecurity


public interface ModSecurity

This interface defines the constants which are used in the whole org.modsecurity-lib. These define the strings that are used within mod_security2. As all other classes of the web-audit library this class is in no way officially connected to Breach Security.

Author:
Christian Bockermann <chris@jwall.org>

Field Summary
static java.lang.String __UNDEFINED__
           
static java.lang.String ARGS
           
static java.lang.String ARGS_NAMES
           
static java.lang.String ARGUMENT_SEPARATOR
          the regular expression that is used to split the uri and query-string
static java.lang.String AUTH_TYPE
           
static boolean DEBUG
          A flag for enabling additional debuggin.
static java.lang.String ENV
           
static java.lang.String PATH_INFO
           
static java.lang.String QUERY_STRING
           
static java.lang.String REMOTE_ADDR
           
static java.lang.String REMOTE_HOST
           
static java.lang.String REMOTE_PORT
           
static java.lang.String REMOTE_USER
           
static java.lang.String REQUEST_BASENAME
           
static java.lang.String REQUEST_BODY
           
static java.lang.String REQUEST_COOKIES
           
static java.lang.String REQUEST_COOKIES_NAMES
           
static java.lang.String REQUEST_FILENAME
           
static java.lang.String REQUEST_HEADERS
           
static java.lang.String REQUEST_HEADERS_NAMES
           
static java.lang.String REQUEST_LINE
           
static java.lang.String REQUEST_METHOD
           
static java.lang.String REQUEST_PATH
           
static java.lang.String REQUEST_PROTOCOL
           
static java.lang.String REQUEST_URI
           
static java.lang.String REQUEST_URI_RAW
           
static java.lang.String RESPONSE_BODY
           
static java.lang.String RESPONSE_HEADERS
           
static java.lang.String RESPONSE_HEADERS_NAMES
           
static java.lang.String RESPONSE_LINE
           
static java.lang.String RESPONSE_PROTOCOL
           
static java.lang.String RESPONSE_STATUS
           
static java.lang.String SCRIPT_BASENAME
           
static java.lang.String SCRIPT_FILENAME
           
static java.lang.String SCRIPT_GID
           
static java.lang.String SCRIPT_GROUPNAME
           
static java.lang.String SCRIPT_MODE
           
static java.lang.String SCRIPT_UID
           
static java.lang.String SCRIPT_USERNAME
           
static int SECTION_AUDIT_LOG_FOOTER
          The index of the audit-log footer.
static int SECTION_AUDIT_LOG_HEADER
          The index of the audit log header.
static int SECTION_AUDIT_TRAILER
          The index of the audit-log trailer.
static int SECTION_FINAL_RESPONSE_HEADER
          The index of the final response-header.
static int SECTION_FORM_DATA
          The index of the form-data string.
static int SECTION_REQUEST_BODY
          The index of the request-body.
static int SECTION_REQUEST_HEADER
          The index of the request-header.
static int SECTION_RESPONSE_BODY
          The index of the response-body.
static java.lang.String SECTIONS
          A string holding all characters that refer to a specific section of an audit-event.
static java.lang.String SERVER_ADDR
           
static java.lang.String SERVER_NAME
           
static java.lang.String SERVER_PORT
           
static java.lang.String SESSION
           
static java.lang.String SESSIONID
           
static java.lang.String TIME_YEAR
           
static java.lang.String USERID
           
static java.lang.String[] VARIABLES
           
static java.lang.String WEBAPPID
           
 

Field Detail

DEBUG

static final boolean DEBUG
A flag for enabling additional debuggin. This can be set by using -Dorg.modsecurity.DEBUG=1 on the command line.


SECTIONS

static final java.lang.String SECTIONS
A string holding all characters that refer to a specific section of an audit-event.

See Also:
Constant Field Values

SECTION_AUDIT_LOG_HEADER

static final int SECTION_AUDIT_LOG_HEADER
The index of the audit log header.

See Also:
Constant Field Values

SECTION_REQUEST_HEADER

static final int SECTION_REQUEST_HEADER
The index of the request-header.

See Also:
Constant Field Values

SECTION_REQUEST_BODY

static final int SECTION_REQUEST_BODY
The index of the request-body.

See Also:
Constant Field Values

SECTION_RESPONSE_BODY

static final int SECTION_RESPONSE_BODY
The index of the response-body.

See Also:
Constant Field Values

SECTION_FINAL_RESPONSE_HEADER

static final int SECTION_FINAL_RESPONSE_HEADER
The index of the final response-header.

See Also:
Constant Field Values

SECTION_AUDIT_TRAILER

static final int SECTION_AUDIT_TRAILER
The index of the audit-log trailer.

See Also:
Constant Field Values

SECTION_FORM_DATA

static final int SECTION_FORM_DATA
The index of the form-data string.

See Also:
Constant Field Values

SECTION_AUDIT_LOG_FOOTER

static final int SECTION_AUDIT_LOG_FOOTER
The index of the audit-log footer. This is always the last one.


ARGUMENT_SEPARATOR

static final java.lang.String ARGUMENT_SEPARATOR
the regular expression that is used to split the uri and query-string

See Also:
Constant Field Values

__UNDEFINED__

static final java.lang.String __UNDEFINED__
See Also:
Constant Field Values

ARGS

static final java.lang.String ARGS
See Also:
Constant Field Values

ARGS_NAMES

static final java.lang.String ARGS_NAMES
See Also:
Constant Field Values

REMOTE_HOST

static final java.lang.String REMOTE_HOST
See Also:
Constant Field Values

REMOTE_ADDR

static final java.lang.String REMOTE_ADDR
See Also:
Constant Field Values

REMOTE_PORT

static final java.lang.String REMOTE_PORT
See Also:
Constant Field Values

REMOTE_USER

static final java.lang.String REMOTE_USER
See Also:
Constant Field Values

PATH_INFO

static final java.lang.String PATH_INFO
See Also:
Constant Field Values

QUERY_STRING

static final java.lang.String QUERY_STRING
See Also:
Constant Field Values

AUTH_TYPE

static final java.lang.String AUTH_TYPE
See Also:
Constant Field Values

SERVER_NAME

static final java.lang.String SERVER_NAME
See Also:
Constant Field Values

SERVER_ADDR

static final java.lang.String SERVER_ADDR
See Also:
Constant Field Values

SERVER_PORT

static final java.lang.String SERVER_PORT
See Also:
Constant Field Values

TIME_YEAR

static final java.lang.String TIME_YEAR
See Also:
Constant Field Values

REQUEST_URI

static final java.lang.String REQUEST_URI
See Also:
Constant Field Values

REQUEST_URI_RAW

static final java.lang.String REQUEST_URI_RAW
See Also:
Constant Field Values

REQUEST_PATH

static final java.lang.String REQUEST_PATH
See Also:
Constant Field Values

REQUEST_LINE

static final java.lang.String REQUEST_LINE
See Also:
Constant Field Values

REQUEST_METHOD

static final java.lang.String REQUEST_METHOD
See Also:
Constant Field Values

REQUEST_PROTOCOL

static final java.lang.String REQUEST_PROTOCOL
See Also:
Constant Field Values

REQUEST_FILENAME

static final java.lang.String REQUEST_FILENAME
See Also:
Constant Field Values

REQUEST_BASENAME

static final java.lang.String REQUEST_BASENAME
See Also:
Constant Field Values

SCRIPT_FILENAME

static final java.lang.String SCRIPT_FILENAME
See Also:
Constant Field Values

SCRIPT_BASENAME

static final java.lang.String SCRIPT_BASENAME
See Also:
Constant Field Values

SCRIPT_UID

static final java.lang.String SCRIPT_UID
See Also:
Constant Field Values

SCRIPT_GID

static final java.lang.String SCRIPT_GID
See Also:
Constant Field Values

SCRIPT_USERNAME

static final java.lang.String SCRIPT_USERNAME
See Also:
Constant Field Values

SCRIPT_GROUPNAME

static final java.lang.String SCRIPT_GROUPNAME
See Also:
Constant Field Values

SCRIPT_MODE

static final java.lang.String SCRIPT_MODE
See Also:
Constant Field Values

ENV

static final java.lang.String ENV
See Also:
Constant Field Values

REQUEST_HEADERS

static final java.lang.String REQUEST_HEADERS
See Also:
Constant Field Values

REQUEST_HEADERS_NAMES

static final java.lang.String REQUEST_HEADERS_NAMES
See Also:
Constant Field Values

REQUEST_COOKIES

static final java.lang.String REQUEST_COOKIES
See Also:
Constant Field Values

REQUEST_COOKIES_NAMES

static final java.lang.String REQUEST_COOKIES_NAMES
See Also:
Constant Field Values

REQUEST_BODY

static final java.lang.String REQUEST_BODY
See Also:
Constant Field Values

RESPONSE_LINE

static final java.lang.String RESPONSE_LINE
See Also:
Constant Field Values

RESPONSE_STATUS

static final java.lang.String RESPONSE_STATUS
See Also:
Constant Field Values

RESPONSE_PROTOCOL

static final java.lang.String RESPONSE_PROTOCOL
See Also:
Constant Field Values

RESPONSE_HEADERS

static final java.lang.String RESPONSE_HEADERS
See Also:
Constant Field Values

RESPONSE_HEADERS_NAMES

static final java.lang.String RESPONSE_HEADERS_NAMES
See Also:
Constant Field Values

RESPONSE_BODY

static final java.lang.String RESPONSE_BODY
See Also:
Constant Field Values

SESSION

static final java.lang.String SESSION
See Also:
Constant Field Values

WEBAPPID

static final java.lang.String WEBAPPID
See Also:
Constant Field Values

SESSIONID

static final java.lang.String SESSIONID
See Also:
Constant Field Values

USERID

static final java.lang.String USERID
See Also:
Constant Field Values

VARIABLES

static final java.lang.String[] VARIABLES