2018-06-07 12:55:13 +00:00
|
|
|
<div flex layout="column" ng-cloak ng-controller="overviewController">
|
2016-09-16 12:35:56 +00:00
|
|
|
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- Top navbar section -->
|
2018-03-20 11:40:01 +00:00
|
|
|
<wz-menu ng-init="menuNavItem = 'overview'"></wz-menu>
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- End top navbar section -->
|
2016-09-16 12:35:56 +00:00
|
|
|
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- Navigation section (Breadcrumbs, Discover, etc) -->
|
2018-06-05 16:46:17 +00:00
|
|
|
<div layout="row" layout-align="start center">
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- Breadcrumbs -->
|
2018-06-04 12:13:59 +00:00
|
|
|
<div layout="row" layout-padding>
|
2018-06-05 16:46:17 +00:00
|
|
|
<!-- If you're not on the Welcome tab, show a functional breadcrumb -->
|
2018-06-06 09:03:23 +00:00
|
|
|
<div ng-if="tab !== 'welcome'">
|
|
|
|
<span class="wz-text-link cursor-pointer" ng-click="switchTab('welcome')">Overview</span>
|
2018-07-02 14:09:57 +00:00
|
|
|
<span> / </span>
|
|
|
|
<span>{{ tabNames[tab] }}</span>
|
2018-06-06 09:03:23 +00:00
|
|
|
</div>
|
2018-06-05 16:46:17 +00:00
|
|
|
<!-- If you're on the Welcome tab, show a blank, simple breadcrumb -->
|
2018-06-06 09:03:23 +00:00
|
|
|
<div ng-if="tab === 'welcome'">
|
2018-06-04 14:29:12 +00:00
|
|
|
<span>Overview / Welcome</span>
|
2018-06-06 09:03:23 +00:00
|
|
|
</div>
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
|
|
|
<!-- End breadcrumbs -->
|
|
|
|
|
2018-07-02 14:09:57 +00:00
|
|
|
<!-- Separator -->
|
|
|
|
<span flex></span>
|
|
|
|
<!-- End separator -->
|
|
|
|
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- Reporting button section -->
|
2018-06-05 16:46:17 +00:00
|
|
|
<div ng-show="tab !== 'welcome'">
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- Report button -->
|
2018-06-27 14:12:26 +00:00
|
|
|
<md-button md-no-ink class="md-icon-button small wz-no-margin-padding" tooltip="Generate report" tooltip-placement="bottom" ng-disabled="!rendered || loading || resultState !== 'ready'" ng-click="startVis2Png()" aria-label="Generate report button">
|
|
|
|
<i class="fa fa-fw fa-print" aria-hidden="true"></i>
|
2018-06-05 08:47:25 +00:00
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
<!-- End Reporting buttons section -->
|
|
|
|
|
|
|
|
<!-- Discover/Panels buttons section -->
|
2018-06-05 16:46:17 +00:00
|
|
|
<div ng-show="tab !== 'welcome'">
|
2018-06-04 14:29:12 +00:00
|
|
|
<!-- Panels button -->
|
2018-06-06 09:03:23 +00:00
|
|
|
<md-button ng-if="tabView === 'discover'" class="wz-button-flat small" ng-click="switchSubtab('panels')" aria-label="View panels button">
|
|
|
|
<i class="fa fa-fw fa-th" aria-hidden="true"></i> View panels
|
2018-06-04 10:57:01 +00:00
|
|
|
</md-button>
|
2018-06-04 14:29:12 +00:00
|
|
|
|
|
|
|
<!-- Discover button -->
|
2018-06-06 09:03:23 +00:00
|
|
|
<md-button ng-if="tabView === 'panels'" class="wz-button-flat small" ng-click="switchSubtab('discover')" aria-label="View Discover button">
|
|
|
|
<i class="fa fa-fw fa-compass" aria-hidden="true"></i> View Discover
|
2018-06-04 14:29:12 +00:00
|
|
|
</md-button>
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- End Discover/Panels buttons section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
|
|
|
<!-- End navigation section -->
|
|
|
|
|
2018-07-02 14:09:57 +00:00
|
|
|
<!-- Host monitoring navigation bar -->
|
|
|
|
<md-nav-bar
|
|
|
|
ng-if="inArray(tab, hostMonitoringTabs)"
|
|
|
|
class="wz-nav-bar"
|
|
|
|
ng-show="tab !== 'welcome'"
|
|
|
|
md-selected-nav-item="tab"
|
|
|
|
nav-bar-aria-label="Host monitoring navigation links">
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('general')" name="general">General</md-nav-item>
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('fim')" name="fim">File integrity</md-nav-item>
|
|
|
|
<md-nav-item ng-show="extensions.aws" class="wz-nav-item" md-nav-click="switchTab('aws')" name="aws">AWS</md-nav-item>
|
|
|
|
</md-nav-bar>
|
|
|
|
<!-- End Host monitoring navigation bar -->
|
|
|
|
|
|
|
|
<!-- System audit navigation bar -->
|
|
|
|
<md-nav-bar
|
|
|
|
ng-if="inArray(tab, systemAuditTabs) && (extensions.audit || extensions.oscap || extensions.ciscat)"
|
|
|
|
class="wz-nav-bar"
|
|
|
|
ng-show="tab !== 'welcome'"
|
|
|
|
md-selected-nav-item="tab"
|
|
|
|
nav-bar-aria-label="System audit navigation links">
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('pm')" name="pm">Policy monitoring</md-nav-item>
|
|
|
|
<md-nav-item ng-show="extensions.audit" class="wz-nav-item" md-nav-click="switchTab('audit')" name="audit">Audit</md-nav-item>
|
|
|
|
<md-nav-item ng-show="extensions.oscap" class="wz-nav-item" md-nav-click="switchTab('oscap')" name="oscap">Open SCAP</md-nav-item>
|
|
|
|
<md-nav-item ng-show="extensions.ciscat" class="wz-nav-item" md-nav-click="switchTab('ciscat')" name="ciscat">CIS-CAT</md-nav-item>
|
|
|
|
</md-nav-bar>
|
|
|
|
<!-- End System audit navigation bar -->
|
|
|
|
|
|
|
|
<!-- Security navigation bar -->
|
|
|
|
<md-nav-bar
|
|
|
|
ng-if="inArray(tab, securityTabs) && extensions.virustotal"
|
|
|
|
class="wz-nav-bar"
|
|
|
|
ng-show="tab !== 'welcome'"
|
|
|
|
md-selected-nav-item="tab"
|
|
|
|
nav-bar-aria-label="Security navigation links">
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('vuls')" name="vuls">Vulnerabilities</md-nav-item>
|
|
|
|
<md-nav-item ng-show="extensions.virustotal" class="wz-nav-item" md-nav-click="switchTab('virustotal')" name="virustotal">VirusTotal</md-nav-item>
|
|
|
|
</md-nav-bar>
|
|
|
|
<!-- End Security navigation bar -->
|
|
|
|
|
|
|
|
<!-- Compliance navigation bar -->
|
|
|
|
<md-nav-bar
|
|
|
|
ng-if="inArray(tab, complianceTabs) && extensions.pci && extensions.gdpr"
|
|
|
|
class="wz-nav-bar"
|
|
|
|
ng-show="tab !== 'welcome'"
|
|
|
|
md-selected-nav-item="tab"
|
|
|
|
nav-bar-aria-label="Compliance navigation links">
|
|
|
|
<md-nav-item ng-show="extensions.pci" class="wz-nav-item" md-nav-click="switchTab('pci')" name="pci">PCI DSS</md-nav-item>
|
|
|
|
<md-nav-item ng-show="extensions.gdpr" class="wz-nav-item" md-nav-click="switchTab('gdpr')" name="gdpr">GDPR</md-nav-item>
|
|
|
|
</md-nav-bar>
|
|
|
|
<!-- End Compliance navigation bar -->
|
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- Discover search bar section -->
|
|
|
|
<kbn-dis ng-show="tab !== 'welcome'"></kbn-dis>
|
|
|
|
<!-- End Discover search bar section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- Loading status section -->
|
2018-06-20 13:18:22 +00:00
|
|
|
<div layout="column" layout-align="center center" ng-if="tab !== 'welcome'" ng-show="resultState === 'ready' && tabView === 'panels' && !rendered">
|
2018-06-05 13:18:43 +00:00
|
|
|
<div class="percentage"><i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i></div>
|
|
|
|
<div class="percentage">{{loadingStatus}}</div>
|
|
|
|
</div>
|
|
|
|
<!-- End loading status section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- Report status section -->
|
2018-06-20 13:18:22 +00:00
|
|
|
<div layout="column" layout-align="center center" ng-if="tab !== 'welcome'" ng-show="reportBusy && reportStatus">
|
2018-06-05 13:18:43 +00:00
|
|
|
<div class="percentage"><i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i></div>
|
|
|
|
<div class="percentage">{{reportStatus}}</div>
|
|
|
|
</div>
|
|
|
|
<!-- End report status section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- No results section -->
|
2018-06-14 16:32:12 +00:00
|
|
|
<div layout="row" ng-if="tab !== 'welcome'" ng-show="resultState === 'none' && tabView === 'panels'">
|
2018-06-05 13:18:43 +00:00
|
|
|
<md-card flex layout="column" class="wz-md-card">
|
|
|
|
<md-card-content class="wz-text-center">
|
|
|
|
<span>There are no results for selected time range. Try another one.</span>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- No results section -->
|