diff --git a/backend/internal/openappsec-log.js b/backend/internal/openappsec-log.js index 6a9486db..dfa770a5 100755 --- a/backend/internal/openappsec-log.js +++ b/backend/internal/openappsec-log.js @@ -63,6 +63,7 @@ const internalOpenappsecLog = { waapIncidentType: json.eventData.waapIncidentType, httpSourceId: json.eventData.httpSourceId, sourceIP: json.eventData.sourceIP, + proxyIP: json.eventData.proxyIP, httpHostName: json.eventData.httpHostName, httpMethod: json.eventData.httpMethod, httpUriPath: json.eventData.httpUriPath, diff --git a/backend/templates/local-policy-open-appsec-enabled-for-proxy-host.yaml b/backend/templates/local-policy-open-appsec-enabled-for-proxy-host.yaml index f4e1ef19..6b560b3f 100755 --- a/backend/templates/local-policy-open-appsec-enabled-for-proxy-host.yaml +++ b/backend/templates/local-policy-open-appsec-enabled-for-proxy-host.yaml @@ -80,6 +80,7 @@ log-triggers: enabled: true minimum-severity: high response-body: false + response-code: true appsec-logging: all-web-requests: false detect-events: true @@ -87,8 +88,8 @@ log-triggers: extended-logging: http-headers: false request-body: false - url-path: false - url-query: false + url-path: true + url-query: true log-destination: cloud: false stdout: diff --git a/frontend/js/app/openappsec-log/list-all/item.ejs b/frontend/js/app/openappsec-log/list-all/item.ejs index c4c09685..27f057d9 100644 --- a/frontend/js/app/openappsec-log/list-all/item.ejs +++ b/frontend/js/app/openappsec-log/list-all/item.ejs @@ -6,12 +6,11 @@ <%= createSpecificTableCell(waapIncidentType) %> <%= createSpecificTableCell(httpSourceId) %> <%= createSpecificTableCell(sourceIP) %> -<%= createSpecificTableCell(proxyIp) %> +<%= createSpecificTableCell(proxyIP) %> <%= createSpecificTableCell(httpHostName) %> <%= createSpecificTableCell(httpMethod) %> <%= createSpecificTableCell(httpResponseCode) %> <%= createSpecificTableCell(httpUriPath) %> -<%= createSpecificTableCell(eventTopic) %> <%= createSpecificTableCell(matchedLocation) %> <%= createSpecificTableCell(matchedParameter) %> <%= createSpecificTableCell(matchedSample) %> diff --git a/frontend/js/app/openappsec-log/list-all/main.ejs b/frontend/js/app/openappsec-log/list-all/main.ejs index e2fd8fa9..3357f286 100644 --- a/frontend/js/app/openappsec-log/list-all/main.ejs +++ b/frontend/js/app/openappsec-log/list-all/main.ejs @@ -1,4 +1,4 @@ - +   Time Event Severity @@ -12,7 +12,6 @@ HTTP Method HTTP Response Code HTTP URI Path - Event Topic Matched Location Matched Parameter Matched Sample diff --git a/frontend/js/app/openappsec-log/list-important/item.ejs b/frontend/js/app/openappsec-log/list-important/item.ejs index 266b9597..a311a62c 100644 --- a/frontend/js/app/openappsec-log/list-important/item.ejs +++ b/frontend/js/app/openappsec-log/list-important/item.ejs @@ -6,12 +6,11 @@ <%= createSpecificTableCell(waapIncidentType) %> <%= createSpecificTableCell(httpSourceId) %> <%= createSpecificTableCell(sourceIP) %> -<%= createSpecificTableCell(proxyIp) %> +<%= createSpecificTableCell(proxyIP) %> <%= createSpecificTableCell(httpHostName) %> <%= createSpecificTableCell(httpMethod) %> <%= createSpecificTableCell(httpResponseCode) %> <%= createSpecificTableCell(httpUriPath) %> -<%= createSpecificTableCell(eventTopic) %> <%= createSpecificTableCell(matchedLocation) %> <%= createSpecificTableCell(matchedParameter) %> <%= createSpecificTableCell(matchedSample) %> \ No newline at end of file diff --git a/frontend/js/app/openappsec-log/list-important/main.ejs b/frontend/js/app/openappsec-log/list-important/main.ejs index e2fd8fa9..3357f286 100644 --- a/frontend/js/app/openappsec-log/list-important/main.ejs +++ b/frontend/js/app/openappsec-log/list-important/main.ejs @@ -1,4 +1,4 @@ - +   Time Event Severity @@ -12,7 +12,6 @@ HTTP Method HTTP Response Code HTTP URI Path - Event Topic Matched Location Matched Parameter Matched Sample diff --git a/frontend/js/app/openappsec-log/list-notifications/main.ejs b/frontend/js/app/openappsec-log/list-notifications/main.ejs index 30b06c70..73c69806 100644 --- a/frontend/js/app/openappsec-log/list-notifications/main.ejs +++ b/frontend/js/app/openappsec-log/list-notifications/main.ejs @@ -1,4 +1,4 @@ - +   Time Event Severity diff --git a/frontend/js/app/openappsec-log/main.ejs b/frontend/js/app/openappsec-log/main.ejs index 4beee89c..0b486f17 100755 --- a/frontend/js/app/openappsec-log/main.ejs +++ b/frontend/js/app/openappsec-log/main.ejs @@ -30,7 +30,7 @@
-
+
diff --git a/frontend/js/app/ui/main.ejs b/frontend/js/app/ui/main.ejs index b62c3acd..7a7cd046 100644 --- a/frontend/js/app/ui/main.ejs +++ b/frontend/js/app/ui/main.ejs @@ -8,7 +8,7 @@
-
+
diff --git a/frontend/js/models/openappsec-log.js b/frontend/js/models/openappsec-log.js index 9ee4c05c..2388f92b 100755 --- a/frontend/js/models/openappsec-log.js +++ b/frontend/js/models/openappsec-log.js @@ -13,7 +13,7 @@ const model = Backbone.Model.extend({ httpSourceId: '', sourceIP: '', // 'Proxy-IP': '', - proxyIp: '', + proxyIP: '', httpHostName: '', httpMethod: '', // 'HTTP-Response-Code': '',