diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js index 54766a48d..d46f49d5a 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ReportPage.js @@ -146,7 +146,7 @@ class ReportPageComponent extends AuthComponent { content = ; } return ( - +

4. Security Reports

{this.renderNav()} diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js index 71707d70b..30c7defe8 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js @@ -3,7 +3,7 @@ import {Col, Button} from 'react-bootstrap'; import '../../styles/Collapse.scss'; import '../../styles/report/AttackReport.scss'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faCircle } from '@fortawesome/free-solid-svg-icons'; +import {faCircle, faEye, faEyeSlash, faRadiation} from '@fortawesome/free-solid-svg-icons'; import ReportHeader, {ReportTypes} from './common/ReportHeader'; import {ScanStatus} from '../attack/techniques/Helpers'; @@ -65,6 +65,17 @@ class AttackReport extends React.Component { } } + static getStatusIcon(tech_id, techniques){ + switch (techniques[tech_id].status){ + case ScanStatus.SCANNED: + return ; + case ScanStatus.USED: + return ; + default: + return ; + } + } + renderLegend() { return (