Curator-opensearch

Latest version: v0.0.13

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 17

3.2.1

--------------------

**General**

* Added delete verification & retry (fixed at 3x) to potentially cover an
edge case in 420 (untergeek)
* Since GitHub allows rST (reStructuredText) README documents, and that's
what PyPI wants also, the README has been rebuilt in rST. (untergeek)

**Bug fixes**

* If closing indices with ES 1.6+, and all indices are closed, ensure that
the seal command does not try to seal all indices. Reported in
426 (untergeek)
* Capture AttributeError when sealing indices if a non-TransportError occurs.
Reported in 429 (untergeek)

3.2.0

--------------------

**New!**

* Added support to manually seal, or perform a [synced flush](http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-synced-flush.html)
on indices with the ``seal`` command. 394 (untergeek)
* Added *experimental* support for SSL certificate validation. In order for
this to work, you must install the ``certifi`` python module:
``pip install certifi``
This feature *should* automatically work if the ``certifi`` module is
installed. Please report any issues.

**General**

* Changed logging to go to stdout rather than stderr. Reopened 121 and
figured they were right. This is better. (untergeek)
* Exit code 99 was unpopular. It has been removed. Reported in 371 and 391
(untergeek)
* Add ``--skip-repo-validation`` flag for snapshots. Do not validate write
access to repository on all cluster nodes before proceeding. Useful for
shared filesystems where intermittent timeouts can affect validation, but
won't likely affect snapshot success. Requested in 396 (untergeek)
* An alias no longer needs to be pre-existent in order to use the alias
command. 317 (untergeek)
* es_repo_mgr now passes through upstream errors in the event a repository
fails to be created. Requested in 405 (untergeek)

**Bug fixes**

* In rare cases, ``*`` wildcard would not expand. Replaced with _all.
Reported in 399 (untergeek)
* Beginning with Elasticsearch 1.6, closed indices cannot have their replica
count altered. Attempting to do so results in this error:
``org.elasticsearch.ElasticsearchIllegalArgumentException: Can't update
[index.number_of_replicas] on closed indices [[test_index]] - can leave
index in an unopenable state``
As a result, the ``change_replicas`` method has been updated to prune closed
indices. This change will apply to all versions of Elasticsearch.
Reported in 400 (untergeek)
* Fixed es_repo_mgr repository creation verification error. Reported in 389
(untergeek)

3.1.0

-------------------

**General**

* If ``wait_for_completion`` is true, snapshot success is now tested and
logged. Reported in 253 (untergeek)
* Log & return false if a snapshot is already in progress (untergeek)
* Logs individual deletes per index, even though they happen in batch mode.
Also log individual snapshot deletions. Reported in 372 (untergeek)
* Moved ``chunk_index_list`` from cli to api utils as it's now also used by
``filter.py``
* Added a warning and 10 second timer countdown if you use ``--timestring``
to filter indices, but do not use ``--older-than`` or ``--newer-than`` in
conjunction with it. This is to address 348, which behavior isn't a bug,
but prevents accidental action against all of your time-series indices. The
warning and timer are not displayed for ``show`` and ``--dry-run``
operations.
* Added tests for ``es_repo_mgr`` in 350
* Doc fixes

**Bug fixes**

* delete-by-space needed the same fix used for 245. Fixed in 353 (untergeek)
* Increase default client timeout for ``es_repo_mgr`` as node discovery and
availability checks for S3 repositories can take a bit. Fixed in
352 (untergeek)
* If an index is closed, indicate in ``show`` and ``--dry-run`` output.
Reported in 327. (untergeek)
* Fix issue where CLI parameters were not being passed to the ``es_repo_mgr``
create sub-command.
Reported in 337. (feltnerm)

3.0.3

-------------------

**Announcement**

This is a bug fix release. 319 and 320 are affecting a few users, so this
release is being expedited.

Test count: 228
Code coverage: 99%

**General**

* Documentation for the CLI converted to Asciidoc and moved to
http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
* Improved logging, and refactored a few methods to help with this.
* Dry-run output is now more like v2, with the index or snapshot in the log
line, along with the command. Several tests needed refactoring with this
change, along with a bit of documentation.

**Bug fixes**

* Fix links to repository in setup.py. Reported in 318 (untergeek)
* No more ``--delay`` with optimized indices. Reported in 319 (untergeek)
* ``--request_timeout`` not working as expected. Reinstate the version 2
timeout override feature to prevent default timeouts for ``optimize`` and
``snapshot`` operations. Reported in 320 (untergeek)
* Reduce index count to 200 for
test.integration.test_cli_commands.TestCLISnapshot.test_cli_snapshot_huge_list
in order to reduce or eliminate Jenkins CI test timeouts.
Reported in 324 (untergeek)
* ``--dry-run`` no longer calls ``show``, but will show output in the log, as
in v2. This was a recurring complaint. See 328 (untergeek)

3.0.2

-------------------

**Announcement**

This is a bug fix release. 307 and 309 were big enough to warrant an
expedited release.

**Bug fixes**

* Purge unneeded constants, and clean up config options for snapshot. Reported
in 303 (untergeek)
* Don't split large index list if performing snapshots. Reported in
307 (untergeek)
* Act correctly if a zero value for `--older-than` or `--newer-than` is
provided. 309 (untergeek)

3.0.1

-------------------

**Announcement**

The ``regex_iterate`` method was horribly named. It has been renamed to
``apply_filter``. Methods have been added to allow API users to build a
filtered list of indices similarly to how the CLI does. This was an oversight.
Props to SegFaultAX for pointing this out.

**General**

* In conjunction with the rebrand to Elastic, URLs and documentation were
updated.
* Renamed horribly named `regex_iterate` method to `apply_filter`
298 (untergeek)
* Added `build_filter` method to mimic CLI calls. 298 (untergeek)
* Added Examples page in the API documentation. 298 (untergeek)

**Bug fixes**

* Refactored to show `--dry-run` info for `--disk-space` calls. Reported in
290 (untergeek)
* Added list chunking so acting on huge lists of indices won't result in a URL
bigger than 4096 bytes (Elasticsearch's default limit.) Reported in
https://github.com/elastic/curator/issues/245#issuecomment-77916081
* Refactored `to_csv()` method to be simpler.
* Added and removed tests according to changes. Code coverage still at 99%

Page 12 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.