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

[client] handle new patch operation in bundle import (opencti #6728) #808

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

JeremyCloarec
Copy link
Contributor

@JeremyCloarec JeremyCloarec commented Jan 8, 2025

Linked PR: OpenCTI-Platform/opencti#9504

Proposed changes

  • imported bundle can now contain a opencti_operation with a 'patch' value. When that is the case, the patch contained in the opencti_field_patch of the bundle is used to execute a field patch on the imported entity instead of an upsert

Related issues

  • opencti #6728

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@JeremyCloarec JeremyCloarec changed the title [client] Opencti/issue/6728 chunk7 [client] handle new patch operation in bundle import (opencti #6728) Jan 9, 2025
@JeremyCloarec JeremyCloarec marked this pull request as ready for review January 9, 2025 15:55
@JeremyCloarec JeremyCloarec merged commit b567d0b into release/6.5.0 Jan 13, 2025
4 checks passed
@JeremyCloarec JeremyCloarec deleted the opencti/issue/6728-chunk7 branch January 13, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants