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

create relation success,but show side failed #442

Open
jack-reso opened this issue Aug 22, 2023 · 2 comments
Open

create relation success,but show side failed #442

jack-reso opened this issue Aug 22, 2023 · 2 comments
Labels
question use for asking information about a functionality or behavior

Comments

@jack-reso
Copy link

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
Copy link
Author

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?

@SamuelHassine SamuelHassine added the question use for asking information about a functionality or behavior label Aug 26, 2023
@barismutan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question use for asking information about a functionality or behavior
Projects
None yet
Development

No branches or pull requests

3 participants