diff --git a/app/frontend/src/assets/custom.css b/app/frontend/src/assets/custom.css index f8d69e7..cecae09 100644 --- a/app/frontend/src/assets/custom.css +++ b/app/frontend/src/assets/custom.css @@ -128,8 +128,8 @@ } .report-wrapper { - width:90%; margin:auto; + padding-bottom:1px; } .device-ctx { @@ -212,10 +212,11 @@ .report-wrapper { width:60%; margin:auto; + padding-bottom: 1px; } .device-ctx { - padding:15px; + padding:15px 0px 15px 0px; margin:auto; } @@ -303,6 +304,17 @@ footer { padding-left:40px; } + +.device-ctx-legend { + font-size: 14px; + color: #a6a6a6; + margin-top: 10px; + padding-top: 10px; + background-color: #fbfbfb; + padding: 10px; + border-radius: 5px; +} + .group-title { text-transform: uppercase; color : #999; diff --git a/app/frontend/src/locales/cat.json b/app/frontend/src/locales/cat.json index 07d182c..9ae4f62 100644 --- a/app/frontend/src/locales/cat.json +++ b/app/frontend/src/locales/cat.json @@ -50,8 +50,11 @@ "low_msg": "Només teniu {nb} alertes baixes,
Si us plau comproveu-les.", "save_report": "Desa l'informe", "report_of": "Informe de", - "ip_address": "Adreça IP", - "mac_address": "Adreça MAC", + "ip_address": "Adreça IP:", + "mac_address": "Adreça MAC:", + "pcap_sha1": "SHA1:", + "capture_started": "La captura va començar a:", + "capture_ended": "La captura va acabar el:", "high": "alt", "moderat": "moderat", "low": "baix" diff --git a/app/frontend/src/locales/de.json b/app/frontend/src/locales/de.json index c417f98..e7ee660 100644 --- a/app/frontend/src/locales/de.json +++ b/app/frontend/src/locales/de.json @@ -50,8 +50,11 @@ "low_msg": "Sie haben nur {nb} Warnungen der Stufe \"Niedrig\":
Überprüfen Sie sie gerne.", "save_report": "Bericht speichern", "report_of": "Bericht zu", - "ip_address": "IP-Adresse", - "mac_address": "MAC-Adresse", + "ip_address": "IP-Adresse:", + "mac_address": "MAC-Adresse:", + "pcap_sha1": "SHA1:", + "capture_started": "Capture begann mit:", + "capture_ended": "Capture endete an:", "high": "Hoch", "moderate": "Mittel", "low": "Niedrig" @@ -86,4 +89,4 @@ "update_finished": "Update abgeschlossen, Sie werden weitergeleitet ...", "update_it": "Aktualisieren Sie TinyCheck" } -} +} \ No newline at end of file diff --git a/app/frontend/src/locales/en.json b/app/frontend/src/locales/en.json index b418328..ac035aa 100644 --- a/app/frontend/src/locales/en.json +++ b/app/frontend/src/locales/en.json @@ -50,8 +50,11 @@ "low_msg": "You have only {nb} low alerts,
don't hesitate to check them.", "save_report": "Save the report", "report_of": "Report of", - "ip_address": "IP address", - "mac_address": "MAC address", + "ip_address": "IP address:", + "mac_address": "MAC address:", + "pcap_sha1": "SHA1:", + "capture_started": "Capture started on:", + "capture_ended": "Capture ended on:", "high": "high", "moderate": "moderate", "low": "low" diff --git a/app/frontend/src/locales/es.json b/app/frontend/src/locales/es.json index 8ef5221..a6c9e47 100644 --- a/app/frontend/src/locales/es.json +++ b/app/frontend/src/locales/es.json @@ -50,8 +50,11 @@ "low_msg": "Solo tiene {nb} alertas bajas,
por favor revíselas", "save_report": "Guardar el informe", "report_of": "Informe de", - "ip_address": "dirección IP", - "mac_address": "dirección MAC", + "ip_address": "Dirección IP:", + "mac_address": "Dirección MAC:", + "pcap_sha1": "SHA1:", + "capture_started": "Captura comenzó a:", + "capture_ended": "Captura terminó a:", "high": "alta", "moderate": "moderada", "low": "bajo" @@ -86,4 +89,4 @@ "update_finished": "Actualización finalizada, actualizando la interfaz...", "update_it": "Actualizar ahora" } -} +} \ No newline at end of file diff --git a/app/frontend/src/locales/fr.json b/app/frontend/src/locales/fr.json index b3326df..5880f91 100644 --- a/app/frontend/src/locales/fr.json +++ b/app/frontend/src/locales/fr.json @@ -52,6 +52,9 @@ "report_of": "Rapport de", "ip_address": "Adresse IP :", "mac_address": "Adresse MAC :", + "pcap_sha1": "SHA1 :", + "capture_started": "Capture débutée le :", + "capture_ended": "Capture finie le :", "high": "elevee", "moderate": "moyenne", "low": "basse" diff --git a/app/frontend/src/locales/it.json b/app/frontend/src/locales/it.json index 8834f8a..f2cb92c 100644 --- a/app/frontend/src/locales/it.json +++ b/app/frontend/src/locales/it.json @@ -50,8 +50,11 @@ "low_msg": "Sono presenti solo {nb} avvisi con priorità bassa
da controllare.", "save_report": "Salva il rapporto", "report_of": "Rapporto di", - "ip_address": "Indirizzo IP", - "mac_address": "Indirizzo MAC", + "ip_address": "Indirizzo IP:", + "mac_address": "Indirizzo MAC:", + "pcap_sha1": "SHA1:", + "capture_started": "Cattura è iniziata su:", + "capture_ended": "Cattura terminata su:", "high": "elevata", "moderate": "moderata", "low": "bassa" @@ -86,4 +89,4 @@ "update_finished": "Aggiornamento completato, verrai reindirizzato ...", "update_it": "Aggiorna TinyCheck" } -} +} \ No newline at end of file diff --git a/app/frontend/src/locales/pt.json b/app/frontend/src/locales/pt.json index 357486e..a031a4b 100644 --- a/app/frontend/src/locales/pt.json +++ b/app/frontend/src/locales/pt.json @@ -50,8 +50,11 @@ "low_msg": "Você tem apenas {nb} alertas leves,
não deixe de verificá-los.", "save_report": "Salvar o relatório", "report_of": "Relatório de", - "ip_address": "Endereço IP", - "mac_address": "Endereço MAC", + "ip_address": "Endereço IP:", + "mac_address": "Endereço MAC:", + "pcap_sha1": "SHA1:", + "capture_started": "Captura iniciada em:", + "capture_ended": "Captura terminou em:", "high": "crítico", "moderate": "moderado", "low": "leve" @@ -86,4 +89,4 @@ "update_finished": "Atualização concluída, você será redirecionado ...", "update_it": "Atualizar TinyCheck" } -} +} \ No newline at end of file diff --git a/app/frontend/src/locales/ru.json b/app/frontend/src/locales/ru.json index 0444bd9..c774c38 100644 --- a/app/frontend/src/locales/ru.json +++ b/app/frontend/src/locales/ru.json @@ -50,8 +50,11 @@ "low_msg": "У вас {nb} предупреждение низкого уровня
, проверьте их.", "save_report": "Сохранить отчет", "report_of": "Отчет", - "ip_address": "IP-адрес", - "mac_address": "MAC-адрес", + "ip_address": "IP-адрес:", + "mac_address": "MAC-адрес:", + "pcap_sha1": " SHA1:", + "capture_started": "Захват начался:", + "capture_ended": "захват закончился:", "high": "высокий", "moderate": "средний", "low": "низкий" @@ -86,4 +89,4 @@ "update_finished": "Обновление завершено, вы будете перенаправлены...", "update_it": "Обновить TinyCheck" } -} +} \ No newline at end of file diff --git a/app/frontend/src/views/analysis.vue b/app/frontend/src/views/analysis.vue index a78ba42..b1c8c65 100644 --- a/app/frontend/src/views/analysis.vue +++ b/app/frontend/src/views/analysis.vue @@ -54,7 +54,8 @@ export default { this.running = false; router.replace({ name: 'report', params: { alerts : response.data.alerts, - device : response.data.device, + device : response.data.device, + pcap : response.data.pcap, capture_token : this.capture_token } }); } }) diff --git a/app/frontend/src/views/report.vue b/app/frontend/src/views/report.vue index 7ebef01..03744a4 100644 --- a/app/frontend/src/views/report.vue +++ b/app/frontend/src/views/report.vue @@ -46,8 +46,14 @@
-

{{ $t("report.report_of") }} {{device.name}}

- {{ $t("report.ip_address") }} {{device.ip_address}}
{{ $t("report.mac_address") }} {{device.mac_address}} +

{{ $t("report.report_of") }} {{device.name}}

+
+ {{ $t("report.pcap_sha1") }} {{ pcap.SHA1 }}
+ {{ $t("report.capture_started") }} {{ pcap["First packet time"].split(",")[0] }}
+ {{ $t("report.capture_ended") }} {{ pcap["Last packet time"].split(",")[0] }}
+ + {{ $t("report.mac_address") }} {{device.mac_address}} +