diff --git a/CHANGELOG.md b/CHANGELOG.md index fd581e148..3e12636fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,14 +4,22 @@ All notable changes to the Wazuh app project will be documented in this file. ## Wazuh v3.2.1 - Kibana v6.2.2 - Revision 386 ### Added - **New design for the *Manager/Groups* tab** ([#295](https://github.com/wazuh/wazuh-kibana-app/pull/295)). +- **New design for the *Manager/Configuration* tab** ([#297](https://github.com/wazuh/wazuh-kibana-app/pull/297)). +- **New design of agents statistics for the *Agents* tab** ([#299](https://github.com/wazuh/wazuh-kibana-app/pull/299)). ### Changed -- Modified some app components for better follow-up of Kibana guidelines ([#290](https://github.com/wazuh/wazuh-kibana-app/pull/290)). +- **Wazuh app visualizations reviewed** ([#301](https://github.com/wazuh/wazuh-kibana-app/pull/301)): + - The **number of used buckets has been limited**, since most of the table visualizations were surpassing acceptable limits. + - Some visualizations have been checked to see if they make complete sense on what they mean to show to the user. +- Modified some app components for better follow-up of Kibana guidelines ([#290](https://github.com/wazuh/wazuh-kibana-app/pull/290) & [#297](https://github.com/wazuh/wazuh-kibana-app/pull/297)). - Also, some elements were modified on the *Discover* tab in order to correct some mismatches. ### Fixed - Adjusted information ribbon in *Agents/General* for large OS names ([#290](https://github.com/wazuh/wazuh-kibana-app/pull/290) & [#294](https://github.com/wazuh/wazuh-kibana-app/pull/294)). - Fixed unsafe array access on the visualization directive when going directly into *Manager/Ruleset/Decoders* ([#293](https://github.com/wazuh/wazuh-kibana-app/pull/293)). +- Fixed a bug where navigating between agents in the *Agents* tab was generating duplicated `agent.id` implicit filters ([#296](https://github.com/wazuh/wazuh-kibana-app/pull/296)). +- Fixed a bug where navigating between different tabs from *Overview* or *Agents* while being on the *Discover* sub-tab was causing data loss in metric watchers ([#298](https://github.com/wazuh/wazuh-kibana-app/pull/298)). +- Fixed incorrect visualization of the rule level on *Manager/Ruleset/Rules* when the rule level is zero (0) ([#298](https://github.com/wazuh/wazuh-kibana-app/pull/298)). ### Removed - Removed many unused CSS classes from the app code ([#294](https://github.com/wazuh/wazuh-kibana-app/pull/294)). diff --git a/public/controllers/agents.js b/public/controllers/agents.js index a0f39a16c..1ddd445ae 100644 --- a/public/controllers/agents.js +++ b/public/controllers/agents.js @@ -92,7 +92,7 @@ app.controller('agentsController', if($scope.tab === tab) return; - checkMetrics(tab,$scope.tabView); + checkMetrics(tab,'panels'); if($rootScope.ownHandlers){ for(let h of $rootScope.ownHandlers){ @@ -175,7 +175,16 @@ app.controller('agentsController', } } - $scope.getAgent = async newAgentId => { + /** Prevents from double agent and come from autocomplete */ + let lastAgent = null; + const checkDouble = id => { + if(lastAgent && lastAgent !== id){ + $rootScope.agentsAutoCompleteFired = true; + if(!$rootScope.$$phase) $rootScope.$digest(); + } + } + + $scope.getAgent = async (newAgentId,fromAutocomplete) => { try { if($scope.tab === 'configuration'){ return $scope.getAgentConfig(newAgentId); @@ -185,12 +194,15 @@ app.controller('agentsController', // They passed an id if (newAgentId) { id = newAgentId; + checkDouble(id); $location.search('agent', id); } else { if ($location.search().agent && !$rootScope.globalAgent) { // There's one in the url id = $location.search().agent; + checkDouble(id); } else { // We pick the one in the rootScope id = $rootScope.globalAgent; + checkDouble(id); $location.search('agent', id); delete $rootScope.globalAgent; } @@ -209,7 +221,7 @@ app.controller('agentsController', // Agent $scope.agent = data[0].data.data; - + lastAgent = data[0].data.data.id; if ($scope.agent.os) { $scope.agentOS = $scope.agent.os.name + ' ' + $scope.agent.os.version; } diff --git a/public/controllers/overview.js b/public/controllers/overview.js index 71d1c59f3..39f9d3e1b 100644 --- a/public/controllers/overview.js +++ b/public/controllers/overview.js @@ -114,8 +114,7 @@ app.controller('overviewController', function ($scope, $location, $rootScope, ap // Switch tab $scope.switchTab = tab => { if ($scope.tab === tab) return; - - checkMetrics(tab,$scope.tabView); + checkMetrics(tab,'panels'); if ($rootScope.ownHandlers) { for (let h of $rootScope.ownHandlers) { diff --git a/public/directives/wz-table/wz-table.js b/public/directives/wz-table/wz-table.js index cc101bcae..87db1c575 100644 --- a/public/directives/wz-table/wz-table.js +++ b/public/directives/wz-table/wz-table.js @@ -29,7 +29,8 @@ app.directive('wzTable',function(){ scope.func(obj); } scope.parseItem = (item,key) => { - let tmp = key; + if(scope.isruleset && key.col === 'level' && item.level === 0) return '0'; + let tmp = key; if(key.col) { tmp = key.col; } diff --git a/public/kibana-integrations/kibana-discover.js b/public/kibana-integrations/kibana-discover.js index f6f84cd20..8c59003e2 100644 --- a/public/kibana-integrations/kibana-discover.js +++ b/public/kibana-integrations/kibana-discover.js @@ -330,6 +330,30 @@ function discoverController( //////////////////////////////////////////////////////////////////////////// /////////////////////////////// WAZUH /////////////////////////////////// //////////////////////////////////////////////////////////////////////////// + + /** Start of "Prevents from double agent" */ + if($rootScope.agentsAutoCompleteFired){ + let agentsIncluded = []; + // Get all filters related to agent.id and store them on an array + queryFilter.getFilters().filter(item => { + if(typeof item.query.match['agent.id'] !== 'undefined') agentsIncluded.push(item); + }); + // If the array has a length greater than 1 it means that there are more than one agent.id filter + if(agentsIncluded.length > 1) { + // Keep safe the last agent.id filter + const lastAgent = agentsIncluded.pop(); + // Remove all the agent.id filters + agentsIncluded.filter(item => queryFilter.removeFilter(item)); + // Add the safe kept agent.id filter + queryFilter.addFilters(lastAgent); + // Clear the temporary array + agentsIncluded = []; + } + $rootScope.agentsAutoCompleteFired = false; + if(!$rootScope.$$phase) $rootScope.$digest(); + } + /** End of "Prevents from double agent" */ + $rootScope.discoverPendingUpdates = []; $rootScope.discoverPendingUpdates.push($state.query, queryFilter.getFilters()); $rootScope.$broadcast('updateVis', $state.query, queryFilter.getFilters()); diff --git a/public/templates/agents-prev/agents-prev.html b/public/templates/agents-prev/agents-prev.html index 6228ddf61..3baa5c367 100644 --- a/public/templates/agents-prev/agents-prev.html +++ b/public/templates/agents-prev/agents-prev.html @@ -1,43 +1,48 @@ -
- -
- - -
{{lastAgent.name}}
-
Last registered agent
-
-
- - -
{{mostActiveAgent.name}}
-
Higher activity
-
-
- - -
{{agentsCountActive}}
-
Active
-
-
- - -
{{agentsCountDisconnected}}
-
Disconnected
-
-
- - -
{{agentsCountNeverConnected}}
-
Never connected
-
-
- - -
{{(agentsCoverity | number:2)}}%
-
Agents coverage
-
-
-
+
+
+ + + Status + +
+
+
+

Active

+

{{agentsCountActive}}

+
+
+

Disconnected

+

{{agentsCountDisconnected}}

+
+
+
+
+

Never connected

+

{{agentsCountNeverConnected}}

+
+
+

Agents coverage

+

{{(agentsCoverity | number:2)}}%

+
+
+
+
+
+ + + Top + +
+

Last registered agent

+

{{lastAgent.name}}

+
+
+

Higher activity

+

{{mostActiveAgent.name}}

+
+
+
+
diff --git a/public/templates/agents/agents-configuration.html b/public/templates/agents/agents-configuration.html index 3d34faa57..72feef826 100644 --- a/public/templates/agents/agents-configuration.html +++ b/public/templates/agents/agents-configuration.html @@ -37,7 +37,7 @@

Current group: - {{groupName}}Click to go to the group details + {{groupName}}Click to go to the group details  – Configuration status: {{isSynchronized ? 'SYNCHRONIZED' : 'NOT SYNCHRONIZED'}}

diff --git a/public/templates/agents/agents.head b/public/templates/agents/agents.head index a66533cdc..09ef3dbfc 100644 --- a/public/templates/agents/agents.head +++ b/public/templates/agents/agents.head @@ -13,36 +13,36 @@ {{formatAgentStatus(agent.status)}}
+ + + + + + {{agentAutoComplete.name}} ({{agentAutoComplete.id}}) + + + + + No agents matching "{{searchTerm}}" were found. + + +
- - - - - - {{agentAutoComplete.name}} ({{agentAutoComplete.id}}) - - - {{agentAutoComplete.ip}} ({{agentAutoComplete.status}}) - - - - No agents matching "{{searchTerm}}" were found. - - -
diff --git a/public/templates/manager/manager-configuration.html b/public/templates/manager/manager-configuration.html index 4e6223d14..a06bffdf6 100644 --- a/public/templates/manager/manager-configuration.html +++ b/public/templates/manager/manager-configuration.html @@ -5,646 +5,781 @@
-
-
- + +
+ + +
+ + + -
- - - -
-
-
-

- Global

- -

- JSON output - {{managerConfiguration.global.jsonout_output}} -

-

- Log all - {{managerConfiguration.global.logall}} - -

-

- Log all in JSON - {{managerConfiguration.global.logall_json}} - -

-

- White list - {{ managerConfiguration.global.white_list.length - <=5 ? managerConfiguration.global.white_list : managerConfiguration.global.white_list.length }} -

-

- Stats - {{ managerConfiguration.global.stats }} - -

-

- Host information - {{ managerConfiguration.global.host_infomation }} - -

-

- Log alert level - {{ managerConfiguration.alerts.log_alert_level }} - -

-

- E-mail notifications - {{ managerConfiguration.global.email_notification }} - -

-

- E-mail alert level - {{ managerConfiguration.global.email_alert_level }} - -

-

- E-mail to - {{ managerConfiguration.global.email_to }} - -

-

- E-mail from - {{ managerConfiguration.global.email_from }} - -

-

- SMTP server - {{ managerConfiguration.global.smtp_server }} - -

-

- Max email per hour - {{ managerConfiguration.global.email_maxperhour }} -

-

- E-mail IDS name - {{ managerConfiguration.global.email_idsname }} - -

-
-
-
-
- - - -
-
-
-

- E-mail alerts

- -

- Email to - {{ managerConfiguration.email_alerts.email_to }} - -

-

- Alert level - {{ managerConfiguration.email_alerts.level }} - -

-

- Group - {{ managerConfiguration.email_alerts.group }} - -

-

- Event location - {{ managerConfiguration.email_alerts.event_location }} - -

-

- Format - {{ managerConfiguration.email_alerts.format }} - -

-

- Rule ID - {{ managerConfiguration.email_alerts.rule_id }} - -

-

- Do not delay - {{ managerConfiguration.email_alerts.do_not_delay }} - -

-

- Do not group - {{ managerConfiguration.email_alerts.do_not_group }} - -

-
-
-
- - - -
-
-
-

- Remote

- -
-

- Connection - {{item.connection}} -

-

- Port - {{item.port}} -

-

- Protocol - {{item.protocol}} -

- -
-
-
-
- - - -
-
-
-

- Cluster

- -

- Name - {{managerConfiguration.cluster.name}} -

-

- Interval - {{managerConfiguration.cluster.interval}} -

-

- Node name - {{managerConfiguration.cluster.node_name}} -

-

- Bind address - {{managerConfiguration.cluster.bind_addr}} -

-

- Node type - {{managerConfiguration.cluster.node_type}} -

-

- Nodes - {{managerConfiguration.cluster.nodes}} -

-

- Port - {{managerConfiguration.cluster.port}} -

-
-
-
- - - -
-
-
-

- Syscheck

- -

- Syscheck disabled - {{managerConfiguration.syscheck.disabled}} -

-

- Frequency - {{managerConfiguration.syscheck.frequency}} -

-

- Scan time - {{managerConfiguration.syscheck.scan_time}} -

-

- Scan day - {{managerConfiguration.syscheck.scan_day}} -

-

- Auto ignore - {{managerConfiguration.syscheck.auto_ignore}} -

-

- Alert new files - {{managerConfiguration.syscheck.alert_new_files}} -

-

- Scan on start - {{managerConfiguration.syscheck.scan_on_start}} -

-

- No diff - {{managerConfiguration.syscheck.nodiff}} -

-

- Skip NFS - {{managerConfiguration.syscheck.skip_nfs}} -

-
-

- Monitoring directories

- -
-

- Path - {{item.path}} -

-

- Check all - {{item.check_all}} -

-
-
-
-
- - - -
-
-
-

- Rootcheck

- -

- Rootcheck disabled - {{managerConfiguration.rootcheck.disabled}} -

-

- Rootkit files - {{managerConfiguration.rootcheck.rootkit_files}} -

-

- Rootkit trojans - {{managerConfiguration.rootcheck.rootkit_trojans}} -

-

- Base directory - {{managerConfiguration.rootcheck.base_directory}} -

-

- Scan all - {{managerConfiguration.rootcheck.scanall}} -

-

- Frequency - {{managerConfiguration.rootcheck.frequency}} -

-

- Skip NFS - {{managerConfiguration.rootcheck.skip_nfs}} -

-
-

- System audit files

- -
-

- File - {{item}} -

-
-
-
-
- - - -
-
-
-

- Auth

- -

- Disabled - {{managerConfiguration.auth.disabled}} -

-

- Purge - {{managerConfiguration.auth.purge}} -

-

- Force insert - {{managerConfiguration.auth.force_insert}} -

-

- SSL verify host - {{managerConfiguration.auth.ssl_verify_host}} -

-

- Limit max agents - {{managerConfiguration.auth.limit_maxagents}} -

-

- Force time - {{managerConfiguration.auth.force_time}} -

-

- SSL manager key - {{managerConfiguration.auth.ssl_manager_key}} -

-

- SSL manager cert - {{managerConfiguration.auth.ssl_manager_cert}} -

-

- Use source ip - {{managerConfiguration.auth.use_source_ip}} -

-

- Use password - {{managerConfiguration.auth.use_password}} -

-

- Port - {{managerConfiguration.auth.port}} -

-

