mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 01:45:18 +00:00
Add new table for windows hotfixes (#1934)
This commit is contained in:
parent
32b7e80761
commit
7da6496ee4
@ -1,6 +1,7 @@
|
||||
<md-content layout="column" ng-if="tab === 'syscollector'" ng-show="!load" class="">
|
||||
<div ng-if="tab === 'syscollector'" ng-show="!load" class="euiPageBody">
|
||||
|
||||
<div layout="row" class="wz-margin-top-16 wz-margin-right-8 wz-margin-left-8" ng-if="agent && agent.status !== 'Active'">
|
||||
<div layout="row" class="wz-margin-top-16 wz-margin-right-8 wz-margin-left-8"
|
||||
ng-if="agent && agent.status !== 'Active'">
|
||||
<div flex class="euiCallOut euiCallOut--warning">
|
||||
<div class="euiCallOutHeader">
|
||||
<react-component name="EuiIcon" props="{type:'help',className:'euiCallOutHeader__title'}" />
|
||||
@ -57,9 +58,11 @@
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content>
|
||||
<div class="euiPage" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<div class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionRow euiFlexGroup--responsive">
|
||||
<div class="euiFlexItem">
|
||||
<div class="euiPanel euiPanel--paddingLarge">
|
||||
<div class="euiPageContentBody">
|
||||
<span class="wz-headline-title">
|
||||
<react-component name="EuiIcon" props="{type:'indexMapping'}" /> Network interfaces
|
||||
</span>
|
||||
@ -69,10 +72,12 @@
|
||||
<wz-table-eui flex path="'/syscollector/' + agent.id + '/netiface'" initial-sort-field="'name'"
|
||||
keys="['name','mac',{value:'state',isHealth: {success: 'up', danger: 'down'}},'mtu','type']">
|
||||
</wz-table-eui>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex class="wz-md-card" ng-if="agent && agent.os && agent.os.platform !== 'darwin'">
|
||||
<md-card-content>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="euiFlexItem">
|
||||
<div class="euiPanel euiPanel--paddingLarge" ng-if="agent && agent.os && agent.os.platform !== 'darwin'">
|
||||
<div class="euiPageContentBody">
|
||||
<span class=" wz-headline-title">
|
||||
<react-component name="EuiIcon" props="{type:'inputOutput'}" /> Network ports
|
||||
</span>
|
||||
@ -85,26 +90,46 @@
|
||||
path="'/syscollector/' + agent.id + '/ports'" initial-sort-field="'protocol'"
|
||||
keys="[{value:'local.ip', sortable:false},{value:'local.port', sortable:false},'state','protocol']">
|
||||
</wz-table-eui>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content>
|
||||
<div class="euiPage" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<div class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionRow euiFlexGroup--responsive">
|
||||
<div class="euiFlexItem euiFlexItem--flexGrow3">
|
||||
<div class="euiPanel euiPanel--paddingLarge">
|
||||
<div class="euiPageContentBody">
|
||||
<span class="wz-headline-title">
|
||||
<react-component name="EuiIcon" props="{type:'controlsHorizontal'}" /> Network settings</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<wz-table-eui flex path="'/syscollector/' + agent.id + '/netaddr'"
|
||||
keys="['iface', 'address', 'netmask', 'proto', 'broadcast']" initial-sort-field="'iface'">
|
||||
</wz-table-eui>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="euiFlexItem euiFlexItem--flexGrow1" ng-if="agent && agent.os && agent.os.platform === 'windows'">
|
||||
<div class="euiPanel euiPanel--paddingLarge">
|
||||
<div class="euiPageContentBody">
|
||||
<span class="wz-headline-title">
|
||||
<span class="wz-headline-title"><i class="fa fa-fw fa-windows"></i> Windows updates</span></span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<wz-table-eui style="overflow: hidden;" custom-columns="true"
|
||||
path="'/syscollector/' + agent.id + '/hotfixes'" keys="['hotfix']" initial-sort-field="'hotfix'">
|
||||
</wz-table-eui>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content>
|
||||
<div class="euiPage" ng-if="agent && agent.status === 'Active' && hasSize(syscollector)">
|
||||
<div class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionRow euiFlexGroup--responsive">
|
||||
<div class="euiFlexItem">
|
||||
<div class="euiPanel euiPanel--paddingLarge">
|
||||
<div class="euiPageContentBody">
|
||||
<span class="wz-headline-title">
|
||||
<react-component name="EuiIcon" props="{type:'apps'}" /> Packages
|
||||
</span>
|
||||
@ -148,14 +173,19 @@
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="layout-padding wz-padding-top-0"
|
||||
<div class="euiPage"
|
||||
ng-if="agent && agent.status === 'Active' && hasSize(syscollector) && agent.os && agent.os.platform !== 'darwin'">
|
||||
<md-card flex class="wz-md-card">
|
||||
<md-card-content>
|
||||
<div class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionRow euiFlexGroup--responsive">
|
||||
|
||||
<div class="euiFlexItem">
|
||||
<div class="euiPanel euiPanel--paddingLarge">
|
||||
<div class="euiPageContentBody">
|
||||
<span class="wz-headline-title">
|
||||
<react-component name="EuiIcon" props="{type:'console'}" /> Processes</span>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
@ -185,8 +215,7 @@
|
||||
keys="[{value: 'name', width: '10%'},'euser','egroup','pid','ppid',{value: 'cmd', width: '15%'},{value: 'argvs', width: '15%'},'vm_size','size','session','nice',{value:'state',isProcessStatus:true, width: '15%'}]" />
|
||||
</div>
|
||||
<div layout="row" layout-align="end center">
|
||||
<button type="button"
|
||||
ng-click="downloadCsv('/syscollector/'+agent.id+'/processes', 'processes.csv')"
|
||||
<button type="button" ng-click="downloadCsv('/syscollector/'+agent.id+'/processes', 'processes.csv')"
|
||||
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small">
|
||||
<span class="euiButtonEmpty__content">
|
||||
<react-component name="EuiIcon" props="{type:'importAction'}" />
|
||||
@ -194,7 +223,9 @@
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
</md-content>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -119,5 +119,7 @@ export const KeyEquivalence = {
|
||||
compliance: 'Compliance',
|
||||
rules: 'Rules',
|
||||
reason: 'Reason',
|
||||
registerIP: 'Register IP'
|
||||
registerIP: 'Register IP',
|
||||
'hotfix': 'Update code',
|
||||
'scan.time': 'Registered by Wazuh at'
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user