## Summary
Holy moly.
What is happening in this PR? 🤷🏽♀️ Let's break it down:
- Added a package `@kbn/alerts` - another one?! ...yes
- This is meant to add shared hooks and components around alerts as data
- `useGetUserAlertsPermissions` - accepts the Kibana capabilities object and returns whether the user has `read` and `crud` alerts privileges
- `AlertsFeatureNoPermissions` - component displayed when user does not have alerts privileges
- UI changes for user with NO alerts privileges
- `Alerts` tab hidden in security solution side navigation
- `Alerts` tab hidden in rule details page
- UI changes for user with alerts READ ONLY privileges
- alerts checkboxes hidden in alerts table
- alerts bulk actions hidden in alerts table
* added UsageCounter to SecuritySolution app to be passed to telemetry and other plugins as needed
* Add counters for payloads and helpers for naming
* Fixed some typing issues
* Fixed eslint errors
* Still more eslint fixes
* Missed an eslint fix again
* Incorrect import order
* Addressed some review comments
* Added unit test for UsageCounter inside TaskSender
* Fixed some import checks
* incrementCounter unittest needs questionmark to handle undefined case
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] reverse geocoding tutorial
* reverse geocoding step
* add final step
* use dash delemiter instead of underscore in file name
* add float to step 3 so its on the same page
* add into to step 3
* Abort full screen in dashboard and maps when user clicks back button
* remove doc changes from another PR
* remove change in file heading
* tslint and fix unit test
* eslint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [TSVB] Markdown variables are not available on the first rendering
Closes: #108721
* Update editor_controller.tsx
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* balance solutions
* clean up solution changes
* change footer button size
* update management section
* apply max-width to management items
* remove right side items from page header
* add data content update
* illustration poc
* add data content updates per feedback
* img size and alignment
* moved shared images to shared assets folder
* more solutions clean up
* rm unneeded import
* remove references to subtitle and appDescriptions
* update tests and snapshots
* more test and snapshot updates
* restore solution sort order
* ts and jest fixes; thx catherine!
* i18n fixes
* use new `KibanaPageTemplateSolutionNavAvatar` comp
* change solution imgs from png to svg
* update tests and snapshots
* rm spacer and update snapshots
* account for flex margin changes in img offset
* Change "Kibana" overview page text to "Analytics"
* update overview icon to match hp changes
* update snapshots
* center justify solutions and update snapshots
* update snapshots
* title case dev tools and stack management
* update text and snapshots
* fix merge error
* apply caroline's suggested style tweaks
* clean up css and update snapshots
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This fixes a bug where adding or deleting a role mapping resulted in the table not being updated. The issue stems from the fact that a copy of the mappings called “items” is created with loca state in the component for filtering before passing to EuiBasicTable. The issue is that this works fine on initial load, but the copy of items is never updated on subsequent renders. The solution is to update the items each time roleMappings is updated.
* filter for value
* code clean up
* fix i18n tests
* fix type errors
* revert changes to reason field to make reason field clickable again
* [RAC Observability] fix reason field
* fix type issues
* filter my kibana.alert. status on load (will refactor)
* refactor filter for alert status on load
* remove rest params
* fix eslint errors
* hard code alert status for now, will be fixed in another PR
* move filter_for button in a separate file
* fix errors
* comply with kibana i18n guideines
* simpler implementation for default filtering
* fix syntax error
* fix type errors
* fix eslint errors
* fix eslint errors
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cypress/ccs_integration is a subset/fork of cypress/integration and already tends to be left behind.
Situation is expected to improve once proper signaling of failing tests is reported to #security-solution-slack-testing.
For the moment, let's keep aligning manually.
* share between aggs only field and base params: json, label, time shift.
* Fix some remarks
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Tweak label for log log chart data series for all transactions.
- Show tip to drag to select a range in the Trace samples distribution chart panel.
- Change the selected range label and clear selection option to `EuiBadge` with click action and tooltip on hover 'Clear selection'.
- Move the 'current sample' annotation to the bottom axis to not overlap with the 95p annotation marker.
- Move the help popover to the top of the panel.
- Move the refresh/cancel option to the right of the progress bar.
- Always display the table for correlations.
- Show improved empty state using the `EuiEmptyPrompt` for the correlations table when no significant correlations are found.
- Fix Filter behaviour: when clicking on the filter item, jump to show top of page where the filter bar is evident, and reset the correlation tabs and show the Trace Samples tab
- Fix updating the log log chart and correlation service when the user changes the kquery or time span.
* [Event Log] Added Kibana version to eventLog ECS log entries.
* fixed due to comments
* fixed due to comments
* fixed version to be numbers only
* fixed type checks
* fixed type checks
* fixed generated ecs for version
* moved varsion field to event log fixed fields
* fixed type checks
* fix event log function tests
Co-authored-by: Patrick Mueller <pmuellr@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Addition of a find api to the alerts client to authorize requests using RBAC, updates alerts histograms to use new API on alerts page, updates new alerts aggs data table on alerts page, and updates alerts histogram on overview page.
* Update dependency @elastic/charts to v34
* tentative fix for heatmap legend items, to be fixed in patch before `7.15`
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
* Improve API logic for package policy upgrades
- Allow dry runs to be invoked for non-installed package versions
- Re-use existing validation service for validating package policies
following an attempted dry run or upgrade
See https://github.com/elastic/kibana/issues/106048#issuecomment-899747732 for more details
Ref #106048
* Fix input overriding in dry run/upgrade APIs
* Fix i18n
* Fix types
* Fix var merge logic
* replace deprecated EuiCodeEditor in transform
* update jest snapshot
* add aria label and move data attribute to parent element for testing
* update jest snapshot for aria label
* update functional tests
* [NoDataPage] Updating the default messages and reusing `title` as default `button` label
* Update default description for agent
* Overview page i18n and snaps