suricata
output-json-pgsql.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-threads.h"
#include "util-unittest.h"
#include "util-buffer.h"
#include "util-debug.h"
#include "util-byte.h"
#include "output.h"
#include "output-json.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "output-json-pgsql.h"
#include "rust.h"
Include dependency graph for output-json-pgsql.c:

Go to the source code of this file.

Data Structures

struct  OutputPgsqlCtx_
 
struct  LogPgsqlLogThread_
 

Macros

#define PGSQL_LOG_PASSWORDS   BIT_U32(0)
 

Typedefs

typedef struct OutputPgsqlCtx_ OutputPgsqlCtx
 
typedef struct LogPgsqlLogThread_ LogPgsqlLogThread
 

Functions

void JsonPgsqlLogRegister (void)
 

Detailed Description

Author
Juliana Fajardini jufaj.nosp@m.ardi.nosp@m.ni@oi.nosp@m.sf.n.nosp@m.et

Implement JSON/eve logging for app-layer Pgsql.

Definition in file output-json-pgsql.c.

Macro Definition Documentation

◆ PGSQL_LOG_PASSWORDS

#define PGSQL_LOG_PASSWORDS   BIT_U32(0)

Definition at line 51 of file output-json-pgsql.c.

Typedef Documentation

◆ LogPgsqlLogThread

◆ OutputPgsqlCtx

Function Documentation

◆ JsonPgsqlLogRegister()

void JsonPgsqlLogRegister ( void  )

Definition at line 181 of file output-json-pgsql.c.

References ConfGetNode(), LOGGER_JSON_PGSQL, OutputRegisterTxSubModule(), and SCLogDebug.

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:
Here is the caller graph for this function: