add client column and tooltip to blocked requests
This commit is contained in:
@@ -14,6 +14,9 @@ export const normalizeLogs = logs => logs.map((log) => {
|
||||
time,
|
||||
question,
|
||||
answer: response,
|
||||
reason,
|
||||
client,
|
||||
rule,
|
||||
} = log;
|
||||
const { host: domain, type } = question;
|
||||
const responsesArray = response ? response.map((response) => {
|
||||
@@ -25,6 +28,9 @@ export const normalizeLogs = logs => logs.map((log) => {
|
||||
domain,
|
||||
type,
|
||||
response: responsesArray,
|
||||
reason,
|
||||
client,
|
||||
rule,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user