This is an older version of Search Guard. Switch to Latest version
You can mark any index in Elasticsearch as immutable. Documents in immutable indices follow the write-once, read-many paradigm. This means that you can create documents, but once created, they cannot be changed anymore, thus making them immutable.
To mark an index immutable, list the index name in elasticsearch.yml like:
searchguard.compliance.immutable_indices: - indexA - indexB - ...
Marking an index immutable prevents the following actions from being executed:
- Changing or deleting any existing document
- this also includes bulk operations
- Deleting the index
- Opening anc closing the index
- Performing a reindex
- Snapshot / restore
Using an admin certificate
A configured TLS admin certificate can be used to bypass the immutable index checks.