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

Replace search bar on Agent > Inventory data #5443

Merged
merged 118 commits into from
Aug 11, 2023

Conversation

Desvelao
Copy link
Member

@Desvelao Desvelao commented May 15, 2023

Description

This pull request replaces the search bar and table components with the TableWzAPI on Agent/Inventory data.

Affected section:

  • Agents > {agent_name} > Inventory data

Due to the usage of TableWzAPI, the tables are enhanced with some buttons to export the data to CSV, refresh the data or search.

It depends on #5442

Issues Resolved

#4312

Evidence

image
image
image
image

Table - Agents > {agent_id} > Inventory data > Network interfaces
Suggestions:

field get distinct values searchable
mac GET /syscollector/{agent.id}/netiface?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
mtu GET /syscollector/{agent.id}/netiface?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
name GET /syscollector/{agent.id}/netiface?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
state GET /syscollector/{agent.id}/netiface?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
type GET /syscollector/{agent.id}/netiface?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}

Table - Agents > {agent_id} > Inventory data > Network ports
Suggestions:

field get distinct values searchable
local.ip GET /syscollector/{agent.id}/ports?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
local.port GET /syscollector/{agent.id}/ports?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
protocol GET /syscollector/{agent.id}/ports?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
state GET /syscollector/{agent.id}/ports?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}

Table - Agents > {agent_id} > Inventory data > Network settings
Suggestions:

field get distinct values searchable
address GET /syscollector/{agent.id}/netaddr?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
broadcast GET /syscollector/{agent.id}/netaddr?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
iface GET /syscollector/{agent.id}/netaddr?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
netmask GET /syscollector/{agent.id}/netaddr?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
proto GET /syscollector/{agent.id}/netaddr?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}

Table - Agents > {agent_id} > Inventory data > Windows updates
Suggestions:

field get distinct values searchable
hotfix GET /syscollector/{agent.id}/hotfixes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}

Table - Agents > {agent_id} > Inventory data > Packages
Suggestions:

field get distinct values searchable
architecture GET /syscollector/{agent.id}/packages?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
description GET /syscollector/{agent.id}/packages?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
name GET /syscollector/{agent.id}/packages?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
vendor GET /syscollector/{agent.id}/packages?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
version GET /syscollector/{agent.id}/packages?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}

Table - Agents > {agent_id} > Inventory data > Processes
Suggestions:

field get distinct values searchable
argvs GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
cmd GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
egroup GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
euser GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
name GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
nice GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
pid GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
ppid GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
session GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
size GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
state GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}
vm_size GET /syscollector/{agent.id}/processes?distinct=true&limit=30&select={field}&sort=+{field}&q={currentValue}

Test

Use a Wazuh manager

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Agents > {Agent ID} > Inventory data > Network interfaces: For each suggested field, check the value suggestion display results or at least doesn't break
Agents > {Agent ID} > Inventory data > Network interfaces: Using a value suggested should allow to run the search
Agents > {Agent ID} > Inventory data > Network interfaces: Type a term and run the search should search in each displayed field
Agents > {Agent ID} > Inventory data > Network interfaces: Type a simple field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Network interfaces: Type a complex field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Refresh button should refresh the data
Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Export formatted button should refresh export the data to CSV
Agents > {Agent ID} > Inventory data > Network ports : For each suggested field, check the value suggestion display results or at least doesn't break
Agents > {Agent ID} > Inventory data > Network ports: Using a value suggested should allow to run the search
Agents > {Agent ID} > Inventory data > Network ports: Type a term and run the search should search in each displayed field
Agents > {Agent ID} > Inventory data > Network ports: Type a simple field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Network ports: Type a complex field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Refresh button should refresh the data
Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Export formatted button should refresh export the data to CSV
Agents > {Agent ID} > Inventory data > Network settings : For each suggested field, check the value suggestion display results or at least doesn't break
Agents > {Agent ID} > Inventory data > Network settings: Using a value suggested should allow to run the search
Agents > {Agent ID} > Inventory data > Network settings: Type a term and run the search should search in each displayed field
Agents > {Agent ID} > Inventory data > Network settings: Type a simple field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Network settings: Type a complex field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Refresh button should refresh the data
Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Export formatted button should refresh export the data to CSV
Agents > {Agent ID} > Inventory data > Packages : For each suggested field, check the value suggestion display results or at least doesn't break
Agents > {Agent ID} > Inventory data > Packages: Using a value suggested should allow to run the search
Agents > {Agent ID} > Inventory data > Packages: Type a term and run the search should search in each displayed field
Agents > {Agent ID} > Inventory data > Packages: Type a simple field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Packages: Type a complex field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Packages: Clicking on the Refresh button should refresh the data
Agents > {Agent ID} > Inventory data > Packages: Clicking on the Export formatted button should refresh export the data to CSV
Agents > {Agent ID} > Inventory data > Processes : For each suggested field, check the value suggestion display results or at least doesn't break
Agents > {Agent ID} > Inventory data > Processes: Using a value suggested should allow to run the search
Agents > {Agent ID} > Inventory data > Processes: Type a term and run the search should search in each displayed field
Agents > {Agent ID} > Inventory data > Processes: Type a simple field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Processes: Type a complex field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Processes: Clicking on the Refresh button should refresh the data
Agents > {Agent ID} > Inventory data > Processes: Clicking on the Export formatted button should refresh export the data to CSV
Agents > {Agent ID} > Inventory data > Windows updates : For each suggested field, check the value suggestion display results or at least doesn't break
Agents > {Agent ID} > Inventory data > Windows updates: Using a value suggested should allow to run the search
Agents > {Agent ID} > Inventory data > Windows updates: Type a term and run the search should search in each displayed field
Agents > {Agent ID} > Inventory data > Windows updates: Type a simple field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Windows updates: Type a complex field search and this should returns the expected results
Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Refresh button should refresh the data
Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Export formatted button should refresh export the data to CSV

