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

Integrity monitoring files detail view #2156

Closed
juankaromo opened this issue Mar 25, 2020 · 2 comments
Closed

Integrity monitoring files detail view #2156

juankaromo opened this issue Mar 25, 2020 · 2 comments
Assignees
Labels
type/enhancement Enhancement issue UI/UX Generic label for things related to the font-end side
Projects

Comments

@juankaromo
Copy link
Contributor

Hi team,

We are going to implement a new view, using a Flyout component, to see the detail of a monitored FIM file.

In it, we are going to show the details of the file, besides a history of alerts that happened in that file.

To make this history, a component that can be reused by other modules in the future will be made.

The result has to be this:

image

Regards,

@juankaromo juankaromo added type/enhancement Enhancement issue UI/UX Generic label for things related to the font-end side NEW APP labels Mar 25, 2020
@juankaromo juankaromo added this to the Sprint 109 milestone Mar 25, 2020
@pablotr9 pablotr9 self-assigned this Mar 31, 2020
@juankaromo juankaromo modified the milestones: Sprint 109, Sprint 110 Apr 6, 2020
@juankaromo juankaromo added this to In progress in Wazuh 3.13 Apr 16, 2020
@Joanes04
Copy link
Contributor

Update

We have added, in the detail view, some fields that can be clicked to add a filter to the FIM file table. The operation is as seen in the GIF:

links

@pablotr9
Copy link
Contributor

Update

FIM table, we can now click in a file to get extra detail, these extra details can be divided in 2 different sections:

  1. File details:
    All details from the API requests 'GET /syscheck/<AGENT_ID>' are shown
    image

  2. Related alerts:
    It lists the related alerts of that file, we can add new filters or change the date range to filter these alerts:
    image
    We can also expand these new alerts to check its information: Table (syscheck alerts), JSON (it shows the full alert JSON) and Rule (It shows rule data like location, level, compliance)
    image

To do that we have adapted our backend method to make requests to Elasticsearch ( POST /elastic/alerts ).
The method now accepts both Elasticsearch bool query and a list of key:values filters, this is how the new method looks like:

  POST /elastic/alerts
   {
     elasticQuery: {bool: {must: [], filter: [{match_all: {}}], should: [], must_not: []}}
     filters: [{rule.groups: "syscheck"}, {agent.id: "001"} ]
     from: "now-1y"
     to: "now"
     offset: 0
     pattern: "wazuh-alerts-3.x-*"
     sort: {timestamp: {order: "asc"}}
   }

@juankaromo juankaromo mentioned this issue Apr 22, 2020
7 tasks
Wazuh 3.13 automation moved this from In progress to Done Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Enhancement issue UI/UX Generic label for things related to the font-end side
Projects
No open projects
Wazuh 3.13
  
Done
Development

No branches or pull requests

3 participants