catocli 1.0.14__py3-none-any.whl → 1.0.17__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 +19 -2
- catocli/__init__.py +1 -1
- catocli/parsers/mutation_accountManagement/README.md +7 -0
- catocli/parsers/mutation_accountManagement/__init__.py +51 -0
- catocli/parsers/mutation_accountManagement_addAccount/README.md +17 -0
- catocli/parsers/mutation_accountManagement_removeAccount/README.md +16 -0
- catocli/parsers/mutation_accountManagement_updateAccount/README.md +17 -0
- catocli/parsers/mutation_admin_addAdmin/README.md +2 -2
- catocli/parsers/mutation_admin_updateAdmin/README.md +2 -2
- catocli/parsers/mutation_container_delete/README.md +2 -2
- catocli/parsers/mutation_policy/__init__.py +348 -0
- catocli/parsers/mutation_policy_appTenantRestriction/README.md +7 -0
- catocli/parsers/mutation_policy_appTenantRestriction_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_addSection/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +3 -3
- catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md +3 -3
- catocli/parsers/mutation_policy_remotePortFwd/README.md +7 -0
- catocli/parsers/mutation_policy_remotePortFwd_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_addSection/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +3 -3
- catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md +3 -3
- catocli/parsers/mutation_site/__init__.py +98 -0
- catocli/parsers/mutation_site_addBgpPeer/README.md +17 -0
- catocli/parsers/mutation_site_addCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_site_addCloudInterconnectSite/README.md +17 -0
- 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_removeBgpPeer/README.md +17 -0
- catocli/parsers/mutation_site_removeCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_site_removeIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_site_updateBgpPeer/README.md +17 -0
- catocli/parsers/mutation_site_updateCloudInterconnectPhysicalConnection/README.md +17 -0
- 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 +98 -0
- catocli/parsers/mutation_sites_addBgpPeer/README.md +17 -0
- catocli/parsers/mutation_sites_addCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_sites_addCloudInterconnectSite/README.md +17 -0
- 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_removeBgpPeer/README.md +17 -0
- catocli/parsers/mutation_sites_removeCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_sites_removeIpsecIkeV2SiteTunnels/README.md +2 -2
- catocli/parsers/mutation_sites_updateBgpPeer/README.md +17 -0
- catocli/parsers/mutation_sites_updateCloudInterconnectPhysicalConnection/README.md +17 -0
- 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 +7 -4
- catocli/parsers/query_accountManagement/README.md +16 -0
- catocli/parsers/query_accountManagement/__init__.py +17 -0
- catocli/parsers/query_admins/README.md +2 -2
- catocli/parsers/query_appStats/README.md +5 -5
- catocli/parsers/query_appStatsTimeSeries/README.md +4 -4
- catocli/parsers/query_auditFeed/README.md +2 -2
- catocli/parsers/query_container/README.md +8 -8
- catocli/parsers/query_entityLookup/README.md +6 -6
- catocli/parsers/query_events/README.md +5 -5
- catocli/parsers/query_eventsFeed/README.md +3 -3
- catocli/parsers/query_eventsTimeSeries/README.md +4 -4
- catocli/parsers/query_hardwareManagement/README.md +2 -2
- catocli/parsers/query_policy/README.md +5 -3
- catocli/parsers/query_site/README.md +22 -0
- catocli/parsers/query_site/__init__.py +17 -0
- catocli/parsers/query_xdr_stories/README.md +2 -2
- {catocli-1.0.14.dist-info → catocli-1.0.17.dist-info}/METADATA +11 -2
- catocli-1.0.17.dist-info/RECORD +356 -0
- {catocli-1.0.14.dist-info → catocli-1.0.17.dist-info}/WHEEL +1 -1
- models/mutation.accountManagement.addAccount.json +908 -0
- models/mutation.accountManagement.removeAccount.json +446 -0
- models/mutation.accountManagement.updateAccount.json +524 -0
- models/mutation.admin.addAdmin.json +103 -103
- models/mutation.admin.removeAdmin.json +3 -3
- models/mutation.admin.updateAdmin.json +121 -121
- models/mutation.container.delete.json +67 -67
- models/mutation.policy.appTenantRestriction.addRule.json +8674 -0
- models/mutation.policy.appTenantRestriction.addSection.json +1358 -0
- models/mutation.policy.appTenantRestriction.createPolicyRevision.json +3327 -0
- models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +3261 -0
- models/mutation.policy.appTenantRestriction.moveRule.json +3059 -0
- models/mutation.policy.appTenantRestriction.moveSection.json +1259 -0
- models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +3318 -0
- models/mutation.policy.appTenantRestriction.removeRule.json +2707 -0
- models/mutation.policy.appTenantRestriction.removeSection.json +958 -0
- models/mutation.policy.appTenantRestriction.updatePolicy.json +3337 -0
- models/mutation.policy.appTenantRestriction.updateRule.json +8295 -0
- models/mutation.policy.appTenantRestriction.updateSection.json +1111 -0
- models/mutation.policy.internetFirewall.addRule.json +2497 -1889
- models/mutation.policy.internetFirewall.addSection.json +92 -92
- models/mutation.policy.internetFirewall.createPolicyRevision.json +734 -546
- models/mutation.policy.internetFirewall.discardPolicyRevision.json +734 -546
- models/mutation.policy.internetFirewall.moveRule.json +723 -535
- models/mutation.policy.internetFirewall.moveSection.json +85 -85
- models/mutation.policy.internetFirewall.publishPolicyRevision.json +734 -546
- models/mutation.policy.internetFirewall.removeRule.json +710 -522
- models/mutation.policy.internetFirewall.removeSection.json +72 -72
- models/mutation.policy.internetFirewall.updatePolicy.json +734 -546
- models/mutation.policy.internetFirewall.updateRule.json +2476 -1885
- models/mutation.policy.internetFirewall.updateSection.json +85 -85
- models/mutation.policy.remotePortFwd.addRule.json +5502 -0
- models/mutation.policy.remotePortFwd.addSection.json +1358 -0
- models/mutation.policy.remotePortFwd.createPolicyRevision.json +2628 -0
- models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2562 -0
- models/mutation.policy.remotePortFwd.moveRule.json +2360 -0
- models/mutation.policy.remotePortFwd.moveSection.json +1259 -0
- models/mutation.policy.remotePortFwd.publishPolicyRevision.json +2619 -0
- models/mutation.policy.remotePortFwd.removeRule.json +2008 -0
- models/mutation.policy.remotePortFwd.removeSection.json +958 -0
- models/mutation.policy.remotePortFwd.updatePolicy.json +2638 -0
- models/mutation.policy.remotePortFwd.updateRule.json +5138 -0
- models/mutation.policy.remotePortFwd.updateSection.json +1111 -0
- models/mutation.policy.wanFirewall.addRule.json +2577 -1225
- models/mutation.policy.wanFirewall.addSection.json +92 -92
- models/mutation.policy.wanFirewall.createPolicyRevision.json +800 -455
- models/mutation.policy.wanFirewall.discardPolicyRevision.json +800 -455
- models/mutation.policy.wanFirewall.moveRule.json +789 -444
- models/mutation.policy.wanFirewall.moveSection.json +85 -85
- models/mutation.policy.wanFirewall.publishPolicyRevision.json +800 -455
- models/mutation.policy.wanFirewall.removeRule.json +776 -431
- models/mutation.policy.wanFirewall.removeSection.json +72 -72
- models/mutation.policy.wanFirewall.updatePolicy.json +800 -455
- models/mutation.policy.wanFirewall.updateRule.json +2597 -1265
- models/mutation.policy.wanFirewall.updateSection.json +85 -85
- models/mutation.site.addBgpPeer.json +3334 -0
- models/mutation.site.addCloudInterconnectPhysicalConnection.json +1441 -0
- models/mutation.site.addCloudInterconnectSite.json +911 -0
- models/mutation.site.addIpsecIkeV2Site.json +45 -45
- models/mutation.site.addIpsecIkeV2SiteTunnels.json +104 -104
- models/mutation.site.addNetworkRange.json +55 -55
- models/mutation.site.addSocketSite.json +45 -45
- models/mutation.site.addStaticHost.json +35 -35
- models/mutation.site.removeBgpPeer.json +1158 -0
- models/mutation.site.removeCloudInterconnectPhysicalConnection.json +298 -0
- models/mutation.site.removeIpsecIkeV2SiteTunnels.json +49 -49
- models/mutation.site.removeNetworkRange.json +5 -5
- models/mutation.site.removeSite.json +5 -5
- models/mutation.site.removeStaticHost.json +5 -5
- models/mutation.site.updateBgpPeer.json +3063 -0
- models/mutation.site.updateCloudInterconnectPhysicalConnection.json +1056 -0
- models/mutation.site.updateHa.json +56 -56
- models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json +81 -81
- models/mutation.site.updateIpsecIkeV2SiteTunnels.json +528 -125
- models/mutation.site.updateNetworkRange.json +76 -76
- models/mutation.site.updateSiteGeneralDetails.json +75 -75
- models/mutation.site.updateSocketInterface.json +284 -284
- models/mutation.site.updateStaticHost.json +56 -56
- models/mutation.sites.addBgpPeer.json +3334 -0
- models/mutation.sites.addCloudInterconnectPhysicalConnection.json +1441 -0
- models/mutation.sites.addCloudInterconnectSite.json +911 -0
- models/mutation.sites.addIpsecIkeV2Site.json +45 -45
- models/mutation.sites.addIpsecIkeV2SiteTunnels.json +104 -104
- models/mutation.sites.addNetworkRange.json +55 -55
- models/mutation.sites.addSocketSite.json +45 -45
- models/mutation.sites.addStaticHost.json +35 -35
- models/mutation.sites.removeBgpPeer.json +1158 -0
- models/mutation.sites.removeCloudInterconnectPhysicalConnection.json +298 -0
- models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +49 -49
- models/mutation.sites.removeNetworkRange.json +5 -5
- models/mutation.sites.removeSite.json +5 -5
- models/mutation.sites.removeStaticHost.json +5 -5
- models/mutation.sites.updateBgpPeer.json +3063 -0
- models/mutation.sites.updateCloudInterconnectPhysicalConnection.json +1056 -0
- models/mutation.sites.updateHa.json +56 -56
- models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json +81 -81
- models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +528 -125
- models/mutation.sites.updateNetworkRange.json +76 -76
- models/mutation.sites.updateSiteGeneralDetails.json +75 -75
- models/mutation.sites.updateSocketInterface.json +284 -284
- models/mutation.sites.updateStaticHost.json +56 -56
- models/query.accountManagement.json +355 -0
- models/query.accountMetrics.json +235 -235
- models/query.accountRoles.json +3 -3
- models/query.accountSnapshot.json +116 -116
- models/query.admin.json +24 -24
- models/query.admins.json +138 -138
- models/query.appStats.json +92 -92
- models/query.appStatsTimeSeries.json +78 -78
- models/query.auditFeed.json +113 -89
- models/query.container.json +192 -192
- models/query.entityLookup.json +154 -154
- models/query.events.json +198 -102
- models/query.eventsFeed.json +74 -50
- models/query.eventsTimeSeries.json +186 -114
- models/query.hardwareManagement.json +317 -125
- models/query.licensing.json +971 -434
- models/query.policy.json +10946 -5043
- models/query.site.json +4138 -0
- models/query.xdr.stories.json +869 -869
- models/query.xdr.story.json +637 -637
- schema/catolib.py +12 -12
- catocli-1.0.14.dist-info/RECORD +0 -264
- {catocli-1.0.14.dist-info → catocli-1.0.17.dist-info}/LICENSE +0 -0
- {catocli-1.0.14.dist-info → catocli-1.0.17.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.14.dist-info → catocli-1.0.17.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction addRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction addRule "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction addRule '{"appTenantRestrictionAddRuleInput": {"appTenantRestrictionAddRuleDataInput": {"action": {"action": "enum(AppTenantRestrictionActionEnum)"}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "headers": {"name": {"name": "HttpHeaderName"}, "value": {"value": "HttpHeaderValue"}}, "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"}}}, "severity": {"severity": "enum(AppTenantRestrictionSeverityEnum)"}, "source": {"country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "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"}}}}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.addRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionAddRuleInput` [AppTenantRestrictionAddRuleInput] - (required) N/A
|
|
18
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction addSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction addSection "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction addSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.addSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction createPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction createPolicyRevision '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.createPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction discardPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction discardPolicyRevision '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyDiscardRevisionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.discardPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction moveRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction moveRule "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction moveRule '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.moveRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction moveSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction moveSection "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction moveSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.moveSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.publishPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.publishPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction publishPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction publishPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction publishPolicyRevision '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.publishPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.removeRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.removeRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction removeRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction removeRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction removeRule "$(cat < removeRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction removeRule '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "appTenantRestrictionRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.removeRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`appTenantRestrictionRemoveRuleInput` [AppTenantRestrictionRemoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.removeSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.removeSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction removeSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction removeSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction removeSection "$(cat < removeSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction removeSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyRemoveSectionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.removeSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.updatePolicy:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.updatePolicy:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction updatePolicy -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction updatePolicy <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction updatePolicy '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "appTenantRestrictionPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.updatePolicy ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`appTenantRestrictionPolicyUpdateInput` [AppTenantRestrictionPolicyUpdateInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction updateRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction updateRule "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction updateRule '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "appTenantRestrictionUpdateRuleInput": {"appTenantRestrictionUpdateRuleDataInput": {"action": {"action": "enum(AppTenantRestrictionActionEnum)"}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "headers": {"name": {"name": "HttpHeaderName"}, "value": {"value": "HttpHeaderValue"}}, "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"}}}, "severity": {"severity": "enum(AppTenantRestrictionSeverityEnum)"}, "source": {"country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "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"}}}}, "id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.updateRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`appTenantRestrictionUpdateRuleInput` [AppTenantRestrictionUpdateRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction updateSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction updateSection "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction updateSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyUpdateSectionInput": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.updateSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall addRule "$(cat < addRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall addRule '{"
|
|
13
|
+
`catocli mutation policy internetFirewall addRule '{"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"}}, "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"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["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"}}, "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"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["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
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.addRule ####
|
|
16
|
-
`InternetFirewallAddRuleInput` [InternetFirewallAddRuleInput] - (required) N/A
|
|
17
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallAddRuleInput` [InternetFirewallAddRuleInput] - (required) N/A
|
|
18
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall addSection "$(cat < addSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall addSection '{"
|
|
13
|
+
`catocli mutation policy internetFirewall addSection '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.addSection ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall createPolicyRevision '{"
|
|
13
|
+
`catocli mutation policy internetFirewall createPolicyRevision '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.createPolicyRevision ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall discardPolicyRevision '{"
|
|
13
|
+
`catocli mutation policy internetFirewall discardPolicyRevision '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyDiscardRevisionInput": {"id": {"id": "ID"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.discardPolicyRevision ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall moveRule "$(cat < moveRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall moveRule '{"
|
|
13
|
+
`catocli mutation policy internetFirewall moveRule '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.moveRule ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall moveSection "$(cat < moveSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall moveSection '{"
|
|
13
|
+
`catocli mutation policy internetFirewall moveSection '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.moveSection ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall publishPolicyRevision '{"
|
|
13
|
+
`catocli mutation policy internetFirewall publishPolicyRevision '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.publishPolicyRevision ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall removeRule "$(cat < removeRule.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall removeRule '{"
|
|
13
|
+
`catocli mutation policy internetFirewall removeRule '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "internetFirewallRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.removeRule ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`InternetFirewallRemoveRuleInput` [InternetFirewallRemoveRuleInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`internetFirewallRemoveRuleInput` [InternetFirewallRemoveRuleInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall removeSection "$(cat < removeSection.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall removeSection '{"
|
|
13
|
+
`catocli mutation policy internetFirewall removeSection '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyRemoveSectionInput": {"id": {"id": "ID"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.removeSection ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation policy internetFirewall updatePolicy '{"
|
|
13
|
+
`catocli mutation policy internetFirewall updatePolicy '{"internetFirewallPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "internetFirewallPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.updatePolicy ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`InternetFirewallPolicyUpdateInput` [InternetFirewallPolicyUpdateInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`internetFirewallPolicyUpdateInput` [InternetFirewallPolicyUpdateInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
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": {"id": {"id": "ID"}, "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"}}, "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"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["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"}}, "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"}}, "deviceAttributes": {"category": {"category": ["String"]}, "manufacturer": {"manufacturer": ["String"]}, "model": {"model": ["String"]}, "os": {"os": ["String"]}, "osVersion": {"osVersion": ["String"]}, "type": {"type": ["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"}}}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.updateRule ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`InternetFirewallUpdateRuleInput` [InternetFirewallUpdateRuleInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`internetFirewallUpdateRuleInput` [InternetFirewallUpdateRuleInput] - (required) N/A
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
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": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.policy.internetFirewall.updateSection ####
|
|
16
|
-
`InternetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
17
|
-
`PolicyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
18
16
|
`accountId` [ID] - (required) N/A
|
|
17
|
+
`internetFirewallPolicyMutationInput` [InternetFirewallPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd addRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd addRule "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd addRule '{"remotePortFwdAddRuleInput": {"policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "remotePortFwdAddRuleDataInput": {"description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "externalIp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "externalPortRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "forwardIcmp": {"forwardIcmp": "Boolean"}, "internalIp": {"internalIp": "IPAddress"}, "internalPortRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "name": {"name": "String"}, "remoteIPs": {"globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "restrictionType": {"restrictionType": "enum(RemotePortFwdRestrictionType)"}, "tracking": {"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"}}}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.addRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`remotePortFwdAddRuleInput` [RemotePortFwdAddRuleInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd addSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd addSection "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd addSection '{"policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.addSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|