NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

VulnerabilityManagement → Fetch all Scan Groups

AI-generated

Summary

Retrieve scan group data from the NinjaOne vulnerability management system, supporting pagination and filtering options for tailored data retrieval.

Inputs

  • Return All — Choose whether to return all scan groups or only a single page of results.
  • Options — Additional customization including custom request body JSON, custom HTTP headers, query-string filters for the API request, batching settings to control request pacing, debug mode to include request details in the output, pagination configuration to handle multi-page responses, and timeout settings for the request.

Output shape

A list of scan group items as returned by the NinjaOne API, potentially paginated or fully aggregated depending on settings.

Pagination can be configured with offset, cursor, or next-url styles, including controlling page size and maximum pages. Debug mode adds detailed request info to the output. Custom filters and headers can modify the API call. When 'Return All' is false, only one page is retrieved. Batch settings control request pacing for input data.

Examples

Example 1: Retrieve all scan groups without pagination, returning only the first page.

Set 'Return All' to false (default).

Example 2: Fetch all scan groups with automatic pagination, handling large data sets.

Set 'Return All' to true and configure pagination parameters as needed (e.g., page size, max pages).

Example 3: Apply query filters to retrieve scan groups matching criteria.

Add key-value pairs under 'Query Filters' to send as query parameters.

Links

Discussion