Commit graph

27 commits

Author SHA1 Message Date
Paul Tavares
46bbbd164f
[SECURITY_SOLUTION][ENDPOINT] Delete Endpoint Policy List code (#87063) (#87079)
* Remove Endpoint Policy List code from security_solution plugin

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-04 11:37:19 -05:00
Paul Tavares
8fc36d3fac
[Security_Solution][Endpoint] Register Custom tab into Fleet Endpoint Integration Detail (#85643) (#85877)
* Fleet: add component props to the Package Custom UI extension
* Endpoint: Register UI Extension with fleet for endpoint custom content
* Endpoint: UI for Trusted Apps custom entry

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 16:39:10 -05:00
Jonathan Buttner
0657dda2e5
[Security Solution][Resolver] Fixing resolver functional tests (#85647) (#85956)
* Fixing resolver functional tests

* Import the animation constant

* Only check specific nodes instead of all the ones in view

* Removing check for link text

* updating test description

* Adding comments
# Conflicts:
#	x-pack/test/security_solution_endpoint/apps/endpoint/resolver.ts
#	x-pack/test/security_solution_endpoint/page_objects/hosts_page.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 13:00:52 -05:00
Paul Tavares
efeb071da5
[SECURITY_SOLUTION] Enable usage of the Endpoint Policy form from Fleet (#84684) (#84824)
* Endpoint: add `withSecurityContext` HOC + refactor endpoint policy edit lazy component to use it
* Endpoint: refactor Policy Details to separate form from view
* Endpoint: Enable the Redux store for the Policy form when displayed via Fleet
* Fleet: Allow partial package policy updates to be sent via `onChange()`
2020-12-02 16:46:25 -05:00
Kevin Logan
820759b684
[SECURITY_SOLUTION] 145: Advanced Policy Tests (#82898) (#84237)
* Create Policies for each generated host

* Refactor Ingest setup to also setup Fleet

* Rename prop name

* Add generic response type to KbnClient.request + support for headers

* first attempt at adding fleet agent registration

* a little closer with fleet integration

* SUCCESS. Able to enroll agent and set it to online

* update names to be policy

* policy generator has advanced types in endpoint confit

* linting

* flesh out callback

* add submit button for verify_peer

* add verify hostname field

* 145 generalize cb

* 145 fix setAgain and getValue

* 145 merge conflict

* 145 add verify_hostname back, start loop for form

* 145 remove OS trick

* 145 make AdvancedPolicyForms its own component

* 145 grid partially working

* 145 back to basics

* 145 back to basics

* 145 rolled back grid

* 145 flex table working

* 145 undo accidental change

* 145 remove extra schema file

* 145 remove unused variable

* 145 kevin's PR feedback

* 145 fix type check and jest

* 145 EuiFlexGroups

* 145 use simple EuiFormRow and add show/hide buttons

* 145 move all advanced policy code to advanced file; remove unnec test code

* 145 fix IDs

* 145 take out unnecessary stuff

* 145 removed a couple more lines

* 145 add some fields back in

* 145 add spacer

* 145 start tests

* 145 add findAdvancedPolicyButton

* 145 test passing

* 145 remove comment

Co-authored-by: Paul Tavares <paul.tavares@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kevinlog <kevin.logan@elastic.co>
Co-authored-by: Candace Park <candace.park@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jane Miller <57721870+jmiller263@users.noreply.github.com>
Co-authored-by: Paul Tavares <paul.tavares@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Candace Park <candace.park@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-24 12:57:25 -05:00
Nicolas Chaulet
d337ed28c3
[Fleet] Rename ingestManager plugin ID fleet (#83200) (#83794) 2020-11-19 12:47:53 -05:00
IgorG
548b5c0547
[7.x] New events resolver (#82170) (#83443)
* New events resolver (#82170)

* Added Test for event.library

* renamed data directry and gzip data file

* rename expectedData file

* Changes per Charlie request

* Changes for the enable_APM-ci branch

* Update resolver.ts

* Added comment per Charlie request

* Update resolver.ts

* Added Alert Test for Resolver and fix for the APM enabled Run fail

* Added Alert Test for Resolver and fix for the APM enabled Run fail

* removed commented out code

* Fixing CI fail

* Fixing CI fail

* Removed Alert Resolver test

* aAdding Alert test back

* Adding Alert test back

* Adding Alert test back

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* adding one more verification for Data

* stripedd Data file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Update hosts_page.ts

* Update resolver.ts

* Update resolver.ts

* Update hosts_page.ts

* Update resolver.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 15:13:38 -08:00
IgorG
13f73c9a7f
Resolver Tree Events tests (#79344) (#79883)
* commiting change for the dismiss Banner

* Change comments

* Change timeout and gziped data file

* Fixed banner list fail

* Moved dismiss Banner code to the common_page.ts

* Remove find from host_page

* Remove comments from host_page

* Added Expected data to the related Evens
Renamed tests from Child events to Related Events

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 13:59:08 -07:00
Paul Tavares
d0d80e0fbb
[SECURITY_SOLUTION][ENDPOINT] Add ability to view Trusted Apps from Ingest Integration Policy Edit page (#78854) (#79137)
* Refactor Callout shown in Ingest Edit Endpoint Integration Policy that display actions menu
* Add `backComponent` to `<HeaderPage>` to allow for custom back buttons
* Back button displayed on Trusted Apps List when route state is defined
2020-10-01 13:29:05 -04:00
Patryk Kopyciński
6d0257acd8
[Security Solution] Fix app layout (#76668) (#78532) 2020-09-25 16:06:35 +02:00
IgorG
9cb006820e
[7.x] Functional Test for Resolver fix (#77116) (#78034)
* Functional Test for Resolver fix (#77116)

* Final I hope check in for Resolver fix

* Fix click

* Fix click

* Fix click

* revert to select the first event

* Gzip Data file

* removed not zipped file

* striped Data file and gziped

* removed commented out delete indices

* Added query bar to select correct events

* removed commented out delete indices

* removed commented out delete indices

* removed commented out delete indices

* removed commented out delete indices

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Update resolver.ts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-22 06:55:27 -07:00
Dmitry Lemeshko
1b0856d326
[x-pack/test] convert PO to typescript, improve find/testSubject usage (#77389) (#77482) 2020-09-15 18:05:09 +02:00
Kevin Logan
5959e3ce01
[SECURITY_SOLUTION] Task/add auto refresh to endpoint list (#74856) (#75510) 2020-08-20 07:35:55 -04:00
Jen Huang
8df6abbdd0
[Ingest Manager] Rename agent/package config(s) to agent/package policy(ies) (#74914) (#75495)
* Initial pass at updating client routes, variables names, code comments, and UI copy

* Adjust server routes and param names, more var names and i18n fixes

* Fix test

* More var renaming

* Rest of server-side var renaming

* Rest of client side var renaming

* Rename agent SO attributes and add migrations

* Remove agent prefix from policy fields

* Rename agent policy SO attributes and add migrations

* Rename enrollment api key SO attributes and add migrations

* Rename package policy SO attributes and add migrations

* Rename agent event SO attributes and add migrations

* Rename subtype CONFIG to POLICY (I don't think this string is ever sent by agent, though)

* Update snapshot

* Remove unnecessary cloning in migrations

* Fix migration typos

* Update naming in tests and es archiver data

* Rename file names in /common

* Rename /server files

* Rename /public files

* Rename test file names

* Rename missed files

* Revert "Rename subtype CONFIG to POLICY (I don't think this string is ever sent by agent, though)"

This reverts commit 3c91e01ed9.

* Add migration version to updated es archiver data to fix tests
2020-08-19 15:38:41 -07:00
Bohdan Tsymbala
c1b50e6a05
[ENDPOINT] Reintroduced tabs to endpoint management and migrated pages to use common security components (#74886) (#75352)
* Reintroduced tabs to endpoint management and migrated pages to use common security components.

* Empty trusted apps tab.

* Changed casing in the translations.

* Switched to using route path generation functions.

* Added propagation of data-test-subj attribute to Wrapper component.

* Fixed CommonProps import.

* Moved out shared component for administration list page.

* Removed unused file.

* Removed unused translation keys.

* Removed redundant snapshot.

* Added some minimal tests.

* Attempt to fix functional tests.

* Attempt to fix functional tests again.

* Reverted function declarations back to const.

* Wrapped component in memo.
2020-08-18 22:06:16 +02:00
Dan Panzarella
abcb93e6a2
[Security Solution] Rename Administration > Hosts subtab to Endpoints (#74287) (#74853) 2020-08-12 11:28:28 -04:00
Paul Tavares
26fdc469b5
[INGEST_MANAGER] Make package config name blank for endpoint on Package Config create (#73082) (#73196)
* Make package config name blank for endpoint
* Added functional tests on endpoint side
2020-07-24 10:50:11 -04:00
Candace Park
cdf62891dc
[SECURITY SOLUTION] Rename to hosts and administration (#70913) (#71158)
Security solution text changes to admin and hosts
2020-07-08 23:14:45 -04:00
Paul Tavares
6579009e10
[Endpoint] Support redirect from Policy Details to Ingest when user initiates Edit Policy from Datasource Edit page (#70874) (#71015)
* allow Policy Details to support route state
* Functional Tests cases that cover ingest navigation
2020-07-08 07:51:53 -04:00
Jen Huang
9fd8a86f3d
[Ingest Manager] Rename data sources to package configs (#70259) (#70537)
* Rename `datasource` saved object to `package_config` (SO type `ingest-datasource` to `ingest-package-config`) and adjust mappings:

- Remove unused `processors` field on input & stream levels
- Remove unnecessary `enabled` field on package config & input levels
- Rename `agent_stream` field to `compiled_stream`
- Reorder other fields so that important fields are closer to top & similar fields are grouped together

Also,
- Remove 7.9.0 migrations as we are not supporting an upgrade path from experimental to beta release

* Pluralize `ingest-package-configs` for consistency

* Rename `Datasource`-related types to `PackageConfig`, update all references (does not include actual type definition changes yet)

* Rename `Datasource` schemas and rest spec typings to `PackageConfig` (does not include actual schema changes yet)

* Change `datasources` on agent config typings and schemas to `package_configs` and update all references

* Add back `enabled` field on package config and input levels. They are needed for current & future UI features. Also:

- Match types and schemas with saved object mappings (`agent_stream` to `compiled_stream`, removal of `processors`)
- Set `namespace` to be a required property on agent config and package config types, add validation support for it on UI

* Rename server-side datasource references in file names, variable names, and routes

* Update spec file and schema file

* Update doc wording

* Rename all instances of datasource in file paths and variable names on client sides, and for Endpoint too

* Minor copy adjustments, fix i18n check

* Replace datasource references in tests and fixtures; remove unused `ingest/policies` es archiver data

* Fix tests

* Fix test field name

* Fix test fixtures fields again

* Fix i18n
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
2020-07-01 19:19:45 -07:00
Robert Austin
ad3ae827cb
Remove old endpoint routes redux (#70458) (#70483)
Remove the legacy Endpoint Alerts feature
2020-07-01 17:15:22 -07:00
Candace Park
aec4ca9ed3
[SECURITY SOLUTION][INGEST] Task/endpoint list tests (#69419) (#69951)
endpoint func tests for endpoint details to ingest, edit datasource to policy, bug fix for security link
2020-06-25 12:58:44 -04:00
Xavier Mouligneau
2844946be9
[SECURITY] Introduce kibana nav (#68862) (#69629) 2020-06-20 21:05:30 +02:00
Kevin Logan
192f4e3e09
[Endpoint] add policy empty state (#69449) (#69616) 2020-06-19 17:41:10 -04:00
Paul Tavares
6fb8c92efd
[Ingest Manager][Endpoint] Add Endpoint Create Policy flow with Ingest (#68955) (#69405)
* Ingest: add data-test-subj prop support to Ingest components
* Ingest: Add Context Provider to bridge History from Kibana to Hash router
* Ingest: Added support for route state in Create Datasource page
* Endpoint: Add Create button to Polices List header
* Endpoint: Added support for passing of state from endpoint to ingest on policy
* Endpoint: additional functional test cases
2020-06-17 16:20:47 -04:00
Kevin Logan
6bc088895e
[Endpoint] Can delete policies (#68567) (#69083) 2020-06-15 07:34:53 -04:00
Paul Tavares
521493f344
[7.x] [Endpoint] Functional Tests cleanup (#68756) (#68822)
* [Endpoint] Functional Tests cleanup (#68756)

* Removed several unnecessary disabled eslint rules
* moved common pageobject from endpoint_list to page_utils
* Rename functional_endpoint to security_solution_endpoint
* Delete `functional_endpoint_ingest_failure` no longer applicable

# Conflicts:
#	.github/CODEOWNERS
#	x-pack/test/security_solution_endpoint/apps/endpoint/resolver.ts

* Sync Endpoint Alerts page objects with master

- PR https://github.com/elastic/kibana/pull/64704 was never
  backported, thus this change is needed to ensure build is
  successful.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-12 08:04:45 -04:00