mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[Security Solution][Detection Engine] fixes type errors, adds category for new ES|QL rule type (#167745)
## Summary - https://github.com/elastic/kibana/pull/166781 PR added category id for each Security rule type. This PR was created before ES|QL rule was added, but ES|QL rule got merged earlier, before the last successful build for that PR was created. That allowed maintenance window PR to be merged, without adding category to ES|QL rule
This commit is contained in:
parent
b0ef90dad1
commit
274139eff7
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
import { validateNonExact } from '@kbn/securitysolution-io-ts-utils';
|
||||
import { ESQL_RULE_TYPE_ID } from '@kbn/securitysolution-rules';
|
||||
import { DEFAULT_APP_CATEGORIES } from '@kbn/core-application-common';
|
||||
|
||||
import { SERVER_APP_ID } from '../../../../../common/constants';
|
||||
import type { EsqlRuleParams } from '../../rule_schema';
|
||||
|
@ -47,6 +48,7 @@ export const createEsqlAlertType = (
|
|||
},
|
||||
minimumLicenseRequired: 'basic',
|
||||
isExportable: false,
|
||||
category: DEFAULT_APP_CATEGORIES.security.id,
|
||||
producer: SERVER_APP_ID,
|
||||
executor: (params) => esqlExecutor({ ...params, version }),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue