Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panels for elastic and splunk #5278

Closed
wants to merge 335 commits into from
Closed

Conversation

chantal-kelm
Copy link
Contributor

Description

Added a folder to the project where the dashboards for Elastic will be located.

Sample data has been used to create and render the panels.

Issues Resolved

#5185

Evidence

image

image

Test

Indexing data, running environments, importing and exporting dashboards

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

AlexRuiz7 and others added 30 commits July 15, 2022 16:30
Sanitize report's inputs and usernames (#4330)

* Validate path parameters of the reports endpoint

* Remove leftover prop in the reporting-table component

* Fix typo in report name validtion

* Remove the return of reports path from the /reports endpoint

* Remove absolute file path on report not found

(cherry picked from commit 3c1e51c)
Added feature searchbar conjuntion parser (#4326)

* Refactored q interpreter and added tests

* Added test cases to wz-search-bar

* Refactored filters to object and added tests

* Modified regexp conjuntion

* Added readability in line

* Removed trim on query at parse to query object

* Fixed operators suggestion

(cherry picked from commit f8d0eb1)

Co-authored-by: Maximiliano Ibarra <[email protected]>
Add missing entry for [#4326](#4326)
* Added sortable by agent count option to the groups table

* Added changelog entry

Co-authored-by: Álex <[email protected]>
Sorting by agents in the table groups (#4323)

* Added sortable by agent count option to the groups table

* Added changelog entry

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 9079f07)

Co-authored-by: Ian Yenien Serrano <[email protected]>
Fix MD5 dependency (#4341)

Fix MD5 dependency

(cherry picked from commit 79661e4)

Co-authored-by: Álex <[email protected]>
* change of path

* CHANGELOG

* new constant

* update test

* updated constant name

* updated constant name

* Update CHANGELOG.md

* changelog: add PR entry

Co-authored-by: Álex <[email protected]>
Co-authored-by: Antonio David Gutiérrez <[email protected]>
Fixed errors in group reports (#4350)

* fix(reports): error generating group reports due to accessing to a property of undefined

- Fixed an error due to accessing to a property of undefined when the API request to get the group configuration failed due to token expiration or another error.
- Changed styles of `Agents in groups` title
- Fixed a problem with missing agents in the table for a group report.
  Now it gets all the agents.
- Removed unnecessary API request
- Optimized API requests to get the agent information required to print
  the agents in group's table
- Removed `manager_host` deprecated field:
  - Removed of monitoring template mapping
  - Removed field meaning
  - Removed displaying its value reports if the field `manager` doesn't exist

* changelog: add PR entry

* fix(reporting): replaced parameter type

* fix(reporting): replaced message when there are no agent in group

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 8ffce0e)
…es (#4385)

Fix modules settings persistence between updates (#4359)

* fix(plugin-initialize): migrate the host configuration in the registry file when changing the plugin version or revision

- Migrated the existent host configuration in the registry file when changing the
  plugin version or revision instead of remove it when it was rebuilt.
- Removed not necessary return statements
- Removed not necessary try/catch block
- Added some logs
- Enhanced some log messages
- Created tests for the migration registry file

* changelog: add PR entry

* changelog: removed new line

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 3e056c5)
…4381)

Fixed searchbar error on SCA Inventory table (#4367)

* Fixed searchbar error on SCA Inventory table

* Added suggestion empty array in constructor

(cherry picked from commit ebd8208)

Co-authored-by: Maximiliano Ibarra <[email protected]>
* Solve TypeError

* Add CHANGELOG

* Change request service

* Fix request's response structure

(cherry picked from commit 44a43cb)
* Review Wazuh.yml documentation

Remove unused settings. Centralize documentation. Add missing settings. Programatic file generation.

* Add Changelog

* Fix indentation for hosts in the wazuh.yml

Also fixes some TS warnings

* Deep copy the WAZUH_DEFAULT_APP_CONFIG object

(cherry picked from commit 1d44109)
* migrate wazuh cypress

* deleted workflow

* updated workflow for docker images

* deleted reports files

* updated workflows

* update workflow

* added new files

* Delete .DS_Store

* changed directory

* updated dockerfile

* add test cases and fix for PR 4418 and 4416 for directory changes (#4432)

* add test cases and fix for PR 4418 and 4416 for directory changes

* rollback decoders.page.js file for wzd

Co-authored-by: mauceballos <[email protected]>
Migrate wazuh cypress (#4344)

* migrate wazuh cypress

* deleted workflow

* updated workflow for docker images

* deleted reports files

* updated workflows

* update workflow

* added new files

* Delete .DS_Store

* changed directory

* updated dockerfile

* add test cases and fix for PR 4418 and 4416 for directory changes (#4432)

* add test cases and fix for PR 4418 and 4416 for directory changes

* rollback decoders.page.js file for wzd

Co-authored-by: mauceballos <[email protected]>
(cherry picked from commit e856b0b)

Co-authored-by: Matias Ezequiel Moreno <[email protected]>
* Added Synced stats and pending agents

* Added mocked column synced

* Changed pending position and color

* add agent-synced.tsx

* change date:data

* Update GET /agents/summary/status response handler

* add changelog

* Deprecated is_sync endpoint

* Created synced constants and updated endpoint definitions

Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: yenienserrano <[email protected]>
Co-authored-by: Álex <[email protected]>
* Added custom renderLabel functionality

* Added Windows Events tab in agent configuration

* Updated CHANGELOG

* Added log collection tests for command and windows event tabs

* Updated some test description

* Removed unused code and redefine some conditions

* Conditionals improves code readability

Co-authored-by: Álex <[email protected]>
[PR] Add agent synchronization statistics (#3874)

* Added Synced stats and pending agents

* Added mocked column synced

* Changed pending position and color

* add agent-synced.tsx

* change date:data

* Update GET /agents/summary/status response handler

* add changelog

* Deprecated is_sync endpoint

* Created synced constants and updated endpoint definitions

Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: yenienserrano <[email protected]>
Co-authored-by: Álex <[email protected]>
(cherry picked from commit 4457027)

Co-authored-by: Federico Rodriguez <[email protected]>
yenienserrano and others added 24 commits February 23, 2023 10:29
* Add ignore and restrict fields

* change labels

* add changelog

* Remove the last dot
* change RexExp

* add changelog
* add rel="noopener noreferrer"

* add changelog

* edit changelog

---------

Co-authored-by: Álex Ruiz <[email protected]>
Simplifies the images reciving the version to build as parameter
… of agents (#5266)

Remove trailing `-` character for OS value in the list of agents (#4828)

* Remove - character when version is empty

* Simplify field default value

* Add changelog

* Update CHANGELOG.md

* Update CHANGELOG.md

* Change group default value to -

* Conflit resolution

---------

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 6a50c9b)

Co-authored-by: Federico Rodriguez <[email protected]>
Bumps [angular-material](https://github.com/angular/material) from 1.1.18 to 1.2.5.
- [Release notes](https://github.com/angular/material/releases)
- [Changelog](https://github.com/angular/material/blob/master/CHANGELOG.md)
- [Commits](angular/material@v1.1.18...v1.2.5)

---
updated-dependencies:
- dependency-name: angular-material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [jwt-decode](https://github.com/auth0/jwt-decode) from 2.2.0 to 3.1.2.
- [Release notes](https://github.com/auth0/jwt-decode/releases)
- [Changelog](https://github.com/auth0/jwt-decode/blob/master/CHANGELOG.md)
- [Commits](auth0/jwt-decode@v2.2.0...v3.1.2)

---
updated-dependencies:
- dependency-name: jwt-decode
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [markdown-it-link-attributes](https://github.com/crookedneighbor/markdown-it-link-attributes) from 3.0.0 to 4.0.1.
- [Release notes](https://github.com/crookedneighbor/markdown-it-link-attributes/releases)
- [Changelog](https://github.com/crookedneighbor/markdown-it-link-attributes/blob/main/CHANGELOG.md)
- [Commits](crookedneighbor/markdown-it-link-attributes@v3.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: markdown-it-link-attributes
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tslint](https://github.com/palantir/tslint) from 5.20.1 to 6.1.3.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](palantir/tslint@5.20.1...6.1.3)

---
updated-dependencies:
- dependency-name: tslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [winston](https://github.com/winstonjs/winston) from 3.5.1 to 3.8.2.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](winstonjs/winston@v3.5.1...v3.8.2)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 1.3.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.21.4...v1.3.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 2.7.1 to 3.5.3.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](import-js/eslint-import-resolver-typescript@v2.7.1...v3.5.3)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [install](https://github.com/benjamn/install) from 0.10.4 to 0.13.0.
- [Release notes](https://github.com/benjamn/install/releases)
- [Commits](benjamn/install@v0.10.4...v0.13.0)

---
updated-dependencies:
- dependency-name: install
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [needle](https://github.com/tomas/needle) from 2.9.1 to 3.2.0.
- [Release notes](https://github.com/tomas/needle/releases)
- [Commits](https://github.com/tomas/needle/commits/v3.2.0)

---
updated-dependencies:
- dependency-name: needle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [angular-animate](https://github.com/angular/angular.js) from 1.7.8 to 1.8.3.
- [Release notes](https://github.com/angular/angular.js/releases)
- [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md)
- [Commits](angular/angular.js@v1.7.8...v1.8.3)

---
updated-dependencies:
- dependency-name: angular-animate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [typescript-eslint-parser](https://github.com/eslint/typescript-eslint-parser) from 18.0.0 to 22.0.0.
- [Release notes](https://github.com/eslint/typescript-eslint-parser/releases)
- [Changelog](https://github.com/eslint/typescript-eslint-parser/blob/master/CHANGELOG.md)
- [Commits](eslint/typescript-eslint-parser@v18.0.0...v22.0.0)

---
updated-dependencies:
- dependency-name: typescript-eslint-parser
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-plugin-filenames-simple](https://github.com/epaew/eslint-plugin-filenames-simple) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/epaew/eslint-plugin-filenames-simple/releases)
- [Changelog](https://github.com/epaew/eslint-plugin-filenames-simple/blob/master/CHANGELOG.md)
- [Commits](epaew/eslint-plugin-filenames-simple@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-filenames-simple
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [js2xmlparser](https://github.com/michaelkourlas/node-js2xmlparser) from 3.0.0 to 5.0.0.
- [Release notes](https://github.com/michaelkourlas/node-js2xmlparser/releases)
- [Changelog](https://github.com/michaelkourlas/node-js2xmlparser/blob/master/CHANGES.md)
- [Commits](michaelkourlas/node-js2xmlparser@v3.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: js2xmlparser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Map axios module
#5217)

Fix cannot read null properties bug in settings section (#5135)

* fixed bug cannot read null properties in settings section

* changelog

(cherry picked from commit 4c113f7)

Co-authored-by: Chantal Belén kelm <[email protected]>
…s section" (#5275)

Revert "[Backport 4.5] Fix cannot read null properties bug in settings section (#5217)"

This reverts commit 2548fe3.
#5276)

Fix cannot read null properties bug in settings section (#5135)

* fixed bug cannot read null properties in settings section

* changelog

(cherry picked from commit 4c113f7)

Co-authored-by: Chantal Belén kelm <[email protected]>
@chantal-kelm chantal-kelm changed the base branch from master to 4.5 March 9, 2023 20:46
@chantal-kelm chantal-kelm changed the base branch from 4.5 to master March 9, 2023 20:48
@chantal-kelm chantal-kelm deleted the panels-for-elastic-and-splunk branch March 9, 2023 20:55
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

Code coverage (Jest) % values
Statements 8.82% ( 3259 / 36933 )
Branches 4.53% ( 1300 / 28679 )
Functions 7.66% ( 701 / 9148 )
Lines 8.88% ( 3142 / 35367 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.