* First draft at possible implementation. tests need to be added, and imports,comments, logs cleaned up
* Further tweaks to alerts counters
* Add tests for alerts_counters hook
* Working on vulnerable hosts
* Add useVulnerableHostsCounters hook along with tests
* add Vulnerable users and tests
* Move files to components folder and wire up to detections overview page
* Add translations
* add querytoggle and navigation to both tables
* fix bug for toggleQuery
* update button navigation
* remove alerts by status, as Angela built instead
* Working on changing test files
* test files for host and user hooks complete
* Components complete
* bug fixes from PR
* failing tests
* Undo bad edit to useRuleAlerts test
* Fix show inspect on hover, and use HostDetailsLink component
* missed in last commit
* more fixes from PR review
Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add handling multiple request exceptions
- Fix code styling for send_request.test.ts
- Extract a way of getting content-type to a separate function
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
* move install integration button to separate component
* move install path generation to util function
* small refactor
* add unit tests
* rorder deps to make diff less noisy
* mouse over highlighting gap fix
* addressing PR comments + more CSS fixes
* added show more button if we have more than 5 execs
* added padding for first alert in groups alert
* fix check CI issue
* addressing PR comments
* WIP new fleet server flyout
* WIP finish up quick start tab
* Refactor quick start steps into separate files:
* Initial refactor of existing fleet server instructions
* Move quick start form return value to explicit type
* Flesh out fleet server commands
* Fix translation error
* Migrate on prem instructions component over to new file structure
* Makes quick start tab actually create policy
* Fix type errors
* Fix missing hooks + update snapshots
* Fix paths in mocks
* Fix translations
* WIP test fixes
* Implement enabled/disabled state for new steps
* Fix cypress tests
* Force re-render to get last test passing
* Fix failing tests
* Fix import errors after conflicts
* Fix snapshot tests
* Use id instead of full policy for policy selector
* Replace Fleet Server instructions w/ Advanced Tab contents
* First pass at integrating add agent/fleet server flyouts
* Test commit
* Fix imports
* Fix imports
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Enforce https-only fleet server URL's + improve errors
* Fix failing tests
* Fix fleet server command in quick start
* Show success state in Quick start when policy exists + use first fleet server host if it exists
* Set initial service token value when Fleet Server policy ID is initiall set
* Generate service token instead of enrollment token
* Fix fleet server flyout opening from unhealthy callout
* Revert service token change + use EuiComboBox for fleet server host
* Fix checks + use custom option text
* Move fleet server host combobox to component
* Use new combobox in advanced tab
* Fix translations
* Fix unused import
* Don't recreate quick start policy if it already exists
* Actually use quick start policy fields 🙃
* Fix policy check
* Update x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_host_combobox.tsx
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
* Update x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
* Update x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
* Fix formatting issue
* Clean up fleet server settings variable declaration per PR review
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
* Adding telemetry for number of scheduled actions
* Adding percentile by type types
* Parsing percentiles by rule type and adding tests
* Adding functional tests
* Adding alert count fields to event log
* wip
* Cleanup
* Fixing checks
* Tests and checks
* Adding functional tests
* Adding total number of alerts
* Adding telemetry for number of alerts
* Cleanup
* PR feedback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>