github crowdsecurity/python-capi-sdk v0.4.0
0.4.0

latest releases: v0.7.0, v0.6.0, v0.5.0...
7 months ago

Compare with previous release

Changed

  • Breaking change: Rename StorageInterface::get_all_signals to get_signals and add limit, offset, sent and is_failing arguments
  • Breaking change: Change StorageInterface::delete_signals signature to require a list of signal ids
  • Breaking change: Change StorageInterface::delete_machines signature to require a list of machine ids
  • Add batch_size argument to CAPIClient::send_signals and CAPIClient::prune_failing_machines_signals methods
  • CAPIClient::send_signals and CAPIClient::prune_failing_machines_signals now return the number of signals sent or pruned
  • CAPIClient::send_signals and CAPIClient::prune_failing_machines_signals now send and prune signals in batches

Removed

  • Breaking change: Remove CAPIClient::_prune_sent_signals method

Don't miss a new python-capi-sdk release

NewReleases is sending notifications on new releases.