get_discovery_status
Check recent Discovery scan results. Filter by schedule or state to see success, failure, or progress of scans.
Instructions
Get recent Discovery status records showing scan results.
Queries the discovery_status table for recent discovery runs. Each record represents a single discovery scan attempt against a target, showing whether it succeeded, failed, or is in progress.
Args: schedule_name: Filter by schedule name (STARTSWITH match). Optional. state: Filter by discovery state. Valid values: "Starting", "Active", "Completed", "Cancelled", "Error". Optional. limit: Maximum records to return (1-1000, default 25). offset: Pagination offset.
Returns: JSON object with "count" and "statuses" list containing sys_id, state, source, target IP, CI created/updated info, and timestamps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_name | No | ||
| state | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |