No description
Find a file
Frank Hassanabad 01244a3503
[SIEM] [Detection Engine] Adds a create signal API (#47384)
## Summary

* https://github.com/elastic/kibana/issues/47013

This adds a basic create signal API rout API at:

```
/api/siem/signals
```

At the moment this will create an action/alert as a one for one.

This also introduces several scripts which allow developers to:
  * Re-create signals index for development velocity
  * post signals to the `/api/siem/signals` endpoint
  * Check different indexes, saved objects, and task manager for trouble shooting 

### Checklist

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

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~

~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~

~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

~~- [ ] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~~

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~

~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2019-10-07 12:58:28 -06:00
.ci Revert "Add pipeline for flaky test runner job (#46740)" 2019-10-04 16:55:20 -04:00
.github
bin
common/graphql
config
data
docs Add types to Elasticsearch API calls (#46668) 2019-10-07 13:11:30 -05:00
licenses
packages Update gulp related packages (#47421) 2019-10-05 23:38:41 -07:00
rfcs [RFC] Kibana Management Section Service (#43631) 2019-10-03 10:27:00 -05:00
scripts
src Add types to Elasticsearch API calls (#46668) 2019-10-07 13:11:30 -05:00
style_guides
tasks
test Improve Interpreter TypeScript typings (#47212) 2019-10-07 19:01:01 +02:00
typings
utilities [mkdirp] remove in favor of recursive fs.mkdir (#47251) 2019-10-04 08:15:06 -07:00
webpackShims
x-pack [SIEM] [Detection Engine] Adds a create signal API (#47384) 2019-10-07 12:58:28 -06:00
.backportrc.json
.browserslistrc
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.i18nrc.json
.node-version
.nvmrc
.prettierrc
.sass-lint.yml
.yarnrc
CONTRIBUTING.md
FAQ.md
github_checks_reporter.json
Gruntfile.js
Jenkinsfile try running fewer jobs in parallel on the same worker (#47403) 2019-10-05 20:51:07 -07:00
kibana.d.ts
LICENSE.txt
NOTICE.txt
package.json [functional/services] update webdriver lib and types (#47381) 2019-10-07 11:32:46 +02:00
preinstall_check.js
README.md
renovate.json5 Update gulp related packages (major) (#46665) 2019-10-05 07:53:47 -07:00
STYLEGUIDE.md
tsconfig.browser.json
tsconfig.json
tsconfig.types.json
TYPESCRIPT.md
yarn.lock [functional/services] update webdriver lib and types (#47381) 2019-10-07 11:32:46 +02:00

Kibana

Kibana is your window into the Elastic Stack. Specifically, it's a browser-based analytics and search dashboard for Elasticsearch.

Getting Started

If you just want to try Kibana out, check out the Elastic Stack Getting Started Page to give it a whirl.

If you're interested in diving a bit deeper and getting a taste of Kibana's capabilities, head over to the Kibana Getting Started Page.

Using a Kibana Release

If you want to use a Kibana release in production, give it a test run, or just play around:

Building and Running Kibana, and/or Contributing Code

You might want to build Kibana locally to contribute some code, test out the latest features, or try out an open PR:

Documentation

Visit Elastic.co for the full Kibana documentation.

For information about building the documentation, see the README in elastic/docs.

Version Compatibility with Elasticsearch

Ideally, you should be running Elasticsearch and Kibana with matching version numbers. If your Elasticsearch has an older version number or a newer major number than Kibana, then Kibana will fail to run. If Elasticsearch has a newer minor or patch number than Kibana, then the Kibana Server will log a warning.

Note: The version numbers below are only examples, meant to illustrate the relationships between different types of version numbers.

Situation Example Kibana version Example ES version Outcome
Versions are the same. 5.1.2 5.1.2 💚 OK
ES patch number is newer. 5.1.2 5.1.5 ⚠️ Logged warning
ES minor number is newer. 5.1.2 5.5.0 ⚠️ Logged warning
ES major number is newer. 5.1.2 6.0.0 🚫 Fatal error
ES patch number is older. 5.1.2 5.1.0 ⚠️ Logged warning
ES minor number is older. 5.1.2 5.0.0 🚫 Fatal error
ES major number is older. 5.1.2 4.0.0 🚫 Fatal error

Questions? Problems? Suggestions?

  • If you've found a bug or want to request a feature, please create a GitHub Issue. Please check to make sure someone else hasn't already created an issue for the same topic.
  • Need help using Kibana? Ask away on our Kibana Discuss Forum and a fellow community member or Elastic engineer will be glad to help you out.