catocli 2.1.0__py3-none-any.whl → 2.1.2__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.

Files changed (567) hide show
  1. catocli/Utils/clidriver.py +217 -194
  2. catocli/Utils/version_checker.py +1 -1
  3. catocli/__init__.py +1 -1
  4. catocli/parsers/custom/customLib.py +1 -1
  5. catocli/parsers/custom/export_sites/export_sites.py +118 -130
  6. catocli/parsers/custom/import_rules_to_tf/import_rules_to_tf.py +13 -2
  7. catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +8 -1
  8. catocli/parsers/customParserApiClient.py +1195 -0
  9. catocli/parsers/custom_private/__init__.py +134 -0
  10. catocli/parsers/mutation_accountManagement/__init__.py +45 -58
  11. catocli/parsers/mutation_accountManagement_addAccount/README.md +7 -5
  12. catocli/parsers/mutation_accountManagement_removeAccount/README.md +4 -5
  13. catocli/parsers/mutation_accountManagement_updateAccount/README.md +7 -5
  14. catocli/parsers/mutation_admin/__init__.py +84 -45
  15. catocli/parsers/mutation_admin_addAdmin/README.md +7 -5
  16. catocli/parsers/mutation_admin_addServicePrincipalAdmin/README.md +19 -0
  17. catocli/parsers/mutation_admin_removeAdmin/README.md +7 -5
  18. catocli/parsers/mutation_admin_removeServicePrincipalAdmin/README.md +19 -0
  19. catocli/parsers/mutation_admin_updateAdmin/README.md +8 -6
  20. catocli/parsers/mutation_admin_updateServicePrincipalAdmin/README.md +20 -0
  21. catocli/parsers/mutation_container/__init__.py +135 -135
  22. catocli/parsers/mutation_container_delete/README.md +7 -5
  23. catocli/parsers/mutation_container_fqdn_addValues/README.md +7 -5
  24. catocli/parsers/mutation_container_fqdn_createFromFile/README.md +7 -5
  25. catocli/parsers/mutation_container_fqdn_removeValues/README.md +7 -5
  26. catocli/parsers/mutation_container_fqdn_updateFromFile/README.md +7 -5
  27. catocli/parsers/mutation_container_ipAddressRange_addValues/README.md +7 -5
  28. catocli/parsers/mutation_container_ipAddressRange_createFromFile/README.md +7 -5
  29. catocli/parsers/mutation_container_ipAddressRange_removeValues/README.md +7 -5
  30. catocli/parsers/mutation_container_ipAddressRange_updateFromFile/README.md +7 -5
  31. catocli/parsers/mutation_enterpriseDirectory/README.md +7 -0
  32. catocli/parsers/mutation_enterpriseDirectory/__init__.py +61 -0
  33. catocli/parsers/mutation_enterpriseDirectory_archiveLocation/README.md +19 -0
  34. catocli/parsers/mutation_enterpriseDirectory_createLocation/README.md +19 -0
  35. catocli/parsers/mutation_enterpriseDirectory_restoreLocation/README.md +19 -0
  36. catocli/parsers/mutation_enterpriseDirectory_updateLocation/README.md +19 -0
  37. catocli/parsers/mutation_groups/__init__.py +45 -45
  38. catocli/parsers/mutation_groups_createGroup/README.md +8 -6
  39. catocli/parsers/mutation_groups_deleteGroup/README.md +8 -6
  40. catocli/parsers/mutation_groups_updateGroup/README.md +8 -6
  41. catocli/parsers/mutation_hardware/__init__.py +16 -16
  42. catocli/parsers/mutation_hardware_updateHardwareShipping/README.md +7 -5
  43. catocli/parsers/mutation_policy/__init__.py +1302 -1302
  44. catocli/parsers/mutation_policy_appTenantRestriction_addRule/README.md +8 -6
  45. catocli/parsers/mutation_policy_appTenantRestriction_addSection/README.md +8 -6
  46. catocli/parsers/mutation_policy_appTenantRestriction_createPolicyRevision/README.md +8 -6
  47. catocli/parsers/mutation_policy_appTenantRestriction_discardPolicyRevision/README.md +8 -6
  48. catocli/parsers/mutation_policy_appTenantRestriction_moveRule/README.md +8 -6
  49. catocli/parsers/mutation_policy_appTenantRestriction_moveSection/README.md +8 -6
  50. catocli/parsers/mutation_policy_appTenantRestriction_publishPolicyRevision/README.md +8 -6
  51. catocli/parsers/mutation_policy_appTenantRestriction_removeRule/README.md +8 -6
  52. catocli/parsers/mutation_policy_appTenantRestriction_removeSection/README.md +8 -6
  53. catocli/parsers/mutation_policy_appTenantRestriction_updatePolicy/README.md +8 -6
  54. catocli/parsers/mutation_policy_appTenantRestriction_updateRule/README.md +8 -6
  55. catocli/parsers/mutation_policy_appTenantRestriction_updateSection/README.md +8 -6
  56. catocli/parsers/mutation_policy_dynamicIpAllocation_addRule/README.md +8 -6
  57. catocli/parsers/mutation_policy_dynamicIpAllocation_addSection/README.md +8 -6
  58. catocli/parsers/mutation_policy_dynamicIpAllocation_createPolicyRevision/README.md +8 -6
  59. catocli/parsers/mutation_policy_dynamicIpAllocation_discardPolicyRevision/README.md +8 -6
  60. catocli/parsers/mutation_policy_dynamicIpAllocation_moveRule/README.md +8 -6
  61. catocli/parsers/mutation_policy_dynamicIpAllocation_moveSection/README.md +8 -6
  62. catocli/parsers/mutation_policy_dynamicIpAllocation_publishPolicyRevision/README.md +8 -6
  63. catocli/parsers/mutation_policy_dynamicIpAllocation_removeRule/README.md +8 -6
  64. catocli/parsers/mutation_policy_dynamicIpAllocation_removeSection/README.md +8 -6
  65. catocli/parsers/mutation_policy_dynamicIpAllocation_updatePolicy/README.md +8 -6
  66. catocli/parsers/mutation_policy_dynamicIpAllocation_updateRule/README.md +8 -6
  67. catocli/parsers/mutation_policy_dynamicIpAllocation_updateSection/README.md +8 -6
  68. catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +8 -6
  69. catocli/parsers/mutation_policy_internetFirewall_addSection/README.md +8 -6
  70. catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md +8 -6
  71. catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md +8 -6
  72. catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md +8 -6
  73. catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md +8 -6
  74. catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md +8 -6
  75. catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md +8 -6
  76. catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md +8 -6
  77. catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md +8 -6
  78. catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +8 -6
  79. catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md +8 -6
  80. catocli/parsers/mutation_policy_remotePortFwd_addRule/README.md +8 -6
  81. catocli/parsers/mutation_policy_remotePortFwd_addSection/README.md +8 -6
  82. catocli/parsers/mutation_policy_remotePortFwd_createPolicyRevision/README.md +8 -6
  83. catocli/parsers/mutation_policy_remotePortFwd_discardPolicyRevision/README.md +8 -6
  84. catocli/parsers/mutation_policy_remotePortFwd_moveRule/README.md +8 -6
  85. catocli/parsers/mutation_policy_remotePortFwd_moveSection/README.md +8 -6
  86. catocli/parsers/mutation_policy_remotePortFwd_publishPolicyRevision/README.md +8 -6
  87. catocli/parsers/mutation_policy_remotePortFwd_removeRule/README.md +8 -6
  88. catocli/parsers/mutation_policy_remotePortFwd_removeSection/README.md +8 -6
  89. catocli/parsers/mutation_policy_remotePortFwd_updatePolicy/README.md +8 -6
  90. catocli/parsers/mutation_policy_remotePortFwd_updateRule/README.md +8 -6
  91. catocli/parsers/mutation_policy_remotePortFwd_updateSection/README.md +8 -6
  92. catocli/parsers/mutation_policy_socketLan_addRule/README.md +8 -6
  93. catocli/parsers/mutation_policy_socketLan_addSection/README.md +8 -6
  94. catocli/parsers/mutation_policy_socketLan_createPolicyRevision/README.md +8 -6
  95. catocli/parsers/mutation_policy_socketLan_discardPolicyRevision/README.md +8 -6
  96. catocli/parsers/mutation_policy_socketLan_moveRule/README.md +8 -6
  97. catocli/parsers/mutation_policy_socketLan_moveSection/README.md +8 -6
  98. catocli/parsers/mutation_policy_socketLan_publishPolicyRevision/README.md +8 -6
  99. catocli/parsers/mutation_policy_socketLan_removeRule/README.md +8 -6
  100. catocli/parsers/mutation_policy_socketLan_removeSection/README.md +8 -6
  101. catocli/parsers/mutation_policy_socketLan_updatePolicy/README.md +8 -6
  102. catocli/parsers/mutation_policy_socketLan_updateRule/README.md +8 -6
  103. catocli/parsers/mutation_policy_socketLan_updateSection/README.md +8 -6
  104. catocli/parsers/mutation_policy_terminalServer_addRule/README.md +8 -6
  105. catocli/parsers/mutation_policy_terminalServer_addSection/README.md +8 -6
  106. catocli/parsers/mutation_policy_terminalServer_createPolicyRevision/README.md +8 -6
  107. catocli/parsers/mutation_policy_terminalServer_discardPolicyRevision/README.md +8 -6
  108. catocli/parsers/mutation_policy_terminalServer_moveRule/README.md +8 -6
  109. catocli/parsers/mutation_policy_terminalServer_moveSection/README.md +8 -6
  110. catocli/parsers/mutation_policy_terminalServer_publishPolicyRevision/README.md +8 -6
  111. catocli/parsers/mutation_policy_terminalServer_removeRule/README.md +8 -6
  112. catocli/parsers/mutation_policy_terminalServer_removeSection/README.md +8 -6
  113. catocli/parsers/mutation_policy_terminalServer_updatePolicy/README.md +8 -6
  114. catocli/parsers/mutation_policy_terminalServer_updateRule/README.md +8 -6
  115. catocli/parsers/mutation_policy_terminalServer_updateSection/README.md +8 -6
  116. catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +8 -6
  117. catocli/parsers/mutation_policy_wanFirewall_addSection/README.md +8 -6
  118. catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md +8 -6
  119. catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md +8 -6
  120. catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md +8 -6
  121. catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md +8 -6
  122. catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md +8 -6
  123. catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md +8 -6
  124. catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md +8 -6
  125. catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md +8 -6
  126. catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +8 -6
  127. catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md +8 -6
  128. catocli/parsers/mutation_policy_wanNetwork_addRule/README.md +8 -6
  129. catocli/parsers/mutation_policy_wanNetwork_addSection/README.md +8 -6
  130. catocli/parsers/mutation_policy_wanNetwork_createPolicyRevision/README.md +8 -6
  131. catocli/parsers/mutation_policy_wanNetwork_discardPolicyRevision/README.md +8 -6
  132. catocli/parsers/mutation_policy_wanNetwork_moveRule/README.md +8 -6
  133. catocli/parsers/mutation_policy_wanNetwork_moveSection/README.md +8 -6
  134. catocli/parsers/mutation_policy_wanNetwork_publishPolicyRevision/README.md +8 -6
  135. catocli/parsers/mutation_policy_wanNetwork_removeRule/README.md +8 -6
  136. catocli/parsers/mutation_policy_wanNetwork_removeSection/README.md +8 -6
  137. catocli/parsers/mutation_policy_wanNetwork_updatePolicy/README.md +8 -6
  138. catocli/parsers/mutation_policy_wanNetwork_updateRule/README.md +8 -6
  139. catocli/parsers/mutation_policy_wanNetwork_updateSection/README.md +8 -6
  140. catocli/parsers/mutation_sandbox/__init__.py +27 -27
  141. catocli/parsers/mutation_sandbox_deleteReport/README.md +7 -5
  142. catocli/parsers/mutation_sandbox_uploadFile/README.md +7 -5
  143. catocli/parsers/mutation_site/__init__.py +474 -474
  144. catocli/parsers/mutation_site_addBgpPeer/README.md +7 -5
  145. catocli/parsers/mutation_site_addCloudInterconnectPhysicalConnection/README.md +7 -5
  146. catocli/parsers/mutation_site_addCloudInterconnectSite/README.md +7 -5
  147. catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +7 -5
  148. catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +8 -6
  149. catocli/parsers/mutation_site_addNetworkRange/README.md +8 -6
  150. catocli/parsers/mutation_site_addSecondaryAwsVSocket/README.md +7 -5
  151. catocli/parsers/mutation_site_addSecondaryAzureVSocket/README.md +7 -5
  152. catocli/parsers/mutation_site_addSocketAddOnCard/README.md +7 -5
  153. catocli/parsers/mutation_site_addSocketSite/README.md +7 -5
  154. catocli/parsers/mutation_site_addStaticHost/README.md +8 -6
  155. catocli/parsers/mutation_site_assignSiteBwLicense/README.md +7 -5
  156. catocli/parsers/mutation_site_removeBgpPeer/README.md +7 -5
  157. catocli/parsers/mutation_site_removeCloudInterconnectPhysicalConnection/README.md +7 -5
  158. catocli/parsers/mutation_site_removeIpsecIkeV2SiteTunnels/README.md +8 -6
  159. catocli/parsers/mutation_site_removeNetworkRange/README.md +7 -5
  160. catocli/parsers/mutation_site_removeSecondaryAwsVSocket/README.md +7 -5
  161. catocli/parsers/mutation_site_removeSecondaryAzureVSocket/README.md +7 -5
  162. catocli/parsers/mutation_site_removeSite/README.md +7 -5
  163. catocli/parsers/mutation_site_removeSiteBwLicense/README.md +7 -5
  164. catocli/parsers/mutation_site_removeSocketAddOnCard/README.md +7 -5
  165. catocli/parsers/mutation_site_removeStaticHost/README.md +7 -5
  166. catocli/parsers/mutation_site_replaceSiteBwLicense/README.md +7 -5
  167. catocli/parsers/mutation_site_startSiteUpgrade/README.md +7 -5
  168. catocli/parsers/mutation_site_updateBgpPeer/README.md +7 -5
  169. catocli/parsers/mutation_site_updateCloudInterconnectPhysicalConnection/README.md +7 -5
  170. catocli/parsers/mutation_site_updateHa/README.md +8 -6
  171. catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md +8 -6
  172. catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +8 -6
  173. catocli/parsers/mutation_site_updateNetworkRange/README.md +8 -6
  174. catocli/parsers/mutation_site_updateSecondaryAwsVSocket/README.md +7 -5
  175. catocli/parsers/mutation_site_updateSecondaryAzureVSocket/README.md +7 -5
  176. catocli/parsers/mutation_site_updateSiteBwLicense/README.md +7 -5
  177. catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +8 -6
  178. catocli/parsers/mutation_site_updateSocketInterface/README.md +9 -7
  179. catocli/parsers/mutation_site_updateStaticHost/README.md +8 -6
  180. catocli/parsers/mutation_sites/__init__.py +474 -474
  181. catocli/parsers/mutation_sites_addBgpPeer/README.md +7 -5
  182. catocli/parsers/mutation_sites_addCloudInterconnectPhysicalConnection/README.md +7 -5
  183. catocli/parsers/mutation_sites_addCloudInterconnectSite/README.md +7 -5
  184. catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +7 -5
  185. catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +8 -6
  186. catocli/parsers/mutation_sites_addNetworkRange/README.md +8 -6
  187. catocli/parsers/mutation_sites_addSecondaryAwsVSocket/README.md +7 -5
  188. catocli/parsers/mutation_sites_addSecondaryAzureVSocket/README.md +7 -5
  189. catocli/parsers/mutation_sites_addSocketAddOnCard/README.md +7 -5
  190. catocli/parsers/mutation_sites_addSocketSite/README.md +7 -5
  191. catocli/parsers/mutation_sites_addStaticHost/README.md +8 -6
  192. catocli/parsers/mutation_sites_assignSiteBwLicense/README.md +7 -5
  193. catocli/parsers/mutation_sites_removeBgpPeer/README.md +7 -5
  194. catocli/parsers/mutation_sites_removeCloudInterconnectPhysicalConnection/README.md +7 -5
  195. catocli/parsers/mutation_sites_removeIpsecIkeV2SiteTunnels/README.md +8 -6
  196. catocli/parsers/mutation_sites_removeNetworkRange/README.md +7 -5
  197. catocli/parsers/mutation_sites_removeSecondaryAwsVSocket/README.md +7 -5
  198. catocli/parsers/mutation_sites_removeSecondaryAzureVSocket/README.md +7 -5
  199. catocli/parsers/mutation_sites_removeSite/README.md +7 -5
  200. catocli/parsers/mutation_sites_removeSiteBwLicense/README.md +7 -5
  201. catocli/parsers/mutation_sites_removeSocketAddOnCard/README.md +7 -5
  202. catocli/parsers/mutation_sites_removeStaticHost/README.md +7 -5
  203. catocli/parsers/mutation_sites_replaceSiteBwLicense/README.md +7 -5
  204. catocli/parsers/mutation_sites_startSiteUpgrade/README.md +7 -5
  205. catocli/parsers/mutation_sites_updateBgpPeer/README.md +7 -5
  206. catocli/parsers/mutation_sites_updateCloudInterconnectPhysicalConnection/README.md +7 -5
  207. catocli/parsers/mutation_sites_updateHa/README.md +8 -6
  208. catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md +8 -6
  209. catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +8 -6
  210. catocli/parsers/mutation_sites_updateNetworkRange/README.md +8 -6
  211. catocli/parsers/mutation_sites_updateSecondaryAwsVSocket/README.md +7 -5
  212. catocli/parsers/mutation_sites_updateSecondaryAzureVSocket/README.md +7 -5
  213. catocli/parsers/mutation_sites_updateSiteBwLicense/README.md +7 -5
  214. catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +8 -6
  215. catocli/parsers/mutation_sites_updateSocketInterface/README.md +9 -7
  216. catocli/parsers/mutation_sites_updateStaticHost/README.md +8 -6
  217. catocli/parsers/mutation_xdr/__init__.py +45 -45
  218. catocli/parsers/mutation_xdr_addStoryComment/README.md +7 -5
  219. catocli/parsers/mutation_xdr_analystFeedback/README.md +7 -6
  220. catocli/parsers/mutation_xdr_deleteStoryComment/README.md +7 -5
  221. catocli/parsers/query_accountBySubdomain/README.md +7 -5
  222. catocli/parsers/query_accountBySubdomain/__init__.py +12 -12
  223. catocli/parsers/query_accountManagement/README.md +4 -5
  224. catocli/parsers/query_accountManagement/__init__.py +12 -12
  225. catocli/parsers/query_accountMetrics/README.md +20 -18
  226. catocli/parsers/query_accountMetrics/__init__.py +12 -12
  227. catocli/parsers/query_accountRoles/README.md +7 -5
  228. catocli/parsers/query_accountRoles/__init__.py +12 -12
  229. catocli/parsers/query_accountSnapshot/README.md +8 -6
  230. catocli/parsers/query_accountSnapshot/__init__.py +12 -12
  231. catocli/parsers/query_admin/README.md +7 -5
  232. catocli/parsers/query_admin/__init__.py +12 -12
  233. catocli/parsers/query_admins/README.md +11 -9
  234. catocli/parsers/query_admins/__init__.py +12 -12
  235. catocli/parsers/query_appStats/README.md +20 -11
  236. catocli/parsers/query_appStats/__init__.py +12 -12
  237. catocli/parsers/query_appStatsTimeSeries/README.md +21 -12
  238. catocli/parsers/query_appStatsTimeSeries/__init__.py +12 -12
  239. catocli/parsers/query_auditFeed/README.md +10 -8
  240. catocli/parsers/query_auditFeed/__init__.py +12 -12
  241. catocli/parsers/query_catalogs/README.md +9 -7
  242. catocli/parsers/query_catalogs/__init__.py +12 -12
  243. catocli/parsers/query_container/README.md +13 -11
  244. catocli/parsers/query_container/__init__.py +12 -12
  245. catocli/parsers/query_devices/README.md +10 -8
  246. catocli/parsers/query_devices/__init__.py +12 -12
  247. catocli/parsers/query_enterpriseDirectory/README.md +19 -0
  248. catocli/parsers/query_enterpriseDirectory/__init__.py +16 -0
  249. catocli/parsers/query_entityLookup/README.md +19 -17
  250. catocli/parsers/query_entityLookup/__init__.py +12 -12
  251. catocli/parsers/query_events/README.md +13 -11
  252. catocli/parsers/query_events/__init__.py +12 -12
  253. catocli/parsers/query_eventsFeed/README.md +9 -7
  254. catocli/parsers/query_eventsFeed/__init__.py +12 -12
  255. catocli/parsers/query_eventsTimeSeries/README.md +14 -12
  256. catocli/parsers/query_eventsTimeSeries/__init__.py +12 -12
  257. catocli/parsers/query_groups/__init__.py +51 -51
  258. catocli/parsers/query_groups_groupList/README.md +8 -6
  259. catocli/parsers/query_groups_group_members/README.md +8 -6
  260. catocli/parsers/query_groups_whereUsed/README.md +7 -5
  261. catocli/parsers/query_hardware/README.md +7 -5
  262. catocli/parsers/query_hardware/__init__.py +12 -12
  263. catocli/parsers/query_hardwareManagement/README.md +7 -5
  264. catocli/parsers/query_hardwareManagement/__init__.py +12 -12
  265. catocli/parsers/query_licensing/README.md +4 -5
  266. catocli/parsers/query_licensing/__init__.py +12 -12
  267. catocli/parsers/query_policy/__init__.py +158 -158
  268. catocli/parsers/query_policy_appTenantRestriction_policy/README.md +7 -5
  269. catocli/parsers/query_policy_dynamicIpAllocation_policy/README.md +7 -5
  270. catocli/parsers/query_policy_internetFirewall_policy/README.md +7 -5
  271. catocli/parsers/query_policy_remotePortFwd_policy/README.md +7 -5
  272. catocli/parsers/query_policy_socketLan_policy/README.md +7 -5
  273. catocli/parsers/query_policy_terminalServer_policy/README.md +7 -5
  274. catocli/parsers/query_policy_wanFirewall_policy/README.md +7 -5
  275. catocli/parsers/query_policy_wanNetwork_policy/README.md +7 -5
  276. catocli/parsers/query_popLocations/README.md +7 -5
  277. catocli/parsers/query_popLocations/__init__.py +12 -12
  278. catocli/parsers/query_sandbox/README.md +7 -5
  279. catocli/parsers/query_sandbox/__init__.py +12 -12
  280. catocli/parsers/query_servicePrincipalAdmin/README.md +19 -0
  281. catocli/parsers/query_servicePrincipalAdmin/__init__.py +16 -0
  282. catocli/parsers/query_site/__init__.py +123 -123
  283. catocli/parsers/query_siteLocation/__init__.py +10 -10
  284. catocli/parsers/query_site_availableVersionList/README.md +7 -5
  285. catocli/parsers/query_site_bgpPeer/README.md +7 -5
  286. catocli/parsers/query_site_bgpPeerList/README.md +7 -5
  287. catocli/parsers/query_site_cloudInterconnectConnectionConnectivity/README.md +7 -5
  288. catocli/parsers/query_site_cloudInterconnectPhysicalConnection/README.md +7 -5
  289. catocli/parsers/query_site_cloudInterconnectPhysicalConnectionId/README.md +7 -5
  290. catocli/parsers/query_site_secondaryAwsVSocket/README.md +7 -5
  291. catocli/parsers/query_site_secondaryAzureVSocket/README.md +7 -5
  292. catocli/parsers/query_site_siteBgpStatus/README.md +7 -5
  293. catocli/parsers/query_socketPortMetrics/README.md +13 -11
  294. catocli/parsers/query_socketPortMetrics/__init__.py +12 -12
  295. catocli/parsers/query_socketPortMetricsTimeSeries/README.md +14 -12
  296. catocli/parsers/query_socketPortMetricsTimeSeries/__init__.py +12 -12
  297. catocli/parsers/query_subDomains/README.md +7 -5
  298. catocli/parsers/query_subDomains/__init__.py +12 -12
  299. catocli/parsers/query_xdr/__init__.py +27 -27
  300. catocli/parsers/query_xdr_stories/README.md +7 -6
  301. catocli/parsers/query_xdr_story/README.md +9 -8
  302. catocli/parsers/raw/__init__.py +9 -9
  303. {catocli-2.1.0.dist-info → catocli-2.1.2.dist-info}/METADATA +1 -1
  304. catocli-2.1.2.dist-info/RECORD +659 -0
  305. graphql_client/api/call_api.py +20 -2
  306. models/mutation.accountManagement.addAccount.json +5 -15
  307. models/mutation.accountManagement.updateAccount.json +1 -3
  308. models/mutation.admin.addAdmin.json +14 -35
  309. models/mutation.admin.addServicePrincipalAdmin.json +2554 -0
  310. models/mutation.admin.removeAdmin.json +1 -1
  311. models/mutation.admin.removeServicePrincipalAdmin.json +201 -0
  312. models/mutation.admin.updateAdmin.json +13 -30
  313. models/mutation.admin.updateServicePrincipalAdmin.json +2554 -0
  314. models/mutation.container.delete.json +9 -435
  315. models/mutation.container.fqdn.addValues.json +6 -11
  316. models/mutation.container.fqdn.createFromFile.json +4 -12
  317. models/mutation.container.fqdn.removeValues.json +6 -11
  318. models/mutation.container.fqdn.updateFromFile.json +5 -15
  319. models/mutation.container.ipAddressRange.addValues.json +4 -12
  320. models/mutation.container.ipAddressRange.createFromFile.json +4 -12
  321. models/mutation.container.ipAddressRange.removeValues.json +4 -12
  322. models/mutation.container.ipAddressRange.updateFromFile.json +5 -15
  323. models/mutation.enterpriseDirectory.archiveLocation.json +1046 -0
  324. models/mutation.enterpriseDirectory.createLocation.json +2521 -0
  325. models/mutation.enterpriseDirectory.restoreLocation.json +1046 -0
  326. models/mutation.enterpriseDirectory.updateLocation.json +2567 -0
  327. models/mutation.groups.createGroup.json +39 -171
  328. models/mutation.groups.deleteGroup.json +36 -162
  329. models/mutation.groups.updateGroup.json +41 -177
  330. models/mutation.hardware.updateHardwareShipping.json +18 -47
  331. models/mutation.policy.appTenantRestriction.addRule.json +50 -136
  332. models/mutation.policy.appTenantRestriction.addSection.json +4 -12
  333. models/mutation.policy.appTenantRestriction.createPolicyRevision.json +3 -9
  334. models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +2 -6
  335. models/mutation.policy.appTenantRestriction.moveRule.json +4 -12
  336. models/mutation.policy.appTenantRestriction.moveSection.json +4 -12
  337. models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +3 -9
  338. models/mutation.policy.appTenantRestriction.removeRule.json +2 -6
  339. models/mutation.policy.appTenantRestriction.removeSection.json +2 -6
  340. models/mutation.policy.appTenantRestriction.updatePolicy.json +2 -6
  341. models/mutation.policy.appTenantRestriction.updateRule.json +49 -133
  342. models/mutation.policy.appTenantRestriction.updateSection.json +3 -9
  343. models/mutation.policy.dynamicIpAllocation.addRule.json +15 -45
  344. models/mutation.policy.dynamicIpAllocation.addSection.json +4 -12
  345. models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +3 -9
  346. models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +2 -6
  347. models/mutation.policy.dynamicIpAllocation.moveRule.json +4 -12
  348. models/mutation.policy.dynamicIpAllocation.moveSection.json +4 -12
  349. models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +3 -9
  350. models/mutation.policy.dynamicIpAllocation.removeRule.json +2 -6
  351. models/mutation.policy.dynamicIpAllocation.removeSection.json +2 -6
  352. models/mutation.policy.dynamicIpAllocation.updatePolicy.json +2 -6
  353. models/mutation.policy.dynamicIpAllocation.updateRule.json +14 -42
  354. models/mutation.policy.dynamicIpAllocation.updateSection.json +3 -9
  355. models/mutation.policy.internetFirewall.addRule.json +248 -542
  356. models/mutation.policy.internetFirewall.addSection.json +4 -12
  357. models/mutation.policy.internetFirewall.createPolicyRevision.json +3 -9
  358. models/mutation.policy.internetFirewall.discardPolicyRevision.json +2 -6
  359. models/mutation.policy.internetFirewall.moveRule.json +4 -12
  360. models/mutation.policy.internetFirewall.moveSection.json +4 -12
  361. models/mutation.policy.internetFirewall.publishPolicyRevision.json +3 -9
  362. models/mutation.policy.internetFirewall.removeRule.json +2 -6
  363. models/mutation.policy.internetFirewall.removeSection.json +2 -6
  364. models/mutation.policy.internetFirewall.updatePolicy.json +2 -6
  365. models/mutation.policy.internetFirewall.updateRule.json +247 -539
  366. models/mutation.policy.internetFirewall.updateSection.json +3 -9
  367. models/mutation.policy.remotePortFwd.addRule.json +35 -91
  368. models/mutation.policy.remotePortFwd.addSection.json +4 -12
  369. models/mutation.policy.remotePortFwd.createPolicyRevision.json +3 -9
  370. models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2 -6
  371. models/mutation.policy.remotePortFwd.moveRule.json +4 -12
  372. models/mutation.policy.remotePortFwd.moveSection.json +4 -12
  373. models/mutation.policy.remotePortFwd.publishPolicyRevision.json +3 -9
  374. models/mutation.policy.remotePortFwd.removeRule.json +2 -6
  375. models/mutation.policy.remotePortFwd.removeSection.json +2 -6
  376. models/mutation.policy.remotePortFwd.updatePolicy.json +2 -6
  377. models/mutation.policy.remotePortFwd.updateRule.json +34 -88
  378. models/mutation.policy.remotePortFwd.updateSection.json +3 -9
  379. models/mutation.policy.socketLan.addRule.json +78 -185
  380. models/mutation.policy.socketLan.addSection.json +4 -12
  381. models/mutation.policy.socketLan.createPolicyRevision.json +3 -9
  382. models/mutation.policy.socketLan.discardPolicyRevision.json +2 -6
  383. models/mutation.policy.socketLan.moveRule.json +4 -12
  384. models/mutation.policy.socketLan.moveSection.json +4 -12
  385. models/mutation.policy.socketLan.publishPolicyRevision.json +3 -9
  386. models/mutation.policy.socketLan.removeRule.json +2 -6
  387. models/mutation.policy.socketLan.removeSection.json +2 -6
  388. models/mutation.policy.socketLan.updatePolicy.json +2 -6
  389. models/mutation.policy.socketLan.updateRule.json +77 -182
  390. models/mutation.policy.socketLan.updateSection.json +3 -9
  391. models/mutation.policy.terminalServer.addRule.json +10 -30
  392. models/mutation.policy.terminalServer.addSection.json +4 -12
  393. models/mutation.policy.terminalServer.createPolicyRevision.json +3 -9
  394. models/mutation.policy.terminalServer.discardPolicyRevision.json +2 -6
  395. models/mutation.policy.terminalServer.moveRule.json +4 -12
  396. models/mutation.policy.terminalServer.moveSection.json +4 -12
  397. models/mutation.policy.terminalServer.publishPolicyRevision.json +3 -9
  398. models/mutation.policy.terminalServer.removeRule.json +2 -6
  399. models/mutation.policy.terminalServer.removeSection.json +2 -6
  400. models/mutation.policy.terminalServer.updatePolicy.json +2 -6
  401. models/mutation.policy.terminalServer.updateRule.json +9 -27
  402. models/mutation.policy.terminalServer.updateSection.json +3 -9
  403. models/mutation.policy.wanFirewall.addRule.json +290 -654
  404. models/mutation.policy.wanFirewall.addSection.json +4 -12
  405. models/mutation.policy.wanFirewall.createPolicyRevision.json +3 -9
  406. models/mutation.policy.wanFirewall.discardPolicyRevision.json +2 -6
  407. models/mutation.policy.wanFirewall.moveRule.json +4 -12
  408. models/mutation.policy.wanFirewall.moveSection.json +4 -12
  409. models/mutation.policy.wanFirewall.publishPolicyRevision.json +3 -9
  410. models/mutation.policy.wanFirewall.removeRule.json +2 -6
  411. models/mutation.policy.wanFirewall.removeSection.json +2 -6
  412. models/mutation.policy.wanFirewall.updatePolicy.json +2 -6
  413. models/mutation.policy.wanFirewall.updateRule.json +289 -651
  414. models/mutation.policy.wanFirewall.updateSection.json +3 -9
  415. models/mutation.policy.wanNetwork.addRule.json +204 -514
  416. models/mutation.policy.wanNetwork.addSection.json +4 -12
  417. models/mutation.policy.wanNetwork.createPolicyRevision.json +3 -9
  418. models/mutation.policy.wanNetwork.discardPolicyRevision.json +2 -6
  419. models/mutation.policy.wanNetwork.moveRule.json +4 -12
  420. models/mutation.policy.wanNetwork.moveSection.json +4 -12
  421. models/mutation.policy.wanNetwork.publishPolicyRevision.json +3 -9
  422. models/mutation.policy.wanNetwork.removeRule.json +2 -6
  423. models/mutation.policy.wanNetwork.removeSection.json +2 -6
  424. models/mutation.policy.wanNetwork.updatePolicy.json +2 -6
  425. models/mutation.policy.wanNetwork.updateRule.json +203 -511
  426. models/mutation.policy.wanNetwork.updateSection.json +3 -9
  427. models/mutation.sandbox.deleteReport.json +1 -3
  428. models/mutation.sandbox.uploadFile.json +1 -3
  429. models/mutation.site.addBgpPeer.json +48 -123
  430. models/mutation.site.addCloudInterconnectPhysicalConnection.json +12 -36
  431. models/mutation.site.addCloudInterconnectSite.json +8 -24
  432. models/mutation.site.addIpsecIkeV2Site.json +10 -30
  433. models/mutation.site.addIpsecIkeV2SiteTunnels.json +14 -40
  434. models/mutation.site.addNetworkRange.json +15 -43
  435. models/mutation.site.addSecondaryAwsVSocket.json +5 -15
  436. models/mutation.site.addSecondaryAzureVSocket.json +4 -12
  437. models/mutation.site.addSocketAddOnCard.json +4 -12
  438. models/mutation.site.addSocketSite.json +12 -36
  439. models/mutation.site.addStaticHost.json +4 -10
  440. models/mutation.site.assignSiteBwLicense.json +120 -11782
  441. models/mutation.site.removeBgpPeer.json +1 -3
  442. models/mutation.site.removeCloudInterconnectPhysicalConnection.json +1 -3
  443. models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -4
  444. models/mutation.site.removeNetworkRange.json +1 -1
  445. models/mutation.site.removeSecondaryAwsVSocket.json +1 -1
  446. models/mutation.site.removeSecondaryAzureVSocket.json +1 -1
  447. models/mutation.site.removeSite.json +1 -1
  448. models/mutation.site.removeSiteBwLicense.json +119 -11779
  449. models/mutation.site.removeSocketAddOnCard.json +3 -9
  450. models/mutation.site.removeStaticHost.json +1 -1
  451. models/mutation.site.replaceSiteBwLicense.json +121 -11785
  452. models/mutation.site.startSiteUpgrade.json +3 -9
  453. models/mutation.site.updateBgpPeer.json +47 -120
  454. models/mutation.site.updateCloudInterconnectPhysicalConnection.json +10 -30
  455. models/mutation.site.updateHa.json +4 -10
  456. models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json +11 -24
  457. models/mutation.site.updateIpsecIkeV2SiteTunnels.json +15 -43
  458. models/mutation.site.updateNetworkRange.json +15 -43
  459. models/mutation.site.updateSecondaryAwsVSocket.json +4 -12
  460. models/mutation.site.updateSecondaryAzureVSocket.json +3 -9
  461. models/mutation.site.updateSiteBwLicense.json +120 -11782
  462. models/mutation.site.updateSiteGeneralDetails.json +14 -40
  463. models/mutation.site.updateSocketInterface.json +26 -74
  464. models/mutation.site.updateStaticHost.json +4 -10
  465. models/mutation.sites.addBgpPeer.json +48 -123
  466. models/mutation.sites.addCloudInterconnectPhysicalConnection.json +12 -36
  467. models/mutation.sites.addCloudInterconnectSite.json +8 -24
  468. models/mutation.sites.addIpsecIkeV2Site.json +10 -30
  469. models/mutation.sites.addIpsecIkeV2SiteTunnels.json +14 -40
  470. models/mutation.sites.addNetworkRange.json +15 -43
  471. models/mutation.sites.addSecondaryAwsVSocket.json +5 -15
  472. models/mutation.sites.addSecondaryAzureVSocket.json +4 -12
  473. models/mutation.sites.addSocketAddOnCard.json +4 -12
  474. models/mutation.sites.addSocketSite.json +12 -36
  475. models/mutation.sites.addStaticHost.json +4 -10
  476. models/mutation.sites.assignSiteBwLicense.json +120 -11782
  477. models/mutation.sites.removeBgpPeer.json +1 -3
  478. models/mutation.sites.removeCloudInterconnectPhysicalConnection.json +1 -3
  479. models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -4
  480. models/mutation.sites.removeNetworkRange.json +1 -1
  481. models/mutation.sites.removeSecondaryAwsVSocket.json +1 -1
  482. models/mutation.sites.removeSecondaryAzureVSocket.json +1 -1
  483. models/mutation.sites.removeSite.json +1 -1
  484. models/mutation.sites.removeSiteBwLicense.json +119 -11779
  485. models/mutation.sites.removeSocketAddOnCard.json +3 -9
  486. models/mutation.sites.removeStaticHost.json +1 -1
  487. models/mutation.sites.replaceSiteBwLicense.json +121 -11785
  488. models/mutation.sites.startSiteUpgrade.json +3 -9
  489. models/mutation.sites.updateBgpPeer.json +47 -120
  490. models/mutation.sites.updateCloudInterconnectPhysicalConnection.json +10 -30
  491. models/mutation.sites.updateHa.json +4 -10
  492. models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json +11 -24
  493. models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +15 -43
  494. models/mutation.sites.updateNetworkRange.json +15 -43
  495. models/mutation.sites.updateSecondaryAwsVSocket.json +4 -12
  496. models/mutation.sites.updateSecondaryAzureVSocket.json +3 -9
  497. models/mutation.sites.updateSiteBwLicense.json +120 -11782
  498. models/mutation.sites.updateSiteGeneralDetails.json +14 -40
  499. models/mutation.sites.updateSocketInterface.json +26 -74
  500. models/mutation.sites.updateStaticHost.json +4 -10
  501. models/mutation.xdr.addStoryComment.json +15 -113
  502. models/mutation.xdr.analystFeedback.json +229 -26307
  503. models/mutation.xdr.deleteStoryComment.json +15 -113
  504. models/query.accountBySubdomain.json +2 -1
  505. models/query.accountMetrics.json +15 -12
  506. models/query.accountRoles.json +1 -1
  507. models/query.accountSnapshot.json +4 -2
  508. models/query.admin.json +1 -1
  509. models/query.admins.json +7 -10
  510. models/query.appStats.json +633 -33
  511. models/query.appStatsTimeSeries.json +15 -28
  512. models/query.auditFeed.json +225 -16
  513. models/query.catalogs.json +106 -215
  514. models/query.container.json +21 -471
  515. models/query.devices.json +333 -620
  516. models/query.enterpriseDirectory.json +3596 -0
  517. models/query.entityLookup.json +15 -27
  518. models/query.events.json +1875 -33
  519. models/query.eventsFeed.json +30 -14
  520. models/query.eventsTimeSeries.json +15 -28
  521. models/query.groups.group.members.json +23 -55
  522. models/query.groups.groupList.json +87 -266
  523. models/query.groups.whereUsed.json +2 -6
  524. models/query.hardware.json +92 -192
  525. models/query.hardwareManagement.json +21 -63
  526. models/query.licensing.json +76 -11721
  527. models/query.policy.appTenantRestriction.policy.json +2 -6
  528. models/query.policy.dynamicIpAllocation.policy.json +2 -6
  529. models/query.policy.internetFirewall.policy.json +2 -6
  530. models/query.policy.remotePortFwd.policy.json +2 -6
  531. models/query.policy.socketLan.policy.json +2 -6
  532. models/query.policy.terminalServer.policy.json +2 -6
  533. models/query.policy.wanFirewall.policy.json +2 -6
  534. models/query.policy.wanNetwork.policy.json +2 -6
  535. models/query.popLocations.json +34 -74
  536. models/query.sandbox.json +44 -83
  537. models/query.servicePrincipalAdmin.json +1098 -0
  538. models/query.site.availableVersionList.json +4 -5
  539. models/query.site.bgpPeer.json +2 -6
  540. models/query.site.bgpPeerList.json +2 -6
  541. models/query.site.cloudInterconnectConnectionConnectivity.json +1 -3
  542. models/query.site.cloudInterconnectPhysicalConnection.json +1 -3
  543. models/query.site.cloudInterconnectPhysicalConnectionId.json +3 -9
  544. models/query.site.secondaryAwsVSocket.json +1 -1
  545. models/query.site.secondaryAzureVSocket.json +1 -1
  546. models/query.site.siteBgpStatus.json +2 -6
  547. models/query.socketPortMetrics.json +465 -33
  548. models/query.socketPortMetricsTimeSeries.json +15 -28
  549. models/query.subDomains.json +1 -1
  550. models/query.xdr.stories.json +306 -26440
  551. models/query.xdr.story.json +40 -26100
  552. schema/catolib.py +1266 -956
  553. schema/importSchema.py +53 -48
  554. catocli/parsers/mutation/README.md +0 -4
  555. catocli/parsers/mutation_accountManagement_disableAccount/README.md +0 -16
  556. catocli/parsers/parserApiClient.py +0 -522
  557. catocli/parsers/query/README.md +0 -3
  558. catocli-2.1.0.dist-info/RECORD +0 -644
  559. models/mutation.accountManagement.disableAccount.json +0 -545
  560. models/query.policy.json +0 -40899
  561. models/query.site.json +0 -5688
  562. schema/remove_policyid.py +0 -89
  563. schema/remove_policyid_mutations.py +0 -89
  564. {catocli-2.1.0.dist-info → catocli-2.1.2.dist-info}/WHEEL +0 -0
  565. {catocli-2.1.0.dist-info → catocli-2.1.2.dist-info}/entry_points.txt +0 -0
  566. {catocli-2.1.0.dist-info → catocli-2.1.2.dist-info}/licenses/LICENSE +0 -0
  567. {catocli-2.1.0.dist-info → catocli-2.1.2.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.startSiteUpgrade:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-startSiteUpgrade) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.startSiteUpgrade) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.startSiteUpgrade:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation sites startSiteUpgrade <json>`
10
10
 
11
- `catocli mutation sites startSiteUpgrade "$(cat < startSiteUpgrade.json)"`
11
+ `catocli mutation sites startSiteUpgrade "$(cat < mutation.sites.startSiteUpgrade.json)"`
12
+
13
+ `catocli mutation sites startSiteUpgrade '{"startSiteUpgradeInput":{"siteUpgradeRequest":{"site":{"by":"ID","input":"string"},"targetVersion":"string"}}}'`
12
14
 
13
- `catocli mutation sites startSiteUpgrade '{"startSiteUpgradeInput": {"siteUpgradeRequest": {"site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "targetVersion": {"targetVersion": "String"}}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.startSiteUpgrade ####
16
- `accountId` [ID] - (required) N/A
17
- `startSiteUpgradeInput` [StartSiteUpgradeInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `startSiteUpgradeInput` [StartSiteUpgradeInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateBgpPeer:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateBgpPeer) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateBgpPeer) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateBgpPeer:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation sites updateBgpPeer <json>`
10
10
 
11
- `catocli mutation sites updateBgpPeer "$(cat < updateBgpPeer.json)"`
11
+ `catocli mutation sites updateBgpPeer "$(cat < mutation.sites.updateBgpPeer.json)"`
12
+
13
+ `catocli mutation sites updateBgpPeer '{"updateBgpPeerInput":{"advertiseAllRoutes":true,"advertiseDefaultRoute":true,"advertiseSummaryRoutes":true,"bfdEnabled":true,"bfdSettingsInput":{"multiplier":1,"receiveInterval":1,"transmitInterval":1},"bgpFilterRuleInput":{"bgpRouteExactAndInclusiveFilterRule":{"ge":1,"globalIpRange":{"by":"ID","input":"string"},"globalIpRangeException":{"by":"ID","input":"string"},"le":1,"networkSubnet":["example1","example2"],"networkSubnetException":["example1","example2"]},"bgpRouteExactFilterRule":{"globalIpRange":{"by":"ID","input":"string"},"networkSubnet":["example1","example2"]},"communityFilterRule":{"community":{"from":"example_value","to":"example_value"},"predicate":"EQUAL"}},"bgpSummaryRouteInput":{"community":{"from":"example_value","to":"example_value"},"route":"example_value"},"bgpTrackingInput":{"alertFrequency":"HOURLY","enabled":true,"subscriptionId":"id"},"catoAsn":"example_value","defaultAction":"DROP","holdTime":1,"id":"id","keepaliveInterval":1,"md5AuthKey":"string","metric":1,"name":"string","peerAsn":"example_value","peerIp":"example_value","performNat":true}}'`
12
14
 
13
- `catocli mutation sites updateBgpPeer '{"updateBgpPeerInput": {"advertiseAllRoutes": {"advertiseAllRoutes": "Boolean"}, "advertiseDefaultRoute": {"advertiseDefaultRoute": "Boolean"}, "advertiseSummaryRoutes": {"advertiseSummaryRoutes": "Boolean"}, "bfdEnabled": {"bfdEnabled": "Boolean"}, "bfdSettingsInput": {"multiplier": {"multiplier": "Int"}, "receiveInterval": {"receiveInterval": "Int"}, "transmitInterval": {"transmitInterval": "Int"}}, "bgpFilterRuleInput": {"bgpRouteExactAndInclusiveFilterRule": {"ge": {"ge": "Int"}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRangeException": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "le": {"le": "Int"}, "networkSubnet": {"networkSubnet": ["NetworkSubnet"]}, "networkSubnetException": {"networkSubnetException": ["NetworkSubnet"]}}, "bgpRouteExactFilterRule": {"globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "networkSubnet": {"networkSubnet": ["NetworkSubnet"]}}, "communityFilterRule": {"community": {"from": {"from": "Asn16"}, "to": {"to": "Asn16"}}, "predicate": {"predicate": "enum(BgpCommunityFilterPredicate)"}}}, "bgpSummaryRouteInput": {"community": {"from": {"from": "Asn16"}, "to": {"to": "Asn16"}}, "route": {"route": "NetworkSubnet"}}, "bgpTrackingInput": {"alertFrequency": {"alertFrequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "enabled": {"enabled": "Boolean"}, "subscriptionId": {"subscriptionId": "ID"}}, "catoAsn": {"catoAsn": "Asn16"}, "defaultAction": {"defaultAction": "enum(BgpDefaultAction)"}, "holdTime": {"holdTime": "Int"}, "id": {"id": "ID"}, "keepaliveInterval": {"keepaliveInterval": "Int"}, "md5AuthKey": {"md5AuthKey": "String"}, "metric": {"metric": "Int"}, "name": {"name": "String"}, "peerAsn": {"peerAsn": "Asn32"}, "peerIp": {"peerIp": "IPAddress"}, "performNat": {"performNat": "Boolean"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateBgpPeer ####
16
- `accountId` [ID] - (required) N/A
17
- `updateBgpPeerInput` [UpdateBgpPeerInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `updateBgpPeerInput` [UpdateBgpPeerInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateCloudInterconnectPhysicalConnection:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateCloudInterconnectPhysicalConnection) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateCloudInterconnectPhysicalConnection) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateCloudInterconnectPhysicalConnection:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation sites updateCloudInterconnectPhysicalConnection <json>`
10
10
 
11
- `catocli mutation sites updateCloudInterconnectPhysicalConnection "$(cat < updateCloudInterconnectPhysicalConnection.json)"`
11
+ `catocli mutation sites updateCloudInterconnectPhysicalConnection "$(cat < mutation.sites.updateCloudInterconnectPhysicalConnection.json)"`
12
+
13
+ `catocli mutation sites updateCloudInterconnectPhysicalConnection '{"updateCloudInterconnectPhysicalConnectionInput":{"downstreamBwLimit":"example_value","encapsulationMethod":"DOT1Q","id":"id","popLocationRefInput":{"by":"ID","input":"string"},"privateCatoIp":"example_value","privateSiteIp":"example_value","serviceProviderName":"string","subnet":"example_value","upstreamBwLimit":"example_value"}}'`
12
14
 
13
- `catocli mutation sites updateCloudInterconnectPhysicalConnection '{"updateCloudInterconnectPhysicalConnectionInput": {"downstreamBwLimit": {"downstreamBwLimit": "NetworkBandwidth"}, "encapsulationMethod": {"encapsulationMethod": "enum(TaggingMethod)"}, "id": {"id": "ID"}, "popLocationRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "serviceProviderName": {"serviceProviderName": "String"}, "subnet": {"subnet": "NetworkSubnet"}, "upstreamBwLimit": {"upstreamBwLimit": "NetworkBandwidth"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateCloudInterconnectPhysicalConnection ####
16
- `accountId` [ID] - (required) N/A
17
- `updateCloudInterconnectPhysicalConnectionInput` [UpdateCloudInterconnectPhysicalConnectionInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `updateCloudInterconnectPhysicalConnectionInput` [UpdateCloudInterconnectPhysicalConnectionInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateHa:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateHa) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateHa) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateHa:
6
6
 
@@ -8,11 +8,13 @@
8
8
 
9
9
  `catocli mutation sites updateHa <json>`
10
10
 
11
- `catocli mutation sites updateHa "$(cat < updateHa.json)"`
11
+ `catocli mutation sites updateHa "$(cat < mutation.sites.updateHa.json)"`
12
+
13
+ `catocli mutation sites updateHa '{"siteId":"id","updateHaInput":{"primaryManagementIp":"example_value","secondaryManagementIp":"example_value","vrid":1}}'`
12
14
 
13
- `catocli mutation sites updateHa '{"siteId": "ID", "updateHaInput": {"primaryManagementIp": {"primaryManagementIp": "IPAddress"}, "secondaryManagementIp": {"secondaryManagementIp": "IPAddress"}, "vrid": {"vrid": "Int"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateHa ####
16
- `accountId` [ID] - (required) N/A
17
- `siteId` [ID] - (required) N/A
18
- `updateHaInput` [UpdateHaInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `siteId` [ID] - (required) N/A
20
+ `updateHaInput` [UpdateHaInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateIpsecIkeV2SiteGeneralDetails:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateIpsecIkeV2SiteGeneralDetails) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateIpsecIkeV2SiteGeneralDetails) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateIpsecIkeV2SiteGeneralDetails:
6
6
 
@@ -8,11 +8,13 @@
8
8
 
9
9
  `catocli mutation sites updateIpsecIkeV2SiteGeneralDetails <json>`
10
10
 
11
- `catocli mutation sites updateIpsecIkeV2SiteGeneralDetails "$(cat < updateIpsecIkeV2SiteGeneralDetails.json)"`
11
+ `catocli mutation sites updateIpsecIkeV2SiteGeneralDetails "$(cat < mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json)"`
12
+
13
+ `catocli mutation sites updateIpsecIkeV2SiteGeneralDetails '{"siteId":"id","updateIpsecIkeV2SiteGeneralDetailsInput":{"connectionMode":"RESPONDER_ONLY","identificationType":"IPV4","ipsecIkeV2MessageInput":{"cipher":"NONE","dhGroup":"NONE","integrity":"NONE","prf":"NONE"},"networkRanges":["example1","example2"]}}'`
12
14
 
13
- `catocli mutation sites updateIpsecIkeV2SiteGeneralDetails '{"siteId": "ID", "updateIpsecIkeV2SiteGeneralDetailsInput": {"connectionMode": {"connectionMode": "enum(ConnectionMode)"}, "identificationType": {"identificationType": "enum(IdentificationType)"}, "ipsecIkeV2MessageInput": {"cipher": {"cipher": "enum(IpSecCipher)"}, "dhGroup": {"dhGroup": "enum(IpSecDHGroup)"}, "integrity": {"integrity": "enum(IpSecHash)"}, "prf": {"prf": "enum(IpSecHash)"}}, "networkRanges": {"networkRanges": ["IPSubnet"]}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateIpsecIkeV2SiteGeneralDetails ####
16
- `accountId` [ID] - (required) N/A
17
- `siteId` [ID] - (required) N/A
18
- `updateIpsecIkeV2SiteGeneralDetailsInput` [UpdateIpsecIkeV2SiteGeneralDetailsInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `siteId` [ID] - (required) N/A
20
+ `updateIpsecIkeV2SiteGeneralDetailsInput` [UpdateIpsecIkeV2SiteGeneralDetailsInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateIpsecIkeV2SiteTunnels:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateIpsecIkeV2SiteTunnels) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateIpsecIkeV2SiteTunnels) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateIpsecIkeV2SiteTunnels:
6
6
 
