-
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] Add by policy to event filters generator #121407
[Security Solution] [Endpoint] Add by policy to event filters generator #121407
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @dasansol92 |
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.
🚢
import { setupFleetForEndpoint } from '../../../common/endpoint/data_loaders/setup_fleet_for_endpoint'; | ||
import { GetPolicyListResponse } from '../../../public/management/pages/policy/types'; | ||
|
||
const fetchEndpointPolicies = ( |
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.
🔥 🔥 🔥
🙏
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.
🚢 it
|
||
return () => policyIds[randomN(policyIds.length)]; | ||
})(); | ||
const randomPolicyId = await randomPolicyIdGenerator(kbn, log); |
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!
Summary
Includes by policy feature to the Event Filters data generator. Also unified code to generate policy id's
For maintainers