suricata
output-json-anomaly.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void JsonAnomalyLogRegister (void)
 
void AnomalyJsonHeader (void *ctx, const Packet *p, const PacketAlert *pa, json_t *js, uint16_t flags)
 

Detailed Description

Author
Jeff Lucovsky jeff@.nosp@m.luco.nosp@m.vsky..nosp@m.org

Logs anomalies in JSON format.

Definition in file output-json-anomaly.h.

Function Documentation

void AnomalyJsonHeader ( void *  ctx,
const Packet p,
const PacketAlert pa,
json_t *  js,
uint16_t  flags 
)
void JsonAnomalyLogRegister ( void  )

Definition at line 435 of file output-json-anomaly.c.

References ALPROTO_UNKNOWN, LOGGER_JSON_ANOMALY, MODULE_NAME, OutputRegisterPacketSubModule(), and OutputRegisterTxSubModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: