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

Side deletions of ref relationships can lead to updated_at upgrade #9944

Closed
richard-julien opened this issue Feb 12, 2025 · 0 comments · Fixed by #9968
Closed

Side deletions of ref relationships can lead to updated_at upgrade #9944

richard-julien opened this issue Feb 12, 2025 · 0 comments · Fixed by #9968
Assignees
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@richard-julien
Copy link
Member

Description

Steps

    1. Create indicator
    1. Put indicator in a report -> updated_at of indicator do not move => OK
    1. Remove indicator of the report -> updated_at of indicator change => KO.

Expected

Updated_at must remains identical

Hints

Side remove function doest not check the direction.
See elRemoveRelationConnection function

          if (isStixRefRelationship(relationType)) {
            source += 'ctx._source[\'updated_at\'] = params.updated_at;';
          }
@richard-julien richard-julien added the bug use for describing something not working as expected label Feb 12, 2025
@richard-julien richard-julien self-assigned this Feb 12, 2025
@richard-julien richard-julien added this to the Release 6.5.2 milestone Feb 13, 2025
@richard-julien richard-julien added the solved use to identify issue that has been solved (must be linked to the solving PR) label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
1 participant