Closed
Description
Description
A user wasn't able to modify some of his entities, with a Schema validation failure when loading dependencies
error.
After investigation, this is caused by some x_opencti_linked-to
ref relations being left over in database that should have been deleted. These relations are no longer being handled in the current schema, causing the schema validation failure.
To fix it, we need to migrate the remaining x_opencti_linked-to
ref relations from the READ_INDEX_STIX_CYBER_OBSERVABLE_RELATIONSHIPS
.
Environment
- OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
- OpenCTI version: { e.g. OpenCTI 1.0.2 }
- OpenCTI client: { e.g. frontend or python }
- Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Have linked-to ref relationships in the
READ_INDEX_STIX_CYBER_OBSERVABLE_RELATIONSHIPS
index in a platform below 6.0 version - Upgrade the platform to a version >= 6.0 version
Expected Output
The linked-to refs are all migrated to related-to relations
Actual Output
The linked-to refs in the READ_INDEX_STIX_CYBER_OBSERVABLE_RELATIONSHIPS
index remain
Additional information
Screenshots (optional)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment