Skip to content

Commit

Permalink
Update xpanse search_to number
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Aug 21, 2024
1 parent 6b5a875 commit 11bf7c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pe_source/xpanse_alert_pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ def pull_alerts_data(linked_org_list, business_units_list=[]):
business_units_list = list(map(lambda d: d['entity_name'], linked_org_list))

for org in business_units_list:
request_data = {"use_page_token": True}
request_data = {
"use_page_token": True,
"search_from":0,
"search_to": 5000
}
filters = []
LOGGER.info("Running Xpanse alert pull on %s", org)
filters.append(
Expand Down

0 comments on commit 11bf7c9

Please sign in to comment.