Recent Discussions
Pull network rules via API
Hi community, I am trying to pull network settings for several sites. To be more precise, I would like to create a list of bypass rules per site. I tried the following query with empty results: query entityLookup ($accountID: ID!, $type: EntityType!, $parent: EntityInput!) { entityLookup (accountID: $accountID, type: $type, parent: $parent) { items { entity { id name type } description helperFields } } } { "accountID": "{{accountID}}", "type": "localRouting", "parent": { "id": 0, "type": "site" } } Other "type" like lanFirewall worked. Any suggestions how to proceed and get details about bypass ruleset per site?Phil3 hours agoJoining the Conversation67Views1like2CommentsPython script to add or delete a network in a site
Hy, I am trying to create a Python script to delete a network from one site and create it on another site. Do you have any examples of Python scripts available to make these changes? This page https://support.catonetworks.com/hc/en-us/articles/360013823477-Example-Scripts-Using-the-Cato-API-with-Python no longer exists. Best regards, Maël JAUBERTMaelJ13 days agoMaking Connections30Views0likes2CommentsCustom Category creation via API/Terraform
I need to create `Custom Category` via code. Is there API/Terraform resource available for this? I couldn't find it in the docs.DevS15 days agoJoining the Conversation55Views1like2CommentsIs there an API applicable to IP Ranges in the Resources topic?
Hello. We need to create about 4,000 objects in IP Ranges, is there an API available for this? thanks.SolvedESCARE-Team16 days agoMaking Connections183Views0likes13CommentsAccount Access Request's mutation API
Hi everyone, The new account access request method enables us to manage permissions flexibly, but has also complicated the workflow. Manually requesting permissions for multiple support members and order members when an account is created is a significant burden. We are considering whether this could be simplified using the API, but we have not found any relevant commands. Have these been implemented, or being planning? Thank you,DCL_SysAdmin20 days agoMaking Connections106Views1like10CommentsAdd Interface Subnets to User Defined Groups
Hi, using the Cato API is it possible to add Site Interface Subnets to a user defined group? The use case here would be to create a script that creates a Site, creates routes networks, and then adds those routed networks to several groups. I checked the API documentation, but didn't see any options initially. Thanks!SolvedJeremy21 days agoJoining the Conversation60Views1like3CommentsAPI call to return number of current SDP sessions?
I was wondering if there is an API call to return the number of current SDP sessions? I am able to return the list of connected sessions and count them, but I was wondering if there is a more direct way to just return the number directly. Thanks.ddaniel29 days agoMaking Connections141Views3likes4CommentsBypassing Cato via WAN Bypass and Split Tunnel
We need to add around 200 subnets to bypass Cato. My understanding is that they need to be added to all sites under the Site Configuration/Router/Bypass/Destination and for all SDP users via Access/Client Access Control/Split Tunnel policy. We have nearly 90 sites. Manually adding 200 subnets to 90 sites doesn't seem like a good time. Is this possible via the API? If so, can you point me toward the correct commands.SomeGuy2 months agoJoining the Conversation175Views4likes5CommentsEditing WAN firewall policy via api
Hi all, I need to edit 900 policy rules on my WAN firewall (all should be edited the same way), and I'm trying to run some Python scripts via API to do it. Has anyone done that? Edit rule on Cato using api?ronior2 months agoJoining the Conversation61Views0likes1CommentUse API to update Custom APP
Hi We are trying work on a API solution which help us to use logic app in MS to update the the custom app in cato for domain/ip addresses/port no/file hash If anybody has attempted this before in the cato community then we request to help us.J-Wadhwa2 months agoJoining the Conversation96Views1like1Comment