@@ -8,11 +8,13 @@
8
8
 
9
9
  `catocli mutation sites updateIpsecIkeV2SiteTunnels <json>`
10
10
 
11
- `catocli mutation sites updateIpsecIkeV2SiteTunnels "$(cat < updateIpsecIkeV2SiteTunnels.json)"`
11
+ `catocli mutation sites updateIpsecIkeV2SiteTunnels "$(cat < mutation.sites.updateIpsecIkeV2SiteTunnels.json)"`
12
+
13
+ `catocli mutation sites updateIpsecIkeV2SiteTunnels '{"siteId":"id","updateIpsecIkeV2SiteTunnelsInput":{"updateIpsecIkeV2TunnelsInput":{"destinationType":"IPv4","popLocationId":"id","publicCatoIpId":"id","tunnels":{"lastMileBw":{"downstream":1,"downstreamMbpsPrecision":1.5,"upstream":1,"upstreamMbpsPrecision":1.5},"name":"string","privateCatoIp":"example_value","privateSiteIp":"example_value","psk":"string","publicSiteIp":"example_value","role":"WAN1","tunnelId":"PRIMARY1"}}}}'`
12
14
 
13
- `catocli mutation sites updateIpsecIkeV2SiteTunnels '{"siteId": "ID", "updateIpsecIkeV2SiteTunnelsInput": {"updateIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "downstreamMbpsPrecision": {"downstreamMbpsPrecision": "Float"}, "upstream": {"upstream": "Int"}, "upstreamMbpsPrecision": {"upstreamMbpsPrecision": "Float"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}, "tunnelId": {"tunnelId": "enum(IPSecV2InterfaceId)"}}}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateIpsecIkeV2SiteTunnels ####
16
- `accountId` [ID] - (required) N/A
17
- `siteId` [ID] - (required) N/A
18
- `updateIpsecIkeV2SiteTunnelsInput` [UpdateIpsecIkeV2SiteTunnelsInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `siteId` [ID] - (required) N/A
20
+ `updateIpsecIkeV2SiteTunnelsInput` [UpdateIpsecIkeV2SiteTunnelsInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateNetworkRange:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateNetworkRange) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateNetworkRange) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateNetworkRange:
6
6
 
@@ -8,11 +8,13 @@
8
8
 
9
9
  `catocli mutation sites updateNetworkRange <json>`
10
10
 
11
- `catocli mutation sites updateNetworkRange "$(cat < updateNetworkRange.json)"`
11
+ `catocli mutation sites updateNetworkRange "$(cat < mutation.sites.updateNetworkRange.json)"`
12
+
13
+ `catocli mutation sites updateNetworkRange '{"networkRangeId":"id","updateNetworkRangeInput":{"azureFloatingIp":"example_value","gateway":"example_value","internetOnly":true,"localIp":"example_value","mdnsReflector":true,"name":"string","networkDhcpSettingsInput":{"dhcpMicrosegmentation":true,"dhcpType":"DHCP_RELAY","ipRange":"example_value","relayGroupId":"id"},"rangeType":"Routed","subnet":"example_value","translatedSubnet":"example_value","vlan":1}}'`
12
14
 
13
- `catocli mutation sites updateNetworkRange '{"networkRangeId": "ID", "updateNetworkRangeInput": {"azureFloatingIp": {"azureFloatingIp": "IPAddress"}, "gateway": {"gateway": "IPAddress"}, "internetOnly": {"internetOnly": "Boolean"}, "localIp": {"localIp": "IPAddress"}, "mdnsReflector": {"mdnsReflector": "Boolean"}, "name": {"name": "String"}, "networkDhcpSettingsInput": {"dhcpMicrosegmentation": {"dhcpMicrosegmentation": "Boolean"}, "dhcpType": {"dhcpType": "enum(DhcpType)"}, "ipRange": {"ipRange": "IPRange"}, "relayGroupId": {"relayGroupId": "ID"}}, "rangeType": {"rangeType": "enum(SubnetType)"}, "subnet": {"subnet": "IPSubnet"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}, "vlan": {"vlan": "Int"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateNetworkRange ####
16
- `accountId` [ID] - (required) N/A
17
- `networkRangeId` [ID] - (required) N/A
18
- `updateNetworkRangeInput` [UpdateNetworkRangeInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `networkRangeId` [ID] - (required) N/A
20
+ `updateNetworkRangeInput` [UpdateNetworkRangeInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateSecondaryAwsVSocket:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateSecondaryAwsVSocket) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateSecondaryAwsVSocket) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateSecondaryAwsVSocket:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation sites updateSecondaryAwsVSocket <json>`
10
10
 
11
- `catocli mutation sites updateSecondaryAwsVSocket "$(cat < updateSecondaryAwsVSocket.json)"`
11
+ `catocli mutation sites updateSecondaryAwsVSocket "$(cat < mutation.sites.updateSecondaryAwsVSocket.json)"`
12
+
13
+ `catocli mutation sites updateSecondaryAwsVSocket '{"updateSecondaryAwsVSocketInput":{"id":"id","ipAddress":"example_value","routeTableId":"string","subnet":"example_value"}}'`
12
14
 
13
- `catocli mutation sites updateSecondaryAwsVSocket '{"updateSecondaryAwsVSocketInput": {"id": {"id": "ID"}, "ipAddress": {"ipAddress": "IPAddress"}, "routeTableId": {"routeTableId": "String"}, "subnet": {"subnet": "NetworkSubnet"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateSecondaryAwsVSocket ####
16
- `accountId` [ID] - (required) N/A
17
- `updateSecondaryAwsVSocketInput` [UpdateSecondaryAwsVSocketInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `updateSecondaryAwsVSocketInput` [UpdateSecondaryAwsVSocketInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateSecondaryAzureVSocket:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateSecondaryAzureVSocket) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateSecondaryAzureVSocket) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateSecondaryAzureVSocket:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation sites updateSecondaryAzureVSocket <json>`
10
10
 
11
- `catocli mutation sites updateSecondaryAzureVSocket "$(cat < updateSecondaryAzureVSocket.json)"`
11
+ `catocli mutation sites updateSecondaryAzureVSocket "$(cat < mutation.sites.updateSecondaryAzureVSocket.json)"`
12
+
13
+ `catocli mutation sites updateSecondaryAzureVSocket '{"updateSecondaryAzureVSocketInput":{"floatingIp":"example_value","id":"id","interfaceIp":"example_value"}}'`
12
14
 
13
- `catocli mutation sites updateSecondaryAzureVSocket '{"updateSecondaryAzureVSocketInput": {"floatingIp": {"floatingIp": "IPAddress"}, "id": {"id": "ID"}, "interfaceIp": {"interfaceIp": "IPAddress"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateSecondaryAzureVSocket ####
16
- `accountId` [ID] - (required) N/A
17
- `updateSecondaryAzureVSocketInput` [UpdateSecondaryAzureVSocketInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `updateSecondaryAzureVSocketInput` [UpdateSecondaryAzureVSocketInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateSiteBwLicense:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateSiteBwLicense) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateSiteBwLicense) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateSiteBwLicense:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation sites updateSiteBwLicense <json>`
10
10
 
11
- `catocli mutation sites updateSiteBwLicense "$(cat < updateSiteBwLicense.json)"`
11
+ `catocli mutation sites updateSiteBwLicense "$(cat < mutation.sites.updateSiteBwLicense.json)"`
12
+
13
+ `catocli mutation sites updateSiteBwLicense '{"updateSiteBwLicenseInput":{"bw":1,"licenseId":"id","siteRefInput":{"by":"ID","input":"string"}}}'`
12
14
 
13
- `catocli mutation sites updateSiteBwLicense '{"updateSiteBwLicenseInput": {"bw": {"bw": "Int"}, "licenseId": {"licenseId": "ID"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateSiteBwLicense ####
16
- `accountId` [ID] - (required) N/A
17
- `updateSiteBwLicenseInput` [UpdateSiteBwLicenseInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `updateSiteBwLicenseInput` [UpdateSiteBwLicenseInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateSiteGeneralDetails:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateSiteGeneralDetails) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateSiteGeneralDetails) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateSiteGeneralDetails:
6
6
 
