Skip to content

Commit f81e992

Browse files
committed
Remove constant
1 parent 0ed7196 commit f81e992

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • x-pack/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log

x-pack/plugins/security_solution/server/lib/detection_engine/rule_monitoring/logic/rule_execution_log/event_log/event_log_reader.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
99
import type { IEventLogClient, IValidatedEvent } from '@kbn/event-log-plugin/server';
1010
import { MAX_EXECUTION_EVENTS_DISPLAYED } from '@kbn/securitysolution-rules';
11-
import { EVENT_LOG_ACTIONS } from '@kbn/alerting-plugin/server/plugin';
1211
import type {
1312
GetRuleExecutionEventsResponse,
1413
GetRuleExecutionResultsResponse,
@@ -132,8 +131,8 @@ export const createEventLogReader = (eventLog: IEventLogClient): IEventLogReader
132131
if (someRunTypeFiltersSelected) {
133132
const ruleRunEventActions = runTypeFilters.map((runType) => {
134133
return {
135-
[RuleRunTypeEnum.standard]: EVENT_LOG_ACTIONS.execute,
136-
[RuleRunTypeEnum.backfill]: EVENT_LOG_ACTIONS.executeBackfill,
134+
[RuleRunTypeEnum.standard]: 'execute',
135+
[RuleRunTypeEnum.backfill]: 'execute-backfill',
137136
}[runType];
138137
});
139138

0 commit comments

Comments
 (0)