suricata
output-json-alert.c File Reference
#include "suricata-common.h"
#include "packet.h"
#include "detect.h"
#include "flow.h"
#include "conf.h"
#include "stream.h"
#include "threadvars.h"
#include "util-debug.h"
#include "stream-tcp.h"
#include "util-logopenfile.h"
#include "util-misc.h"
#include "util-time.h"
#include "detect-engine.h"
#include "detect-metadata.h"
#include "app-layer-parser.h"
#include "app-layer-htp-xff.h"
#include "app-layer-ftp.h"
#include "app-layer-frames.h"
#include "log-pcap.h"
#include "output.h"
#include "output-json.h"
#include "output-json-alert.h"
#include "output-json-http.h"
#include "rust.h"
#include "output-json-smtp.h"
#include "output-json-email-common.h"
#include "output-json-nfs.h"
#include "output-json-smb.h"
#include "output-json-flow.h"
#include "output-json-ike.h"
#include "output-json-frame.h"
#include "util-print.h"
#include "util-optimize.h"
#include "util-buffer.h"
#include "util-reference-config.h"
#include "util-validate.h"
#include "action-globals.h"
Include dependency graph for output-json-alert.c:

Go to the source code of this file.

Data Structures

struct  AlertJsonOutputCtx_
 
struct  JsonAlertLogThread_
 
struct  AlertJsonStreamDataCallbackData
 

◆ JsonAlertLogRegister()

Macros

#define MODULE_NAME   "JsonAlertLog"
 
#define LOG_JSON_PAYLOAD   BIT_U16(0)
 
#define LOG_JSON_PACKET   BIT_U16(1)
 
#define LOG_JSON_PAYLOAD_BASE64   BIT_U16(2)
 
#define LOG_JSON_TAGGED_PACKETS   BIT_U16(3)
 
#define LOG_JSON_APP_LAYER   BIT_U16(4)
 
#define LOG_JSON_FLOW   BIT_U16(5)
 
#define LOG_JSON_HTTP_BODY   BIT_U16(6)
 
#define LOG_JSON_HTTP_BODY_BASE64   BIT_U16(7)
 
#define LOG_JSON_RULE_METADATA   BIT_U16(8)
 
#define LOG_JSON_RULE   BIT_U16(9)
 
#define LOG_JSON_VERDICT   BIT_U16(10)
 
#define LOG_JSON_WEBSOCKET_PAYLOAD   BIT_U16(11)
 
#define LOG_JSON_WEBSOCKET_PAYLOAD_BASE64   BIT_U16(12)
 
void JsonAlertLogRegister ( void  )

Definition at line 1109 of file output-json-alert.c.

References OutputPacketLoggerFunctions_::LogFunc.

LOG_JSON_WEBSOCKET_PAYLOAD
#define LOG_JSON_WEBSOCKET_PAYLOAD
Definition: output-json-alert.c:84
LOG_JSON_HTTP_BODY_BASE64
#define LOG_JSON_HTTP_BODY_BASE64
Definition: output-json-alert.c:80
LOG_JSON_HTTP_BODY
#define LOG_JSON_HTTP_BODY
Definition: output-json-alert.c:79
LOG_JSON_FLOW
#define LOG_JSON_FLOW
Definition: output-json-alert.c:78