NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Query → Antivirus Threats

AI-generated

Summary

Query antivirus threats from the NinjaOne API, optionally filtering results by device filter, cursor for pagination, page size, and a timestamp.

Inputs

  • Authentication (required) — Choose the authentication method: OAuth2 (Authorization Code) or Client Credentials.
  • Filters — Optional filter parameters including Device Filter (DF) string to refine devices, Cursor string for pagination, Page Size number to limit number of results per page (default 200), and Timestamp string to filter by time.

Output shape

a JSON array of antivirus threat records returned from the NinjaOne query endpoint

The output consists of an array of threat objects as returned by the NinjaOne API at the '/api/v2/queries/antivirus-threats' endpoint. Pagination can be controlled with 'cursor' and 'pageSize' filters. The 'Device Filter' (df) supports NinjaOne device filtering expressions to limit results to specific devices. 'Timestamp' may filter results by a specified time. The node returns the direct API response as JSON, suitable for further workflow processing.

Examples

Example 1: Retrieve the latest antivirus threats for all devices

Set 'Authentication' to preferred method, leave filters empty or specify 'Page Size' and 'Timestamp' as needed

Links

Discussion