catocli 1.0.15__py3-none-any.whl → 1.0.17__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 (139) hide show
  1. catocli/Utils/clidriver.py +14 -1
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/mutation_policy/__init__.py +348 -0
  4. catocli/parsers/mutation_policy_appTenantRestriction/README.md +7 -0
  5. catocli/parsers/mutation_policy_appTenantRestriction_addRule/README.md +18 -0
  6. catocli/parsers/mutation_policy_appTenantRestriction_addSection/README.md +18 -0
  7. catocli/parsers/mutation_policy_appTenantRestriction_createPolicyRevision/README.md +18 -0
  8. catocli/parsers/mutation_policy_appTenantRestriction_discardPolicyRevision/README.md +18 -0
  9. catocli/parsers/mutation_policy_appTenantRestriction_moveRule/README.md +18 -0
  10. catocli/parsers/mutation_policy_appTenantRestriction_moveSection/README.md +18 -0
  11. catocli/parsers/mutation_policy_appTenantRestriction_publishPolicyRevision/README.md +18 -0
  12. catocli/parsers/mutation_policy_appTenantRestriction_removeRule/README.md +18 -0
  13. catocli/parsers/mutation_policy_appTenantRestriction_removeSection/README.md +18 -0
  14. catocli/parsers/mutation_policy_appTenantRestriction_updatePolicy/README.md +18 -0
  15. catocli/parsers/mutation_policy_appTenantRestriction_updateRule/README.md +18 -0
  16. catocli/parsers/mutation_policy_appTenantRestriction_updateSection/README.md +18 -0
  17. catocli/parsers/mutation_policy_remotePortFwd/README.md +7 -0
  18. catocli/parsers/mutation_policy_remotePortFwd_addRule/README.md +18 -0
  19. catocli/parsers/mutation_policy_remotePortFwd_addSection/README.md +18 -0
  20. catocli/parsers/mutation_policy_remotePortFwd_createPolicyRevision/README.md +18 -0
  21. catocli/parsers/mutation_policy_remotePortFwd_discardPolicyRevision/README.md +18 -0
  22. catocli/parsers/mutation_policy_remotePortFwd_moveRule/README.md +18 -0
  23. catocli/parsers/mutation_policy_remotePortFwd_moveSection/README.md +18 -0
  24. catocli/parsers/mutation_policy_remotePortFwd_publishPolicyRevision/README.md +18 -0
  25. catocli/parsers/mutation_policy_remotePortFwd_removeRule/README.md +18 -0
  26. catocli/parsers/mutation_policy_remotePortFwd_removeSection/README.md +18 -0
  27. catocli/parsers/mutation_policy_remotePortFwd_updatePolicy/README.md +18 -0
  28. catocli/parsers/mutation_policy_remotePortFwd_updateRule/README.md +18 -0
  29. catocli/parsers/mutation_policy_remotePortFwd_updateSection/README.md +18 -0
  30. catocli/parsers/mutation_site/__init__.py +98 -0
  31. catocli/parsers/mutation_site_addBgpPeer/README.md +17 -0
  32. catocli/parsers/mutation_site_addCloudInterconnectPhysicalConnection/README.md +17 -0
  33. catocli/parsers/mutation_site_addCloudInterconnectSite/README.md +17 -0
  34. catocli/parsers/mutation_site_removeBgpPeer/README.md +17 -0
  35. catocli/parsers/mutation_site_removeCloudInterconnectPhysicalConnection/README.md +17 -0
  36. catocli/parsers/mutation_site_updateBgpPeer/README.md +17 -0
  37. catocli/parsers/mutation_site_updateCloudInterconnectPhysicalConnection/README.md +17 -0
  38. catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +1 -1
  39. catocli/parsers/mutation_sites/__init__.py +98 -0
  40. catocli/parsers/mutation_sites_addBgpPeer/README.md +17 -0
  41. catocli/parsers/mutation_sites_addCloudInterconnectPhysicalConnection/README.md +17 -0
  42. catocli/parsers/mutation_sites_addCloudInterconnectSite/README.md +17 -0
  43. catocli/parsers/mutation_sites_removeBgpPeer/README.md +17 -0
  44. catocli/parsers/mutation_sites_removeCloudInterconnectPhysicalConnection/README.md +17 -0
  45. catocli/parsers/mutation_sites_updateBgpPeer/README.md +17 -0
  46. catocli/parsers/mutation_sites_updateCloudInterconnectPhysicalConnection/README.md +17 -0
  47. catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +1 -1
  48. catocli/parsers/query_eventsFeed/README.md +1 -1
  49. catocli/parsers/query_hardwareManagement/README.md +1 -1
  50. catocli/parsers/query_policy/README.md +3 -1
  51. catocli/parsers/query_site/README.md +22 -0
  52. catocli/parsers/query_site/__init__.py +17 -0
  53. {catocli-1.0.15.dist-info → catocli-1.0.17.dist-info}/METADATA +11 -2
  54. {catocli-1.0.15.dist-info → catocli-1.0.17.dist-info}/RECORD +139 -58
  55. {catocli-1.0.15.dist-info → catocli-1.0.17.dist-info}/WHEEL +1 -1
  56. models/mutation.policy.appTenantRestriction.addRule.json +8674 -0
  57. models/mutation.policy.appTenantRestriction.addSection.json +1358 -0
  58. models/mutation.policy.appTenantRestriction.createPolicyRevision.json +3327 -0
  59. models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +3261 -0
  60. models/mutation.policy.appTenantRestriction.moveRule.json +3059 -0
  61. models/mutation.policy.appTenantRestriction.moveSection.json +1259 -0
  62. models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +3318 -0
  63. models/mutation.policy.appTenantRestriction.removeRule.json +2707 -0
  64. models/mutation.policy.appTenantRestriction.removeSection.json +958 -0
  65. models/mutation.policy.appTenantRestriction.updatePolicy.json +3337 -0
  66. models/mutation.policy.appTenantRestriction.updateRule.json +8295 -0
  67. models/mutation.policy.appTenantRestriction.updateSection.json +1111 -0
  68. models/mutation.policy.remotePortFwd.addRule.json +5502 -0
  69. models/mutation.policy.remotePortFwd.addSection.json +1358 -0
  70. models/mutation.policy.remotePortFwd.createPolicyRevision.json +2628 -0
  71. models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2562 -0
  72. models/mutation.policy.remotePortFwd.moveRule.json +2360 -0
  73. models/mutation.policy.remotePortFwd.moveSection.json +1259 -0
  74. models/mutation.policy.remotePortFwd.publishPolicyRevision.json +2619 -0
  75. models/mutation.policy.remotePortFwd.removeRule.json +2008 -0
  76. models/mutation.policy.remotePortFwd.removeSection.json +958 -0
  77. models/mutation.policy.remotePortFwd.updatePolicy.json +2638 -0
  78. models/mutation.policy.remotePortFwd.updateRule.json +5138 -0
  79. models/mutation.policy.remotePortFwd.updateSection.json +1111 -0
  80. models/mutation.site.addBgpPeer.json +3334 -0
  81. models/mutation.site.addCloudInterconnectPhysicalConnection.json +1441 -0
  82. models/mutation.site.addCloudInterconnectSite.json +911 -0
  83. models/mutation.site.addIpsecIkeV2Site.json +2 -2
  84. models/mutation.site.addIpsecIkeV2SiteTunnels.json +2 -2
  85. models/mutation.site.addNetworkRange.json +2 -2
  86. models/mutation.site.addSocketSite.json +2 -2
  87. models/mutation.site.addStaticHost.json +2 -2
  88. models/mutation.site.removeBgpPeer.json +1158 -0
  89. models/mutation.site.removeCloudInterconnectPhysicalConnection.json +298 -0
  90. models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -2
  91. models/mutation.site.removeNetworkRange.json +2 -2
  92. models/mutation.site.removeSite.json +2 -2
  93. models/mutation.site.removeStaticHost.json +2 -2
  94. models/mutation.site.updateBgpPeer.json +3063 -0
  95. models/mutation.site.updateCloudInterconnectPhysicalConnection.json +1056 -0
  96. models/mutation.site.updateHa.json +2 -2
  97. models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json +2 -2
  98. models/mutation.site.updateIpsecIkeV2SiteTunnels.json +405 -2
  99. models/mutation.site.updateNetworkRange.json +2 -2
  100. models/mutation.site.updateSiteGeneralDetails.json +2 -2
  101. models/mutation.site.updateSocketInterface.json +2 -2
  102. models/mutation.site.updateStaticHost.json +2 -2
  103. models/mutation.sites.addBgpPeer.json +3334 -0
  104. models/mutation.sites.addCloudInterconnectPhysicalConnection.json +1441 -0
  105. models/mutation.sites.addCloudInterconnectSite.json +911 -0
  106. models/mutation.sites.addIpsecIkeV2Site.json +2 -2
  107. models/mutation.sites.addIpsecIkeV2SiteTunnels.json +2 -2
  108. models/mutation.sites.addNetworkRange.json +2 -2
  109. models/mutation.sites.addSocketSite.json +2 -2
  110. models/mutation.sites.addStaticHost.json +2 -2
  111. models/mutation.sites.removeBgpPeer.json +1158 -0
  112. models/mutation.sites.removeCloudInterconnectPhysicalConnection.json +298 -0
  113. models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -2
  114. models/mutation.sites.removeNetworkRange.json +2 -2
  115. models/mutation.sites.removeSite.json +2 -2
  116. models/mutation.sites.removeStaticHost.json +2 -2
  117. models/mutation.sites.updateBgpPeer.json +3063 -0
  118. models/mutation.sites.updateCloudInterconnectPhysicalConnection.json +1056 -0
  119. models/mutation.sites.updateHa.json +2 -2
  120. models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json +2 -2
  121. models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +405 -2
  122. models/mutation.sites.updateNetworkRange.json +2 -2
  123. models/mutation.sites.updateSiteGeneralDetails.json +2 -2
  124. models/mutation.sites.updateSocketInterface.json +2 -2
  125. models/mutation.sites.updateStaticHost.json +2 -2
  126. models/query.auditFeed.json +36 -12
  127. models/query.events.json +144 -48
  128. models/query.eventsFeed.json +36 -12
  129. models/query.eventsTimeSeries.json +108 -36
  130. models/query.hardwareManagement.json +192 -0
  131. models/query.licensing.json +304 -325
  132. models/query.policy.json +9605 -4234
  133. models/query.site.json +4138 -0
  134. models/query.xdr.stories.json +27 -27
  135. models/query.xdr.story.json +27 -27
  136. schema/catolib.py +11 -1
  137. {catocli-1.0.15.dist-info → catocli-1.0.17.dist-info}/LICENSE +0 -0
  138. {catocli-1.0.15.dist-info → catocli-1.0.17.dist-info}/entry_points.txt +0 -0
  139. {catocli-1.0.15.dist-info → catocli-1.0.17.dist-info}/top_level.txt +0 -0
@@ -43,6 +43,7 @@ from ..parsers.query_eventsTimeSeries import query_eventsTimeSeries_parse
43
43
  from ..parsers.query_hardwareManagement import query_hardwareManagement_parse
44
44
  from ..parsers.query_licensing import query_licensing_parse
45
45
  from ..parsers.query_policy import query_policy_parse
46
+ from ..parsers.query_site import query_site_parse
46
47
  from ..parsers.query_subDomains import query_subDomains_parse
47
48
  from ..parsers.query_xdr import query_xdr_parse
48
49
 
@@ -53,7 +54,18 @@ configuration.host = "{}".format(catocli.__cato_host__)
53
54
  configuration.debug = CATO_DEBUG
54
55
  configuration.version = "{}".format(catocli.__version__)
55
56
 
56
- parser = argparse.ArgumentParser(prog='catocli', usage='%(prog)s <operationType> <operationName> [options]', description="CLI for query on CATO via API.")
57
+ defaultReadmeStr = """
58
+ The Cato CLI is a command-line interface tool designed to simplify the management and automation of Cato Networks’ configurations and operations.
59
+ It enables users to interact with Cato’s API for tasks such as managing Cato Management Application (CMA) site and account configurations, security policies, retrieving events, etc.
60
+
61
+
62
+ For assistance in generating syntax for the cli to perform various operations, please refer to the Cato API Explorer application.
63
+
64
+
65
+ https://github.com/catonetworks/cato-api-explorer
66
+ """
67
+
68
+ parser = argparse.ArgumentParser(prog='catocli', usage='%(prog)s <operationType> <operationName> [options]', description=defaultReadmeStr)
57
69
  parser.add_argument('--version', action='version', version=catocli.__version__)
