cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shocko
Level 10
Report Inappropriate Content
Message 1 of 2

REST API To upload File to Web Gateway

Hi guys, I am currently hosting a proxy PAC file for my users on the McAfee Web Gateway 8.x. The reason I do this is because we have 2 GWs behind a VIP so works great for HA etc. Now, I am embarking on an Office 365 rollout and need to keep this PAC file up to date each month as new API endpoints are released. 

So, I have a process in place to generate a new PAC file as required but I need an automated method to upload to the Web gateway. Is this possible using the REST API or the like?

1 Reply
asabban
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: REST API To upload File to Web Gateway

Hi,

how is the proxy.pac hosted? In rules served via the proxy or as a plain file on the OS served via the UI/File Server ports?

If hosted in rules you can use the REST API to make modifications, which will be a bit painful but technically possible.

If hosted as a file you can simply update the file using SCP or some scripts on the OS. No need for the REST API.

Andre

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