Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Security Solution] Adds UI support for filtering by rule sourc…
…e customization (#197340) (#199217) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Adds UI support for filtering by rule source customization (#197340)](#197340) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Davis Plumlee","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-06T19:51:25Z","message":"[Security Solution] Adds UI support for filtering by rule source customization (#197340)\n\n## Summary\r\n\r\nAddresses https://github.com/elastic/kibana/issues/180169\r\n\r\n> [!NOTE] \r\n> Feature is behind the `prebuiltRulesCustomizationEnabled` feature\r\nflag.\r\n\r\nAdds a filter for prebuilt rules in the Update rules table for\r\n\"Modified\" and \"Unmodified\" rules. Also adds a badge column in the Rules\r\ntable to display whether a prebuilt rule has been customized or not.\r\n\r\nAlso switches the \"Customized Elastic rule\" badge on the rule details\r\npage to align with the updated language of \"_Modified_ Elastic rule\"\r\n\r\n### Screenshots\r\n\r\n#### Modified badge in Rules table\r\n![Screenshot 2024-11-05 at 3 05\r\n56 PM](https://github.com/user-attachments/assets/1f3313bb-7171-42b5-99b0-b9fb296fefd3)\r\n\r\n#### Modification filter dropdown on Rule update page\r\n<img width=\"1479\" alt=\"Screenshot 2024-10-24 at 11 46 26 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/82715abe-6ff6-4ba6-97b3-6fab9f42069e\">\r\n\r\n#### New \"customized rule\" badge language on Rule details page\r\n![Screenshot 2024-11-05 at 3 14\r\n58 PM](https://github.com/user-attachments/assets/4e22ba3a-e13f-4cf1-88c0-6b5b0b2c258a)\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)\r\n- [ ] This will appear in the **Release Notes** and follow the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"f740d953c7c624ddc26e1bef7a88dd9bb901a451","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v8.17.0"],"title":"[Security Solution] Adds UI support for filtering by rule source customization","number":197340,"url":"https://github.com/elastic/kibana/pull/197340","mergeCommit":{"message":"[Security Solution] Adds UI support for filtering by rule source customization (#197340)\n\n## Summary\r\n\r\nAddresses https://github.com/elastic/kibana/issues/180169\r\n\r\n> [!NOTE] \r\n> Feature is behind the `prebuiltRulesCustomizationEnabled` feature\r\nflag.\r\n\r\nAdds a filter for prebuilt rules in the Update rules table for\r\n\"Modified\" and \"Unmodified\" rules. Also adds a badge column in the Rules\r\ntable to display whether a prebuilt rule has been customized or not.\r\n\r\nAlso switches the \"Customized Elastic rule\" badge on the rule details\r\npage to align with the updated language of \"_Modified_ Elastic rule\"\r\n\r\n### Screenshots\r\n\r\n#### Modified badge in Rules table\r\n![Screenshot 2024-11-05 at 3 05\r\n56 PM](https://github.com/user-attachments/assets/1f3313bb-7171-42b5-99b0-b9fb296fefd3)\r\n\r\n#### Modification filter dropdown on Rule update page\r\n<img width=\"1479\" alt=\"Screenshot 2024-10-24 at 11 46 26 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/82715abe-6ff6-4ba6-97b3-6fab9f42069e\">\r\n\r\n#### New \"customized rule\" badge language on Rule details page\r\n![Screenshot 2024-11-05 at 3 14\r\n58 PM](https://github.com/user-attachments/assets/4e22ba3a-e13f-4cf1-88c0-6b5b0b2c258a)\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)\r\n- [ ] This will appear in the **Release Notes** and follow the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"f740d953c7c624ddc26e1bef7a88dd9bb901a451"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197340","number":197340,"mergeCommit":{"message":"[Security Solution] Adds UI support for filtering by rule source customization (#197340)\n\n## Summary\r\n\r\nAddresses https://github.com/elastic/kibana/issues/180169\r\n\r\n> [!NOTE] \r\n> Feature is behind the `prebuiltRulesCustomizationEnabled` feature\r\nflag.\r\n\r\nAdds a filter for prebuilt rules in the Update rules table for\r\n\"Modified\" and \"Unmodified\" rules. Also adds a badge column in the Rules\r\ntable to display whether a prebuilt rule has been customized or not.\r\n\r\nAlso switches the \"Customized Elastic rule\" badge on the rule details\r\npage to align with the updated language of \"_Modified_ Elastic rule\"\r\n\r\n### Screenshots\r\n\r\n#### Modified badge in Rules table\r\n![Screenshot 2024-11-05 at 3 05\r\n56 PM](https://github.com/user-attachments/assets/1f3313bb-7171-42b5-99b0-b9fb296fefd3)\r\n\r\n#### Modification filter dropdown on Rule update page\r\n<img width=\"1479\" alt=\"Screenshot 2024-10-24 at 11 46 26 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/82715abe-6ff6-4ba6-97b3-6fab9f42069e\">\r\n\r\n#### New \"customized rule\" badge language on Rule details page\r\n![Screenshot 2024-11-05 at 3 14\r\n58 PM](https://github.com/user-attachments/assets/4e22ba3a-e13f-4cf1-88c0-6b5b0b2c258a)\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)\r\n- [ ] This will appear in the **Release Notes** and follow the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"f740d953c7c624ddc26e1bef7a88dd9bb901a451"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: Davis Plumlee <[email protected]> Co-authored-by: Davis Plumlee <[email protected]>
- Loading branch information