Skip to content

Commit

Permalink
Bugfix pinned agent framework mitre (#3035)
Browse files Browse the repository at this point in the history
* Added subscribe on filters of framework mitre.

* Updated CHANGELOG
  • Loading branch information
gabiwassan authored and frankeros committed Mar 9, 2021
1 parent cf5ca98 commit 538c986
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
17 changes: 2 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,17 @@ All notable changes to the Wazuh app project will be documented in this file.
### Added

- Refactor of some prompts [#3015](https://github.com/wazuh/wazuh-kibana-app/pull/3015)

## Wazuh v4.1.1 - Kibana 7.10.0 , 7.10.2 - Revision 4103
- Add `run_as` setting to example host configuration in Add new API view [#3021](https://github.com/wazuh/wazuh-kibana-app/pull/3021)

### Fixed


- Creating a role mapping before the existing ones are loaded, the page bursts [#3001](https://github.com/wazuh/wazuh-kibana-app/issues/3001)
- Fix SCA policy detail showing name and check results about another policy [#3007](https://github.com/wazuh/wazuh-kibana-app/pull/3007)
- Fix pagination in SCA checks table when expand some row [#3018](https://github.com/wazuh/wazuh-kibana-app/pull/3018)
- Fix manager is shown in suggestions in Agents section [#3025](https://github.com/wazuh/wazuh-kibana-app/pull/3025)
- Fix pinned agents don't trigger a new filtered query [#3030](https://github.com/wazuh/wazuh-kibana-app/pull/3030)
- Fix disabled loading on inventory when request fail [#3016](https://github.com/wazuh/wazuh-kibana-app/issues/3016)
- Fix restarting selected cluster instead of all of them [#3032](https://github.com/wazuh/wazuh-kibana-app/pull/3032)


## Wazuh v4.1.1 - Kibana 7.10.0 , 7.10.2 - Revision 4103

### Fixed

- Add `run_as` setting to example host configuration in Add new API view [#3021](https://github.com/wazuh/wazuh-kibana-app/pull/3021)

## Wazuh v4.1.1 - Kibana 7.10.0 , 7.10.2 - Revision 4103

### Fixed

- Overlay Wazuh menu when Kibana menu is opened or docked [#3038](https://github.com/wazuh/wazuh-kibana-app/pull/3038)

## Wazuh v4.1.1 - Kibana 7.10.0 , 7.10.2 - Revision 4103
Expand Down
5 changes: 5 additions & 0 deletions public/components/overview/mitre/mitre.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,15 @@ export class Mitre extends Component {
const query = scope.state.query;
const { filters, time} = this.state.filterParams;
this.setState({filterParams: {query, filters, time}})
this.filtersSubscriber = this.filterManager.getUpdates$().subscribe(() => {
this.onFiltersUpdated(this.filterManager.getFilters())
});

await this.buildTacticsObject();
}

componentWillUnmount() {
this.filtersSubscriber.unsubscribe();
this._isMount = false;
}

Expand Down

0 comments on commit 538c986

Please sign in to comment.