* add the new top cases feature in security
* fix api intyegration and cypress
* fix api integration
* fix cypress roles test
* missing api integration
* review Joe
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ML] Initial embed
* [ML] Initial embed props
* [ML] Add top nav link to data viz
* Add visible fields
* Add add data service to register links
* Renames, refactor, use constants
* Renames, refactor, use constants
* Update tests and mocks
* Embeddable
* Update hook to update upon time udpate
* Add filter support to query
* Refactor filter utilities
* Add filter support for embeddable
* Fix saved search data undefined
* Prototype aggregated view/document view switcher
* Prototype flyout
* Prototype save document view option in storage
* Fix filter and query conflict with saved search
* Minor styling edits
* [ML] Update functional tests to reflect new arrow icons
* [ML] Add filter buttons and KQL bars
* [ML] Update filter bar onChange behavior
* [ML] Update top values filter onChange behavior
* [ML] Update search filters when opening saved search
* [ML] Clean up
* [ML] Remove fit content for height
* [ML] Fix boolean legend
* [ML] Fix header section when browser width is small to large and when index pattern title is too large
* [ML] Hide expander icon when dimension is xs or s & css fixes
* [ML] Delete embeddables because they are not use
* [ML] Make doc count 0 for empty fields, update t/f test
* [ML] Add unit testing for search utils
* [ML] No need to - padding
* [ML] Fix expand all/collapse all behavior to override individual setting
* [ML] Fix functional tests should be 0/0%
* [ML] Fix docs content spacing, rename classnames, add filters to Discover, lens, and maps
* [ML] Fix icon styling to match Discover but have text/keyword/histogram
* [ML] Fix filters not persisting after page refresh & on query change
* [ML] Rename classnames to BEM style
* [ML] Fix doc count for fields that exists but have no stats
* [ML] Clean up unused styles
* [ML] Fix eui var & icon & file geo
* [ML] Fix navigating to Lens from new saved search broken
* [ML] Change types back to Index pattern for 7.16
* [ML] Update not in docs content and snapshots
* [ML] Fix Lens and indexRefName
* [ML] Fix field icon and texts not aligned, remove span because EuiToolTip now supports EuiToken
* [ML] Fix data view
* Try and add logging here
* Fix linting
* Only this test
* Better logging
* More debugging
* More debug
* Try something different
* Better way to do the test
* Get this PR ready
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [RAC][Observability]: test cases for alerts pagination functional tests
* page size selector tests
* create OPEN_ALERTS_ROWS_COUNT in workdlow status tests
* add tests to check if page selector is rendered or not
* reorganize tests to visible and non visible pagination controls
* default rows per page test
* page size selector tests
* more page selector tests
* write tests for pagination controls
* move pagination tests to a new file
* remove unused variables
* reorganize observability alerts service
* undo configuration change
* fix workflow status tests after refactoring
* clean up
* pr review comments
* change variable name
* rewording pagination tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 🐛 When dragging a threshold to another group carry also its styling
* ✅ Add functional test
* ✨ Make duplicate carry style too
* ✅ Add functional test for duplicate use case
* 🐛 Fix table duplication issue
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ML] Convert APM transaction anomaly detection job to analyze metric data
* [ML] Fix test and edit manifest query and defaultIndexPattern
* Remove queries for ml module, upgrade version
* Update ML anomaly searches
* Add metricset.name term query to datafeed
* Add metricset.name/processor.event queries to module setup
* [ML] Edit setup module API integration test to not start datafeed
* [ML] Edit aggregation names
* Edit home.spec E2E test URLs
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Allow selecting any service name, transaction type (where appropriate), and environment when creating and editing rules, both in APM and Stack Management.
- Create /internal/apm/suggestions endpoint that uses `terms_enum`
- Use combo box for environment, service name, and transaction type with suggestions endpoint on all alerts
- Remove "Go to APM" callouts on new alert creation
- Wrap calls to `createCallApmApi` in alert triggers with `useEffect`
- Use `getEnvironmentLabel` for value in environment field expression
- Make all `AlertParams` fields optional (except in latency threshold alert)
- Add e2e tests for creating an alert
- Remove `NewAlertEmptyPrompt` component and `isNewApmRuleFromStackManagement` helper
- Replace `maxServiceEnvironments` and `maxServiceSelections` config options with `maxSuggestions` advanced setting.
![CleanShot 2021-09-28 at 10 35 58](https://user-images.githubusercontent.com/9912/135119948-e247615a-d235-4feb-b197-b803f165ad1e.gif)
Fixes#106786
* Added config and code to make index management use test user.
* Removed unused reference.
* Changed config back to only modifying the permissions on the indices.
* Fixed assertion for new permission.
* [Reporting] Stabilize CSV export tests
* add debugging logging for results metadata
* restore accidentally deleted tests
* restore "large export" test
* remove redundant availability test
* do not filter and re-save
* fix getHitCount
* fix large export test
* skip large export test :(
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
To check the available node count, the ML plugin has an additional privileges check before returning the result. This PR uses the same approach for the corresponding transforms node endpoint.
This PR stabilizes the functional custom URLs tests by adding retries for the dashboard and other type URL save service methods, similar to what we already have in the discover type URL save service method.
* [Metrics UI] Fix No Data alerts on Metric Threshold with groupBy
* Fix typecheck
* Add integration test for no data groupBy scenario
* Uncomment test files
* Uncomment test files
* Reset stored groups when groupBy parameter changes
* Test for groupBy arrays
* Fix initial No Data result when no groups are detected yet
* Fix linting error
* Fix detecting groups with doc count 0
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* backend implementation
* front UI changes to manage all resolve outcomes
* add spaces dependency to o11y
* tests fixed
* hack removed
* added resolve api integration test
* unit tests for the front changes
* add base resolve cypress test
* non-null assertions removed
* add resolve operation for logging
* eslint fix new rule
* create test snapshot
* migration resolve functional test
* Displays Trusted apps card in policy fleet integration page
* Fixes translation
* Use FF to display the card or not
* Revert FF to false by defaul
* Fix back external button props in router stats
* redesign TA card for fleet policy page
* Address pr comments. Added experimental feature singleton service. Added FTR test for TA card in fleet policy
* Change wrong fleet name and SIEM to Security Solutions
* Fix test-subject prop because test is failing
* Use different designs in fleet and integration. Pending to confirm by design team
* UI changes on summary cards
* Adds same card design in fleet policy and integration policy pages
* Fix ts error making prop as optional
* Use eui props for sizing. Use reverseRow to switch label/numbers depending on isSmall prop
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* update data field for JA3 fingerprint
* update unit test
* update query
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Initial PoC of redirect on mapping error is working.
* Update copy. Add comments.
* Include headline element for page title.
* Create mappings for failing functional tests.
* Add functional test for mappings error page.
* Add mapping for certs check.
- Removes CustomFields component.
- Removes fetchTransactionDurationHistogramInterval query.
- Removes unused legacy API endpoints used for the correlations feature.
* Making progress
* Fleshing out the extraction logic
* Finishing migration logic and starting more tests
* Finishing migration unit tests
* Making progress on services
* Finishing transform to es schema
* Finishing transform functionality and unit tests
* reverting migration data updates
* Cleaning up type errors
* fixing test error
* Working migration tests
* Refactoring retrieval of connector fields
* Refactoring connector id in and tests in frontend
* Fixing tests and finished refactoring parse string
* Fixing integration test
* Fixing integration tests
* Removing some duplicate code and updating test name
* Fixing create connector user action bug
* Addressing feedback and logging error
* Moving parsing function to common
* Fixing type errors
* Fixing type errors
* Addressing feedback
* Fixing lint errors
* Adjusting import for user action changes
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [TSVB] Remove the input string mode
* Fix some tests
* Add some functional tests and fix failing CI
* Update telemetry mappings
* Rename useStringIndices to allowStringIndices, move it from TSVB to Data constants and refactor test
* Apply text suggestions from code review
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
* Apply formatting and remove unused translations
* Fix labels
* Remove unused import
* Move popover toggling to checkIndexPatternSelectionModeSwitchIsEnabled function to prevent flakiness
* Update some visual_builder_page functions
* Remove accidentally added newlines
* Move TSVB ui settings to constants, remove tooltip and update popover text
* Handle the case of editing advanced settings is restricted
* Add requiresPageReload to UI setting and condition for the case the setting is already enabled
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>