Skip to content

Releases: crowdsecurity/python-capi-sdk

0.6.0

29 Mar 02:32
99c63f9
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add MongoDB storage implementation (#27)

0.5.0

20 Mar 09:09
4607154
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Breaking change: Add StorageInterface::mass_update_signals method

0.4.0

23 Feb 09:10
f1c43d3
Compare
Choose a tag to compare

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

0.3.0

16 Feb 05:04
7b85413
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Use context manager for Sql session (#20)
  • Breaking change: The session attribute of SQLStorage is now an instance of the sessionmaker class and should be used as such.

Added

  • Add CAPIClientConfig logger attribute (#21)

0.2.1

09 Feb 10:15
47633da
Compare
Choose a tag to compare

Compare with previous release

Fixed

  • Decrease machine_id database length to 128 characters for Mysql compatibility (#17) and (#18)

0.2.0

09 Feb 04:22
de3e4e9
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Update create_signal function to accept datetime object for the created_at argument (#16)

0.1.0

08 Feb 09:41
2b10bee
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Breaking change: Change method name CAPIClient::has_valid_scenarios to CAPIClient::_has_valid_scenarios

Added

  • Add CAPIClient::prune_failing_machines_signals method for deleting signals from failing machines

0.0.2

07 Feb 00:20
6ced3bd
Compare
Choose a tag to compare

Fixed

  • Enable foreign key constraints only in SQLite connections (#13)

0.0.1

06 Feb 08:54
8fcd473
Compare
Choose a tag to compare
  • Initial release