-
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] Implement telemetry for the Protections/Detections Coverage Overview functionality #158250
Comments
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@maximpn @dplumlee When we start working on this, we should ask @approksiu to connect us with folks from Threat Hunting who have experience in working with telemetry. |
@approksiu We'll need to chat about the telemetry requirements after On Week. I'll schedule a meeting. Before the meeting, @dplumlee and I will post some thoughts and concerns in this ticket. |
Great, thanks @banderror |
In advance of the meeting about telemetry requirements, posting my initial thoughts:
I'm not sure how great the telemetry data would be for this case. The cardinality would be incredibly high, even if we limited the collected data to our own prebuilt rules package (900+ rules). A possible alternative that might be helpful would be for what tactics and techniques are rules enabled for, but even then, there's a very high number of techniques so the data cardinality wouldn't be that small either. Perhaps it would be good to discuss further what we're trying to get out of the telemetry data in order to choose the best methods from which to obtain the data.
Since we have the initial filters of |
@approksiu I agree with @dplumlee's comment above. From my side:
Any page visit counter should be available in FullStory, right? What about "how many and which users"? What do we mean by "user" in this case: a Kibana user (e.g. email), a customer, a deployment id, or a combination of these?
Tracking the number of clicks on anything should be doable in FullStory, if we can unambiguously locate the element being clicked. In this case, we'd need to assign an id or a classname to the link.
This should be doable via "event-based telemetry" aka EBT. Can you please define:
This should be doable via basic telemetry counters (one of the existing telemetry mechanisms) or EBT 👍 Do you want to track how many rules were attempted to be enabled, or how many were actually enabled (attempted - failed - skipped)?
This should be doable via EBT. But let's define
As Davis already noted above, tracking such things would result in very high cardinality datasets. Can you explain how exactly would you like this data to be represented, and how you'd use this data? Also, tracking all names/ids of enabled rules doesn't scale well. If a user creates 10000 rules mapped to a single technique, we'd need to send either a single telemetry event with 10000 rule names in it (huge object), or 10000 telemetry events with a single rule name in each. We would need to add limitations to such tracking, e.g. limit the number of rules, and the length of rule names. Because of complexity and performance/scaling considerations, I'd suggest we track something "finite" and low cardinality instead of rule names or ids, such as what rule types are enabled, are these prebuilt or custom rules, from what technique the user enables rules, etc. |
Having explored this topic more, and after a discussion, this is how we are going to approach it:
|
Epic: https://github.com/elastic/security-team/issues/2905 (internal)
Depends on: #158243, #158238, #158249
Summary
Implement telemetry for the implemented Protections/Detections Coverage Overview dashboard so it's able to answer the following questions
Feature adoption:
Coverage page usage - via Fullstory
The text was updated successfully, but these errors were encountered: