catocli 1.0.1__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of catocli might be problematic. Click here for more details.
- {catocli-1.0.1 → catocli-1.0.3}/MANIFEST.in +1 -0
- {catocli-1.0.1/catocli.egg-info → catocli-1.0.3}/PKG-INFO +2 -2
- {catocli-1.0.1 → catocli-1.0.3}/catocli/__init__.py +1 -1
- {catocli-1.0.1 → catocli-1.0.3}/catocli/__main__.py +1 -0
- catocli-1.0.3/catocli/parsers/custom/README.md +16 -0
- catocli-1.0.3/catocli/parsers/mutation/README.md +4 -0
- catocli-1.0.3/catocli/parsers/mutation_admin/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_admin_addAdmin/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_admin_removeAdmin/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_admin_updateAdmin/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_container/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_container_delete/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_policy/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_addSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_addSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_addNetworkRange/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_addSocketSite/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_site_addStaticHost/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_removeNetworkRange/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_site_removeSite/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_site_removeStaticHost/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateHa/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateNetworkRange/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateSocketInterface/README.md +19 -0
- catocli-1.0.3/catocli/parsers/mutation_site_updateStaticHost/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites/README.md +7 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_addNetworkRange/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_addSocketSite/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_addStaticHost/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_removeNetworkRange/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_removeSite/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_removeStaticHost/README.md +17 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateHa/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateNetworkRange/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +18 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateSocketInterface/README.md +19 -0
- catocli-1.0.3/catocli/parsers/mutation_sites_updateStaticHost/README.md +18 -0
- catocli-1.0.3/catocli/parsers/query/README.md +3 -0
- catocli-1.0.3/catocli/parsers/query_accountBySubdomain/README.md +17 -0
- catocli-1.0.3/catocli/parsers/query_accountMetrics/README.md +32 -0
- catocli-1.0.3/catocli/parsers/query_accountRoles/README.md +17 -0
- catocli-1.0.3/catocli/parsers/query_accountSnapshot/README.md +18 -0
- catocli-1.0.3/catocli/parsers/query_admin/README.md +17 -0
- catocli-1.0.3/catocli/parsers/query_admins/README.md +21 -0
- catocli-1.0.3/catocli/parsers/query_appStats/README.md +23 -0
- catocli-1.0.3/catocli/parsers/query_appStatsTimeSeries/README.md +23 -0
- catocli-1.0.3/catocli/parsers/query_auditFeed/README.md +20 -0
- catocli-1.0.3/catocli/parsers/query_container/README.md +23 -0
- catocli-1.0.3/catocli/parsers/query_entityLookup/README.md +31 -0
- catocli-1.0.3/catocli/parsers/query_events/README.md +23 -0
- catocli-1.0.3/catocli/parsers/query_eventsFeed/README.md +19 -0
- catocli-1.0.3/catocli/parsers/query_eventsTimeSeries/README.md +23 -0
- catocli-1.0.3/catocli/parsers/query_hardwareManagement/README.md +17 -0
- catocli-1.0.3/catocli/parsers/query_licensing/README.md +16 -0
- catocli-1.0.3/catocli/parsers/query_policy/README.md +18 -0
- catocli-1.0.3/catocli/parsers/query_siteLocation/README.md +26 -0
- catocli-1.0.3/catocli/parsers/query_subDomains/README.md +17 -0
- catocli-1.0.3/catocli/parsers/query_xdr/README.md +7 -0
- catocli-1.0.3/catocli/parsers/query_xdr_stories/README.md +18 -0
- catocli-1.0.3/catocli/parsers/query_xdr_story/README.md +20 -0
- catocli-1.0.3/catocli/parsers/raw/README.md +15 -0
- {catocli-1.0.1 → catocli-1.0.3/catocli.egg-info}/PKG-INFO +2 -2
- catocli-1.0.3/catocli.egg-info/SOURCES.txt +186 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli.egg-info/top_level.txt +0 -1
- {catocli-1.0.1 → catocli-1.0.3}/schema/catolib.py +0 -2
- {catocli-1.0.1 → catocli-1.0.3}/setup.py +1 -1
- catocli-1.0.1/catocli.egg-info/SOURCES.txt +0 -95
- {catocli-1.0.1 → catocli-1.0.3}/LICENSE +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/README.md +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/Utils/clidriver.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/custom/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/custom/customLib.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/mutation_admin/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/mutation_container/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/mutation_policy/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/mutation_site/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/mutation_sites/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/parserApiClient.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_accountBySubdomain/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_accountMetrics/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_accountRoles/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_accountSnapshot/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_admin/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_admins/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_appStats/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_appStatsTimeSeries/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_auditFeed/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_container/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_entityLookup/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_events/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_eventsFeed/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_eventsTimeSeries/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_hardwareManagement/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_licensing/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_policy/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_siteLocation/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_subDomains/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/query_xdr/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli/parsers/raw/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli.egg-info/dependency_links.txt +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli.egg-info/entry_points.txt +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/catocli.egg-info/requires.txt +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/api/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/api/call_api.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/api_client.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/api_client_types.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/configuration.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/models/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/graphql_client/models/no_schema.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/schema/importSchema.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/setup.cfg +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/.DS_Store +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/certifi/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/certifi/__main__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/certifi/core.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/certifi/py.typed +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/six.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/_base_connection.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/_collections.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/_request_methods.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/_version.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/connection.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/connectionpool.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/emscripten/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/emscripten/connection.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/emscripten/fetch.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/emscripten/request.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/emscripten/response.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/pyopenssl.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/contrib/socks.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/exceptions.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/fields.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/filepost.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/http2/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/http2/connection.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/http2/probe.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/poolmanager.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/py.typed +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/response.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/__init__.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/connection.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/proxy.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/request.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/response.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/retry.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/ssl_.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/ssl_match_hostname.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/ssltransport.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/timeout.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/url.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/util.py +0 -0
- {catocli-1.0.1 → catocli-1.0.3}/vendor/urllib3/util/wait.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: catocli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Cato Networks cli wrapper for the GraphQL API.
|
|
5
5
|
Home-page: https://github.com/Cato-Networks/cato-cli
|
|
6
6
|
Author: Cato Networks
|
|
7
7
|
Author-email: [email protected]
|
|
8
8
|
License: Apache-2.0 license
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: License :: OSI Approved ::
|
|
10
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.6
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.3"
|
|
2
2
|
__cato_host__ = "https://api.catonetworks.com/api/v1/graphql2"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - object list queries:
|
|
3
|
+
|
|
4
|
+
### Usage for site.search:
|
|
5
|
+
|
|
6
|
+
`cato site list -h`
|
|
7
|
+
|
|
8
|
+
`cato site list <accountID> <json>`
|
|
9
|
+
|
|
10
|
+
`cato site list 12345 -s=yourSearch`
|
|
11
|
+
|
|
12
|
+
`cato site list 12345 -s=yourSearch -f=json -p`
|
|
13
|
+
|
|
14
|
+
#### Operation Arguments for mutation.admin.addAdmin ####
|
|
15
|
+
`accountId` [ID] - (required) N/A
|
|
16
|
+
`search` [String] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.admin.addAdmin:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addAdmin) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.admin.addAdmin:
|
|
6
|
+
|
|
7
|
+
`catocli mutation admin addAdmin -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation admin addAdmin <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation admin addAdmin 12345 "$(cat < addAdmin.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation admin addAdmin 12345 '{"AddAdminInput": {"UpdateAdminRoleInput": {"allowedAccounts": {"allowedAccounts": ["ID"]}, "allowedEntities": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "role": {"id": {"id": "ID"}, "name": {"name": "String"}}}, "email": {"email": "String"}, "firstName": {"firstName": "String"}, "lastName": {"lastName": "String"}, "mfaEnabled": {"mfaEnabled": "Boolean"}, "passwordNeverExpires": {"passwordNeverExpires": "Boolean"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.admin.addAdmin ####
|
|
16
|
+
`AddAdminInput` [AddAdminInput] - (required) N/A
|
|
17
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.admin.removeAdmin:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeAdmin) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.admin.removeAdmin:
|
|
6
|
+
|
|
7
|
+
`catocli mutation admin removeAdmin -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation admin removeAdmin <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation admin removeAdmin 12345 "$(cat < removeAdmin.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation admin removeAdmin 12345 '{"adminID": "ID"}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.admin.removeAdmin ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`adminID` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.admin.updateAdmin:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateAdmin) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.admin.updateAdmin:
|
|
6
|
+
|
|
7
|
+
`catocli mutation admin updateAdmin -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation admin updateAdmin <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation admin updateAdmin 12345 "$(cat < updateAdmin.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation admin updateAdmin 12345 '{"UpdateAdminInput": {"UpdateAdminRoleInput": {"allowedAccounts": {"allowedAccounts": ["ID"]}, "allowedEntities": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "role": {"id": {"id": "ID"}, "name": {"name": "String"}}}, "firstName": {"firstName": "String"}, "lastName": {"lastName": "String"}, "mfaEnabled": {"mfaEnabled": "Boolean"}, "passwordNeverExpires": {"passwordNeverExpires": "Boolean"}}, "adminID": "ID"}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.admin.updateAdmin ####
|
|
16
|
+
`UpdateAdminInput` [UpdateAdminInput] - (required) N/A
|
|
17
|
+
`accountId` [ID] - (required) N/A
|
|
18
|
+
`adminID` [ID] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.container.delete:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-delete) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.container.delete:
|
|
6
|
+
|
|
7
|
+
`catocli mutation container delete -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation container delete <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation container delete 12345 "$(cat < delete.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation container delete 12345 '{"DeleteContainerInput": {"ContainerRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.container.delete ####
|
|
16
|
+
`DeleteContainerInput` [DeleteContainerInput] - (required) N/A
|
|
17
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-internetFirewall) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall -h`
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall addRule <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall addRule 12345 "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall addRule 12345 '{"InternetFirewallAddRuleInput": {"InternetFirewallAddRuleDataInput": {"action": {"action": "enum(InternetFirewallActionEnum)"}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "container": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "container": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}, "PolicyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.addRule ####
|
|
16
|
+
`InternetFirewallAddRuleInput` [InternetFirewallAddRuleInput] - (required) N/A
|
|
17
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall addSection <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall addSection 12345 "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall addSection 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyAddSectionInput": {"PolicyAddSectionInfoInput": {"name": {"name": "String"}}, "PolicySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.addSection ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall createPolicyRevision <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall createPolicyRevision 12345 "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall createPolicyRevision 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.createPolicyRevision ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall discardPolicyRevision <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall discardPolicyRevision 12345 "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall discardPolicyRevision 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyDiscardRevisionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.discardPolicyRevision ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall moveRule <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall moveRule 12345 "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall moveRule 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyMoveRuleInput": {"PolicyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.moveRule ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall moveSection <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall moveSection 12345 "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall moveSection 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyMoveSectionInput": {"PolicySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}, "id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.moveSection ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
catocli-1.0.3/catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.publishPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.publishPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall publishPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall publishPolicyRevision <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall publishPolicyRevision 12345 "$(cat < publishPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall publishPolicyRevision 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.publishPolicyRevision ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.removeRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.removeRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall removeRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall removeRule <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall removeRule 12345 "$(cat < removeRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall removeRule 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "InternetFirewallRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.removeRule ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`InternetFirewallRemoveRuleInput` [InternetFirewallRemoveRuleInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.removeSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.removeSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall removeSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall removeSection <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall removeSection 12345 "$(cat < removeSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall removeSection 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyRemoveSectionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.removeSection ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.updatePolicy:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.updatePolicy:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall updatePolicy -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall updatePolicy <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall updatePolicy 12345 "$(cat < updatePolicy.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall updatePolicy 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "InternetFirewallPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.updatePolicy ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`InternetFirewallPolicyUpdateInput` [InternetFirewallPolicyUpdateInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall updateRule <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall updateRule 12345 "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall updateRule 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "InternetFirewallUpdateRuleInput": {"InternetFirewallUpdateRuleDataInput": {"action": {"action": "enum(InternetFirewallActionEnum)"}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "container": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "container": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "containers": {"fqdnContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ipAddressRangeContainer": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "remoteAsn": {"remoteAsn": ["Asn16"]}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}, "id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.updateRule ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`InternetFirewallUpdateRuleInput` [InternetFirewallUpdateRuleInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.internetFirewall.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.internetFirewall.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy internetFirewall updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy internetFirewall updateSection <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy internetFirewall updateSection 12345 "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy internetFirewall updateSection 12345 '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyUpdateSectionInput": {"PolicyUpdateSectionInfoInput": {"name": {"name": "String"}}, "id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.internetFirewall.updateSection ####
|
|
16
|
+
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
+
`PolicyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanFirewall.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanFirewall.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanFirewall addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanFirewall addRule <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanFirewall addRule 12345 "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanFirewall addRule 12345 '{"WanFirewallAddRuleInput": {"PolicyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "WanFirewallAddRuleDataInput": {"action": {"action": "enum(WanFirewallActionEnum)"}, "application": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "direction": {"direction": "enum(WanFirewallDirectionEnum)"}, "enabled": {"enabled": "Boolean"}, "exceptions": {"application": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "sanctionedAppsCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "connectionOrigin": {"connectionOrigin": "enum(ConnectionOriginEnum)"}, "country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "device": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "deviceOS": {"deviceOS": "enum(OperatingSystem)"}, "direction": {"direction": "enum(WanFirewallDirectionEnum)"}, "name": {"name": "String"}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "standard": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "tracking": {"alert": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "event": {"enabled": {"enabled": "Boolean"}}}}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanFirewall.addRule ####
|
|
16
|
+
`WanFirewallAddRuleInput` [WanFirewallAddRuleInput] - (required) N/A
|
|
17
|
+
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanFirewall.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanFirewall.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanFirewall addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanFirewall addSection <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanFirewall addSection 12345 "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanFirewall addSection 12345 '{"PolicyAddSectionInput": {"PolicyAddSectionInfoInput": {"name": {"name": "String"}}, "PolicySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanFirewall.addSection ####
|
|
16
|
+
`PolicyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
17
|
+
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanFirewall.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanFirewall.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanFirewall createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanFirewall createPolicyRevision <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanFirewall createPolicyRevision 12345 "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanFirewall createPolicyRevision 12345 '{"PolicyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanFirewall.createPolicyRevision ####
|
|
16
|
+
`PolicyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
17
|
+
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanFirewall.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanFirewall.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanFirewall discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanFirewall discardPolicyRevision <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanFirewall discardPolicyRevision 12345 "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanFirewall discardPolicyRevision 12345 '{"PolicyDiscardRevisionInput": {"id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanFirewall.discardPolicyRevision ####
|
|
16
|
+
`PolicyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
17
|
+
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanFirewall.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanFirewall.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanFirewall moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanFirewall moveRule <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanFirewall moveRule 12345 "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanFirewall moveRule 12345 '{"PolicyMoveRuleInput": {"PolicyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanFirewall.moveRule ####
|
|
16
|
+
`PolicyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
17
|
+
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanFirewall.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanFirewall.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanFirewall moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanFirewall moveSection <accountID> <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanFirewall moveSection 12345 "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanFirewall moveSection 12345 '{"PolicyMoveSectionInput": {"PolicySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}, "id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanFirewall.moveSection ####
|
|
16
|
+
`PolicyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
17
|
+
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`accountId` [ID] - (required) N/A
|