* changes default browser download folder
* adds 'exportRuleAction' data-test-subj attribute
* implements 'Exports a custom rule' test
* changes headless browser to chrome
* updates path
* updates 'EXPECTED_RULE_FILE_PATH'
* gives time to the file to be downloaded
* adds downloads folder
* updates download directory
* updates paths
* captures API call to check the content of the file
* removes browser launch hook since is not needed anymore
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Rearranges the layout of the transform wizard pivot configuration step into a single-column. This allows us to have the data grids for source index and pivot preview having the full width. The advanced editors for source query and pivot configuration also cover a wider width.
* added labels
* cleaned up flex elements in alert details view
* replace eye icon with mute switch
* removed Actions columns from Connectors list
* fix keypadmenuitems layout in action selection section
* fixed error
* more cleanup
* added back Actions column for Connectors List but with new name
* fix some tests
* fix another test
* removed unneeded lodash from test file
* fix test in details.ts
* removed unused translations
* removed Alerts (Actions) column from Connectors table"
* removed translation
* removed EuiBadge from connectors list
* updated test in connectors.ts
* fix function tests
* fix more function tests
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Patrick Mueller <pmuellr@gmail.com>
* Refactor settings form event handling and modify certs fields.
* Fix/improve broken types/unit/integration/api tests.
* Modify default expiration threshold.
* Rename test vars.
* Implement PR feedback.
* Refresh snapshots, fix broken tests/types.
* Remove unnecessary state spreading.
* Add type for settings field errors.
* Refresh test snapshots.
* Improve punctuation.
* Add TLS alert type.
* Add cert API request and runtime type checking.
* Add api test for cert api.
* Add unload command to certs test.
* Extract API params interface to io-ts type.
* Add TLS alert type on server.
* WIP - add state for changing selected alert type.
* Finish adding alert type for client, add server alert summary.
* Add some state variables.
* Update certs summary function to create required values.
* Refresh test snapshots.
* Clean up message generator function.
* Add a comment.
* Update formatting for alert messages, add flags denoting presence of age/expiration data.
* Add relative date information to tls alert messages.
* Clean up more logic in certs request function.
* Fix broken unit tests.
* Move tests for common function to new file.
* Fix logic error in test and add common state fields to tls alerts.
* Extract common state field translations from status check alert.
* Add a comment.
* Add nested context navigation for uptime alert selection.
* Clean up types.
* Fix translation key typo.
* Extract translations from tls alert factory.
* Extract summary messages to translation file.
* Change default tls alert time window from 1w to 1d.
* Remove unnecessary import.
* Simplify page linking.
* Extract a non-trivial component to a dedicated file.
* Simplify create alert copy.
* Fix broken functional test.
* Fix busted types.
* Fix tls query error.
* Allow for alerts toggle button to receive a set of types to display.
* Add alerts toggle button to certs page.
* Fix copy.
* Fixup punctuation in default message to avoid double-period symbols.
* Refresh snapshots.
* Fix empty host name column in agent list
* Fix empty version column in agent list
* Consolidate page header styling inconsistencies
* Add tabs to agent details
* Add right-side header content and actions menu
* Give headers more spacing when there are tabs present
* Add details tab
* Use ECS formatted metadata
* Make activity log table pretty
* Return agent event SO id from list API
* Fix i18n
* Add types for new agent events and differentiate from stored agent events
* Adjust test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
All of our actions management is happening via the triggers_actions_ui
plugin, so this code is (and will be) unused.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Stricter types for Reporting Usage data
* Allow more type inference
* remove lastDay filter
* update ts and add test
* fix tests
* fix test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Code-split the maps-plugin to reduce the initial `maps.plugin.js` size.
There were two main code dependencies in the plugin initialization that were the root cause of the large bundle size.
- `GisMap` wraps the entire application UX, including the add-layer-wizard. The layer wizards only need to be available there. This PR moves the `load_layer_wizard` dependency from the plugin-initialization to the `GisMap` component.
- The `MapEmbeddableFactory` needs to be registered at plugin-initialization. However, this module imports a lot of core-application code. By code-splitting here, we avoid pulling in the entire Maps-app in the main bundle.
This also introduces a lazy-initialization of the `GisMap` itself as an additional split to further reduce size of the bundles.
* Move discover into NP
* Convert doc_table tests to jest
* Move rows_headers to use jest
* Move fixed_scroll.test
* Clean up
* Revert jest changes
* Pass down deps into IndexPatternFieldList
* Fix conflicts
* Pass env vars
* Remove LegacyCoreStart
* Update generated doc
* Fix canvas type
* Fix i18n
* Improve stub_index_pattern code
* Add fieldFormats to mocked services
* Skip failing tests
- while still working on them, to find out if other tests fail in jenkins
* Unskip sidebar test
* Move mocha tests to legacy
- delete jest tests, can be converted later on
* Fix Scss imports
- Seems functional tests didn't build because of them?
* Remove another invalid SCSS import
* Pass deps as last argument
* Move field list into data start contract
* Move create field into data start contract, fix tests
* Update docs
* Fix duplicating fields
* Update snapshots in management
* Fix review comments
* Update docs
* Fix angular compilation
* Update docs
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Maps] initial location map settings
* fix tslint
* add button to set to current view
* move button to bottom of form
* review feedback
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* logging when security api is disable
* logging when security api is disable
* checking statuc code 400
* adding security plugin
* checking if security plugin is enabled before calling it
* fixing unit test
* show apm ui when index is empty
* addressing PR comments
* refactoring
* refactoring
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Rough first pass at reusing page for multiple links in report generation
* Some adjustments to handling the events coming from CDP
* Add new data-share-page selector for jobs with multiple urls
* Cleanup
* PR feedback
* Adding tests for Canvas export app and multi user observable jobs
* Adding a short blurb describing the data-shared-page attribute requirement
* PR feedback
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
resolves https://github.com/elastic/kibana/issues/64245
Prior to this PR, the "Upgrade your license" banner in the connectors list
was displayed for gold licenses because the Service Now action requires
platinum, and the check only looked for any actions disabled by license.
Rather than display a different message for gold users, this PR changes the
banner display logic to check for any actions disabled by license that
also have a minimum required license of gold. That means gold+ users
won't see the message, even for actions with a minimum required license of
platinum+. Another perk of the gold license!
This will continue to display the banner for basic users, but will no longer
display it for gold users. It also continues to not display it for trial,
platinum and enterprise users.
* [APM] addresses inconsistencies from patching backport conflicts from NP migration
* removes `indexManagementStore` form the '@elastic/apm-rum-react' module declaration