Skip to content

[8.x] [Security Solution] Enable prebuilt rules customization feature flag (#212761)#214024

Merged
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-212761
Mar 12, 2025
Merged

[8.x] [Security Solution] Enable prebuilt rules customization feature flag (#212761)#214024
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-212761

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…lastic#212761)

**Addresses:** elastic#180267

## Summary

This PR enables `prebuiltRulesCustomizationEnabled` feature flag.

## Details

Besides simply enabling `prebuiltRulesCustomizationEnabled` feature flag the following required changes were done

- failed tests due enabling the FF were fixed
- FF setting was removed from test configurations (integrations and Cypress tests)
- FF logic was removed from the codebase. Disabling the FF would require roll back test changes as well. So just in case we have to disable the FF it's simpler to roll back the PR's commit.

(cherry picked from commit f7d4f19)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 11, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 11, 2025 21:52
@dplumlee
Copy link
Contributor

@elasticmachine merge upstream

@kibanamachine kibanamachine merged commit e51bb22 into elastic:8.x Mar 12, 2025
9 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 7123 7122 -1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.1MB 9.1MB -1.3KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 85.5KB 85.4KB -37.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 581 579 -2

Total ESLint disabled count

id before after diff
securitySolution 664 662 -2

History

cc @maximpn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants