|
Packit Service |
384592 |
/*
|
|
Packit Service |
384592 |
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
|
|
Packit Service |
384592 |
* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)
|
|
Packit Service |
384592 |
*
|
|
Packit Service |
384592 |
* You may not use this file except in compliance with
|
|
Packit Service |
384592 |
* the License. You may obtain a copy of the License at
|
|
Packit Service |
384592 |
*
|
|
Packit Service |
384592 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit Service |
384592 |
*
|
|
Packit Service |
384592 |
* If any of the files related to licensing are missing or if you have any
|
|
Packit Service |
384592 |
* other questions related to licensing please contact Trustwave Holdings, Inc.
|
|
Packit Service |
384592 |
* directly using the email address security@modsecurity.org.
|
|
Packit Service |
384592 |
*/
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#ifndef _MSC_LOGGING_H_
|
|
Packit Service |
384592 |
#define _MSC_LOGGING_H_
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#define AUDITLOG_OFF 0
|
|
Packit Service |
384592 |
#define AUDITLOG_ON 1
|
|
Packit Service |
384592 |
#define AUDITLOG_RELEVANT 2
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#define AUDITLOG_SERIAL 0
|
|
Packit Service |
384592 |
#define AUDITLOG_CONCURRENT 1
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#ifdef WITH_YAJL
|
|
Packit Service |
384592 |
#define AUDITLOGFORMAT_JSON 0
|
|
Packit Service |
384592 |
#define AUDITLOGFORMAT_NATIVE 1
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_FIRST 'A'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_HEADER 'A'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_REQUEST_HEADERS 'B'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_REQUEST_BODY 'C'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_RESPONSE_HEADERS 'D'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_RESPONSE_BODY 'E'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_A_RESPONSE_HEADERS 'F'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_A_RESPONSE_BODY 'G'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_TRAILER 'H'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_FAKE_REQUEST_BODY 'I'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_UPLOADS 'J'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_MATCHEDRULES 'K'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_LAST 'K'
|
|
Packit Service |
384592 |
#define AUDITLOG_PART_ENDMARKER 'Z'
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#include "modsecurity.h"
|
|
Packit Service |
384592 |
#include "apr_pools.h"
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
int DSOLOCAL is_valid_parts_specification(char *p);
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
char DSOLOCAL *construct_log_vcombinedus_limited(modsec_rec *msr, int _limit, int *was_limited);
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
void DSOLOCAL sec_audit_logger(modsec_rec *msr);
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#endif
|