@@ -8,11 +8,13 @@
8
8
 
9
9
  `catocli mutation sites updateSiteGeneralDetails <json>`
10
10
 
11
- `catocli mutation sites updateSiteGeneralDetails "$(cat < updateSiteGeneralDetails.json)"`
11
+ `catocli mutation sites updateSiteGeneralDetails "$(cat < mutation.sites.updateSiteGeneralDetails.json)"`
12
+
13
+ `catocli mutation sites updateSiteGeneralDetails '{"siteId":"id","updateSiteGeneralDetailsInput":{"description":"string","name":"string","siteType":"BRANCH","updateSiteLocationInput":{"address":"string","cityName":"string","countryCode":"string","stateCode":"string","timezone":"string"},"updateSitePreferredPopLocationInput":{"preferredOnly":true,"primary":{"by":"ID","input":"string"},"secondary":{"by":"ID","input":"string"}}}}'`
12
14
 
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
15
 
15
16
  #### Operation Arguments for mutation.sites.updateSiteGeneralDetails ####
16
- `accountId` [ID] - (required) N/A
17
- `siteId` [ID] - (required) N/A
18
- `updateSiteGeneralDetailsInput` [UpdateSiteGeneralDetailsInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `siteId` [ID] - (required) N/A
20
+ `updateSiteGeneralDetailsInput` [UpdateSiteGeneralDetailsInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateSocketInterface:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateSocketInterface) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateSocketInterface) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateSocketInterface:
6
6
 
@@ -8,12 +8,14 @@
8
8
 
9
9
  `catocli mutation sites updateSocketInterface <json>`
10
10
 
11
- `catocli mutation sites updateSocketInterface "$(cat < updateSocketInterface.json)"`
11
+ `catocli mutation sites updateSocketInterface "$(cat < mutation.sites.updateSocketInterface.json)"`
12
+
13
+ `catocli mutation sites updateSocketInterface '{"siteId":"id","socketInterfaceId":"LAN1","updateSocketInterfaceInput":{"destType":"CATO","name":"string","socketInterfaceAltWanInput":{"privateGatewayIp":"example_value","privateInterfaceIp":"example_value","privateNetwork":"example_value","privateVlanTag":1,"publicGatewayIp":"example_value","publicInterfaceIp":"example_value","publicNetwork":"example_value","publicVlanTag":1},"socketInterfaceBandwidthInput":{"downstreamBandwidth":1,"downstreamBandwidthMbpsPrecision":1.5,"upstreamBandwidth":1,"upstreamBandwidthMbpsPrecision":1.5},"socketInterfaceLagInput":{"minLinks":1},"socketInterfaceLanInput":{"localIp":"example_value","subnet":"example_value","translatedSubnet":"example_value"},"socketInterfaceOffCloudInput":{"enabled":true,"publicIp":"example_value","publicStaticPort":1},"socketInterfaceVrrpInput":{"vrrpType":"VIA_SWITCH"},"socketInterfaceWanInput":{"precedence":"ACTIVE","role":"wan_1"}}}'`
12
14
 
13
- `catocli mutation sites updateSocketInterface '{"siteId": "ID", "socketInterfaceId": "enum(SocketInterfaceIDEnum)", "updateSocketInterfaceInput": {"destType": {"destType": "enum(SocketInterfaceDestType)"}, "name": {"name": "String"}, "socketInterfaceAltWanInput": {"privateGatewayIp": {"privateGatewayIp": "IPAddress"}, "privateInterfaceIp": {"privateInterfaceIp": "IPAddress"}, "privateNetwork": {"privateNetwork": "IPSubnet"}, "privateVlanTag": {"privateVlanTag": "Int"}, "publicGatewayIp": {"publicGatewayIp": "IPAddress"}, "publicInterfaceIp": {"publicInterfaceIp": "IPAddress"}, "publicNetwork": {"publicNetwork": "IPSubnet"}, "publicVlanTag": {"publicVlanTag": "Int"}}, "socketInterfaceBandwidthInput": {"downstreamBandwidth": {"downstreamBandwidth": "Int"}, "downstreamBandwidthMbpsPrecision": {"downstreamBandwidthMbpsPrecision": "Float"}, "upstreamBandwidth": {"upstreamBandwidth": "Int"}, "upstreamBandwidthMbpsPrecision": {"upstreamBandwidthMbpsPrecision": "Float"}}, "socketInterfaceLagInput": {"minLinks": {"minLinks": "Int"}}, "socketInterfaceLanInput": {"localIp": {"localIp": "IPAddress"}, "subnet": {"subnet": "IPSubnet"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}}, "socketInterfaceOffCloudInput": {"enabled": {"enabled": "Boolean"}, "publicIp": {"publicIp": "IPAddress"}, "publicStaticPort": {"publicStaticPort": "Int"}}, "socketInterfaceVrrpInput": {"vrrpType": {"vrrpType": "enum(VrrpType)"}}, "socketInterfaceWanInput": {"precedence": {"precedence": "enum(SocketInterfacePrecedenceEnum)"}, "role": {"role": "enum(SocketInterfaceRole)"}}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateSocketInterface ####
16
- `accountId` [ID] - (required) N/A
17
- `siteId` [ID] - (required) N/A
18
- `socketInterfaceId` [SocketInterfaceIDEnum] - (required) N/A Default Value: ['LAN1', 'LAN2', 'WAN1', 'WAN2', 'USB1', 'USB2', 'INT_1', 'INT_2', 'INT_3', 'INT_4', 'INT_5', 'INT_6', 'INT_7', 'INT_8', 'INT_9', 'INT_10', 'INT_11', 'INT_12', 'WLAN', 'LTE']
19
- `updateSocketInterfaceInput` [UpdateSocketInterfaceInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `siteId` [ID] - (required) N/A
20
+ `socketInterfaceId` [SocketInterfaceIDEnum] - (required) N/A Default Value: ['LAN1', 'LAN2', 'WAN1', 'WAN2', 'USB1', 'USB2', 'INT_1', 'INT_2', 'INT_3', 'INT_4', 'INT_5', 'INT_6', 'INT_7', 'INT_8', 'INT_9', 'INT_10', 'INT_11', 'INT_12', 'WLAN', 'LTE']
21
+ `updateSocketInterfaceInput` [UpdateSocketInterfaceInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.sites.updateStaticHost:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-updateStaticHost) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.sites.updateStaticHost) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.sites.updateStaticHost:
6
6
 
@@ -8,11 +8,13 @@
8
8
 
9
9
  `catocli mutation sites updateStaticHost <json>`
10
10
 
11
- `catocli mutation sites updateStaticHost "$(cat < updateStaticHost.json)"`
11
+ `catocli mutation sites updateStaticHost "$(cat < mutation.sites.updateStaticHost.json)"`
12
+
13
+ `catocli mutation sites updateStaticHost '{"hostId":"id","updateStaticHostInput":{"ip":"example_value","macAddress":"string","name":"string"}}'`
12
14
 
13
- `catocli mutation sites updateStaticHost '{"hostId": "ID", "updateStaticHostInput": {"ip": {"ip": "IPAddress"}, "macAddress": {"macAddress": "String"}, "name": {"name": "String"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.sites.updateStaticHost ####
16
- `accountId` [ID] - (required) N/A
17
- `hostId` [ID] - (required) N/A
18
- `updateStaticHostInput` [UpdateStaticHostInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `hostId` [ID] - (required) N/A
20
+ `updateStaticHostInput` [UpdateStaticHostInput] - (required) N/A
@@ -1,48 +1,48 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def mutation_xdr_parse(mutation_subparsers):
5
- mutation_xdr_parser = mutation_subparsers.add_parser('xdr',
6
- help='xdr() mutation operation',
7
- usage=get_help("mutation_xdr"))
8
-
9
- mutation_xdr_subparsers = mutation_xdr_parser.add_subparsers()
10
-
11
- mutation_xdr_addStoryComment_parser = mutation_xdr_subparsers.add_parser('addStoryComment',
12
- help='addStoryComment() xdr operation',
13
- usage=get_help("mutation_xdr_addStoryComment"))
14
-
15
- mutation_xdr_addStoryComment_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
16
- mutation_xdr_addStoryComment_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
17
- mutation_xdr_addStoryComment_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
18
- mutation_xdr_addStoryComment_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
19
- mutation_xdr_addStoryComment_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
20
- mutation_xdr_addStoryComment_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
21
- mutation_xdr_addStoryComment_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
22
- mutation_xdr_addStoryComment_parser.set_defaults(func=createRequest,operation_name='mutation.xdr.addStoryComment')
23
-
24
- mutation_xdr_analystFeedback_parser = mutation_xdr_subparsers.add_parser('analystFeedback',
25
- help='analystFeedback() xdr operation',
26
- usage=get_help("mutation_xdr_analystFeedback"))
27
-
28
- mutation_xdr_analystFeedback_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
29
- mutation_xdr_analystFeedback_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
30
- mutation_xdr_analystFeedback_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
31
- mutation_xdr_analystFeedback_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
32
- mutation_xdr_analystFeedback_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
33
- mutation_xdr_analystFeedback_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
34
- mutation_xdr_analystFeedback_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
35
- mutation_xdr_analystFeedback_parser.set_defaults(func=createRequest,operation_name='mutation.xdr.analystFeedback')
36
-
37
- mutation_xdr_deleteStoryComment_parser = mutation_xdr_subparsers.add_parser('deleteStoryComment',
38
- help='deleteStoryComment() xdr operation',
39
- usage=get_help("mutation_xdr_deleteStoryComment"))
40
-
41
- mutation_xdr_deleteStoryComment_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
42
- mutation_xdr_deleteStoryComment_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
43
- mutation_xdr_deleteStoryComment_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
44
- mutation_xdr_deleteStoryComment_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
45
- mutation_xdr_deleteStoryComment_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
46
- mutation_xdr_deleteStoryComment_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
47
- mutation_xdr_deleteStoryComment_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
48
- mutation_xdr_deleteStoryComment_parser.set_defaults(func=createRequest,operation_name='mutation.xdr.deleteStoryComment')
5
+ mutation_xdr_parser = mutation_subparsers.add_parser('xdr',
6
+ help='xdr() mutation operation',
7
+ usage=get_help("mutation_xdr"))
8
+
9
+ mutation_xdr_subparsers = mutation_xdr_parser.add_subparsers()
10
+
11
+ mutation_xdr_analystFeedback_parser = mutation_xdr_subparsers.add_parser('analystFeedback',
12
+ help='analystFeedback() xdr operation',
13
+ usage=get_help("mutation_xdr_analystFeedback"))
14
+
15
+ mutation_xdr_analystFeedback_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
16
+ mutation_xdr_analystFeedback_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
17
+ mutation_xdr_analystFeedback_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
18
+ mutation_xdr_analystFeedback_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
19
+ mutation_xdr_analystFeedback_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
20
+ mutation_xdr_analystFeedback_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
21
+ mutation_xdr_analystFeedback_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
22
+ mutation_xdr_analystFeedback_parser.set_defaults(func=createRequest,operation_name='mutation.xdr.analystFeedback')
23
+
24
+ mutation_xdr_addStoryComment_parser = mutation_xdr_subparsers.add_parser('addStoryComment',
25
+ help='addStoryComment() xdr operation',
26
+ usage=get_help("mutation_xdr_addStoryComment"))
27
+
28
+ mutation_xdr_addStoryComment_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
29
+ mutation_xdr_addStoryComment_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
30
+ mutation_xdr_addStoryComment_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
31
+ mutation_xdr_addStoryComment_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
32
+ mutation_xdr_addStoryComment_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
33
+ mutation_xdr_addStoryComment_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
34
+ mutation_xdr_addStoryComment_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
35
+ mutation_xdr_addStoryComment_parser.set_defaults(func=createRequest,operation_name='mutation.xdr.addStoryComment')
36
+
37
+ mutation_xdr_deleteStoryComment_parser = mutation_xdr_subparsers.add_parser('deleteStoryComment',
38
+ help='deleteStoryComment() xdr operation',
39
+ usage=get_help("mutation_xdr_deleteStoryComment"))
40
+
41
+ mutation_xdr_deleteStoryComment_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
42
+ mutation_xdr_deleteStoryComment_parser.add_argument('-accountID', help='The cato account ID to use for this operation. Overrides the account_id value in the profile setting. This is use for reseller and MSP accounts to run queries against cato sub accounts from the parent account.')
43
+ mutation_xdr_deleteStoryComment_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
44
+ mutation_xdr_deleteStoryComment_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
45
+ mutation_xdr_deleteStoryComment_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
46
+ mutation_xdr_deleteStoryComment_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
47
+ mutation_xdr_deleteStoryComment_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
48
+ mutation_xdr_deleteStoryComment_parser.set_defaults(func=createRequest,operation_name='mutation.xdr.deleteStoryComment')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.xdr.addStoryComment:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-addStoryComment) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.xdr.addStoryComment) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.xdr.addStoryComment:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation xdr addStoryComment <json>`
10
10
 
11
- `catocli mutation xdr addStoryComment "$(cat < addStoryComment.json)"`
11
+ `catocli mutation xdr addStoryComment "$(cat < mutation.xdr.addStoryComment.json)"`
12
+
13
+ `catocli mutation xdr addStoryComment '{"addStoryCommentInput":{"storyId":"id","text":"string"}}'`
12
14
 
13
- `catocli mutation xdr addStoryComment '{"addStoryCommentInput": {"storyId": {"storyId": "ID"}, "text": {"text": "String"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.xdr.addStoryComment ####
16
- `accountId` [ID] - (required) N/A
17
- `addStoryCommentInput` [AddStoryCommentInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `addStoryCommentInput` [AddStoryCommentInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.xdr.analystFeedback:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-analystFeedback) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.xdr.analystFeedback) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.xdr.analystFeedback:
6
6
 
@@ -8,11 +8,12 @@
8
8
 
9
9
  `catocli mutation xdr analystFeedback <json>`
10
10
 
11
- `catocli mutation xdr analystFeedback "$(cat < analystFeedback.json)"`
11
+ `catocli mutation xdr analystFeedback "$(cat < mutation.xdr.analystFeedback.json)"`
12
+
13
+ `catocli mutation xdr analystFeedback '{"analystFeedbackInput":{"additionalInfo":"string","severity":"High","status":"Open","storyId":"id","storyThreatType":{"details":"string","name":"string","recommendedAction":"string"},"threatClassification":"string","verdict":"Suspicious"}}'`
12
14
 
13
- `catocli mutation xdr analystFeedback '{"analystFeedbackInput": {"additionalInfo": {"additionalInfo": "String"}, "severity": {"severity": "enum(SeverityEnum)"}, "status": {"status": "enum(StoryStatusEnum)"}, "storyId": {"storyId": "ID"}, "storyThreatType": {"details": {"details": "String"}, "name": {"name": "String"}, "recommendedAction": {"recommendedAction": "String"}}, "threatClassification": {"threatClassification": "String"}, "verdict": {"verdict": "enum(StoryVerdictEnum)"}}, "perSecond": "Boolean"}'`
14
15
 
