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 new section for Mitre Intelligence #3291

Closed
2 tasks done
frankeros opened this issue May 21, 2021 · 6 comments
Closed
2 tasks done

Create new section for Mitre Intelligence #3291

frankeros opened this issue May 21, 2021 · 6 comments
Assignees
Labels
type/enhancement Enhancement issue

Comments

@frankeros
Copy link
Contributor

frankeros commented May 21, 2021

Parent Issue
#3202

Description
We need to create the new Intelligence section for Mitre using the new endpoints from the Wazuh API.
This new section must show all the resources of the Mitre DB and let the user navigate from the related resources on the same page.

Acceptance Criteria

  • The design must be based on proposal Research and propouse of the new desing of the MITRE section. #3214
  • All resources items can be listed from the sidebar
  • The items fields in the table should be corresponding to a selected resource
  • The items must be paginated
  • The columns displayed for each resource, should be the same in https://attack.mitre.org, minimum ID (external id), Name and Description
  • The list search bar should suggest filter by ID (external ID), name, and description (contains)
  • The resources search input should filter by the same fields but for all resources
  • The results for search input should display the top 5 of each resource (only if the resources has results), with the option to load more results
  • Opening more results should open the resources items table already filtered by the search key

Get the Wazuh API endpoints from #wazuh/wazuh/7819

  • Add the side bar with all resources links.
  • Add the table for all resources items.
@Desvelao
Copy link
Member

Desvelao commented May 27, 2021

Changes

  • Added new tab in MITRE ATT&CK module
    image
  • Added basic layout
    image
  • Working in general search bar
    image
  • Resource view
    image

TODO:

  • Left panel
    • Improve the resource button
  • Right panel
    • Improve the welcome view
    • Improve the Search results view

@Desvelao
Copy link
Member

Desvelao commented May 28, 2021

Changes

  • Improvements the resource button styles

No selected resource
image
When a resource is selected
image

  • Improvements in layout

Trying to display a scroll in the right panel

image

I was creating multiple POC for a component with the split panel (used in this section)

@Desvelao
Copy link
Member

Work branch feature/3291-mitre-attack-intelligence-section

@Desvelao
Copy link
Member

Desvelao commented Jun 1, 2021

Changes

  • Modify the Search results view
  • Improve useAsyncAction hook
  • Add Mitre Att&ck Intelligence to Agent modules component
  • Improve TableWithSearchBar component to accept filters as props
  • Refactor Mitre Atta&ck resources
  • Refator PanelSplit component
  • Fix filtersToObject helper
  • Update test

Notes:

  • The See more results is displayed when there are more results than the limit (5 at the current moment)
  • The filters added by See more results button is set for each resource. it should remove manually.

Screenshots
image

Clicking the See more results button, redirect to the resource view with a filter applied:
image

@Desvelao
Copy link
Member

Desvelao commented Jun 7, 2021

Changes

  • Modified the order of resource suggestions

@Desvelao
Copy link
Member

Changes

  • Removed welcome intelligence view and adjustments when doing a general search
  • Set a resource type as selected
  • Update test

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

No branches or pull requests

2 participants