From e49b7b85ccd62ed2d37c97972e560154d7d4b35d Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 1 Mar 2021 10:16:08 +0200 Subject: [PATCH] Improved formatting and link styles in SecurityReport.js --- .../report-components/SecurityReport.js | 187 ++++++++++++------ 1 file changed, 123 insertions(+), 64 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 873249f66..4f6274c6d 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 @@ -16,14 +16,13 @@ import PrintReportButton from './common/PrintReportButton'; import WarningIcon from '../ui-components/WarningIcon'; import {Button} from 'react-bootstrap'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faMinus } from '@fortawesome/free-solid-svg-icons/faMinus'; +import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; +import {faMinus} from '@fortawesome/free-solid-svg-icons/faMinus'; import guardicoreLogoImage from '../../images/guardicore-logo.png' import {faExclamationTriangle} from '@fortawesome/free-solid-svg-icons'; import '../../styles/App.css'; - class ReportPageComponent extends AuthComponent { Issue = @@ -84,7 +83,7 @@ class ReportPageComponent extends AuthComponent { componentDidUpdate(prevProps) { if (this.props.report !== prevProps.report) { - this.setState({ report: this.props.report }) + this.setState({report: this.props.report}) } } @@ -181,7 +180,7 @@ class ReportPageComponent extends AuthComponent { Usernames used for brute-forcing:

Passwords used for brute-forcing: @@ -258,54 +257,102 @@ class ReportPageComponent extends AuthComponent { return x === true; }).length} threats:

@@ -328,12 +375,15 @@ class ReportPageComponent extends AuthComponent { The Monkey uncovered the following possible set of issues: