Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XSUP-41474] fix pagination #36369

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2537,7 +2537,7 @@ def get_indicators(client: Client, **kwargs):
next_page = res.get('meta', {}).get('next', None)
while len(iocs_context) < limit and next_page:
next_page = next_page.replace('api/', '')
res = client.http_request("GET", next_page, without_credentials=True)
res = client.http_request("GET", next_page)
iocs_list = res.get('objects', None)
next_page = res.get('meta', {}).get('next', None)
if iocs_list:
Expand Down
6 changes: 6 additions & 0 deletions Packs/Anomali_ThreatStream/ReleaseNotes/2_2_23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Anomali ThreatStream v3

- Fixed an issue where the ***threatstream-get-indicators*** command failed when more than 1000 indicators were expected to be retrieved.
2 changes: 1 addition & 1 deletion Packs/Anomali_ThreatStream/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Anomali ThreatStream",
"description": "Use Anomali ThreatStream to query and submit threats.",
"support": "xsoar",
"currentVersion": "2.2.22",
"currentVersion": "2.2.23",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading