Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [Security Solution] Integrate state and components for Prebuilt Rule Update Workflow (#193531) #194348

Merged
merged 1 commit into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. [Security Solution] Integrate state and components for Prebuilt Rule …

    …Update Workflow (elastic#193531)
    
    **Epic:** elastic#174168
    **Addresses:** elastic#171520
    
    ## Summary
    
    This PR introduces a new `Update` tab allowing users to resolve rule upgrade conflicts. It's a result of combination of read-only components implemented in elastic#193261 and rule upgrade state implemented in elastic#191721.
    
    ## Details
    
    The goal of this PR is to provide intermediate integration between rule upgrade state ([PR](elastic#191721)) and components displaying the diff and read-only state ([PR](elastic#193261)). It will facilitate further development of rule field editable components and streamline rule upgrade functionality developing.
    
    ## How to test?
    
    The functionality is hidden under `prebuiltRulesCustomizationEnabled` feature flag. Add the following to your Kibana config
    
    ```yaml
    xpack.securitySolution.enableExperimental:
      - prebuiltRulesCustomizationEnabled
    ```
    
    When the above feature flag enabled the new `Update` tab is displayed instead of the old one.
    
    ## Screenshots
    
    Suggested components design
    ![image](https://github.com/user-attachments/assets/b5aaf571-286a-4595-9bd4-fdaf9a423b03)
    
    New `Update` tab
    <img width="1718" alt="image" src="https://github.com/user-attachments/assets/28aa6bb3-f805-4109-a808-d67e58c7c5b8">
    
    (cherry picked from commit 878ba13)
    maximpn committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    ecd3f19 View commit details
    Browse the repository at this point in the history