mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solution] Fix prebuilt rules exclusion on bulk edit (#209992)
**Resolves: https://github.com/elastic/kibana/issues/209888** ## Summary Resolves an issue when prebuilt rules were not excluded from bulk operations when the license tier is not sufficient to customize prebuilt rules. See the attached issue for reproduction steps. **Before** https://github.com/user-attachments/assets/0f791c4d-f98c-4b97-867d-d8da566eb3a3 **After** https://github.com/user-attachments/assets/8ed2a1e4-d298-4173-95ca-565e0c280c21
This commit is contained in:
parent
3389de3dc5
commit
376754afb4
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ export const prepareSearchParams = ({
|
|||
dryRunResult?.ruleErrors.forEach(({ errorCode }) => {
|
||||
switch (errorCode) {
|
||||
case BulkActionsDryRunErrCodeEnum.IMMUTABLE:
|
||||
case BulkActionsDryRunErrCodeEnum.PREBUILT_CUSTOMIZATION_LICENSE:
|
||||
modifiedFilterOptions = { ...modifiedFilterOptions, showCustomRules: true };
|
||||
break;
|
||||
case BulkActionsDryRunErrCodeEnum.MACHINE_LEARNING_INDEX_PATTERN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue