Druva MSP icon

Druva MSP

Interact with the Druva MSP API

Actions79

Report - Cyber Resilience → Get Data Protection Risk Report

AI-generated

Overview

This node operation fetches the Data Protection Risk Report from the Druva MSP API under the 'Report - Cyber Resilience' resource. It allows users to generate reports on data protection risks by specifying date filters (all dates, specific dates, or relative date ranges), and optionally filtering by customers, workload types, and connection status. The node supports pagination and limiting the number of results, and can wrap output items into a single array to optimize downstream processing.

Use Case Examples

  1. A cybersecurity analyst wants to generate a data protection risk report for the previous month filtered by specific customers and workload types to assess vulnerabilities.
  2. An IT manager needs to retrieve all data protection risk reports for the current year without any customer or workload filters to review overall risk trends.

Properties

Name Meaning
Date Selection Method Choose whether to use specific dates, relative date ranges, or include all dates (no date filter). Options: All Dates, Specific Dates, Relative Date Range.
Start Date Start date for the report period. Required if 'Specific Dates' is selected.
End Date End date for the report period. Required if 'Specific Dates' is selected.
Date Range Select a predefined relative date range for the report when 'Relative Date Range' is selected. Options include current month, previous months, quarters, years, and last 30/60/90 days.
Filter by Customers Whether to filter results by specific customer IDs.
Customer IDs List of customer IDs to include in the report. Required if filtering by customers.
Filter by Workload Types Whether to filter results by workload types.
Workload Types Workload types to filter by, such as Server, VM, NAS, Database.
Filter by Connection Status Whether to filter results by connection status.
Connection Status Connection status values to filter by, such as Connected, Disconnected, Intermittent.
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of results to return if not returning all.
Wrap Output Items When enabled, wraps all output items into a single item containing an array to prevent the next node from executing multiple times.
Wrapper Property Name The property name to use for the wrapped array of items in the output. Default is 'items'.

Output

JSON

  • dataProtectionRiskReport - The main data protection risk report data returned from the API, structured as an array of report items.

Dependencies

  • Druva MSP API
  • An API key credential for authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and has permissions to access the Data Protection Risk Report endpoint.
  • If filtering by customers or workload types, verify that the selected IDs and types are valid and exist in the system.
  • Check date parameters for correctness, especially when using specific dates to ensure start date is before end date.
  • If the node returns an error about the resource not being implemented, verify that the resource parameter is correctly set to 'reportCyber' and the operation to 'getDataProtectionRisk'.
  • Network or API rate limit issues may cause failures; consider enabling retry or error handling in the workflow.

Links

Discussion