wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Add index not found message to each tab of the fim module

Open chantal-kelm opened this issue 1 year ago • 4 comments

Description

In the FIM module, when an index is not found, the dashboard loads but without data, the same happens in the inventory and events tab of the same module.

What we want: We want that if the index is not found the dashboard does not load and displays an index not found message, the same behaviour we want to happen in the inventory and events tab of the same module.

image image image

Issues Resolved

#6325

Evidence

image image image

Test

Go to the FIM module and check that each tab looks like the images attached in this PR.

Check List

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

chantal-kelm avatar Jan 16 '24 14:01 chantal-kelm

CR 🟡

Test 🟢

image image image

lucianogorza avatar Jan 17 '24 18:01 lucianogorza

Wazuh Core plugin code coverage (Jest) test % values
Statements 21.38% ( 176 / 823 )
Branches 19.45% ( 79 / 406 )
Functions 14.17% ( 36 / 254 )
Lines 21.57% ( 173 / 802 )

github-actions[bot] avatar Feb 21 '24 09:02 github-actions[bot]

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

github-actions[bot] avatar Feb 21 '24 09:02 github-actions[bot]

Main plugin code coverage (Jest) test % values
Statements 11.61% ( 4009 / 34514 )
Branches 7.69% ( 1753 / 22791 )
Functions 11.19% ( 925 / 8261 )
Lines 11.79% ( 3897 / 33053 )

github-actions[bot] avatar Feb 21 '24 09:02 github-actions[bot]

This change is postponed.

asteriscos avatar Apr 23 '24 12:04 asteriscos