AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node fetches aggregated traffic threat data related to agents from a security or network monitoring service. It is designed to generate reports summarizing total threats detected by various user agents over a specified time range and filtered by multiple criteria such as agent IDs, types, applications, networks, and more.

Common scenarios where this node is beneficial include:

  • Security analysts wanting to monitor threat activity across different user agents in their network.
  • Network administrators generating periodic reports on blocked or allowed traffic incidents.
  • Incident response teams filtering threat data by specific agents, applications, or organizational units for detailed investigation.

Practical example:

  • Generate a report of all blocked threats detected by specific user agents within the last 7 days, grouped by individual agents, to identify which agents are most frequently targeted.

Properties

Name Meaning
Additional Query Parameters Optional filters and parameters to customize the report query. Includes:
- Agent Ids: Comma separated list of user agent UUIDs (defaults to all)
- Agent Types: Comma separated list of user agent types (defaults to all)
- Application Ids: Comma separated list of application IDs (defaults to all)
- Bucket Size: Desired bucket size for aggregation (auto, 15min, 1day), defaults to auto
- Collection Ids: Comma separated list of collection IDs (defaults to all)
- From: Report start datetime in UTC (format YYYY-MM-DDThh:mm:ss or with Z suffix), defaults to current UTC minus 1 day
- Mac Addresses: Comma separated list of MAC addresses without colons (defaults to all)
- Network Ids: Comma separated list of network IDs (defaults to all)
- Organization Ids: Comma separated list of organization IDs (defaults to user org ID)
- Private Ip: Private LAN IP filter
- Private Ip From/To: Range for private LAN IPs
- Show Individual Agents: Boolean to group results by agent id (default true)
- Source: Traffic source filter (all, networks, agents, proxies), default all
- To: Report end datetime in UTC, defaults to current UTC
- Type: Report type filter (all, allowed, blocked), default all
- User Ids: Comma separated list of local user IDs (defaults to all)

Output

The node outputs JSON data containing the aggregated traffic threat report based on the applied filters. The structure typically includes:

  • Summary statistics of total threats per agent or grouped entities.
  • Time-bucketed counts of threats according to the selected bucket size.
  • Breakdown by threat type (allowed, blocked, all).
  • Details about agents, applications, networks, or other filtered dimensions depending on input parameters.

If binary data output is supported, it would represent downloadable report files or raw data exports, but this node primarily returns structured JSON data.

Dependencies

  • Requires an API key credential for authenticating requests to the external traffic monitoring or security reporting service.
  • The node uses a base URL endpoint https://api.dnsfilter.com indicating dependency on the AvantGuard DNSFilter API or similar service.
  • Proper configuration of credentials and network access to the API endpoint is necessary.

Troubleshooting

  • Invalid Date Format: If the from or to date parameters are not in the correct ISO format, the API may reject the request or return unexpected results. Ensure dates follow YYYY-MM-DDThh:mm:ss or YYYY-MM-DDThh:mm:ssZ.
  • Empty Results: Applying overly restrictive filters (e.g., specific agent IDs or date ranges with no data) can result in empty responses. Try broadening filters to verify connectivity and data availability.
  • Authentication Errors: Missing or invalid API key credentials will cause authentication failures. Verify that the API key is correctly configured in n8n credentials.
  • Network Issues: Connectivity problems to the API endpoint can cause timeouts or errors. Check network settings and firewall rules.
  • Unsupported Bucket Size: Using unsupported values for bucket_size may lead to errors or default fallback behavior. Use only auto, 15min, or 1day.

Links and References

Discussion