-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update unit tests | Update how we paginate based on last run time | C…
…hange how custom config is named in line with other plugins | Update SDK | Update error handling to return response data in data field
- Loading branch information
1 parent
6e7fedb
commit 3d1cdd2
Showing
12 changed files
with
32,999 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
291 changes: 102 additions & 189 deletions
291
plugins/palo_alto_cortex_xdr/icon_palo_alto_cortex_xdr/tasks/monitor_alerts/task.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 105 additions & 0 deletions
105
plugins/palo_alto_cortex_xdr/unit_test/expected/monitor_alerts_full_next_page_state.json.exp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{"current_count": 200, | ||
"last_alert_hash": ["a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404", | ||
"a502a9c50798186882ad8dc91ac2b38eb185c404"], | ||
"last_search_from": 100, | ||
"last_search_to": 200, | ||
"query_end_time": 1706539560000, | ||
"query_start_time": 1706453160000} |
Oops, something went wrong.