* Extended existing alerting functionality to support preconfigured only action types
* fixed functional test
* Adding documentation
* Fixed UI part due to comments
* added missing tests
* fixed action type execution
* Fixed documentation
* Fixed due to comments
* fixed type checks
* extended isActionExecutable to check exact action id if it is in the preconfigured list
* Move saved object type registration & mapping to NP plugin; normalize and prefix saved object type names
* Replace hardcoded saved object type names with constants
* Adjust output type name
* Review and import fixes
* Update tests, fixtures, and instructions
* bring testing on Firefox back
* disable some tests
* skip more tests
* cut more suites for Firefox
* skip more tests for Firefox
* replace smoke tag with includeFirefox
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add tests for datemath: `after` direction with a negative operator
* Add tests for datemath: `after` direction with a positive operator
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* report delete test
* removed the exclusive test
* new archived reports
* added pagination test
* implemented review changes
* Removed the unwanted method
* addressed the review comments
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This removes unneeded use of `any` throughout:
1. alerting
2. alerting_builtin
3. actions
4. task manager
5. event log
It also adds a linting rule that will prevent us from adding more `any` in the future unless an explicit exemption is made.
Cleanup and consolidation of code related to EuiDataGrid. The transform wizard source and pivot preview table as well as the data frame analytics results pages now share a common code base related to data grid tables.
To avoid tight coupling of components and hooks, the hooks are not within the common data grid component. Instead the hooks need to be used on the outer wrapping component and the results will be passed as props to the data grid component. This allows us to pass data from different data sources (transform index source, pivot previews, analytics results) into a shared component.
* KQL removes leading zero and breaks query
* correctly parse numbers started from '.'
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* chore(NA): reduce siem bundle size using babel-plugin-transform-imports for lodash
* fix(NA): dont use preventFullImport
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* chore(NA): use core-js instead of babel-polyfill on canvas shareable runtime build
* chore(NA): include regenerator-runtime/runtime
* chore(NA): change import order between runtime and core js
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Major cleanup of the no_restricted_paths rule for imports of core.
For relative imports, we use eslint-module-utils/resolve which resolves
to the full filesystem path. So, to support relative and absolute
imports from the src alias we need to define both the directory and the
index including file extension.
This rule was handling both core imports, as well as imports from other
plugins. Imports from other plugins are being used much more liberally
allowed through the exceptions in tests. I choose to break these up,
removing this exception for tests for core imports.
Fixes:
Absolute imports of src/core/server/mocks were not allowed in src. This
was not an issue in x-pack due to the target excluding
!x-pack/**/*.test.* and !x-pack/test/**/*.
Non-top-level public and server imports were allowed from X-Pack tests
to the previously mentioned exclusion.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>