Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 3

Create/edit URL filtering category in MWG using API

Hi everyone,     

Any known solution for how to import/edit URL filtering category in MWG programmatically?

In case I have a text file with domains I'd like to block, which is being periodically updated, what's the best way to edit the URL filtering list (not manually)?




2 Replies
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 3

Re: Create/edit URL filtering category in MWG using API

You can create a new list (Policy - Lists), which can be managed remotely.

So you can place a text file whereever (eg. http), and MWG will update such list automatically based on a selected schedule (every x minutes, every hour, at specified time, weekly).

When you create such list, just use it in your policy.

Tags (2)
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 3

Re: Create/edit URL filtering category in MWG using API


Hope you are doing well.

McAfee Web Gateway has the capability to use lists that are maintained off-box from the Web Gateway for use in your policy. A customer can utilize a subscribed list or an external list.  One of the benefits of using a subscribed or external list is that the contents of the list can be managed on a web server or an external source by different groups within a company. Web Gateway can then collect and use this list for use in the policy/rule engine.


Please refre below link for more information on this:-




Alok Sarda


You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community