catocli 1.0.8__py3-none-any.whl → 1.0.10__py3-none-any.whl
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/Utils/clidriver.py +14 -0
- catocli/__init__.py +1 -1
- catocli/parsers/custom/customLib.py +1 -1
- catocli/parsers/mutation_admin/__init__.py +3 -3
- catocli/parsers/mutation_admin_addAdmin/README.md +2 -2
- catocli/parsers/mutation_admin_removeAdmin/README.md +2 -2
- catocli/parsers/mutation_admin_updateAdmin/README.md +2 -2
- catocli/parsers/mutation_container/__init__.py +1 -1
- catocli/parsers/mutation_container_delete/README.md +2 -2
- catocli/parsers/mutation_policy/__init__.py +24 -24
- catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_addSection/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +2 -2
- catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_addSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +2 -2
- catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md +2 -2
- catocli/parsers/mutation_site/__init__.py +15 -15
- catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +2 -2
- catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_site_addNetworkRange/README.md +2 -2
- catocli/parsers/mutation_site_addSocketSite/README.md +2 -2
- catocli/parsers/mutation_site_addStaticHost/README.md +2 -2
- catocli/parsers/mutation_site_removeNetworkRange/README.md +2 -2
- catocli/parsers/mutation_site_removeSite/README.md +2 -2
- catocli/parsers/mutation_site_removeStaticHost/README.md +2 -2
- catocli/parsers/mutation_site_updateHa/README.md +2 -2
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_site_updateNetworkRange/README.md +2 -2
- catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_site_updateSocketInterface/README.md +2 -2
- catocli/parsers/mutation_site_updateStaticHost/README.md +2 -2
- catocli/parsers/mutation_sites/__init__.py +15 -15
- catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +2 -2
- catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_sites_addNetworkRange/README.md +2 -2
- catocli/parsers/mutation_sites_addSocketSite/README.md +2 -2
- catocli/parsers/mutation_sites_addStaticHost/README.md +2 -2
- catocli/parsers/mutation_sites_removeNetworkRange/README.md +2 -2
- catocli/parsers/mutation_sites_removeSite/README.md +2 -2
- catocli/parsers/mutation_sites_removeStaticHost/README.md +2 -2
- catocli/parsers/mutation_sites_updateHa/README.md +2 -2
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_sites_updateNetworkRange/README.md +2 -2
- catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +2 -2
- catocli/parsers/mutation_sites_updateSocketInterface/README.md +2 -2
- catocli/parsers/mutation_sites_updateStaticHost/README.md +2 -2
- catocli/parsers/parserApiClient.py +1 -4
- catocli/parsers/query_accountBySubdomain/README.md +2 -2
- catocli/parsers/query_accountBySubdomain/__init__.py +1 -1
- catocli/parsers/query_accountMetrics/README.md +2 -2
- catocli/parsers/query_accountMetrics/__init__.py +1 -1
- catocli/parsers/query_accountRoles/README.md +2 -2
- catocli/parsers/query_accountRoles/__init__.py +1 -1
- catocli/parsers/query_accountSnapshot/README.md +2 -2
- catocli/parsers/query_accountSnapshot/__init__.py +1 -1
- catocli/parsers/query_admin/README.md +2 -2
- catocli/parsers/query_admin/__init__.py +1 -1
- catocli/parsers/query_admins/README.md +2 -2
- catocli/parsers/query_admins/__init__.py +1 -1
- catocli/parsers/query_appStats/README.md +2 -2
- catocli/parsers/query_appStats/__init__.py +1 -1
- catocli/parsers/query_appStatsTimeSeries/README.md +2 -2
- catocli/parsers/query_appStatsTimeSeries/__init__.py +1 -1
- catocli/parsers/query_auditFeed/README.md +2 -2
- catocli/parsers/query_auditFeed/__init__.py +1 -1
- catocli/parsers/query_container/README.md +2 -2
- catocli/parsers/query_container/__init__.py +1 -1
- catocli/parsers/query_entityLookup/README.md +2 -2
- catocli/parsers/query_entityLookup/__init__.py +1 -1
- catocli/parsers/query_events/README.md +2 -2
- catocli/parsers/query_events/__init__.py +1 -1
- catocli/parsers/query_eventsFeed/README.md +2 -2
- catocli/parsers/query_eventsFeed/__init__.py +1 -1
- catocli/parsers/query_eventsTimeSeries/README.md +2 -2
- catocli/parsers/query_eventsTimeSeries/__init__.py +1 -1
- catocli/parsers/query_hardwareManagement/README.md +2 -2
- catocli/parsers/query_hardwareManagement/__init__.py +1 -1
- catocli/parsers/query_licensing/README.md +2 -2
- catocli/parsers/query_licensing/__init__.py +1 -1
- catocli/parsers/query_policy/README.md +2 -2
- catocli/parsers/query_policy/__init__.py +1 -1
- catocli/parsers/query_siteLocation/README.md +6 -6
- catocli/parsers/query_siteLocation/__init__.py +1 -1
- catocli/parsers/query_subDomains/README.md +2 -2
- catocli/parsers/query_subDomains/__init__.py +1 -1
- catocli/parsers/query_xdr/__init__.py +2 -2
- catocli/parsers/query_xdr_stories/README.md +2 -2
- catocli/parsers/query_xdr_story/README.md +2 -2
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/METADATA +1 -1
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/RECORD +115 -115
- schema/catolib.py +27 -13
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/LICENSE +0 -0
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/WHEEL +0 -0
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.8.dist-info → catocli-1.0.10.dist-info}/top_level.txt +0 -0
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy internetFirewall updateRule <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy internetFirewall updateRule
|
|
11
|
+
`catocli mutation policy internetFirewall updateRule "$(cat < updateRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall updateRule
|
|
13
|
+
`catocli mutation policy internetFirewall updateRule '{"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
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.updateRule ####
|
|
16
16
|
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy internetFirewall updateSection <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy internetFirewall updateSection
|
|
11
|
+
`catocli mutation policy internetFirewall updateSection "$(cat < updateSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall updateSection
|
|
13
|
+
`catocli mutation policy internetFirewall updateSection '{"InternetFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "PolicyUpdateSectionInput": {"PolicyUpdateSectionInfoInput": {"name": {"name": "String"}}, "id": {"id": "ID"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.updateSection ####
|
|
16
16
|
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall addRule <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall addRule
|
|
11
|
+
`catocli mutation policy wanFirewall addRule "$(cat < addRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall addRule
|
|
13
|
+
`catocli mutation policy wanFirewall addRule '{"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
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.addRule ####
|
|
16
16
|
`WanFirewallAddRuleInput` [WanFirewallAddRuleInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall addSection <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall addSection
|
|
11
|
+
`catocli mutation policy wanFirewall addSection "$(cat < addSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall addSection
|
|
13
|
+
`catocli mutation policy wanFirewall addSection '{"PolicyAddSectionInput": {"PolicyAddSectionInfoInput": {"name": {"name": "String"}}, "PolicySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.addSection ####
|
|
16
16
|
`PolicyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall createPolicyRevision <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall createPolicyRevision
|
|
11
|
+
`catocli mutation policy wanFirewall createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall createPolicyRevision
|
|
13
|
+
`catocli mutation policy wanFirewall createPolicyRevision '{"PolicyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.createPolicyRevision ####
|
|
16
16
|
`PolicyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall discardPolicyRevision <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall discardPolicyRevision
|
|
11
|
+
`catocli mutation policy wanFirewall discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall discardPolicyRevision
|
|
13
|
+
`catocli mutation policy wanFirewall discardPolicyRevision '{"PolicyDiscardRevisionInput": {"id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.discardPolicyRevision ####
|
|
16
16
|
`PolicyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall moveRule <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall moveRule
|
|
11
|
+
`catocli mutation policy wanFirewall moveRule "$(cat < moveRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall moveRule
|
|
13
|
+
`catocli mutation policy wanFirewall moveRule '{"PolicyMoveRuleInput": {"PolicyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.moveRule ####
|
|
16
16
|
`PolicyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall moveSection <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall moveSection
|
|
11
|
+
`catocli mutation policy wanFirewall moveSection "$(cat < moveSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall moveSection
|
|
13
|
+
`catocli mutation policy wanFirewall moveSection '{"PolicyMoveSectionInput": {"PolicySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}, "id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.moveSection ####
|
|
16
16
|
`PolicyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall publishPolicyRevision <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall publishPolicyRevision
|
|
11
|
+
`catocli mutation policy wanFirewall publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall publishPolicyRevision
|
|
13
|
+
`catocli mutation policy wanFirewall publishPolicyRevision '{"PolicyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.publishPolicyRevision ####
|
|
16
16
|
`PolicyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall removeRule <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall removeRule
|
|
11
|
+
`catocli mutation policy wanFirewall removeRule "$(cat < removeRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall removeRule
|
|
13
|
+
`catocli mutation policy wanFirewall removeRule '{"WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "WanFirewallRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.removeRule ####
|
|
16
16
|
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall removeSection <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall removeSection
|
|
11
|
+
`catocli mutation policy wanFirewall removeSection "$(cat < removeSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall removeSection
|
|
13
|
+
`catocli mutation policy wanFirewall removeSection '{"PolicyRemoveSectionInput": {"id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.removeSection ####
|
|
16
16
|
`PolicyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall updatePolicy <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall updatePolicy
|
|
11
|
+
`catocli mutation policy wanFirewall updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall updatePolicy
|
|
13
|
+
`catocli mutation policy wanFirewall updatePolicy '{"WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "WanFirewallPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.updatePolicy ####
|
|
16
16
|
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall updateRule <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall updateRule
|
|
11
|
+
`catocli mutation policy wanFirewall updateRule "$(cat < updateRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall updateRule
|
|
13
|
+
`catocli mutation policy wanFirewall updateRule '{"WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}, "WanFirewallUpdateRuleInput": {"WanFirewallUpdateRuleDataInput": {"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"}}}}, "id": {"id": "ID"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.updateRule ####
|
|
16
16
|
`WanFirewallPolicyMutationInput` [WanFirewallPolicyMutationInput] - (optional) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation policy wanFirewall updateSection <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation policy wanFirewall updateSection
|
|
11
|
+
`catocli mutation policy wanFirewall updateSection "$(cat < updateSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy wanFirewall updateSection
|
|
13
|
+
`catocli mutation policy wanFirewall updateSection '{"PolicyUpdateSectionInput": {"PolicyUpdateSectionInfoInput": {"name": {"name": "String"}}, "id": {"id": "ID"}}, "WanFirewallPolicyMutationInput": {"PolicyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.wanFirewall.updateSection ####
|
|
16
16
|
`PolicyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
@@ -12,8 +12,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
12
12
|
help='addIpsecIkeV2Site() site operation',
|
|
13
13
|
usage=get_help("mutation_site_addIpsecIkeV2Site"))
|
|
14
14
|
|
|
15
|
-
mutation_site_addIpsecIkeV2Site_parser.add_argument('accountID', help='The Account ID.')
|
|
16
15
|
mutation_site_addIpsecIkeV2Site_parser.add_argument('json', help='Variables in JSON format.')
|
|
16
|
+
mutation_site_addIpsecIkeV2Site_parser.add_argument('-accountID', help='The Account ID.')
|
|
17
17
|
mutation_site_addIpsecIkeV2Site_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
18
18
|
help='Print test request preview without sending api call')
|
|
19
19
|
mutation_site_addIpsecIkeV2Site_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -26,8 +26,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
26
26
|
help='addIpsecIkeV2SiteTunnels() site operation',
|
|
27
27
|
usage=get_help("mutation_site_addIpsecIkeV2SiteTunnels"))
|
|
28
28
|
|
|
29
|
-
mutation_site_addIpsecIkeV2SiteTunnels_parser.add_argument('accountID', help='The Account ID.')
|
|
30
29
|
mutation_site_addIpsecIkeV2SiteTunnels_parser.add_argument('json', help='Variables in JSON format.')
|
|
30
|
+
mutation_site_addIpsecIkeV2SiteTunnels_parser.add_argument('-accountID', help='The Account ID.')
|
|
31
31
|
mutation_site_addIpsecIkeV2SiteTunnels_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
32
32
|
help='Print test request preview without sending api call')
|
|
33
33
|
mutation_site_addIpsecIkeV2SiteTunnels_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -40,8 +40,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
40
40
|
help='addNetworkRange() site operation',
|
|
41
41
|
usage=get_help("mutation_site_addNetworkRange"))
|
|
42
42
|
|
|
43
|
-
mutation_site_addNetworkRange_parser.add_argument('accountID', help='The Account ID.')
|
|
44
43
|
mutation_site_addNetworkRange_parser.add_argument('json', help='Variables in JSON format.')
|
|
44
|
+
mutation_site_addNetworkRange_parser.add_argument('-accountID', help='The Account ID.')
|
|
45
45
|
mutation_site_addNetworkRange_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
46
46
|
help='Print test request preview without sending api call')
|
|
47
47
|
mutation_site_addNetworkRange_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -54,8 +54,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
54
54
|
help='addSocketSite() site operation',
|
|
55
55
|
usage=get_help("mutation_site_addSocketSite"))
|
|
56
56
|
|
|
57
|
-
mutation_site_addSocketSite_parser.add_argument('accountID', help='The Account ID.')
|
|
58
57
|
mutation_site_addSocketSite_parser.add_argument('json', help='Variables in JSON format.')
|
|
58
|
+
mutation_site_addSocketSite_parser.add_argument('-accountID', help='The Account ID.')
|
|
59
59
|
mutation_site_addSocketSite_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
60
60
|
help='Print test request preview without sending api call')
|
|
61
61
|
mutation_site_addSocketSite_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -68,8 +68,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
68
68
|
help='addStaticHost() site operation',
|
|
69
69
|
usage=get_help("mutation_site_addStaticHost"))
|
|
70
70
|
|
|
71
|
-
mutation_site_addStaticHost_parser.add_argument('accountID', help='The Account ID.')
|
|
72
71
|
mutation_site_addStaticHost_parser.add_argument('json', help='Variables in JSON format.')
|
|
72
|
+
mutation_site_addStaticHost_parser.add_argument('-accountID', help='The Account ID.')
|
|
73
73
|
mutation_site_addStaticHost_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
74
74
|
help='Print test request preview without sending api call')
|
|
75
75
|
mutation_site_addStaticHost_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -82,8 +82,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
82
82
|
help='removeNetworkRange() site operation',
|
|
83
83
|
usage=get_help("mutation_site_removeNetworkRange"))
|
|
84
84
|
|
|
85
|
-
mutation_site_removeNetworkRange_parser.add_argument('accountID', help='The Account ID.')
|
|
86
85
|
mutation_site_removeNetworkRange_parser.add_argument('json', help='Variables in JSON format.')
|
|
86
|
+
mutation_site_removeNetworkRange_parser.add_argument('-accountID', help='The Account ID.')
|
|
87
87
|
mutation_site_removeNetworkRange_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
88
88
|
help='Print test request preview without sending api call')
|
|
89
89
|
mutation_site_removeNetworkRange_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -96,8 +96,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
96
96
|
help='removeSite() site operation',
|
|
97
97
|
usage=get_help("mutation_site_removeSite"))
|
|
98
98
|
|
|
99
|
-
mutation_site_removeSite_parser.add_argument('accountID', help='The Account ID.')
|
|
100
99
|
mutation_site_removeSite_parser.add_argument('json', help='Variables in JSON format.')
|
|
100
|
+
mutation_site_removeSite_parser.add_argument('-accountID', help='The Account ID.')
|
|
101
101
|
mutation_site_removeSite_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
102
102
|
help='Print test request preview without sending api call')
|
|
103
103
|
mutation_site_removeSite_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -110,8 +110,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
110
110
|
help='removeStaticHost() site operation',
|
|
111
111
|
usage=get_help("mutation_site_removeStaticHost"))
|
|
112
112
|
|
|
113
|
-
mutation_site_removeStaticHost_parser.add_argument('accountID', help='The Account ID.')
|
|
114
113
|
mutation_site_removeStaticHost_parser.add_argument('json', help='Variables in JSON format.')
|
|
114
|
+
mutation_site_removeStaticHost_parser.add_argument('-accountID', help='The Account ID.')
|
|
115
115
|
mutation_site_removeStaticHost_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
116
116
|
help='Print test request preview without sending api call')
|
|
117
117
|
mutation_site_removeStaticHost_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -124,8 +124,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
124
124
|
help='updateHa() site operation',
|
|
125
125
|
usage=get_help("mutation_site_updateHa"))
|
|
126
126
|
|
|
127
|
-
mutation_site_updateHa_parser.add_argument('accountID', help='The Account ID.')
|
|
128
127
|
mutation_site_updateHa_parser.add_argument('json', help='Variables in JSON format.')
|
|
128
|
+
mutation_site_updateHa_parser.add_argument('-accountID', help='The Account ID.')
|
|
129
129
|
mutation_site_updateHa_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
130
130
|
help='Print test request preview without sending api call')
|
|
131
131
|
mutation_site_updateHa_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -138,8 +138,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
138
138
|
help='updateIpsecIkeV2SiteGeneralDetails() site operation',
|
|
139
139
|
usage=get_help("mutation_site_updateIpsecIkeV2SiteGeneralDetails"))
|
|
140
140
|
|
|
141
|
-
mutation_site_updateIpsecIkeV2SiteGeneralDetails_parser.add_argument('accountID', help='The Account ID.')
|
|
142
141
|
mutation_site_updateIpsecIkeV2SiteGeneralDetails_parser.add_argument('json', help='Variables in JSON format.')
|
|
142
|
+
mutation_site_updateIpsecIkeV2SiteGeneralDetails_parser.add_argument('-accountID', help='The Account ID.')
|
|
143
143
|
mutation_site_updateIpsecIkeV2SiteGeneralDetails_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
144
144
|
help='Print test request preview without sending api call')
|
|
145
145
|
mutation_site_updateIpsecIkeV2SiteGeneralDetails_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -152,8 +152,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
152
152
|
help='updateIpsecIkeV2SiteTunnels() site operation',
|
|
153
153
|
usage=get_help("mutation_site_updateIpsecIkeV2SiteTunnels"))
|
|
154
154
|
|
|
155
|
-
mutation_site_updateIpsecIkeV2SiteTunnels_parser.add_argument('accountID', help='The Account ID.')
|
|
156
155
|
mutation_site_updateIpsecIkeV2SiteTunnels_parser.add_argument('json', help='Variables in JSON format.')
|
|
156
|
+
mutation_site_updateIpsecIkeV2SiteTunnels_parser.add_argument('-accountID', help='The Account ID.')
|
|
157
157
|
mutation_site_updateIpsecIkeV2SiteTunnels_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
158
158
|
help='Print test request preview without sending api call')
|
|
159
159
|
mutation_site_updateIpsecIkeV2SiteTunnels_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -166,8 +166,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
166
166
|
help='updateNetworkRange() site operation',
|
|
167
167
|
usage=get_help("mutation_site_updateNetworkRange"))
|
|
168
168
|
|
|
169
|
-
mutation_site_updateNetworkRange_parser.add_argument('accountID', help='The Account ID.')
|
|
170
169
|
mutation_site_updateNetworkRange_parser.add_argument('json', help='Variables in JSON format.')
|
|
170
|
+
mutation_site_updateNetworkRange_parser.add_argument('-accountID', help='The Account ID.')
|
|
171
171
|
mutation_site_updateNetworkRange_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
172
172
|
help='Print test request preview without sending api call')
|
|
173
173
|
mutation_site_updateNetworkRange_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -180,8 +180,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
180
180
|
help='updateSiteGeneralDetails() site operation',
|
|
181
181
|
usage=get_help("mutation_site_updateSiteGeneralDetails"))
|
|
182
182
|
|
|
183
|
-
mutation_site_updateSiteGeneralDetails_parser.add_argument('accountID', help='The Account ID.')
|
|
184
183
|
mutation_site_updateSiteGeneralDetails_parser.add_argument('json', help='Variables in JSON format.')
|
|
184
|
+
mutation_site_updateSiteGeneralDetails_parser.add_argument('-accountID', help='The Account ID.')
|
|
185
185
|
mutation_site_updateSiteGeneralDetails_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
186
186
|
help='Print test request preview without sending api call')
|
|
187
187
|
mutation_site_updateSiteGeneralDetails_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -194,8 +194,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
194
194
|
help='updateSocketInterface() site operation',
|
|
195
195
|
usage=get_help("mutation_site_updateSocketInterface"))
|
|
196
196
|
|
|
197
|
-
mutation_site_updateSocketInterface_parser.add_argument('accountID', help='The Account ID.')
|
|
198
197
|
mutation_site_updateSocketInterface_parser.add_argument('json', help='Variables in JSON format.')
|
|
198
|
+
mutation_site_updateSocketInterface_parser.add_argument('-accountID', help='The Account ID.')
|
|
199
199
|
mutation_site_updateSocketInterface_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
200
200
|
help='Print test request preview without sending api call')
|
|
201
201
|
mutation_site_updateSocketInterface_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -208,8 +208,8 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
208
208
|
help='updateStaticHost() site operation',
|
|
209
209
|
usage=get_help("mutation_site_updateStaticHost"))
|
|
210
210
|
|
|
211
|
-
mutation_site_updateStaticHost_parser.add_argument('accountID', help='The Account ID.')
|
|
212
211
|
mutation_site_updateStaticHost_parser.add_argument('json', help='Variables in JSON format.')
|
|
212
|
+
mutation_site_updateStaticHost_parser.add_argument('-accountID', help='The Account ID.')
|
|
213
213
|
mutation_site_updateStaticHost_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
214
214
|
help='Print test request preview without sending api call')
|
|
215
215
|
mutation_site_updateStaticHost_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation site addIpsecIkeV2Site <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation site addIpsecIkeV2Site
|
|
11
|
+
`catocli mutation site addIpsecIkeV2Site "$(cat < addIpsecIkeV2Site.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addIpsecIkeV2Site
|
|
13
|
+
`catocli mutation site addIpsecIkeV2Site '{"AddIpsecIkeV2SiteInput": {"AddSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "nativeNetworkRange": {"nativeNetworkRange": "IPSubnet"}, "siteType": {"siteType": "enum(SiteType)"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addIpsecIkeV2Site ####
|
|
16
16
|
`AddIpsecIkeV2SiteInput` [AddIpsecIkeV2SiteInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation site addIpsecIkeV2SiteTunnels <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation site addIpsecIkeV2SiteTunnels
|
|
11
|
+
`catocli mutation site addIpsecIkeV2SiteTunnels "$(cat < addIpsecIkeV2SiteTunnels.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addIpsecIkeV2SiteTunnels
|
|
13
|
+
`catocli mutation site addIpsecIkeV2SiteTunnels '{"AddIpsecIkeV2SiteTunnelsInput": {"AddIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}}}}, "siteId": "ID"}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addIpsecIkeV2SiteTunnels ####
|
|
16
16
|
`AddIpsecIkeV2SiteTunnelsInput` [AddIpsecIkeV2SiteTunnelsInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation site addNetworkRange <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation site addNetworkRange
|
|
11
|
+
`catocli mutation site addNetworkRange "$(cat < addNetworkRange.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addNetworkRange
|
|
13
|
+
`catocli mutation site addNetworkRange '{"AddNetworkRangeInput": {"NetworkDhcpSettingsInput": {"dhcpType": {"dhcpType": "enum(DhcpType)"}, "ipRange": {"ipRange": "IPRange"}, "relayGroupId": {"relayGroupId": "ID"}}, "azureFloatingIp": {"azureFloatingIp": "IPAddress"}, "gateway": {"gateway": "IPAddress"}, "localIp": {"localIp": "IPAddress"}, "mdnsReflector": {"mdnsReflector": "Boolean"}, "name": {"name": "String"}, "rangeType": {"rangeType": "enum(SubnetType)"}, "subnet": {"subnet": "IPSubnet"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}, "vlan": {"vlan": "Int"}}, "lanSocketInterfaceId": "ID"}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addNetworkRange ####
|
|
16
16
|
`AddNetworkRangeInput` [AddNetworkRangeInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation site addSocketSite <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation site addSocketSite
|
|
11
|
+
`catocli mutation site addSocketSite "$(cat < addSocketSite.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addSocketSite
|
|
13
|
+
`catocli mutation site addSocketSite '{"AddSocketSiteInput": {"AddSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "connectionType": {"connectionType": "enum(SiteConnectionTypeEnum)"}, "description": {"description": "String"}, "name": {"name": "String"}, "nativeNetworkRange": {"nativeNetworkRange": "IPSubnet"}, "siteType": {"siteType": "enum(SiteType)"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addSocketSite ####
|
|
16
16
|
`AddSocketSiteInput` [AddSocketSiteInput] - (required) N/A
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
`catocli mutation site addStaticHost <accountID> <json>`
|
|
10
10
|
|
|
11
|
-
`catocli mutation site addStaticHost
|
|
11
|
+
`catocli mutation site addStaticHost "$(cat < addStaticHost.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addStaticHost
|
|
13
|
+
`catocli mutation site addStaticHost '{"AddStaticHostInput": {"ip": {"ip": "IPAddress"}, "macAddress": {"macAddress": "String"}, "name": {"name": "String"}}, "siteId": "ID"}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addStaticHost ####
|
|
16
16
|
`AddStaticHostInput` [AddStaticHostInput] - (required) N/A
|