Description
The opencti-core-settings Elasticsearch Component template seems not updated after its first initialization.
Environment
OS (where OpenCTI server runs): Official docker image
OpenCTI version: 6.4.0
OpenCTI client: N/A
Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
Initialize a new setup of OpenCTI, including Elasticsearch templates and indices
Change the ELASTICSEARCH__NUMBER_OF_REPLICAS environment variable to 0
Expected Output
The opencti-core-settings ES Component template updated to include number_of_replicas: "0".
New indices have the set number of replicas (0)
Actual Output
The opencti-core-settings ES Component template is unchanged.
New indices have the default number of replicas (1)
Additional information
Edit : Swapped Expected and Actual Output.
Description The opencti-core-settings Elasticsearch Component template seems not updated after its first initialization.
Environment OS (where OpenCTI server runs): Official docker image OpenCTI version: 6.4.0 OpenCTI client: N/A Other environment details: Reproducible Steps Steps to create the smallest reproducible scenario:
Initialize a new setup of OpenCTI, including Elasticsearch templates and indices Change the ELASTICSEARCH__NUMBER_OF_REPLICAS environment variable to 0 Expected Output The opencti-core-settings ES Component template updated to include number_of_replicas: "0". New indices have the set number of replicas (0)
Actual Output The opencti-core-settings ES Component template is unchanged. New indices have the default number of replicas (1)
Additional information Edit : Swapped Expected and Actual Output.
Screenshots (optional)