58
70
  subparsers = parser.add_subparsers()
59
71
  custom_parsers = custom_parse(subparsers)
@@ -89,6 +101,7 @@ query_eventsTimeSeries_parser = query_eventsTimeSeries_parse(query_subparsers)
89
101
  query_hardwareManagement_parser = query_hardwareManagement_parse(query_subparsers)
90
102
  query_licensing_parser = query_licensing_parse(query_subparsers)
91
103
  query_policy_parser = query_policy_parse(query_subparsers)
104
+ query_site_parser = query_site_parse(query_subparsers)
92
105
  query_subDomains_parser = query_subDomains_parse(query_subparsers)
93
106
  query_xdr_parser = query_xdr_parse(query_subparsers)
94
107
 
catocli/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "1.0.15"
1
+ __version__ = "1.0.17"
2
2
  __cato_host__ = "https://api.catonetworks.com/api/v1/graphql2"
@@ -8,6 +8,180 @@ def mutation_policy_parse(mutation_subparsers):
8
8
 
9
9
  mutation_policy_subparsers = mutation_policy_parser.add_subparsers()
10
10
 
11
+ mutation_policy_appTenantRestriction_parser = mutation_policy_subparsers.add_parser('appTenantRestriction',
12
+ help='appTenantRestriction() policy operation',
13
+ usage=get_help("mutation_policy_appTenantRestriction"))
14
+
15
+ mutation_policy_appTenantRestriction_subparsers = mutation_policy_appTenantRestriction_parser.add_subparsers()
16
+
17
+ mutation_policy_appTenantRestriction_addRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('addRule',
18
+ help='addRule() appTenantRestriction operation',
19
+ usage=get_help("mutation_policy_appTenantRestriction_addRule"))
20
+
21
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('json', help='Variables in JSON format.')
22
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
23
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
24
+ help='Print test request preview without sending api call')
25
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
26
+ help='Verbose output')
27
+ mutation_policy_appTenantRestriction_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
28
+ help='Pretty print')
29
+ mutation_policy_appTenantRestriction_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.addRule')
30
+
31
+ mutation_policy_appTenantRestriction_addSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('addSection',
32
+ help='addSection() appTenantRestriction operation',
33
+ usage=get_help("mutation_policy_appTenantRestriction_addSection"))
34
+
35
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('json', help='Variables in JSON format.')
36
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
37
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
38
+ help='Print test request preview without sending api call')
39
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
40
+ help='Verbose output')
41
+ mutation_policy_appTenantRestriction_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
42
+ help='Pretty print')
43
+ mutation_policy_appTenantRestriction_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.addSection')
44
+
45
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('createPolicyRevision',
46
+ help='createPolicyRevision() appTenantRestriction operation',
47
+ usage=get_help("mutation_policy_appTenantRestriction_createPolicyRevision"))
48
+
49
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
50
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
51
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
52
+ help='Print test request preview without sending api call')
53
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
54
+ help='Verbose output')
55
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
56
+ help='Pretty print')
57
+ mutation_policy_appTenantRestriction_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.createPolicyRevision')
58
+
59
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('discardPolicyRevision',
60
+ help='discardPolicyRevision() appTenantRestriction operation',
61
+ usage=get_help("mutation_policy_appTenantRestriction_discardPolicyRevision"))
62
+
63
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
64
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
65
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
66
+ help='Print test request preview without sending api call')
67
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
68
+ help='Verbose output')
69
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
70
+ help='Pretty print')
71
+ mutation_policy_appTenantRestriction_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.discardPolicyRevision')
72
+
73
+ mutation_policy_appTenantRestriction_moveRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('moveRule',
74
+ help='moveRule() appTenantRestriction operation',
75
+ usage=get_help("mutation_policy_appTenantRestriction_moveRule"))
76
+
77
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('json', help='Variables in JSON format.')
78
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
79
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
80
+ help='Print test request preview without sending api call')
81
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
82
+ help='Verbose output')
83
+ mutation_policy_appTenantRestriction_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
84
+ help='Pretty print')
85
+ mutation_policy_appTenantRestriction_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.moveRule')
86
+
87
+ mutation_policy_appTenantRestriction_moveSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('moveSection',
88
+ help='moveSection() appTenantRestriction operation',
89
+ usage=get_help("mutation_policy_appTenantRestriction_moveSection"))
90
+
91
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('json', help='Variables in JSON format.')
92
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
93
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
94
+ help='Print test request preview without sending api call')
95
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
96
+ help='Verbose output')
97
+ mutation_policy_appTenantRestriction_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
98
+ help='Pretty print')
99
+ mutation_policy_appTenantRestriction_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.moveSection')
100
+
101
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('publishPolicyRevision',
102
+ help='publishPolicyRevision() appTenantRestriction operation',
103
+ usage=get_help("mutation_policy_appTenantRestriction_publishPolicyRevision"))
104
+
105
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
106
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
107
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
108
+ help='Print test request preview without sending api call')
109
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
110
+ help='Verbose output')
111
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
112
+ help='Pretty print')
113
+ mutation_policy_appTenantRestriction_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.publishPolicyRevision')
114
+
115
+ mutation_policy_appTenantRestriction_removeRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('removeRule',
116
+ help='removeRule() appTenantRestriction operation',
117
+ usage=get_help("mutation_policy_appTenantRestriction_removeRule"))
118
+
119
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('json', help='Variables in JSON format.')
120
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
121
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
122
+ help='Print test request preview without sending api call')
123
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
124
+ help='Verbose output')
125
+ mutation_policy_appTenantRestriction_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
126
+ help='Pretty print')
127
+ mutation_policy_appTenantRestriction_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.removeRule')
128
+
129
+ mutation_policy_appTenantRestriction_removeSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('removeSection',
130
+ help='removeSection() appTenantRestriction operation',
131
+ usage=get_help("mutation_policy_appTenantRestriction_removeSection"))
132
+
133
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('json', help='Variables in JSON format.')
134
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
135
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
136
+ help='Print test request preview without sending api call')
137
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
138
+ help='Verbose output')
139
+ mutation_policy_appTenantRestriction_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
140
+ help='Pretty print')
141
+ mutation_policy_appTenantRestriction_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.removeSection')
142
+
143
+ mutation_policy_appTenantRestriction_updatePolicy_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('updatePolicy',
144
+ help='updatePolicy() appTenantRestriction operation',
145
+ usage=get_help("mutation_policy_appTenantRestriction_updatePolicy"))
146
+
147
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
148
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
149
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
150
+ help='Print test request preview without sending api call')
151
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
152
+ help='Verbose output')
153
+ mutation_policy_appTenantRestriction_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
154
+ help='Pretty print')
155
+ mutation_policy_appTenantRestriction_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.updatePolicy')
156
+
157
+ mutation_policy_appTenantRestriction_updateRule_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('updateRule',
158
+ help='updateRule() appTenantRestriction operation',
159
+ usage=get_help("mutation_policy_appTenantRestriction_updateRule"))
160
+
161
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('json', help='Variables in JSON format.')
162
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
163
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
164
+ help='Print test request preview without sending api call')
165
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
166
+ help='Verbose output')
167
+ mutation_policy_appTenantRestriction_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
168
+ help='Pretty print')
169
+ mutation_policy_appTenantRestriction_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.updateRule')
170
+
171
+ mutation_policy_appTenantRestriction_updateSection_parser = mutation_policy_appTenantRestriction_subparsers.add_parser('updateSection',
172
+ help='updateSection() appTenantRestriction operation',
173
+ usage=get_help("mutation_policy_appTenantRestriction_updateSection"))
174
+
175
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('json', help='Variables in JSON format.')
176
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
177
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
178
+ help='Print test request preview without sending api call')
179
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
180
+ help='Verbose output')
181
+ mutation_policy_appTenantRestriction_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
182
+ help='Pretty print')
183
+ mutation_policy_appTenantRestriction_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.appTenantRestriction.updateSection')
184
+
11
185
  mutation_policy_internetFirewall_parser = mutation_policy_subparsers.add_parser('internetFirewall',
12
186
  help='internetFirewall() policy operation',
13
187
  usage=get_help("mutation_policy_internetFirewall"))
@@ -182,6 +356,180 @@ def mutation_policy_parse(mutation_subparsers):
182
356
  help='Pretty print')
183
357
  mutation_policy_internetFirewall_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updateSection')
184
358
 
359
+ mutation_policy_remotePortFwd_parser = mutation_policy_subparsers.add_parser('remotePortFwd',
360
+ help='remotePortFwd() policy operation',
361
+ usage=get_help("mutation_policy_remotePortFwd"))
362
+
363
+ mutation_policy_remotePortFwd_subparsers = mutation_policy_remotePortFwd_parser.add_subparsers()
364
+
365
+ mutation_policy_remotePortFwd_addRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('addRule',
366
+ help='addRule() remotePortFwd operation',
367
+ usage=get_help("mutation_policy_remotePortFwd_addRule"))
368
+
369
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('json', help='Variables in JSON format.')
370
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
371
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
372
+ help='Print test request preview without sending api call')
373
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
374
+ help='Verbose output')
375
+ mutation_policy_remotePortFwd_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
376
+ help='Pretty print')
377
+ mutation_policy_remotePortFwd_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.addRule')
378
+
379
+ mutation_policy_remotePortFwd_addSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('addSection',
380
+ help='addSection() remotePortFwd operation',
381
+ usage=get_help("mutation_policy_remotePortFwd_addSection"))
382
+
383
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('json', help='Variables in JSON format.')
384
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
385
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
386
+ help='Print test request preview without sending api call')
387
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
388
+ help='Verbose output')
389
+ mutation_policy_remotePortFwd_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
390
+ help='Pretty print')
391
+ mutation_policy_remotePortFwd_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.addSection')
392
+
393
+ mutation_policy_remotePortFwd_createPolicyRevision_parser = mutation_policy_remotePortFwd_subparsers.add_parser('createPolicyRevision',
394
+ help='createPolicyRevision() remotePortFwd operation',
395
+ usage=get_help("mutation_policy_remotePortFwd_createPolicyRevision"))
396
+
397
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
398
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
399
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
400
+ help='Print test request preview without sending api call')
401
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
402
+ help='Verbose output')
403
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
404
+ help='Pretty print')
405
+ mutation_policy_remotePortFwd_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.createPolicyRevision')
406
+
407
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser = mutation_policy_remotePortFwd_subparsers.add_parser('discardPolicyRevision',
408
+ help='discardPolicyRevision() remotePortFwd operation',
409
+ usage=get_help("mutation_policy_remotePortFwd_discardPolicyRevision"))
410
+
411
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
412
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
413
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
414
+ help='Print test request preview without sending api call')
415
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
416
+ help='Verbose output')
417
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
418
+ help='Pretty print')
419
+ mutation_policy_remotePortFwd_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.discardPolicyRevision')
420
+
421
+ mutation_policy_remotePortFwd_moveRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('moveRule',
422
+ help='moveRule() remotePortFwd operation',
423
+ usage=get_help("mutation_policy_remotePortFwd_moveRule"))
424
+
425
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('json', help='Variables in JSON format.')
426
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
427
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
428
+ help='Print test request preview without sending api call')
429
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
430
+ help='Verbose output')
431
+ mutation_policy_remotePortFwd_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
432
+ help='Pretty print')
433
+ mutation_policy_remotePortFwd_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.moveRule')
434
+
435
+ mutation_policy_remotePortFwd_moveSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('moveSection',
436
+ help='moveSection() remotePortFwd operation',
437
+ usage=get_help("mutation_policy_remotePortFwd_moveSection"))
438
+
439
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('json', help='Variables in JSON format.')
440
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
441
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
442
+ help='Print test request preview without sending api call')
443
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
444
+ help='Verbose output')
445
+ mutation_policy_remotePortFwd_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
446
+ help='Pretty print')
447
+ mutation_policy_remotePortFwd_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.moveSection')
448
+
449
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser = mutation_policy_remotePortFwd_subparsers.add_parser('publishPolicyRevision',
450
+ help='publishPolicyRevision() remotePortFwd operation',
451
+ usage=get_help("mutation_policy_remotePortFwd_publishPolicyRevision"))
452
+
453
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
454
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
455
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
456
+ help='Print test request preview without sending api call')
457
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
458
+ help='Verbose output')
459
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
460
+ help='Pretty print')
461
+ mutation_policy_remotePortFwd_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.publishPolicyRevision')
462
+
463
+ mutation_policy_remotePortFwd_removeRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('removeRule',
464
+ help='removeRule() remotePortFwd operation',
465
+ usage=get_help("mutation_policy_remotePortFwd_removeRule"))
466
+
467
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('json', help='Variables in JSON format.')
468
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
469
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
470
+ help='Print test request preview without sending api call')
471
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
472
+ help='Verbose output')
473
+ mutation_policy_remotePortFwd_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
474
+ help='Pretty print')
475
+ mutation_policy_remotePortFwd_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.removeRule')
476
+
477
+ mutation_policy_remotePortFwd_removeSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('removeSection',
478
+ help='removeSection() remotePortFwd operation',
479
+ usage=get_help("mutation_policy_remotePortFwd_removeSection"))
480
+
481
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('json', help='Variables in JSON format.')
482
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
483
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
484
+ help='Print test request preview without sending api call')
485
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
486
+ help='Verbose output')
487
+ mutation_policy_remotePortFwd_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
488
+ help='Pretty print')
489
+ mutation_policy_remotePortFwd_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.removeSection')
490
+
491
+ mutation_policy_remotePortFwd_updatePolicy_parser = mutation_policy_remotePortFwd_subparsers.add_parser('updatePolicy',
492
+ help='updatePolicy() remotePortFwd operation',
493
+ usage=get_help("mutation_policy_remotePortFwd_updatePolicy"))
494
+
495
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
496
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
497
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
498
+ help='Print test request preview without sending api call')
499
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
500
+ help='Verbose output')
501
+ mutation_policy_remotePortFwd_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
502
+ help='Pretty print')
503
+ mutation_policy_remotePortFwd_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updatePolicy')
504
+
505
+ mutation_policy_remotePortFwd_updateRule_parser = mutation_policy_remotePortFwd_subparsers.add_parser('updateRule',
506
+ help='updateRule() remotePortFwd operation',
507
+ usage=get_help("mutation_policy_remotePortFwd_updateRule"))
508
+
509
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('json', help='Variables in JSON format.')
510
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
511
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
512
+ help='Print test request preview without sending api call')
513
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
514
+ help='Verbose output')
515
+ mutation_policy_remotePortFwd_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
516
+ help='Pretty print')
517
+ mutation_policy_remotePortFwd_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updateRule')
518
+
519
+ mutation_policy_remotePortFwd_updateSection_parser = mutation_policy_remotePortFwd_subparsers.add_parser('updateSection',
520
+ help='updateSection() remotePortFwd operation',
521
+ usage=get_help("mutation_policy_remotePortFwd_updateSection"))
522
+
523
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('json', help='Variables in JSON format.')
524
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
525
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
526
+ help='Print test request preview without sending api call')
527
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
528
+ help='Verbose output')
529
+ mutation_policy_remotePortFwd_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
530
+ help='Pretty print')
531
+ mutation_policy_remotePortFwd_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.remotePortFwd.updateSection')
532
+
185
533
  mutation_policy_wanFirewall_parser = mutation_policy_subparsers.add_parser('wanFirewall',
186
534
  help='wanFirewall() policy operation',
187
535
  usage=get_help("mutation_policy_wanFirewall"))
