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

[Security Solution] Implement array of objects diff algorithm #180161

Open
8 tasks
Tracked by #179907
jpdjere opened this issue Apr 5, 2024 · 3 comments
Open
8 tasks
Tracked by #179907

[Security Solution] Implement array of objects diff algorithm #180161

jpdjere opened this issue Apr 5, 2024 · 3 comments
Assignees
Labels
enhancement New value added to drive a business result Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@jpdjere
Copy link
Contributor

jpdjere commented Apr 5, 2024

Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168

Summary

Implement an algorithm for diffing and merging changes in array of objects type of fields of detection rules.

Context from the Rule Customization RFC:

To do

  • Step 0
    • Make a proposal which fields should use this algorithm. Get feedback and approval from the team.
  • Step 1 (separate PR)
    • Implement the algorithm and cover it with unit tests.
  • Step 2 (separate PR)
    • Apply the algorithm to a few rule fields. It will become used in the upgrade/_review endpoint.
    • Write a test plan covering rule upgrade scenarios for the fields to which the algorithm has been applied.
    • Add test coverage according to the test plan (integration tests, primarily?).
@jpdjere jpdjere added triage_needed Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area labels Apr 5, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@banderror banderror changed the title [Security Solution] Implement array of objects fields diff algorithm [Security Solution] Implement array of objects fields diff algorithm (DRAFT) Apr 17, 2024
@banderror banderror changed the title [Security Solution] Implement array of objects fields diff algorithm (DRAFT) [Security Solution] Implement array of objects diff algorithm May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

4 participants