From: Tom DeCanio Date: Tue, 1 Sep 2015 23:09:26 +0000 (-0700) Subject: Add JSON support for X-Authenticated-User. Supported as a custom field. X-Git-Tag: suricata-3.0.1RC1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ccf6f30ea014c296028ea7c5e858453236f946e;p=thirdparty%2Fsuricata.git Add JSON support for X-Authenticated-User. Supported as a custom field. --- diff --git a/src/output-json-http.c b/src/output-json-http.c index 7e17b4dd60..8c9ae9dd96 100644 --- a/src/output-json-http.c +++ b/src/output-json-http.c @@ -91,6 +91,7 @@ typedef enum { HTTP_FIELD_X_REQUESTED_WITH, HTTP_FIELD_DNT, HTTP_FIELD_X_FORWARDED_PROTO, + HTTP_FIELD_X_AUTHENTICATED_USER, HTTP_FIELD_ACCEPT_RANGES, HTTP_FIELD_AGE, HTTP_FIELD_ALLOW, @@ -146,6 +147,7 @@ struct { { "x_requested_with", "x-requested-with", LOG_HTTP_REQUEST }, { "dnt", "dnt", LOG_HTTP_REQUEST }, { "x_forwarded_proto", "x-forwarded-proto", LOG_HTTP_REQUEST }, + { "x_authenticated_user", "x-authenticated-user", LOG_HTTP_REQUEST }, { "accept_range", "accept-range", 0 }, { "age", "age", 0 }, { "allow", "allow", 0 },