- SSL auto negotiate - {{managerConfiguration.auth.ssl_auto_negotiate}} -

-

- Ciphers - {{managerConfiguration.auth.ciphers}} -

-
-
-
-
- - - -
-
-
-

- Logcollector -

- -
-

- Location - {{item.location}} -

-

- Command - {{item.command}} -

-

- Log format - {{item.log_format}} -

-

- Frequency - {{item.frequency}} -

-

- Alias - {{item.alias}} -

-

- Check diff - {{item.check_diff}} -

- -
-
-
-
-
-
- - - -
-
-
-

- Command -

- -
- -

- Name - {{ item.name }} - -

-

- Expect - {{ item.expect }} - -

-

- Executable - {{ item.executable }} - -

-

- Timeout allowed - {{ item.timeout_allowed}} - -

- -
-
-
-
-
-
- - - -
-
-
-

- Ruleset -

- -

Decoder directories

-
-

Path - {{ item }} -

-
-

Decoder excludes

-
-

Path - {{ item }} -

-
-

Decoder files

-
-

Path - {{ item }} -

-
-

Rules directories

-
-

Path - {{ item }} -

-
-

Rules files

-
-

Path - {{ item }} -

-
-

Rule excludes

-
-

Path - {{ item }} -

-
-
-

Path - {{ managerConfiguration.ruleset.rule_exclude }} -

-
-

CDB lists

-
-

Path - {{ item }} -

-
-
-

Path - {{ managerConfiguration.ruleset.list }} -

-
-
-
-
-
-
- - - -
-
-
-

- Active response -

- -
-

Command - {{item.command}} -

-

Location - {{item.location}} -

-

Agent ID(s) - {{item.agent_id}} -

-

- Level {{item.level}} -

-

- Timeout {{item.timeout}} -

-

- Rules ID(s) {{item.rules_id}} -

-

- Repeated offenders {{item.repeated_offenders}} -

- -
-
-
-
-
- - + + + Global + Click to see more details + + + +
+

JSON output

+

{{managerConfiguration.global.jsonout_output}}

+
+
+

Log alert level

+

{{managerConfiguration.alerts.log_alert_level}}

+ + + + + + + + Cluster + Click to see more details + + + +
+

Name

+

{{managerConfiguration.cluster.name}}

+
+
+

Node type

+

{{managerConfiguration.cluster.node_type}}

+
+
+
+ + + + + + + + Syscheck + Click to see more details + + + +
+

Frequency

+

{{managerConfiguration.syscheck.frequency}}

+
+
+

Alert new files

+

{{managerConfiguration.syscheck.alert_new_files}}

+
+
+
+ + + + + + + + Rootcheck + Click to see more details + + + +
+

Frequency

+

{{managerConfiguration.rootcheck.frequency}}

+
+
+

Skip NFS

+

{{managerConfiguration.rootcheck.skip_nfs}}

+
+
+
+ + + + + + + + Logcollector + Click to see more details + + +

Logcollector settings

+
+
+ + + + + + + + E-mail alerts + Click to see more details + + + +
+

Email to

+

{{managerConfiguration.email_alerts.email_to}}

+
+
+

Alert level

+

{{managerConfiguration.email_alerts.alert_level}}

+
+
+
+ + + + + + + + Auth + Click to see more details + + + +
+

Purge

+

{{managerConfiguration.auth.purge}}

+
+
+

Force insert

+

{{managerConfiguration.auth.force_insert}}

+
+
+
+ + + + + + + + Ruleset + Click to see more details + + +

Ruleset settings

+
+
+ + + + + + + + Command + Click to see more details + + +

Command settings

+
+
+ + + + + + + + Active response + Click to see more details + + +

Active response settings

+
+
+ + + + + + + + Remote + Click to see more details + + +

Agents events listening settings

+
+
+ +
+ + + +
+ + + + + +

Global

+ + +
+

JSON output

+

{{managerConfiguration.global.jsonout_output}}

+
+
+

Log all

+

{{managerConfiguration.global.logall}}

+
+
+

Log all in JSON

+

{{managerConfiguration.global.logall_json}}

+
+
+

White list

+

{{managerConfiguration.global.white_list.length + <= 5 ? managerConfiguration.global.white_list : managerConfiguration.global.white_list.length}}

+
+
+

Stats

+

{{managerConfiguration.global.stats}}

+
+
+

Host information

+

{{managerConfiguration.global.host_infomation}}

+
+
+

Log alert level

+

{{managerConfiguration.alerts.log_alert_level}}

+
+
+

E-mail notifications

+

{{managerConfiguration.global.email_notification}}

+
+
+

E-mail alert level

+

{{ managerConfiguration.alerts.email_alert_level }}

+
+
+

E-mail to

+

{{managerConfiguration.global.email_to}}

+
+
+

E-mail from

+

{{managerConfiguration.global.email_from}}

+
+
+

SMTP server

+

{{managerConfiguration.global.smtp_server}}

+
+
+

Max email per hour

+

{{managerConfiguration.global.email_maxperhour}}

+
+
+

E-mail IDS name

+

{{managerConfiguration.global.email_idsname}}

+
+
+
+ + + + + + +

Cluster

+ + +
+

Disabled

+

{{managerConfiguration.cluster.disabled}}

+
+
+

Hidden

+

{{managerConfiguration.cluster.hidden}}

+
+
+

Name

+

{{managerConfiguration.cluster.name}}

+
+
+

Interval

+

{{managerConfiguration.cluster.interval}}

+
+
+

Node name

+

{{managerConfiguration.cluster.node_name}}

+
+
+

Node type

+

{{managerConfiguration.cluster.node_type}}

+
+
+

Port

+

{{managerConfiguration.cluster.port}}

+
+
+

Bind address

+

{{managerConfiguration.cluster.bind_addr}}

+
+
+

Nodes

+

{{managerConfiguration.cluster.nodes}}

+
+
+
+ + + + + + +

Syscheck

+ + +
+

Disabled

+

{{managerConfiguration.syscheck.disabled}}

+
+
+

Frequency

+

{{managerConfiguration.syscheck.frequency}}

+
+
+

Scan time

+

{{managerConfiguration.syscheck.scan_time}}

+
+
+

Scan day

+

{{managerConfiguration.syscheck.scan_day}}

+
+
+

Auto ignore

+

{{managerConfiguration.syscheck.auto_ignore}}

+
+
+

Alert new files

+

{{managerConfiguration.syscheck.alert_new_files}}

+
+
+

Scan on start

+

{{managerConfiguration.syscheck.scan_on_start}}

+
+
+

No diff

+

{{managerConfiguration.syscheck.nodiff}}

+
+
+

Skip NFS

+

{{managerConfiguration.syscheck.skip_nfs}}

+
+ + +

Monitoring directories

+ + +
+
+

Path

+

{{item.path}}

+
+
+

Check all

+

{{item.check_all}}

+
+ +
+
+
+ + + + + + +

Rootcheck

+ + +
+

Disabled

+

{{managerConfiguration.rootcheck.disabled}}

+
+
+

Rootkit files

+

{{managerConfiguration.rootcheck.rootkit_files}}

+
+
+

Rootkit trojans

+

{{managerConfiguration.rootcheck.rootkit_trojans}}

+
+
+

Base directory

+

{{managerConfiguration.rootcheck.base_directory}}

+
+
+

Scan all

+

{{managerConfiguration.rootcheck.scanall}}

+
+
+

Frequency

+

{{managerConfiguration.rootcheck.frequency}}

+
+
+

Skip NFS

+

{{managerConfiguration.rootcheck.skip_nfs}}

+
+ + +

System audit files

+ + +
+
+

File

+

{{item}}

+
+ +
+
+
+ + + + + + +

Ruleset

+ + +

Decoder directories

+
+
+

Path

+

{{item}}

+
+ +
+ + +

Decoder excludes

+
+
+

Path

+

{{item}}

+
+ +
+ + +

Decoder files

+
+
+

Path

+

{{item}}

+
+ +
+ + +

Rules directories

+
+
+

Path

+

{{item}}

+
+ +
+ + +

Rules files

+
+
+

Path

+

{{item}}

+
+ +
+ + +

Rule excludes

+
+
+

Path

+

{{item}}

+
+ +
+
+

Path

+

{{managerConfiguration.ruleset.rule_exclude}}

+
+ + +

CDB Lists

+
+
+

Path

+

{{item}}

+
+ +
+
+

Path

+

{{managerConfiguration.ruleset.list}}

+
+
+
+ + + + + + +

Logcollector

+ + +
+
+

Location

+

{{item.location}}

+
+
+

Command

+

{{item.command}}

+
+
+

Log format

+

{{item.log_format}}

+
+
+

Frequency

+

{{item.frequency}}

+
+
+

Alias

+

{{item.alias}}

+
+
+

Check diff

+

{{item.check_diff}}

+
+ +
+
+
+ + + + + + +

E-mail alerts

+ + +
+

Email to

+

{{managerConfiguration.email_alerts.email_to}}

+
+
+

Alert level

+

{{managerConfiguration.email_alerts.alert_level}}

+
+
+

Group

+

{{managerConfiguration.email_alerts.group}}

+
+
+

Event location

+

{{managerConfiguration.email_alerts.event_location}}

+
+
+

Format

+

{{managerConfiguration.email_alerts.format}}

+
+
+

Rule ID

+

{{managerConfiguration.email_alerts.rule_id}}

+
+
+

Do not delay

+

{{managerConfiguration.email_alerts.do_not_delay}}

+
+
+

Do not group

+

{{managerConfiguration.email_alerts.do_not_group}}

+
+
+
+ + + + + + +

Auth

+ + +
+

Disabled

+

{{managerConfiguration.auth.disabled}}

+
+
+

Purge

+

{{managerConfiguration.auth.purge}}

+
+
+

Force insert

+

{{managerConfiguration.auth.force_insert}}

+
+
+

SSL verify host

+

{{managerConfiguration.auth.ssl_verify_host}}

+
+
+

Limit max agents

+

{{managerConfiguration.auth.limit_maxagents}}

+
+
+

Force time

+

{{managerConfiguration.auth.force_time}}

+
+
+

SSL manager key

+

{{managerConfiguration.auth.ssl_manager_key}}

+
+
+

SSL manager cert

+

{{managerConfiguration.auth.ssl_manager_cert}}

+
+
+

Use source IP

+

{{managerConfiguration.auth.use_source_ip}}

+
+
+

Use password

+

{{managerConfiguration.auth.use_password}}

+
+
+

Port

+

{{managerConfiguration.auth.port}}

+
+
+

SSL auto negotiate

+

{{managerConfiguration.auth.ssl_auto_negotiate}}

+
+
+

Ciphers

+

{{managerConfiguration.auth.ciphers}}

+
+
+
+ + + + + + +

Command

+ + +
+
+

Name

+

{{item.name}}

+
+
+

Expect

+

{{item.expect}}

+
+
+

Executable

+

{{item.executable}}

+
+
+

Timeout allowed

+

{{item.timeout_allowed}}

+
+ +
+
+
+ + + + + + +

Active response

+ + +
+
+

Command

+

{{item.command}}

+
+
+

Location

+

{{item.location}}

+
+
+

Agent ID(s)

+

{{item.agent_id}}

+
+
+

Level

+

{{item.level}}

+
+
+

Timeout

+

{{item.timeout}}

+
+
+

Rules ID(s)

+

{{item.rules_id}}

+
+
+

Repeated offenders

+

{{item.repeated_offenders}}

+
+ +
+
+
+ + + + + + +

Remote

+ + +
+
+

Connection

+

{{item.connection}}

+
+
+

Port

+

{{item.port}}

+
+
+

Protocol

+

{{item.protocol}}

