f3nris
2d6e097742
fix(rapid7-insightidr): explain the process-tree 404 (v1.9.1)
...
Running the command on an alert reports `{"error": "HTTP 404", "detail": ""}`.
The API returns 404 with an empty body, so the operator is told a number and
nothing else — and cannot tell a normal answer from a fault.
It is usually normal, and the URL is not at fault: it is built exactly as
get_alert_evidence builds its own, which works. Rapid7 uses the same 404 for
three unrelated situations and does not distinguish them:
- the alert is not an endpoint detection, so no tree exists. This is the
common case on a feed of ingress_auth, asset_auth or firewall events;
- the tree exists in principle but was never generated. The endpoint returns
the CACHED tree unless force_refresh is set, so an ungenerated tree answers
404 while its data is there. Retrying with force_refresh=true is the first
thing to try on an endpoint detection;
- the key lacks the privilege.
All three are now named in the error, and the force_refresh input says what it
is really for rather than describing it only as a staleness control.
The ingestion path already handled this correctly — it treats 404 as "no tree"
and counts only other statuses as errors — so nothing changes there.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-08 15:56:23 +02:00
..
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-11 22:33:10 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:41:43 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:15:54 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-11 22:39:29 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 00:25:51 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 16:07:37 +02:00
2026-09-01 22:47:46 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 21:59:05 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 15:49:16 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 00:48:03 +02:00
2026-09-08 12:55:20 +02:00
2026-07-13 12:08:48 +02:00
2026-07-12 22:59:19 +02:00
2026-07-13 12:15:50 +02:00
2026-07-12 22:59:20 +02:00
2026-07-13 12:12:34 +02:00
2026-07-13 12:08:49 +02:00
2026-07-12 22:43:16 +02:00
2026-07-12 22:59:18 +02:00
2026-07-12 23:02:11 +02:00
2026-07-12 22:49:28 +02:00
2026-07-13 12:12:35 +02:00
2026-07-13 12:08:49 +02:00
2026-07-12 23:02:10 +02:00
2026-07-13 12:12:34 +02:00
2026-07-13 12:15:50 +02:00
2026-07-12 23:02:11 +02:00
2026-07-12 22:43:17 +02:00
2026-07-13 12:15:49 +02:00
2026-07-12 22:49:30 +02:00
2026-07-12 22:56:36 +02:00
2026-07-12 22:43:17 +02:00
2026-07-12 22:56:36 +02:00
2026-07-12 22:49:29 +02:00
2026-07-12 22:56:35 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 16:12:38 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 15:08:50 +02:00
2026-07-11 22:33:09 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:15:53 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 15:49:17 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-08-05 21:01:43 +02:00
2026-07-11 22:58:17 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-11 22:39:29 +02:00
2026-07-12 14:58:07 +02:00
2026-07-12 00:15:12 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 21:53:58 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-06-27 16:20:53 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-06-26 17:44:54 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 21:13:23 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-11 23:46:35 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-15 19:18:49 +02:00
2026-09-08 15:56:23 +02:00
2026-09-08 12:55:20 +02:00
2026-06-27 15:19:40 +02:00
2026-06-27 15:19:40 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:41:42 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 21:37:31 +02:00
2026-07-11 22:48:48 +02:00
2026-06-27 15:04:22 +02:00
2026-09-08 12:55:20 +02:00
2026-09-07 16:26:05 +02:00
2026-06-27 15:34:42 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-06-26 00:18:06 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 15:18:48 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 15:08:51 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:58:07 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:15:54 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-06-27 15:53:22 +02:00
2026-06-27 15:34:42 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 16:07:38 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 14:58:08 +02:00
2026-09-08 12:55:20 +02:00
2026-09-08 12:55:20 +02:00
2026-07-12 00:37:11 +02:00