catocli 2.0.4__py3-none-any.whl → 2.1.0__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 +11 -4
- catocli/__init__.py +1 -1
- catocli/parsers/custom/export_sites/export_sites.py +20 -3
- catocli/parsers/custom/import_sites_to_tf/__init__.py +3 -1
- catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +71 -5
- catocli/parsers/mutation_accountManagement/__init__.py +13 -0
- catocli/parsers/mutation_accountManagement_disableAccount/README.md +16 -0
- catocli/parsers/mutation_container/__init__.py +116 -0
- catocli/parsers/mutation_container_fqdn/README.md +7 -0
- catocli/parsers/mutation_container_fqdn_addValues/README.md +17 -0
- catocli/parsers/mutation_container_fqdn_createFromFile/README.md +17 -0
- catocli/parsers/mutation_container_fqdn_removeValues/README.md +17 -0
- catocli/parsers/mutation_container_fqdn_updateFromFile/README.md +17 -0
- catocli/parsers/mutation_container_ipAddressRange/README.md +7 -0
- catocli/parsers/mutation_container_ipAddressRange_addValues/README.md +17 -0
- catocli/parsers/mutation_container_ipAddressRange_createFromFile/README.md +17 -0
- catocli/parsers/mutation_container_ipAddressRange_removeValues/README.md +17 -0
- catocli/parsers/mutation_container_ipAddressRange_updateFromFile/README.md +17 -0
- catocli/parsers/mutation_groups/README.md +7 -0
- catocli/parsers/mutation_groups/__init__.py +48 -0
- catocli/parsers/mutation_groups_createGroup/README.md +18 -0
- catocli/parsers/mutation_groups_deleteGroup/README.md +18 -0
- catocli/parsers/mutation_groups_updateGroup/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_wanFirewall_addRule/README.md +1 -1
- catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +1 -1
- catocli/parsers/mutation_site/__init__.py +104 -0
- catocli/parsers/mutation_site_assignSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_site_removeSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_site_removeSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_site_removeSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_site_replaceSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_site_updateSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_site_updateSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_site_updateSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +1 -1
- catocli/parsers/mutation_sites/__init__.py +104 -0
- catocli/parsers/mutation_sites_assignSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_sites_removeSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_removeSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_removeSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_sites_replaceSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_sites_updateSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_updateSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_updateSiteBwLicense/README.md +17 -0
- catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +1 -1
- catocli/parsers/parserApiClient.py +42 -19
- catocli/parsers/query_eventsFeed/README.md +1 -1
- catocli/parsers/query_groups/README.md +7 -0
- catocli/parsers/query_groups/__init__.py +54 -0
- catocli/parsers/query_groups_group/README.md +7 -0
- catocli/parsers/query_groups_groupList/README.md +18 -0
- catocli/parsers/query_groups_group_members/README.md +18 -0
- catocli/parsers/query_groups_whereUsed/README.md +17 -0
- catocli/parsers/query_policy/README.md +0 -17
- catocli/parsers/query_policy/__init__.py +153 -8
- catocli/parsers/query_policy_appTenantRestriction/README.md +7 -0
- catocli/parsers/query_policy_appTenantRestriction_policy/README.md +17 -0
- catocli/parsers/query_policy_dynamicIpAllocation/README.md +7 -0
- catocli/parsers/query_policy_dynamicIpAllocation_policy/README.md +17 -0
- catocli/parsers/query_policy_internetFirewall/README.md +7 -0
- catocli/parsers/query_policy_internetFirewall_policy/README.md +17 -0
- catocli/parsers/query_policy_remotePortFwd/README.md +7 -0
- catocli/parsers/query_policy_remotePortFwd_policy/README.md +17 -0
- catocli/parsers/query_policy_socketLan/README.md +7 -0
- catocli/parsers/query_policy_socketLan_policy/README.md +17 -0
- catocli/parsers/query_policy_terminalServer/README.md +7 -0
- catocli/parsers/query_policy_terminalServer_policy/README.md +17 -0
- catocli/parsers/query_policy_wanFirewall/README.md +7 -0
- catocli/parsers/query_policy_wanFirewall_policy/README.md +17 -0
- catocli/parsers/query_policy_wanNetwork/README.md +7 -0
- catocli/parsers/query_policy_wanNetwork_policy/README.md +17 -0
- catocli/parsers/query_popLocations/README.md +17 -0
- catocli/parsers/query_popLocations/__init__.py +16 -0
- catocli/parsers/query_site/README.md +0 -16
- catocli/parsers/query_site/__init__.py +118 -8
- catocli/parsers/query_site_availableVersionList/README.md +17 -0
- catocli/parsers/query_site_bgpPeer/README.md +17 -0
- catocli/parsers/query_site_bgpPeerList/README.md +17 -0
- catocli/parsers/query_site_cloudInterconnectConnectionConnectivity/README.md +17 -0
- catocli/parsers/query_site_cloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/query_site_cloudInterconnectPhysicalConnectionId/README.md +17 -0
- catocli/parsers/query_site_secondaryAwsVSocket/README.md +17 -0
- catocli/parsers/query_site_secondaryAzureVSocket/README.md +17 -0
- catocli/parsers/query_site_siteBgpStatus/README.md +17 -0
- catocli/parsers/query_socketPortMetrics/README.md +23 -0
- catocli/parsers/query_socketPortMetrics/__init__.py +16 -0
- catocli/parsers/query_socketPortMetricsTimeSeries/README.md +24 -0
- catocli/parsers/query_socketPortMetricsTimeSeries/__init__.py +16 -0
- catocli/parsers/raw/README.md +0 -14
- catocli/parsers/raw/__init__.py +0 -2
- {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/METADATA +3 -2
- {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/RECORD +300 -178
- {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/WHEEL +1 -1
- {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/top_level.txt +0 -1
- graphql_client/api/call_api.py +4 -3
- models/mutation.accountManagement.addAccount.json +97 -0
- models/mutation.accountManagement.disableAccount.json +545 -0
- models/mutation.accountManagement.removeAccount.json +102 -3
- models/mutation.accountManagement.updateAccount.json +97 -0
- models/mutation.admin.addAdmin.json +6 -9
- models/mutation.container.delete.json +2 -2
- models/mutation.container.fqdn.addValues.json +866 -0
- models/mutation.container.fqdn.createFromFile.json +819 -0
- models/mutation.container.fqdn.removeValues.json +866 -0
- models/mutation.container.fqdn.updateFromFile.json +1045 -0
- models/mutation.container.ipAddressRange.addValues.json +1020 -0
- models/mutation.container.ipAddressRange.createFromFile.json +819 -0
- models/mutation.container.ipAddressRange.removeValues.json +1020 -0
- models/mutation.container.ipAddressRange.updateFromFile.json +1045 -0
- models/mutation.groups.createGroup.json +3178 -0
- models/mutation.groups.deleteGroup.json +2758 -0
- models/mutation.groups.updateGroup.json +4429 -0
- models/mutation.hardware.updateHardwareShipping.json +30 -10
- models/mutation.policy.appTenantRestriction.addRule.json +25 -25
- models/mutation.policy.appTenantRestriction.addSection.json +3 -3
- models/mutation.policy.appTenantRestriction.createPolicyRevision.json +31 -31
- models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +31 -31
- models/mutation.policy.appTenantRestriction.moveRule.json +25 -25
- models/mutation.policy.appTenantRestriction.moveSection.json +3 -3
- models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +31 -31
- models/mutation.policy.appTenantRestriction.removeRule.json +25 -25
- models/mutation.policy.appTenantRestriction.removeSection.json +3 -3
- models/mutation.policy.appTenantRestriction.updatePolicy.json +31 -31
- models/mutation.policy.appTenantRestriction.updateRule.json +25 -25
- models/mutation.policy.appTenantRestriction.updateSection.json +3 -3
- models/mutation.policy.dynamicIpAllocation.addRule.json +11 -11
- models/mutation.policy.dynamicIpAllocation.addSection.json +3 -3
- models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +17 -17
- models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +17 -17
- models/mutation.policy.dynamicIpAllocation.moveRule.json +11 -11
- models/mutation.policy.dynamicIpAllocation.moveSection.json +3 -3
- models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +17 -17
- models/mutation.policy.dynamicIpAllocation.removeRule.json +11 -11
- models/mutation.policy.dynamicIpAllocation.removeSection.json +3 -3
- models/mutation.policy.dynamicIpAllocation.updatePolicy.json +17 -17
- models/mutation.policy.dynamicIpAllocation.updateRule.json +11 -11
- models/mutation.policy.dynamicIpAllocation.updateSection.json +3 -3
- models/mutation.policy.internetFirewall.addRule.json +532 -85
- models/mutation.policy.internetFirewall.addSection.json +3 -3
- models/mutation.policy.internetFirewall.createPolicyRevision.json +208 -91
- models/mutation.policy.internetFirewall.discardPolicyRevision.json +208 -91
- models/mutation.policy.internetFirewall.moveRule.json +202 -85
- models/mutation.policy.internetFirewall.moveSection.json +3 -3
- models/mutation.policy.internetFirewall.publishPolicyRevision.json +208 -91
- models/mutation.policy.internetFirewall.removeRule.json +202 -85
- models/mutation.policy.internetFirewall.removeSection.json +3 -3
- models/mutation.policy.internetFirewall.updatePolicy.json +208 -91
- models/mutation.policy.internetFirewall.updateRule.json +523 -85
- models/mutation.policy.internetFirewall.updateSection.json +3 -3
- models/mutation.policy.remotePortFwd.addRule.json +16 -16
- models/mutation.policy.remotePortFwd.addSection.json +3 -3
- models/mutation.policy.remotePortFwd.createPolicyRevision.json +22 -22
- models/mutation.policy.remotePortFwd.discardPolicyRevision.json +22 -22
- models/mutation.policy.remotePortFwd.moveRule.json +16 -16
- models/mutation.policy.remotePortFwd.moveSection.json +3 -3
- models/mutation.policy.remotePortFwd.publishPolicyRevision.json +22 -22
- models/mutation.policy.remotePortFwd.removeRule.json +16 -16
- models/mutation.policy.remotePortFwd.removeSection.json +3 -3
- models/mutation.policy.remotePortFwd.updatePolicy.json +22 -22
- models/mutation.policy.remotePortFwd.updateRule.json +16 -16
- models/mutation.policy.remotePortFwd.updateSection.json +3 -3
- models/mutation.policy.socketLan.addRule.json +81 -81
- models/mutation.policy.socketLan.addSection.json +3 -3
- models/mutation.policy.socketLan.createPolicyRevision.json +87 -87
- models/mutation.policy.socketLan.discardPolicyRevision.json +87 -87
- models/mutation.policy.socketLan.moveRule.json +81 -81
- models/mutation.policy.socketLan.moveSection.json +3 -3
- models/mutation.policy.socketLan.publishPolicyRevision.json +87 -87
- models/mutation.policy.socketLan.removeRule.json +81 -81
- models/mutation.policy.socketLan.removeSection.json +3 -3
- models/mutation.policy.socketLan.updatePolicy.json +87 -87
- models/mutation.policy.socketLan.updateRule.json +81 -81
- models/mutation.policy.socketLan.updateSection.json +3 -3
- models/mutation.policy.terminalServer.addRule.json +6 -6
- models/mutation.policy.terminalServer.addSection.json +3 -3
- models/mutation.policy.terminalServer.createPolicyRevision.json +12 -12
- models/mutation.policy.terminalServer.discardPolicyRevision.json +12 -12
- models/mutation.policy.terminalServer.moveRule.json +6 -6
- models/mutation.policy.terminalServer.moveSection.json +3 -3
- models/mutation.policy.terminalServer.publishPolicyRevision.json +12 -12
- models/mutation.policy.terminalServer.removeRule.json +6 -6
- models/mutation.policy.terminalServer.removeSection.json +3 -3
- models/mutation.policy.terminalServer.updatePolicy.json +12 -12
- models/mutation.policy.terminalServer.updateRule.json +6 -6
- models/mutation.policy.terminalServer.updateSection.json +3 -3
- models/mutation.policy.wanFirewall.addRule.json +550 -103
- models/mutation.policy.wanFirewall.addSection.json +3 -3
- models/mutation.policy.wanFirewall.createPolicyRevision.json +226 -109
- models/mutation.policy.wanFirewall.discardPolicyRevision.json +226 -109
- models/mutation.policy.wanFirewall.moveRule.json +220 -103
- models/mutation.policy.wanFirewall.moveSection.json +3 -3
- models/mutation.policy.wanFirewall.publishPolicyRevision.json +226 -109
- models/mutation.policy.wanFirewall.removeRule.json +220 -103
- models/mutation.policy.wanFirewall.removeSection.json +3 -3
- models/mutation.policy.wanFirewall.updatePolicy.json +226 -109
- models/mutation.policy.wanFirewall.updateRule.json +541 -103
- models/mutation.policy.wanFirewall.updateSection.json +3 -3
- models/mutation.policy.wanNetwork.addRule.json +90 -90
- models/mutation.policy.wanNetwork.addSection.json +3 -3
- models/mutation.policy.wanNetwork.createPolicyRevision.json +96 -96
- models/mutation.policy.wanNetwork.discardPolicyRevision.json +96 -96
- models/mutation.policy.wanNetwork.moveRule.json +90 -90
- models/mutation.policy.wanNetwork.moveSection.json +3 -3
- models/mutation.policy.wanNetwork.publishPolicyRevision.json +96 -96
- models/mutation.policy.wanNetwork.removeRule.json +90 -90
- models/mutation.policy.wanNetwork.removeSection.json +3 -3
- models/mutation.policy.wanNetwork.updatePolicy.json +96 -96
- models/mutation.policy.wanNetwork.updateRule.json +90 -90
- models/mutation.policy.wanNetwork.updateSection.json +3 -3
- models/mutation.site.addBgpPeer.json +10 -10
- models/mutation.site.addIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.site.addSocketAddOnCard.json +2 -2
- models/mutation.site.assignSiteBwLicense.json +12879 -0
- models/mutation.site.removeBgpPeer.json +10 -10
- models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.site.removeSecondaryAwsVSocket.json +375 -0
- models/mutation.site.removeSecondaryAzureVSocket.json +354 -0
- models/mutation.site.removeSiteBwLicense.json +12822 -0
- models/mutation.site.removeSocketAddOnCard.json +2 -2
- models/mutation.site.replaceSiteBwLicense.json +12939 -0
- models/mutation.site.startSiteUpgrade.json +36 -15
- models/mutation.site.updateBgpPeer.json +10 -10
- models/mutation.site.updateIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.site.updateSecondaryAwsVSocket.json +643 -0
- models/mutation.site.updateSecondaryAzureVSocket.json +565 -0
- models/mutation.site.updateSiteBwLicense.json +12882 -0
- models/mutation.site.updateSiteGeneralDetails.json +724 -1
- models/mutation.sites.addBgpPeer.json +10 -10
- models/mutation.sites.addIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.sites.addSocketAddOnCard.json +2 -2
- models/mutation.sites.assignSiteBwLicense.json +12879 -0
- models/mutation.sites.removeBgpPeer.json +10 -10
- models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.sites.removeSecondaryAwsVSocket.json +375 -0
- models/mutation.sites.removeSecondaryAzureVSocket.json +354 -0
- models/mutation.sites.removeSiteBwLicense.json +12822 -0
- models/mutation.sites.removeSocketAddOnCard.json +2 -2
- models/mutation.sites.replaceSiteBwLicense.json +12939 -0
- models/mutation.sites.startSiteUpgrade.json +36 -15
- models/mutation.sites.updateBgpPeer.json +10 -10
- models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.sites.updateSecondaryAwsVSocket.json +643 -0
- models/mutation.sites.updateSecondaryAzureVSocket.json +565 -0
- models/mutation.sites.updateSiteBwLicense.json +12882 -0
- models/mutation.sites.updateSiteGeneralDetails.json +724 -1
- models/mutation.xdr.addStoryComment.json +1 -1
- models/mutation.xdr.analystFeedback.json +84 -84
- models/mutation.xdr.deleteStoryComment.json +1 -1
- models/query.accountManagement.json +97 -0
- models/query.accountMetrics.json +45 -45
- models/query.accountSnapshot.json +30 -30
- models/query.admin.json +6 -6
- models/query.admins.json +13 -13
- models/query.appStats.json +915 -867
- models/query.appStatsTimeSeries.json +692 -656
- models/query.auditFeed.json +6 -6
- models/query.catalogs.json +52 -52
- models/query.container.json +16 -16
- models/query.devices.json +20 -93
- models/query.entityLookup.json +2 -2
- models/query.events.json +288 -384
- models/query.eventsFeed.json +73 -97
- models/query.eventsTimeSeries.json +219 -291
- models/query.groups.group.members.json +3058 -0
- models/query.groups.groupList.json +6474 -0
- models/query.groups.whereUsed.json +697 -0
- models/query.hardware.json +27 -7
- models/query.hardwareManagement.json +8 -8
- models/query.licensing.json +3487 -1324
- models/query.policy.appTenantRestriction.policy.json +3086 -0
- models/query.policy.dynamicIpAllocation.policy.json +1934 -0
- models/query.policy.internetFirewall.policy.json +7833 -0
- models/query.policy.json +233 -0
- models/query.policy.remotePortFwd.policy.json +2387 -0
- models/query.policy.socketLan.policy.json +7140 -0
- models/query.policy.terminalServer.policy.json +1632 -0
- models/query.policy.wanFirewall.policy.json +9212 -0
- models/query.policy.wanNetwork.policy.json +8010 -0
- models/query.popLocations.json +2878 -0
- models/query.sandbox.json +5 -5
- models/query.site.availableVersionList.json +365 -0
- models/query.site.bgpPeer.json +1917 -0
- models/query.site.bgpPeerList.json +2076 -0
- models/query.site.cloudInterconnectConnectionConnectivity.json +298 -0
- models/query.site.cloudInterconnectPhysicalConnection.json +728 -0
- models/query.site.cloudInterconnectPhysicalConnectionId.json +660 -0
- models/query.site.secondaryAwsVSocket.json +340 -0
- models/query.site.secondaryAzureVSocket.json +319 -0
- models/query.site.siteBgpStatus.json +869 -0
- models/query.socketPortMetrics.json +2410 -0
- models/query.socketPortMetricsTimeSeries.json +2361 -0
- models/query.xdr.stories.json +104 -104
- models/query.xdr.story.json +93 -93
- schema/catolib.py +34 -18
- schema/remove_policyid.py +89 -0
- schema/remove_policyid_mutations.py +89 -0
- {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/entry_points.txt +0 -0
- {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.removeSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.removeSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site removeSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site removeSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site removeSiteBwLicense "$(cat < removeSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site removeSiteBwLicense '{"removeSiteBwLicenseInput": {"licenseId": {"licenseId": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.removeSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`removeSiteBwLicenseInput` [RemoveSiteBwLicenseInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.replaceSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-replaceSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.replaceSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site replaceSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site replaceSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site replaceSiteBwLicense "$(cat < replaceSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site replaceSiteBwLicense '{"replaceSiteBwLicenseInput": {"bw": {"bw": "Int"}, "licenseIdToAdd": {"licenseIdToAdd": "ID"}, "licenseIdToRemove": {"licenseIdToRemove": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.replaceSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`replaceSiteBwLicenseInput` [ReplaceSiteBwLicenseInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.updateSecondaryAwsVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSecondaryAwsVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.updateSecondaryAwsVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site updateSecondaryAwsVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site updateSecondaryAwsVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site updateSecondaryAwsVSocket "$(cat < updateSecondaryAwsVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site updateSecondaryAwsVSocket '{"updateSecondaryAwsVSocketInput": {"id": {"id": "ID"}, "ipAddress": {"ipAddress": "IPAddress"}, "routeTableId": {"routeTableId": "String"}, "subnet": {"subnet": "NetworkSubnet"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.updateSecondaryAwsVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateSecondaryAwsVSocketInput` [UpdateSecondaryAwsVSocketInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.updateSecondaryAzureVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSecondaryAzureVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.updateSecondaryAzureVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site updateSecondaryAzureVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site updateSecondaryAzureVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site updateSecondaryAzureVSocket "$(cat < updateSecondaryAzureVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site updateSecondaryAzureVSocket '{"updateSecondaryAzureVSocketInput": {"floatingIp": {"floatingIp": "IPAddress"}, "id": {"id": "ID"}, "interfaceIp": {"interfaceIp": "IPAddress"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.updateSecondaryAzureVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateSecondaryAzureVSocketInput` [UpdateSecondaryAzureVSocketInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.updateSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.updateSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site updateSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site updateSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site updateSiteBwLicense "$(cat < updateSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site updateSiteBwLicense '{"updateSiteBwLicenseInput": {"bw": {"bw": "Int"}, "licenseId": {"licenseId": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.updateSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateSiteBwLicenseInput` [UpdateSiteBwLicenseInput] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation site updateSiteGeneralDetails "$(cat < updateSiteGeneralDetails.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site updateSiteGeneralDetails '{"siteId": "ID", "updateSiteGeneralDetailsInput": {"description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}, "updateSiteLocationInput": {"address": {"address": "String"}, "cityName": {"cityName": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}}}'`
|
|
13
|
+
`catocli mutation site updateSiteGeneralDetails '{"siteId": "ID", "updateSiteGeneralDetailsInput": {"description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}, "updateSiteLocationInput": {"address": {"address": "String"}, "cityName": {"cityName": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "updateSitePreferredPopLocationInput": {"preferredOnly": {"preferredOnly": "Boolean"}, "primary": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "secondary": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.updateSiteGeneralDetails ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -151,6 +151,19 @@ def mutation_sites_parse(mutation_subparsers):
|
|
|
151
151
|
mutation_sites_addStaticHost_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
152
152
|
mutation_sites_addStaticHost_parser.set_defaults(func=createRequest,operation_name='mutation.sites.addStaticHost')
|
|
153
153
|
|
|
154
|
+
mutation_sites_assignSiteBwLicense_parser = mutation_sites_subparsers.add_parser('assignSiteBwLicense',
|
|
155
|
+
help='assignSiteBwLicense() sites operation',
|
|
156
|
+
usage=get_help("mutation_sites_assignSiteBwLicense"))
|
|
157
|
+
|
|
158
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
159
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
160
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
161
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
162
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
163
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
164
|
+
mutation_sites_assignSiteBwLicense_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
165
|
+
mutation_sites_assignSiteBwLicense_parser.set_defaults(func=createRequest,operation_name='mutation.sites.assignSiteBwLicense')
|
|
166
|
+
|
|
154
167
|
mutation_sites_removeBgpPeer_parser = mutation_sites_subparsers.add_parser('removeBgpPeer',
|
|
155
168
|
help='removeBgpPeer() sites operation',
|
|
156
169
|
usage=get_help("mutation_sites_removeBgpPeer"))
|
|
@@ -203,6 +216,32 @@ def mutation_sites_parse(mutation_subparsers):
|
|
|
203
216
|
mutation_sites_removeNetworkRange_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
204
217
|
mutation_sites_removeNetworkRange_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeNetworkRange')
|
|
205
218
|
|
|
219
|
+
mutation_sites_removeSecondaryAwsVSocket_parser = mutation_sites_subparsers.add_parser('removeSecondaryAwsVSocket',
|
|
220
|
+
help='removeSecondaryAwsVSocket() sites operation',
|
|
221
|
+
usage=get_help("mutation_sites_removeSecondaryAwsVSocket"))
|
|
222
|
+
|
|
223
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
224
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
225
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
226
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
227
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
228
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
229
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
230
|
+
mutation_sites_removeSecondaryAwsVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeSecondaryAwsVSocket')
|
|
231
|
+
|
|
232
|
+
mutation_sites_removeSecondaryAzureVSocket_parser = mutation_sites_subparsers.add_parser('removeSecondaryAzureVSocket',
|
|
233
|
+
help='removeSecondaryAzureVSocket() sites operation',
|
|
234
|
+
usage=get_help("mutation_sites_removeSecondaryAzureVSocket"))
|
|
235
|
+
|
|
236
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
237
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
238
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
239
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
240
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
241
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
242
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
243
|
+
mutation_sites_removeSecondaryAzureVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeSecondaryAzureVSocket')
|
|
244
|
+
|
|
206
245
|
mutation_sites_removeSite_parser = mutation_sites_subparsers.add_parser('removeSite',
|
|
207
246
|
help='removeSite() sites operation',
|
|
208
247
|
usage=get_help("mutation_sites_removeSite"))
|
|
@@ -216,6 +255,19 @@ def mutation_sites_parse(mutation_subparsers):
|
|
|
216
255
|
mutation_sites_removeSite_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
217
256
|
mutation_sites_removeSite_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeSite')
|
|
218
257
|
|
|
258
|
+
mutation_sites_removeSiteBwLicense_parser = mutation_sites_subparsers.add_parser('removeSiteBwLicense',
|
|
259
|
+
help='removeSiteBwLicense() sites operation',
|
|
260
|
+
usage=get_help("mutation_sites_removeSiteBwLicense"))
|
|
261
|
+
|
|
262
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
263
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
264
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
265
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
266
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
267
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
268
|
+
mutation_sites_removeSiteBwLicense_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
269
|
+
mutation_sites_removeSiteBwLicense_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeSiteBwLicense')
|
|
270
|
+
|
|
219
271
|
mutation_sites_removeSocketAddOnCard_parser = mutation_sites_subparsers.add_parser('removeSocketAddOnCard',
|
|
220
272
|
help='removeSocketAddOnCard() sites operation',
|
|
221
273
|
usage=get_help("mutation_sites_removeSocketAddOnCard"))
|
|
@@ -242,6 +294,19 @@ def mutation_sites_parse(mutation_subparsers):
|
|
|
242
294
|
mutation_sites_removeStaticHost_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
243
295
|
mutation_sites_removeStaticHost_parser.set_defaults(func=createRequest,operation_name='mutation.sites.removeStaticHost')
|
|
244
296
|
|
|
297
|
+
mutation_sites_replaceSiteBwLicense_parser = mutation_sites_subparsers.add_parser('replaceSiteBwLicense',
|
|
298
|
+
help='replaceSiteBwLicense() sites operation',
|
|
299
|
+
usage=get_help("mutation_sites_replaceSiteBwLicense"))
|
|
300
|
+
|
|
301
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
302
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
303
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
304
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
305
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
306
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
307
|
+
mutation_sites_replaceSiteBwLicense_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
308
|
+
mutation_sites_replaceSiteBwLicense_parser.set_defaults(func=createRequest,operation_name='mutation.sites.replaceSiteBwLicense')
|
|
309
|
+
|
|
245
310
|
mutation_sites_startSiteUpgrade_parser = mutation_sites_subparsers.add_parser('startSiteUpgrade',
|
|
246
311
|
help='startSiteUpgrade() sites operation',
|
|
247
312
|
usage=get_help("mutation_sites_startSiteUpgrade"))
|
|
@@ -333,6 +398,45 @@ def mutation_sites_parse(mutation_subparsers):
|
|
|
333
398
|
mutation_sites_updateNetworkRange_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
334
399
|
mutation_sites_updateNetworkRange_parser.set_defaults(func=createRequest,operation_name='mutation.sites.updateNetworkRange')
|
|
335
400
|
|
|
401
|
+
mutation_sites_updateSecondaryAwsVSocket_parser = mutation_sites_subparsers.add_parser('updateSecondaryAwsVSocket',
|
|
402
|
+
help='updateSecondaryAwsVSocket() sites operation',
|
|
403
|
+
usage=get_help("mutation_sites_updateSecondaryAwsVSocket"))
|
|
404
|
+
|
|
405
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
406
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
407
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
408
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
409
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
410
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
411
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
412
|
+
mutation_sites_updateSecondaryAwsVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.sites.updateSecondaryAwsVSocket')
|
|
413
|
+
|
|
414
|
+
mutation_sites_updateSecondaryAzureVSocket_parser = mutation_sites_subparsers.add_parser('updateSecondaryAzureVSocket',
|
|
415
|
+
help='updateSecondaryAzureVSocket() sites operation',
|
|
416
|
+
usage=get_help("mutation_sites_updateSecondaryAzureVSocket"))
|
|
417
|
+
|
|
418
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
419
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
420
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
421
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
422
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
423
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
424
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
425
|
+
mutation_sites_updateSecondaryAzureVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.sites.updateSecondaryAzureVSocket')
|
|
426
|
+
|
|
427
|
+
mutation_sites_updateSiteBwLicense_parser = mutation_sites_subparsers.add_parser('updateSiteBwLicense',
|
|
428
|
+
help='updateSiteBwLicense() sites operation',
|
|
429
|
+
usage=get_help("mutation_sites_updateSiteBwLicense"))
|
|
430
|
+
|
|
431
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
|
|
432
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
433
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
|
|
434
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
|
|
435
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
|
|
436
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
|
|
437
|
+
mutation_sites_updateSiteBwLicense_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
|
|
438
|
+
mutation_sites_updateSiteBwLicense_parser.set_defaults(func=createRequest,operation_name='mutation.sites.updateSiteBwLicense')
|
|
439
|
+
|
|
336
440
|
mutation_sites_updateSiteGeneralDetails_parser = mutation_sites_subparsers.add_parser('updateSiteGeneralDetails',
|
|
337
441
|
help='updateSiteGeneralDetails() sites operation',
|
|
338
442
|
usage=get_help("mutation_sites_updateSiteGeneralDetails"))
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.assignSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-assignSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.assignSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites assignSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites assignSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites assignSiteBwLicense "$(cat < assignSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites assignSiteBwLicense '{"assignSiteBwLicenseInput": {"bw": {"bw": "Int"}, "licenseId": {"licenseId": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.assignSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`assignSiteBwLicenseInput` [AssignSiteBwLicenseInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.removeSecondaryAwsVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSecondaryAwsVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.removeSecondaryAwsVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites removeSecondaryAwsVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites removeSecondaryAwsVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites removeSecondaryAwsVSocket "$(cat < removeSecondaryAwsVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites removeSecondaryAwsVSocket '{"socketId": "ID"}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.removeSecondaryAwsVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`socketId` [ID] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.removeSecondaryAzureVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSecondaryAzureVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.removeSecondaryAzureVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites removeSecondaryAzureVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites removeSecondaryAzureVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites removeSecondaryAzureVSocket "$(cat < removeSecondaryAzureVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites removeSecondaryAzureVSocket '{"socketId": "ID"}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.removeSecondaryAzureVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`socketId` [ID] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.removeSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.removeSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites removeSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites removeSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites removeSiteBwLicense "$(cat < removeSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites removeSiteBwLicense '{"removeSiteBwLicenseInput": {"licenseId": {"licenseId": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.removeSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`removeSiteBwLicenseInput` [RemoveSiteBwLicenseInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.replaceSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-replaceSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.replaceSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites replaceSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites replaceSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites replaceSiteBwLicense "$(cat < replaceSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites replaceSiteBwLicense '{"replaceSiteBwLicenseInput": {"bw": {"bw": "Int"}, "licenseIdToAdd": {"licenseIdToAdd": "ID"}, "licenseIdToRemove": {"licenseIdToRemove": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.replaceSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`replaceSiteBwLicenseInput` [ReplaceSiteBwLicenseInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.updateSecondaryAwsVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSecondaryAwsVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.updateSecondaryAwsVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites updateSecondaryAwsVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites updateSecondaryAwsVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites updateSecondaryAwsVSocket "$(cat < updateSecondaryAwsVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites updateSecondaryAwsVSocket '{"updateSecondaryAwsVSocketInput": {"id": {"id": "ID"}, "ipAddress": {"ipAddress": "IPAddress"}, "routeTableId": {"routeTableId": "String"}, "subnet": {"subnet": "NetworkSubnet"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.updateSecondaryAwsVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateSecondaryAwsVSocketInput` [UpdateSecondaryAwsVSocketInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.updateSecondaryAzureVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSecondaryAzureVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.updateSecondaryAzureVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites updateSecondaryAzureVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites updateSecondaryAzureVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites updateSecondaryAzureVSocket "$(cat < updateSecondaryAzureVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites updateSecondaryAzureVSocket '{"updateSecondaryAzureVSocketInput": {"floatingIp": {"floatingIp": "IPAddress"}, "id": {"id": "ID"}, "interfaceIp": {"interfaceIp": "IPAddress"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.updateSecondaryAzureVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateSecondaryAzureVSocketInput` [UpdateSecondaryAzureVSocketInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sites.updateSiteBwLicense:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSiteBwLicense) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sites.updateSiteBwLicense:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sites updateSiteBwLicense -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sites updateSiteBwLicense <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sites updateSiteBwLicense "$(cat < updateSiteBwLicense.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sites updateSiteBwLicense '{"updateSiteBwLicenseInput": {"bw": {"bw": "Int"}, "licenseId": {"licenseId": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sites.updateSiteBwLicense ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateSiteBwLicenseInput` [UpdateSiteBwLicenseInput] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation sites updateSiteGeneralDetails "$(cat < updateSiteGeneralDetails.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation sites updateSiteGeneralDetails '{"siteId": "ID", "updateSiteGeneralDetailsInput": {"description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}, "updateSiteLocationInput": {"address": {"address": "String"}, "cityName": {"cityName": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}}}'`
|
|
13
|
+
`catocli mutation sites updateSiteGeneralDetails '{"siteId": "ID", "updateSiteGeneralDetailsInput": {"description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}, "updateSiteLocationInput": {"address": {"address": "String"}, "cityName": {"cityName": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "updateSitePreferredPopLocationInput": {"preferredOnly": {"preferredOnly": "Boolean"}, "primary": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "secondary": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.sites.updateSiteGeneralDetails ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -236,16 +236,17 @@ def validateArgs(variablesObj,operation):
|
|
|
236
236
|
|
|
237
237
|
def loadJSON(file):
|
|
238
238
|
CONFIG = {}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
module_dir =
|
|
239
|
+
module_dir = os.path.dirname(__file__)
|
|
240
|
+
# Navigate up two directory levels (from parsers/ to catocli/ to root)
|
|
241
|
+
module_dir = os.path.dirname(module_dir) # Go up from parsers/
|
|
242
|
+
module_dir = os.path.dirname(module_dir) # Go up from catocli/
|
|
243
243
|
try:
|
|
244
|
-
|
|
244
|
+
file_path = os.path.join(module_dir, file)
|
|
245
|
+
with open(file_path, 'r') as data:
|
|
245
246
|
CONFIG = json.load(data)
|
|
246
247
|
return CONFIG
|
|
247
248
|
except:
|
|
248
|
-
logging.warning("File \"
|
|
249
|
+
logging.warning(f"File \"{os.path.join(module_dir, file)}\" not found.")
|
|
249
250
|
exit()
|
|
250
251
|
|
|
251
252
|
def renderCamelCase(pathStr):
|
|
@@ -262,10 +263,15 @@ def renderArgsAndFields(responseArgStr, variablesObj, curOperation, definition,
|
|
|
262
263
|
for fieldName in definition['fields']:
|
|
263
264
|
field = definition['fields'][fieldName]
|
|
264
265
|
field_name = field['alias'] if 'alias' in field else field['name']
|
|
265
|
-
|
|
266
|
+
|
|
267
|
+
# Check if field has arguments and whether they are present in variables
|
|
268
|
+
should_include_field = True
|
|
269
|
+
argsPresent = False
|
|
270
|
+
argStr = ""
|
|
271
|
+
|
|
266
272
|
if field.get("args") and not isinstance(field['args'], list):
|
|
267
273
|
if (len(list(field['args'].keys()))>0):
|
|
268
|
-
|
|
274
|
+
# Field has arguments - only include if arguments are present in variables
|
|
269
275
|
argStr = " ( "
|
|
270
276
|
for argName in field['args']:
|
|
271
277
|
arg = field['args'][argName]
|
|
@@ -273,13 +279,21 @@ def renderArgsAndFields(responseArgStr, variablesObj, curOperation, definition,
|
|
|
273
279
|
argStr += arg['responseStr'] + " "
|
|
274
280
|
argsPresent = True
|
|
275
281
|
argStr += ") "
|
|
276
|
-
if
|
|
277
|
-
|
|
278
|
-
|
|
282
|
+
# Only include fields with arguments if the arguments are present
|
|
283
|
+
should_include_field = argsPresent
|
|
284
|
+
|
|
285
|
+
# Only process field if we should include it
|
|
286
|
+
if should_include_field:
|
|
287
|
+
responseArgStr += indent + field_name
|
|
288
|
+
if argsPresent:
|
|
289
|
+
responseArgStr += argStr
|
|
290
|
+
|
|
291
|
+
if should_include_field and field.get("type") and field['type'].get('definition') and field['type']['definition']['fields'] is not None:
|
|
279
292
|
responseArgStr += " {\n"
|
|
280
293
|
for subfieldIndex in field['type']['definition']['fields']:
|
|
281
294
|
subfield = field['type']['definition']['fields'][subfieldIndex]
|
|
282
|
-
|
|
295
|
+
# Use the alias if it exists, otherwise use the field name
|
|
296
|
+
subfield_name = subfield['alias'] if 'alias' in subfield else subfield['name']
|
|
283
297
|
responseArgStr += indent + " " + subfield_name
|
|
284
298
|
if subfield.get("args") and len(list(subfield["args"].keys()))>0:
|
|
285
299
|
argsPresent = False
|
|
@@ -322,11 +336,18 @@ def renderArgsAndFields(responseArgStr, variablesObj, curOperation, definition,
|
|
|
322
336
|
responseArgStr = renderArgsAndFields(responseArgStr, variablesObj, curOperation, possibleType, indent + " ")
|
|
323
337
|
responseArgStr += indent + " }\n"
|
|
324
338
|
responseArgStr += indent + "}\n"
|
|
325
|
-
if field.get('type') and field['type'].get('definition') and field['type']['definition'].get('inputFields'):
|
|
339
|
+
if should_include_field and field.get('type') and field['type'].get('definition') and field['type']['definition'].get('inputFields'):
|
|
326
340
|
responseArgStr += " {\n"
|
|
327
341
|
for subfieldName in field['type']['definition'].get('inputFields'):
|
|
328
342
|
subfield = field['type']['definition']['inputFields'][subfieldName]
|
|
329
|
-
|
|
343
|
+
# Updated aliasing logic for inputFields
|
|
344
|
+
if (subfield.get('type') and subfield['type'].get('name') and
|
|
345
|
+
curOperation.get('fieldTypes', {}).get(subfield['type']['name']) and
|
|
346
|
+
subfield.get('type', {}).get('kind') and
|
|
347
|
+
'SCALAR' not in str(subfield['type']['kind'])):
|
|
348
|
+
subfield_name = f"{subfield['name']}{field['type']['definition']['name']}: {subfield['name']}"
|
|
349
|
+
else:
|
|
350
|
+
subfield_name = subfield['name'] # Always use the raw field name, not incorrect aliases
|
|
330
351
|
responseArgStr += indent + " " + subfield_name
|
|
331
352
|
if subfield.get('type') and subfield['type'].get('definition') and (subfield['type']['definition'].get('fields') or subfield['type']['definition'].get('inputFields')):
|
|
332
353
|
responseArgStr += " {\n"
|
|
@@ -340,8 +361,9 @@ def renderArgsAndFields(responseArgStr, variablesObj, curOperation, definition,
|
|
|
340
361
|
responseArgStr = renderArgsAndFields(responseArgStr, variablesObj, curOperation, possibleType, indent + " ")
|
|
341
362
|
responseArgStr += indent + " }\n"
|
|
342
363
|
responseArgStr += indent + "}\n"
|
|
343
|
-
|
|
344
|
-
|
|
364
|
+
if should_include_field:
|
|
365
|
+
responseArgStr += "\n"
|
|
366
|
+
return responseArgStr
|
|
345
367
|
|
|
346
368
|
def createRawBinaryRequest(args, configuration):
|
|
347
369
|
"""Handle multipart/form-data requests for file uploads and binary content"""
|
|
@@ -442,12 +464,13 @@ def sendMultipartRequest(configuration, form_fields, files, params):
|
|
|
442
464
|
'User-Agent': f"Cato-CLI-v{getattr(configuration, 'version', 'unknown')}"
|
|
443
465
|
}
|
|
444
466
|
|
|
445
|
-
# Add API key if not using headers file
|
|
446
|
-
|
|
467
|
+
# Add API key if not using headers file or custom headers
|
|
468
|
+
using_custom_headers = hasattr(configuration, 'custom_headers') and configuration.custom_headers
|
|
469
|
+
if not using_custom_headers and hasattr(configuration, 'api_key') and hasattr(configuration, 'api_key') and configuration.api_key and 'x-api-key' in configuration.api_key:
|
|
447
470
|
headers['x-api-key'] = configuration.api_key['x-api-key']
|
|
448
471
|
|
|
449
472
|
# Add custom headers
|
|
450
|
-
if
|
|
473
|
+
if using_custom_headers:
|
|
451
474
|
headers.update(configuration.custom_headers)
|
|
452
475
|
|
|
453
476
|
# Verbose output
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
#### Operation Arguments for query.eventsFeed ####
|
|
16
16
|
`accountIDs` [ID[]] - (optional) List of Unique Account Identifiers.
|
|
17
17
|
`eventFeedFieldFilterInput` [EventFeedFieldFilterInput[]] - (optional) N/A
|
|
18
|
-
`fieldNames` [EventFieldName[]] - (optional) N/A Default Value: ['access_method', 'account_id', 'action', 'actions_taken', 'ad_name', 'alert_id', 'always_on_configuration', 'analyst_verdict', 'api_name', 'api_type', 'app_activity', 'app_activity_category', 'app_activity_type', 'app_stack', '
|
|
18
|
+
`fieldNames` [EventFieldName[]] - (optional) N/A Default Value: ['access_method', 'account_id', 'action', 'actions_taken', 'ad_name', 'alert_id', 'always_on_configuration', 'analyst_verdict', 'api_name', 'api_type', 'app_activity', 'app_activity_category', 'app_activity_type', 'app_stack', 'application_id', 'application_name', 'application_risk', 'auth_method', 'authentication_type', 'bgp_cato_asn', 'bgp_cato_ip', 'bgp_error_code', 'bgp_peer_asn', 'bgp_peer_ip', 'bgp_route_cidr', 'bgp_suberror_code', 'bypass_duration_sec', 'bypass_method', 'bypass_reason', 'categories', 'cato_app', 'classification', 'client_cert_expires', 'client_cert_name', 'client_class', 'client_version', 'collaborator_name', 'collaborators', 'confidence_level', 'configured_host_name', 'congestion_algorithm', 'connect_on_boot', 'connection_origin', 'connector_name', 'connector_status', 'connector_type', 'container_name', 'correlation_id', 'criticality', 'custom_category_id', 'custom_category_name', 'dest_country', 'dest_country_code', 'dest_group_id', 'dest_group_name', 'dest_ip', 'dest_is_site_or_vpn', 'dest_pid', 'dest_port', 'dest_process_cmdline', 'dest_process_parent_path', 'dest_process_parent_pid', 'dest_process_path', 'dest_site_id', 'dest_site_name', 'detection_name', 'detection_stage', 'device_categories', 'device_certificate', 'device_id', 'device_manufacturer', 'device_model', 'device_name', 'device_os_type', 'device_posture_profile', 'device_type', 'directory_host_name', 'directory_ip', 'directory_sync_result', 'directory_sync_type', 'disinfect_result', 'dlp_fail_mode', 'dlp_profiles', 'dlp_scan_types', 'dns_protection_category', 'dns_query', 'domain_name', 'egress_pop_name', 'egress_site_name', 'email_subject', 'endpoint_id', 'engine_type', 'epp_engine_type', 'epp_profile', 'event_count', 'event_id', 'event_message', 'event_sub_type', 'event_type', 'failure_reason', 'file_hash', 'file_name', 'file_operation', 'file_size', 'file_type', 'final_object_status', 'flows_cardinality', 'full_path_url', 'guest_user', 'host_ip', 'host_mac', 'http_request_method', 'incident_aggregation', 'incident_id', 'indication', 'indicator', 'initial_object_status', 'internalId', 'ip_protocol', 'is_admin', 'is_admin_activity', 'is_compliant', 'is_managed', 'is_sanctioned_app', 'is_sinkhole', 'ISP_name', 'key_name', 'labels', 'link_health_is_congested', 'link_health_jitter', 'link_health_latency', 'link_health_pkt_loss', 'link_type', 'logged_in_user', 'login_type', 'matched_data_types', 'mitre_attack_subtechniques', 'mitre_attack_tactics', 'mitre_attack_techniques', 'network_access', 'network_rule', 'notification_api_error', 'notification_description', 'object_id', 'object_name', 'object_type', 'office_mode', 'os_type', 'os_version', 'out_of_band_access', 'owner', 'pac_file', 'parent_connector_name', 'pop_name', 'precedence', 'processes_count', 'producer', 'projects', 'prompt_action', 'provider_name', 'public_ip', 'qos_priority', 'qos_reported_time', 'quarantine_folder_path', 'quarantine_uuid', 'raw_data', 'recommended_actions', 'reference_url', 'referer_url', 'region_name', 'registration_code', 'resource_id', 'risk_level', 'rule_id', 'rule_name', 'severity', 'sharing_scope', 'sign_in_event_types', 'signature_id', 'socket_interface', 'socket_interface_id', 'socket_new_version', 'socket_old_version', 'socket_reset', 'socket_role', 'socket_serial', 'socket_version', 'split_tunnel_configuration', 'src_country', 'src_country_code', 'src_ip', 'src_is_site_or_vpn', 'src_isp_ip', 'src_pid', 'src_port', 'src_process_cmdline', 'src_process_parent_path', 'src_process_parent_pid', 'src_process_path', 'src_site_id', 'src_site_name', 'static_host', 'status', 'story_id', 'subnet_name', 'subscription_name', 'targets_cardinality', 'tcp_acceleration', 'tenant_id', 'tenant_name', 'tenant_restriction_rule_name', 'threat_confidence', 'threat_name', 'threat_reference', 'threat_score', 'threat_type', 'threat_verdict', 'time', 'time_str', 'title', 'tls_certificate_error', 'tls_error_description', 'tls_error_type', 'tls_inspection', 'tls_rule_name', 'tls_version', 'traffic_direction', 'translated_client_ip', 'translated_server_ip', 'trigger', 'trust_type', 'trusted_networks', 'tunnel_ip_protocol', 'tunnel_protocol', 'upgrade_end_time', 'upgrade_initiated_by', 'upgrade_start_time', 'url', 'user_agent', 'user_awareness_method', 'user_id', 'user_name', 'user_reference_id', 'user_risk_level', 'vendor', 'vendor_collaborator_id', 'vendor_device_id', 'vendor_device_name', 'vendor_event_id', 'vendor_user_id', 'visible_device_id', 'vpn_lan_access', 'vpn_user_email', 'windows_domain_name', 'xff']
|
|
19
19
|
`marker` [String] - (optional) Marker to use to get results from
|