Get All Network Groups icon

Get All Network Groups

Get all network groups

Overview

This node retrieves all network groups from a firewall API. It is useful for scenarios where you need to fetch and process network group data, such as managing firewall rules or monitoring network configurations. For example, it can be used to automate the retrieval of network groups for security audits or integration with other network management tools.

Use Case Examples

  1. Fetch all network groups from a firewall to update a monitoring dashboard.
  2. Retrieve network groups to automate firewall rule updates based on group membership.

Output

JSON

  • success - Indicates if the API request was successful (true or false).
  • groups - Array of network groups retrieved from the API.
  • totalGroups - Total number of network groups retrieved.
  • response - Raw response data from the API call.
  • error - Error message if the request failed.
  • statusCode - HTTP status code returned by the API.

Dependencies

  • Requires a firewall API credential with an API URL and authentication token.

Troubleshooting

  • Common issues include network connectivity problems, invalid or expired API credentials, and API endpoint errors.
  • Error messages include failure to get network groups with details on HTTP status and response body, which help diagnose issues.
  • To resolve errors, verify API credentials, check network connectivity, and ensure the API endpoint is correct and accessible.

Discussion