client-python icon indicating copy to clipboard operation
client-python copied to clipboard

create relation success,but show side failed

Open jack-reso opened this issue 1 year ago • 2 comments

Description

when i use pycti to create relation between 'observable a' and 'observable b' ,it's success,and i can see relation between them in observations-> observable a -> overview -> latest created relationships. Howerer,in 'incident c' , i add 'observable a' and 'observable b' to 'incident c' ,but i can't see side between 'observable a' and 'observable b' in cases -> 'incident c' -> knownledge, i try to add side between 'observable a' and 'observable b' via web button,click ’create a relationship‘, howerer there already have relationship.

Is this an interface display problem?

A relationship has been established, but it is not showing side.

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. } docker
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 } opencti 5.9.6
  3. Other environment details: chrome

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. create cases 'incident c'
  2. use pycti to create observable 'observable a' and 'observable b' ,and add 'observable a' and 'observable b' to cases 'incident c'
  3. use pycti to create relationship between 'observable a' and 'observable b' .(code: opencti_api_client.report.add_stix_object_or_stix_relationship( id=report["id"], stixObjectOrStixRelationshipId=object_ref ))
  4. click cases -> 'incident c' -> knowledge,see graph view
  5. error,there is no side between 'observable a' and 'observable b'.

jack-reso avatar Aug 22 '23 02:08 jack-reso

oh, i realizied that relationship was created succsessful, but it don't show in cases 'incident c' -> knowleage, how can i add side (relationship between 'observable a' and 'observable b' ) to cases 'incident c',to show in web?

jack-reso avatar Aug 22 '23 06:08 jack-reso

I have a similar problem. I can add relationships between any entities and it shows when I visit them independently. However, when I try to include the relationship in the report I get a MissingReferenceError.

barismutan avatar Sep 04 '23 18:09 barismutan