-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] [Endpoint] Allow add endpoint event filter option from users events tab #132238
[Security Solution] [Endpoint] Allow add endpoint event filter option from users events tab #132238
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
@@ -188,6 +188,36 @@ describe('InvestigateInResolverAction', () => { | |||
expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); | |||
expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); | |||
}); | |||
|
|||
test('it enables AddEndpointEventFilter when timeline id is user events page', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding these tests!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM!
@@ -209,6 +239,19 @@ describe('InvestigateInResolverAction', () => { | |||
expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); | |||
expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); | |||
}); | |||
|
|||
test('it disables AddEndpointEventFilter when timeline id is user events page but cannot acces endpoint management', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: access
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Summary
For maintainers