client-python
client-python copied to clipboard
create relation success,but show side failed
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
- OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. } docker
- OpenCTI version: { e.g. OpenCTI 1.0.2 } opencti 5.9.6
- Other environment details: chrome
Reproducible Steps
Steps to create the smallest reproducible scenario:
- create cases 'incident c'
- use pycti to create observable 'observable a' and 'observable b' ,and add 'observable a' and 'observable b' to cases 'incident c'
- 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 ))
- click cases -> 'incident c' -> knowledge,see graph view
- error,there is no side between 'observable a' and 'observable b'.
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?
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.