Skip to content

Commit

Permalink
Sets the batch size for RTR PUT files to 100 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHammond13 authored Jan 18, 2024
1 parent 9417343 commit 15a52c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion caracara/modules/rtr/rtr.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@ def describe_put_files(self, filters: str or FalconFilter = None) -> Dict:
self.logger.info("Retreived %d PUT file IDs", len(put_file_ids))
self.logger.debug(put_file_ids)

put_file_data = batch_get_data(put_file_ids, self.rtr_admin_api.get_put_files)
put_file_data = batch_get_data(
put_file_ids,
self.rtr_admin_api.get_put_files,
data_batch_size=100,
)
return put_file_data

def create_put_file(self, file_path: str, name: str = None, description: str = None):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "caracara"
version = "0.5.2"
version = "0.5.3"
description = "The CrowdStrike Falcon Developer Toolkit"
authors = [ "CrowdStrike <[email protected]>" ]
readme = "README.md"
Expand Down

0 comments on commit 15a52c1

Please sign in to comment.