mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
Minor fixes (#1414)
This commit is contained in:
parent
5193e71541
commit
59cb35675a
@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "wazuh",
|
||||
"version": "3.9.0",
|
||||
"revision": "0435",
|
||||
"code": "0435-0",
|
||||
"revision": "0436",
|
||||
"code": "0436-0",
|
||||
"kibana": {
|
||||
"version": "6.7.1"
|
||||
},
|
||||
|
@ -34,7 +34,7 @@ export class ConfigurationController {
|
||||
this.configurationSubTab = '';
|
||||
this.integrations = {};
|
||||
this.$scope.integrations = {};
|
||||
this.selectedItem = 0;
|
||||
this.$scope.selectedItem = 0;
|
||||
this.showHelp = false;
|
||||
}
|
||||
|
||||
@ -63,7 +63,7 @@ export class ConfigurationController {
|
||||
this.hasSize = obj =>
|
||||
obj && typeof obj === 'object' && Object.keys(obj).length;
|
||||
|
||||
this.$scope.updateSelectedItem = i => (this.selectedItem = i);
|
||||
this.$scope.updateSelectedItem = i => (this.$scope.selectedItem = i);
|
||||
|
||||
this.getIntegration = list =>
|
||||
this.configurationHandler.getIntegration(list, this.$scope);
|
||||
@ -85,7 +85,7 @@ export class ConfigurationController {
|
||||
}
|
||||
|
||||
switchConfigurationSubTab(configurationSubTab) {
|
||||
this.selectedItem = 0;
|
||||
this.$scope.selectedItem = 0;
|
||||
this.configurationHandler.switchConfigurationSubTab(
|
||||
configurationSubTab,
|
||||
this.$scope
|
||||
|
@ -174,8 +174,8 @@
|
||||
</div>
|
||||
|
||||
<div ng-if="!wazuh_table_loading && isPolicyMonitoring()" ng-show="!error && items.length">
|
||||
<table class="table table-striped table-striped-duo table-condensed table-hover no-margin-bottom"
|
||||
ng-class="customColumns ? 'table-resizable' : 'euiTable euiTable--responsive'" id="table{{scapepath}}">
|
||||
<table class="table table-striped table-striped-duo table-condensed table-hover no-margin-bottom euiTable euiTable--responsive"
|
||||
ng-class="customColumns ? 'table-resizable' : ''" id="table{{scapepath}}">
|
||||
<thead class="wz-text-bold">
|
||||
<th ng-repeat="key in keys" class="euiTableHeaderCell wz-text-left" ng-style="key.width && {'width':key.width}">
|
||||
<p ng-class="{ 'cursor-pointer' : !key.nosortable }" ng-click="!key.nosortable && sort(key)">
|
||||
@ -211,7 +211,7 @@
|
||||
<td colspan="{{keys.length}}" style="border-top: none">
|
||||
<div layout="row" layout-padding="" class="layout-padding layout-row">
|
||||
<md-card flex="" class="wz-md-card wz-padding-top-0 wz-padding-bottom-0 wz-no-margin _md flex">
|
||||
<md-card-content>
|
||||
<md-card-content ng-click="$event.stopPropagation()">
|
||||
<div>
|
||||
<div class="euiFlexItem euiFlexItem--flexGrowZero" ng-if="item.reason">
|
||||
<div class="euiStat euiStat--leftAligned">
|
||||
@ -268,7 +268,7 @@
|
||||
</p>
|
||||
<div class="euiText euiText--small euiStat__description wz-text-gray">
|
||||
<div layout="row" ng-repeat="rule in item.rules">
|
||||
{{rule.rule}}
|
||||
<p class="fullWidth">{{rule.rule}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -46,7 +46,7 @@ export class TabVisualizations {
|
||||
aws: 8,
|
||||
virustotal: 7,
|
||||
osquery: 5,
|
||||
sca: 4,
|
||||
sca: 8,
|
||||
docker: 5
|
||||
};
|
||||
|
||||
|
@ -905,6 +905,21 @@ wz-xml-file-editor {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.wz-md-card:not(.fullscreen) .sca-vis.sca-gauges .visualization {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.wz-md-card:not(.fullscreen) .sca-vis.sca-gauges .visLib {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.wz-md-card:not(.fullscreen) .sca-vis.sca-gauges .visLib__chart {
|
||||
height: 130%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sca-vis .visWrapper .chart-label {
|
||||
display: block !important;
|
||||
}
|
||||
@ -918,10 +933,14 @@ wz-xml-file-editor {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sca-vis .visLegend__list {
|
||||
.sca-vis:not(.sca-bars) .visLegend__list {
|
||||
width: 275px !important;
|
||||
}
|
||||
|
||||
.sca-vis.sca-bars .visLegend__list {
|
||||
width: 100px !important;
|
||||
}
|
||||
|
||||
.tvbLegend {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
@ -111,6 +111,10 @@
|
||||
label="Recursion level"
|
||||
value="currentConfig['syscheck-syscheck'].syscheck.directories[selectedItem].recursion_level">
|
||||
</wz-config-item>
|
||||
<wz-config-item
|
||||
label="Follow symbolic link"
|
||||
value="currentConfig['syscheck-syscheck'].syscheck.directories[selectedItem].opts.includes('follow_symbolic_link') ? 'yes' : 'no'">
|
||||
</wz-config-item>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -1,19 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="octrl.tab === 'sca' && octrl.tabView === 'panels'"
|
||||
ng-class="{'no-opacity': resultState !== 'ready' || !rendered}" layout-align="start">
|
||||
|
||||
<div layout="row" class="height-300">
|
||||
<md-card flex="20" class="wz-md-card">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row">
|
||||
<span class="wz-headline-title">Overall score</span>
|
||||
<span flex></span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<kbn-vis class="sca-vis" id="Wazuh-App-Overview-SCA-Overall-score"
|
||||
vis-id="'Wazuh-App-Overview-SCA-Overall-score'" />
|
||||
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<div layout="row" class="height-225">
|
||||
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[0]}">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row" ng-dblclick="octrl.expand(0)">
|
||||
@ -24,7 +12,7 @@
|
||||
</span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<kbn-vis class="sca-vis" id="Wazuh-App-Overview-SCA-Score-by-Policy"
|
||||
<kbn-vis class="sca-vis sca-gauges" id="Wazuh-App-Overview-SCA-Score-by-Policy"
|
||||
vis-id="'Wazuh-App-Overview-SCA-Score-by-Policy'" />
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
@ -78,30 +66,63 @@
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="height-540">
|
||||
<md-card flex="50" class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[4]}">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row" ng-dblclick="octrl.expand(4)">
|
||||
<span class="wz-headline-title">Results distribution by policy</span>
|
||||
<span flex></span>
|
||||
<span class="cursor-pointer" ng-click="octrl.expand(4)">
|
||||
<react-component name="EuiIcon" props="{type:'expand'}" />
|
||||
</span>
|
||||
</div>
|
||||
<div layout="row" class="height-300">
|
||||
<md-card flex="20" class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[4]}">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row" ng-dblclick="octrl.expand(4)">
|
||||
<span class="wz-headline-title">Top 5 Agents</span>
|
||||
<span flex></span>
|
||||
<span class="cursor-pointer" ng-click="octrl.expand(4)">
|
||||
<react-component name="EuiIcon" props="{type:'expand'}" />
|
||||
</span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<kbn-vis id="Wazuh-App-Overview-SCA-Result-distribution-by-policy"
|
||||
vis-id="'Wazuh-App-Overview-SCA-Result-distribution-by-policy'" />
|
||||
|
||||
<kbn-vis id="Wazuh-App-Overview-CA-Top-5-Agents"
|
||||
vis-id="'Wazuh-App-Overview-CA-Top-5-Agents'" />
|
||||
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[5]}">
|
||||
<md-card flex="40" class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[5]}">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row" ng-dblclick="octrl.expand(5)">
|
||||
<span class="wz-headline-title">Alerts summary</span>
|
||||
<div layout="row" ng-dblclick="octrl.expand(5)">
|
||||
<span class="wz-headline-title">Results distribution by policy</span>
|
||||
<span flex></span>
|
||||
<span class="cursor-pointer" ng-click="octrl.expand(5)">
|
||||
<react-component name="EuiIcon" props="{type:'expand'}" />
|
||||
</span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<kbn-vis class="sca-vis sca-bars" id="Wazuh-App-Overview-SCA-Result-distribution-by-policy"
|
||||
vis-id="'Wazuh-App-Overview-SCA-Result-distribution-by-policy'" />
|
||||
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
<md-card flex="40" class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[6]}">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row" ng-dblclick="octrl.expand(6)">
|
||||
<span class="wz-headline-title">Score evolution over time</span>
|
||||
<span flex></span>
|
||||
<span class="cursor-pointer" ng-click="octrl.expand(6)">
|
||||
<react-component name="EuiIcon" props="{type:'expand'}" />
|
||||
</span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<kbn-vis class="sca-vis sca-bars" id="Wazuh-App-Overview-CA-Score-over-time"
|
||||
vis-id="'Wazuh-App-Overview-CA-Score-over-time'" />
|
||||
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</div>
|
||||
|
||||
<div layout="row" class="height-540">
|
||||
<md-card flex class="wz-md-card" ng-class="{'fullscreen': octrl.expandArray[7]}">
|
||||
<md-card-content class="wazuh-column">
|
||||
<div layout="row" ng-dblclick="octrl.expand(7)">
|
||||
<span class="wz-headline-title">Alerts summary</span>
|
||||
<span flex></span>
|
||||
<span class="cursor-pointer" ng-click="octrl.expand(7)">
|
||||
<react-component name="EuiIcon" props="{type:'expand'}" />
|
||||
</span>
|
||||
</div>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<kbn-vis vis-id="'Wazuh-App-Overview-CA-Alerts-summary'" />
|
||||
|
@ -16,7 +16,7 @@ export default [
|
||||
_source: {
|
||||
title: 'Score by policy',
|
||||
visState:
|
||||
'{"title":"Score by policy","type":"gauge","params":{"type":"gauge","addTooltip":true,"addLegend":false,"isDisplayWarning":false,"gauge":{"verticalSplit":false,"extendRange":false,"percentageMode":true,"gaugeType":"Circle","gaugeStyle":"Full","backStyle":"Full","orientation":"vertical","colorSchema":"Green to Red","gaugeColorMode":"Labels","colorsRange":[{"from":0,"to":40},{"from":40,"to":70},{"from":70,"to":100}],"invertColors":true,"labels":{"show":true,"color":"black"},"scale":{"show":false,"labels":false,"color":"#333"},"type":"meter","style":{"bgWidth":0.9,"width":0.9,"mask":false,"bgMask":false,"maskBars":50,"bgFill":"#eee","bgColor":false,"subText":"","fontSize":60,"labelColor":false},"minAngle":0,"maxAngle":6.283185307179586}},"aggs":[{"id":"1","enabled":true,"type":"avg","schema":"metric","params":{"field":"data.sca.score","customLabel":"Scores by policy"}},{"id":"2","enabled":true,"type":"terms","schema":"group","params":{"field":"data.sca.policy_id","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
'{"title":"Score by policy","type":"gauge","params":{"type":"gauge","addTooltip":true,"addLegend":false,"isDisplayWarning":false,"gauge":{"verticalSplit":false,"extendRange":false,"percentageMode":true,"gaugeType":"Circle","gaugeStyle":"Full","backStyle":"Full","orientation":"vertical","colorSchema":"Green to Red","gaugeColorMode":"Labels","colorsRange":[{"from":0,"to":40},{"from":40,"to":70},{"from":70,"to":100}],"invertColors":true,"labels":{"show":true,"color":"black"},"scale":{"show":false,"labels":false,"color":"#333"},"type":"meter","style":{"bgWidth":0.9,"width":0.9,"mask":false,"bgMask":false,"maskBars":50,"bgFill":"#eee","bgColor":false,"subText":"","fontSize":60,"labelColor":false},"minAngle":0,"maxAngle":6.283185307179586}},"aggs":[{"id":"1","enabled":true,"type":"avg","schema":"metric","params":{"field":"data.sca.score","customLabel":"Scores by policy"}},{"id":"2","enabled":true,"type":"terms","schema":"group","params":{"field":"data.sca.policy_id","size":10,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
uiStateJSON:
|
||||
'{"vis":{"defaultColors":{"0 - 40":"rgb(165,0,38)","40 - 70":"rgb(255,255,190)","70 - 100":"rgb(0,104,55)"}}}',
|
||||
description: '',
|
||||
@ -33,7 +33,7 @@ export default [
|
||||
_source: {
|
||||
title: 'Overall score',
|
||||
visState:
|
||||
'{"title":"Overall score","type":"metric","params":{"addTooltip":true,"addLegend":false,"type":"metric","metric":{"percentageMode":true,"useRanges":false,"colorSchema":"Green to Red","metricColorMode":"None","colorsRange":[{"from":0,"to":100}],"labels":{"show":true},"invertColors":false,"style":{"bgFill":"#000","bgColor":false,"labelColor":false,"subText":"","fontSize":60}}},"aggs":[{"id":"1","enabled":true,"type":"avg","schema":"metric","params":{"field":"data.sca.score","customLabel":"Overall score"}}]}',
|
||||
'{"title":"Overall score","type":"metric","params":{"addTooltip":true,"addLegend":false,"type":"metric","metric":{"percentageMode":true,"useRanges":false,"colorSchema":"Green to Red","metricColorMode":"None","colorsRange":[{"from":0,"to":100}],"labels":{"show":true},"invertColors":false,"style":{"bgFill":"#000","bgColor":false,"labelColor":false,"subText":"","fontSize":45}}},"aggs":[{"id":"1","enabled":true,"type":"avg","schema":"metric","params":{"field":"data.sca.score","customLabel":"Overall score"}}]}',
|
||||
uiStateJSON: '{}',
|
||||
description: '',
|
||||
version: 1,
|
||||
@ -81,7 +81,7 @@ export default [
|
||||
_source: {
|
||||
title: 'Result distribution by policy',
|
||||
visState:
|
||||
'{"title":"Result distribution by policy","type":"histogram","params":{"type":"histogram","grid":{"categoryLines":false,"style":{"color":"#eee"}},"categoryAxes":[{"id":"CategoryAxis-1","type":"category","position":"bottom","show":true,"style":{},"scale":{"type":"linear"},"labels":{"show":true,"truncate":20,"rotate":0},"title":{}}],"valueAxes":[{"id":"ValueAxis-1","name":"LeftAxis-1","type":"value","position":"left","show":true,"style":{},"scale":{"type":"linear","mode":"normal"},"labels":{"show":true,"rotate":0,"filter":false,"truncate":20},"title":{"text":"Count"}}],"seriesParams":[{"show":"true","type":"histogram","mode":"stacked","data":{"label":"Count","id":"1"},"valueAxis":"ValueAxis-1","drawLinesBetweenPoints":true,"showCircles":true}],"addTooltip":true,"addLegend":true,"legendPosition":"right","times":[],"addTimeMarker":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"data.sca.policy","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}},{"id":"3","enabled":true,"type":"terms","schema":"group","params":{"field":"data.sca.check.result","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
'{"title":"Result distribution by policy","type":"histogram","params":{"type":"histogram","grid":{"categoryLines":false,"style":{"color":"#eee"}},"categoryAxes":[{"id":"CategoryAxis-1","type":"category","position":"bottom","show":true,"style":{},"scale":{"type":"linear"},"labels":{"show":true,"truncate":15,"rotate":0},"title":{}}],"valueAxes":[{"id":"ValueAxis-1","name":"LeftAxis-1","type":"value","position":"left","show":true,"style":{},"scale":{"type":"linear","mode":"normal"},"labels":{"show":true,"rotate":0,"filter":false,"truncate":20},"title":{"text":"Count"}}],"seriesParams":[{"show":"true","type":"histogram","mode":"stacked","data":{"label":"Count","id":"1"},"valueAxis":"ValueAxis-1","drawLinesBetweenPoints":true,"showCircles":true}],"addTooltip":true,"addLegend":true,"legendPosition":"right","times":[],"addTimeMarker":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"data.sca.policy","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}},{"id":"3","enabled":true,"type":"terms","schema":"group","params":{"field":"data.sca.check.result","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
uiStateJSON: '{}',
|
||||
description: '',
|
||||
version: 1,
|
||||
@ -108,11 +108,12 @@ export default [
|
||||
_type: 'visualization'
|
||||
},
|
||||
{
|
||||
_id: 'Wazuh-App-Overview-CA-Rule-level-over-time',
|
||||
_id: 'Wazuh-App-Overview-CA-Score-over-time',
|
||||
_type: 'visualization',
|
||||
_source: {
|
||||
title: 'Rule level distribution over time',
|
||||
title: 'Score over time',
|
||||
visState:
|
||||
'{"title":"Rule level distribution over time","type":"area","params":{"type":"area","grid":{"categoryLines":true,"style":{"color":"#eee"},"valueAxis":"ValueAxis-1"},"categoryAxes":[{"id":"CategoryAxis-1","type":"category","position":"bottom","show":true,"style":{},"scale":{"type":"linear"},"labels":{"show":true,"truncate":100},"title":{}}],"valueAxes":[{"id":"ValueAxis-1","name":"LeftAxis-1","type":"value","position":"left","show":true,"style":{},"scale":{"type":"linear","mode":"normal"},"labels":{"show":true,"rotate":0,"filter":false,"truncate":100},"title":{"text":"Count"}}],"seriesParams":[{"show":"true","type":"area","mode":"stacked","data":{"label":"Count","id":"1"},"drawLinesBetweenPoints":true,"showCircles":true,"interpolate":"cardinal","valueAxis":"ValueAxis-1"}],"addTooltip":true,"addLegend":true,"legendPosition":"right","times":[],"addTimeMarker":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"date_histogram","schema":"segment","params":{"field":"@timestamp","timeRange":{"from":"now-4h","to":"now","mode":"quick"},"useNormalizedEsInterval":true,"interval":"auto","time_zone":"Europe/Berlin","drop_partials":false,"customInterval":"2h","min_doc_count":1,"extended_bounds":{}}},{"id":"3","enabled":true,"type":"terms","schema":"group","params":{"field":"rule.level","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
'{"title":"Score over time","type":"line","params":{"type":"line","grid":{"categoryLines":false,"style":{"color":"#eee"}},"categoryAxes":[{"id":"CategoryAxis-1","type":"category","position":"bottom","show":true,"style":{},"scale":{"type":"linear"},"labels":{"show":true,"truncate":100},"title":{}}],"valueAxes":[{"id":"ValueAxis-1","name":"LeftAxis-1","type":"value","position":"left","show":true,"style":{},"scale":{"type":"linear","mode":"normal"},"labels":{"show":true,"rotate":0,"filter":false,"truncate":100},"title":{"text":"Average data.sca.score"}}],"seriesParams":[{"show":"true","type":"area","mode":"normal","data":{"label":"Average data.sca.score","id":"1"},"valueAxis":"ValueAxis-1","drawLinesBetweenPoints":true,"showCircles":true,"interpolate":"linear"}],"addTooltip":true,"addLegend":true,"legendPosition":"right","times":[],"addTimeMarker":false},"aggs":[{"id":"1","enabled":true,"type":"avg","schema":"metric","params":{"field":"data.sca.score"}},{"id":"2","enabled":true,"type":"date_histogram","schema":"segment","params":{"field":"@timestamp","timeRange":{"from":"now-30d","to":"now","mode":"quick"},"useNormalizedEsInterval":true,"interval":"auto","time_zone":"Europe/Berlin","drop_partials":false,"customInterval":"2h","min_doc_count":1,"extended_bounds":{}}},{"id":"3","enabled":true,"type":"terms","schema":"group","params":{"field":"data.sca.policy_id","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
uiStateJSON: '{}',
|
||||
description: '',
|
||||
version: 1,
|
||||
@ -120,8 +121,7 @@ export default [
|
||||
searchSourceJSON:
|
||||
'{"index":"wazuh-alerts","query":{"query":"","language":"lucene"},"filter":[]}'
|
||||
}
|
||||
},
|
||||
_type: 'visualization'
|
||||
}
|
||||
},
|
||||
{
|
||||
_id: 'Wazuh-App-Overview-CA-Passed-vs-failed',
|
||||
@ -145,9 +145,25 @@ export default [
|
||||
_source: {
|
||||
title: 'Alerts summary',
|
||||
visState:
|
||||
'{"title":"Alerts summary","type":"table","params":{"perPage":10,"showPartialRows":false,"showMetricsAtAllLevels":false,"sort":{"columnIndex":3,"direction":"desc"},"showTotal":false,"totalFunc":"sum"},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{"customLabel":"Count"}},{"id":"2","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.policy","size":5000,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Policy"}},{"id":"3","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.passed","size":1,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Pass"}},{"id":"4","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.failed","size":1,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Fail"}}]}',
|
||||
'{"title":"Alerts summary","type":"table","params":{"perPage":10,"showPartialRows":false,"showMetricsAtAllLevels":false,"sort":{"columnIndex":4,"direction":"desc"},"showTotal":false,"totalFunc":"sum"},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{"customLabel":"Count"}},{"id":"2","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.policy","size":5000,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Policy"}},{"id":"3","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.passed","size":1,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Pass"}},{"id":"4","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.failed","size":1,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Fail"}},{"id":"5","enabled":true,"type":"terms","schema":"bucket","params":{"field":"data.sca.invalid","size":1,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing","customLabel":"Not applicable"}}]}',
|
||||
uiStateJSON:
|
||||
'{"vis":{"params":{"sort":{"columnIndex":3,"direction":"desc"}}}}',
|
||||
'{"vis":{"params":{"sort":{"columnIndex":4,"direction":"desc"}}}}',
|
||||
description: '',
|
||||
version: 1,
|
||||
kibanaSavedObjectMeta: {
|
||||
searchSourceJSON:
|
||||
'{"index":"wazuh-alerts","filter":[],"query":{"query":"","language":"lucene"}}'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
_id: 'Wazuh-App-Overview-CA-Top-5-Agents',
|
||||
_type: 'visualization',
|
||||
_source: {
|
||||
title: 'Top 5 Agents',
|
||||
visState:
|
||||
'{"title":"Top 5 Agents","type":"pie","params":{"type":"pie","addTooltip":true,"addLegend":true,"legendPosition":"right","isDonut":true,"labels":{"show":false,"values":true,"last_level":true,"truncate":100}},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"agent.name","size":5,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}',
|
||||
uiStateJSON: '{}',
|
||||
description: '',
|
||||
version: 1,
|
||||
kibanaSavedObjectMeta: {
|
||||
|
Loading…
Reference in New Issue
Block a user