suricata
|
#include "suricata-common.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"
Go to the source code of this file.
Data Structures | |
struct | OutputPgsqlCtx_ |
struct | LogPgsqlLogThread_ |
Macros | |
#define | PGSQL_LOG_PASSWORDS BIT_U32(0) |
#define | PGSQL_DEFAULTS (PGSQL_LOG_PASSWORDS) |
Typedefs | |
typedef struct OutputPgsqlCtx_ | OutputPgsqlCtx |
typedef struct LogPgsqlLogThread_ | LogPgsqlLogThread |
Functions | |
bool | JsonPgsqlAddMetadata (void *vtx, JsonBuilder *jb) |
void | JsonPgsqlLogRegister (void) |
Implement JSON/eve logging for app-layer Pgsql.
Definition in file output-json-pgsql.c.
#define PGSQL_DEFAULTS (PGSQL_LOG_PASSWORDS) |
Definition at line 51 of file output-json-pgsql.c.
#define PGSQL_LOG_PASSWORDS BIT_U32(0) |
Definition at line 50 of file output-json-pgsql.c.
typedef struct LogPgsqlLogThread_ LogPgsqlLogThread |
typedef struct OutputPgsqlCtx_ OutputPgsqlCtx |
bool JsonPgsqlAddMetadata | ( | void * | vtx, |
JsonBuilder * | jb | ||
) |
Definition at line 62 of file output-json-pgsql.c.
References PGSQL_DEFAULTS.
void JsonPgsqlLogRegister | ( | void | ) |
Definition at line 184 of file output-json-pgsql.c.
References ConfGetNode(), LOGGER_JSON_TX, OutputRegisterTxSubModule(), and SCLogDebug.