02-07-2022 10:39 AM
Team,
My customer is asking if there is an API that might be utilized to get a list of current Webex service(s) IP address networks and URLs. Their current security policy is to only allow required IP addresses and URLs for Webex access from internal. Their desire is to weekly check and generate alerts on any added address space or URLs they might require for their Webex service. I explained it does not happen often but they want to automate the alerting internally none the less.
Thank you much in advance!
Solved! Go to Solution.
02-08-2022 07:19 AM - edited 02-08-2022 07:19 AM
I have asked around and indeed like Oxana mentioned, this is the way, so you need to scrape the page... I have used a combination of these Python modules before to scrape pages like this:
from urllib.request import urlopen from bs4 import BeautifulSoup link_to_scrape = "https://help.webex.com/en-us/article/WBX264/How-Do-I-Allow-Webex-Meetings-Traffic-on-My-Network" # retrieve text with html parser html = urlopen(link_to_scrape).read() soup = BeautifulSoup(html, "html.parser")
Not sure if this is the best way but it worked for me! Here is a (2 year old) project how I did it with Firepower to block DNS-over-HTTPS:
https://github.com/chrivand/block_doh_firepower
Hope this helps
02-08-2022 07:09 AM
Hello Patrik,
Take a look https://help.webex.com/en-US/article/WBX264/How-Do-I-Allow-Webex-Meetings-Traffic-on-My-Network
This is very static, only modified if Cisco is opening brand new Webex site.
Please let me know if this helps.
02-08-2022 07:19 AM - edited 02-08-2022 07:19 AM
I have asked around and indeed like Oxana mentioned, this is the way, so you need to scrape the page... I have used a combination of these Python modules before to scrape pages like this:
from urllib.request import urlopen from bs4 import BeautifulSoup link_to_scrape = "https://help.webex.com/en-us/article/WBX264/How-Do-I-Allow-Webex-Meetings-Traffic-on-My-Network" # retrieve text with html parser html = urlopen(link_to_scrape).read() soup = BeautifulSoup(html, "html.parser")
Not sure if this is the best way but it worked for me! Here is a (2 year old) project how I did it with Firepower to block DNS-over-HTTPS:
https://github.com/chrivand/block_doh_firepower
Hope this helps
02-08-2022 10:07 AM
Thank you Chris!
02-08-2022 10:10 AM
Thank you Oxana!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide