Skip to content

Commit

Permalink
[FIX][Modules][Events] Fixed cell enhancement when the value is a sub…
Browse files Browse the repository at this point in the history
… technique (#3944)

* fix: Fixed enhancement of button for the `rule.mitre.id` when the value is a subtechnique

* changelog: Add PR to the changelog

* fix: Updated regex to enhance the `rule.mitre.id` cell in the Events tab of modules
  • Loading branch information
Desvelao authored Apr 6, 2022
1 parent 937cffc commit 08a1111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed the Events view multiple "The index pattern was refreshed successfully" toast [#3937](https://github.com/wazuh/wazuh-kibana-app/pull/3937)
- Fixed a rendering problem in the map visualizations [#3942](https://github.com/wazuh/wazuh-kibana-app/pull/3942)
- Parse error when using `#` character not at the beginning of the line [#3877](https://github.com/wazuh/wazuh-kibana-app/pull/3877)
- Fixed the `rule.mitre.id` cell enhancement that doesn't support values with sub techniques [#3944](https://github.com/wazuh/wazuh-kibana-app/pull/3944)

## Wazuh v4.2.6 - Kibana 7.10.2, 7.11.2, 7.12.1, 7.13.0, 7.13.1, 7.13.2, 7.13.3, 7.13.4, 7.14.0, 7.14.1, 7.14.2 - Revision 4207

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const EventsEnhanceDiscoverCell = {
},
currentTechnique: content
}), {
contentRegex: /(\w+)/g,
contentRegex: /(T\d+\.?(\d+)?)/g,
element: 'span'
}),
'syscheck.value_name': (content, rowData, element, options) => {
Expand Down

0 comments on commit 08a1111

Please sign in to comment.