Skip to content

Commit

Permalink
ALERT_TYPE_ID => RULE_TYPE_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
madirey committed Sep 10, 2021
1 parent 0859f5a commit 0e7676d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { validateNonExact } from '@kbn/securitysolution-io-ts-utils';

import { PersistenceServices } from '../../../../../../rule_registry/server';
import { THRESHOLD_ALERT_TYPE_ID } from '../../../../../common/constants';
import { THRESHOLD_RULE_TYPE_ID } from '../../../../../common/constants';
import { thresholdRuleParams, ThresholdRuleParams } from '../../schemas/rule_schemas';
import { thresholdExecutor } from '../../signals/executors/threshold';
import { ThresholdAlertState } from '../../signals/types';
Expand All @@ -35,7 +35,7 @@ export const createThresholdAlertType = (createOptions: CreateRuleOptions) => {
ruleDataService,
});
return createSecurityRuleType<ThresholdRuleParams, {}, PersistenceServices, ThresholdAlertState>({
id: THRESHOLD_ALERT_TYPE_ID,
id: THRESHOLD_RULE_TYPE_ID,
name: 'Threshold Rule',
validate: {
params: {
Expand Down

0 comments on commit 0e7676d

Please sign in to comment.