Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

[client] report discarded objects during splitting as processed in work (opencti #11359)#915

Merged
JeremyCloarec merged 4 commits intomasterfrom
opencti/issue/11359
Jun 18, 2025
Merged

[client] report discarded objects during splitting as processed in work (opencti #11359)#915
JeremyCloarec merged 4 commits intomasterfrom
opencti/issue/11359

Conversation

@JeremyCloarec
Copy link
Contributor

@JeremyCloarec JeremyCloarec commented Jun 16, 2025

Proposed changes

  • split_bundle_with_expectations now reports the number of discarded elements due to incompatible type
  • when splitting bundle in import_bundle, we now report_expectation with an error for every discarded element
  • changed all calls to split_bundle_with_expectations to handle new signature

result of new report expectation with error:
image

octi PR: OpenCTI-Platform/opencti#11365

Related issues

  • opencti #11359

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...

@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Jun 16, 2025
@JeremyCloarec JeremyCloarec added the multi-repository When a PR requires several repository changes label Jun 16, 2025
@JeremyCloarec JeremyCloarec changed the title Opencti/issue/11359 [client] report discarded objects during splitting as processed in work (opencti #11359) Jun 17, 2025
@JeremyCloarec JeremyCloarec marked this pull request as ready for review June 17, 2025 08:15
@JeremyCloarec JeremyCloarec merged commit d932db5 into master Jun 18, 2025
7 checks passed
@JeremyCloarec JeremyCloarec deleted the opencti/issue/11359 branch June 18, 2025 09:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

filigran team use to identify PR from the Filigran team multi-repository When a PR requires several repository changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants