mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 18:28:55 +00:00
Replaced some actions with the new design
This commit is contained in:
parent
a4b4c5ea2d
commit
d1db02fe01
@ -43,8 +43,7 @@
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding"
|
||||
ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<div layout="row" class="layout-padding" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content class="wz-text-center"
|
||||
ng-if="!syscollector.netiface || !syscollector.netiface.items || !syscollector.netiface.items.length">
|
||||
@ -97,13 +96,11 @@
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content class="wz-text-center"
|
||||
ng-if="syscollector.ports && !syscollector.ports.items.length">
|
||||
<md-card-content class="wz-text-center" ng-if="syscollector.ports && !syscollector.ports.items.length">
|
||||
<i class="fa fa-fw fa-info-circle" aria-hidden="true"></i> <span class="wz-headline-title">No ports
|
||||
scan available</span>
|
||||
</md-card-content>
|
||||
<md-card-content
|
||||
ng-if="syscollector.ports && syscollector.ports.items.length">
|
||||
<md-card-content ng-if="syscollector.ports && syscollector.ports.items.length">
|
||||
<span class="wz-headline-title"><i class="fa fa-fw fa-exchange"></i> Network ports</span>
|
||||
<span class="color-grey pull-right">Last scan: {{syscollector.ports.items[0].scan.time}}</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
@ -119,8 +116,7 @@
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding"
|
||||
ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<div layout="row" class="layout-padding" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content class="wz-text-center"
|
||||
ng-if="!syscollector.netaddr || !syscollector.netaddr.items || !syscollector.netaddr.items.length">
|
||||
@ -137,8 +133,7 @@
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding"
|
||||
ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<div layout="row" class="layout-padding" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content>
|
||||
<span class="wz-headline-title"><i class="fa fa-fw fa-cubes"></i> Packages</span>
|
||||
@ -154,8 +149,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div layout="row" ng-if="agent && syscollector && !load"
|
||||
class="wz-margin-top-10">
|
||||
<div layout="row" ng-if="agent && syscollector && !load" class="wz-margin-top-10">
|
||||
<wz-table flex ng-if="agent && agent.os && agent.os.platform !== 'windows'"
|
||||
path="'/syscollector/' + agent.id + '/packages'" row-sizes="[10,8,6]" extra-limit="100"
|
||||
keys="[{value:'name',size:2},'architecture','version',{value:'vendor',size:2},{value:'description',size:3}]" />
|
||||
@ -163,11 +157,22 @@
|
||||
path="'/syscollector/' + agent.id + '/packages'" row-sizes="[10,8,6]" extra-limit="100"
|
||||
keys="[{value:'name',size:3},'architecture','version',{value:'vendor',size:2}]" />
|
||||
</div>
|
||||
<div layout="row" layout-align="end center">
|
||||
<button type="button" ng-click="downloadCsv('/syscollector/'+agent.id+'/packages', 'packages.csv')"
|
||||
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small">
|
||||
<span class="euiButtonEmpty__content">
|
||||
<svg class="euiIcon euiIcon--medium euiButtonEmpty__icon" focusable="false"
|
||||
aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
||||
viewBox="0 0 16 16">
|
||||
<path
|
||||
d="M9 10.114l1.85-1.943a.52.52 0 0 1 .77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 0 1-2.31 0L5.41 9a.617.617 0 0 1 0-.829.52.52 0 0 1 .77 0L8 10.082V1.556C8 1.249 8.224 1 8.5 1s.5.249.5.556v8.558zM4.18 6a.993.993 0 0 0-.972.804l-1.189 6A.995.995 0 0 0 2.991 14h11.018a1 1 0 0 0 .972-1.196l-1.19-6a.993.993 0 0 0-.97-.804H4.18zM6 5v1h5V5h1.825c.946 0 1.76.673 1.946 1.608l1.19 6A2 2 0 0 1 14.016 15H2.984a1.992 1.992 0 0 1-1.945-2.392l1.19-6C2.414 5.673 3.229 5 4.174 5H6z">
|
||||
</path>
|
||||
</svg>
|
||||
<span class="euiButtonEmpty__text">Formatted</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</md-card-content>
|
||||
<md-card-actions layout="row" layout-align="end center" class="wz-card-actions layout-align-end-center layout-row" style="margin: 12px -10px -8px -8px!important;max-width: unset;">
|
||||
<a class="wz-text-link cursor-pointer small md-button md-ink-ripple" id="btnDownload" ng-click="downloadCsv('/syscollector/'+agent.id+'/packages', 'packages.csv')">Formatted
|
||||
<i aria-hidden="true" class="fa fa-download"></i></a>
|
||||
</md-card-actions>
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
@ -187,8 +192,7 @@
|
||||
<span class="fa fa-search" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div layout="row" ng-if="agent && syscollector && !load"
|
||||
class="wz-margin-top-10">
|
||||
<div layout="row" ng-if="agent && syscollector && !load" class="wz-margin-top-10">
|
||||
<wz-table flex ng-if="agent && agent.os && agent.os.platform === 'windows'"
|
||||
path="'/syscollector/' + agent.id + '/processes'" row-sizes="[10,8,6]" extra-limit="100"
|
||||
keys="['name','cmd','priority','nlwp']" />
|
||||
@ -196,11 +200,23 @@
|
||||
path="'/syscollector/' + agent.id + '/processes'" row-sizes="[10,8,6]" extra-limit="100"
|
||||
keys="['name','euser','nice','state']" />
|
||||
</div>
|
||||
<div layout="row" layout-align="end center">
|
||||
<button type="button"
|
||||
ng-click="downloadCsv('/syscollector/'+agent.id+'/processes', 'processes.csv')"
|
||||
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small">
|
||||
<span class="euiButtonEmpty__content">
|
||||
<svg class="euiIcon euiIcon--medium euiButtonEmpty__icon" focusable="false"
|
||||
aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16"
|
||||
viewBox="0 0 16 16">
|
||||
<path
|
||||
d="M9 10.114l1.85-1.943a.52.52 0 0 1 .77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 0 1-2.31 0L5.41 9a.617.617 0 0 1 0-.829.52.52 0 0 1 .77 0L8 10.082V1.556C8 1.249 8.224 1 8.5 1s.5.249.5.556v8.558zM4.18 6a.993.993 0 0 0-.972.804l-1.189 6A.995.995 0 0 0 2.991 14h11.018a1 1 0 0 0 .972-1.196l-1.19-6a.993.993 0 0 0-.97-.804H4.18zM6 5v1h5V5h1.825c.946 0 1.76.673 1.946 1.608l1.19 6A2 2 0 0 1 14.016 15H2.984a1.992 1.992 0 0 1-1.945-2.392l1.19-6C2.414 5.673 3.229 5 4.174 5H6z">
|
||||
</path>
|
||||
</svg>
|
||||
<span class="euiButtonEmpty__text">Formatted</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</md-card-content>
|
||||
<md-card-actions layout="row" layout-align="end center" class="wz-card-actions layout-align-end-center layout-row" style="margin: 12px -10px -8px -8px!important;max-width: unset;">
|
||||
<a class="wz-text-link cursor-pointer small md-button md-ink-ripple" id="btnDownload" ng-click="downloadCsv('/syscollector/'+agent.id+'/processes', 'processes.csv')">Formatted
|
||||
<i aria-hidden="true" class="fa fa-download"></i></a>
|
||||
</md-card-actions>
|
||||
</md-card>
|
||||
</div>
|
||||
</md-content>
|
@ -7,7 +7,8 @@
|
||||
not fetch data for this agent. <span ng-if="emptyAgent">Reason: {{emptyAgent}}</span></span>
|
||||
</div>
|
||||
<div layout="row" layout-padding ng-if="emptyAgent">
|
||||
<span class="wz-text-link" ng-click="getAgent()"><i class="fa fa-fw fa-refresh" aria-hidden="true"></i>
|
||||
<span class="wz-text-link" ng-click="getAgent()"><i class="fa fa-fw fa-refresh"
|
||||
aria-hidden="true"></i>
|
||||
Try again</span>
|
||||
</div>
|
||||
</md-card-content>
|
||||
@ -21,22 +22,26 @@
|
||||
<span class="font-size-18 wz-line-height-40"><i class="fa fa-fw fa-tv" aria-hidden="true"></i> {{ agent.name ||
|
||||
'-' }}</span>
|
||||
<span flex></span>
|
||||
<md-button class="wz-button wz-no-margin height-35" ng-click="goDiscover()"><i class="fa fa-compass"></i>
|
||||
<button class="kuiButton kuiButton--secondary small wz-no-margin height-35" ng-click="goDiscover()"><i
|
||||
class="fa fa-compass"></i>
|
||||
Discover
|
||||
</md-button>
|
||||
<md-button ng-show="!showConfirmRestartAgent" ng-disabled="restartingAgent" class="wz-button wz-no-margin height-35"
|
||||
ng-disabled="isRestarting" ng-click="showConfirmRestartAgent = true"><i class="fa fa-refresh" ng-class="restartingAgent ? 'fa-spin fa-spinner' : ''"></i>
|
||||
</button>
|
||||
<button ng-show="!showConfirmRestartAgent" ng-disabled="restartingAgent"
|
||||
class="kuiButton kuiButton--secondary small wz-no-margin height-35" ng-disabled="isRestarting"
|
||||
ng-click="showConfirmRestartAgent = true"><i class="fa fa-refresh"
|
||||
ng-class="restartingAgent ? 'fa-spin fa-spinner' : ''"></i>
|
||||
Restart agent
|
||||
</md-button>
|
||||
</button>
|
||||
<div ng-show="showConfirmRestartAgent" class="confirmEmbedBubble confirmEmbedBubbleInline">
|
||||
<div layout="row no-wrap">
|
||||
<span class="wz-padding-top-10 wz-padding-left-8">The agent will be restarted</span>
|
||||
</div>
|
||||
<div layout="row">
|
||||
<md-button class="cancelBtn btn-info" ng-click="showConfirmRestartAgent = false">Cancel</md-button>
|
||||
<md-button class="wz-button" ng-click="restartAgent(agent);showConfirmRestartAgent = false"><i
|
||||
aria-hidden='true' class='fa fa-fw fa-check'></i>
|
||||
Confirm</md-button>
|
||||
<button class="kuiButton kuiButton--secondary"
|
||||
ng-click="restartAgent(agent);showConfirmRestartAgent = false"><i aria-hidden='true'
|
||||
class='fa fa-fw fa-check'></i>
|
||||
Confirm</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -44,7 +49,8 @@
|
||||
<div layout="row" layout-padding class="agents-headline">
|
||||
<md-card flex class="wz-md-card wz-padding-top-0 wz-padding-bottom-0">
|
||||
<md-card-content>
|
||||
<div class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--justifyContentSpaceBetween euiFlexGroup--directionRow euiFlexGroup--responsive">
|
||||
<div
|
||||
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--justifyContentSpaceBetween euiFlexGroup--directionRow euiFlexGroup--responsive">
|
||||
<div class="euiFlexItem euiFlexItem--flexGrowZero">
|
||||
<div class="euiStat euiStat--leftAligned">
|
||||
<div class="euiText euiText--small euiStat__description">
|
||||
@ -101,7 +107,8 @@
|
||||
<p class="euiTitle euiTitle--small euiStat__title" ng-if="agent.syscheck.inProgress">Scan
|
||||
in progress</p>
|
||||
<p class="euiTitle euiTitle--small euiStat__title" ng-if="!agent.syscheck.inProgress">{{agent.syscheck.end
|
||||
|| '-'}} <md-tooltip ng-if="!agent.syscheck.inProgress && agent.syscheck.start && agent.syscheck.end"
|
||||
|| '-'}} <md-tooltip
|
||||
ng-if="!agent.syscheck.inProgress && agent.syscheck.start && agent.syscheck.end"
|
||||
md-direction="bottom" class="wz-tooltip">
|
||||
Start time: {{ agent.syscheck.start || '-'}} <br>
|
||||
End time: {{ agent.syscheck.end || '-'}} <br>
|
||||
@ -119,7 +126,8 @@
|
||||
in progress</p>
|
||||
<p class="euiTitle euiTitle--small euiStat__title" ng-if="!agent.rootcheck.inProgress">{{agent.rootcheck.end
|
||||
|| '-'}}
|
||||
<md-tooltip ng-if="!agent.rootcheck.inProgress && agent.rootcheck.start && agent.rootcheck.end"
|
||||
<md-tooltip
|
||||
ng-if="!agent.rootcheck.inProgress && agent.rootcheck.start && agent.rootcheck.end"
|
||||
md-direction="bottom" class="wz-tooltip">
|
||||
Start time: {{ agent.rootcheck.start || '-'}} <br>
|
||||
End time: {{ agent.rootcheck.end || '-'}} <br>
|
||||
@ -137,8 +145,9 @@
|
||||
<md-card-content>
|
||||
|
||||
<div layout="row" ng-if="agent.group">
|
||||
<span class="font-size-16">Groups <i ng-if='adminMode' tooltip="Add group" ng-click="switchGroupEdit()"
|
||||
class="wz-text-bold wz-text-link-add fa fa-fw" ng-class="!addingGroupToAgent ? 'fa-plus-circle' : 'fa-minus-circle'"></i></span>
|
||||
<span class="font-size-16">Groups <i ng-if='adminMode' tooltip="Add group"
|
||||
ng-click="switchGroupEdit()" class="wz-text-bold wz-text-link-add fa fa-fw"
|
||||
ng-class="!addingGroupToAgent ? 'fa-plus-circle' : 'fa-minus-circle'"></i></span>
|
||||
</div>
|
||||
<md-divider ng-if="agent.group" class="wz-margin-top-10"></md-divider>
|
||||
<div layout="row" class="wz-margin-top-10" ng-if="agent.group && editGroup && !addingGroupToAgent">
|
||||
@ -146,12 +155,15 @@
|
||||
Available groups:
|
||||
</div>
|
||||
<div class="wz-word-break" flex ng-if="!groups || !groups.length">
|
||||
No more groups available. Create a new group at <a ng-href="#/manager//?_g=()&tab=groups">Configuration
|
||||
No more groups available. Create a new group at <a
|
||||
ng-href="#/manager//?_g=()&tab=groups">Configuration
|
||||
> Groups</a>.
|
||||
</div>
|
||||
</div>
|
||||
<div ng-if="agent.group && editGroup && !addingGroupToAgent && groups && groups.length" class="wz-margin-top-4">
|
||||
<span ng-repeat="group in groups" class="wz-text-bold wz-text-link" ng-click="showConfirmAddGroup(group)">{{
|
||||
<div ng-if="agent.group && editGroup && !addingGroupToAgent && groups && groups.length"
|
||||
class="wz-margin-top-4">
|
||||
<span ng-repeat="group in groups" class="wz-text-bold wz-text-link"
|
||||
ng-click="showConfirmAddGroup(group)">{{
|
||||
group }} </span>
|
||||
</div>
|
||||
|
||||
@ -162,12 +174,14 @@
|
||||
</div>
|
||||
<div layout="row">
|
||||
<md-button class="cancelBtn" type="button" ng-click="cancelAddGroup()">Cancel</md-button>
|
||||
<md-button class="agreeBtn wz-button" type="button" ng-click="confirmAddGroup(addingGroupToAgent)"><i
|
||||
aria-hidden='true' class='fa fa-fw fa-check'></i> Confirm</md-button>
|
||||
<md-button class="agreeBtn wz-button" type="button"
|
||||
ng-click="confirmAddGroup(addingGroupToAgent)"><i aria-hidden='true'
|
||||
class='fa fa-fw fa-check'></i> Confirm</md-button>
|
||||
</div>
|
||||
</div>
|
||||
<div layout="row" ng-if="agent.group" class="wz-word-break wz-padding-top-10">
|
||||
<span ng-repeat="group in agent.group" class="wz-text-bold wz-text-link" ng-click="goGroups(agent,$index)">{{
|
||||
<span ng-repeat="group in agent.group" class="wz-text-bold wz-text-link"
|
||||
ng-click="goGroups(agent,$index)">{{
|
||||
group
|
||||
}} </span>
|
||||
</div>
|
||||
@ -184,15 +198,19 @@
|
||||
<h3 class="euiTitle wzEuiTitle">Security Information Management</h3>
|
||||
<div class="euiSpacer euiSpacer--m"></div>
|
||||
<div class="euiFlexGrid euiFlexGrid--gutterLarge euiFlexGrid--halves">
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_dashboard.svg'" card-title="'Security events'"
|
||||
switch-tab="switchTab('general')" current-tab="'general'" description="TabDescription.general.description"></wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_logging.svg'" card-title="'Integrity monitoring'"
|
||||
switch-tab="switchTab('fim')" current-tab="'fim'" description="TabDescription.fim.description"></wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_devtools.svg'" card-title="'Configuration'"
|
||||
switch-tab="switchTab('configuration')" current-tab="'configuration'" description="TabDescription.configuration.description">
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_dashboard.svg'"
|
||||
card-title="'Security events'" switch-tab="switchTab('general')" current-tab="'general'"
|
||||
description="TabDescription.general.description"></wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_logging.svg'"
|
||||
card-title="'Integrity monitoring'" switch-tab="switchTab('fim')" current-tab="'fim'"
|
||||
description="TabDescription.fim.description"></wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_devtools.svg'"
|
||||
card-title="'Configuration'" switch-tab="switchTab('configuration')"
|
||||
current-tab="'configuration'" description="TabDescription.configuration.description">
|
||||
</wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_index_pattern.svg'" card-title="'Inventory data'"
|
||||
switch-tab="switchTab('syscollector')" current-tab="'syscollector'" description="TabDescription.syscollector.description">
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_index_pattern.svg'"
|
||||
card-title="'Inventory data'" switch-tab="switchTab('syscollector')"
|
||||
current-tab="'syscollector'" description="TabDescription.syscollector.description">
|
||||
</wz-welcome-card>
|
||||
</div>
|
||||
</div>
|
||||
@ -202,17 +220,22 @@
|
||||
<h3 class="euiTitle wzEuiTitle">Auditing and Policy Monitoring</h3>
|
||||
<div class="euiSpacer euiSpacer--m"></div>
|
||||
<div class="euiFlexGrid euiFlexGrid--gutterLarge euiFlexGrid--halves">
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_advanced_settings.svg'" card-title="'Policy monitoring'"
|
||||
switch-tab="switchTab('pm')" current-tab="'pm'" description="TabDescription.pm.description"></wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/sca.png'" card-title="'Configuration assessment'"
|
||||
switch-tab="switchTab('sca')" current-tab="'sca'" description="TabDescription['sca'].description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.audit && agent.isLinuxOS" class="euiFlexItem" logo="'icons/app_monitoring.svg'"
|
||||
card-title="'System auditing'" switch-tab="switchTab('audit')" current-tab="'audit'"
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_advanced_settings.svg'"
|
||||
card-title="'Policy monitoring'" switch-tab="switchTab('pm')" current-tab="'pm'"
|
||||
description="TabDescription.pm.description"></wz-welcome-card>
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/sca.png'"
|
||||
card-title="'Configuration assessment'" switch-tab="switchTab('sca')" current-tab="'sca'"
|
||||
description="TabDescription['sca'].description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.audit && agent.isLinuxOS" class="euiFlexItem"
|
||||
logo="'icons/app_monitoring.svg'" card-title="'System auditing'"
|
||||
switch-tab="switchTab('audit')" current-tab="'audit'"
|
||||
description="TabDescription.audit.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.oscap && agent.isLinuxOS" class="euiFlexItem" logo="'icons/app_discover.svg'"
|
||||
card-title="'OpenSCAP'" switch-tab="switchTab('oscap')" current-tab="'oscap'" description="TabDescription.oscap.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.oscap && agent.isLinuxOS" class="euiFlexItem"
|
||||
logo="'icons/app_discover.svg'" card-title="'OpenSCAP'" switch-tab="switchTab('oscap')"
|
||||
current-tab="'oscap'" description="TabDescription.oscap.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.ciscat" class="euiFlexItem" logo="'icons/app_management.svg'"
|
||||
card-title="'CIS-CAT'" switch-tab="switchTab('ciscat')" current-tab="'ciscat'" description="TabDescription.ciscat.description"></wz-welcome-card>
|
||||
card-title="'CIS-CAT'" switch-tab="switchTab('ciscat')" current-tab="'ciscat'"
|
||||
description="TabDescription.ciscat.description"></wz-welcome-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -227,10 +250,12 @@
|
||||
<h3 class="euiTitle wzEuiTitle">Threat Detection and Response</h3>
|
||||
<div class="euiSpacer euiSpacer--m"></div>
|
||||
<div class="euiFlexGrid euiFlexGrid--gutterLarge euiFlexGrid--halves">
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_security.svg'" card-title="'Vulnerabilities'"
|
||||
switch-tab="switchTab('vuls')" current-tab="'vuls'" description="TabDescription.vuls.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.virustotal" class="euiFlexItem" logo="'icons/app_saved_objects.svg'"
|
||||
card-title="'VirusTotal'" switch-tab="switchTab('virustotal')" current-tab="'virustotal'"
|
||||
<wz-welcome-card class="euiFlexItem" logo="'icons/app_security.svg'"
|
||||
card-title="'Vulnerabilities'" switch-tab="switchTab('vuls')" current-tab="'vuls'"
|
||||
description="TabDescription.vuls.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.virustotal" class="euiFlexItem"
|
||||
logo="'icons/app_saved_objects.svg'" card-title="'VirusTotal'"
|
||||
switch-tab="switchTab('virustotal')" current-tab="'virustotal'"
|
||||
description="TabDescription.virustotal.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.osquery" class="euiFlexItem" logo="'icons/osquery.svg'"
|
||||
card-title="'Osquery'" switch-tab="switchTab('osquery')" current-tab="'osquery'"
|
||||
@ -245,9 +270,11 @@
|
||||
<div class="euiSpacer euiSpacer--m"></div>
|
||||
<div class="euiFlexGrid euiFlexGrid--gutterLarge euiFlexGrid--halves">
|
||||
<wz-welcome-card ng-if="extensions.pci" class="euiFlexItem" logo="'icons/app_apm.svg'"
|
||||
card-title="'PCI DSS'" switch-tab="switchTab('pci')" current-tab="'pci'" description="TabDescription.pci.description"></wz-welcome-card>
|
||||
card-title="'PCI DSS'" switch-tab="switchTab('pci')" current-tab="'pci'"
|
||||
description="TabDescription.pci.description"></wz-welcome-card>
|
||||
<wz-welcome-card ng-if="extensions.gdpr" class="euiFlexItem" logo="'icons/app_visualize.svg'"
|
||||
card-title="'GDPR'" switch-tab="switchTab('gdpr')" current-tab="'gdpr'" description="TabDescription.gdpr.description"></wz-welcome-card>
|
||||
card-title="'GDPR'" switch-tab="switchTab('gdpr')" current-tab="'gdpr'"
|
||||
description="TabDescription.gdpr.description"></wz-welcome-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -61,28 +61,31 @@
|
||||
<!-- Reporting button section -->
|
||||
<div ng-show="tab !== 'welcome' && tab !== 'configuration' && tabView === 'panels'">
|
||||
<!-- Report button -->
|
||||
<md-button md-no-ink class="md-icon-button small wz-no-margin-padding" tooltip="Generate report"
|
||||
<button class="height-40 kuiButton kuiButton--secondary wz-margin-right-8 small" tooltip="Generate report"
|
||||
tooltip-placement="bottom"
|
||||
ng-class="{'euiButtonEmpty--disabled': (!rendered || loading || resultState !== 'ready' || showSyscheckFiles || showScaScan) && tab !== 'syscollector'}"
|
||||
ng-disabled="(!rendered || loading || resultState !== 'ready' || showSyscheckFiles || showScaScan) && tab !== 'syscollector'"
|
||||
ng-click="startVis2Png()" aria-label="Generate report button">
|
||||
<i class="fa fa-fw fa-print" aria-hidden="true"></i>
|
||||
</md-button>
|
||||
</button>
|
||||
</div>
|
||||
<!-- End Reporting buttons section -->
|
||||
|
||||
<!-- Discover/Dashboard buttons section -->
|
||||
<div ng-show="tab !== 'welcome' && tab !== 'configuration' && tab !== 'syscollector'">
|
||||
<!-- Dashboard button -->
|
||||
<md-button ng-if="tabView === 'discover'" class="wz-button-flat small" ng-click="switchSubtab('panels')"
|
||||
aria-label="Dashboard button">
|
||||
<button ng-if="tabView === 'discover'"
|
||||
class="height-40 kuiButton kuiButton--secondary small wz-margin-right-8"
|
||||
ng-click="switchSubtab('panels')" aria-label="Dashboard button">
|
||||
<i class="fa fa-fw fa-th" aria-hidden="true"></i> Dashboard
|
||||
</md-button>
|
||||
</button>
|
||||
|
||||
<!-- Discover button -->
|
||||
<md-button ng-if="tabView === 'panels' && !showSyscheckFiles && !showScaScan" class="wz-button-flat small"
|
||||
<button ng-if="tabView === 'panels' && !showSyscheckFiles && !showScaScan"
|
||||
class="height-40 kuiButton kuiButton--secondary small wz-margin-right-8"
|
||||
ng-click="switchSubtab('discover')" aria-label="Discover button">
|
||||
<i class="fa fa-fw fa-compass" aria-hidden="true"></i> Discover
|
||||
</md-button>
|
||||
</button>
|
||||
</div>
|
||||
<!-- End Discover/Dashboard buttons section -->
|
||||
|
||||
@ -190,13 +193,15 @@
|
||||
<div layout="row"
|
||||
ng-if="!showSyscheckFiles && !showScaScan && tab === 'fim' && resultState === 'none' && tabView === 'panels'">
|
||||
<span flex></span>
|
||||
<md-button ng-click="launchSyscheckScan()" class="discoverSectionSwitchBtn pull-right"><i class="fa fa-fw fa-play"></i> Run
|
||||
<md-button ng-click="launchSyscheckScan()" class="discoverSectionSwitchBtn pull-right"><i
|
||||
class="fa fa-fw fa-play"></i> Run
|
||||
scan</md-button>
|
||||
<span></span>
|
||||
<md-button ng-click="switchSyscheckFiles()" class="discoverSectionSwitchBtn pull-right"><i class="fa fa-fw fa-database"></i>
|
||||
<md-button ng-click="switchSyscheckFiles()" class="discoverSectionSwitchBtn pull-right"><i
|
||||
class="fa fa-fw fa-database"></i>
|
||||
Show files</md-button>
|
||||
</div>
|
||||
|
||||
|
||||
<div layout="row" class="wz-margin-top-10 wz-margin-right-8 wz-margin-left-8"
|
||||
ng-if="!showSyscheckFiles && !showScaScan && tab !== 'welcome' && tab !== 'configuration' && tab !== 'syscollector' && tab !== 'sca'"
|
||||
ng-show="resultState === 'none' && tabView === 'panels'">
|
||||
|
Loading…
Reference in New Issue
Block a user