mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Merge branch '2.0' of https://github.com/wazuh/wazuh-kibana-app-dev into 2.1
This commit is contained in:
commit
97041d7c10
@ -7,6 +7,19 @@ body{
|
||||
margin:18px 20px 0 0
|
||||
}
|
||||
|
||||
.vis-editor-content text, h2.index-pattern-label{
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.wazuh-discover-searchbar{
|
||||
margin-top: -50px !important;
|
||||
z-index:9999;
|
||||
}
|
||||
|
||||
.wazuh-searchbar navbar{
|
||||
margin-top: -40px !important;
|
||||
}
|
||||
|
||||
.no-legend visualize-legend{
|
||||
visibility: hidden;
|
||||
width: 0px;
|
||||
@ -54,7 +67,7 @@ span.md-headline {
|
||||
.md-headline-small{
|
||||
font-size: 18px;
|
||||
}
|
||||
.h3, h3 {
|
||||
.wazuh-h3 {
|
||||
font-size: 18px !important;
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
@ -448,7 +461,7 @@ md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolb
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.md-toolbar-tools h1, .md-toolbar-tools h2, .md-toolbar-tools h3 {
|
||||
.md-toolbar-tools h1, .md-toolbar-tools .wazuh-h2, .md-toolbar-tools h3 {
|
||||
font-size: inherit;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
@ -595,6 +608,7 @@ md-autocomplete input:-ms-input-placeholder {
|
||||
.wazuh-h1 {
|
||||
font-size: 24px !important;
|
||||
}
|
||||
|
||||
md-chips.md-default-theme .md-chips, md-chips .md-chips {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content ng-if="submenuNavItem == 'audit' && _agent" id="agents-audit" ng-controller="auditController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content ng-if="submenuNavItem == 'fim' && _agent" id="agents-fim" ng-controller="fimController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content ng-if="submenuNavItem == 'oscap' && _agent" id="agents-oscap" ng-controller="oscapController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content ng-if="submenuNavItem == 'overview' && agentInfo" ng-controller="agentsOverviewController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<div ng-if="tabView == 'panels'">
|
||||
<md-content layout="row">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content ng-if="submenuNavItem == 'pci' && _agent" id="agents-pci" ng-controller="PCIController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content ng-if="submenuNavItem == 'policy_monitoring' && _agent" id="agents-pm" ng-controller="pmController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -39,7 +39,7 @@
|
||||
</div>
|
||||
|
||||
<div ng-if="!_agent">
|
||||
<h2 style="text-transform: none; font-size: 20px;">
|
||||
<h2 class="wazuh-h2" style="text-transform: none; font-size: 20px;">
|
||||
<i style="margin-right: 5px; " class="fa fa-desktop" aria-hidden="true"></i> Agents overview
|
||||
</h2>
|
||||
</div>
|
||||
|
@ -2,7 +2,9 @@
|
||||
|
||||
<kbn-top-nav name="discover" config="topNavMenu">
|
||||
<!-- Transcluded elements. -->
|
||||
<div data-transclude-slots>
|
||||
|
||||
</kbn-top-nav>
|
||||
<div data-transclude-slots class="wazuh-discover-searchbar">
|
||||
<!-- Breadcrumbs. -->
|
||||
<div data-transclude-slot="topLeftCorner" class="kuiLocalBreadcrumbs">
|
||||
<h1 tabindex="0" id="kui_local_breadcrumb" class="kuiLocalBreadcrumb">
|
||||
@ -16,54 +18,31 @@
|
||||
</div>
|
||||
|
||||
<!-- Search. -->
|
||||
<form
|
||||
data-transclude-slot="bottomRow"
|
||||
class="fullWidth"
|
||||
role="form"
|
||||
name="discoverSearch"
|
||||
ng-submit="fetch()"
|
||||
>
|
||||
<div class="typeahead" kbn-typeahead="discover" on-select="fetch()">
|
||||
<div class="kuiLocalSearch">
|
||||
<div class="kuiLocalSearchAssistedInput">
|
||||
<input
|
||||
parse-query
|
||||
input-focus
|
||||
kbn-typeahead-input
|
||||
ng-model="state.query"
|
||||
placeholder="Search... (e.g. status:200 AND extension:PHP)"
|
||||
aria-label="Search input"
|
||||
type="text"
|
||||
class="kuiLocalSearchInput kuiLocalSearchInput--lucene"
|
||||
ng-class="{'kuiLocalSearchInput-isInvalid': discoverSearch.$invalid}"
|
||||
>
|
||||
<div class="kuiLocalSearchAssistedInput__assistance">
|
||||
<p class="kuiText">
|
||||
<a
|
||||
class="kuiLink"
|
||||
ng-href="{{queryDocLinks.luceneQuerySyntax}}"
|
||||
target="_blank"
|
||||
>
|
||||
Uses lucene query syntax
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
aria-label="Search"
|
||||
class="kuiLocalSearchButton"
|
||||
ng-disabled="discoverSearch.$invalid"
|
||||
>
|
||||
<span class="kuiIcon fa-search" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
<kbn-typeahead-items></kbn-typeahead-items>
|
||||
</div>
|
||||
</form>
|
||||
<navbar name="discover-search">
|
||||
<form role="form" class="fill inline-form" ng-submit="fetch()" name="discoverSearch">
|
||||
<div class="typeahead" kbn-typeahead="discover">
|
||||
<div class="input-group"
|
||||
ng-class="discoverSearch.$invalid ? 'has-error' : ''">
|
||||
<input
|
||||
parse-query
|
||||
input-focus
|
||||
kbn-typeahead-input
|
||||
ng-model="stateQuery"
|
||||
placeholder="Search..."
|
||||
aria-label="Search input"
|
||||
type="text"
|
||||
class="form-control">
|
||||
<button type="submit"
|
||||
ng-disabled="discoverSearch.$invalid"
|
||||
aria-label="Search">
|
||||
<span aria-hidden="true" class="fa fa-search"></span></button>
|
||||
</div>
|
||||
<kbn-typeahead-items></kbn-typeahead-items>
|
||||
</div>
|
||||
</form>
|
||||
<div class="button-group" role="toolbar"></div>
|
||||
</navbar>
|
||||
</div>
|
||||
</kbn-top-nav>
|
||||
|
||||
|
||||
<div class="container-fluid" role="main">
|
||||
<div class="row">
|
||||
|
@ -48,7 +48,7 @@
|
||||
<div layout="row" layout-align="start start">
|
||||
<md-card layout="column" flex="50">
|
||||
<md-card-content>
|
||||
<h3>Manager information</h3>
|
||||
<h3 class="wazuh-h3">Manager information</h3>
|
||||
<div layout="column">
|
||||
<span layout="row">
|
||||
<p style="font-weight: bold; min-width: 150px" >Version</p>
|
||||
@ -88,7 +88,7 @@
|
||||
|
||||
<md-card layout="column" flex="50">
|
||||
<md-card-content>
|
||||
<h3>Last registered agent</h3>
|
||||
<h3 class="wazuh-h3">Last registered agent</h3>
|
||||
<div layout="column" flex>
|
||||
<span layout="row">
|
||||
<p style="font-weight: bold; min-width: 150px" >Name</p>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="submenuNavItem == 'audit'" ng-controller="overviewAuditController" layout-align="space-around">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="submenuNavItem == 'fim'" ng-controller="overviewFimController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="submenuNavItem == 'general'" ng-controller="overviewGeneralController" layout-align="start">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="submenuNavItem == 'oscap'" ng-controller="overviewOSCAPController" layout-align="start">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="submenuNavItem == 'pci'" ng-controller="overviewPCIController" layout-align="start">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<md-content flex layout="column" ng-if="submenuNavItem == 'pm'" ng-controller="overviewPMController">
|
||||
|
||||
<!-- Kibana search bar -->
|
||||
<kbn-searchbar ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
<kbn-searchbar class="wazuh-searchbar" ng-if="tabView == 'panels'"></kbn-searchbar>
|
||||
|
||||
<!-- No results message -->
|
||||
<md-content flex layout="row" layout-align="start start" ng-if="!results && tabView == 'panels'">
|
||||
|
@ -150,7 +150,7 @@
|
||||
|
||||
<md-card flex layout="column" ng-if="rule.groups.length > 0">
|
||||
<md-card-content>
|
||||
<h3>Groups</h3>
|
||||
<h3 class="wazuh-h3">Groups</h3>
|
||||
<span ng-repeat="group in rule.groups">
|
||||
<span class="listHover" ng-click="rulesApplyFilter({type: 'group', value: group})" layout="row" layout-align="space-between center"><p>{{ group }}</p></span>
|
||||
<md-divider ng-if="!$last"></md-divider>
|
||||
@ -160,7 +160,7 @@
|
||||
|
||||
<md-card flex layout="column" ng-if="rule.pci.length > 0">
|
||||
<md-card-content>
|
||||
<h3>PCI DSS </h3>
|
||||
<h3 class="wazuh-h3">PCI DSS </h3>
|
||||
<span ng-repeat="pci in rule.pci">
|
||||
<span class="listHover" ng-click="rulesApplyFilter({type: 'pci', value: pci})" layout="row" layout-align="space-between center"><p>{{ pci }}</p></span>
|
||||
<md-divider ng-if="!$last"></md-divider>
|
||||
@ -170,7 +170,7 @@
|
||||
|
||||
<md-card flex layout="column">
|
||||
<md-card-content>
|
||||
<h3>Extra settings</h3>
|
||||
<h3 class="wazuh-h3">Extra settings</h3>
|
||||
<span ng-repeat="(detailk, detailv) in rule.details">
|
||||
<span layout="row" layout-align="space-between center">
|
||||
<p>{{detailk}}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user