catocli 1.0.19__py3-none-any.whl → 1.0.21__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 +6 -0
- catocli/__init__.py +1 -1
- catocli/parsers/custom/__init__.py +1 -1
- catocli/parsers/mutation_admin_addAdmin/README.md +1 -1
- catocli/parsers/mutation_admin_updateAdmin/README.md +1 -1
- catocli/parsers/mutation_policy/__init__.py +522 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation/README.md +7 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +1 -1
- catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +1 -1
- catocli/parsers/mutation_policy_socketLan/README.md +7 -0
- catocli/parsers/mutation_policy_socketLan_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork/README.md +7 -0
- catocli/parsers/mutation_policy_wanNetwork_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updateSection/README.md +18 -0
- catocli/parsers/mutation_sandbox/README.md +7 -0
- catocli/parsers/mutation_sandbox/__init__.py +37 -0
- catocli/parsers/mutation_sandbox_deleteReport/README.md +17 -0
- catocli/parsers/mutation_sandbox_uploadFile/README.md +17 -0
- catocli/parsers/mutation_site/__init__.py +28 -0
- catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +1 -1
- catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_site_addSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_site_addSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_site_addSocketSite/README.md +1 -1
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_site_updateSocketInterface/README.md +1 -1
- catocli/parsers/mutation_sites/__init__.py +28 -0
- catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +1 -1
- catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_sites_addSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_addSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_addSocketSite/README.md +1 -1
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_sites_updateSocketInterface/README.md +1 -1
- catocli/parsers/mutation_xdr/README.md +7 -0
- catocli/parsers/mutation_xdr/__init__.py +51 -0
- catocli/parsers/mutation_xdr_addStoryComment/README.md +17 -0
- catocli/parsers/mutation_xdr_analystFeedback/README.md +18 -0
- catocli/parsers/mutation_xdr_deleteStoryComment/README.md +17 -0
- catocli/parsers/query_accountMetrics/README.md +2 -1
- catocli/parsers/query_appStatsTimeSeries/README.md +2 -1
- catocli/parsers/query_eventsFeed/README.md +1 -1
- catocli/parsers/query_eventsTimeSeries/README.md +2 -1
- catocli/parsers/query_policy/README.md +4 -1
- catocli/parsers/query_sandbox/README.md +17 -0
- catocli/parsers/query_sandbox/__init__.py +17 -0
- catocli/parsers/query_siteLocation/README.md +1 -1
- catocli/parsers/query_xdr_story/README.md +1 -1
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/METADATA +1 -1
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/RECORD +166 -66
- models/mutation.admin.addAdmin.json +0 -60
- models/mutation.admin.updateAdmin.json +0 -57
- models/mutation.policy.dynamicIpAllocation.addRule.json +3696 -0
- models/mutation.policy.dynamicIpAllocation.addSection.json +1358 -0
- models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +2175 -0
- models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +2109 -0
- models/mutation.policy.dynamicIpAllocation.moveRule.json +1907 -0
- models/mutation.policy.dynamicIpAllocation.moveSection.json +1259 -0
- models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +2166 -0
- models/mutation.policy.dynamicIpAllocation.removeRule.json +1555 -0
- models/mutation.policy.dynamicIpAllocation.removeSection.json +958 -0
- models/mutation.policy.dynamicIpAllocation.updatePolicy.json +2185 -0
- models/mutation.policy.dynamicIpAllocation.updateRule.json +3374 -0
- models/mutation.policy.dynamicIpAllocation.updateSection.json +1111 -0
- models/mutation.policy.internetFirewall.addRule.json +18 -18
- models/mutation.policy.internetFirewall.createPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.discardPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.moveRule.json +4 -4
- models/mutation.policy.internetFirewall.publishPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.removeRule.json +4 -4
- models/mutation.policy.internetFirewall.updatePolicy.json +4 -4
- models/mutation.policy.internetFirewall.updateRule.json +18 -18
- models/mutation.policy.socketLan.addRule.json +11266 -0
- models/mutation.policy.socketLan.addSection.json +1358 -0
- models/mutation.policy.socketLan.createPolicyRevision.json +3926 -0
- models/mutation.policy.socketLan.discardPolicyRevision.json +3860 -0
- models/mutation.policy.socketLan.moveRule.json +3658 -0
- models/mutation.policy.socketLan.moveSection.json +1259 -0
- models/mutation.policy.socketLan.publishPolicyRevision.json +3917 -0
- models/mutation.policy.socketLan.removeRule.json +3306 -0
- models/mutation.policy.socketLan.removeSection.json +958 -0
- models/mutation.policy.socketLan.updatePolicy.json +3936 -0
- models/mutation.policy.socketLan.updateRule.json +10860 -0
- models/mutation.policy.socketLan.updateSection.json +1111 -0
- models/mutation.policy.wanNetwork.addRule.json +30614 -0
- models/mutation.policy.wanNetwork.addSection.json +1358 -0
- models/mutation.policy.wanNetwork.createPolicyRevision.json +8251 -0
- models/mutation.policy.wanNetwork.discardPolicyRevision.json +8185 -0
- models/mutation.policy.wanNetwork.moveRule.json +7983 -0
- models/mutation.policy.wanNetwork.moveSection.json +1259 -0
- models/mutation.policy.wanNetwork.publishPolicyRevision.json +8242 -0
- models/mutation.policy.wanNetwork.removeRule.json +7631 -0
- models/mutation.policy.wanNetwork.removeSection.json +958 -0
- models/mutation.policy.wanNetwork.updatePolicy.json +8261 -0
- models/mutation.policy.wanNetwork.updateRule.json +30145 -0
- models/mutation.policy.wanNetwork.updateSection.json +1111 -0
- models/mutation.sandbox.deleteReport.json +302 -0
- models/mutation.sandbox.uploadFile.json +301 -0
- models/mutation.site.addIpsecIkeV2Site.json +57 -0
- models/mutation.site.addIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.site.addSecondaryAwsVSocket.json +707 -0
- models/mutation.site.addSecondaryAzureVSocket.json +647 -0
- models/mutation.site.addSocketSite.json +72 -15
- models/mutation.site.updateIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.site.updateNetworkRange.json +3 -3
- models/mutation.site.updateSocketInterface.json +126 -18
- models/mutation.sites.addIpsecIkeV2Site.json +57 -0
- models/mutation.sites.addIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.sites.addSecondaryAwsVSocket.json +707 -0
- models/mutation.sites.addSecondaryAzureVSocket.json +647 -0
- models/mutation.sites.addSocketSite.json +72 -15
- models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.sites.updateNetworkRange.json +3 -3
- models/mutation.sites.updateSocketInterface.json +126 -18
- models/mutation.xdr.addStoryComment.json +622 -0
- models/mutation.xdr.analystFeedback.json +28820 -0
- models/mutation.xdr.deleteStoryComment.json +622 -0
- models/query.accountMetrics.json +592 -0
- models/query.accountSnapshot.json +308 -0
- models/query.appStatsTimeSeries.json +37 -0
- models/query.auditFeed.json +352 -52
- models/query.events.json +1434 -234
- models/query.eventsFeed.json +352 -52
- models/query.eventsTimeSeries.json +1113 -176
- models/query.policy.json +22867 -9389
- models/query.sandbox.json +2111 -0
- models/query.xdr.stories.json +134 -4
- models/query.xdr.story.json +116 -4
- schema/catolib.py +4 -5
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/LICENSE +0 -0
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/WHEEL +0 -0
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-dynamicIpAllocation) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation -h`
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation addRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation addRule "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation addRule '{"dynamicIpAllocationAddRuleInput": {"dynamicIpAllocationAddRuleDataInput": {"country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "name": {"name": "String"}, "platform": {"platform": "enum(OperatingSystem)"}, "range": {"globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.addRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationAddRuleInput` [DynamicIpAllocationAddRuleInput] - (required) N/A
|
|
18
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation addSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation addSection "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation addSection '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.addSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation createPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation createPolicyRevision '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.createPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation discardPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation discardPolicyRevision '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyDiscardRevisionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.discardPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation moveRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation moveRule "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation moveRule '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.moveRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation moveSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation moveSection "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation moveSection '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.moveSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.publishPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.publishPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation publishPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation publishPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation publishPolicyRevision '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.publishPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.removeRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.removeRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation removeRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation removeRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation removeRule "$(cat < removeRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation removeRule '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "dynamicIpAllocationRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.removeRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`dynamicIpAllocationRemoveRuleInput` [DynamicIpAllocationRemoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.removeSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.removeSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation removeSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation removeSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation removeSection "$(cat < removeSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation removeSection '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyRemoveSectionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.removeSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.updatePolicy:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.updatePolicy:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation updatePolicy -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation updatePolicy <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation updatePolicy '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "dynamicIpAllocationPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.updatePolicy ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`dynamicIpAllocationPolicyUpdateInput` [DynamicIpAllocationPolicyUpdateInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation updateRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation updateRule "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation updateRule '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "dynamicIpAllocationUpdateRuleInput": {"dynamicIpAllocationUpdateRuleDataInput": {"country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "name": {"name": "String"}, "platform": {"platform": "enum(OperatingSystem)"}, "range": {"globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"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.dynamicIpAllocation.updateRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`dynamicIpAllocationUpdateRuleInput` [DynamicIpAllocationUpdateRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.dynamicIpAllocation.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.dynamicIpAllocation.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy dynamicIpAllocation updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy dynamicIpAllocation updateSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy dynamicIpAllocation updateSection "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy dynamicIpAllocation updateSection '{"dynamicIpAllocationPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyUpdateSectionInput": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.dynamicIpAllocation.updateSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`dynamicIpAllocationPolicyMutationInput` [DynamicIpAllocationPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall addRule "$(cat < addRule.json)"`
|
|
12
12
|
|
|
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": ["
|
|
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": ["Asn32"]}, "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": ["Asn32"]}, "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
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation policy internetFirewall updateRule "$(cat < updateRule.json)"`
|
|
12
12
|
|
|
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": ["
|
|
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": ["Asn32"]}, "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": ["Asn32"]}, "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
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan addRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan addRule "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan addRule '{"socketLanAddRuleInput": {"policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "socketLanAddRuleDataInput": {"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"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "vlan": {"vlan": ["Vlan"]}}, "direction": {"direction": "enum(SocketLanDirection)"}, "enabled": {"enabled": "Boolean"}, "name": {"name": "String"}, "nat": {"enabled": {"enabled": "Boolean"}, "natType": {"natType": "enum(SocketLanNatType)"}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "simple": {"name": {"name": "enum(SimpleServiceType)"}}}, "site": {"group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"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"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "vlan": {"vlan": ["Vlan"]}}, "transport": {"transport": "enum(SocketLanTransportType)"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.addRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`socketLanAddRuleInput` [SocketLanAddRuleInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan addSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan addSection "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan addSection '{"policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.addSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan createPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan createPolicyRevision '{"policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.createPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan discardPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan discardPolicyRevision '{"policyDiscardRevisionInput": {"id": {"id": "ID"}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.discardPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan moveRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan moveRule "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan moveRule '{"policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.moveRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan moveSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan moveSection "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan moveSection '{"policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.moveSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.publishPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.publishPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan publishPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan publishPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan publishPolicyRevision '{"policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.publishPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.removeRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.removeRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan removeRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan removeRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan removeRule "$(cat < removeRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan removeRule '{"socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "socketLanRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.removeRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`socketLanRemoveRuleInput` [SocketLanRemoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.removeSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.removeSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan removeSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan removeSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan removeSection "$(cat < removeSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan removeSection '{"policyRemoveSectionInput": {"id": {"id": "ID"}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.removeSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.updatePolicy:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.updatePolicy:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan updatePolicy -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan updatePolicy <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan updatePolicy '{"socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "socketLanPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.updatePolicy ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`socketLanPolicyUpdateInput` [SocketLanPolicyUpdateInput] - (required) N/A
|