-
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
[Cloud Security] Adds KQL filter to graph component #205570
base: main
Are you sure you want to change the base?
Conversation
- Filters based on KQL filter - Added e2e tests and UT - Shows toast message on syntax error - Adapts the kql filter when open timeline for investigation
4ec15fe
to
571da79
Compare
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7669[✅] x-pack/test/cloud_security_posture_functional/config.ts: 25/25 tests passed. |
}); | ||
|
||
it('calls refresh on submit button click', () => { | ||
const mockRefresh = action('refresh'); |
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.
For better maintainability, we should define a central place where we store Storybook actions in a constant, otherwise, as it grows it can become tricky to understand where actions such as refresh
and notifications:addError
are coming from
Summary
This PR includes the following changes to the graph investigation component:
Screen.Recording.2025-01-08.at.14.43.22.mov
How to test:
To test this PR using storybook (alternatively access to storybooks attached to this build)
To test e2e:
kibana.dev.yml
:node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ --es-url http://elastic:changeme@localhost:9200 \ --kibana-url http://elastic:changeme@localhost:5601 node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \ --es-url http://elastic:changeme@localhost:9200 \ --kibana-url http://elastic:changeme@localhost:5601
To run FTR tests:
E2E tests 📹
Screen.Recording.2025-01-08.at.14.22.22.mov
Checklist