Connect Secure icon

Connect Secure

Consume Connect Secure API

Actions222

Overview

This node interacts with the Connect Secure API to retrieve firewall rules associated with assets. Specifically, the "Retrieve Asset Firewall Rules" operation fetches firewall rule data for assets based on user-defined query parameters such as filtering conditions, pagination, and sorting.

Common scenarios where this node is beneficial include:

  • Auditing or monitoring firewall rules applied to assets in a network.
  • Integrating asset firewall configurations into automated workflows for compliance checks.
  • Extracting firewall rule data for reporting or further processing in other systems.

For example, a user might want to retrieve all firewall rules for assets that match certain criteria (e.g., specific IP ranges or protocols) and limit the results to a manageable number for review.

Properties

Name Meaning
X USER ID User identifier required for authentication or scoping the request.
Condition Query condition string to filter the firewall rules returned by the API.
Skip Number of records to skip, useful for pagination.
Limit Maximum number of records to return, controlling the size of the result set.
Order By Field(s) to order the results by, allowing sorted output based on specified criteria.

Output

The node outputs JSON data representing the retrieved asset firewall rules. The structure typically includes an array of firewall rule objects, each containing details such as rule identifiers, conditions, actions, and related metadata.

If the API supports binary data (not indicated here), it would be summarized accordingly, but this node primarily returns structured JSON data.

Dependencies

  • Requires an API key credential for authenticating with the Connect Secure API.
  • Depends on the Connect Secure API being accessible and properly configured.
  • No additional environment variables are explicitly required beyond the API credential.

Troubleshooting

  • Missing or invalid X USER ID: The API requires a valid user ID header; ensure this property is correctly set.
  • Invalid query conditions: Malformed or unsupported query strings in the "Condition" property may cause errors or empty results.
  • Pagination issues: Setting "Skip" or "Limit" incorrectly can lead to unexpected subsets of data or no data returned.
  • API connectivity problems: Network issues or incorrect API credentials will prevent successful retrieval.
  • Order By syntax errors: Incorrect field names or formats in "Order By" may cause the API to reject the request.

To resolve these, verify input values, check API credentials, and consult API documentation for correct query syntax.

Links and References

  • Connect Secure API Documentation (refer to official docs for detailed API usage and query syntax)
  • n8n Documentation on HTTP Request Nodes and Custom Node Development

Discussion