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

Create Wazuh Searchbar component #6711

Closed
25 tasks done
lucianogorza opened this issue May 27, 2024 · 3 comments · Fixed by #6716 or #6755
Closed
25 tasks done

Create Wazuh Searchbar component #6711

lucianogorza opened this issue May 27, 2024 · 3 comments · Fixed by #6716 or #6755
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@lucianogorza
Copy link
Contributor

lucianogorza commented May 27, 2024

Description

Currently, we are using the native OpenSearch search bar, and because we need to extend its functions, we are altering its functionality and appearance.

For example, there are filters that are fixed and should not be removable by the user, such as the manager/cluster or the pinned agent. To prevent users from removing these filters, we are modifying the displayed component to hide the remove button. However, in some specific cases, our modification is overwritten, resulting in unexpected behavior.

To address this and provide a more robust solution, we aim to create a new Wazuh Searchbar component that internally handles both fixed and user-added filters and displays them correctly.

Tasks

  • Create WzSearchbar component
  • Modify useSearchBar hook to return fixed and user filters
  • Implement new searchbar:
    • WzDiscover
    • Threat Hunting
    • Malware Detection
    • FIM
    • Mitre Att&ct
    • Vulnerability Detection
    • Virus Total
    • PCI DSS
    • GDPR
    • HIPAA
    • NIST
    • TSC
    • Docker
    • AWS
    • GC
    • GH
    • Office 365
    • Management Cluster Dashboard
  • Modify CustomSearchBar
  • Validate CustomSearchBar
    • GitHub Panel
    • Office 365 Panel
@lucianogorza lucianogorza self-assigned this May 27, 2024
@lucianogorza lucianogorza added level/task Task issue type/bug Bug issue labels May 27, 2024
@wazuhci wazuhci moved this to In progress in Release 4.9.0 May 27, 2024
@lucianogorza
Copy link
Contributor Author

New search bar implementation

WzDiscover

image

Threat Hunting

image

Malware Detection

image

FIM

image

Virus Total

image

@lucianogorza
Copy link
Contributor Author

lucianogorza commented May 28, 2024

Vulnerability Detection

image
image

Mitre Att&ct

image
image

PCS DSS

image
image

GDPR

image

HIPAA

image

NIST

image

TSC

image

Docker

image

AWS

image

Google Cloud

image

GitHub

image

Office 365

image

Cluster Dashboard

image

@lucianogorza
Copy link
Contributor Author

Modify CustomSearchBar

GitHub Panel

image

Office 365 Panel

image

@lucianogorza lucianogorza linked a pull request May 29, 2024 that will close this issue
6 tasks
@lucianogorza lucianogorza moved this from In progress to Pending review in Release 4.9.0 May 29, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.9.0 May 30, 2024
@wazuhci wazuhci moved this from In review to Pending final review in Release 4.9.0 May 30, 2024
@wazuhci wazuhci moved this from Pending final review to Done in Release 4.9.0 May 30, 2024
@jbiset jbiset linked a pull request Jun 11, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
2 participants