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

View File

@ -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;
}