opencti icon indicating copy to clipboard operation
opencti copied to clipboard

wip

Open ValentinBouzinFiligran opened this issue 1 year ago • 0 comments

Test branch for a potential bug in streams:

I have added a test that changes the pattern of an indicator. This naturally changes the standard stix id of the indicator.

=> error in raw stream sync.

{"category":"APP","errors":[{"attributes":{"genre":"BUSINESS","http_status":400},"message":"Cannot delete the stix element, indicator--ac07b543-765f-57b4-868d-6b2be61629a8 cannot be found.","name":"FUNCTIONAL_ERROR","stack":"GraphQLError: Cannot delete the stix element, indicator--ac07b543-765f-57b4-868d-6b2be61629a8 cannot be found.\n    at error (/tmp/raw-start-platform/opencti-graphql/src/config/errors.js:7:10)\n    at FunctionalError (/tmp/raw-start-platform/opencti-graphql/src/config/errors.js:94:50)\n    at stixDelete (/tmp/raw-start-platform/opencti-graphql/src/domain/stix.js:51:9)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)"}],"inner_relation_creation":0,"level":"error","message":"Cannot delete the stix element, indicator--ac07b543-765f-57b4-868d-6b2be61629a8 cannot be found.","operation":"Unspecified","query_attributes":[[{"arguments":[],"name":"delete"}]],"size":56,"source":"backend","time":6,"timestamp":"2024-10-04T13:30:33.689Z","type":"WRITE_ERROR","user":{"group_ids":["5fb5f176-131f-4db5-9515-34f71e9342ce"],"ip":"::ffff:192.168.192.12","organization_ids":[],"socket":"query","user_id":"88ec0c6a-13ce-5e39-b486-354fe4a7084f","user_metadata":{}},"version":"6.3.5"}

ValentinBouzinFiligran avatar Oct 04 '24 12:10 ValentinBouzinFiligran