opencti icon indicating copy to clipboard operation
opencti copied to clipboard

Inconsistency in sharing inferred relations Post-Bug Fix

Open yassine-ouaamou opened this issue 1 year ago • 3 comments

Description

This issue is related to #6990 The inferred relations included in reports shared prior to this bug fix remain unshared. However, the newly established relations are now shared.

Todo

  • Create migration to align current shared containers
  • Improve inference engine to directly add the correct sharing at creation

Environment

Testing (6.1.11)

yassine-ouaamou avatar Jun 17 '24 08:06 yassine-ouaamou

Also, following the bugfix #6990:

The inference engine needs also to be patched for the use case:

  1. Share a report with an organization
  2. Add something in the report that triggers an inference rule
  3. Inference came => not shared!

SamuelHassine avatar Jun 18 '24 12:06 SamuelHassine

@nino-filigran Customer(s) impacted here.

SamuelHassine avatar Jun 18 '24 12:06 SamuelHassine

Thanks for pointing me out this one, I've missed it. I'll take it internally with devs.

nino-filigran avatar Jun 18 '24 12:06 nino-filigran

I've asked for help from someone with more backend skills to write the migration

lndrtrbn avatar Oct 02 '24 07:10 lndrtrbn

Note: This issue seems to cover this one also : https://github.com/OpenCTI-Platform/opencti/issues/8197

Thanks for the work @lndrtrbn, two customers have been waiting a long time for it 🙏

Lhorus6 avatar Oct 02 '24 13:10 Lhorus6

I don't know what to do with this one

lndrtrbn avatar Apr 11 '25 08:04 lndrtrbn

Hello @lndrtrbn, Can you tell me what you need to deal with this bug?

alice-debra avatar Apr 14 '25 09:04 alice-debra

To be honest, I don't know. Back then it was already unclear to me what was the issue and how we were supposed to fix it.

lndrtrbn avatar May 19 '25 09:05 lndrtrbn

The origin of the bug was that inference rules were not shared before bug fix mentioned in the ticket. We only started sharing relations after the bug fix, but we have a "stock" of inferred relation that have not been shared. This is the goal of this ticket: to also be able, if possible, to share them too.

nino-filigran avatar May 20 '25 07:05 nino-filigran