Details

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: Using a value suggested should allow to run the search

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: Type a term and run the search should search in each displayed field

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: Type a simple field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: Type a complex field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Refresh button should refresh the data

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports: Using a value suggested should allow to run the search

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports: Type a term and run the search should search in each displayed field

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports: Type a simple field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports: Type a complex field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Refresh button should refresh the data

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings: Using a value suggested should allow to run the search

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings: Type a term and run the search should search in each displayed field

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings: Type a simple field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings: Type a complex field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Refresh button should refresh the data

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages: Using a value suggested should allow to run the search

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages: Type a term and run the search should search in each displayed field

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages: Type a simple field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages: Type a complex field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages: Clicking on the Refresh button should refresh the data

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Packages: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes: Using a value suggested should allow to run the search

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes: Type a term and run the search should search in each displayed field

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes: Type a simple field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes: Type a complex field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes: Clicking on the Refresh button should refresh the data

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Processes: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates: Using a value suggested should allow to run the search

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates: Type a term and run the search should search in each displayed field

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates: Type a simple field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates: Type a complex field search and this should returns the expected results

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Refresh button should refresh the data

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

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

Desvelao and others added 30 commits February 16, 2023 12:50
Features:
- Supports multiple query languages
- Decouple the business logic of query languages of the search bar
  component
- Ability of query language to interact with the search bar

Query language implementations
- AQL: custom implementation of the Wazuh Query Language. Include
  suggestions.
- UIQL: simple implementation (as another example)
…ression used in the Wazuh manager API

- Change the implementation of AQL query language to use the regular
  expression decomposition defined in the Wazuh manager API
- Adapt the tests for the tokenizer and getting the suggestions
- Enchance documentation of search bar
- Add documentation of AQL query language
- Add more fields and values for the use example in Agents section
- Add description to the query language select input
…using the Search suggestion in AQL

- Fixes a problem hidding the suggestion popover when using the Search
  suggestion in AQL
- Fixes a problem of input text with undefined value
- Minor fixes
  - Remove `syntax` property of SearchBar component
  - Add disableFocusTrap property to the custom EuiSuggestInput component to be
    forwarded to the EuiInputPopover
  - Replace the inputRef by a reference instead of a state and pass as
    a parameter in the query language run function
  - Move the rebuiding of input text when using some suggestion that changes
    the input to be done when a related suggestion was clicked instead
    of any suggestion (exclude Search).
implemenation

- Add the ability to update the input of the search bar in the example
  implementation
- Enhance the component documentation
- (AQL) Add the fields and an open operator group when there is no input text
link of query language displayed in the popover
- AQL enhancements:
  - documentation:
    - Enhance some descriptions
    - Enhance input processing
    - Remove intermetiate interface of EuiSuggestItem
  - Remove the intermediate interface of EuiSuggestItem. Now it is
    managed in the internal of query language instead of be built by the
    suggestion handler
  - Display suggestions when the input text is empty
  - Add the unifiedQuery field to the query language output
  - Adapt tests

- Search Bar component:
  - Enhance documentation
- Remove UIQL
- Add HAQL query language that is a high-level implementation of AQL
  - Add the query language interface
  - Add tests for tokenizer, get suggestions and
    transformSpecificQLToUnifiedQL method
  - Add documentation about the language
    - Syntax
    - Options
    - Workflow
- Add tests to HAQL and AQL query languages
- Fix suggestions for HAQL when typing as first element a value entity.
  Now there are no suggestions because the field and operator_compare
  are missing.
- Enhance documentation of HAQL and AQL
- Removed unnecesary returns of suggestion handler in the example
  implementation of search bar on Agents section
- Rename query language HAQL to WQL
- Update tests
- Remove AQL usage from the implementation in the agents section
- Add more use cases to the test of WQL query language
- Replace some literals by constants in the WQL query language
  implementation
- WQL
  - add implicit query mode to WQL
  - enhance query language documentation
  - renamed transformUnifiedQuery to transformUQLToQL
  - now wraps the user input if this is defined and there a implicit
    query string
  - fix a problem with the value suggestions if there is a previous
    conjunction
    - add tests cases
  - update tests
- AQL
  - enhance query language documentation
  - renamed transformUnifiedQuery to transformUQLToQL
  - add warning about the query language implementation is not updated
    to the last changes in the search bar component
  - update tests

- Search Bar
  - renamed transformUnifiedQuery to transformUQLToQL
- Set a width for the syntax options popover
- Unify the description in the suggestions of WQL example implementation
- Update tests
- Fix minor bugs in the WQL example implementation in Agents
- WQL
  - Enhance documentation
  - Add partial and "expanded" input validation
  - Add tests
…feat/4312-poc-search-bar-component-multiple-query-language-api-query-language-implementation
Fix an error when the last token in the input was a value and used
a value suggestion whose label contains whitespaces, the value was
not wrapped with quotes.
…uery-language-api-query-language-implementation
…uery-language-api-query-language-implementation
…earch term fields changed

- Search bar:
  - Add a dependency to run the query language output
  - Adapt search bar documentation to the changes
- WQL
  - Create a new parameter called `options`
  - Moved the `implicitFilter` and `searchTerm` settings to `options`
  - Update tests
  - Update documentation
@chantal-kelm
Copy link
Member

chantal-kelm commented Aug 9, 2023

Test

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Agents > {Agent ID} > Inventory data > Network interfaces: For each suggested field, check the value suggestion display results or at least doesn't break 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network interfaces: Using a value suggested should allow to run the search 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network interfaces: Type a term and run the search should search in each displayed field 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network interfaces: Type a simple field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network interfaces: Type a complex field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Refresh button should refresh the data 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Export formatted button should refresh export the data to CSV 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports : For each suggested field, check the value suggestion display results or at least doesn't break 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports: Using a value suggested should allow to run the search 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports: Type a term and run the search should search in each displayed field 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports: Type a simple field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports: Type a complex field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Refresh button should refresh the data 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Export formatted button should refresh export the data to CSV 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings : For each suggested field, check the value suggestion display results or at least doesn't break 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings: Using a value suggested should allow to run the search 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings: Type a term and run the search should search in each displayed field 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings: Type a simple field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings: Type a complex field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Refresh button should refresh the data 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Export formatted button should refresh export the data to CSV 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages : For each suggested field, check the value suggestion display results or at least doesn't break 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages: Using a value suggested should allow to run the search 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages: Type a term and run the search should search in each displayed field 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages: Type a simple field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages: Type a complex field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages: Clicking on the Refresh button should refresh the data 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Packages: Clicking on the Export formatted button should refresh export the data to CSV 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes : For each suggested field, check the value suggestion display results or at least doesn't break 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes: Using a value suggested should allow to run the search 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes: Type a term and run the search should search in each displayed field 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes: Type a simple field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes: Type a complex field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes: Clicking on the Refresh button should refresh the data 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Processes: Clicking on the Export formatted button should refresh export the data to CSV 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates : For each suggested field, check the value suggestion display results or at least doesn't break 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates: Using a value suggested should allow to run the search 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates: Type a term and run the search should search in each displayed field 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates: Type a simple field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates: Type a complex field search and this should returns the expected results 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Refresh button should refresh the data 🟢 🟢 🟢
Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Export formatted button should refresh export the data to CSV 🟢 🟢 🟢

Details

🟢 Agents > {Agent ID} > Inventory data > Network interfaces: For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 08 53 16 Captura de pantalla 2023-08-09 a la(s) 11 08 37 Captura de pantalla 2023-08-09 a la(s) 11 10 12

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 32 08 Captura de pantalla 2023-08-09 a la(s) 12 31 54

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 33 50 Captura de pantalla 2023-08-09 a la(s) 12 33 43
🟢 Agents > {Agent ID} > Inventory data > Network interfaces: Using a value suggested should allow to run the search

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 12 06

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 36 22

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 36 35
🟢 Agents > {Agent ID} > Inventory data > Network interfaces: Type a term and run the search should search in each displayed field

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 29 25

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 38 35

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 38 47
🟢 Agents > {Agent ID} > Inventory data > Network interfaces: Type a simple field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 08 26 19

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 42 34

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 42 49
🟢 Agents > {Agent ID} > Inventory data > Network interfaces: Type a complex field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 08 40 40

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 45 00

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 45 15
🟢 Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Refresh button should refresh the data

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.08.41.39.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.12.47.24.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.12.47.53.mov
🟢 Agents > {Agent ID} > Inventory data > Network interfaces: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.08.43.12.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.12.50.52.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.12.52.15.mov
🟢 Agents > {Agent ID} > Inventory data > Network ports : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 39 10 Captura de pantalla 2023-08-09 a la(s) 11 39 18

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 55 48 Captura de pantalla 2023-08-09 a la(s) 12 55 54

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 56 18 Captura de pantalla 2023-08-09 a la(s) 12 56 13
🟢 Agents > {Agent ID} > Inventory data > Network ports: Using a value suggested should allow to run the search

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 41 34

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 57 48

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 57 57
🟢 Agents > {Agent ID} > Inventory data > Network ports: Type a term and run the search should search in each displayed field

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 42 44

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 59 30

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 12 59 42
🟢 Agents > {Agent ID} > Inventory data > Network ports: Type a simple field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 08 50 24

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 01 34

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 01 49
🟢 Agents > {Agent ID} > Inventory data > Network ports: Type a complex field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 08 51 47

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 04 16

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 04 30
🟢 Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Refresh button should refresh the data

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.08.52.20.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.07.09.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.07.26.mov
🟢 Agents > {Agent ID} > Inventory data > Network ports: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.08.52.20.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.13.56.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.14.10.mov
🟢 Agents > {Agent ID} > Inventory data > Network settings : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 44 51

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 28 01 Captura de pantalla 2023-08-09 a la(s) 13 28 12

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 28 36 Captura de pantalla 2023-08-09 a la(s) 13 28 27
🟢 Agents > {Agent ID} > Inventory data > Network settings: Using a value suggested should allow to run the search

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 45 55

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 35 22

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 35 33
🟢 Agents > {Agent ID} > Inventory data > Network settings: Type a term and run the search should search in each displayed field

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 46 57

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 37 39

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 37 54
🟢 Agents > {Agent ID} > Inventory data > Network settings: Type a simple field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 10 06 16

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 39 53

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 40 08
🟢 Agents > {Agent ID} > Inventory data > Network settings: Type a complex field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 10 07 08

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 41 15

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 13 41 30
🟢 Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Refresh button should refresh the data

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.10.08.09.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.43.37.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.44.00.mov
🟢 Agents > {Agent ID} > Inventory data > Network settings: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.10.09.11.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.46.14.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.13.46.39.mov
🟢 Agents > {Agent ID} > Inventory data > Packages : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 48 21 Captura de pantalla 2023-08-09 a la(s) 11 49 04

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 01 36 Captura de pantalla 2023-08-09 a la(s) 14 01 26

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 02 02 Captura de pantalla 2023-08-09 a la(s) 14 01 54
🟢 Agents > {Agent ID} > Inventory data > Packages: Using a value suggested should allow to run the search

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 50 59

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 03 43

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 04 15
🟢 Agents > {Agent ID} > Inventory data > Packages: Type a term and run the search should search in each displayed field

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 49 47

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 06 25

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 07 05
🟢 Agents > {Agent ID} > Inventory data > Packages: Type a simple field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 10 11 01

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 08 07

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 08 37
🟢 Agents > {Agent ID} > Inventory data > Packages: Type a complex field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 10 12 05

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 13 57

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 10 06
🟢 Agents > {Agent ID} > Inventory data > Packages: Clicking on the Refresh button should refresh the data

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.10.12.53.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.14.03.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.11.35.mov
🟢 Agents > {Agent ID} > Inventory data > Packages: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.10.14.46.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.15.26.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.16.15.mov
🟢 Agents > {Agent ID} > Inventory data > Processes : For each suggested field, check the value suggestion display results or at least doesn't break

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 52 27 Captura de pantalla 2023-08-09 a la(s) 11 53 39

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 17 27 Captura de pantalla 2023-08-09 a la(s) 14 16 56

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 19 07 Captura de pantalla 2023-08-09 a la(s) 14 19 20
🟢 Agents > {Agent ID} > Inventory data > Processes: Using a value suggested should allow to run the search

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 54 27

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 20 03

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 20 09
🟢 Agents > {Agent ID} > Inventory data > Processes: Type a term and run the search should search in each displayed field

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 11 55 43

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 21 13

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 21 50
🟢 Agents > {Agent ID} > Inventory data > Processes: Type a simple field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 10 16 19

Firefox - ⚫

Safari - ⚫

🟢 Agents > {Agent ID} > Inventory data > Processes: Type a complex field search and this should returns the expected results

Chrome - 🟢

Captura de pantalla 2023-08-09 a la(s) 10 17 24

Firefox - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 23 18

Safari - 🟢

Captura de pantalla 2023-08-09 a la(s) 14 24 24
🟢 Agents > {Agent ID} > Inventory data > Processes: Clicking on the Refresh button should refresh the data

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.10.18.03.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.25.39.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.25.56.mov
🟢 Agents > {Agent ID} > Inventory data > Processes: Clicking on the Export formatted button should refresh export the data to CSV

Chrome - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.10.19.09.mov

Firefox - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.26.44.mov

Safari - 🟢

Grabacion.de.pantalla.2023-08-09.a.la.s.14.26.57.mov
🟢 Agents > {Agent ID} > Inventory data > Windows updates : For each suggested field, check the value suggestion display results or at least doesn't break Captura de pantalla 2023-08-09 a la(s) 13 16 46
🟢 Agents > {Agent ID} > Inventory data > Windows updates: Using a value suggested should allow to run the search Captura de pantalla 2023-08-09 a la(s) 13 17 26
🟢 Agents > {Agent ID} > Inventory data > Windows updates: Type a term and run the search should search in each displayed field Captura de pantalla 2023-08-09 a la(s) 13 19 20
🟢 Agents > {Agent ID} > Inventory data > Windows updates: Type a simple field search and this should returns the expected results Captura de pantalla 2023-08-09 a la(s) 13 17 26
🟢 Agents > {Agent ID} > Inventory data > Windows updates: Type a complex field search and this should returns the expected results Captura de pantalla 2023-08-09 a la(s) 13 18 34
🟢 Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Refresh button should refresh the data Captura de pantalla 2023-08-09 a la(s) 13 19 20
🟢 Agents > {Agent ID} > Inventory data > Windows updates: Clicking on the Export formatted button should refresh export the data to CSV Captura de pantalla 2023-08-09 a la(s) 13 19 36

asteriscos
asteriscos previously approved these changes Aug 9, 2023
@chantal-kelm chantal-kelm self-requested a review August 9, 2023 18:39
chantal-kelm
chantal-kelm previously approved these changes Aug 9, 2023
@Desvelao Desvelao dismissed stale reviews from chantal-kelm and asteriscos via 97b590c August 10, 2023 07:06
asteriscos
asteriscos previously approved these changes Aug 10, 2023
@chantal-kelm chantal-kelm self-requested a review August 10, 2023 15:22
chantal-kelm
chantal-kelm previously approved these changes Aug 10, 2023
@Desvelao Desvelao dismissed stale reviews from chantal-kelm and asteriscos via a9a6564 August 11, 2023 13:28
@chantal-kelm chantal-kelm self-requested a review August 11, 2023 13:28
@Desvelao Desvelao merged commit 0656efb into 4.6.0 Aug 11, 2023
@Desvelao Desvelao deleted the feat/4312-replace-search-bar-agent-inventory branch August 11, 2023 13:28
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 11.32% ( 3962 / 34981 )
Branches 7.47% ( 1775 / 23757 )
Functions 10.64% ( 896 / 8419 )
Lines 11.5% ( 3849 / 33463 )

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.

New search bar component
3 participants