opencti
opencti copied to clipboard
File indexing is not working when one file is missing on S3
Description
From discussion on https://github.com/OpenCTI-Platform/opencti/issues/7352
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:
- Create an Artifact with a file extension used for indexing (like .md for example)
- Go on minio ui, inside the bucket > /import/Artifact/ARTIFACT_ID
- Delete the file ( .md one for example)
- Go on setting > File indexing > Start
Expected Output
Idnexing works fine
Actual Output
Indexing never ends, in logs there is {"genre":"TECHNICAL","http_status":500},"message":"The specified key does not exist."
Additional information
Only tested for a first indexation, might be interesting to test the same steps on a platform that has a succeed indexing first.