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

[SIEM] show getting started page on empty string or _all #47166

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

stephmilovic
Copy link
Contributor

Summary

Resolves #46091

As decided in the discussion of the issue linked above, if the user either leaves the siem:defaultIndex option blank (empty string) or if they set it to _all we do not query anything but rather show the getting started page:

Screen Shot 2019-10-02 at 3 35 55 PM

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@stephmilovic stephmilovic changed the title hide siem data on empty string or _all [SIEM] show getting started page on empty string or _all Oct 2, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

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

Checked out, tested locally and getting started page is shown when siem:defaultIndex is either emptystring or _all. LGTM 👍

As a note, with this implementation you can still query all indices by using an index pattern like ,,, as this will bypass the length check. I don't think it's really necessary to switch the impl to check if args.defaultIndex contains either emptystring or _all as the intent here is really just to show the getting started page if the user accidentally clears out all of their indices. We can revisit validation of siem:defaultIndex if this becomes an issue.

@stephmilovic stephmilovic merged commit 7021503 into elastic:master Oct 3, 2019
@stephmilovic stephmilovic deleted the hide-catch-all-index branch October 3, 2019 13:43
stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Oct 3, 2019
jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 3, 2019
…ysens/kibana into console-fix-menu-actions-alignment

* 'console-fix-menu-actions-alignment' of github.com:jloleysens/kibana: (59 commits)
  [Canvas] i18n for page manager, page preview, and shape preview (elastic#46865)
  [SIEM] hide siem data on empty string or _all (elastic#47166)
  [Uptime] Shim UI exports for new platform (elastic#44722)
  [Monitoring] Metricbeat Migration Wizard Tests (elastic#47139)
  [Logs UI] Support partitioned log rate results in API (elastic#46751)
  [APM] Remove beta badge from transaction breakdown (elastic#47163)
  test: 💍 convert Interpreter font function tests to Jest (elastic#47193)
  visualizations 👉 NP-ready (elastic#47142)
  [Uptime] Update pings chart colors (elastic#46780)
  Add scroll into view to avoid tooltip overlap (elastic#47106)
  Variety of quick a11y fixes (elastic#46569)
  [Graph] Empty workspace overlay (elastic#45547)
  [ML] Converts index and saved search selection to React (elastic#47117)
  [Uptime] Change default status filter in ping list to all on monitor page  (elastic#47108)
  refactor: 💡 convert Interpreter .js -> .ts (elastic#44545)
  Add TypeScript rules to STYLEGUIDE [skip ci] (elastic#47125)
  chore(NA): fix logic behind cleaning x-pack node modules on build (elastic#47091)
  [SIEM] Update Settings Text (elastic#47147)
  Add KQL functionality in the find function of the saved objects (elastic#41136)
  [Maps] Add 'InjectedData' class and revise so File Upload Features are assigned to new InjectedData instances (elastic#46381)
  ...
cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SIEM] Source/Destination IP Tables return error when no siem:defaultIndex is configured
3 participants