You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to update existing observable, using stix_cyber_observable.create() function, with argument: update=True.
result = client.stix_cyber_observable.create(simple_observable_id=id,
type='Email-Addr',
simple_observable_description=' test update description',
x_opencti_score=50,
update=True,
observableData={"value": "devtest2@test.com",
"display_name":"test-display name"} )
After I run this code, if there is no observable with same type and value, new observable created.
If there is already exist such observable with same value and type, nothing changes.
In second situation I enter id of the observable as it returned at the creation of observable. Tried with both simple_observable_id and id.
Environment
OS Mac OS 10
OpenCTI version: OpenCTI 4.0.7
Other environment details: python 3.8
Reproducible Steps
Steps to create the smallest reproducible scenario:
Create observable using client.stix_cyber_observable.create function.
save returned id.
try to update some details of the same observable using client.stix_cyber_observable.create function with argument update=True.
Expected Output
Expect to see the change at the UI.. tried to update value, score, description, labels, marking but nothing changes, all details remain the same.
Actual Output
Tried to update value, score, description, labels, marking but nothing changes, all details remain the same, checked at the UI, also checked using stix_cyber_observable.list function. No changes appeared.
Additional information
The text was updated successfully, but these errors were encountered:
SamuelHassine
added
feature
use for describing a new feature to develop
and removed
bug
use for describing something not working as expected
labels
Feb 14, 2021
Hi, I still not able to update observable using this command.
If I use id - I receive unknown error, if I use simple_observable_id - no error, but nothing changes at the OPENCTI application.
Tried to update both score and description.
Description
I am trying to update existing observable, using stix_cyber_observable.create() function, with argument: update=True.
result = client.stix_cyber_observable.create(simple_observable_id=id,
type='Email-Addr',
simple_observable_description=' test update description',
x_opencti_score=50,
update=True,
observableData={"value": "devtest2@test.com",
"display_name":"test-display name"} )
After I run this code, if there is no observable with same type and value, new observable created.
If there is already exist such observable with same value and type, nothing changes.
In second situation I enter id of the observable as it returned at the creation of observable. Tried with both simple_observable_id and id.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
Expect to see the change at the UI.. tried to update value, score, description, labels, marking but nothing changes, all details remain the same.
Actual Output
Tried to update value, score, description, labels, marking but nothing changes, all details remain the same, checked at the UI, also checked using stix_cyber_observable.list function. No changes appeared.
Additional information
The text was updated successfully, but these errors were encountered: