Fixing discover agent filter

Conflicts:
	public/templates/agents-audit.html
	public/templates/agents-fim.html
	public/templates/agents-oscap.html
	public/templates/agents-overview.html
	public/templates/agents-pci.html
	public/templates/agents-pm.html
This commit is contained in:
malbarral 2017-08-11 10:46:43 +02:00 committed by havidarou
parent e3fa831050
commit f3a72349d4
6 changed files with 8 additions and 9 deletions

View File

@ -14,7 +14,8 @@
<!-- View: Discover -->
<md-content ng-if="_agent.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'">
<md-content ng-if="agentInfo.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter="rule.groups:audit "
infinite-scroll="true">

View File

@ -14,7 +14,7 @@
</md-content>
<!-- View: Discover -->
<md-content ng-if="_agent.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="$parent.tabView == 'discover'" >
<md-content ng-if="agentInfo.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-if="$parent.tabView == 'discover'" >
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter="rule.groups:syscheck "
infinite-scroll="true">

View File

@ -15,7 +15,7 @@
<!-- View: Discover -->
<md-content ng-if="_agent.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<md-content ng-if="agentInfo.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter="rule.groups:oscap"
infinite-scroll="true">

View File

@ -80,14 +80,12 @@
</md-content>
<!-- View: Discover -->
<md-content ng-if="_agent.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<md-content ng-if="agentInfo.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter=""
infinite-scroll="true">
dis-filter="agent.name: {{agentInfo.name ? agentInfo.name : '*'}} AND manager.name: {{defaultManager ? defaultManager : '*'}}" infinite-scroll="true">
</kbn-disfull>
</md-content>
<!-- View: Panels -->
<div ng-show='hideRing(7) && results' ng-if="tabView == 'panels' && !load">
<md-content layout="row">

View File

@ -15,7 +15,7 @@
<!-- View: Discover -->
<md-content ng-if="_agent.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<md-content ng-if="agentInfo.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter="_exists_:rule.pci_dss "
infinite-scroll="true">

View File

@ -15,7 +15,7 @@
<!-- View: Discover -->
<md-content ng-if="_agent.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<md-content ng-if="agentInfo.name" style="background-color: white" flex layout="column" layout-align="start space-around" ng-show="tabView == 'discover'" >
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter="rule.groups:rootcheck"
infinite-scroll="true">