Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.x`: - [[EDR Workflows][Serverless] Gate custom note (#193171)](#193171) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Konrad Szwarc","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-01T13:20:27Z","message":"[EDR Workflows][Serverless] Gate custom note (#193171)\n\nThis PR implements tier-based gating for custom notification messages in\r\nProtections. Only users on the Endpoint Complete tier will have the\r\nability to modify these messages, while users on the Endpoint Essentials\r\ntier will no longer have this capability. If a user on the Essentials\r\ntier had made any changes to custom notifications before this update,\r\nthose messages will be reset to the default ones.\r\n\r\nThe changes are applied in three areas:\r\n1. UI - An upsell banner is displayed for Essentials users.\r\n2. API - We now prevent API calls that attempt to set or modify custom\r\nnotification messages for Essentials users.\r\n3. Policy Watcher - Upon Kibana startup (e.g., after a downgrade), we\r\nvalidate all policies for tier compliance. If a policy contains a custom\r\nnotification message and the user is on the Essentials tier, the message\r\nwill be reset to the default.\r\n\r\n![Screenshot 2024-09-20 at 14 32\r\n52](https://github.com/user-attachments/assets/75739338-e32b-47da-934e-9948f44099ae)\r\n![Screenshot 2024-09-20 at 14 33\r\n21](https://github.com/user-attachments/assets/1af081eb-f75f-4c9d-8f01-df9a01f8f2b2)\r\n![Screenshot 2024-09-20 at 14 33\r\n40](https://github.com/user-attachments/assets/4c0014f5-89f0-48b6-88dc-cc4c2dba666a)\r\n![Screenshot 2024-09-20 at 14 52\r\n25](https://github.com/user-attachments/assets/202e5e1a-7c58-4af1-a85a-399c94313f0b)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"af1dc871eb020a885278df280a6f830bc1179d56","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend Workflows","ci:project-deploy-security","v8.16.0","backport:version"],"title":"[EDR Workflows][Serverless] Gate custom note","number":193171,"url":"https://github.com/elastic/kibana/pull/193171","mergeCommit":{"message":"[EDR Workflows][Serverless] Gate custom note (#193171)\n\nThis PR implements tier-based gating for custom notification messages in\r\nProtections. Only users on the Endpoint Complete tier will have the\r\nability to modify these messages, while users on the Endpoint Essentials\r\ntier will no longer have this capability. If a user on the Essentials\r\ntier had made any changes to custom notifications before this update,\r\nthose messages will be reset to the default ones.\r\n\r\nThe changes are applied in three areas:\r\n1. UI - An upsell banner is displayed for Essentials users.\r\n2. API - We now prevent API calls that attempt to set or modify custom\r\nnotification messages for Essentials users.\r\n3. Policy Watcher - Upon Kibana startup (e.g., after a downgrade), we\r\nvalidate all policies for tier compliance. If a policy contains a custom\r\nnotification message and the user is on the Essentials tier, the message\r\nwill be reset to the default.\r\n\r\n![Screenshot 2024-09-20 at 14 32\r\n52](https://github.com/user-attachments/assets/75739338-e32b-47da-934e-9948f44099ae)\r\n![Screenshot 2024-09-20 at 14 33\r\n21](https://github.com/user-attachments/assets/1af081eb-f75f-4c9d-8f01-df9a01f8f2b2)\r\n![Screenshot 2024-09-20 at 14 33\r\n40](https://github.com/user-attachments/assets/4c0014f5-89f0-48b6-88dc-cc4c2dba666a)\r\n![Screenshot 2024-09-20 at 14 52\r\n25](https://github.com/user-attachments/assets/202e5e1a-7c58-4af1-a85a-399c94313f0b)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"af1dc871eb020a885278df280a6f830bc1179d56"}},"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/193171","number":193171,"mergeCommit":{"message":"[EDR Workflows][Serverless] Gate custom note (#193171)\n\nThis PR implements tier-based gating for custom notification messages in\r\nProtections. Only users on the Endpoint Complete tier will have the\r\nability to modify these messages, while users on the Endpoint Essentials\r\ntier will no longer have this capability. If a user on the Essentials\r\ntier had made any changes to custom notifications before this update,\r\nthose messages will be reset to the default ones.\r\n\r\nThe changes are applied in three areas:\r\n1. UI - An upsell banner is displayed for Essentials users.\r\n2. API - We now prevent API calls that attempt to set or modify custom\r\nnotification messages for Essentials users.\r\n3. Policy Watcher - Upon Kibana startup (e.g., after a downgrade), we\r\nvalidate all policies for tier compliance. If a policy contains a custom\r\nnotification message and the user is on the Essentials tier, the message\r\nwill be reset to the default.\r\n\r\n![Screenshot 2024-09-20 at 14 32\r\n52](https://github.com/user-attachments/assets/75739338-e32b-47da-934e-9948f44099ae)\r\n![Screenshot 2024-09-20 at 14 33\r\n21](https://github.com/user-attachments/assets/1af081eb-f75f-4c9d-8f01-df9a01f8f2b2)\r\n![Screenshot 2024-09-20 at 14 33\r\n40](https://github.com/user-attachments/assets/4c0014f5-89f0-48b6-88dc-cc4c2dba666a)\r\n![Screenshot 2024-09-20 at 14 52\r\n25](https://github.com/user-attachments/assets/202e5e1a-7c58-4af1-a85a-399c94313f0b)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"af1dc871eb020a885278df280a6f830bc1179d56"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Konrad Szwarc <[email protected]>
- Loading branch information