Merge pull request 'chore(hub): BIT-30044 restore multi-status filter in fleet audit script' (#14) from chore/BIT-30044-restore-multistatus-audit-filter into master
This commit was merged in pull request #14.
This commit is contained in:
commit
52e75a8760
1 file changed
+1
-1
@@ -126,7 +126,7 @@ def _patch_json(url: str, payload: dict[str, Any], headers: dict[str, str] | Non
|
||||
def fetch_hub_rows(hub_base: str, api_key: str, limit: int) -> list[dict[str, Any]]:
|
||||
url = (
|
||||
f"{hub_base}/api/error-monitoring/recent-errors"
|
||||
f"?limit={limit}&order=occurred_at_desc&api_key={api_key}"
|
||||
f"?limit={limit}&order=occurred_at_desc&status=open,investigating,resolved,ignored&api_key={api_key}"
|
||||
)
|
||||
# Use curl to avoid Cloudflare bot challenges on urllib
|
||||
result = subprocess.run(
|
||||
|
||||
Reference in new issue
Block a user