Improved warning icon display style in the overview

This commit is contained in:
VakarisZ 2021-03-02 09:05:25 +02:00
parent ac530b2555
commit 89907d133e
2 changed files with 11 additions and 5 deletions

View File

@ -419,8 +419,10 @@ class ReportPageComponent extends AuthComponent {
let zerologonOverview = []; let zerologonOverview = [];
if (this.state.report.overview.issues[this.Issue.ZEROLOGON_PASSWORD_RESTORE_FAILED]) { if (this.state.report.overview.issues[this.Issue.ZEROLOGON_PASSWORD_RESTORE_FAILED]) {
zerologonOverview.push(<span> zerologonOverview.push(
<WarningIcon/> Automatic password restoration on a domain controller failed! <span className={'zero-logon-overview-pass-restore-failed'}>
<WarningIcon/>
Automatic password restoration on a domain controller failed!
<Button variant={'link'} <Button variant={'link'}
href={'https://www.guardicore.com/infectionmonkey/docs/reference/exploiters/zerologon/'} href={'https://www.guardicore.com/infectionmonkey/docs/reference/exploiters/zerologon/'}
target={'_blank'} target={'_blank'}
@ -1013,7 +1015,7 @@ class ReportPageComponent extends AuthComponent {
className={'security-report-link'}> className={'security-report-link'}>
Microsoft's documentation. Microsoft's documentation.
</Button> </Button>
{!issue.password_restored ? {!issue.password_restored &&
<div className={'info-pane-warning'} key={'warning'}> <div className={'info-pane-warning'} key={'warning'}>
<br/><WarningIcon/> <br/><WarningIcon/>
<span> <span>
@ -1027,7 +1029,7 @@ class ReportPageComponent extends AuthComponent {
here here
</Button>. </Button>.
</span> </span>
</div> : null} </div>}
</CollapsibleWellComponent> </CollapsibleWellComponent>
</> </>
); );

View File

@ -94,3 +94,7 @@ span.cross-segment-service {
line-height: 1em; line-height: 1em;
top: -3px; top: -3px;
} }
.zero-logon-overview-pass-restore-failed svg {
margin: 0 10px 0 0;
}