Reports Operations Export Protection Coverage
Streams a CSV export of protection events by rule. The response is text/csv with charset UTF-8, sent as an attachment named protection-coverage-report-YYYY-MM-DD.csv (the date is the current UTC date) with caching disabled. The first line is the column header row, in this order, rule_name, rule_guid, rule_rank, rule_deleted, prevented_events, observed_events, hypervisors_affected, first_event, last_event. There is one row for each matched rule among the events ingested inside the range window with the outcome PREVENTED, TERMINATED or DETECTED_OBSERVE, ordered by total event count descending. The prevented_events column counts the PREVENTED and TERMINATED outcomes and observed_events counts DETECTED_OBSERVE. Events whose rule no longer exists appear as (unavailable Rule) with rule_deleted true, and events with no matched rule appear as (no matched Rule). The text columns (rule_name, rule_guid, rule_rank, first_event, last_event) are always enclosed in double quotes with embedded quotes doubled, and a text value whose first non-space character is =, +, -, @, tab, CR or LF is prefixed with a single quote to neutralise spreadsheet formulas. The range query parameter accepts 24h, 7d or 30d and defaults to 7d, and any other value is rejected with 400 INVALID_RANGE. There is no row limit. Requires the ADMIN or SECURITY_OPERATOR role (the AUDITOR role receives 403, although it may use the preview). Every export attempt is audited (REPORT_EXPORTED on success, REPORT_EXPORT_FAILED on a denied or failed attempt).
Time window counted back from the request time: 24h, 7d or 30d (default 7d). Only these exact lowercase values are accepted; any other value, including an empty one, answers 400 INVALID_RANGE.
7d
200 OK CSV file stream. The CSV of protection events by rule, sent as an attachment named protection-coverage-report-YYYY-MM-DD.csv
"rule_name,rule_guid,rule_rank,rule_deleted,prevented_events,observed_events,hypervisors_affected,first_event,last_event\n\"Block Unapproved Scripts\",\"00000000-0000-4000-8000-000000000012\",\"CUSTOM_LOCAL\",false,42,0,3,\"2026-01-09T08:12:00Z\",\"2026-01-15T09:41:00Z\"\n\"Audit Shell Spawn\",\"00000000-0000-4000-8000-000000000007\",\"CUSTOM_LOCAL\",false,0,21,4,\"2026-01-08T14:03:00Z\",\"2026-01-15T09:12:00Z\"\n"
400 Bad Request: INVALID_RANGE when range is not a supported value (24h, 7d or 30d)
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
403 Forbidden: FORBIDDEN when the signed-in role is not allowed to call this operation; PASSWORD_CHANGE_REQUIRED when the account must change its password first (only GET /api/v1/auth/session, POST /api/v1/auth/logout and POST /api/v1/auth/change-password are exempt); LICENSE_REQUIRED or LICENSE_EXPIRED while the license pool is restricted (no license, or expired past grace) (exempt: every route under /api/v1/auth, GET /api/v1/user/preferences, GET /api/v1/licensing/summary and POST /api/v1/licensing/licenses)
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
500 Internal Server Error: INTERNAL_ERROR when the server fails unexpectedly; the message carries no detail
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/reports/protection-coverage/export