09-02-2020 08:20 AM
Hi All;
My IT team has created a new tunnel in Umbrella and would like me to find out what policies make use of this new tunnel.
1. Is there a way to find this information within the dashboard?
2. I see there is an API for Network Tunnel and Management. I have the Org Id and the Tunnel Id.
I have 2 API keys in the dashboard, one for Umbrella Network Devices and one for Umbrella Reporting.
In Postman I used
"GET https://management.api.umbrella.com/v1/organizations/<My Org ID>/tunnels/<My Tunnel ID >/policies"
but received an error stating "Unauthorized" when using the API key( Umbrella Network Devices ) for authorization.
When using basic authorization I receive error message "Invalid authentication credentials"
Can someone help with this or point me to the right direction? If I can find the information in the dashboard I wont need the API method.
Thank you!
Solved! Go to Solution.
09-02-2020 11:33 AM
Issue fixed. I figured out the problem, the tunnel id that i was using was wrong, had to get it from getting the list of tunnels first as it is not the same as shown on the dashboard.
09-02-2020 10:37 AM
So I've made some progress on the above but still having some issues.
For the API, i had to generate a new key/secret for "Umbrella Management" with these new information I am able to
GET https://management.api.umbrella.com/v1/organizations/<org id>/tunnels which gives me the tunnels that we have created.
But when I craft the request for
GET https://management.api.umbrella.com/v1/organizations/<org id>/tunnels/<tunnel id>/policies I get an error message stating "Method not allowed" and this error message isn't in the documentation for the error codes. Any pointers on what I'm doing wrong?
09-02-2020 11:33 AM
Issue fixed. I figured out the problem, the tunnel id that i was using was wrong, had to get it from getting the list of tunnels first as it is not the same as shown on the dashboard.
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