@@ -0,0 +1,7 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-appTenantRestriction) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction:
6
+
7
+ `catocli mutation policy appTenantRestriction -h`
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.addRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.addRule:
6
+
7
+ `catocli mutation policy appTenantRestriction addRule -h`
8
+
9
+ `catocli mutation policy appTenantRestriction addRule <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction addRule "$(cat < addRule.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction addRule '{"appTenantRestrictionAddRuleInput": {"appTenantRestrictionAddRuleDataInput": {"action": {"action": "enum(AppTenantRestrictionActionEnum)"}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "headers": {"name": {"name": "HttpHeaderName"}, "value": {"value": "HttpHeaderValue"}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "severity": {"severity": "enum(AppTenantRestrictionSeverityEnum)"}, "source": {"country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.addRule ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionAddRuleInput` [AppTenantRestrictionAddRuleInput] - (required) N/A
18
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.addSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.addSection:
6
+
7
+ `catocli mutation policy appTenantRestriction addSection -h`
8
+
9
+ `catocli mutation policy appTenantRestriction addSection <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction addSection "$(cat < addSection.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction addSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.addSection ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.createPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.createPolicyRevision:
6
+
7
+ `catocli mutation policy appTenantRestriction createPolicyRevision -h`
8
+
9
+ `catocli mutation policy appTenantRestriction createPolicyRevision <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction createPolicyRevision "$(cat < createPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction createPolicyRevision '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.createPolicyRevision ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.discardPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.discardPolicyRevision:
6
+
7
+ `catocli mutation policy appTenantRestriction discardPolicyRevision -h`
8
+
9
+ `catocli mutation policy appTenantRestriction discardPolicyRevision <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction discardPolicyRevision '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyDiscardRevisionInput": {"id": {"id": "ID"}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.discardPolicyRevision ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.moveRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.moveRule:
6
+
7
+ `catocli mutation policy appTenantRestriction moveRule -h`
8
+
9
+ `catocli mutation policy appTenantRestriction moveRule <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction moveRule "$(cat < moveRule.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction moveRule '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.moveRule ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.moveSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.moveSection:
6
+
7
+ `catocli mutation policy appTenantRestriction moveSection -h`
8
+
9
+ `catocli mutation policy appTenantRestriction moveSection <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction moveSection "$(cat < moveSection.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction moveSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.moveSection ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.publishPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.publishPolicyRevision:
6
+
7
+ `catocli mutation policy appTenantRestriction publishPolicyRevision -h`
8
+
9
+ `catocli mutation policy appTenantRestriction publishPolicyRevision <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction publishPolicyRevision '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.publishPolicyRevision ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.removeRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.removeRule:
6
+
7
+ `catocli mutation policy appTenantRestriction removeRule -h`
8
+
9
+ `catocli mutation policy appTenantRestriction removeRule <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction removeRule "$(cat < removeRule.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction removeRule '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "appTenantRestrictionRemoveRuleInput": {"id": {"id": "ID"}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.removeRule ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `appTenantRestrictionRemoveRuleInput` [AppTenantRestrictionRemoveRuleInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.removeSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.removeSection:
6
+
7
+ `catocli mutation policy appTenantRestriction removeSection -h`
8
+
9
+ `catocli mutation policy appTenantRestriction removeSection <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction removeSection "$(cat < removeSection.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction removeSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyRemoveSectionInput": {"id": {"id": "ID"}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.removeSection ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
@@ -0,0 +1,18 @@
1
+
2
+ ## CATO-CLI - mutation.policy.appTenantRestriction.updatePolicy:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.appTenantRestriction.updatePolicy:
6
+
7
+ `catocli mutation policy appTenantRestriction updatePolicy -h`
8
+
9
+ `catocli mutation policy appTenantRestriction updatePolicy <json>`
10
+
11
+ `catocli mutation policy appTenantRestriction updatePolicy "$(cat < updatePolicy.json)"`
12
+
13
+ `catocli mutation policy appTenantRestriction updatePolicy '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "appTenantRestrictionPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
14
+
15
+ #### Operation Arguments for mutation.policy.appTenantRestriction.updatePolicy ####
16
+ `accountId` [ID] - (required) N/A
17
+ `appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
18
+ `appTenantRestrictionPolicyUpdateInput` [AppTenantRestrictionPolicyUpdateInput] - (required) N/A