+
+ +
+
+
+ + +
+ +
+ diff --git a/server/integration-files/app-objects-file-alerts.json b/server/integration-files/app-objects-file-alerts.json index aa46a87fd..e908fadf7 100644 --- a/server/integration-files/app-objects-file-alerts.json +++ b/server/integration-files/app-objects-file-alerts.json @@ -189,35 +189,33 @@ }, { "_id": "Wazuh-App-Overview-General-Alerts-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview General Alerts summary", - "visState": - "{\"title\":\"Wazuh App Overview General Alerts Summary Table\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.id\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule ID\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.level\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Level\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview General Alerts summary", + "visState": "{\"title\":\"Wazuh App Overview General Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.id\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule ID\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":1,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.level\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":1,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Level\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-General-Groups-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview General Groups summary", - "visState": - "{\"title\":\"Wazuh App Overview General Groups Summary Table\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.groups\",\"size\":99999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Group\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview General Groups summary", + "visState": "{\"title\":\"Wazuh App Overview General Groups summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.groups\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Group\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-FIM-Added", @@ -469,35 +467,33 @@ }, { "_id": "Wazuh-App-Overview-FIM-Events-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview FIM Events summary", - "visState": - "{\"title\":\"Wazuh App Overview FIM Events summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":9999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"syscheck.path\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"File\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"syscheck.event\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Event\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview FIM Events summary", + "visState": "{\"title\":\"Wazuh App Overview FIM Events summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"syscheck.path\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"File\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":3,\"direction\":\"desc\"}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: syscheck\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-PM-Events-over-time", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview PM Events over time", - "visState": - "{\"params\": {\"scale\": \"linear\", \"yAxis\": {}, \"smoothLines\": true, \"addTimeMarker\": false, \"interpolate\": \"linear\", \"addLegend\": true, \"shareYAxis\": true, \"mode\": \"overlap\", \"defaultYExtents\": false, \"setYExtents\": false, \"addTooltip\": true, \"times\": []}, \"listeners\": {}, \"type\": \"area\", \"aggs\": [{\"type\": \"count\", \"enabled\": true, \"id\": \"1\", \"params\": {}, \"schema\": \"metric\"}, {\"type\": \"terms\", \"enabled\": true, \"id\": \"2\", \"params\": {\"orderBy\": \"1\", \"field\": \"rule.description\", \"order\": \"desc\", \"size\": 100}, \"schema\": \"group\"}, {\"type\": \"date_histogram\", \"enabled\": true, \"id\": \"3\", \"params\": {\"customInterval\": \"2h\", \"field\": \"@timestamp\", \"interval\": \"auto\", \"extended_bounds\": {}, \"min_doc_count\": 1}, \"schema\": \"segment\"}], \"title\": \"PM Alerts over time\"}", - "uiStateJSON": "{}", - "description": "", - "version": 1, + "title": "Wazuh App Overview PM Events over time", + "visState": "{\"title\":\"Wazuh App Overview PM Events over time\",\"type\":\"area\",\"params\":{\"scale\":\"linear\",\"yAxis\":{},\"smoothLines\":true,\"addTimeMarker\":false,\"interpolate\":\"linear\",\"addLegend\":true,\"shareYAxis\":true,\"mode\":\"overlap\",\"defaultYExtents\":false,\"setYExtents\":false,\"addTooltip\":true,\"times\":[],\"type\":\"area\",\"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\",\"setYExtents\":false,\"defaultYExtents\":false},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Count\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"area\",\"mode\":\"normal\",\"data\":{\"label\":\"Count\",\"id\":\"1\"},\"interpolate\":\"cardinal\",\"valueAxis\":\"ValueAxis-1\"}],\"legendPosition\":\"right\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"@timestamp\",\"interval\":\"auto\",\"customInterval\":\"2h\",\"min_doc_count\":1,\"extended_bounds\":{}}}]}", + "uiStateJSON": "{}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups:\\\"rootcheck\\\"\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-PM-Top-5-CIS-requirements", @@ -540,26 +536,26 @@ "description": "", "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups:\\\"rootcheck\\\"\",\"language\":\"lucene\"}}" + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups:\\\"rootcheck\\\"\",\"language\":\"lucene\"}}" } }, "_type": "visualization" }, { "_id": "Wazuh-App-Overview-PM-Alerts-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview PM Alerts summary", - "visState": - "{\"title\":\"Wazuh App PM Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showMeticsAtAllLevels\":false,\"showPartialRows\":false,\"showTotal\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":9999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.title\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Control\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview PM Alerts summary", + "visState": "{\"title\":\"Wazuh App Overview PM Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showMeticsAtAllLevels\":false,\"showPartialRows\":false,\"showTotal\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Control\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"language\":\"lucene\",\"query\":\"rule.groups:\\\"rootcheck\\\"\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-OSCAP-Last-score", @@ -767,19 +763,18 @@ }, { "_id": "Wazuh-App-Overview-OSCAP-Last-alerts", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview OSCAP Last alerts", - "visState": - "{\"title\":\"Wazuh App Overview OSCAP Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.check.title\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Title\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.profile.title\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Profile\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.id\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Scan ID\"}},{\"id\":\"6\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.content\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Content\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview OSCAP Last alerts", + "visState": "{\"title\":\"Wazuh App Overview OSCAP Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":40,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.check.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Title\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.profile.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Profile\"}},{\"id\":\"6\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.content\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Content\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": - "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: oscap\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-Audit-New-files", @@ -1007,23 +1002,25 @@ "description": "", "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: audit AND rule.id: 80791\",\"language\":\"lucene\"}}" + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: audit AND rule.id: 80791\",\"language\":\"lucene\"}}" } } }, { "_id": "Wazuh-App-Overview-Audit-Last-alerts", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview Audit Last alerts", - "visState": "{\"title\":\"Wazuh App Overview Audit Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":1000,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Event\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.audit.exe\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Command\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, - "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: audit\",\"language\":\"lucene\"}}" - } - }, - "_type": "visualization" + "title": "Wazuh App Overview Audit Last alerts", + "visState": "{\"title\":\"Wazuh App Overview Audit Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Event\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.audit.exe\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Command\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, + "kibanaSavedObjectMeta": { + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: audit\",\"language\":\"lucene\"}}" + } + } }, { "_id": "Wazuh-App-Overview-PCI-DSS-Requirements-heatmap", @@ -1103,19 +1100,18 @@ }, { "_id": "Wazuh-App-Overview-PCI-DSS-Last-alerts", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview PCI DSS Last alerts", - "visState": - "{\"title\":\"Wazuh App Overview PCI DSS Last Alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent name\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.pci_dss\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Requirement\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule description\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview PCI DSS Last alerts", + "visState": "{\"title\":\"Wazuh App Overview PCI DSS Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent name\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.pci_dss\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Requirement\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule description\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":3,\"direction\":\"desc\"}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"_exists_:rule.pci_dss\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Manager-Ruleset-Rules-Top-24h-Groups", @@ -1275,35 +1271,33 @@ }, { "_id": "Wazuh-App-Agents-Overview-Alerts-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents Overview Alerts summary", - "visState": - "{\"title\":\"Wazuh App Agents Overview Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.id\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule ID\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":1,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.level\",\"size\":1,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Level\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Agents Overview Alerts summary", + "visState": "{\"title\":\"Wazuh App Agents Overview Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.id\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule ID\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":1,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.level\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":1,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Level\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Agents-Overview-Groups-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents Overview Groups summary", - "visState": - "{\"title\":\"Wazuh App Agents Overview Groups summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.groups\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Group\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Agents Overview Groups summary", + "visState": "{\"title\":\"Wazuh App Agents Overview Groups summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.groups\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Group\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Agents-FIM-Users", @@ -1419,19 +1413,18 @@ }, { "_id": "Wazuh-App-Agents-FIM-Alerts-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents FIM Alerts summary", - "visState": - "{\"title\":\"Wazuh App Agents FIM Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"syscheck.path\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"File\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"syscheck.event\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Event\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Agents FIM Alerts summary", + "visState": "{\"title\":\"Wazuh App Agents FIM Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"syscheck.path\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"File\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: syscheck\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Agents-PM-Alerts-over-time", @@ -1483,19 +1476,18 @@ }, { "_id": "Wazuh-App-Agents-PM-Alerts-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents PM Alerts summary", - "visState": - "{\"title\":\"Wazuh App Agents PM Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent name\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.title\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Control\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Agents PM Alerts summary", + "visState": "{\"title\":\"Wazuh App Agents PM Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule description\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Control\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: rootcheck\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Agents-OSCAP-Higher-score-metric", @@ -1691,19 +1683,18 @@ }, { "_id": "Wazuh-App-Agents-OSCAP-Last-alerts", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents OSCAP Last alerts", - "visState": - "{\"title\":\"Wazuh App Agents OSCAP Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent name\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.check.title\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Title\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.profile.title\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Profile\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.id\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Scan ID\"}},{\"id\":\"6\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.content\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Content\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Agents OSCAP Last alerts", + "visState": "{\"title\":\"Wazuh App Agents OSCAP Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":1,\"direction\":\"asc\"},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.check.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Title\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.profile.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Profile\"}},{\"id\":\"6\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.oscap.scan.content\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Content\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":4,\"direction\":\"desc\"}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": - "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"data.oscap.check.result: fail AND rule.groups: oscap\",\"language\":\"lucene\"}}" + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: oscap\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Agents-Audit-New-files-metric", @@ -1929,17 +1920,18 @@ }, { "_id": "Wazuh-App-Agents-Audit-Last-alerts", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents Audit Last alerts", - "visState": "{\"title\":\"Wazuh App Agents Audit Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent name\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":1000,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Event\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.audit.exe\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Command\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", - "description": "", - "version": 1, - "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: audit\",\"language\":\"lucene\"}}" - } - }, - "_type": "visualization" + "title": "Wazuh App Agents Audit Last alerts", + "visState": "{\"title\":\"Wazuh App Agents Audit Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Event\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.audit.exe\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Command\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.audit.type\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Type\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}", + "description": "", + "version": 1, + "kibanaSavedObjectMeta": { + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: audit\",\"language\":\"lucene\"}}" + } + } }, { "_id": "Wazuh-App-Agents-PCI-Requirements", @@ -1974,19 +1966,18 @@ }, { "_id": "Wazuh-App-Agents-PCI-Last-alerts", + "_type": "visualization", "_source": { - "title": "Wazuh App Agents PCI Last alerts", - "visState": - "{\"title\":\"Wazuh App Agents PCI Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"agent.name\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Agent name\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.pci_dss\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Requirement\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule description\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":2,\"direction\":\"asc\"}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Agents PCI Last alerts", + "visState": "{\"title\":\"Wazuh App Agents PCI Last alerts\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":2,\"direction\":\"asc\"},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.pci_dss\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Requirement\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Rule description\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":2,\"direction\":\"desc\"}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": + "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"_exists_:rule.pci_dss\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-AWS-Metric-Authorize-security", @@ -2116,17 +2107,18 @@ }, { "_id": "Wazuh-App-Overview-AWS-Alerts-summary", + "_type": "visualization", "_source": { - "title": "Wazuh App Overview AWS Alerts summary", - "visState": "{\"title\":\"Wazuh App Overview AWS Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"manager.name\",\"size\":500,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Manager\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"GeoLocation.country_name\",\"size\":500,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Country\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"size\":999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":3,\"direction\":\"desc\"}}},\"spy\":{\"mode\":{\"name\":null,\"fill\":false}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview AWS Alerts summary", + "visState": "{\"title\":\"Wazuh App Overview AWS Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":3,\"direction\":\"desc\"},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"manager.name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Manager\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"GeoLocation.country_name\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Country\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"rule.description\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Description\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":3,\"direction\":\"desc\"}}},\"spy\":{\"mode\":{\"name\":null,\"fill\":false}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { - "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon\",\"language\":\"lucene\"}}" + "searchSourceJSON": + "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: amazon\",\"language\":\"lucene\"}}" } - }, - "_type": "visualization" + } }, { "_id": "Wazuh-App-Overview-Virustotal-Last-Files-Pie", @@ -2272,11 +2264,11 @@ "_id": "Wazuh-App-Overview-VULS-Alerts-summary", "_type": "visualization", "_source": { - "title": "Wazuh App Overview VULS Alerts summary", - "visState": "{\"title\":\"Wazuh App Overview VULS Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.cve\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"CVE\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.severity\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Severity\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.title\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Title\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.updated\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Updated\"}},{\"id\":\"6\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.reference\",\"size\":999999,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Reference\"}}]}", - "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":5,\"direction\":\"desc\"}}}}", - "description": "", - "version": 1, + "title": "Wazuh App Overview VULS Alerts summary", + "visState": "{\"title\":\"Wazuh App Overview VULS Alerts summary\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":5,\"direction\":\"desc\"},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.cve\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":50,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"CVE\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.severity\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Severity\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.title\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Title\"}},{\"id\":\"5\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.updated\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Updated\"}},{\"id\":\"6\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"data.vulnerability.reference\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"customLabel\":\"Reference\"}}]}", + "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":5,\"direction\":\"desc\"}}}}", + "description": "", + "version": 1, "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"index\":\"wazuh-alerts\",\"filter\":[],\"query\":{\"query\":\"rule.groups: vulnerability-detector\",\"language\":\"lucene\"}}" }