catocli 2.0.4__py3-none-any.whl → 2.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of catocli might be problematic. Click here for more details.

Files changed (300) hide show
  1. catocli/Utils/clidriver.py +11 -4
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/custom/export_sites/export_sites.py +20 -3
  4. catocli/parsers/custom/import_sites_to_tf/__init__.py +3 -1
  5. catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +71 -5
  6. catocli/parsers/mutation_accountManagement/__init__.py +13 -0
  7. catocli/parsers/mutation_accountManagement_disableAccount/README.md +16 -0
  8. catocli/parsers/mutation_container/__init__.py +116 -0
  9. catocli/parsers/mutation_container_fqdn/README.md +7 -0
  10. catocli/parsers/mutation_container_fqdn_addValues/README.md +17 -0
  11. catocli/parsers/mutation_container_fqdn_createFromFile/README.md +17 -0
  12. catocli/parsers/mutation_container_fqdn_removeValues/README.md +17 -0
  13. catocli/parsers/mutation_container_fqdn_updateFromFile/README.md +17 -0
  14. catocli/parsers/mutation_container_ipAddressRange/README.md +7 -0
  15. catocli/parsers/mutation_container_ipAddressRange_addValues/README.md +17 -0
  16. catocli/parsers/mutation_container_ipAddressRange_createFromFile/README.md +17 -0
  17. catocli/parsers/mutation_container_ipAddressRange_removeValues/README.md +17 -0
  18. catocli/parsers/mutation_container_ipAddressRange_updateFromFile/README.md +17 -0
  19. catocli/parsers/mutation_groups/README.md +7 -0
  20. catocli/parsers/mutation_groups/__init__.py +48 -0
  21. catocli/parsers/mutation_groups_createGroup/README.md +18 -0
  22. catocli/parsers/mutation_groups_deleteGroup/README.md +18 -0
  23. catocli/parsers/mutation_groups_updateGroup/README.md +18 -0
  24. catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +1 -1
  25. catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +1 -1
  26. catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +1 -1
  27. catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +1 -1
  28. catocli/parsers/mutation_site/__init__.py +104 -0
  29. catocli/parsers/mutation_site_assignSiteBwLicense/README.md +17 -0
  30. catocli/parsers/mutation_site_removeSecondaryAwsVSocket/README.md +17 -0
  31. catocli/parsers/mutation_site_removeSecondaryAzureVSocket/README.md +17 -0
  32. catocli/parsers/mutation_site_removeSiteBwLicense/README.md +17 -0
  33. catocli/parsers/mutation_site_replaceSiteBwLicense/README.md +17 -0
  34. catocli/parsers/mutation_site_updateSecondaryAwsVSocket/README.md +17 -0
  35. catocli/parsers/mutation_site_updateSecondaryAzureVSocket/README.md +17 -0
  36. catocli/parsers/mutation_site_updateSiteBwLicense/README.md +17 -0
  37. catocli/parsers/mutation_site_updateSiteGeneralDetails/README.md +1 -1
  38. catocli/parsers/mutation_sites/__init__.py +104 -0
  39. catocli/parsers/mutation_sites_assignSiteBwLicense/README.md +17 -0
  40. catocli/parsers/mutation_sites_removeSecondaryAwsVSocket/README.md +17 -0
  41. catocli/parsers/mutation_sites_removeSecondaryAzureVSocket/README.md +17 -0
  42. catocli/parsers/mutation_sites_removeSiteBwLicense/README.md +17 -0
  43. catocli/parsers/mutation_sites_replaceSiteBwLicense/README.md +17 -0
  44. catocli/parsers/mutation_sites_updateSecondaryAwsVSocket/README.md +17 -0
  45. catocli/parsers/mutation_sites_updateSecondaryAzureVSocket/README.md +17 -0
  46. catocli/parsers/mutation_sites_updateSiteBwLicense/README.md +17 -0
  47. catocli/parsers/mutation_sites_updateSiteGeneralDetails/README.md +1 -1
  48. catocli/parsers/parserApiClient.py +42 -19
  49. catocli/parsers/query_eventsFeed/README.md +1 -1
  50. catocli/parsers/query_groups/README.md +7 -0
  51. catocli/parsers/query_groups/__init__.py +54 -0
  52. catocli/parsers/query_groups_group/README.md +7 -0
  53. catocli/parsers/query_groups_groupList/README.md +18 -0
  54. catocli/parsers/query_groups_group_members/README.md +18 -0
  55. catocli/parsers/query_groups_whereUsed/README.md +17 -0
  56. catocli/parsers/query_policy/README.md +0 -17
  57. catocli/parsers/query_policy/__init__.py +153 -8
  58. catocli/parsers/query_policy_appTenantRestriction/README.md +7 -0
  59. catocli/parsers/query_policy_appTenantRestriction_policy/README.md +17 -0
  60. catocli/parsers/query_policy_dynamicIpAllocation/README.md +7 -0
  61. catocli/parsers/query_policy_dynamicIpAllocation_policy/README.md +17 -0
  62. catocli/parsers/query_policy_internetFirewall/README.md +7 -0
  63. catocli/parsers/query_policy_internetFirewall_policy/README.md +17 -0
  64. catocli/parsers/query_policy_remotePortFwd/README.md +7 -0
  65. catocli/parsers/query_policy_remotePortFwd_policy/README.md +17 -0
  66. catocli/parsers/query_policy_socketLan/README.md +7 -0
  67. catocli/parsers/query_policy_socketLan_policy/README.md +17 -0
  68. catocli/parsers/query_policy_terminalServer/README.md +7 -0
  69. catocli/parsers/query_policy_terminalServer_policy/README.md +17 -0
  70. catocli/parsers/query_policy_wanFirewall/README.md +7 -0
  71. catocli/parsers/query_policy_wanFirewall_policy/README.md +17 -0
  72. catocli/parsers/query_policy_wanNetwork/README.md +7 -0
  73. catocli/parsers/query_policy_wanNetwork_policy/README.md +17 -0
  74. catocli/parsers/query_popLocations/README.md +17 -0
  75. catocli/parsers/query_popLocations/__init__.py +16 -0
  76. catocli/parsers/query_site/README.md +0 -16
  77. catocli/parsers/query_site/__init__.py +118 -8
  78. catocli/parsers/query_site_availableVersionList/README.md +17 -0
  79. catocli/parsers/query_site_bgpPeer/README.md +17 -0
  80. catocli/parsers/query_site_bgpPeerList/README.md +17 -0
  81. catocli/parsers/query_site_cloudInterconnectConnectionConnectivity/README.md +17 -0
  82. catocli/parsers/query_site_cloudInterconnectPhysicalConnection/README.md +17 -0
  83. catocli/parsers/query_site_cloudInterconnectPhysicalConnectionId/README.md +17 -0
  84. catocli/parsers/query_site_secondaryAwsVSocket/README.md +17 -0
  85. catocli/parsers/query_site_secondaryAzureVSocket/README.md +17 -0
  86. catocli/parsers/query_site_siteBgpStatus/README.md +17 -0
  87. catocli/parsers/query_socketPortMetrics/README.md +23 -0
  88. catocli/parsers/query_socketPortMetrics/__init__.py +16 -0
  89. catocli/parsers/query_socketPortMetricsTimeSeries/README.md +24 -0
  90. catocli/parsers/query_socketPortMetricsTimeSeries/__init__.py +16 -0
  91. catocli/parsers/raw/README.md +0 -14
  92. catocli/parsers/raw/__init__.py +0 -2
  93. {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/METADATA +3 -2
  94. {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/RECORD +300 -178
  95. {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/WHEEL +1 -1
  96. {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/top_level.txt +0 -1
  97. graphql_client/api/call_api.py +4 -3
  98. models/mutation.accountManagement.addAccount.json +97 -0
  99. models/mutation.accountManagement.disableAccount.json +545 -0
  100. models/mutation.accountManagement.removeAccount.json +102 -3
  101. models/mutation.accountManagement.updateAccount.json +97 -0
  102. models/mutation.admin.addAdmin.json +6 -9
  103. models/mutation.container.delete.json +2 -2
  104. models/mutation.container.fqdn.addValues.json +866 -0
  105. models/mutation.container.fqdn.createFromFile.json +819 -0
  106. models/mutation.container.fqdn.removeValues.json +866 -0
  107. models/mutation.container.fqdn.updateFromFile.json +1045 -0
  108. models/mutation.container.ipAddressRange.addValues.json +1020 -0
  109. models/mutation.container.ipAddressRange.createFromFile.json +819 -0
  110. models/mutation.container.ipAddressRange.removeValues.json +1020 -0
  111. models/mutation.container.ipAddressRange.updateFromFile.json +1045 -0
  112. models/mutation.groups.createGroup.json +3178 -0
  113. models/mutation.groups.deleteGroup.json +2758 -0
  114. models/mutation.groups.updateGroup.json +4429 -0
  115. models/mutation.hardware.updateHardwareShipping.json +30 -10
  116. models/mutation.policy.appTenantRestriction.addRule.json +25 -25
  117. models/mutation.policy.appTenantRestriction.addSection.json +3 -3
  118. models/mutation.policy.appTenantRestriction.createPolicyRevision.json +31 -31
  119. models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +31 -31
  120. models/mutation.policy.appTenantRestriction.moveRule.json +25 -25
  121. models/mutation.policy.appTenantRestriction.moveSection.json +3 -3
  122. models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +31 -31
  123. models/mutation.policy.appTenantRestriction.removeRule.json +25 -25
  124. models/mutation.policy.appTenantRestriction.removeSection.json +3 -3
  125. models/mutation.policy.appTenantRestriction.updatePolicy.json +31 -31
  126. models/mutation.policy.appTenantRestriction.updateRule.json +25 -25
  127. models/mutation.policy.appTenantRestriction.updateSection.json +3 -3
  128. models/mutation.policy.dynamicIpAllocation.addRule.json +11 -11
  129. models/mutation.policy.dynamicIpAllocation.addSection.json +3 -3
  130. models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +17 -17
  131. models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +17 -17
  132. models/mutation.policy.dynamicIpAllocation.moveRule.json +11 -11
  133. models/mutation.policy.dynamicIpAllocation.moveSection.json +3 -3
  134. models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +17 -17
  135. models/mutation.policy.dynamicIpAllocation.removeRule.json +11 -11
  136. models/mutation.policy.dynamicIpAllocation.removeSection.json +3 -3
  137. models/mutation.policy.dynamicIpAllocation.updatePolicy.json +17 -17
  138. models/mutation.policy.dynamicIpAllocation.updateRule.json +11 -11
  139. models/mutation.policy.dynamicIpAllocation.updateSection.json +3 -3
  140. models/mutation.policy.internetFirewall.addRule.json +532 -85
  141. models/mutation.policy.internetFirewall.addSection.json +3 -3
  142. models/mutation.policy.internetFirewall.createPolicyRevision.json +208 -91
  143. models/mutation.policy.internetFirewall.discardPolicyRevision.json +208 -91
  144. models/mutation.policy.internetFirewall.moveRule.json +202 -85
  145. models/mutation.policy.internetFirewall.moveSection.json +3 -3
  146. models/mutation.policy.internetFirewall.publishPolicyRevision.json +208 -91
  147. models/mutation.policy.internetFirewall.removeRule.json +202 -85
  148. models/mutation.policy.internetFirewall.removeSection.json +3 -3
  149. models/mutation.policy.internetFirewall.updatePolicy.json +208 -91
  150. models/mutation.policy.internetFirewall.updateRule.json +523 -85
  151. models/mutation.policy.internetFirewall.updateSection.json +3 -3
  152. models/mutation.policy.remotePortFwd.addRule.json +16 -16
  153. models/mutation.policy.remotePortFwd.addSection.json +3 -3
  154. models/mutation.policy.remotePortFwd.createPolicyRevision.json +22 -22
  155. models/mutation.policy.remotePortFwd.discardPolicyRevision.json +22 -22
  156. models/mutation.policy.remotePortFwd.moveRule.json +16 -16
  157. models/mutation.policy.remotePortFwd.moveSection.json +3 -3
  158. models/mutation.policy.remotePortFwd.publishPolicyRevision.json +22 -22
  159. models/mutation.policy.remotePortFwd.removeRule.json +16 -16
  160. models/mutation.policy.remotePortFwd.removeSection.json +3 -3
  161. models/mutation.policy.remotePortFwd.updatePolicy.json +22 -22
  162. models/mutation.policy.remotePortFwd.updateRule.json +16 -16
  163. models/mutation.policy.remotePortFwd.updateSection.json +3 -3
  164. models/mutation.policy.socketLan.addRule.json +81 -81
  165. models/mutation.policy.socketLan.addSection.json +3 -3
  166. models/mutation.policy.socketLan.createPolicyRevision.json +87 -87
  167. models/mutation.policy.socketLan.discardPolicyRevision.json +87 -87
  168. models/mutation.policy.socketLan.moveRule.json +81 -81
  169. models/mutation.policy.socketLan.moveSection.json +3 -3
  170. models/mutation.policy.socketLan.publishPolicyRevision.json +87 -87
  171. models/mutation.policy.socketLan.removeRule.json +81 -81
  172. models/mutation.policy.socketLan.removeSection.json +3 -3
  173. models/mutation.policy.socketLan.updatePolicy.json +87 -87
  174. models/mutation.policy.socketLan.updateRule.json +81 -81
  175. models/mutation.policy.socketLan.updateSection.json +3 -3
  176. models/mutation.policy.terminalServer.addRule.json +6 -6
  177. models/mutation.policy.terminalServer.addSection.json +3 -3
  178. models/mutation.policy.terminalServer.createPolicyRevision.json +12 -12
  179. models/mutation.policy.terminalServer.discardPolicyRevision.json +12 -12
  180. models/mutation.policy.terminalServer.moveRule.json +6 -6
  181. models/mutation.policy.terminalServer.moveSection.json +3 -3
  182. models/mutation.policy.terminalServer.publishPolicyRevision.json +12 -12
  183. models/mutation.policy.terminalServer.removeRule.json +6 -6
  184. models/mutation.policy.terminalServer.removeSection.json +3 -3
  185. models/mutation.policy.terminalServer.updatePolicy.json +12 -12
  186. models/mutation.policy.terminalServer.updateRule.json +6 -6
  187. models/mutation.policy.terminalServer.updateSection.json +3 -3
  188. models/mutation.policy.wanFirewall.addRule.json +550 -103
  189. models/mutation.policy.wanFirewall.addSection.json +3 -3
  190. models/mutation.policy.wanFirewall.createPolicyRevision.json +226 -109
  191. models/mutation.policy.wanFirewall.discardPolicyRevision.json +226 -109
  192. models/mutation.policy.wanFirewall.moveRule.json +220 -103
  193. models/mutation.policy.wanFirewall.moveSection.json +3 -3
  194. models/mutation.policy.wanFirewall.publishPolicyRevision.json +226 -109
  195. models/mutation.policy.wanFirewall.removeRule.json +220 -103
  196. models/mutation.policy.wanFirewall.removeSection.json +3 -3
  197. models/mutation.policy.wanFirewall.updatePolicy.json +226 -109
  198. models/mutation.policy.wanFirewall.updateRule.json +541 -103
  199. models/mutation.policy.wanFirewall.updateSection.json +3 -3
  200. models/mutation.policy.wanNetwork.addRule.json +90 -90
  201. models/mutation.policy.wanNetwork.addSection.json +3 -3
  202. models/mutation.policy.wanNetwork.createPolicyRevision.json +96 -96
  203. models/mutation.policy.wanNetwork.discardPolicyRevision.json +96 -96
  204. models/mutation.policy.wanNetwork.moveRule.json +90 -90
  205. models/mutation.policy.wanNetwork.moveSection.json +3 -3
  206. models/mutation.policy.wanNetwork.publishPolicyRevision.json +96 -96
  207. models/mutation.policy.wanNetwork.removeRule.json +90 -90
  208. models/mutation.policy.wanNetwork.removeSection.json +3 -3
  209. models/mutation.policy.wanNetwork.updatePolicy.json +96 -96
  210. models/mutation.policy.wanNetwork.updateRule.json +90 -90
  211. models/mutation.policy.wanNetwork.updateSection.json +3 -3
  212. models/mutation.site.addBgpPeer.json +10 -10
  213. models/mutation.site.addIpsecIkeV2SiteTunnels.json +2 -2
  214. models/mutation.site.addSocketAddOnCard.json +2 -2
  215. models/mutation.site.assignSiteBwLicense.json +12879 -0
  216. models/mutation.site.removeBgpPeer.json +10 -10
  217. models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -2
  218. models/mutation.site.removeSecondaryAwsVSocket.json +375 -0
  219. models/mutation.site.removeSecondaryAzureVSocket.json +354 -0
  220. models/mutation.site.removeSiteBwLicense.json +12822 -0
  221. models/mutation.site.removeSocketAddOnCard.json +2 -2
  222. models/mutation.site.replaceSiteBwLicense.json +12939 -0
  223. models/mutation.site.startSiteUpgrade.json +36 -15
  224. models/mutation.site.updateBgpPeer.json +10 -10
  225. models/mutation.site.updateIpsecIkeV2SiteTunnels.json +2 -2
  226. models/mutation.site.updateSecondaryAwsVSocket.json +643 -0
  227. models/mutation.site.updateSecondaryAzureVSocket.json +565 -0
  228. models/mutation.site.updateSiteBwLicense.json +12882 -0
  229. models/mutation.site.updateSiteGeneralDetails.json +724 -1
  230. models/mutation.sites.addBgpPeer.json +10 -10
  231. models/mutation.sites.addIpsecIkeV2SiteTunnels.json +2 -2
  232. models/mutation.sites.addSocketAddOnCard.json +2 -2
  233. models/mutation.sites.assignSiteBwLicense.json +12879 -0
  234. models/mutation.sites.removeBgpPeer.json +10 -10
  235. models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -2
  236. models/mutation.sites.removeSecondaryAwsVSocket.json +375 -0
  237. models/mutation.sites.removeSecondaryAzureVSocket.json +354 -0
  238. models/mutation.sites.removeSiteBwLicense.json +12822 -0
  239. models/mutation.sites.removeSocketAddOnCard.json +2 -2
  240. models/mutation.sites.replaceSiteBwLicense.json +12939 -0
  241. models/mutation.sites.startSiteUpgrade.json +36 -15
  242. models/mutation.sites.updateBgpPeer.json +10 -10
  243. models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +2 -2
  244. models/mutation.sites.updateSecondaryAwsVSocket.json +643 -0
  245. models/mutation.sites.updateSecondaryAzureVSocket.json +565 -0
  246. models/mutation.sites.updateSiteBwLicense.json +12882 -0
  247. models/mutation.sites.updateSiteGeneralDetails.json +724 -1
  248. models/mutation.xdr.addStoryComment.json +1 -1
  249. models/mutation.xdr.analystFeedback.json +84 -84
  250. models/mutation.xdr.deleteStoryComment.json +1 -1
  251. models/query.accountManagement.json +97 -0
  252. models/query.accountMetrics.json +45 -45
  253. models/query.accountSnapshot.json +30 -30
  254. models/query.admin.json +6 -6
  255. models/query.admins.json +13 -13
  256. models/query.appStats.json +915 -867
  257. models/query.appStatsTimeSeries.json +692 -656
  258. models/query.auditFeed.json +6 -6
  259. models/query.catalogs.json +52 -52
  260. models/query.container.json +16 -16
  261. models/query.devices.json +20 -93
  262. models/query.entityLookup.json +2 -2
  263. models/query.events.json +288 -384
  264. models/query.eventsFeed.json +73 -97
  265. models/query.eventsTimeSeries.json +219 -291
  266. models/query.groups.group.members.json +3058 -0
  267. models/query.groups.groupList.json +6474 -0
  268. models/query.groups.whereUsed.json +697 -0
  269. models/query.hardware.json +27 -7
  270. models/query.hardwareManagement.json +8 -8
  271. models/query.licensing.json +3487 -1324
  272. models/query.policy.appTenantRestriction.policy.json +3086 -0
  273. models/query.policy.dynamicIpAllocation.policy.json +1934 -0
  274. models/query.policy.internetFirewall.policy.json +7833 -0
  275. models/query.policy.json +233 -0
  276. models/query.policy.remotePortFwd.policy.json +2387 -0
  277. models/query.policy.socketLan.policy.json +7140 -0
  278. models/query.policy.terminalServer.policy.json +1632 -0
  279. models/query.policy.wanFirewall.policy.json +9212 -0
  280. models/query.policy.wanNetwork.policy.json +8010 -0
  281. models/query.popLocations.json +2878 -0
  282. models/query.sandbox.json +5 -5
  283. models/query.site.availableVersionList.json +365 -0
  284. models/query.site.bgpPeer.json +1917 -0
  285. models/query.site.bgpPeerList.json +2076 -0
  286. models/query.site.cloudInterconnectConnectionConnectivity.json +298 -0
  287. models/query.site.cloudInterconnectPhysicalConnection.json +728 -0
  288. models/query.site.cloudInterconnectPhysicalConnectionId.json +660 -0
  289. models/query.site.secondaryAwsVSocket.json +340 -0
  290. models/query.site.secondaryAzureVSocket.json +319 -0
  291. models/query.site.siteBgpStatus.json +869 -0
  292. models/query.socketPortMetrics.json +2410 -0
  293. models/query.socketPortMetricsTimeSeries.json +2361 -0
  294. models/query.xdr.stories.json +104 -104
  295. models/query.xdr.story.json +93 -93
  296. schema/catolib.py +34 -18
  297. schema/remove_policyid.py +89 -0
  298. schema/remove_policyid_mutations.py +89 -0
  299. {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info}/entry_points.txt +0 -0
  300. {catocli-2.0.4.dist-info → catocli-2.1.0.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,697 @@
1
+ {
2
+ "args": {
3
+ "accountId": {
4
+ "defaultValue": null,
5
+ "description": null,
6
+ "id_str": "accountId",
7
+ "name": "accountId",
8
+ "path": "accountId",
9
+ "requestStr": "$accountId:ID! ",
10
+ "required": true,
11
+ "responseStr": "accountId:$accountId ",
12
+ "type": {
13
+ "kind": [
14
+ "NON_NULL",
15
+ "SCALAR"
16
+ ],
17
+ "name": "ID",
18
+ "non_null": false
19
+ },
20
+ "varName": "accountId"
21
+ }
22
+ },
23
+ "childOperations": {
24
+ "whereUsed": {
25
+ "args": {
26
+ "whereUsed___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "whereUsed___input",
30
+ "name": "input",
31
+ "path": "whereUsed.input",
32
+ "requestStr": "$groupRefInput:GroupRefInput! ",
33
+ "required": true,
34
+ "responseStr": "input:$groupRefInput ",
35
+ "type": {
36
+ "definition": {
37
+ "description": null,
38
+ "enumValues": null,
39
+ "fields": null,
40
+ "inputFields": {
41
+ "by": {
42
+ "defaultValue": "ID",
43
+ "description": null,
44
+ "id_str": "whereUsed___input___by",
45
+ "name": "by",
46
+ "path": "whereUsed.input.by",
47
+ "requestStr": "$by:ObjectRefBy! ",
48
+ "required": true,
49
+ "responseStr": "by:$by ",
50
+ "type": {
51
+ "definition": {
52
+ "description": null,
53
+ "enumValues": [
54
+ {
55
+ "deprecationReason": null,
56
+ "description": null,
57
+ "isDeprecated": false,
58
+ "name": "ID"
59
+ },
60
+ {
61
+ "deprecationReason": null,
62
+ "description": null,
63
+ "isDeprecated": false,
64
+ "name": "NAME"
65
+ }
66
+ ],
67
+ "fields": null,
68
+ "inputFields": null,
69
+ "interfaces": null,
70
+ "kind": "ENUM",
71
+ "name": "ObjectRefBy",
72
+ "possibleTypes": null
73
+ },
74
+ "indexType": "enum",
75
+ "kind": [
76
+ "NON_NULL",
77
+ "ENUM"
78
+ ],
79
+ "name": "ObjectRefBy",
80
+ "non_null": false
81
+ },
82
+ "varName": "by"
83
+ },
84
+ "input": {
85
+ "defaultValue": null,
86
+ "description": null,
87
+ "id_str": "whereUsed___input___input",
88
+ "name": "input",
89
+ "path": "whereUsed.input.input",
90
+ "requestStr": "$input:String! ",
91
+ "required": true,
92
+ "responseStr": "input:$input ",
93
+ "type": {
94
+ "kind": [
95
+ "NON_NULL",
96
+ "SCALAR"
97
+ ],
98
+ "name": "String",
99
+ "non_null": false
100
+ },
101
+ "varName": "input"
102
+ }
103
+ },
104
+ "interfaces": null,
105
+ "kind": "INPUT_OBJECT",
106
+ "name": "GroupRefInput",
107
+ "possibleTypes": null
108
+ },
109
+ "indexType": "input_object",
110
+ "kind": [
111
+ "NON_NULL",
112
+ "INPUT_OBJECT"
113
+ ],
114
+ "name": "GroupRefInput",
115
+ "non_null": false
116
+ },
117
+ "varName": "groupRefInput"
118
+ }
119
+ },
120
+ "deprecationReason": null,
121
+ "description": "Check which policies use the group.",
122
+ "isDeprecated": false,
123
+ "name": "whereUsed",
124
+ "type": {
125
+ "kind": "OBJECT",
126
+ "name": "GroupWhereUsedPayload",
127
+ "ofType": null
128
+ }
129
+ }
130
+ },
131
+ "deprecationReason": null,
132
+ "description": "Fetch group configuration for your account",
133
+ "fieldTypes": {
134
+ "GroupMemberRefType": true,
135
+ "GroupScope": true,
136
+ "GroupWhereUsedPayload": true,
137
+ "InvalidGroupMemberTypeInScope": true,
138
+ "ObjectRefBy": true
139
+ },
140
+ "isDeprecated": false,
141
+ "name": "groups",
142
+ "operationArgs": {
143
+ "accountId": {
144
+ "defaultValue": null,
145
+ "description": null,
146
+ "id_str": "accountId",
147
+ "name": "accountId",
148
+ "path": "accountId",
149
+ "requestStr": "$accountId:ID! ",
150
+ "required": true,
151
+ "responseStr": "accountId:$accountId ",
152
+ "type": {
153
+ "kind": [
154
+ "NON_NULL",
155
+ "SCALAR"
156
+ ],
157
+ "name": "ID",
158
+ "non_null": false
159
+ },
160
+ "varName": "accountId"
161
+ },
162
+ "groupRefInput": {
163
+ "defaultValue": null,
164
+ "description": null,
165
+ "id_str": "whereUsed___input",
166
+ "name": "input",
167
+ "path": "whereUsed.input",
168
+ "requestStr": "$groupRefInput:GroupRefInput! ",
169
+ "required": true,
170
+ "responseStr": "input:$groupRefInput ",
171
+ "type": {
172
+ "definition": {
173
+ "description": null,
174
+ "enumValues": null,
175
+ "fields": null,
176
+ "inputFields": {
177
+ "by": {
178
+ "defaultValue": "ID",
179
+ "description": null,
180
+ "id_str": "whereUsed___input___by",
181
+ "name": "by",
182
+ "path": "whereUsed.input.by",
183
+ "requestStr": "$by:ObjectRefBy! ",
184
+ "required": true,
185
+ "responseStr": "by:$by ",
186
+ "type": {
187
+ "definition": {
188
+ "description": null,
189
+ "enumValues": [
190
+ {
191
+ "deprecationReason": null,
192
+ "description": null,
193
+ "isDeprecated": false,
194
+ "name": "ID"
195
+ },
196
+ {
197
+ "deprecationReason": null,
198
+ "description": null,
199
+ "isDeprecated": false,
200
+ "name": "NAME"
201
+ }
202
+ ],
203
+ "fields": null,
204
+ "inputFields": null,
205
+ "interfaces": null,
206
+ "kind": "ENUM",
207
+ "name": "ObjectRefBy",
208
+ "possibleTypes": null
209
+ },
210
+ "indexType": "enum",
211
+ "kind": [
212
+ "NON_NULL",
213
+ "ENUM"
214
+ ],
215
+ "name": "ObjectRefBy",
216
+ "non_null": false
217
+ },
218
+ "varName": "by"
219
+ },
220
+ "input": {
221
+ "defaultValue": null,
222
+ "description": null,
223
+ "id_str": "whereUsed___input___input",
224
+ "name": "input",
225
+ "path": "whereUsed.input.input",
226
+ "requestStr": "$input:String! ",
227
+ "required": true,
228
+ "responseStr": "input:$input ",
229
+ "type": {
230
+ "kind": [
231
+ "NON_NULL",
232
+ "SCALAR"
233
+ ],
234
+ "name": "String",
235
+ "non_null": false
236
+ },
237
+ "varName": "input"
238
+ }
239
+ },
240
+ "interfaces": null,
241
+ "kind": "INPUT_OBJECT",
242
+ "name": "GroupRefInput",
243
+ "possibleTypes": null
244
+ },
245
+ "indexType": "input_object",
246
+ "kind": [
247
+ "NON_NULL",
248
+ "INPUT_OBJECT"
249
+ ],
250
+ "name": "GroupRefInput",
251
+ "non_null": false
252
+ },
253
+ "varName": "groupRefInput"
254
+ }
255
+ },
256
+ "path": "query.groups.whereUsed",
257
+ "type": {
258
+ "definition": {
259
+ "description": "Queries for reading groups-related information",
260
+ "enumValues": null,
261
+ "fields": {
262
+ "whereUsed": {
263
+ "args": {
264
+ "whereUsed___input": {
265
+ "defaultValue": null,
266
+ "description": null,
267
+ "id_str": "whereUsed___input",
268
+ "name": "input",
269
+ "path": "whereUsed.input",
270
+ "requestStr": "$groupRefInput:GroupRefInput! ",
271
+ "required": true,
272
+ "responseStr": "input:$groupRefInput ",
273
+ "type": {
274
+ "definition": {
275
+ "description": null,
276
+ "enumValues": null,
277
+ "fields": null,
278
+ "inputFields": {
279
+ "by": {
280
+ "defaultValue": "ID",
281
+ "description": null,
282
+ "id_str": "whereUsed___input___by",
283
+ "name": "by",
284
+ "path": "whereUsed.input.by",
285
+ "requestStr": "$by:ObjectRefBy! ",
286
+ "required": true,
287
+ "responseStr": "by:$by ",
288
+ "type": {
289
+ "definition": {
290
+ "description": null,
291
+ "enumValues": [
292
+ {
293
+ "deprecationReason": null,
294
+ "description": null,
295
+ "isDeprecated": false,
296
+ "name": "ID"
297
+ },
298
+ {
299
+ "deprecationReason": null,
300
+ "description": null,
301
+ "isDeprecated": false,
302
+ "name": "NAME"
303
+ }
304
+ ],
305
+ "fields": null,
306
+ "inputFields": null,
307
+ "interfaces": null,
308
+ "kind": "ENUM",
309
+ "name": "ObjectRefBy",
310
+ "possibleTypes": null
311
+ },
312
+ "indexType": "enum",
313
+ "kind": [
314
+ "NON_NULL",
315
+ "ENUM"
316
+ ],
317
+ "name": "ObjectRefBy",
318
+ "non_null": false
319
+ },
320
+ "varName": "by"
321
+ },
322
+ "input": {
323
+ "defaultValue": null,
324
+ "description": null,
325
+ "id_str": "whereUsed___input___input",
326
+ "name": "input",
327
+ "path": "whereUsed.input.input",
328
+ "requestStr": "$input:String! ",
329
+ "required": true,
330
+ "responseStr": "input:$input ",
331
+ "type": {
332
+ "kind": [
333
+ "NON_NULL",
334
+ "SCALAR"
335
+ ],
336
+ "name": "String",
337
+ "non_null": false
338
+ },
339
+ "varName": "input"
340
+ }
341
+ },
342
+ "interfaces": null,
343
+ "kind": "INPUT_OBJECT",
344
+ "name": "GroupRefInput",
345
+ "possibleTypes": null
346
+ },
347
+ "indexType": "input_object",
348
+ "kind": [
349
+ "NON_NULL",
350
+ "INPUT_OBJECT"
351
+ ],
352
+ "name": "GroupRefInput",
353
+ "non_null": false
354
+ },
355
+ "varName": "groupRefInput"
356
+ }
357
+ },
358
+ "deprecationReason": null,
359
+ "description": "Check which policies use the group.",
360
+ "id_str": "whereUsed",
361
+ "isDeprecated": false,
362
+ "name": "whereUsed",
363
+ "path": "whereUsed",
364
+ "requestStr": "$groupWhereUsedPayload:GroupWhereUsedPayload ",
365
+ "required": false,
366
+ "responseStr": "whereUsed:$groupWhereUsedPayload ",
367
+ "type": {
368
+ "definition": {
369
+ "description": "Describes where the group is used across policies and scopes.\n\nIncludes a list of policy scopes where the group is applied,\nand identifies any member types that are not supported in those policy scopes.",
370
+ "enumValues": null,
371
+ "fields": {
372
+ "invalidMemberTypes": {
373
+ "args": {},
374
+ "deprecationReason": null,
375
+ "description": "Member types in the group that are not valid in one or more scopes where the group is used.",
376
+ "id_str": "whereUsed___invalidMemberTypes",
377
+ "isDeprecated": false,
378
+ "name": "invalidMemberTypes",
379
+ "path": "whereUsed.invalidMemberTypes",
380
+ "requestStr": "$invalidGroupMemberTypeInScope:[InvalidGroupMemberTypeInScope]! ",
381
+ "required": true,
382
+ "responseStr": "invalidMemberTypes:$invalidGroupMemberTypeInScope ",
383
+ "type": {
384
+ "definition": {
385
+ "description": "Represents a member type in the group that is not supported in one or more scopes.\nEach scope indicates where the member type is not allowed.",
386
+ "enumValues": null,
387
+ "fields": {
388
+ "scope": {
389
+ "alias": "scopeInvalidGroupMemberTypeInScope: scope",
390
+ "args": {},
391
+ "deprecationReason": null,
392
+ "description": "List of scopes (policy type and field) where this member type is not supported.",
393
+ "id_str": "whereUsed___invalidMemberTypes___scope",
394
+ "isDeprecated": false,
395
+ "name": "scope",
396
+ "path": "whereUsed.invalidMemberTypes.scope",
397
+ "requestStr": "$groupScope:[GroupScope]! ",
398
+ "required": true,
399
+ "responseStr": "scope:$groupScope ",
400
+ "type": {
401
+ "definition": {
402
+ "description": "The scope (context) in which a group is used or supported.\nIncludes the policy type and the specific field name(s) where the group is used.",
403
+ "enumValues": null,
404
+ "fields": {
405
+ "field": {
406
+ "args": {},
407
+ "deprecationReason": null,
408
+ "description": "The specific fields within the policy where the group is used (e.g., 'source', 'destination').",
409
+ "id_str": "whereUsed___invalidMemberTypes___scope___field",
410
+ "isDeprecated": false,
411
+ "name": "field",
412
+ "path": "whereUsed.invalidMemberTypes.scope.field",
413
+ "requestStr": "$field:[String]! ",
414
+ "required": true,
415
+ "responseStr": "field:$field ",
416
+ "type": {
417
+ "kind": [
418
+ "NON_NULL",
419
+ "LIST",
420
+ "NON_NULL",
421
+ "SCALAR"
422
+ ],
423
+ "name": "String",
424
+ "non_null": false
425
+ },
426
+ "varName": "field"
427
+ },
428
+ "type": {
429
+ "args": {},
430
+ "deprecationReason": null,
431
+ "description": "The type of policy (e.g.,WAN Firewall).",
432
+ "id_str": "whereUsed___invalidMemberTypes___scope___type",
433
+ "isDeprecated": false,
434
+ "name": "type",
435
+ "path": "whereUsed.invalidMemberTypes.scope.type",
436
+ "requestStr": "$type:String! ",
437
+ "required": true,
438
+ "responseStr": "type:$type ",
439
+ "type": {
440
+ "kind": [
441
+ "NON_NULL",
442
+ "SCALAR"
443
+ ],
444
+ "name": "String",
445
+ "non_null": false
446
+ },
447
+ "varName": "type"
448
+ }
449
+ },
450
+ "inputFields": null,
451
+ "interfaces": {},
452
+ "kind": "OBJECT",
453
+ "name": "GroupScope",
454
+ "possibleTypes": null
455
+ },
456
+ "indexType": "object",
457
+ "kind": [
458
+ "NON_NULL",
459
+ "LIST",
460
+ "NON_NULL",
461
+ "OBJECT"
462
+ ],
463
+ "name": "GroupScope",
464
+ "non_null": false
465
+ },
466
+ "varName": "groupScope"
467
+ },
468
+ "type": {
469
+ "alias": "typeInvalidGroupMemberTypeInScope: type",
470
+ "args": {},
471
+ "deprecationReason": null,
472
+ "description": "The unsupported member type (e.g., site, host, etc.)",
473
+ "id_str": "whereUsed___invalidMemberTypes___type",
474
+ "isDeprecated": false,
475
+ "name": "type",
476
+ "path": "whereUsed.invalidMemberTypes.type",
477
+ "requestStr": "$type:GroupMemberRefType! ",
478
+ "required": true,
479
+ "responseStr": "type:$type ",
480
+ "type": {
481
+ "definition": {
482
+ "description": "Member types that can be referenced in a group.",
483
+ "enumValues": [
484
+ {
485
+ "deprecationReason": null,
486
+ "description": null,
487
+ "isDeprecated": false,
488
+ "name": "SITE"
489
+ },
490
+ {
491
+ "deprecationReason": null,
492
+ "description": null,
493
+ "isDeprecated": false,
494
+ "name": "NETWORK_INTERFACE"
495
+ },
496
+ {
497
+ "deprecationReason": null,
498
+ "description": null,
499
+ "isDeprecated": false,
500
+ "name": "SITE_NETWORK_SUBNET"
501
+ },
502
+ {
503
+ "deprecationReason": null,
504
+ "description": null,
505
+ "isDeprecated": false,
506
+ "name": "FLOATING_SUBNET"
507
+ },
508
+ {
509
+ "deprecationReason": null,
510
+ "description": null,
511
+ "isDeprecated": false,
512
+ "name": "HOST"
513
+ },
514
+ {
515
+ "deprecationReason": null,
516
+ "description": null,
517
+ "isDeprecated": false,
518
+ "name": "GLOBAL_IP_RANGE"
519
+ }
520
+ ],
521
+ "fields": null,
522
+ "inputFields": null,
523
+ "interfaces": null,
524
+ "kind": "ENUM",
525
+ "name": "GroupMemberRefType",
526
+ "possibleTypes": null
527
+ },
528
+ "indexType": "enum",
529
+ "kind": [
530
+ "NON_NULL",
531
+ "ENUM"
532
+ ],
533
+ "name": "GroupMemberRefType",
534
+ "non_null": false
535
+ },
536
+ "varName": "type"
537
+ }
538
+ },
539
+ "inputFields": null,
540
+ "interfaces": {},
541
+ "kind": "OBJECT",
542
+ "name": "InvalidGroupMemberTypeInScope",
543
+ "possibleTypes": null
544
+ },
545
+ "indexType": "object",
546
+ "kind": [
547
+ "NON_NULL",
548
+ "LIST",
549
+ "NON_NULL",
550
+ "OBJECT"
551
+ ],
552
+ "name": "InvalidGroupMemberTypeInScope",
553
+ "non_null": false
554
+ },
555
+ "varName": "invalidGroupMemberTypeInScope"
556
+ },
557
+ "usage": {
558
+ "args": {},
559
+ "deprecationReason": null,
560
+ "description": "List of scopes where the group is used. Each scope indicates the policy type and field.",
561
+ "id_str": "whereUsed___usage",
562
+ "isDeprecated": false,
563
+ "name": "usage",
564
+ "path": "whereUsed.usage",
565
+ "requestStr": "$groupScope:[GroupScope]! ",
566
+ "required": true,
567
+ "responseStr": "usage:$groupScope ",
568
+ "type": {
569
+ "definition": {
570
+ "description": "The scope (context) in which a group is used or supported.\nIncludes the policy type and the specific field name(s) where the group is used.",
571
+ "enumValues": null,
572
+ "fields": {
573
+ "field": {
574
+ "args": {},
575
+ "deprecationReason": null,
576
+ "description": "The specific fields within the policy where the group is used (e.g., 'source', 'destination').",
577
+ "id_str": "whereUsed___usage___field",
578
+ "isDeprecated": false,
579
+ "name": "field",
580
+ "path": "whereUsed.usage.field",
581
+ "requestStr": "$field:[String]! ",
582
+ "required": true,
583
+ "responseStr": "field:$field ",
584
+ "type": {
585
+ "kind": [
586
+ "NON_NULL",
587
+ "LIST",
588
+ "NON_NULL",
589
+ "SCALAR"
590
+ ],
591
+ "name": "String",
592
+ "non_null": false
593
+ },
594
+ "varName": "field"
595
+ },
596
+ "type": {
597
+ "args": {},
598
+ "deprecationReason": null,
599
+ "description": "The type of policy (e.g.,WAN Firewall).",
600
+ "id_str": "whereUsed___usage___type",
601
+ "isDeprecated": false,
602
+ "name": "type",
603
+ "path": "whereUsed.usage.type",
604
+ "requestStr": "$type:String! ",
605
+ "required": true,
606
+ "responseStr": "type:$type ",
607
+ "type": {
608
+ "kind": [
609
+ "NON_NULL",
610
+ "SCALAR"
611
+ ],
612
+ "name": "String",
613
+ "non_null": false
614
+ },
615
+ "varName": "type"
616
+ }
617
+ },
618
+ "inputFields": null,
619
+ "interfaces": {},
620
+ "kind": "OBJECT",
621
+ "name": "GroupScope",
622
+ "possibleTypes": null
623
+ },
624
+ "indexType": "object",
625
+ "kind": [
626
+ "NON_NULL",
627
+ "LIST",
628
+ "NON_NULL",
629
+ "OBJECT"
630
+ ],
631
+ "name": "GroupScope",
632
+ "non_null": false
633
+ },
634
+ "varName": "groupScope"
635
+ },
636
+ "used": {
637
+ "args": {},
638
+ "deprecationReason": null,
639
+ "description": "Value is True if the group is used in at least one policy or scope.",
640
+ "id_str": "whereUsed___used",
641
+ "isDeprecated": false,
642
+ "name": "used",
643
+ "path": "whereUsed.used",
644
+ "requestStr": "$used:Boolean! ",
645
+ "required": true,
646
+ "responseStr": "used:$used ",
647
+ "type": {
648
+ "kind": [
649
+ "NON_NULL",
650
+ "SCALAR"
651
+ ],
652
+ "name": "Boolean",
653
+ "non_null": false
654
+ },
655
+ "varName": "used"
656
+ }
657
+ },
658
+ "inputFields": null,
659
+ "interfaces": {},
660
+ "kind": "OBJECT",
661
+ "name": "GroupWhereUsedPayload",
662
+ "possibleTypes": null
663
+ },
664
+ "indexType": "object",
665
+ "kind": [
666
+ "OBJECT"
667
+ ],
668
+ "name": "GroupWhereUsedPayload",
669
+ "non_null": false
670
+ },
671
+ "varName": "groupWhereUsedPayload"
672
+ }
673
+ },
674
+ "inputFields": null,
675
+ "interfaces": [],
676
+ "kind": "OBJECT",
677
+ "name": "GroupsQueries",
678
+ "possibleTypes": null
679
+ },
680
+ "indexType": "object",
681
+ "kind": [
682
+ "OBJECT"
683
+ ],
684
+ "name": "GroupsQueries",
685
+ "non_null": false
686
+ },
687
+ "variablesPayload": {
688
+ "groupRefInput": {
689
+ "by": {
690
+ "by": "enum(ObjectRefBy)"
691
+ },
692
+ "input": {
693
+ "input": "String"
694
+ }
695
+ }
696
+ }
697
+ }