Skip to content

Commit

Permalink
[Security Solution] Telemetry for Event Filters counts on both user a…
Browse files Browse the repository at this point in the history
…nd global entries
  • Loading branch information
kevinlog committed May 19, 2022
1 parent a80bfb7 commit c17621e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ export function createTelemetryEndpointTaskConfig(maxTelemetryBatch: number) {
malicious_behavior_rules: maliciousBehaviorRules,
system_impact: systemImpact,
threads,
event_filter: eventFilter,
} = endpoint.endpoint_metrics.Endpoint.metrics;
const endpointPolicyDetail = extractEndpointPolicyConfig(policyConfig);

Expand All @@ -275,6 +276,7 @@ export function createTelemetryEndpointTaskConfig(maxTelemetryBatch: number) {
maliciousBehaviorRules,
systemImpact,
threads,
eventFilter,
},
endpoint_meta: {
os: endpoint.endpoint_metrics.host.os,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ export interface EndpointMetrics {
library_load_events?: SystemImpactEventsMetrics;
}>;
threads: Array<{ name: string; cpu: { mean: number } }>;
event_filter: {
active_global_count: number;
active_user_count: number;
};
}

interface EndpointMetricOS {
Expand Down

0 comments on commit c17621e

Please sign in to comment.