From 7b9b2329f81e8f27e1b4c3cb0872087a8a2576e3 Mon Sep 17 00:00:00 2001 From: Alan Grgic Date: Wed, 10 Jun 2020 11:55:15 -0500 Subject: [PATCH] Bugfix/max page and alert id list (#99) --- CHANGELOG.md | 6 ++++++ setup.py | 2 +- src/code42cli/__version__.py | 2 +- src/code42cli/cmds/alerts/util.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 685e52284..b2c056df5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 The intended audience of this file is for py42 consumers -- as such, changes that don't affect how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here. +## 0.7.1 - 2020-06-10 + +### Fixed + +- Issue that prevented alerts from being retrieved successfully via `code42 alerts` commands due to a change in its backing API. + ## 0.7.0 - 2020-06-08 ### Changed diff --git a/setup.py b/setup.py index 819d0ceaa..64e4e16fd 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ package_dir={"": "src"}, python_requires=">3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", install_requires=[ - "c42eventextractor==0.3.1", + "c42eventextractor==0.3.2", "keyring==18.0.1", "keyrings.alt==3.2.0", "py42>=1.2.0", diff --git a/src/code42cli/__version__.py b/src/code42cli/__version__.py index 49e0fc1e0..a5f830a2c 100644 --- a/src/code42cli/__version__.py +++ b/src/code42cli/__version__.py @@ -1 +1 @@ -__version__ = "0.7.0" +__version__ = "0.7.1" diff --git a/src/code42cli/cmds/alerts/util.py b/src/code42cli/cmds/alerts/util.py index fd63200fb..048fdabab 100644 --- a/src/code42cli/cmds/alerts/util.py +++ b/src/code42cli/cmds/alerts/util.py @@ -1,6 +1,6 @@ from code42cli.compat import range -_BATCH_SIZE = 500 +_BATCH_SIZE = 100 def get_alert_details(sdk, alert_summary_list):