cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1057
Views
0
Helpful
2
Replies

Find all policies that make use of a tunnel in Umbrella. Dashboard or API

ds06046
Level 1
Level 1

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!

 

1 Accepted Solution

Accepted Solutions

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. 

View solution in original post

2 Replies 2

ds06046
Level 1
Level 1

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?

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. 

Review Cisco Networking for a $25 gift card