catocli 2.0.3__py3-none-any.whl → 2.0.5__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 (291) hide show
  1. build/lib/catocli/Utils/clidriver.py +268 -0
  2. build/lib/catocli/Utils/profile_manager.py +188 -0
  3. build/lib/catocli/Utils/version_checker.py +192 -0
  4. build/lib/catocli/__init__.py +2 -0
  5. build/lib/catocli/__main__.py +12 -0
  6. build/lib/catocli/parsers/configure/__init__.py +115 -0
  7. build/lib/catocli/parsers/configure/configure.py +307 -0
  8. build/lib/catocli/parsers/custom/__init__.py +57 -0
  9. build/lib/catocli/parsers/custom/customLib.py +561 -0
  10. build/lib/catocli/parsers/custom/export_rules/__init__.py +42 -0
  11. build/lib/catocli/parsers/custom/export_rules/export_rules.py +234 -0
  12. build/lib/catocli/parsers/custom/export_sites/__init__.py +21 -0
  13. build/lib/catocli/parsers/custom/export_sites/export_sites.py +372 -0
  14. build/lib/catocli/parsers/custom/import_rules_to_tf/__init__.py +58 -0
  15. build/lib/catocli/parsers/custom/import_rules_to_tf/import_rules_to_tf.py +451 -0
  16. build/lib/catocli/parsers/custom/import_sites_to_tf/__init__.py +45 -0
  17. build/lib/catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +891 -0
  18. build/lib/catocli/parsers/mutation_accountManagement/__init__.py +48 -0
  19. build/lib/catocli/parsers/mutation_admin/__init__.py +48 -0
  20. build/lib/catocli/parsers/mutation_container/__init__.py +138 -0
  21. build/lib/catocli/parsers/mutation_hardware/__init__.py +22 -0
  22. build/lib/catocli/parsers/mutation_policy/__init__.py +1305 -0
  23. build/lib/catocli/parsers/mutation_sandbox/__init__.py +35 -0
  24. build/lib/catocli/parsers/mutation_site/__init__.py +373 -0
  25. build/lib/catocli/parsers/mutation_sites/__init__.py +373 -0
  26. build/lib/catocli/parsers/mutation_xdr/__init__.py +48 -0
  27. build/lib/catocli/parsers/parserApiClient.py +513 -0
  28. build/lib/catocli/parsers/query_accountBySubdomain/__init__.py +16 -0
  29. build/lib/catocli/parsers/query_accountManagement/__init__.py +16 -0
  30. build/lib/catocli/parsers/query_accountMetrics/__init__.py +16 -0
  31. build/lib/catocli/parsers/query_accountRoles/__init__.py +16 -0
  32. build/lib/catocli/parsers/query_accountSnapshot/__init__.py +16 -0
  33. build/lib/catocli/parsers/query_admin/__init__.py +16 -0
  34. build/lib/catocli/parsers/query_admins/__init__.py +16 -0
  35. build/lib/catocli/parsers/query_appStats/__init__.py +16 -0
  36. build/lib/catocli/parsers/query_appStatsTimeSeries/__init__.py +16 -0
  37. build/lib/catocli/parsers/query_auditFeed/__init__.py +16 -0
  38. build/lib/catocli/parsers/query_catalogs/__init__.py +16 -0
  39. build/lib/catocli/parsers/query_container/__init__.py +16 -0
  40. build/lib/catocli/parsers/query_devices/__init__.py +16 -0
  41. build/lib/catocli/parsers/query_entityLookup/__init__.py +16 -0
  42. build/lib/catocli/parsers/query_events/__init__.py +16 -0
  43. build/lib/catocli/parsers/query_eventsFeed/__init__.py +16 -0
  44. build/lib/catocli/parsers/query_eventsTimeSeries/__init__.py +16 -0
  45. build/lib/catocli/parsers/query_hardware/__init__.py +16 -0
  46. build/lib/catocli/parsers/query_hardwareManagement/__init__.py +16 -0
  47. build/lib/catocli/parsers/query_licensing/__init__.py +16 -0
  48. build/lib/catocli/parsers/query_policy/__init__.py +161 -0
  49. build/lib/catocli/parsers/query_sandbox/__init__.py +16 -0
  50. build/lib/catocli/parsers/query_site/__init__.py +100 -0
  51. build/lib/catocli/parsers/query_siteLocation/__init__.py +13 -0
  52. build/lib/catocli/parsers/query_subDomains/__init__.py +16 -0
  53. build/lib/catocli/parsers/query_xdr/__init__.py +35 -0
  54. build/lib/catocli/parsers/raw/__init__.py +12 -0
  55. build/lib/graphql_client/__init__.py +11 -0
  56. build/lib/graphql_client/api/__init__.py +3 -0
  57. build/lib/graphql_client/api/call_api.py +84 -0
  58. build/lib/graphql_client/api_client.py +192 -0
  59. build/lib/graphql_client/api_client_types.py +409 -0
  60. build/lib/graphql_client/configuration.py +232 -0
  61. build/lib/graphql_client/models/__init__.py +13 -0
  62. build/lib/graphql_client/models/no_schema.py +71 -0
  63. build/lib/schema/catolib.py +1141 -0
  64. build/lib/schema/importSchema.py +60 -0
  65. build/lib/schema/remove_policyid.py +89 -0
  66. build/lib/schema/remove_policyid_mutations.py +89 -0
  67. build/lib/scripts/catolib.py +62 -0
  68. build/lib/scripts/export_if_rules_to_json.py +188 -0
  69. build/lib/scripts/export_wf_rules_to_json.py +111 -0
  70. build/lib/scripts/import_wf_rules_to_tfstate.py +331 -0
  71. build/lib/vendor/certifi/__init__.py +4 -0
  72. build/lib/vendor/certifi/__main__.py +12 -0
  73. build/lib/vendor/certifi/core.py +114 -0
  74. build/lib/vendor/certifi/py.typed +0 -0
  75. build/lib/vendor/six.py +998 -0
  76. build/lib/vendor/urllib3/__init__.py +211 -0
  77. build/lib/vendor/urllib3/_base_connection.py +172 -0
  78. build/lib/vendor/urllib3/_collections.py +483 -0
  79. build/lib/vendor/urllib3/_request_methods.py +278 -0
  80. build/lib/vendor/urllib3/_version.py +16 -0
  81. build/lib/vendor/urllib3/connection.py +1033 -0
  82. build/lib/vendor/urllib3/connectionpool.py +1182 -0
  83. build/lib/vendor/urllib3/contrib/__init__.py +0 -0
  84. build/lib/vendor/urllib3/contrib/emscripten/__init__.py +18 -0
  85. build/lib/vendor/urllib3/contrib/emscripten/connection.py +254 -0
  86. build/lib/vendor/urllib3/contrib/emscripten/fetch.py +418 -0
  87. build/lib/vendor/urllib3/contrib/emscripten/request.py +22 -0
  88. build/lib/vendor/urllib3/contrib/emscripten/response.py +285 -0
  89. build/lib/vendor/urllib3/contrib/pyopenssl.py +552 -0
  90. build/lib/vendor/urllib3/contrib/socks.py +228 -0
  91. build/lib/vendor/urllib3/exceptions.py +321 -0
  92. build/lib/vendor/urllib3/fields.py +341 -0
  93. build/lib/vendor/urllib3/filepost.py +89 -0
  94. build/lib/vendor/urllib3/http2/__init__.py +53 -0
  95. build/lib/vendor/urllib3/http2/connection.py +356 -0
  96. build/lib/vendor/urllib3/http2/probe.py +87 -0
  97. build/lib/vendor/urllib3/poolmanager.py +637 -0
  98. build/lib/vendor/urllib3/py.typed +2 -0
  99. build/lib/vendor/urllib3/response.py +1265 -0
  100. build/lib/vendor/urllib3/util/__init__.py +42 -0
  101. build/lib/vendor/urllib3/util/connection.py +137 -0
  102. build/lib/vendor/urllib3/util/proxy.py +43 -0
  103. build/lib/vendor/urllib3/util/request.py +256 -0
  104. build/lib/vendor/urllib3/util/response.py +101 -0
  105. build/lib/vendor/urllib3/util/retry.py +533 -0
  106. build/lib/vendor/urllib3/util/ssl_.py +513 -0
  107. build/lib/vendor/urllib3/util/ssl_match_hostname.py +159 -0
  108. build/lib/vendor/urllib3/util/ssltransport.py +276 -0
  109. build/lib/vendor/urllib3/util/timeout.py +275 -0
  110. build/lib/vendor/urllib3/util/url.py +471 -0
  111. build/lib/vendor/urllib3/util/util.py +42 -0
  112. build/lib/vendor/urllib3/util/wait.py +124 -0
  113. catocli/Utils/clidriver.py +1 -4
  114. catocli/__init__.py +1 -1
  115. catocli/parsers/custom/export_rules/__init__.py +2 -0
  116. catocli/parsers/custom/export_rules/export_rules.py +29 -5
  117. catocli/parsers/custom/export_sites/__init__.py +1 -0
  118. catocli/parsers/custom/export_sites/export_sites.py +10 -3
  119. catocli/parsers/mutation_container/__init__.py +116 -0
  120. catocli/parsers/mutation_container_fqdn/README.md +7 -0
  121. catocli/parsers/mutation_container_fqdn_addValues/README.md +17 -0
  122. catocli/parsers/mutation_container_fqdn_createFromFile/README.md +17 -0
  123. catocli/parsers/mutation_container_fqdn_removeValues/README.md +17 -0
  124. catocli/parsers/mutation_container_fqdn_updateFromFile/README.md +17 -0
  125. catocli/parsers/mutation_container_ipAddressRange/README.md +7 -0
  126. catocli/parsers/mutation_container_ipAddressRange_addValues/README.md +17 -0
  127. catocli/parsers/mutation_container_ipAddressRange_createFromFile/README.md +17 -0
  128. catocli/parsers/mutation_container_ipAddressRange_removeValues/README.md +17 -0
  129. catocli/parsers/mutation_container_ipAddressRange_updateFromFile/README.md +17 -0
  130. catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +1 -1
  131. catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +1 -1
  132. catocli/parsers/mutation_policy_wanFirewall_addRule/README.md +1 -1
  133. catocli/parsers/mutation_policy_wanFirewall_updateRule/README.md +1 -1
  134. catocli/parsers/parserApiClient.py +183 -7
  135. catocli/parsers/query_policy/README.md +0 -17
  136. catocli/parsers/query_policy/__init__.py +153 -8
  137. catocli/parsers/query_policy_appTenantRestriction/README.md +7 -0
  138. catocli/parsers/query_policy_appTenantRestriction_policy/README.md +17 -0
  139. catocli/parsers/query_policy_dynamicIpAllocation/README.md +7 -0
  140. catocli/parsers/query_policy_dynamicIpAllocation_policy/README.md +17 -0
  141. catocli/parsers/query_policy_internetFirewall/README.md +7 -0
  142. catocli/parsers/query_policy_internetFirewall_policy/README.md +17 -0
  143. catocli/parsers/query_policy_remotePortFwd/README.md +7 -0
  144. catocli/parsers/query_policy_remotePortFwd_policy/README.md +17 -0
  145. catocli/parsers/query_policy_socketLan/README.md +7 -0
  146. catocli/parsers/query_policy_socketLan_policy/README.md +17 -0
  147. catocli/parsers/query_policy_terminalServer/README.md +7 -0
  148. catocli/parsers/query_policy_terminalServer_policy/README.md +17 -0
  149. catocli/parsers/query_policy_wanFirewall/README.md +7 -0
  150. catocli/parsers/query_policy_wanFirewall_policy/README.md +17 -0
  151. catocli/parsers/query_policy_wanNetwork/README.md +7 -0
  152. catocli/parsers/query_policy_wanNetwork_policy/README.md +17 -0
  153. catocli/parsers/query_site/README.md +0 -16
  154. catocli/parsers/query_site/__init__.py +92 -8
  155. catocli/parsers/query_site_availableVersionList/README.md +17 -0
  156. catocli/parsers/query_site_bgpPeer/README.md +17 -0
  157. catocli/parsers/query_site_bgpPeerList/README.md +17 -0
  158. catocli/parsers/query_site_cloudInterconnectConnectionConnectivity/README.md +17 -0
  159. catocli/parsers/query_site_cloudInterconnectPhysicalConnection/README.md +17 -0
  160. catocli/parsers/query_site_cloudInterconnectPhysicalConnectionId/README.md +17 -0
  161. catocli/parsers/query_site_siteBgpStatus/README.md +17 -0
  162. {catocli-2.0.3.dist-info → catocli-2.0.5.dist-info}/METADATA +1 -1
  163. {catocli-2.0.3.dist-info → catocli-2.0.5.dist-info}/RECORD +291 -121
  164. {catocli-2.0.3.dist-info → catocli-2.0.5.dist-info}/top_level.txt +1 -0
  165. graphql_client/api/call_api.py +4 -3
  166. models/mutation.container.fqdn.addValues.json +866 -0
  167. models/mutation.container.fqdn.createFromFile.json +819 -0
  168. models/mutation.container.fqdn.removeValues.json +866 -0
  169. models/mutation.container.fqdn.updateFromFile.json +1045 -0
  170. models/mutation.container.ipAddressRange.addValues.json +1020 -0
  171. models/mutation.container.ipAddressRange.createFromFile.json +819 -0
  172. models/mutation.container.ipAddressRange.removeValues.json +1020 -0
  173. models/mutation.container.ipAddressRange.updateFromFile.json +1045 -0
  174. models/mutation.policy.appTenantRestriction.addRule.json +8 -8
  175. models/mutation.policy.appTenantRestriction.addSection.json +1 -1
  176. models/mutation.policy.appTenantRestriction.createPolicyRevision.json +2 -2
  177. models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +2 -2
  178. models/mutation.policy.appTenantRestriction.moveRule.json +2 -2
  179. models/mutation.policy.appTenantRestriction.moveSection.json +1 -1
  180. models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +2 -2
  181. models/mutation.policy.appTenantRestriction.removeRule.json +2 -2
  182. models/mutation.policy.appTenantRestriction.removeSection.json +1 -1
  183. models/mutation.policy.appTenantRestriction.updatePolicy.json +2 -2
  184. models/mutation.policy.appTenantRestriction.updateRule.json +8 -8
  185. models/mutation.policy.appTenantRestriction.updateSection.json +1 -1
  186. models/mutation.policy.dynamicIpAllocation.addRule.json +1 -1
  187. models/mutation.policy.dynamicIpAllocation.addSection.json +1 -1
  188. models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +1 -1
  189. models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +1 -1
  190. models/mutation.policy.dynamicIpAllocation.moveRule.json +1 -1
  191. models/mutation.policy.dynamicIpAllocation.moveSection.json +1 -1
  192. models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +1 -1
  193. models/mutation.policy.dynamicIpAllocation.removeRule.json +1 -1
  194. models/mutation.policy.dynamicIpAllocation.removeSection.json +1 -1
  195. models/mutation.policy.dynamicIpAllocation.updatePolicy.json +1 -1
  196. models/mutation.policy.dynamicIpAllocation.updateRule.json +1 -1
  197. models/mutation.policy.dynamicIpAllocation.updateSection.json +1 -1
  198. models/mutation.policy.internetFirewall.addRule.json +502 -55
  199. models/mutation.policy.internetFirewall.addSection.json +1 -1
  200. models/mutation.policy.internetFirewall.createPolicyRevision.json +127 -10
  201. models/mutation.policy.internetFirewall.discardPolicyRevision.json +127 -10
  202. models/mutation.policy.internetFirewall.moveRule.json +127 -10
  203. models/mutation.policy.internetFirewall.moveSection.json +1 -1
  204. models/mutation.policy.internetFirewall.publishPolicyRevision.json +127 -10
  205. models/mutation.policy.internetFirewall.removeRule.json +127 -10
  206. models/mutation.policy.internetFirewall.removeSection.json +1 -1
  207. models/mutation.policy.internetFirewall.updatePolicy.json +127 -10
  208. models/mutation.policy.internetFirewall.updateRule.json +493 -55
  209. models/mutation.policy.internetFirewall.updateSection.json +1 -1
  210. models/mutation.policy.remotePortFwd.addRule.json +5 -5
  211. models/mutation.policy.remotePortFwd.addSection.json +1 -1
  212. models/mutation.policy.remotePortFwd.createPolicyRevision.json +2 -2
  213. models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2 -2
  214. models/mutation.policy.remotePortFwd.moveRule.json +2 -2
  215. models/mutation.policy.remotePortFwd.moveSection.json +1 -1
  216. models/mutation.policy.remotePortFwd.publishPolicyRevision.json +2 -2
  217. models/mutation.policy.remotePortFwd.removeRule.json +2 -2
  218. models/mutation.policy.remotePortFwd.removeSection.json +1 -1
  219. models/mutation.policy.remotePortFwd.updatePolicy.json +2 -2
  220. models/mutation.policy.remotePortFwd.updateRule.json +5 -5
  221. models/mutation.policy.remotePortFwd.updateSection.json +1 -1
  222. models/mutation.policy.socketLan.addRule.json +16 -16
  223. models/mutation.policy.socketLan.addSection.json +1 -1
  224. models/mutation.policy.socketLan.createPolicyRevision.json +4 -4
  225. models/mutation.policy.socketLan.discardPolicyRevision.json +4 -4
  226. models/mutation.policy.socketLan.moveRule.json +4 -4
  227. models/mutation.policy.socketLan.moveSection.json +1 -1
  228. models/mutation.policy.socketLan.publishPolicyRevision.json +4 -4
  229. models/mutation.policy.socketLan.removeRule.json +4 -4
  230. models/mutation.policy.socketLan.removeSection.json +1 -1
  231. models/mutation.policy.socketLan.updatePolicy.json +4 -4
  232. models/mutation.policy.socketLan.updateRule.json +16 -16
  233. models/mutation.policy.socketLan.updateSection.json +1 -1
  234. models/mutation.policy.terminalServer.addRule.json +1 -1
  235. models/mutation.policy.terminalServer.addSection.json +1 -1
  236. models/mutation.policy.terminalServer.createPolicyRevision.json +1 -1
  237. models/mutation.policy.terminalServer.discardPolicyRevision.json +1 -1
  238. models/mutation.policy.terminalServer.moveRule.json +1 -1
  239. models/mutation.policy.terminalServer.moveSection.json +1 -1
  240. models/mutation.policy.terminalServer.publishPolicyRevision.json +1 -1
  241. models/mutation.policy.terminalServer.removeRule.json +1 -1
  242. models/mutation.policy.terminalServer.removeSection.json +1 -1
  243. models/mutation.policy.terminalServer.updatePolicy.json +1 -1
  244. models/mutation.policy.terminalServer.updateRule.json +1 -1
  245. models/mutation.policy.terminalServer.updateSection.json +1 -1
  246. models/mutation.policy.wanFirewall.addRule.json +500 -53
  247. models/mutation.policy.wanFirewall.addSection.json +1 -1
  248. models/mutation.policy.wanFirewall.createPolicyRevision.json +128 -11
  249. models/mutation.policy.wanFirewall.discardPolicyRevision.json +128 -11
  250. models/mutation.policy.wanFirewall.moveRule.json +128 -11
  251. models/mutation.policy.wanFirewall.moveSection.json +1 -1
  252. models/mutation.policy.wanFirewall.publishPolicyRevision.json +128 -11
  253. models/mutation.policy.wanFirewall.removeRule.json +128 -11
  254. models/mutation.policy.wanFirewall.removeSection.json +1 -1
  255. models/mutation.policy.wanFirewall.updatePolicy.json +128 -11
  256. models/mutation.policy.wanFirewall.updateRule.json +491 -53
  257. models/mutation.policy.wanFirewall.updateSection.json +1 -1
  258. models/mutation.policy.wanNetwork.addRule.json +13 -13
  259. models/mutation.policy.wanNetwork.addSection.json +1 -1
  260. models/mutation.policy.wanNetwork.createPolicyRevision.json +1 -1
  261. models/mutation.policy.wanNetwork.discardPolicyRevision.json +1 -1
  262. models/mutation.policy.wanNetwork.moveRule.json +1 -1
  263. models/mutation.policy.wanNetwork.moveSection.json +1 -1
  264. models/mutation.policy.wanNetwork.publishPolicyRevision.json +1 -1
  265. models/mutation.policy.wanNetwork.removeRule.json +1 -1
  266. models/mutation.policy.wanNetwork.removeSection.json +1 -1
  267. models/mutation.policy.wanNetwork.updatePolicy.json +1 -1
  268. models/mutation.policy.wanNetwork.updateRule.json +13 -13
  269. models/mutation.policy.wanNetwork.updateSection.json +1 -1
  270. models/query.policy.appTenantRestriction.policy.json +3086 -0
  271. models/query.policy.dynamicIpAllocation.policy.json +1934 -0
  272. models/query.policy.internetFirewall.policy.json +7833 -0
  273. models/query.policy.json +233 -0
  274. models/query.policy.remotePortFwd.policy.json +2387 -0
  275. models/query.policy.socketLan.policy.json +7140 -0
  276. models/query.policy.terminalServer.policy.json +1632 -0
  277. models/query.policy.wanFirewall.policy.json +9212 -0
  278. models/query.policy.wanNetwork.policy.json +8010 -0
  279. models/query.site.availableVersionList.json +365 -0
  280. models/query.site.bgpPeer.json +1917 -0
  281. models/query.site.bgpPeerList.json +2076 -0
  282. models/query.site.cloudInterconnectConnectionConnectivity.json +298 -0
  283. models/query.site.cloudInterconnectPhysicalConnection.json +728 -0
  284. models/query.site.cloudInterconnectPhysicalConnectionId.json +660 -0
  285. models/query.site.siteBgpStatus.json +869 -0
  286. schema/catolib.py +13 -6
  287. schema/remove_policyid.py +89 -0
  288. schema/remove_policyid_mutations.py +89 -0
  289. {catocli-2.0.3.dist-info → catocli-2.0.5.dist-info}/LICENSE +0 -0
  290. {catocli-2.0.3.dist-info → catocli-2.0.5.dist-info}/WHEEL +0 -0
  291. {catocli-2.0.3.dist-info → catocli-2.0.5.dist-info}/entry_points.txt +0 -0
@@ -916,7 +916,7 @@
916
916
  "responseStr": "errors:$policyMutationError ",
917
917
  "type": {
918
918
  "definition": {
919
- "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can\u2019t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
919
+ "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can’t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
920
920
  "enumValues": null,
921
921
  "fields": {
922
922
  "errorCode": {
@@ -230,6 +230,7 @@
230
230
  "PolicyMutationRevisionInput": true,
231
231
  "PolicyMutationStatus": true,
232
232
  "PolicyRevision": true,
233
+ "PolicyRuleActivePeriod": true,
233
234
  "PolicyRuleTrackingAlert": true,
234
235
  "PolicyRuleTrackingEvent": true,
235
236
  "PolicyRuleTrackingFrequencyEnum": true,
@@ -632,7 +633,7 @@
632
633
  "responseStr": "errors:$policyMutationError ",
633
634
  "type": {
634
635
  "definition": {
635
- "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can\u2019t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
636
+ "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can’t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
636
637
  "enumValues": null,
637
638
  "fields": {
638
639
  "errorCode": {
@@ -1203,11 +1204,127 @@
1203
1204
  },
1204
1205
  "varName": "action"
1205
1206
  },
1207
+ "activePeriod": {
1208
+ "alias": "policyRuleActivePeriodActivePeriod: activePeriod",
1209
+ "args": {},
1210
+ "deprecationReason": null,
1211
+ "description": "The time period during which the rule is active, outside this period, the rule is inactive",
1212
+ "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___activePeriod",
1213
+ "isDeprecated": false,
1214
+ "name": "activePeriod",
1215
+ "path": "wanFirewall.createPolicyRevision.policy.rules.rule.activePeriod",
1216
+ "requestStr": "$policyRuleActivePeriod:PolicyRuleActivePeriod! ",
1217
+ "required": true,
1218
+ "responseStr": "activePeriod:$policyRuleActivePeriod ",
1219
+ "type": {
1220
+ "definition": {
1221
+ "description": "Returns the time period during which the rule is active, outside this period, the rule is inactive",
1222
+ "enumValues": null,
1223
+ "fields": {
1224
+ "effectiveFrom": {
1225
+ "args": {},
1226
+ "deprecationReason": null,
1227
+ "description": "The time the rule becomes active, if not used, default null",
1228
+ "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___activePeriod___effectiveFrom",
1229
+ "isDeprecated": false,
1230
+ "name": "effectiveFrom",
1231
+ "path": "wanFirewall.createPolicyRevision.policy.rules.rule.activePeriod.effectiveFrom",
1232
+ "requestStr": "$effectiveFrom:DateTime ",
1233
+ "required": false,
1234
+ "responseStr": "effectiveFrom:$effectiveFrom ",
1235
+ "type": {
1236
+ "kind": [
1237
+ "SCALAR"
1238
+ ],
1239
+ "name": "DateTime",
1240
+ "non_null": false
1241
+ },
1242
+ "varName": "effectiveFrom"
1243
+ },
1244
+ "expiresAt": {
1245
+ "args": {},
1246
+ "deprecationReason": null,
1247
+ "description": "The time the rule expires, if not used, default null",
1248
+ "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___activePeriod___expiresAt",
1249
+ "isDeprecated": false,
1250
+ "name": "expiresAt",
1251
+ "path": "wanFirewall.createPolicyRevision.policy.rules.rule.activePeriod.expiresAt",
1252
+ "requestStr": "$expiresAt:DateTime ",
1253
+ "required": false,
1254
+ "responseStr": "expiresAt:$expiresAt ",
1255
+ "type": {
1256
+ "kind": [
1257
+ "SCALAR"
1258
+ ],
1259
+ "name": "DateTime",
1260
+ "non_null": false
1261
+ },
1262
+ "varName": "expiresAt"
1263
+ },
1264
+ "useEffectiveFrom": {
1265
+ "args": {},
1266
+ "deprecationReason": null,
1267
+ "description": null,
1268
+ "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___activePeriod___useEffectiveFrom",
1269
+ "isDeprecated": false,
1270
+ "name": "useEffectiveFrom",
1271
+ "path": "wanFirewall.createPolicyRevision.policy.rules.rule.activePeriod.useEffectiveFrom",
1272
+ "requestStr": "$useEffectiveFrom:Boolean! ",
1273
+ "required": true,
1274
+ "responseStr": "useEffectiveFrom:$useEffectiveFrom ",
1275
+ "type": {
1276
+ "kind": [
1277
+ "NON_NULL",
1278
+ "SCALAR"
1279
+ ],
1280
+ "name": "Boolean",
1281
+ "non_null": false
1282
+ },
1283
+ "varName": "useEffectiveFrom"
1284
+ },
1285
+ "useExpiresAt": {
1286
+ "args": {},
1287
+ "deprecationReason": null,
1288
+ "description": null,
1289
+ "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___activePeriod___useExpiresAt",
1290
+ "isDeprecated": false,
1291
+ "name": "useExpiresAt",
1292
+ "path": "wanFirewall.createPolicyRevision.policy.rules.rule.activePeriod.useExpiresAt",
1293
+ "requestStr": "$useExpiresAt:Boolean! ",
1294
+ "required": true,
1295
+ "responseStr": "useExpiresAt:$useExpiresAt ",
1296
+ "type": {
1297
+ "kind": [
1298
+ "NON_NULL",
1299
+ "SCALAR"
1300
+ ],
1301
+ "name": "Boolean",
1302
+ "non_null": false
1303
+ },
1304
+ "varName": "useExpiresAt"
1305
+ }
1306
+ },
1307
+ "inputFields": null,
1308
+ "interfaces": {},
1309
+ "kind": "OBJECT",
1310
+ "name": "PolicyRuleActivePeriod",
1311
+ "possibleTypes": null
1312
+ },
1313
+ "indexType": "object",
1314
+ "kind": [
1315
+ "NON_NULL",
1316
+ "OBJECT"
1317
+ ],
1318
+ "name": "PolicyRuleActivePeriod",
1319
+ "non_null": false
1320
+ },
1321
+ "varName": "policyRuleActivePeriod"
1322
+ },
1206
1323
  "application": {
1207
1324
  "alias": "wanFirewallApplicationApplication: application",
1208
1325
  "args": {},
1209
1326
  "deprecationReason": null,
1210
- "description": "Application traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
1327
+ "description": "Application traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
1211
1328
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___application",
1212
1329
  "isDeprecated": false,
1213
1330
  "name": "application",
@@ -1458,7 +1575,7 @@
1458
1575
  "alias": "customCategoryRefCustomCategory: customCategory",
1459
1576
  "args": {},
1460
1577
  "deprecationReason": null,
1461
- "description": "Custom Categories \u2013 Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
1578
+ "description": "Custom Categories Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
1462
1579
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___application___customCategory",
1463
1580
  "isDeprecated": false,
1464
1581
  "name": "customCategory",
@@ -1931,7 +2048,7 @@
1931
2048
  "alias": "countryRefCountry: country",
1932
2049
  "args": {},
1933
2050
  "deprecationReason": null,
1934
- "description": "Source country traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
2051
+ "description": "Source country traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
1935
2052
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___country",
1936
2053
  "isDeprecated": false,
1937
2054
  "name": "country",
@@ -2030,7 +2147,7 @@
2030
2147
  "alias": "wanFirewallDestinationDestination: destination",
2031
2148
  "args": {},
2032
2149
  "deprecationReason": null,
2033
- "description": "Destination traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
2150
+ "description": "Destination traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
2034
2151
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___destination",
2035
2152
  "isDeprecated": false,
2036
2153
  "name": "destination",
@@ -2968,7 +3085,7 @@
2968
3085
  "alias": "deviceProfileRefDevice: device",
2969
3086
  "args": {},
2970
3087
  "deprecationReason": null,
2971
- "description": "Source Device Profile traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
3088
+ "description": "Source Device Profile traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
2972
3089
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___device",
2973
3090
  "isDeprecated": false,
2974
3091
  "name": "device",
@@ -3218,7 +3335,7 @@
3218
3335
  "alias": "operatingSystemDeviceOS: deviceOS",
3219
3336
  "args": {},
3220
3337
  "deprecationReason": null,
3221
- "description": "Source device Operating System traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
3338
+ "description": "Source device Operating System traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
3222
3339
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___deviceOS",
3223
3340
  "isDeprecated": false,
3224
3341
  "name": "deviceOS",
@@ -3625,7 +3742,7 @@
3625
3742
  "alias": "customCategoryRefCustomCategory: customCategory",
3626
3743
  "args": {},
3627
3744
  "deprecationReason": null,
3628
- "description": "Custom Categories \u2013 Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
3745
+ "description": "Custom Categories Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
3629
3746
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___exceptions___application___customCategory",
3630
3747
  "isDeprecated": false,
3631
3748
  "name": "customCategory",
@@ -7227,7 +7344,7 @@
7227
7344
  "alias": "wanFirewallServiceTypeService: service",
7228
7345
  "args": {},
7229
7346
  "deprecationReason": null,
7230
- "description": "Destination service traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
7347
+ "description": "Destination service traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
7231
7348
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___service",
7232
7349
  "isDeprecated": false,
7233
7350
  "name": "service",
@@ -7536,7 +7653,7 @@
7536
7653
  "alias": "wanFirewallSourceSource: source",
7537
7654
  "args": {},
7538
7655
  "deprecationReason": null,
7539
- "description": "Source traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
7656
+ "description": "Source traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
7540
7657
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___source",
7541
7658
  "isDeprecated": false,
7542
7659
  "name": "source",
@@ -8507,7 +8624,7 @@
8507
8624
  "enabled": {
8508
8625
  "args": {},
8509
8626
  "deprecationReason": null,
8510
- "description": "TRUE \u2013 send alerts when the rule is matched, FALSE \u2013 don\u2019t send alerts when the rule is matched",
8627
+ "description": "TRUE send alerts when the rule is matched, FALSE don’t send alerts when the rule is matched",
8511
8628
  "id_str": "wanFirewall___createPolicyRevision___policy___rules___rule___tracking___alert___enabled",
8512
8629
  "isDeprecated": false,
8513
8630
  "name": "enabled",
@@ -209,6 +209,7 @@
209
209
  "PolicyMutationRevisionInput": true,
210
210
  "PolicyMutationStatus": true,
211
211
  "PolicyRevision": true,
212
+ "PolicyRuleActivePeriod": true,
212
213
  "PolicyRuleTrackingAlert": true,
213
214
  "PolicyRuleTrackingEvent": true,
214
215
  "PolicyRuleTrackingFrequencyEnum": true,
@@ -569,7 +570,7 @@
569
570
  "responseStr": "errors:$policyMutationError ",
570
571
  "type": {
571
572
  "definition": {
572
- "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can\u2019t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
573
+ "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can’t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
573
574
  "enumValues": null,
574
575
  "fields": {
575
576
  "errorCode": {
@@ -1140,11 +1141,127 @@
1140
1141
  },
1141
1142
  "varName": "action"
1142
1143
  },
1144
+ "activePeriod": {
1145
+ "alias": "policyRuleActivePeriodActivePeriod: activePeriod",
1146
+ "args": {},
1147
+ "deprecationReason": null,
1148
+ "description": "The time period during which the rule is active, outside this period, the rule is inactive",
1149
+ "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___activePeriod",
1150
+ "isDeprecated": false,
1151
+ "name": "activePeriod",
1152
+ "path": "wanFirewall.discardPolicyRevision.policy.rules.rule.activePeriod",
1153
+ "requestStr": "$policyRuleActivePeriod:PolicyRuleActivePeriod! ",
1154
+ "required": true,
1155
+ "responseStr": "activePeriod:$policyRuleActivePeriod ",
1156
+ "type": {
1157
+ "definition": {
1158
+ "description": "Returns the time period during which the rule is active, outside this period, the rule is inactive",
1159
+ "enumValues": null,
1160
+ "fields": {
1161
+ "effectiveFrom": {
1162
+ "args": {},
1163
+ "deprecationReason": null,
1164
+ "description": "The time the rule becomes active, if not used, default null",
1165
+ "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___activePeriod___effectiveFrom",
1166
+ "isDeprecated": false,
1167
+ "name": "effectiveFrom",
1168
+ "path": "wanFirewall.discardPolicyRevision.policy.rules.rule.activePeriod.effectiveFrom",
1169
+ "requestStr": "$effectiveFrom:DateTime ",
1170
+ "required": false,
1171
+ "responseStr": "effectiveFrom:$effectiveFrom ",
1172
+ "type": {
1173
+ "kind": [
1174
+ "SCALAR"
1175
+ ],
1176
+ "name": "DateTime",
1177
+ "non_null": false
1178
+ },
1179
+ "varName": "effectiveFrom"
1180
+ },
1181
+ "expiresAt": {
1182
+ "args": {},
1183
+ "deprecationReason": null,
1184
+ "description": "The time the rule expires, if not used, default null",
1185
+ "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___activePeriod___expiresAt",
1186
+ "isDeprecated": false,
1187
+ "name": "expiresAt",
1188
+ "path": "wanFirewall.discardPolicyRevision.policy.rules.rule.activePeriod.expiresAt",
1189
+ "requestStr": "$expiresAt:DateTime ",
1190
+ "required": false,
1191
+ "responseStr": "expiresAt:$expiresAt ",
1192
+ "type": {
1193
+ "kind": [
1194
+ "SCALAR"
1195
+ ],
1196
+ "name": "DateTime",
1197
+ "non_null": false
1198
+ },
1199
+ "varName": "expiresAt"
1200
+ },
1201
+ "useEffectiveFrom": {
1202
+ "args": {},
1203
+ "deprecationReason": null,
1204
+ "description": null,
1205
+ "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___activePeriod___useEffectiveFrom",
1206
+ "isDeprecated": false,
1207
+ "name": "useEffectiveFrom",
1208
+ "path": "wanFirewall.discardPolicyRevision.policy.rules.rule.activePeriod.useEffectiveFrom",
1209
+ "requestStr": "$useEffectiveFrom:Boolean! ",
1210
+ "required": true,
1211
+ "responseStr": "useEffectiveFrom:$useEffectiveFrom ",
1212
+ "type": {
1213
+ "kind": [
1214
+ "NON_NULL",
1215
+ "SCALAR"
1216
+ ],
1217
+ "name": "Boolean",
1218
+ "non_null": false
1219
+ },
1220
+ "varName": "useEffectiveFrom"
1221
+ },
1222
+ "useExpiresAt": {
1223
+ "args": {},
1224
+ "deprecationReason": null,
1225
+ "description": null,
1226
+ "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___activePeriod___useExpiresAt",
1227
+ "isDeprecated": false,
1228
+ "name": "useExpiresAt",
1229
+ "path": "wanFirewall.discardPolicyRevision.policy.rules.rule.activePeriod.useExpiresAt",
1230
+ "requestStr": "$useExpiresAt:Boolean! ",
1231
+ "required": true,
1232
+ "responseStr": "useExpiresAt:$useExpiresAt ",
1233
+ "type": {
1234
+ "kind": [
1235
+ "NON_NULL",
1236
+ "SCALAR"
1237
+ ],
1238
+ "name": "Boolean",
1239
+ "non_null": false
1240
+ },
1241
+ "varName": "useExpiresAt"
1242
+ }
1243
+ },
1244
+ "inputFields": null,
1245
+ "interfaces": {},
1246
+ "kind": "OBJECT",
1247
+ "name": "PolicyRuleActivePeriod",
1248
+ "possibleTypes": null
1249
+ },
1250
+ "indexType": "object",
1251
+ "kind": [
1252
+ "NON_NULL",
1253
+ "OBJECT"
1254
+ ],
1255
+ "name": "PolicyRuleActivePeriod",
1256
+ "non_null": false
1257
+ },
1258
+ "varName": "policyRuleActivePeriod"
1259
+ },
1143
1260
  "application": {
1144
1261
  "alias": "wanFirewallApplicationApplication: application",
1145
1262
  "args": {},
1146
1263
  "deprecationReason": null,
1147
- "description": "Application traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
1264
+ "description": "Application traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
1148
1265
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___application",
1149
1266
  "isDeprecated": false,
1150
1267
  "name": "application",
@@ -1395,7 +1512,7 @@
1395
1512
  "alias": "customCategoryRefCustomCategory: customCategory",
1396
1513
  "args": {},
1397
1514
  "deprecationReason": null,
1398
- "description": "Custom Categories \u2013 Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
1515
+ "description": "Custom Categories Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
1399
1516
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___application___customCategory",
1400
1517
  "isDeprecated": false,
1401
1518
  "name": "customCategory",
@@ -1868,7 +1985,7 @@
1868
1985
  "alias": "countryRefCountry: country",
1869
1986
  "args": {},
1870
1987
  "deprecationReason": null,
1871
- "description": "Source country traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
1988
+ "description": "Source country traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
1872
1989
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___country",
1873
1990
  "isDeprecated": false,
1874
1991
  "name": "country",
@@ -1967,7 +2084,7 @@
1967
2084
  "alias": "wanFirewallDestinationDestination: destination",
1968
2085
  "args": {},
1969
2086
  "deprecationReason": null,
1970
- "description": "Destination traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
2087
+ "description": "Destination traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
1971
2088
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___destination",
1972
2089
  "isDeprecated": false,
1973
2090
  "name": "destination",
@@ -2905,7 +3022,7 @@
2905
3022
  "alias": "deviceProfileRefDevice: device",
2906
3023
  "args": {},
2907
3024
  "deprecationReason": null,
2908
- "description": "Source Device Profile traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
3025
+ "description": "Source Device Profile traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
2909
3026
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___device",
2910
3027
  "isDeprecated": false,
2911
3028
  "name": "device",
@@ -3155,7 +3272,7 @@
3155
3272
  "alias": "operatingSystemDeviceOS: deviceOS",
3156
3273
  "args": {},
3157
3274
  "deprecationReason": null,
3158
- "description": "Source device Operating System traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
3275
+ "description": "Source device Operating System traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
3159
3276
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___deviceOS",
3160
3277
  "isDeprecated": false,
3161
3278
  "name": "deviceOS",
@@ -3562,7 +3679,7 @@
3562
3679
  "alias": "customCategoryRefCustomCategory: customCategory",
3563
3680
  "args": {},
3564
3681
  "deprecationReason": null,
3565
- "description": "Custom Categories \u2013 Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
3682
+ "description": "Custom Categories Groups of objects such as predefined and custom applications, predefined and custom services, domains, FQDNs etc.",
3566
3683
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___exceptions___application___customCategory",
3567
3684
  "isDeprecated": false,
3568
3685
  "name": "customCategory",
@@ -7164,7 +7281,7 @@
7164
7281
  "alias": "wanFirewallServiceTypeService: service",
7165
7282
  "args": {},
7166
7283
  "deprecationReason": null,
7167
- "description": "Destination service traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
7284
+ "description": "Destination service traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
7168
7285
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___service",
7169
7286
  "isDeprecated": false,
7170
7287
  "name": "service",
@@ -7473,7 +7590,7 @@
7473
7590
  "alias": "wanFirewallSourceSource: source",
7474
7591
  "args": {},
7475
7592
  "deprecationReason": null,
7476
- "description": "Source traffic matching criteria.\nLogical \u2018OR\u2019 is applied within the criteria set.\nLogical \u2018AND\u2019 is applied between criteria sets.",
7593
+ "description": "Source traffic matching criteria.\nLogical ‘OR’ is applied within the criteria set.\nLogical ‘AND’ is applied between criteria sets.",
7477
7594
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___source",
7478
7595
  "isDeprecated": false,
7479
7596
  "name": "source",
@@ -8444,7 +8561,7 @@
8444
8561
  "enabled": {
8445
8562
  "args": {},
8446
8563
  "deprecationReason": null,
8447
- "description": "TRUE \u2013 send alerts when the rule is matched, FALSE \u2013 don\u2019t send alerts when the rule is matched",
8564
+ "description": "TRUE send alerts when the rule is matched, FALSE don’t send alerts when the rule is matched",
8448
8565
  "id_str": "wanFirewall___discardPolicyRevision___policy___rules___rule___tracking___alert___enabled",
8449
8566
  "isDeprecated": false,
8450
8567
  "name": "enabled",