catocli 2.1.1__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 (563) hide show
  1. catocli/Utils/clidriver.py +214 -209
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/custom/customLib.py +1 -1
  4. catocli/parsers/custom/export_sites/export_sites.py +118 -130
  5. catocli/parsers/customParserApiClient.py +1195 -0
  6. catocli/parsers/custom_private/__init__.py +1 -1
  7. catocli/parsers/mutation_accountManagement/__init__.py +45 -58
  8. catocli/parsers/mutation_accountManagement_addAccount/README.md +7 -5
  9. catocli/parsers/mutation_accountManagement_removeAccount/README.md +4 -5
  10. catocli/parsers/mutation_accountManagement_updateAccount/README.md +7 -5
  11. catocli/parsers/mutation_admin/__init__.py +84 -45
  12. catocli/parsers/mutation_admin_addAdmin/README.md +7 -5
  13. catocli/parsers/mutation_admin_addServicePrincipalAdmin/README.md +19 -0
  14. catocli/parsers/mutation_admin_removeAdmin/README.md +7 -5
  15. catocli/parsers/mutation_admin_removeServicePrincipalAdmin/README.md +19 -0
  16. catocli/parsers/mutation_admin_updateAdmin/README.md +8 -6
  17. catocli/parsers/mutation_admin_updateServicePrincipalAdmin/README.md +20 -0
  18. catocli/parsers/mutation_container/__init__.py +135 -135
  19. catocli/parsers/mutation_container_delete/README.md +7 -5
  20. catocli/parsers/mutation_container_fqdn_addValues/README.md +7 -5
  21. catocli/parsers/mutation_container_fqdn_createFromFile/README.md +7 -5
  22. catocli/parsers/mutation_container_fqdn_removeValues/README.md +7 -5
  23. catocli/parsers/mutation_container_fqdn_updateFromFile/README.md +7 -5
  24. catocli/parsers/mutation_container_ipAddressRange_addValues/README.md +7 -5
  25. catocli/parsers/mutation_container_ipAddressRange_createFromFile/README.md +7 -5
  26. catocli/parsers/mutation_container_ipAddressRange_removeValues/README.md +7 -5
  27. catocli/parsers/mutation_container_ipAddressRange_updateFromFile/README.md +7 -5
  28. catocli/parsers/mutation_enterpriseDirectory/README.md +7 -0
  29. catocli/parsers/mutation_enterpriseDirectory/__init__.py +61 -0
  30. catocli/parsers/mutation_enterpriseDirectory_archiveLocation/README.md +19 -0
  31. catocli/parsers/mutation_enterpriseDirectory_createLocation/README.md +19 -0
  32. catocli/parsers/mutation_enterpriseDirectory_restoreLocation/README.md +19 -0
  33. catocli/parsers/mutation_enterpriseDirectory_updateLocation/README.md +19 -0
  34. catocli/parsers/mutation_groups/__init__.py +45 -45
  35. catocli/parsers/mutation_groups_createGroup/README.md +8 -6
  36. catocli/parsers/mutation_groups_deleteGroup/README.md +8 -6
  37. catocli/parsers/mutation_groups_updateGroup/README.md +8 -6
  38. catocli/parsers/mutation_hardware/__init__.py +16 -16
  39. catocli/parsers/mutation_hardware_updateHardwareShipping/README.md +7 -5
  40. catocli/parsers/mutation_policy/__init__.py +1302 -1302
  41. catocli/parsers/mutation_policy_appTenantRestriction_addRule/README.md +8 -6
  42. catocli/parsers/mutation_policy_appTenantRestriction_addSection/README.md +8 -6
  43. catocli/parsers/mutation_policy_appTenantRestriction_createPolicyRevision/README.md +8 -6
  44. catocli/parsers/mutation_policy_appTenantRestriction_discardPolicyRevision/README.md +8 -6
  45. catocli/parsers/mutation_policy_appTenantRestriction_moveRule/README.md +8 -6
  46. catocli/parsers/mutation_policy_appTenantRestriction_moveSection/README.md +8 -6
  47. catocli/parsers/mutation_policy_appTenantRestriction_publishPolicyRevision/README.md +8 -6
  48. catocli/parsers/mutation_policy_appTenantRestriction_removeRule/README.md +8 -6
  49. catocli/parsers/mutation_policy_appTenantRestriction_removeSection/README.md +8 -6
  50. catocli/parsers/mutation_policy_appTenantRestriction_updatePolicy/README.md +8 -6
  51. catocli/parsers/mutation_policy_appTenantRestriction_updateRule/README.md +8 -6
  52. catocli/parsers/mutation_policy_appTenantRestriction_updateSection/README.md +8 -6
  53. catocli/parsers/mutation_policy_dynamicIpAllocation_addRule/README.md +8 -6
  54. catocli/parsers/mutation_policy_dynamicIpAllocation_addSection/README.md +8 -6
  55. catocli/parsers/mutation_policy_dynamicIpAllocation_createPolicyRevision/README.md +8 -6
  56. catocli/parsers/mutation_policy_dynamicIpAllocation_discardPolicyRevision/README.md +8 -6
  57. catocli/parsers/mutation_policy_dynamicIpAllocation_moveRule/README.md +8 -6
  58. catocli/parsers/mutation_policy_dynamicIpAllocation_moveSection/README.md +8 -6
  59. catocli/parsers/mutation_policy_dynamicIpAllocation_publishPolicyRevision/README.md +8 -6
  60. catocli/parsers/mutation_policy_dynamicIpAllocation_removeRule/README.md +8 -6
  61. catocli/parsers/mutation_policy_dynamicIpAllocation_removeSection/README.md +8 -6
  62. catocli/parsers/mutation_policy_dynamicIpAllocation_updatePolicy/README.md +8 -6
  63. catocli/parsers/mutation_policy_dynamicIpAllocation_updateRule/README.md +8 -6
  64. catocli/parsers/mutation_policy_dynamicIpAllocation_updateSection/README.md +8 -6
  65. catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +8 -6
  66. catocli/parsers/mutation_policy_internetFirewall_addSection/README.md +8 -6
  67. catocli/parsers/mutation_policy_internetFirewall_createPolicyRevision/README.md +8 -6
  68. catocli/parsers/mutation_policy_internetFirewall_discardPolicyRevision/README.md +8 -6
  69. catocli/parsers/mutation_policy_internetFirewall_moveRule/README.md +8 -6
  70. catocli/parsers/mutation_policy_internetFirewall_moveSection/README.md +8 -6
  71. catocli/parsers/mutation_policy_internetFirewall_publishPolicyRevision/README.md +8 -6
  72. catocli/parsers/mutation_policy_internetFirewall_removeRule/README.md +8 -6
  73. catocli/parsers/mutation_policy_internetFirewall_removeSection/README.md +8 -6
  74. catocli/parsers/mutation_policy_internetFirewall_updatePolicy/README.md +8 -6
  75. catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +8 -6
  76. catocli/parsers/mutation_policy_internetFirewall_updateSection/README.md +8 -6
  77. catocli/parsers/mutation_policy_remotePortFwd_addRule/README.md +8 -6
  78. catocli/parsers/mutation_policy_remotePortFwd_addSection/README.md +8 -6
  79. catocli/parsers/mutation_policy_remotePortFwd_createPolicyRevision/README.md +8 -6
  80. catocli/parsers/mutation_policy_remotePortFwd_discardPolicyRevision/README.md +8 -6
  81. catocli/parsers/mutation_policy_remotePortFwd_moveRule/README.md +8 -6
  82. catocli/parsers/mutation_policy_remotePortFwd_moveSection/README.md +8 -6
  83. catocli/parsers/mutation_policy_remotePortFwd_publishPolicyRevision/README.md +8 -6
  84. catocli/parsers/mutation_policy_remotePortFwd_removeRule/README.md +8 -6
  85. catocli/parsers/mutation_policy_remotePortFwd_removeSection/README.md +8 -6
  86. catocli/parsers/mutation_policy_remotePortFwd_updatePolicy/README.md +8 -6
  87. catocli/parsers/mutation_policy_remotePortFwd_updateRule/README.md +8 -6
  88. catocli/parsers/mutation_policy_remotePortFwd_updateSection/README.md +8 -6
  89. catocli/parsers/mutation_policy_socketLan_addRule/README.md +8 -6
  90. catocli/parsers/mutation_policy_socketLan_addSection/README.md +8 -6
  91. catocli/parsers/mutation_policy_socketLan_createPolicyRevision/README.md +8 -6
  92. catocli/parsers/mutation_policy_socketLan_discardPolicyRevision/README.md +8 -6
  93. catocli/parsers/mutation_policy_socketLan_moveRule/README.md +8 -6
  94. catocli/parsers/mutation_policy_socketLan_moveSection/README.md +8 -6
  95. catocli/parsers/mutation_policy_socketLan_publishPolicyRevision/README.md +8 -6
  96. catocli/parsers/mutation_policy_socketLan_removeRule/README.md +8 -6
  97. catocli/parsers/mutation_policy_socketLan_removeSection/README.md +8 -6
  98. catocli/parsers/mutation_policy_socketLan_updatePolicy/README.md +8 -6
  99. catocli/parsers/mutation_policy_socketLan_updateRule/README.md +8 -6
  100. catocli/parsers/mutation_policy_socketLan_updateSection/README.md +8 -6
  101. catocli/parsers/mutation_policy_terminalServer_addRule/README.md +8 -6
  102. catocli/parsers/mutation_policy_terminalServer_addSection/README.md +8 -6
  103. catocli/parsers/mutation_policy_terminalServer_createPolicyRevision/README.md +8 -6
  104. catocli/parsers/mutation_policy_terminalServer_discardPolicyRevision/README.md +8 -6
  105. catocli/parsers/mutation_policy_terminalServer_moveRule/README.md +8 -6
  106. catocli/parsers/mutation_policy_terminalServer_moveSection/README.md +8 -6
  107. catocli/parsers/mutation_policy_terminalServer_publishPolicyRevision/README.md +8 -6
  108. catocli/parsers/mutation_policy_terminalServer_removeRule/README.md +8 -6
  109. catocli/parsers/mutation_policy_terminalServer_removeSection/README.md +8 -6
  110. catocli/parsers/mutation_policy_terminalServer_updatePolicy/README.md +8 -6
  111. catocli/parsers/mutation_policy_terminalServer_updateRule/README.md +8 -6
  112. catocli/parsers/mutation_policy_terminalServer_updateSection/README.md +8 -6
  113. catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +8 -6
  114. catocli/parsers/mutation_policy_wanFirewall_addSection/README.md +8 -6
  115. catocli/parsers/mutation_policy_wanFirewall_createPolicyRevision/README.md +8 -6
  116. catocli/parsers/mutation_policy_wanFirewall_discardPolicyRevision/README.md +8 -6
  117. catocli/parsers/mutation_policy_wanFirewall_moveRule/README.md +8 -6
  118. catocli/parsers/mutation_policy_wanFirewall_moveSection/README.md +8 -6
  119. catocli/parsers/mutation_policy_wanFirewall_publishPolicyRevision/README.md +8 -6
  120. catocli/parsers/mutation_policy_wanFirewall_removeRule/README.md +8 -6
  121. catocli/parsers/mutation_policy_wanFirewall_removeSection/README.md +8 -6
  122. catocli/parsers/mutation_policy_wanFirewall_updatePolicy/README.md +8 -6
  123. catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +8 -6
  124. catocli/parsers/mutation_policy_wanFirewall_updateSection/README.md +8 -6
  125. catocli/parsers/mutation_policy_wanNetwork_addRule/README.md +8 -6
  126. catocli/parsers/mutation_policy_wanNetwork_addSection/README.md +8 -6
  127. catocli/parsers/mutation_policy_wanNetwork_createPolicyRevision/README.md +8 -6
  128. catocli/parsers/mutation_policy_wanNetwork_discardPolicyRevision/README.md +8 -6
  129. catocli/parsers/mutation_policy_wanNetwork_moveRule/README.md +8 -6
  130. catocli/parsers/mutation_policy_wanNetwork_moveSection/README.md +8 -6
  131. catocli/parsers/mutation_policy_wanNetwork_publishPolicyRevision/README.md +8 -6
  132. catocli/parsers/mutation_policy_wanNetwork_removeRule/README.md +8 -6
  133. catocli/parsers/mutation_policy_wanNetwork_removeSection/README.md +8 -6
  134. catocli/parsers/mutation_policy_wanNetwork_updatePolicy/README.md +8 -6
  135. catocli/parsers/mutation_policy_wanNetwork_updateRule/README.md +8 -6
  136. catocli/parsers/mutation_policy_wanNetwork_updateSection/README.md +8 -6
  137. catocli/parsers/mutation_sandbox/__init__.py +27 -27
  138. catocli/parsers/mutation_sandbox_deleteReport/README.md +7 -5
  139. catocli/parsers/mutation_sandbox_uploadFile/README.md +7 -5
  140. catocli/parsers/mutation_site/__init__.py +474 -474
  141. catocli/parsers/mutation_site_addBgpPeer/README.md +7 -5
  142. catocli/parsers/mutation_site_addCloudInterconnectPhysicalConnection/README.md +7 -5
  143. catocli/parsers/mutation_site_addCloudInterconnectSite/README.md +7 -5
  144. catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +7 -5
  145. catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +8 -6
  146. catocli/parsers/mutation_site_addNetworkRange/README.md +8 -6
  147. catocli/parsers/mutation_site_addSecondaryAwsVSocket/README.md +7 -5
  148. catocli/parsers/mutation_site_addSecondaryAzureVSocket/README.md +7 -5
  149. catocli/parsers/mutation_site_addSocketAddOnCard/README.md +7 -5
  150. catocli/parsers/mutation_site_addSocketSite/README.md +7 -5
  151. catocli/parsers/mutation_site_addStaticHost/README.md +8 -6
  152. catocli/parsers/mutation_site_assignSiteBwLicense/README.md +7 -5
  153. catocli/parsers/mutation_site_removeBgpPeer/README.md +7 -5
  154. catocli/parsers/mutation_site_removeCloudInterconnectPhysicalConnection/README.md +7 -5
  155. catocli/parsers/mutation_site_removeIpsecIkeV2SiteTunnels/README.md +8 -6
  156. catocli/parsers/mutation_site_removeNetworkRange/README.md +7 -5
  157. catocli/parsers/mutation_site_removeSecondaryAwsVSocket/README.md +7 -5
  158. catocli/parsers/mutation_site_removeSecondaryAzureVSocket/README.md +7 -5
  159. catocli/parsers/mutation_site_removeSite/README.md +7 -5
  160. catocli/parsers/mutation_site_removeSiteBwLicense/README.md +7 -5
  161. catocli/parsers/mutation_site_removeSocketAddOnCard/README.md +7 -5
  162. catocli/parsers/mutation_site_removeStaticHost/README.md +7 -5
  163. catocli/parsers/mutation_site_replaceSiteBwLicense/README.md +7 -5
  164. catocli/parsers/mutation_site_startSiteUpgrade/README.md +7 -5
  165. catocli/parsers/mutation_site_updateBgpPeer/README.md +7 -5
  166. catocli/parsers/mutation_site_updateCloudInterconnectPhysicalConnection/README.md +7 -5
  167. catocli/parsers/mutation_site_updateHa/README.md +8 -6
  168. catocli/parsers/mutation_site_updateIpsecIkeV2SiteGeneralDetails/README.md +8 -6
  169. catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +8 -6
  170. catocli/parsers/mutation_site_updateNetworkRange/README.md +8 -6
  171. catocli/parsers/mutation_site_updateSecondaryAwsVSocket/README.md +7 -5
  172. catocli/parsers/mutation_site_updateSecondaryAzureVSocket/README.md +7 -5
  173. catocli/parsers/mutation_site_updateSiteBwLicense/README.md +7 -5
  174. catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +8 -6
  175. catocli/parsers/mutation_site_updateSocketInterface/README.md +9 -7
  176. catocli/parsers/mutation_site_updateStaticHost/README.md +8 -6
  177. catocli/parsers/mutation_sites/__init__.py +474 -474
  178. catocli/parsers/mutation_sites_addBgpPeer/README.md +7 -5
  179. catocli/parsers/mutation_sites_addCloudInterconnectPhysicalConnection/README.md +7 -5
  180. catocli/parsers/mutation_sites_addCloudInterconnectSite/README.md +7 -5
  181. catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +7 -5
  182. catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +8 -6
  183. catocli/parsers/mutation_sites_addNetworkRange/README.md +8 -6
  184. catocli/parsers/mutation_sites_addSecondaryAwsVSocket/README.md +7 -5
  185. catocli/parsers/mutation_sites_addSecondaryAzureVSocket/README.md +7 -5
  186. catocli/parsers/mutation_sites_addSocketAddOnCard/README.md +7 -5
  187. catocli/parsers/mutation_sites_addSocketSite/README.md +7 -5
  188. catocli/parsers/mutation_sites_addStaticHost/README.md +8 -6
  189. catocli/parsers/mutation_sites_assignSiteBwLicense/README.md +7 -5
  190. catocli/parsers/mutation_sites_removeBgpPeer/README.md +7 -5
  191. catocli/parsers/mutation_sites_removeCloudInterconnectPhysicalConnection/README.md +7 -5
  192. catocli/parsers/mutation_sites_removeIpsecIkeV2SiteTunnels/README.md +8 -6
  193. catocli/parsers/mutation_sites_removeNetworkRange/README.md +7 -5
  194. catocli/parsers/mutation_sites_removeSecondaryAwsVSocket/README.md +7 -5
  195. catocli/parsers/mutation_sites_removeSecondaryAzureVSocket/README.md +7 -5
  196. catocli/parsers/mutation_sites_removeSite/README.md +7 -5
  197. catocli/parsers/mutation_sites_removeSiteBwLicense/README.md +7 -5
  198. catocli/parsers/mutation_sites_removeSocketAddOnCard/README.md +7 -5
  199. catocli/parsers/mutation_sites_removeStaticHost/README.md +7 -5
  200. catocli/parsers/mutation_sites_replaceSiteBwLicense/README.md +7 -5
  201. catocli/parsers/mutation_sites_startSiteUpgrade/README.md +7 -5
  202. catocli/parsers/mutation_sites_updateBgpPeer/README.md +7 -5
  203. catocli/parsers/mutation_sites_updateCloudInterconnectPhysicalConnection/README.md +7 -5
  204. catocli/parsers/mutation_sites_updateHa/README.md +8 -6
  205. catocli/parsers/mutation_sites_updateIpsecIkeV2SiteGeneralDetails/README.md +8 -6
  206. catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +8 -6
  207. catocli/parsers/mutation_sites_updateNetworkRange/README.md +8 -6
  208. catocli/parsers/mutation_sites_updateSecondaryAwsVSocket/README.md +7 -5
  209. catocli/parsers/mutation_sites_updateSecondaryAzureVSocket/README.md +7 -5
  210. catocli/parsers/mutation_sites_updateSiteBwLicense/README.md +7 -5
  211. catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +8 -6
  212. catocli/parsers/mutation_sites_updateSocketInterface/README.md +9 -7
  213. catocli/parsers/mutation_sites_updateStaticHost/README.md +8 -6
  214. catocli/parsers/mutation_xdr/__init__.py +45 -45
  215. catocli/parsers/mutation_xdr_addStoryComment/README.md +7 -5
  216. catocli/parsers/mutation_xdr_analystFeedback/README.md +7 -6
  217. catocli/parsers/mutation_xdr_deleteStoryComment/README.md +7 -5
  218. catocli/parsers/query_accountBySubdomain/README.md +7 -5
  219. catocli/parsers/query_accountBySubdomain/__init__.py +12 -12
  220. catocli/parsers/query_accountManagement/README.md +4 -5
  221. catocli/parsers/query_accountManagement/__init__.py +12 -12
  222. catocli/parsers/query_accountMetrics/README.md +20 -18
  223. catocli/parsers/query_accountMetrics/__init__.py +12 -12
  224. catocli/parsers/query_accountRoles/README.md +7 -5
  225. catocli/parsers/query_accountRoles/__init__.py +12 -12
  226. catocli/parsers/query_accountSnapshot/README.md +8 -6
  227. catocli/parsers/query_accountSnapshot/__init__.py +12 -12
  228. catocli/parsers/query_admin/README.md +7 -5
  229. catocli/parsers/query_admin/__init__.py +12 -12
  230. catocli/parsers/query_admins/README.md +11 -9
  231. catocli/parsers/query_admins/__init__.py +12 -12
  232. catocli/parsers/query_appStats/README.md +20 -11
  233. catocli/parsers/query_appStats/__init__.py +12 -12
  234. catocli/parsers/query_appStatsTimeSeries/README.md +21 -12
  235. catocli/parsers/query_appStatsTimeSeries/__init__.py +12 -12
  236. catocli/parsers/query_auditFeed/README.md +10 -8
  237. catocli/parsers/query_auditFeed/__init__.py +12 -12
  238. catocli/parsers/query_catalogs/README.md +9 -7
  239. catocli/parsers/query_catalogs/__init__.py +12 -12
  240. catocli/parsers/query_container/README.md +13 -11
  241. catocli/parsers/query_container/__init__.py +12 -12
  242. catocli/parsers/query_devices/README.md +10 -8
  243. catocli/parsers/query_devices/__init__.py +12 -12
  244. catocli/parsers/query_enterpriseDirectory/README.md +19 -0
  245. catocli/parsers/query_enterpriseDirectory/__init__.py +16 -0
  246. catocli/parsers/query_entityLookup/README.md +19 -17
  247. catocli/parsers/query_entityLookup/__init__.py +12 -12
  248. catocli/parsers/query_events/README.md +13 -11
  249. catocli/parsers/query_events/__init__.py +12 -12
  250. catocli/parsers/query_eventsFeed/README.md +9 -7
  251. catocli/parsers/query_eventsFeed/__init__.py +12 -12
  252. catocli/parsers/query_eventsTimeSeries/README.md +14 -12
  253. catocli/parsers/query_eventsTimeSeries/__init__.py +12 -12
  254. catocli/parsers/query_groups/__init__.py +51 -51
  255. catocli/parsers/query_groups_groupList/README.md +8 -6
  256. catocli/parsers/query_groups_group_members/README.md +8 -6
  257. catocli/parsers/query_groups_whereUsed/README.md +7 -5
  258. catocli/parsers/query_hardware/README.md +7 -5
  259. catocli/parsers/query_hardware/__init__.py +12 -12
  260. catocli/parsers/query_hardwareManagement/README.md +7 -5
  261. catocli/parsers/query_hardwareManagement/__init__.py +12 -12
  262. catocli/parsers/query_licensing/README.md +4 -5
  263. catocli/parsers/query_licensing/__init__.py +12 -12
  264. catocli/parsers/query_policy/__init__.py +158 -158
  265. catocli/parsers/query_policy_appTenantRestriction_policy/README.md +7 -5
  266. catocli/parsers/query_policy_dynamicIpAllocation_policy/README.md +7 -5
  267. catocli/parsers/query_policy_internetFirewall_policy/README.md +7 -5
  268. catocli/parsers/query_policy_remotePortFwd_policy/README.md +7 -5
  269. catocli/parsers/query_policy_socketLan_policy/README.md +7 -5
  270. catocli/parsers/query_policy_terminalServer_policy/README.md +7 -5
  271. catocli/parsers/query_policy_wanFirewall_policy/README.md +7 -5
  272. catocli/parsers/query_policy_wanNetwork_policy/README.md +7 -5
  273. catocli/parsers/query_popLocations/README.md +7 -5
  274. catocli/parsers/query_popLocations/__init__.py +12 -12
  275. catocli/parsers/query_sandbox/README.md +7 -5
  276. catocli/parsers/query_sandbox/__init__.py +12 -12
  277. catocli/parsers/query_servicePrincipalAdmin/README.md +19 -0
  278. catocli/parsers/query_servicePrincipalAdmin/__init__.py +16 -0
  279. catocli/parsers/query_site/__init__.py +123 -123
  280. catocli/parsers/query_siteLocation/__init__.py +10 -10
  281. catocli/parsers/query_site_availableVersionList/README.md +7 -5
  282. catocli/parsers/query_site_bgpPeer/README.md +7 -5
  283. catocli/parsers/query_site_bgpPeerList/README.md +7 -5
  284. catocli/parsers/query_site_cloudInterconnectConnectionConnectivity/README.md +7 -5
  285. catocli/parsers/query_site_cloudInterconnectPhysicalConnection/README.md +7 -5
  286. catocli/parsers/query_site_cloudInterconnectPhysicalConnectionId/README.md +7 -5
  287. catocli/parsers/query_site_secondaryAwsVSocket/README.md +7 -5
  288. catocli/parsers/query_site_secondaryAzureVSocket/README.md +7 -5
  289. catocli/parsers/query_site_siteBgpStatus/README.md +7 -5
  290. catocli/parsers/query_socketPortMetrics/README.md +13 -11
  291. catocli/parsers/query_socketPortMetrics/__init__.py +12 -12
  292. catocli/parsers/query_socketPortMetricsTimeSeries/README.md +14 -12
  293. catocli/parsers/query_socketPortMetricsTimeSeries/__init__.py +12 -12
  294. catocli/parsers/query_subDomains/README.md +7 -5
  295. catocli/parsers/query_subDomains/__init__.py +12 -12
  296. catocli/parsers/query_xdr/__init__.py +27 -27
  297. catocli/parsers/query_xdr_stories/README.md +7 -6
  298. catocli/parsers/query_xdr_story/README.md +9 -8
  299. catocli/parsers/raw/__init__.py +9 -9
  300. {catocli-2.1.1.dist-info → catocli-2.1.2.dist-info}/METADATA +1 -1
  301. catocli-2.1.2.dist-info/RECORD +659 -0
  302. models/mutation.accountManagement.addAccount.json +5 -15
  303. models/mutation.accountManagement.updateAccount.json +1 -3
  304. models/mutation.admin.addAdmin.json +14 -35
  305. models/mutation.admin.addServicePrincipalAdmin.json +2554 -0
  306. models/mutation.admin.removeAdmin.json +1 -1
  307. models/mutation.admin.removeServicePrincipalAdmin.json +201 -0
  308. models/mutation.admin.updateAdmin.json +13 -30
  309. models/mutation.admin.updateServicePrincipalAdmin.json +2554 -0
  310. models/mutation.container.delete.json +9 -435
  311. models/mutation.container.fqdn.addValues.json +6 -11
  312. models/mutation.container.fqdn.createFromFile.json +4 -12
  313. models/mutation.container.fqdn.removeValues.json +6 -11
  314. models/mutation.container.fqdn.updateFromFile.json +5 -15
  315. models/mutation.container.ipAddressRange.addValues.json +4 -12
  316. models/mutation.container.ipAddressRange.createFromFile.json +4 -12
  317. models/mutation.container.ipAddressRange.removeValues.json +4 -12
  318. models/mutation.container.ipAddressRange.updateFromFile.json +5 -15
  319. models/mutation.enterpriseDirectory.archiveLocation.json +1046 -0
  320. models/mutation.enterpriseDirectory.createLocation.json +2521 -0
  321. models/mutation.enterpriseDirectory.restoreLocation.json +1046 -0
  322. models/mutation.enterpriseDirectory.updateLocation.json +2567 -0
  323. models/mutation.groups.createGroup.json +39 -171
  324. models/mutation.groups.deleteGroup.json +36 -162
  325. models/mutation.groups.updateGroup.json +41 -177
  326. models/mutation.hardware.updateHardwareShipping.json +18 -47
  327. models/mutation.policy.appTenantRestriction.addRule.json +50 -136
  328. models/mutation.policy.appTenantRestriction.addSection.json +4 -12
  329. models/mutation.policy.appTenantRestriction.createPolicyRevision.json +3 -9
  330. models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +2 -6
  331. models/mutation.policy.appTenantRestriction.moveRule.json +4 -12
  332. models/mutation.policy.appTenantRestriction.moveSection.json +4 -12
  333. models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +3 -9
  334. models/mutation.policy.appTenantRestriction.removeRule.json +2 -6
  335. models/mutation.policy.appTenantRestriction.removeSection.json +2 -6
  336. models/mutation.policy.appTenantRestriction.updatePolicy.json +2 -6
  337. models/mutation.policy.appTenantRestriction.updateRule.json +49 -133
  338. models/mutation.policy.appTenantRestriction.updateSection.json +3 -9
  339. models/mutation.policy.dynamicIpAllocation.addRule.json +15 -45
  340. models/mutation.policy.dynamicIpAllocation.addSection.json +4 -12
  341. models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +3 -9
  342. models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +2 -6
  343. models/mutation.policy.dynamicIpAllocation.moveRule.json +4 -12
  344. models/mutation.policy.dynamicIpAllocation.moveSection.json +4 -12
  345. models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +3 -9
  346. models/mutation.policy.dynamicIpAllocation.removeRule.json +2 -6
  347. models/mutation.policy.dynamicIpAllocation.removeSection.json +2 -6
  348. models/mutation.policy.dynamicIpAllocation.updatePolicy.json +2 -6
  349. models/mutation.policy.dynamicIpAllocation.updateRule.json +14 -42
  350. models/mutation.policy.dynamicIpAllocation.updateSection.json +3 -9
  351. models/mutation.policy.internetFirewall.addRule.json +248 -542
  352. models/mutation.policy.internetFirewall.addSection.json +4 -12
  353. models/mutation.policy.internetFirewall.createPolicyRevision.json +3 -9
  354. models/mutation.policy.internetFirewall.discardPolicyRevision.json +2 -6
  355. models/mutation.policy.internetFirewall.moveRule.json +4 -12
  356. models/mutation.policy.internetFirewall.moveSection.json +4 -12
  357. models/mutation.policy.internetFirewall.publishPolicyRevision.json +3 -9
  358. models/mutation.policy.internetFirewall.removeRule.json +2 -6
  359. models/mutation.policy.internetFirewall.removeSection.json +2 -6
  360. models/mutation.policy.internetFirewall.updatePolicy.json +2 -6
  361. models/mutation.policy.internetFirewall.updateRule.json +247 -539
  362. models/mutation.policy.internetFirewall.updateSection.json +3 -9
  363. models/mutation.policy.remotePortFwd.addRule.json +35 -91
  364. models/mutation.policy.remotePortFwd.addSection.json +4 -12
  365. models/mutation.policy.remotePortFwd.createPolicyRevision.json +3 -9
  366. models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2 -6
  367. models/mutation.policy.remotePortFwd.moveRule.json +4 -12
  368. models/mutation.policy.remotePortFwd.moveSection.json +4 -12
  369. models/mutation.policy.remotePortFwd.publishPolicyRevision.json +3 -9
  370. models/mutation.policy.remotePortFwd.removeRule.json +2 -6
  371. models/mutation.policy.remotePortFwd.removeSection.json +2 -6
  372. models/mutation.policy.remotePortFwd.updatePolicy.json +2 -6
  373. models/mutation.policy.remotePortFwd.updateRule.json +34 -88
  374. models/mutation.policy.remotePortFwd.updateSection.json +3 -9
  375. models/mutation.policy.socketLan.addRule.json +78 -185
  376. models/mutation.policy.socketLan.addSection.json +4 -12
  377. models/mutation.policy.socketLan.createPolicyRevision.json +3 -9
  378. models/mutation.policy.socketLan.discardPolicyRevision.json +2 -6
  379. models/mutation.policy.socketLan.moveRule.json +4 -12
  380. models/mutation.policy.socketLan.moveSection.json +4 -12
  381. models/mutation.policy.socketLan.publishPolicyRevision.json +3 -9
  382. models/mutation.policy.socketLan.removeRule.json +2 -6
  383. models/mutation.policy.socketLan.removeSection.json +2 -6
  384. models/mutation.policy.socketLan.updatePolicy.json +2 -6
  385. models/mutation.policy.socketLan.updateRule.json +77 -182
  386. models/mutation.policy.socketLan.updateSection.json +3 -9
  387. models/mutation.policy.terminalServer.addRule.json +10 -30
  388. models/mutation.policy.terminalServer.addSection.json +4 -12
  389. models/mutation.policy.terminalServer.createPolicyRevision.json +3 -9
  390. models/mutation.policy.terminalServer.discardPolicyRevision.json +2 -6
  391. models/mutation.policy.terminalServer.moveRule.json +4 -12
  392. models/mutation.policy.terminalServer.moveSection.json +4 -12
  393. models/mutation.policy.terminalServer.publishPolicyRevision.json +3 -9
  394. models/mutation.policy.terminalServer.removeRule.json +2 -6
  395. models/mutation.policy.terminalServer.removeSection.json +2 -6
  396. models/mutation.policy.terminalServer.updatePolicy.json +2 -6
  397. models/mutation.policy.terminalServer.updateRule.json +9 -27
  398. models/mutation.policy.terminalServer.updateSection.json +3 -9
  399. models/mutation.policy.wanFirewall.addRule.json +290 -654
  400. models/mutation.policy.wanFirewall.addSection.json +4 -12
  401. models/mutation.policy.wanFirewall.createPolicyRevision.json +3 -9
  402. models/mutation.policy.wanFirewall.discardPolicyRevision.json +2 -6
  403. models/mutation.policy.wanFirewall.moveRule.json +4 -12
  404. models/mutation.policy.wanFirewall.moveSection.json +4 -12
  405. models/mutation.policy.wanFirewall.publishPolicyRevision.json +3 -9
  406. models/mutation.policy.wanFirewall.removeRule.json +2 -6
  407. models/mutation.policy.wanFirewall.removeSection.json +2 -6
  408. models/mutation.policy.wanFirewall.updatePolicy.json +2 -6
  409. models/mutation.policy.wanFirewall.updateRule.json +289 -651
  410. models/mutation.policy.wanFirewall.updateSection.json +3 -9
  411. models/mutation.policy.wanNetwork.addRule.json +204 -514
  412. models/mutation.policy.wanNetwork.addSection.json +4 -12
  413. models/mutation.policy.wanNetwork.createPolicyRevision.json +3 -9
  414. models/mutation.policy.wanNetwork.discardPolicyRevision.json +2 -6
  415. models/mutation.policy.wanNetwork.moveRule.json +4 -12
  416. models/mutation.policy.wanNetwork.moveSection.json +4 -12
  417. models/mutation.policy.wanNetwork.publishPolicyRevision.json +3 -9
  418. models/mutation.policy.wanNetwork.removeRule.json +2 -6
  419. models/mutation.policy.wanNetwork.removeSection.json +2 -6
  420. models/mutation.policy.wanNetwork.updatePolicy.json +2 -6
  421. models/mutation.policy.wanNetwork.updateRule.json +203 -511
  422. models/mutation.policy.wanNetwork.updateSection.json +3 -9
  423. models/mutation.sandbox.deleteReport.json +1 -3
  424. models/mutation.sandbox.uploadFile.json +1 -3
  425. models/mutation.site.addBgpPeer.json +48 -123
  426. models/mutation.site.addCloudInterconnectPhysicalConnection.json +12 -36
  427. models/mutation.site.addCloudInterconnectSite.json +8 -24
  428. models/mutation.site.addIpsecIkeV2Site.json +10 -30
  429. models/mutation.site.addIpsecIkeV2SiteTunnels.json +14 -40
  430. models/mutation.site.addNetworkRange.json +15 -43
  431. models/mutation.site.addSecondaryAwsVSocket.json +5 -15
  432. models/mutation.site.addSecondaryAzureVSocket.json +4 -12
  433. models/mutation.site.addSocketAddOnCard.json +4 -12
  434. models/mutation.site.addSocketSite.json +12 -36
  435. models/mutation.site.addStaticHost.json +4 -10
  436. models/mutation.site.assignSiteBwLicense.json +120 -11782
  437. models/mutation.site.removeBgpPeer.json +1 -3
  438. models/mutation.site.removeCloudInterconnectPhysicalConnection.json +1 -3
  439. models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -4
  440. models/mutation.site.removeNetworkRange.json +1 -1
  441. models/mutation.site.removeSecondaryAwsVSocket.json +1 -1
  442. models/mutation.site.removeSecondaryAzureVSocket.json +1 -1
  443. models/mutation.site.removeSite.json +1 -1
  444. models/mutation.site.removeSiteBwLicense.json +119 -11779
  445. models/mutation.site.removeSocketAddOnCard.json +3 -9
  446. models/mutation.site.removeStaticHost.json +1 -1
  447. models/mutation.site.replaceSiteBwLicense.json +121 -11785
  448. models/mutation.site.startSiteUpgrade.json +3 -9
  449. models/mutation.site.updateBgpPeer.json +47 -120
  450. models/mutation.site.updateCloudInterconnectPhysicalConnection.json +10 -30
  451. models/mutation.site.updateHa.json +4 -10
  452. models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json +11 -24
  453. models/mutation.site.updateIpsecIkeV2SiteTunnels.json +15 -43
  454. models/mutation.site.updateNetworkRange.json +15 -43
  455. models/mutation.site.updateSecondaryAwsVSocket.json +4 -12
  456. models/mutation.site.updateSecondaryAzureVSocket.json +3 -9
  457. models/mutation.site.updateSiteBwLicense.json +120 -11782
  458. models/mutation.site.updateSiteGeneralDetails.json +14 -40
  459. models/mutation.site.updateSocketInterface.json +26 -74
  460. models/mutation.site.updateStaticHost.json +4 -10
  461. models/mutation.sites.addBgpPeer.json +48 -123
  462. models/mutation.sites.addCloudInterconnectPhysicalConnection.json +12 -36
  463. models/mutation.sites.addCloudInterconnectSite.json +8 -24
  464. models/mutation.sites.addIpsecIkeV2Site.json +10 -30
  465. models/mutation.sites.addIpsecIkeV2SiteTunnels.json +14 -40
  466. models/mutation.sites.addNetworkRange.json +15 -43
  467. models/mutation.sites.addSecondaryAwsVSocket.json +5 -15
  468. models/mutation.sites.addSecondaryAzureVSocket.json +4 -12
  469. models/mutation.sites.addSocketAddOnCard.json +4 -12
  470. models/mutation.sites.addSocketSite.json +12 -36
  471. models/mutation.sites.addStaticHost.json +4 -10
  472. models/mutation.sites.assignSiteBwLicense.json +120 -11782
  473. models/mutation.sites.removeBgpPeer.json +1 -3
  474. models/mutation.sites.removeCloudInterconnectPhysicalConnection.json +1 -3
  475. models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -4
  476. models/mutation.sites.removeNetworkRange.json +1 -1
  477. models/mutation.sites.removeSecondaryAwsVSocket.json +1 -1
  478. models/mutation.sites.removeSecondaryAzureVSocket.json +1 -1
  479. models/mutation.sites.removeSite.json +1 -1
  480. models/mutation.sites.removeSiteBwLicense.json +119 -11779
  481. models/mutation.sites.removeSocketAddOnCard.json +3 -9
  482. models/mutation.sites.removeStaticHost.json +1 -1
  483. models/mutation.sites.replaceSiteBwLicense.json +121 -11785
  484. models/mutation.sites.startSiteUpgrade.json +3 -9
  485. models/mutation.sites.updateBgpPeer.json +47 -120
  486. models/mutation.sites.updateCloudInterconnectPhysicalConnection.json +10 -30
  487. models/mutation.sites.updateHa.json +4 -10
  488. models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json +11 -24
  489. models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +15 -43
  490. models/mutation.sites.updateNetworkRange.json +15 -43
  491. models/mutation.sites.updateSecondaryAwsVSocket.json +4 -12
  492. models/mutation.sites.updateSecondaryAzureVSocket.json +3 -9
  493. models/mutation.sites.updateSiteBwLicense.json +120 -11782
  494. models/mutation.sites.updateSiteGeneralDetails.json +14 -40
  495. models/mutation.sites.updateSocketInterface.json +26 -74
  496. models/mutation.sites.updateStaticHost.json +4 -10
  497. models/mutation.xdr.addStoryComment.json +15 -113
  498. models/mutation.xdr.analystFeedback.json +229 -26307
  499. models/mutation.xdr.deleteStoryComment.json +15 -113
  500. models/query.accountBySubdomain.json +2 -1
  501. models/query.accountMetrics.json +15 -12
  502. models/query.accountRoles.json +1 -1
  503. models/query.accountSnapshot.json +4 -2
  504. models/query.admin.json +1 -1
  505. models/query.admins.json +7 -10
  506. models/query.appStats.json +633 -33
  507. models/query.appStatsTimeSeries.json +15 -28
  508. models/query.auditFeed.json +225 -16
  509. models/query.catalogs.json +106 -215
  510. models/query.container.json +21 -471
  511. models/query.devices.json +333 -620
  512. models/query.enterpriseDirectory.json +3596 -0
  513. models/query.entityLookup.json +15 -27
  514. models/query.events.json +1875 -33
  515. models/query.eventsFeed.json +30 -14
  516. models/query.eventsTimeSeries.json +15 -28
  517. models/query.groups.group.members.json +23 -55
  518. models/query.groups.groupList.json +87 -266
  519. models/query.groups.whereUsed.json +2 -6
  520. models/query.hardware.json +92 -192
  521. models/query.hardwareManagement.json +21 -63
  522. models/query.licensing.json +76 -11721
  523. models/query.policy.appTenantRestriction.policy.json +2 -6
  524. models/query.policy.dynamicIpAllocation.policy.json +2 -6
  525. models/query.policy.internetFirewall.policy.json +2 -6
  526. models/query.policy.remotePortFwd.policy.json +2 -6
  527. models/query.policy.socketLan.policy.json +2 -6
  528. models/query.policy.terminalServer.policy.json +2 -6
  529. models/query.policy.wanFirewall.policy.json +2 -6
  530. models/query.policy.wanNetwork.policy.json +2 -6
  531. models/query.popLocations.json +34 -74
  532. models/query.sandbox.json +44 -83
  533. models/query.servicePrincipalAdmin.json +1098 -0
  534. models/query.site.availableVersionList.json +4 -5
  535. models/query.site.bgpPeer.json +2 -6
  536. models/query.site.bgpPeerList.json +2 -6
  537. models/query.site.cloudInterconnectConnectionConnectivity.json +1 -3
  538. models/query.site.cloudInterconnectPhysicalConnection.json +1 -3
  539. models/query.site.cloudInterconnectPhysicalConnectionId.json +3 -9
  540. models/query.site.secondaryAwsVSocket.json +1 -1
  541. models/query.site.secondaryAzureVSocket.json +1 -1
  542. models/query.site.siteBgpStatus.json +2 -6
  543. models/query.socketPortMetrics.json +465 -33
  544. models/query.socketPortMetricsTimeSeries.json +15 -28
  545. models/query.subDomains.json +1 -1
  546. models/query.xdr.stories.json +306 -26440
  547. models/query.xdr.story.json +40 -26100
  548. schema/catolib.py +1262 -970
  549. schema/importSchema.py +53 -48
  550. catocli/parsers/mutation/README.md +0 -4
  551. catocli/parsers/mutation_accountManagement_disableAccount/README.md +0 -16
  552. catocli/parsers/parserApiClient.py +0 -948
  553. catocli/parsers/query/README.md +0 -3
  554. catocli-2.1.1.dist-info/RECORD +0 -645
  555. models/mutation.accountManagement.disableAccount.json +0 -545
  556. models/query.policy.json +0 -40899
  557. models/query.site.json +0 -5688
  558. schema/remove_policyid.py +0 -89
  559. schema/remove_policyid_mutations.py +0 -89
  560. {catocli-2.1.1.dist-info → catocli-2.1.2.dist-info}/WHEEL +0 -0
  561. {catocli-2.1.1.dist-info → catocli-2.1.2.dist-info}/entry_points.txt +0 -0
  562. {catocli-2.1.1.dist-info → catocli-2.1.2.dist-info}/licenses/LICENSE +0 -0
  563. {catocli-2.1.1.dist-info → catocli-2.1.2.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.auditFeed:
3
- [Click here](https://api.catonetworks.com/documentation/#query-auditFeed) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.auditFeed) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.auditFeed:
6
6
 
@@ -8,13 +8,15 @@
8
8
 
9
9
  `catocli query auditFeed <json>`
10
10
 
11
- `catocli query auditFeed "$(cat < auditFeed.json)"`
11
+ `catocli query auditFeed "$(cat < query.auditFeed.json)"`
12
+
13
+ `catocli query auditFeed '{"accountIDs":["id1","id2"],"auditFieldFilterInput":{"fieldNameInput":{"AuditFieldName":"admin"},"operator":"is","values":["string1","string2"]},"fieldNames":"admin","marker":"string","timeFrame":"example_value"}'`
12
14
 
13
- `catocli query auditFeed '{"accountIDs": ["ID"], "auditFieldFilterInput": {"fieldNameInput": {"AuditFieldName": {"AuditFieldName": "enum(AuditFieldName)"}}, "operator": {"operator": "enum(ElasticOperator)"}, "values": {"values": ["String"]}}, "fieldNames": "enum(AuditFieldName)", "marker": "String", "timeFrame": "TimeFrame"}'`
14
15
 
15
16
  #### Operation Arguments for query.auditFeed ####
16
- `accountIDs` [ID[]] - (optional) List of Unique Account Identifiers.
17
- `auditFieldFilterInput` [AuditFieldFilterInput[]] - (optional) N/A
18
- `fieldNames` [AuditFieldName[]] - (optional) N/A Default Value: ['admin', 'apiKey', 'model_name', 'admin_id', 'module', 'audit_creation_type', 'insertion_date', 'change_type', 'creation_date', 'model_type', 'account', 'account_id']
19
- `marker` [String] - (optional) Marker to use to get results from
20
- `timeFrame` [TimeFrame] - (required) N/A
17
+
18
+ `accountIDs` [ID[]] - (required) List of Unique Account Identifiers.
19
+ `auditFieldFilterInput` [AuditFieldFilterInput[]] - (required) N/A
20
+ `fieldNames` [AuditFieldName[]] - (required) N/A Default Value: ['admin', 'apiKey', 'model_name', 'admin_id', 'module', 'audit_creation_type', 'insertion_date', 'change_type', 'creation_date', 'model_type', 'account', 'account_id']
21
+ `marker` [String] - (required) Marker to use to get results from
22
+ `timeFrame` [TimeFrame] - (required) N/A
@@ -1,16 +1,16 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def query_auditFeed_parse(query_subparsers):
5
- query_auditFeed_parser = query_subparsers.add_parser('auditFeed',
6
- help='auditFeed() query operation',
7
- usage=get_help("query_auditFeed"))
5
+ query_auditFeed_parser = query_subparsers.add_parser('auditFeed',
6
+ help='auditFeed() query operation',
7
+ usage=get_help("query_auditFeed"))
8
8
 
9
- query_auditFeed_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
- query_auditFeed_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
11
- query_auditFeed_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
- query_auditFeed_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
- query_auditFeed_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
- query_auditFeed_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
- query_auditFeed_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
- query_auditFeed_parser.set_defaults(func=createRequest,operation_name='query.auditFeed')
9
+ query_auditFeed_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_auditFeed_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.')
11
+ query_auditFeed_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_auditFeed_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_auditFeed_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_auditFeed_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_auditFeed_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_auditFeed_parser.set_defaults(func=createRequest,operation_name='query.auditFeed')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.catalogs:
3
- [Click here](https://api.catonetworks.com/documentation/#query-catalogs) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.catalogs) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.catalogs:
6
6
 
@@ -8,12 +8,14 @@
8
8
 
9
9
  `catocli query catalogs <json>`
10
10
 
11
- `catocli query catalogs "$(cat < catalogs.json)"`
11
+ `catocli query catalogs "$(cat < query.catalogs.json)"`
12
+
13
+ `catocli query catalogs '{"applicationRefInput":{"by":"ID","input":"string"},"catalogApplicationContentTypeGroupListInput":{"catalogApplicationContentTypeGroupFilterInput":{"contentType":{"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"catalogApplicationContentTypeGroupSortInput":{"name":{"direction":"ASC","priority":1}},"pagingInput":{"from":1,"limit":1}},"catalogApplicationListInput":{"catalogApplicationFilterInput":{"activity":{"hasAny":{"by":"ID","input":"string"}},"capability":{"hasAny":"APP_CONTROL_INLINE"},"category":{"hasAny":{"by":"ID","input":"string"}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"recentlyAdded":{"eq":true,"neq":true},"risk":{"between":[1,2],"eq":1,"gt":1,"gte":1,"in":[1,2],"lt":1,"lte":1,"neq":1,"nin":[1,2]},"type":{"eq":"APPLICATION","in":"APPLICATION","neq":"APPLICATION","nin":"APPLICATION"}},"catalogApplicationSortInput":{"category":{"name":{"direction":"ASC","priority":1}},"description":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1},"risk":{"direction":"ASC","priority":1},"type":{"direction":"ASC","priority":1}},"pagingInput":{"from":1,"limit":1}}}'`
12
14
 
13
- `catocli query catalogs '{"applicationRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "catalogApplicationContentTypeGroupListInput": {"catalogApplicationContentTypeGroupFilterInput": {"contentType": {"id": {"eq": {"eq": "ID"}, "in": {"in": ["ID"]}, "neq": {"neq": "ID"}, "nin": {"nin": ["ID"]}}, "name": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "id": {"eq": {"eq": "ID"}, "in": {"in": ["ID"]}, "neq": {"neq": "ID"}, "nin": {"nin": ["ID"]}}, "name": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "catalogApplicationContentTypeGroupSortInput": {"name": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "pagingInput": {"from": {"from": "Int"}, "limit": {"limit": "Int"}}}, "catalogApplicationListInput": {"catalogApplicationFilterInput": {"activity": {"hasAny": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "capability": {"hasAny": {"hasAny": "enum(CatalogApplicationCapability)"}}, "category": {"hasAny": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "id": {"eq": {"eq": "ID"}, "in": {"in": ["ID"]}, "neq": {"neq": "ID"}, "nin": {"nin": ["ID"]}}, "name": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "recentlyAdded": {"eq": {"eq": "Boolean"}, "neq": {"neq": "Boolean"}}, "risk": {"between": {"between": ["Int"]}, "eq": {"eq": "Int"}, "gt": {"gt": "Int"}, "gte": {"gte": "Int"}, "in": {"in": ["Int"]}, "lt": {"lt": "Int"}, "lte": {"lte": "Int"}, "neq": {"neq": "Int"}, "nin": {"nin": ["Int"]}}, "type": {"eq": {"eq": "enum(CatalogApplicationType)"}, "in": {"in": "enum(CatalogApplicationType)"}, "neq": {"neq": "enum(CatalogApplicationType)"}, "nin": {"nin": "enum(CatalogApplicationType)"}}}, "catalogApplicationSortInput": {"category": {"name": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "description": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "name": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "risk": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "type": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "pagingInput": {"from": {"from": "Int"}, "limit": {"limit": "Int"}}}}'`
14
15
 
15
16
  #### Operation Arguments for query.catalogs ####
16
- `accountId` [ID] - (required) N/A
17
- `applicationRefInput` [ApplicationRefInput] - (required) N/A
18
- `catalogApplicationContentTypeGroupListInput` [CatalogApplicationContentTypeGroupListInput] - (required) N/A
19
- `catalogApplicationListInput` [CatalogApplicationListInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `applicationRefInput` [ApplicationRefInput] - (required) N/A
20
+ `catalogApplicationContentTypeGroupListInput` [CatalogApplicationContentTypeGroupListInput] - (required) N/A
21
+ `catalogApplicationListInput` [CatalogApplicationListInput] - (required) N/A
@@ -1,16 +1,16 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def query_catalogs_parse(query_subparsers):
5
- query_catalogs_parser = query_subparsers.add_parser('catalogs',
6
- help='catalogs() query operation',
7
- usage=get_help("query_catalogs"))
5
+ query_catalogs_parser = query_subparsers.add_parser('catalogs',
6
+ help='catalogs() query operation',
7
+ usage=get_help("query_catalogs"))
8
8
 
9
- query_catalogs_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
- query_catalogs_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
11
- query_catalogs_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
- query_catalogs_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
- query_catalogs_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
- query_catalogs_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
- query_catalogs_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
- query_catalogs_parser.set_defaults(func=createRequest,operation_name='query.catalogs')
9
+ query_catalogs_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_catalogs_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.')
11
+ query_catalogs_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_catalogs_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_catalogs_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_catalogs_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_catalogs_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_catalogs_parser.set_defaults(func=createRequest,operation_name='query.catalogs')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.container:
3
- [Click here](https://api.catonetworks.com/documentation/#query-container) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.container) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.container:
6
6
 
@@ -8,16 +8,18 @@
8
8
 
9
9
  `catocli query container <json>`
10
10
 
11
- `catocli query container "$(cat < container.json)"`
11
+ `catocli query container "$(cat < query.container.json)"`
12
+
13
+ `catocli query container '{"containerSearchInput":{"containerRefInput":{"by":"ID","input":"string"},"types":"IP_RANGE"},"downloadFqdnContainerFileInput":{"by":"ID","input":"string"},"downloadIpAddressRangeContainerFileInput":{"by":"ID","input":"string"},"fqdnContainerSearchFqdnInput":{"fqdn":"example_value"},"fqdnContainerSearchInput":{"containerRefInput":{"by":"ID","input":"string"}},"ipAddressRangeContainerSearchInput":{"containerRefInput":{"by":"ID","input":"string"}},"ipAddressRangeContainerSearchIpAddressRangeInput":{"ipAddressRangeInput":{"from":"example_value","to":"example_value"}}}'`
12
14
 
13
- `catocli query container '{"containerSearchInput": {"containerRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "types": {"types": "enum(ContainerType)"}}, "downloadFqdnContainerFileInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "downloadIpAddressRangeContainerFileInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "fqdnContainerSearchFqdnInput": {"fqdn": {"fqdn": "Fqdn"}}, "fqdnContainerSearchInput": {"containerRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "ipAddressRangeContainerSearchInput": {"containerRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "ipAddressRangeContainerSearchIpAddressRangeInput": {"ipAddressRangeInput": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}}}'`
14
15
 
15
16
  #### Operation Arguments for query.container ####
16
- `accountId` [ID] - (required) N/A
17
- `containerSearchInput` [ContainerSearchInput] - (required) N/A
18
- `downloadFqdnContainerFileInput` [DownloadFqdnContainerFileInput] - (required) N/A
19
- `downloadIpAddressRangeContainerFileInput` [DownloadIpAddressRangeContainerFileInput] - (required) N/A
20
- `fqdnContainerSearchFqdnInput` [FqdnContainerSearchFqdnInput] - (required) N/A
21
- `fqdnContainerSearchInput` [FqdnContainerSearchInput] - (required) N/A
22
- `ipAddressRangeContainerSearchInput` [IpAddressRangeContainerSearchInput] - (required) N/A
23
- `ipAddressRangeContainerSearchIpAddressRangeInput` [IpAddressRangeContainerSearchIpAddressRangeInput] - (required) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `containerSearchInput` [ContainerSearchInput] - (required) N/A
20
+ `downloadFqdnContainerFileInput` [DownloadFqdnContainerFileInput] - (required) N/A
21
+ `downloadIpAddressRangeContainerFileInput` [DownloadIpAddressRangeContainerFileInput] - (required) N/A
22
+ `fqdnContainerSearchFqdnInput` [FqdnContainerSearchFqdnInput] - (required) N/A
23
+ `fqdnContainerSearchInput` [FqdnContainerSearchInput] - (required) N/A
24
+ `ipAddressRangeContainerSearchInput` [IpAddressRangeContainerSearchInput] - (required) N/A
25
+ `ipAddressRangeContainerSearchIpAddressRangeInput` [IpAddressRangeContainerSearchIpAddressRangeInput] - (required) N/A
@@ -1,16 +1,16 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def query_container_parse(query_subparsers):
5
- query_container_parser = query_subparsers.add_parser('container',
6
- help='container() query operation',
7
- usage=get_help("query_container"))
5
+ query_container_parser = query_subparsers.add_parser('container',
6
+ help='container() query operation',
7
+ usage=get_help("query_container"))
8
8
 
9
- query_container_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
- query_container_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
11
- query_container_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
- query_container_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
- query_container_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
- query_container_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
- query_container_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
- query_container_parser.set_defaults(func=createRequest,operation_name='query.container')
9
+ query_container_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_container_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.')
11
+ query_container_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_container_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_container_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_container_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_container_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_container_parser.set_defaults(func=createRequest,operation_name='query.container')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.devices:
3
- [Click here](https://api.catonetworks.com/documentation/#query-devices) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.devices) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.devices:
6
6
 
@@ -8,13 +8,15 @@
8
8
 
9
9
  `catocli query devices <json>`
10
10
 
11
- `catocli query devices "$(cat < devices.json)"`
11
+ `catocli query devices "$(cat < query.devices.json)"`
12
+
13
+ `catocli query devices '{"deviceAttributeCatalogInput":{"pagingInput":{"from":1,"limit":1},"sortOrderInput":{"direction":"ASC","priority":1},"stringFilterInput":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"deviceV2Input":{"deviceSortInput":{"category":{"direction":"ASC","priority":1},"confidence":{"direction":"ASC","priority":1},"firstSeen":{"direction":"ASC","priority":1},"hw":{"manufacturer":{"direction":"ASC","priority":1},"model":{"direction":"ASC","priority":1},"type":{"direction":"ASC","priority":1}},"id":{"direction":"ASC","priority":1},"ip":{"direction":"ASC","priority":1},"lastSeen":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1},"network":{"networkName":{"direction":"ASC","priority":1},"subnet":{"direction":"ASC","priority":1}},"nic":{"macAddress":{"direction":"ASC","priority":1},"vendor":{"direction":"ASC","priority":1}},"os":{"product":{"direction":"ASC","priority":1},"vendor":{"direction":"ASC","priority":1},"version":{"direction":"ASC","priority":1}},"riskScore":{"direction":"ASC","priority":1},"site":{"id":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1}},"user":{"id":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1}}},"deviceV2FilterInput":{"category":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"confidence":{"eq":"LOW","in":"LOW","neq":"LOW","nin":"LOW"},"firstSeen":{"between":["example1","example2"],"eq":"example_value","gt":"example_value","gte":"example_value","in":["example1","example2"],"lt":"example_value","lte":"example_value","neq":"example_value","nin":["example1","example2"]},"hw":{"manufacturer":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"model":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"type":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"ip":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"lastSeen":{"between":["example1","example2"],"eq":"example_value","gt":"example_value","gte":"example_value","in":["example1","example2"],"lt":"example_value","lte":"example_value","neq":"example_value","nin":["example1","example2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"network":{"networkName":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"subnet":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"nic":{"macAddress":{"eq":"example_value","in":["example1","example2"],"neq":"example_value","nin":["example1","example2"]},"vendor":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"os":{"product":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"vendor":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"version":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"riskScore":{"between":[1,2],"eq":1,"gt":1,"gte":1,"in":[1,2],"lt":1,"lte":1,"neq":1,"nin":[1,2]},"site":{"eq":{"by":"ID","input":"string"},"in":{"by":"ID","input":"string"},"neq":{"by":"ID","input":"string"},"nin":{"by":"ID","input":"string"}},"user":{"eq":{"by":"ID","input":"string"},"in":{"by":"ID","input":"string"},"neq":{"by":"ID","input":"string"},"nin":{"by":"ID","input":"string"}}},"pagingInput":{"from":1,"limit":1}},"jobId":"id","sortOrderInput":{"direction":"ASC","priority":1}}'`
12
14
 
13
- `catocli query devices '{"deviceAttributeCatalogInput": {"pagingInput": {"from": {"from": "Int"}, "limit": {"limit": "Int"}}, "sortOrderInput": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "stringFilterInput": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "deviceV2Input": {"deviceSortInput": {"category": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "confidence": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "firstSeen": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "hw": {"manufacturer": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "model": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "type": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "id": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "ip": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "lastSeen": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "name": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "network": {"networkName": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "subnet": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "nic": {"macAddress": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "vendor": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "os": {"product": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "vendor": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "version": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "riskScore": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "site": {"id": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "name": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}, "user": {"id": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}, "name": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}}, "deviceV2FilterInput": {"category": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "confidence": {"eq": {"eq": "enum(DeviceConfidenceLevel)"}, "in": {"in": "enum(DeviceConfidenceLevel)"}, "neq": {"neq": "enum(DeviceConfidenceLevel)"}, "nin": {"nin": "enum(DeviceConfidenceLevel)"}}, "firstSeen": {"between": {"between": ["DateTime"]}, "eq": {"eq": "DateTime"}, "gt": {"gt": "DateTime"}, "gte": {"gte": "DateTime"}, "in": {"in": ["DateTime"]}, "lt": {"lt": "DateTime"}, "lte": {"lte": "DateTime"}, "neq": {"neq": "DateTime"}, "nin": {"nin": ["DateTime"]}}, "hw": {"manufacturer": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "model": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "type": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "id": {"eq": {"eq": "ID"}, "in": {"in": ["ID"]}, "neq": {"neq": "ID"}, "nin": {"nin": ["ID"]}}, "ip": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "lastSeen": {"between": {"between": ["DateTime"]}, "eq": {"eq": "DateTime"}, "gt": {"gt": "DateTime"}, "gte": {"gte": "DateTime"}, "in": {"in": ["DateTime"]}, "lt": {"lt": "DateTime"}, "lte": {"lte": "DateTime"}, "neq": {"neq": "DateTime"}, "nin": {"nin": ["DateTime"]}}, "name": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "network": {"networkName": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "subnet": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "nic": {"macAddress": {"eq": {"eq": "MacAddress"}, "in": {"in": ["MacAddress"]}, "neq": {"neq": "MacAddress"}, "nin": {"nin": ["MacAddress"]}}, "vendor": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "os": {"product": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "vendor": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}, "version": {"eq": {"eq": "String"}, "in": {"in": ["String"]}, "neq": {"neq": "String"}, "nin": {"nin": ["String"]}}}, "riskScore": {"between": {"between": ["Int"]}, "eq": {"eq": "Int"}, "gt": {"gt": "Int"}, "gte": {"gte": "Int"}, "in": {"in": ["Int"]}, "lt": {"lt": "Int"}, "lte": {"lte": "Int"}, "neq": {"neq": "Int"}, "nin": {"nin": ["Int"]}}, "site": {"eq": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "in": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "neq": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "nin": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "user": {"eq": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "in": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "neq": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "nin": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "pagingInput": {"from": {"from": "Int"}, "limit": {"limit": "Int"}}}, "jobId": "ID", "sortOrderInput": {"direction": {"direction": "enum(SortOrder)"}, "priority": {"priority": "Int"}}}'`
14
15
 
15
16
  #### Operation Arguments for query.devices ####
16
- `accountId` [ID] - (required) N/A
17
- `deviceAttributeCatalogInput` [DeviceAttributeCatalogInput] - (optional) N/A
18
- `deviceV2Input` [DeviceV2Input] - (optional) N/A
19
- `jobId` [ID] - (required) N/A
20
- `sortOrderInput` [SortOrderInput] - (optional) N/A
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `deviceAttributeCatalogInput` [DeviceAttributeCatalogInput] - (required) N/A
20
+ `deviceV2Input` [DeviceV2Input] - (required) N/A
21
+ `jobId` [ID] - (required) N/A
22
+ `sortOrderInput` [SortOrderInput] - (required) N/A
@@ -1,16 +1,16 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def query_devices_parse(query_subparsers):
5
- query_devices_parser = query_subparsers.add_parser('devices',
6
- help='devices() query operation',
7
- usage=get_help("query_devices"))
5
+ query_devices_parser = query_subparsers.add_parser('devices',
6
+ help='devices() query operation',
7
+ usage=get_help("query_devices"))
8
8
 
9
- query_devices_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
- query_devices_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
11
- query_devices_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
- query_devices_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
- query_devices_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
- query_devices_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
- query_devices_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
- query_devices_parser.set_defaults(func=createRequest,operation_name='query.devices')
9
+ query_devices_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_devices_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.')
11
+ query_devices_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_devices_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_devices_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_devices_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_devices_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_devices_parser.set_defaults(func=createRequest,operation_name='query.devices')
@@ -0,0 +1,19 @@
1
+
2
+ ## CATO-CLI - query.enterpriseDirectory:
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.enterpriseDirectory) for documentation on this operation.
4
+
5
+ ### Usage for query.enterpriseDirectory:
6
+
7
+ `catocli query enterpriseDirectory -h`
8
+
9
+ `catocli query enterpriseDirectory <json>`
10
+
11
+ `catocli query enterpriseDirectory "$(cat < query.enterpriseDirectory.json)"`
12
+
13
+ `catocli query enterpriseDirectory '{"enterpriseDirectoryLocationListInput":{"locationFilterInput":{"account":{"accountInclusion":"ALL_ACCOUNTS","in":["id1","id2"]},"countryCode":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"freeText":{"search":"string"},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"includeArchived":true,"isShippingLocation":true,"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"type":{"eq":"BRANCH","in":"BRANCH","neq":"BRANCH","nin":"BRANCH"}},"locationSortInput":{"country":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1},"type":{"direction":"ASC","priority":1}},"pagingInput":{"from":1,"limit":1}}}'`
14
+
15
+
16
+ #### Operation Arguments for query.enterpriseDirectory ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `enterpriseDirectoryLocationListInput` [EnterpriseDirectoryLocationListInput] - (required) N/A
@@ -0,0 +1,16 @@
1
+
2
+ from ..customParserApiClient import createRequest, get_help
3
+
4
+ def query_enterpriseDirectory_parse(query_subparsers):
5
+ query_enterpriseDirectory_parser = query_subparsers.add_parser('enterpriseDirectory',
6
+ help='enterpriseDirectory() query operation',
7
+ usage=get_help("query_enterpriseDirectory"))
8
+
9
+ query_enterpriseDirectory_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_enterpriseDirectory_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.')
11
+ query_enterpriseDirectory_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_enterpriseDirectory_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_enterpriseDirectory_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_enterpriseDirectory_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_enterpriseDirectory_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_enterpriseDirectory_parser.set_defaults(func=createRequest,operation_name='query.enterpriseDirectory')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.entityLookup:
3
- [Click here](https://api.catonetworks.com/documentation/#query-entityLookup) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.entityLookup) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.entityLookup:
6
6
 
@@ -8,24 +8,26 @@
8
8
 
9
9
  `catocli query entityLookup <json>`
10
10
 
11
- `catocli query entityLookup "$(cat < entityLookup.json)"`
11
+ `catocli query entityLookup "$(cat < query.entityLookup.json)"`
12
+
13
+ `catocli query entityLookup '{"entityIDs":["id1","id2"],"entityInput":{"id":"id","name":"string","type":"account"},"from":1,"helperFields":["string1","string2"],"limit":1,"lookupFilterInput":{"filter":"filterByConnectionTypeFamily","value":"string"},"search":"string","sortInput":{"field":"string","order":"asc"},"type":"account"}'`
12
14
 
13
- `catocli query entityLookup '{"entityIDs": ["ID"], "entityInput": {"id": {"id": "ID"}, "name": {"name": "String"}, "type": {"type": "enum(EntityType)"}}, "from": "Int", "helperFields": ["String"], "limit": "Int", "lookupFilterInput": {"filter": {"filter": "enum(LookupFilterType)"}, "value": {"value": "String"}}, "search": "String", "sortInput": {"field": {"field": "String"}, "order": {"order": "enum(DirectionInput)"}}, "type": "enum(EntityType)"}'`
14
15
 
15
16
  #### Operation Arguments for query.entityLookup ####
16
- `accountID` [ID] - (required) The account ID (or 0 for non-authenticated requests)
17
- `entityIDs` [ID[]] - (optional) Adds additional search criteria to fetch by the selected list of entity IDs. This option is not
17
+
18
+ `accountID` [ID] - (required) The account ID (or 0 for non-authenticated requests)
19
+ `entityIDs` [ID[]] - (required) Adds additional search criteria to fetch by the selected list of entity IDs. This option is not
18
20
  universally available, and may not be applicable specific Entity types. If used on non applicable entity
19
- type, an error will be generated.
20
- `entityInput` [EntityInput] - (optional) Return items under a parent entity (can be site, vpn user, etc),
21
- used to filter for networks that belong to a specific site for example
22
- `from` [Int] - (optional) Sets the offset number of items (for paging)
23
- `helperFields` [String[]] - (optional) Additional helper fields
24
- `limit` [Int] - (optional) Sets the maximum number of items to retrieve
25
- `lookupFilterInput` [LookupFilterInput[]] - (optional) Custom filters for entityLookup
26
- `search` [String] - (optional) Adds additional search parameters for the lookup. Available options:
21
+ type, an error will be generated.
22
+ `entityInput` [EntityInput] - (required) Return items under a parent entity (can be site, vpn user, etc),
23
+ used to filter for networks that belong to a specific site for example
24
+ `from` [Int] - (required) Sets the offset number of items (for paging)
25
+ `helperFields` [String[]] - (required) Additional helper fields
26
+ `limit` [Int] - (required) Sets the maximum number of items to retrieve
27
+ `lookupFilterInput` [LookupFilterInput[]] - (required) Custom filters for entityLookup
28
+ `search` [String] - (required) Adds additional search parameters for the lookup. Available options:
27
29
  country lookup: "removeExcluded" to return only allowed countries
28
- countryState lookup: country code ("US", "CN", etc) to get country's states
29
- `sortInput` [SortInput[]] - (optional) Adds additional sort criteria(s) for the lookup.
30
- This option is not universally available, and may not be applicable specific Entity types.
31
- `type` [EntityType] - (required) Type of entity to lookup for Default Value: ['account', 'site', 'vpnUser', 'country', 'countryState', 'timezone', 'host', 'any', 'networkInterface', 'location', 'admin', 'localRouting', 'lanFirewall', 'allocatedIP', 'siteRange', 'simpleService', 'availableSiteUsage', 'availablePooledUsage', 'dhcpRelayGroup', 'portProtocol', 'city', 'groupSubscription', 'mailingListSubscription', 'webhookSubscription']
30
+ countryState lookup: country code ("US", "CN", etc) to get country's states
31
+ `sortInput` [SortInput[]] - (required) Adds additional sort criteria(s) for the lookup.
32
+ This option is not universally available, and may not be applicable specific Entity types.
33
+ `type` [EntityType] - (required) Type of entity to lookup for Default Value: ['account', 'site', 'vpnUser', 'country', 'countryState', 'timezone', 'host', 'any', 'networkInterface', 'location', 'admin', 'localRouting', 'lanFirewall', 'allocatedIP', 'siteRange', 'simpleService', 'availableSiteUsage', 'availablePooledUsage', 'dhcpRelayGroup', 'portProtocol', 'city', 'groupSubscription', 'mailingListSubscription', 'webhookSubscription']
@@ -1,16 +1,16 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def query_entityLookup_parse(query_subparsers):
5
- query_entityLookup_parser = query_subparsers.add_parser('entityLookup',
6
- help='entityLookup() query operation',
7
- usage=get_help("query_entityLookup"))
5
+ query_entityLookup_parser = query_subparsers.add_parser('entityLookup',
6
+ help='entityLookup() query operation',
7
+ usage=get_help("query_entityLookup"))
8
8
 
9
- query_entityLookup_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
- query_entityLookup_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
11
- query_entityLookup_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
- query_entityLookup_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
- query_entityLookup_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
- query_entityLookup_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
- query_entityLookup_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
- query_entityLookup_parser.set_defaults(func=createRequest,operation_name='query.entityLookup')
9
+ query_entityLookup_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_entityLookup_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.')
11
+ query_entityLookup_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_entityLookup_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_entityLookup_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_entityLookup_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_entityLookup_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_entityLookup_parser.set_defaults(func=createRequest,operation_name='query.entityLookup')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.events:
3
- [Click here](https://api.catonetworks.com/documentation/#query-events) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.events) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.events:
6
6
 
@@ -8,16 +8,18 @@
8
8
 
9
9
  `catocli query events <json>`
10
10
 
11
- `catocli query events "$(cat < events.json)"`
11
+ `catocli query events "$(cat < query.events.json)"`
12
+
13
+ `catocli query events '{"eventsDimension":{"fieldName":"access_method"},"eventsFilter":{"fieldName":"access_method","operator":"is","values":["string1","string2"]},"eventsMeasure":{"aggType":"sum","fieldName":"access_method","trend":true},"eventsSort":{"fieldName":"access_method","order":"asc"},"from":1,"limit":1,"timeFrame":"example_value"}'`
12
14
 
13
- `catocli query events '{"eventsDimension": {"fieldName": {"fieldName": "enum(EventFieldName)"}}, "eventsFilter": {"fieldName": {"fieldName": "enum(EventFieldName)"}, "operator": {"operator": "enum(FilterOperator)"}, "values": {"values": ["String"]}}, "eventsMeasure": {"aggType": {"aggType": "enum(AggregationType)"}, "fieldName": {"fieldName": "enum(EventFieldName)"}, "trend": {"trend": "Boolean"}}, "eventsSort": {"fieldName": {"fieldName": "enum(EventFieldName)"}, "order": {"order": "enum(DirectionEnum)"}}, "from": "Int", "limit": "Int", "timeFrame": "TimeFrame"}'`
14
15
 
15
16
  #### Operation Arguments for query.events ####
16
- `accountID` [ID] - (required) Account ID
17
- `eventsDimension` [EventsDimension[]] - (optional) N/A
18
- `eventsFilter` [EventsFilter[]] - (optional) N/A
19
- `eventsMeasure` [EventsMeasure[]] - (optional) N/A
20
- `eventsSort` [EventsSort[]] - (optional) N/A
21
- `from` [Int] - (optional) N/A
22
- `limit` [Int] - (optional) N/A
23
- `timeFrame` [TimeFrame] - (required) N/A
17
+
18
+ `accountID` [ID] - (required) Account ID
19
+ `eventsDimension` [EventsDimension[]] - (required) N/A
20
+ `eventsFilter` [EventsFilter[]] - (required) N/A
21
+ `eventsMeasure` [EventsMeasure[]] - (required) N/A
22
+ `eventsSort` [EventsSort[]] - (required) N/A
23
+ `from` [Int] - (required) N/A
24
+ `limit` [Int] - (required) N/A
25
+ `timeFrame` [TimeFrame] - (required) N/A
@@ -1,16 +1,16 @@
1
1
 
2
- from ..parserApiClient import createRequest, get_help
2
+ from ..customParserApiClient import createRequest, get_help
3
3
 
4
4
  def query_events_parse(query_subparsers):
5
- query_events_parser = query_subparsers.add_parser('events',
6
- help='events() query operation',
7
- usage=get_help("query_events"))
5
+ query_events_parser = query_subparsers.add_parser('events',
6
+ help='events() query operation',
7
+ usage=get_help("query_events"))
8
8
 
9
- query_events_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
- query_events_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
11
- query_events_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
- query_events_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
- query_events_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
- query_events_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
- query_events_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
- query_events_parser.set_defaults(func=createRequest,operation_name='query.events')
9
+ query_events_parser.add_argument('json', nargs='?', default='{}', help='Variables in JSON format (defaults to empty object if not provided).')
10
+ query_events_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.')
11
+ query_events_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
12
+ query_events_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
13
+ query_events_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
14
+ query_events_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
15
+ query_events_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
16
+ query_events_parser.set_defaults(func=createRequest,operation_name='query.events')
@@ -1,6 +1,6 @@
1
1
 
2
2
  ## CATO-CLI - query.eventsFeed:
3
- [Click here](https://api.catonetworks.com/documentation/#query-eventsFeed) for documentation on this operation.
3
+ [Click here](https://api.catonetworks.com/documentation/#query-query.eventsFeed) for documentation on this operation.
4
4
 
5
5
  ### Usage for query.eventsFeed:
6
6
 
@@ -8,12 +8,14 @@
8
8
 
9
9
  `catocli query eventsFeed <json>`
10
10
 
11
- `catocli query eventsFeed "$(cat < eventsFeed.json)"`
11
+ `catocli query eventsFeed "$(cat < query.eventsFeed.json)"`
12
+
13
+ `catocli query eventsFeed '{"accountIDs":["id1","id2"],"eventFeedFieldFilterInput":{"fieldName":"event_sub_type","operator":"is","values":["string1","string2"]},"fieldNames":"access_method","marker":"string"}'`
12
14
 
13
- `catocli query eventsFeed '{"accountIDs": ["ID"], "eventFeedFieldFilterInput": {"fieldName": {"fieldName": "enum(EventFeedFilterFieldName)"}, "operator": {"operator": "enum(EventFeedFilterOperator)"}, "values": {"values": ["String"]}}, "fieldNames": "enum(EventFieldName)", "marker": "String"}'`
14
15
 
15
16
  #### Operation Arguments for query.eventsFeed ####
16
- `accountIDs` [ID[]] - (optional) List of Unique Account Identifiers.
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', '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
- `marker` [String] - (optional) Marker to use to get results from
17
+
18
+ `accountIDs` [ID[]] - (required) List of Unique Account Identifiers.
19
+ `eventFeedFieldFilterInput` [EventFeedFieldFilterInput[]] - (required) N/A
20
+ `fieldNames` [EventFieldName[]] - (required) 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']
21
+ `marker` [String] - (required) Marker to use to get results from