Releases: crowdsecurity/python-capi-sdk
Releases · crowdsecurity/python-capi-sdk
0.7.0
Changed
- Do not block signals sending in the event of machine failure (#31)
0.6.0
0.5.0
Changed
- Breaking change: Add
StorageInterface::mass_update_signals
method
0.4.0
Changed
- Breaking change: Rename
StorageInterface::get_all_signals
toget_signals
and addlimit
,offset
,sent
andis_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 toCAPIClient::send_signals
andCAPIClient::prune_failing_machines_signals
methods CAPIClient::send_signals
andCAPIClient::prune_failing_machines_signals
now return the number of signals sent or prunedCAPIClient::send_signals
andCAPIClient::prune_failing_machines_signals
now send and prune signals in batches
Removed
- Breaking change: Remove
CAPIClient::_prune_sent_signals
method
0.3.0
Changed
- Use context manager for Sql session (#20)
- Breaking change: The
session
attribute ofSQLStorage
is now an instance of the sessionmaker class and should be used as such.
Added
- Add
CAPIClientConfig
logger attribute (#21)
0.2.1
Fixed
0.2.0
Changed
- Update
create_signal
function to accept datetime object for thecreated_at
argument (#16)
0.1.0
Changed
- Breaking change: Change method name
CAPIClient::has_valid_scenarios
toCAPIClient::_has_valid_scenarios
Added
- Add
CAPIClient::prune_failing_machines_signals
method for deleting signals from failing machines
0.0.2
0.0.1
- Initial release