The CloudRadial AutomationAI DNSFilter extension lets a workflow or agent work with DNSFilter's DNS-layer security: look up your organizations, networks, and filtering policies, block or allow a domain on a policy, and pull threat and request totals for a date range. This article covers what the extension can do, the API key it needs, which tools require approval, and the skills that ship with it. It is for workspace users who build automations (Admin or Owner Role).
- What the Extension Covers
- Creating the API Key
- Providing the Credentials to Your Runner
- Reads and Approval-Gated Changes
- Skills
- Tips for Working With DNSFilter Data
What the Extension Covers
The extension calls the DNSFilter v1 REST API and provides 11 tools across these areas:
| Area | What you can automate |
| Account (1 tool) | Confirm which DNSFilter user the API key belongs to |
| Organizations and networks (2 tools) | List organizations, filtered by name or type, and list networks, searched by name, hostname, or IP address. An MSP account sees its sub-organizations. |
| Policies (2 tools) | List filtering policies, for one organization or including global policies, and read one policy with its block and allow lists |
| Block and allow lists (4 tools) | Add a domain to a policy's block list or remove it, and add a domain to a policy's allow list or remove it |
| Reports (2 tools) | Pull the total threats blocked, and the total DNS requests (all, allowed, or blocked), for a date range, an organization, or a network |
Install it from Extensions like any other catalog extension. It appears in the catalog as DNSFilter. See Browsing and installing extensions for the general install flow.
Creating the API Key
The extension authenticates with a DNSFilter API key, which needs a DNSFilter plan with REST API access. Create the key in the DNSFilter dashboard under Account Settings > API Keys. DNSFilter shows the key only once, so copy it when you create it.
Providing the Credentials to Your Runner
Store one secret in your runner's Key Vault with this exact name:
| Secret | Value |
DNSFilter-APIKey |
The DNSFilter API key, on its own. Don't add Bearer, Token, or any other prefix. |
The extension sends the key as the Authorization header on every request. The API address is fixed, so there is no URL secret to set. For how to add secrets, see Accessing and updating your runner's Key Vault. If you keep a separate DNSFilter account per client, see Managing companies and per-company credentials.
The agent reads the key from the runner and never asks you for it. Once the secret is in place, ask the AI Playground which DNSFilter user the key belongs to, or to list your organizations, to confirm the connection works.
Reads and Approval-Gated Changes
Of the 11 tools, 7 are read-only and run without interruption, including both reports. The other 4 change a policy's block or allow list, and every one of them is approval-gated: the run pauses and the request appears as an Action Required item in the Inbox until someone approves it. See Handling Action Required items in the Inbox. An Agent node with autoApprove turned on runs approval-gated tools without pausing, and so does an Extension tool node whose write call was approved when the workflow was published. Only the Admin or Owner Role can do either; see The Agent node and The Extension tool node.
| Tool behavior | Tools |
| Approval-gated | Block a domain; unblock a domain; allow a domain; remove a domain from the allow list |
| Read-only | Read the current user; list organizations; list networks; list and read policies; the threat report; the request report |
Every block or allow change needs the policy, the domain, and a short note saying why, such as the ticket or alert it came from. DNSFilter requires the note. The extension has no tools to create, change, or delete a policy itself.
Skills
The extension ships three skills that guide an agent through common DNSFilter tasks:
| Skill | Use it to |
| Block a Domain in DNSFilter | Block a domain on a policy, for example in response to a phishing or malware indicator. The agent finds the policy first. The block is approval-gated. |
| Unblock or Allow a Domain in DNSFilter | Clear a false positive by removing a domain from the block list, allow-listing it, or undoing an earlier allow. The agent finds the policy first. Every change is approval-gated. |
| Report DNSFilter Threat and Request Activity | Report the threats blocked or the request volume for an organization or network over a date range. Read-only. |
Tips for Working With DNSFilter Data
- Refer to organizations and policies by name. The agent looks up the id before it changes a policy and doesn't act on a guessed id. If more than one policy matches the name, it asks you which one.
- DNSFilter can't filter policies by name, so the agent lists the policies, for one organization when it knows which, and matches the name in the list
- Unblocking a domain removes it from the block list but doesn't allow-list it. To let a domain through even when one of the policy's blocked categories would stop it, ask for it to be allowed.
- Give a reason when you ask for a block or allow change, such as a ticket number, so the agent can use it as the note
- Reports cover the last day unless you give a date range. Dates use the
YYYY-MM-DDformat, and you can narrow a report to one or more organizations or networks. - List tools return the complete list in one call, so you don't need to ask for more pages. If a list is larger than the runner's page limit, the tool returns an error instead of a partial list, so filter it to a smaller set.
If you are still having trouble, we’re here to help! Submit a ticket here for assistance, and don’t forget to check our status page to ensure there are no outages in your area.
Comments
0 comments
Please sign in to leave a comment.