15
16
  #### Operation Arguments for mutation.xdr.analystFeedback ####
16
- `accountId` [ID] - (required) N/A
17
- `analystFeedbackInput` [AnalystFeedbackInput] - (required) N/A
18
- `perSecond` [Boolean] - (optional) whether to normalize the data into per second (i.e. divide by granularity)
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `analystFeedbackInput` [AnalystFeedbackInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - mutation.xdr.deleteStoryComment:
3
- [Click here](https://api.catonetworks.com/documentation/#mutation-deleteStoryComment) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.xdr.deleteStoryComment) for documentation on this operation.
4
4
 
5
5
  ### Usage for mutation.xdr.deleteStoryComment:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli mutation xdr deleteStoryComment <json>`
10
10
 
11
- `catocli mutation xdr deleteStoryComment "$(cat < deleteStoryComment.json)"`
11
+ `catocli mutation xdr deleteStoryComment "$(cat < mutation.xdr.deleteStoryComment.json)"`
12
+
13
+ `catocli mutation xdr deleteStoryComment '{"deleteStoryCommentInput":{"commentId":"id","storyId":"id"}}'`
12
14
 
13
- `catocli mutation xdr deleteStoryComment '{"deleteStoryCommentInput": {"commentId": {"commentId": "ID"}, "storyId": {"storyId": "ID"}}}'`
14
15
 
15
16
  #### Operation Arguments for mutation.xdr.deleteStoryComment ####
16
- `accountId` [ID] - (required) N/A
17
- `deleteStoryCommentInput` [DeleteStoryCommentInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `deleteStoryCommentInput` [DeleteStoryCommentInput] - (required) N/A
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.accountBySubdomain:
3
- [Click here](https://api.catonetworks.com/documentation/#query-accountBySubdomain) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.accountBySubdomain) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.accountBySubdomain:
6
6
 
@@ -8,10 +8,12 @@
8
8
 
9
9
  `catocli query accountBySubdomain <json>`
10
10
 
11
- `catocli query accountBySubdomain "$(cat < accountBySubdomain.json)"`
11
+ `catocli query accountBySubdomain "$(cat < query.accountBySubdomain.json)"`
12
+
13
+ `catocli query accountBySubdomain '{"subdomains":["string1","string2"]}'`
12
14
 
13
- `catocli query accountBySubdomain '{"subdomains": ["String"]}'`
14
15
 
15
16
  #### Operation Arguments for query.accountBySubdomain ####
16
- `accountID` [ID] - (required) N/A
17
- `subdomains` [String[]] - (required) a list of required subdomains
17
+
18
+ `accountID` [ID] - (required) N/A
19
+ `subdomains` [String[]] - (required) a list of required subdomains