- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
WAPI to Create Ruleset for Blacklist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-26-2015 05:11 PM
Hi, I'm now trying to import domains through CSV files on the Infoblox virtual appliance, right now I can import domains to my predefined blacklist rulesets by using WAPI, however I can not find a way to automatically create a blacklist ruleset using WAPI, anyone can help?
Solved! Go to Solution.
Re: WAPI to Create Ruleset for Blacklist
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-14-2015 12:59 PM - edited 09-14-2015 01:00 PM
Hi, you can create the blacklist ruleset itself using CSV imports as well, in a similar manner as you have done for importing the rules.
This is a sample CSV file from the NIOS CSV Import Reference:
header-Ruleset,name*,type*,comment,disabled ruleset,NXD,NXDOMAIN,This is an NXDOMAIN ruleset,FALSE
Also, if you wanted to, in the same CSV file you could first define the ruleset, then add rules to it, as per below:
header-Ruleset,name*,type*,comment,disabled ruleset,BlackListName,NXDOMAIN,This is an NXDOMAIN ruleset,FALSE header-blacklistrule,parent*,domain_name*,action* blacklistrule,BlackListName,foobar.com,REDIRECT
One thing to keep in mind is, a ruleset needs to be defined first in the CSV file before any rules belonging to it (eg in a higher row).
I hope this helps.
Re: WAPI to Create Ruleset for Blacklist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2015 01:16 PM
I need this feature too in the WAPI. The CSV import feature is a manual process and not adequate.