Skip to content

Comments

[SECURITY SOLEIL] Fix selection of event type when no siem index signal created#68291

Merged
XavierM merged 10 commits intoelastic:masterfrom
XavierM:bug-event-type-without-signal-index
Jun 5, 2020
Merged

[SECURITY SOLEIL] Fix selection of event type when no siem index signal created#68291
XavierM merged 10 commits intoelastic:masterfrom
XavierM:bug-event-type-without-signal-index

Conversation

@XavierM
Copy link
Contributor

@XavierM XavierM commented Jun 4, 2020

Summary

Fixes an issue where the events filter in Timeline is not filtering-out non signal events.

To reproduce:

  1. Drag a host to the timeline that does not have signals associated with it
  2. In the timeline, change the events filter from All events to Alert events

Expected result

  • The non-signal events are no longer displayed

Actual result

  • The non-signal events still appear

Checklist

@XavierM XavierM requested review from a team as code owners June 4, 2020 17:01
@XavierM XavierM added release_note:skip Skip the PR/issue when compiling release notes Team:SIEM v7.8.0 v7.9.0 v8.0.0 labels Jun 4, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@XavierM XavierM requested a review from andrew-goldstein June 4, 2020 17:04
Copy link
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if the Inspect view shown in the screenshot below should display the non-existent index/sentinel value:

sentinel_value

Pro

  • that's really the index being queried

Con

  • users may be confused when they see this unknown index

What do you think?

@XavierM
Copy link
Contributor Author

XavierM commented Jun 4, 2020

I'm wondering if the Inspect view shown in the screenshot below should display the non-existent index/sentinel value:

sentinel_value

Pro

  • that's really the index being queried

Con

  • users may be confused when they see this unknown index

What do you think?

Can we say there is no index? i mean instead of unknow... we can call it

  • no-index-uuid
  • no-alert-index-uuid

Copy link
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I exported a timeline from a 7.8 cloud instance with "eventType":"signal", and imported it in this branch, the events filter is blank, per the following screenshot:

imported-timelne

I think this is a product of the rename to alerts and not the code in this PR.

@andrew-goldstein
Copy link
Contributor

Can we say there is no index? i mean instead of unknow... we can call it

  • no-index-uuid
  • no-alert-index-uuid

I like the suggestion of no-alert-index-uuid

@XavierM
Copy link
Contributor Author

XavierM commented Jun 5, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these fixes @XavierM! 🙏
Desk-tested locally:

  • against the repro steps in the issue (when no signals index exists in a space)
  • against the repro steps in a space where the signals index does exist
  • while toggling between All events / Raw events / Signal events for the two variants above
  • with an imported timeline that was exported from a 7.8 BC where the filter was set to "eventType":"signal"
  • when navigating from an alert on the detections page to the timeline via the Investigate in timeline action

LGTM 🚀

@XavierM XavierM merged commit e3d88a4 into elastic:master Jun 5, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 8, 2020
* master: (57 commits)
  Add app arch team as owner of datemath package (elastic#66880)
  [Observability] Landing page for Observability (elastic#67467)
  [SIEM] Fix timeline buildGlobalQuery (elastic#68320)
  Optimize saved objects getScopedClient and HTTP API (elastic#68221)
  [Maps] Fix mb-style interpolate style rule (elastic#68413)
  update script to always download node (elastic#68421)
  [SECURITY SOLEIL] Fix selection of event type when no siem index signal created (elastic#68291)
  [DOCS] Adds note about configuring File Data Visualizer (elastic#68407)
  [DOCS] Adds link from remote clusters to index patterns (elastic#68406)
  [QA] slack notify on failure (elastic#68126)
  upgrade eslint-plugin-react-hooks from 2.3.0 to 4.0.4 (elastic#68295)
  moving to jira to a gold license (elastic#67178)
  [DOCS] Revises doc on adding data (elastic#68038)
  [APM] Add ThemeProvider to support dark mode (elastic#68242)
  Make welcome screen disabling first action in loginIfPrompted (elastic#68238)
  [QA] Code coverage: unskip tests, collect tests results, exclude bundles from report (elastic#64477)
  [ML] Functional tests - disable flaky regression and classification creation test
  [Alerting] change eventLog ILM requests to absolute URLs (elastic#68331)
  Report page load asset size (elastic#66224)
  [SIEM][CASE] Change SIEM to Security (elastic#68365)
  ...
XavierM added a commit to XavierM/kibana that referenced this pull request Jun 8, 2020
…al created (elastic#68291)

* fix selection of event type when no siem index signal created

* including the term signal for the old timeline

* fix import path

* Add a specific msg in the inspect modal if we do not have the alert index created

* fix import if eventType is siganl to match it to alert

* forget to update test

* fix signal view

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
XavierM added a commit to XavierM/kibana that referenced this pull request Jun 8, 2020
…al created (elastic#68291)

* fix selection of event type when no siem index signal created

* including the term signal for the old timeline

* fix import path

* Add a specific msg in the inspect modal if we do not have the alert index created

* fix import if eventType is siganl to match it to alert

* forget to update test

* fix signal view

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
XavierM added a commit that referenced this pull request Jun 9, 2020
…x signal created (#68291) (#68557)

* [SECURITY SOLEIL] Fix selection of event type when no siem index signal created (#68291)

* fix selection of event type when no siem index signal created

* including the term signal for the old timeline

* fix import path

* Add a specific msg in the inspect modal if we do not have the alert index created

* fix import if eventType is siganl to match it to alert

* forget to update test

* fix signal view

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* update translation

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
XavierM added a commit that referenced this pull request Jun 9, 2020
…al created (#68291) (#68551)

* fix selection of event type when no siem index signal created

* including the term signal for the old timeline

* fix import path

* Add a specific msg in the inspect modal if we do not have the alert index created

* fix import if eventType is siganl to match it to alert

* forget to update test

* fix signal view

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.8.0 v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants