From 89907d133ed8d664ab09118b3efd62c70810e6a6 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 2 Mar 2021 09:05:25 +0200 Subject: [PATCH] Improved warning icon display style in the overview --- .../components/report-components/SecurityReport.js | 12 +++++++----- .../cc/ui/src/styles/pages/report/ReportPage.scss | 4 ++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/SecurityReport.js b/monkey/monkey_island/cc/ui/src/components/report-components/SecurityReport.js index f96b98cdb..802d413df 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/SecurityReport.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/SecurityReport.js @@ -419,15 +419,17 @@ class ReportPageComponent extends AuthComponent { let zerologonOverview = []; if (this.state.report.overview.issues[this.Issue.ZEROLOGON_PASSWORD_RESTORE_FAILED]) { - zerologonOverview.push( - Automatic password restoration on a domain controller failed! + zerologonOverview.push( + + + Automatic password restoration on a domain controller failed! - ) + ) } if (this.state.report.overview.issues[this.Issue.ZEROLOGON]) { zerologonOverview.push(<> @@ -1013,7 +1015,7 @@ class ReportPageComponent extends AuthComponent { className={'security-report-link'}> Microsoft's documentation. - {!issue.password_restored ? + {!issue.password_restored &&

@@ -1027,7 +1029,7 @@ class ReportPageComponent extends AuthComponent { here . -
: null} + } ); diff --git a/monkey/monkey_island/cc/ui/src/styles/pages/report/ReportPage.scss b/monkey/monkey_island/cc/ui/src/styles/pages/report/ReportPage.scss index 2c56e941f..520e04e1d 100644 --- a/monkey/monkey_island/cc/ui/src/styles/pages/report/ReportPage.scss +++ b/monkey/monkey_island/cc/ui/src/styles/pages/report/ReportPage.scss @@ -94,3 +94,7 @@ span.cross-segment-service { line-height: 1em; top: -3px; } + +.zero-logon-overview-pass-restore-failed svg { + margin: 0 10px 0 0; +}