catocli 1.0.15__py3-none-any.whl → 1.0.18__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 (140) 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.18.dist-info}/METADATA +11 -2
  54. {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/RECORD +140 -59
  55. {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/WHEEL +1 -1
  56. graphql_client/api_client_types.py +1 -1
  57. models/mutation.policy.appTenantRestriction.addRule.json +8674 -0
  58. models/mutation.policy.appTenantRestriction.addSection.json +1358 -0
  59. models/mutation.policy.appTenantRestriction.createPolicyRevision.json +3327 -0
  60. models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +3261 -0
  61. models/mutation.policy.appTenantRestriction.moveRule.json +3059 -0
  62. models/mutation.policy.appTenantRestriction.moveSection.json +1259 -0
  63. models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +3318 -0
  64. models/mutation.policy.appTenantRestriction.removeRule.json +2707 -0
  65. models/mutation.policy.appTenantRestriction.removeSection.json +958 -0
  66. models/mutation.policy.appTenantRestriction.updatePolicy.json +3337 -0
  67. models/mutation.policy.appTenantRestriction.updateRule.json +8295 -0
  68. models/mutation.policy.appTenantRestriction.updateSection.json +1111 -0
  69. models/mutation.policy.remotePortFwd.addRule.json +5502 -0
  70. models/mutation.policy.remotePortFwd.addSection.json +1358 -0
  71. models/mutation.policy.remotePortFwd.createPolicyRevision.json +2628 -0
  72. models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2562 -0
  73. models/mutation.policy.remotePortFwd.moveRule.json +2360 -0
  74. models/mutation.policy.remotePortFwd.moveSection.json +1259 -0
  75. models/mutation.policy.remotePortFwd.publishPolicyRevision.json +2619 -0
  76. models/mutation.policy.remotePortFwd.removeRule.json +2008 -0
  77. models/mutation.policy.remotePortFwd.removeSection.json +958 -0
  78. models/mutation.policy.remotePortFwd.updatePolicy.json +2638 -0
  79. models/mutation.policy.remotePortFwd.updateRule.json +5138 -0
  80. models/mutation.policy.remotePortFwd.updateSection.json +1111 -0
  81. models/mutation.site.addBgpPeer.json +3334 -0
  82. models/mutation.site.addCloudInterconnectPhysicalConnection.json +1441 -0
  83. models/mutation.site.addCloudInterconnectSite.json +911 -0
  84. models/mutation.site.addIpsecIkeV2Site.json +2 -2
  85. models/mutation.site.addIpsecIkeV2SiteTunnels.json +2 -2
  86. models/mutation.site.addNetworkRange.json +2 -2
  87. models/mutation.site.addSocketSite.json +2 -2
  88. models/mutation.site.addStaticHost.json +2 -2
  89. models/mutation.site.removeBgpPeer.json +1158 -0
  90. models/mutation.site.removeCloudInterconnectPhysicalConnection.json +298 -0
  91. models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -2
  92. models/mutation.site.removeNetworkRange.json +2 -2
  93. models/mutation.site.removeSite.json +2 -2
  94. models/mutation.site.removeStaticHost.json +2 -2
  95. models/mutation.site.updateBgpPeer.json +3063 -0
  96. models/mutation.site.updateCloudInterconnectPhysicalConnection.json +1056 -0
  97. models/mutation.site.updateHa.json +2 -2
  98. models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json +2 -2
  99. models/mutation.site.updateIpsecIkeV2SiteTunnels.json +405 -2
  100. models/mutation.site.updateNetworkRange.json +2 -2
  101. models/mutation.site.updateSiteGeneralDetails.json +2 -2
  102. models/mutation.site.updateSocketInterface.json +2 -2
  103. models/mutation.site.updateStaticHost.json +2 -2
  104. models/mutation.sites.addBgpPeer.json +3334 -0
  105. models/mutation.sites.addCloudInterconnectPhysicalConnection.json +1441 -0
  106. models/mutation.sites.addCloudInterconnectSite.json +911 -0
  107. models/mutation.sites.addIpsecIkeV2Site.json +2 -2
  108. models/mutation.sites.addIpsecIkeV2SiteTunnels.json +2 -2
  109. models/mutation.sites.addNetworkRange.json +2 -2
  110. models/mutation.sites.addSocketSite.json +2 -2
  111. models/mutation.sites.addStaticHost.json +2 -2
  112. models/mutation.sites.removeBgpPeer.json +1158 -0
  113. models/mutation.sites.removeCloudInterconnectPhysicalConnection.json +298 -0
  114. models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -2
  115. models/mutation.sites.removeNetworkRange.json +2 -2
  116. models/mutation.sites.removeSite.json +2 -2
  117. models/mutation.sites.removeStaticHost.json +2 -2
  118. models/mutation.sites.updateBgpPeer.json +3063 -0
  119. models/mutation.sites.updateCloudInterconnectPhysicalConnection.json +1056 -0
  120. models/mutation.sites.updateHa.json +2 -2
  121. models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json +2 -2
  122. models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +405 -2
  123. models/mutation.sites.updateNetworkRange.json +2 -2
  124. models/mutation.sites.updateSiteGeneralDetails.json +2 -2
  125. models/mutation.sites.updateSocketInterface.json +2 -2
  126. models/mutation.sites.updateStaticHost.json +2 -2
  127. models/query.auditFeed.json +36 -12
  128. models/query.events.json +144 -48
  129. models/query.eventsFeed.json +36 -12
  130. models/query.eventsTimeSeries.json +108 -36
  131. models/query.hardwareManagement.json +192 -0
  132. models/query.licensing.json +304 -325
  133. models/query.policy.json +9605 -4234
  134. models/query.site.json +4138 -0
  135. models/query.xdr.stories.json +27 -27
  136. models/query.xdr.story.json +27 -27
  137. schema/catolib.py +11 -1
  138. {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/LICENSE +0 -0
  139. {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/entry_points.txt +0 -0
  140. {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,958 @@
1
+ {
2
+ "args": {
3
+ "accountId": {
4
+ "defaultValue": null,
5
+ "description": null,
6
+ "id_str": "accountId",
7
+ "name": "accountId",
8
+ "path": "accountId",
9
+ "requestStr": "$accountId:ID! ",
10
+ "required": true,
11
+ "responseStr": "accountId:$accountId ",
12
+ "type": {
13
+ "kind": [
14
+ "NON_NULL",
15
+ "SCALAR"
16
+ ],
17
+ "name": "ID",
18
+ "non_null": false
19
+ },
20
+ "varName": "accountId"
21
+ }
22
+ },
23
+ "childOperations": {
24
+ "remotePortFwd": {
25
+ "args": {
26
+ "remotePortFwd___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "remotePortFwd___input",
30
+ "name": "input",
31
+ "path": "remotePortFwd.input",
32
+ "requestStr": "$remotePortFwdPolicyMutationInput:RemotePortFwdPolicyMutationInput ",
33
+ "required": false,
34
+ "responseStr": "input:$remotePortFwdPolicyMutationInput ",
35
+ "type": {
36
+ "definition": {
37
+ "description": null,
38
+ "enumValues": null,
39
+ "fields": null,
40
+ "inputFields": {
41
+ "revision": {
42
+ "defaultValue": null,
43
+ "description": null,
44
+ "id_str": "remotePortFwd___input___revision",
45
+ "name": "revision",
46
+ "path": "remotePortFwd.input.revision",
47
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
48
+ "required": false,
49
+ "responseStr": "revision:$policyMutationRevisionInput ",
50
+ "type": {
51
+ "definition": {
52
+ "description": null,
53
+ "enumValues": null,
54
+ "fields": null,
55
+ "inputFields": {
56
+ "id": {
57
+ "defaultValue": null,
58
+ "description": null,
59
+ "id_str": "remotePortFwd___input___revision___id",
60
+ "name": "id",
61
+ "path": "remotePortFwd.input.revision.id",
62
+ "requestStr": "$id:ID ",
63
+ "required": false,
64
+ "responseStr": "id:$id ",
65
+ "type": {
66
+ "kind": [
67
+ "SCALAR"
68
+ ],
69
+ "name": "ID",
70
+ "non_null": false
71
+ },
72
+ "varName": "id"
73
+ }
74
+ },
75
+ "interfaces": null,
76
+ "kind": "INPUT_OBJECT",
77
+ "name": "PolicyMutationRevisionInput",
78
+ "possibleTypes": null
79
+ },
80
+ "indexType": "input_object",
81
+ "kind": [
82
+ "INPUT_OBJECT"
83
+ ],
84
+ "name": "PolicyMutationRevisionInput",
85
+ "non_null": false
86
+ },
87
+ "varName": "policyMutationRevisionInput"
88
+ }
89
+ },
90
+ "interfaces": null,
91
+ "kind": "INPUT_OBJECT",
92
+ "name": "RemotePortFwdPolicyMutationInput",
93
+ "possibleTypes": null
94
+ },
95
+ "indexType": "input_object",
96
+ "kind": [
97
+ "INPUT_OBJECT"
98
+ ],
99
+ "name": "RemotePortFwdPolicyMutationInput",
100
+ "non_null": false
101
+ },
102
+ "varName": "remotePortFwdPolicyMutationInput"
103
+ }
104
+ },
105
+ "deprecationReason": null,
106
+ "description": null,
107
+ "isDeprecated": false,
108
+ "name": "remotePortFwd",
109
+ "type": {
110
+ "kind": "OBJECT",
111
+ "name": "RemotePortFwdPolicyMutations",
112
+ "ofType": null
113
+ }
114
+ },
115
+ "removeSection": {
116
+ "args": {
117
+ "removeSection___input": {
118
+ "defaultValue": null,
119
+ "description": null,
120
+ "id_str": "removeSection___input",
121
+ "name": "input",
122
+ "path": "removeSection.input",
123
+ "requestStr": "$policyRemoveSectionInput:PolicyRemoveSectionInput! ",
124
+ "required": true,
125
+ "responseStr": "input:$policyRemoveSectionInput ",
126
+ "type": {
127
+ "definition": {
128
+ "description": "Input for removing a section from a policy",
129
+ "enumValues": null,
130
+ "fields": null,
131
+ "inputFields": {
132
+ "id": {
133
+ "defaultValue": null,
134
+ "description": null,
135
+ "id_str": "removeSection___input___id",
136
+ "name": "id",
137
+ "path": "removeSection.input.id",
138
+ "requestStr": "$id:ID! ",
139
+ "required": true,
140
+ "responseStr": "id:$id ",
141
+ "type": {
142
+ "kind": [
143
+ "NON_NULL",
144
+ "SCALAR"
145
+ ],
146
+ "name": "ID",
147
+ "non_null": false
148
+ },
149
+ "varName": "id"
150
+ }
151
+ },
152
+ "interfaces": null,
153
+ "kind": "INPUT_OBJECT",
154
+ "name": "PolicyRemoveSectionInput",
155
+ "possibleTypes": null
156
+ },
157
+ "indexType": "input_object",
158
+ "kind": [
159
+ "NON_NULL",
160
+ "INPUT_OBJECT"
161
+ ],
162
+ "name": "PolicyRemoveSectionInput",
163
+ "non_null": false
164
+ },
165
+ "varName": "policyRemoveSectionInput"
166
+ }
167
+ },
168
+ "deprecationReason": null,
169
+ "description": "Delete an existing section. The first section in policy cannot be deleted.",
170
+ "isDeprecated": false,
171
+ "name": "removeSection",
172
+ "type": {
173
+ "kind": "NON_NULL",
174
+ "name": null,
175
+ "ofType": {
176
+ "kind": "OBJECT",
177
+ "name": "PolicySectionMutationPayload",
178
+ "ofType": null
179
+ }
180
+ }
181
+ }
182
+ },
183
+ "deprecationReason": null,
184
+ "description": null,
185
+ "fieldTypes": {
186
+ "PolicyElementAudit": true,
187
+ "PolicyElementPropertiesEnum": true,
188
+ "PolicyMutationError": true,
189
+ "PolicyMutationRevisionInput": true,
190
+ "PolicyMutationStatus": true,
191
+ "PolicySectionInfo": true,
192
+ "PolicySectionMutationPayload": true,
193
+ "PolicySectionPayload": true,
194
+ "RemotePortFwdPolicyMutations": true
195
+ },
196
+ "isDeprecated": false,
197
+ "name": "policy",
198
+ "operationArgs": {
199
+ "accountId": {
200
+ "defaultValue": null,
201
+ "description": null,
202
+ "id_str": "accountId",
203
+ "name": "accountId",
204
+ "path": "accountId",
205
+ "requestStr": "$accountId:ID! ",
206
+ "required": true,
207
+ "responseStr": "accountId:$accountId ",
208
+ "type": {
209
+ "kind": [
210
+ "NON_NULL",
211
+ "SCALAR"
212
+ ],
213
+ "name": "ID",
214
+ "non_null": false
215
+ },
216
+ "varName": "accountId"
217
+ },
218
+ "policyRemoveSectionInput": {
219
+ "defaultValue": null,
220
+ "description": null,
221
+ "id_str": "removeSection___input",
222
+ "name": "input",
223
+ "path": "removeSection.input",
224
+ "requestStr": "$policyRemoveSectionInput:PolicyRemoveSectionInput! ",
225
+ "required": true,
226
+ "responseStr": "input:$policyRemoveSectionInput ",
227
+ "type": {
228
+ "definition": {
229
+ "description": "Input for removing a section from a policy",
230
+ "enumValues": null,
231
+ "fields": null,
232
+ "inputFields": {
233
+ "id": {
234
+ "defaultValue": null,
235
+ "description": null,
236
+ "id_str": "removeSection___input___id",
237
+ "name": "id",
238
+ "path": "removeSection.input.id",
239
+ "requestStr": "$id:ID! ",
240
+ "required": true,
241
+ "responseStr": "id:$id ",
242
+ "type": {
243
+ "kind": [
244
+ "NON_NULL",
245
+ "SCALAR"
246
+ ],
247
+ "name": "ID",
248
+ "non_null": false
249
+ },
250
+ "varName": "id"
251
+ }
252
+ },
253
+ "interfaces": null,
254
+ "kind": "INPUT_OBJECT",
255
+ "name": "PolicyRemoveSectionInput",
256
+ "possibleTypes": null
257
+ },
258
+ "indexType": "input_object",
259
+ "kind": [
260
+ "NON_NULL",
261
+ "INPUT_OBJECT"
262
+ ],
263
+ "name": "PolicyRemoveSectionInput",
264
+ "non_null": false
265
+ },
266
+ "varName": "policyRemoveSectionInput"
267
+ },
268
+ "remotePortFwdPolicyMutationInput": {
269
+ "defaultValue": null,
270
+ "description": null,
271
+ "id_str": "remotePortFwd___input",
272
+ "name": "input",
273
+ "path": "remotePortFwd.input",
274
+ "requestStr": "$remotePortFwdPolicyMutationInput:RemotePortFwdPolicyMutationInput ",
275
+ "required": false,
276
+ "responseStr": "input:$remotePortFwdPolicyMutationInput ",
277
+ "type": {
278
+ "definition": {
279
+ "description": null,
280
+ "enumValues": null,
281
+ "fields": null,
282
+ "inputFields": {
283
+ "revision": {
284
+ "defaultValue": null,
285
+ "description": null,
286
+ "id_str": "remotePortFwd___input___revision",
287
+ "name": "revision",
288
+ "path": "remotePortFwd.input.revision",
289
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
290
+ "required": false,
291
+ "responseStr": "revision:$policyMutationRevisionInput ",
292
+ "type": {
293
+ "definition": {
294
+ "description": null,
295
+ "enumValues": null,
296
+ "fields": null,
297
+ "inputFields": {
298
+ "id": {
299
+ "defaultValue": null,
300
+ "description": null,
301
+ "id_str": "remotePortFwd___input___revision___id",
302
+ "name": "id",
303
+ "path": "remotePortFwd.input.revision.id",
304
+ "requestStr": "$id:ID ",
305
+ "required": false,
306
+ "responseStr": "id:$id ",
307
+ "type": {
308
+ "kind": [
309
+ "SCALAR"
310
+ ],
311
+ "name": "ID",
312
+ "non_null": false
313
+ },
314
+ "varName": "id"
315
+ }
316
+ },
317
+ "interfaces": null,
318
+ "kind": "INPUT_OBJECT",
319
+ "name": "PolicyMutationRevisionInput",
320
+ "possibleTypes": null
321
+ },
322
+ "indexType": "input_object",
323
+ "kind": [
324
+ "INPUT_OBJECT"
325
+ ],
326
+ "name": "PolicyMutationRevisionInput",
327
+ "non_null": false
328
+ },
329
+ "varName": "policyMutationRevisionInput"
330
+ }
331
+ },
332
+ "interfaces": null,
333
+ "kind": "INPUT_OBJECT",
334
+ "name": "RemotePortFwdPolicyMutationInput",
335
+ "possibleTypes": null
336
+ },
337
+ "indexType": "input_object",
338
+ "kind": [
339
+ "INPUT_OBJECT"
340
+ ],
341
+ "name": "RemotePortFwdPolicyMutationInput",
342
+ "non_null": false
343
+ },
344
+ "varName": "remotePortFwdPolicyMutationInput"
345
+ }
346
+ },
347
+ "path": "mutation.policy.remotePortFwd.removeSection",
348
+ "type": {
349
+ "definition": {
350
+ "description": "Policies that can be configured with mutation APIs.",
351
+ "enumValues": null,
352
+ "fields": {
353
+ "remotePortFwd": {
354
+ "args": {
355
+ "remotePortFwd___input": {
356
+ "defaultValue": null,
357
+ "description": null,
358
+ "id_str": "remotePortFwd___input",
359
+ "name": "input",
360
+ "path": "remotePortFwd.input",
361
+ "requestStr": "$remotePortFwdPolicyMutationInput:RemotePortFwdPolicyMutationInput ",
362
+ "required": false,
363
+ "responseStr": "input:$remotePortFwdPolicyMutationInput ",
364
+ "type": {
365
+ "definition": {
366
+ "description": null,
367
+ "enumValues": null,
368
+ "fields": null,
369
+ "inputFields": {
370
+ "revision": {
371
+ "defaultValue": null,
372
+ "description": null,
373
+ "id_str": "remotePortFwd___input___revision",
374
+ "name": "revision",
375
+ "path": "remotePortFwd.input.revision",
376
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
377
+ "required": false,
378
+ "responseStr": "revision:$policyMutationRevisionInput ",
379
+ "type": {
380
+ "definition": {
381
+ "description": null,
382
+ "enumValues": null,
383
+ "fields": null,
384
+ "inputFields": {
385
+ "id": {
386
+ "defaultValue": null,
387
+ "description": null,
388
+ "id_str": "remotePortFwd___input___revision___id",
389
+ "name": "id",
390
+ "path": "remotePortFwd.input.revision.id",
391
+ "requestStr": "$id:ID ",
392
+ "required": false,
393
+ "responseStr": "id:$id ",
394
+ "type": {
395
+ "kind": [
396
+ "SCALAR"
397
+ ],
398
+ "name": "ID",
399
+ "non_null": false
400
+ },
401
+ "varName": "id"
402
+ }
403
+ },
404
+ "interfaces": null,
405
+ "kind": "INPUT_OBJECT",
406
+ "name": "PolicyMutationRevisionInput",
407
+ "possibleTypes": null
408
+ },
409
+ "indexType": "input_object",
410
+ "kind": [
411
+ "INPUT_OBJECT"
412
+ ],
413
+ "name": "PolicyMutationRevisionInput",
414
+ "non_null": false
415
+ },
416
+ "varName": "policyMutationRevisionInput"
417
+ }
418
+ },
419
+ "interfaces": null,
420
+ "kind": "INPUT_OBJECT",
421
+ "name": "RemotePortFwdPolicyMutationInput",
422
+ "possibleTypes": null
423
+ },
424
+ "indexType": "input_object",
425
+ "kind": [
426
+ "INPUT_OBJECT"
427
+ ],
428
+ "name": "RemotePortFwdPolicyMutationInput",
429
+ "non_null": false
430
+ },
431
+ "varName": "remotePortFwdPolicyMutationInput"
432
+ }
433
+ },
434
+ "deprecationReason": null,
435
+ "description": null,
436
+ "id_str": "remotePortFwd",
437
+ "isDeprecated": false,
438
+ "name": "remotePortFwd",
439
+ "path": "remotePortFwd",
440
+ "requestStr": "$remotePortFwdPolicyMutations:RemotePortFwdPolicyMutations ",
441
+ "required": false,
442
+ "responseStr": "remotePortFwd:$remotePortFwdPolicyMutations ",
443
+ "type": {
444
+ "definition": {
445
+ "description": "The Remote Port Forwarding Policy information returned to the caller in the API response.",
446
+ "enumValues": null,
447
+ "fields": {
448
+ "removeSection": {
449
+ "args": {
450
+ "removeSection___input": {
451
+ "defaultValue": null,
452
+ "description": null,
453
+ "id_str": "removeSection___input",
454
+ "name": "input",
455
+ "path": "removeSection.input",
456
+ "requestStr": "$policyRemoveSectionInput:PolicyRemoveSectionInput! ",
457
+ "required": true,
458
+ "responseStr": "input:$policyRemoveSectionInput ",
459
+ "type": {
460
+ "definition": {
461
+ "description": "Input for removing a section from a policy",
462
+ "enumValues": null,
463
+ "fields": null,
464
+ "inputFields": {
465
+ "id": {
466
+ "defaultValue": null,
467
+ "description": null,
468
+ "id_str": "removeSection___input___id",
469
+ "name": "id",
470
+ "path": "removeSection.input.id",
471
+ "requestStr": "$id:ID! ",
472
+ "required": true,
473
+ "responseStr": "id:$id ",
474
+ "type": {
475
+ "kind": [
476
+ "NON_NULL",
477
+ "SCALAR"
478
+ ],
479
+ "name": "ID",
480
+ "non_null": false
481
+ },
482
+ "varName": "id"
483
+ }
484
+ },
485
+ "interfaces": null,
486
+ "kind": "INPUT_OBJECT",
487
+ "name": "PolicyRemoveSectionInput",
488
+ "possibleTypes": null
489
+ },
490
+ "indexType": "input_object",
491
+ "kind": [
492
+ "NON_NULL",
493
+ "INPUT_OBJECT"
494
+ ],
495
+ "name": "PolicyRemoveSectionInput",
496
+ "non_null": false
497
+ },
498
+ "varName": "policyRemoveSectionInput"
499
+ }
500
+ },
501
+ "deprecationReason": null,
502
+ "description": "Delete an existing section. The first section in policy cannot be deleted.",
503
+ "id_str": "remotePortFwd___removeSection",
504
+ "isDeprecated": false,
505
+ "name": "removeSection",
506
+ "path": "remotePortFwd.removeSection",
507
+ "requestStr": "$policySectionMutationPayload:PolicySectionMutationPayload! ",
508
+ "required": true,
509
+ "responseStr": "removeSection:$policySectionMutationPayload ",
510
+ "type": {
511
+ "definition": {
512
+ "description": null,
513
+ "enumValues": null,
514
+ "fields": {
515
+ "errors": {
516
+ "alias": "policyMutationErrorErrors: errors",
517
+ "args": {},
518
+ "deprecationReason": null,
519
+ "description": null,
520
+ "id_str": "remotePortFwd___removeSection___errors",
521
+ "isDeprecated": false,
522
+ "name": "errors",
523
+ "path": "remotePortFwd.removeSection.errors",
524
+ "requestStr": "$policyMutationError:[PolicyMutationError]! ",
525
+ "required": true,
526
+ "responseStr": "errors:$policyMutationError ",
527
+ "type": {
528
+ "definition": {
529
+ "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\"",
530
+ "enumValues": null,
531
+ "fields": {
532
+ "errorCode": {
533
+ "args": {},
534
+ "deprecationReason": null,
535
+ "description": null,
536
+ "id_str": "remotePortFwd___removeSection___errors___errorCode",
537
+ "isDeprecated": false,
538
+ "name": "errorCode",
539
+ "path": "remotePortFwd.removeSection.errors.errorCode",
540
+ "requestStr": "$errorCode:String ",
541
+ "required": false,
542
+ "responseStr": "errorCode:$errorCode ",
543
+ "type": {
544
+ "kind": [
545
+ "SCALAR"
546
+ ],
547
+ "name": "String",
548
+ "non_null": false
549
+ },
550
+ "varName": "errorCode"
551
+ },
552
+ "errorMessage": {
553
+ "args": {},
554
+ "deprecationReason": null,
555
+ "description": null,
556
+ "id_str": "remotePortFwd___removeSection___errors___errorMessage",
557
+ "isDeprecated": false,
558
+ "name": "errorMessage",
559
+ "path": "remotePortFwd.removeSection.errors.errorMessage",
560
+ "requestStr": "$errorMessage:String ",
561
+ "required": false,
562
+ "responseStr": "errorMessage:$errorMessage ",
563
+ "type": {
564
+ "kind": [
565
+ "SCALAR"
566
+ ],
567
+ "name": "String",
568
+ "non_null": false
569
+ },
570
+ "varName": "errorMessage"
571
+ }
572
+ },
573
+ "inputFields": null,
574
+ "interfaces": {},
575
+ "kind": "OBJECT",
576
+ "name": "PolicyMutationError",
577
+ "possibleTypes": null
578
+ },
579
+ "indexType": "object",
580
+ "kind": [
581
+ "NON_NULL",
582
+ "LIST",
583
+ "NON_NULL",
584
+ "OBJECT"
585
+ ],
586
+ "name": "PolicyMutationError",
587
+ "non_null": false
588
+ },
589
+ "varName": "policyMutationError"
590
+ },
591
+ "section": {
592
+ "alias": "policySectionPayloadSection: section",
593
+ "args": {},
594
+ "deprecationReason": null,
595
+ "description": null,
596
+ "id_str": "remotePortFwd___removeSection___section",
597
+ "isDeprecated": false,
598
+ "name": "section",
599
+ "path": "remotePortFwd.removeSection.section",
600
+ "requestStr": "$policySectionPayload:PolicySectionPayload ",
601
+ "required": false,
602
+ "responseStr": "section:$policySectionPayload ",
603
+ "type": {
604
+ "definition": {
605
+ "description": null,
606
+ "enumValues": null,
607
+ "fields": {
608
+ "audit": {
609
+ "args": {},
610
+ "deprecationReason": null,
611
+ "description": null,
612
+ "id_str": "remotePortFwd___removeSection___section___audit",
613
+ "isDeprecated": false,
614
+ "name": "audit",
615
+ "path": "remotePortFwd.removeSection.section.audit",
616
+ "requestStr": "$policyElementAudit:PolicyElementAudit! ",
617
+ "required": true,
618
+ "responseStr": "audit:$policyElementAudit ",
619
+ "type": {
620
+ "definition": {
621
+ "description": null,
622
+ "enumValues": null,
623
+ "fields": {
624
+ "updatedBy": {
625
+ "args": {},
626
+ "deprecationReason": null,
627
+ "description": "The admin, or the API-key, that performed the last update",
628
+ "id_str": "remotePortFwd___removeSection___section___audit___updatedBy",
629
+ "isDeprecated": false,
630
+ "name": "updatedBy",
631
+ "path": "remotePortFwd.removeSection.section.audit.updatedBy",
632
+ "requestStr": "$updatedBy:String! ",
633
+ "required": true,
634
+ "responseStr": "updatedBy:$updatedBy ",
635
+ "type": {
636
+ "kind": [
637
+ "NON_NULL",
638
+ "SCALAR"
639
+ ],
640
+ "name": "String",
641
+ "non_null": false
642
+ },
643
+ "varName": "updatedBy"
644
+ },
645
+ "updatedTime": {
646
+ "args": {},
647
+ "deprecationReason": null,
648
+ "description": "The last date and time the rule was updated",
649
+ "id_str": "remotePortFwd___removeSection___section___audit___updatedTime",
650
+ "isDeprecated": false,
651
+ "name": "updatedTime",
652
+ "path": "remotePortFwd.removeSection.section.audit.updatedTime",
653
+ "requestStr": "$updatedTime:DateTime! ",
654
+ "required": true,
655
+ "responseStr": "updatedTime:$updatedTime ",
656
+ "type": {
657
+ "kind": [
658
+ "NON_NULL",
659
+ "SCALAR"
660
+ ],
661
+ "name": "DateTime",
662
+ "non_null": false
663
+ },
664
+ "varName": "updatedTime"
665
+ }
666
+ },
667
+ "inputFields": null,
668
+ "interfaces": {},
669
+ "kind": "OBJECT",
670
+ "name": "PolicyElementAudit",
671
+ "possibleTypes": null
672
+ },
673
+ "indexType": "object",
674
+ "kind": [
675
+ "NON_NULL",
676
+ "OBJECT"
677
+ ],
678
+ "name": "PolicyElementAudit",
679
+ "non_null": false
680
+ },
681
+ "varName": "policyElementAudit"
682
+ },
683
+ "properties": {
684
+ "args": {},
685
+ "deprecationReason": null,
686
+ "description": null,
687
+ "id_str": "remotePortFwd___removeSection___section___properties",
688
+ "isDeprecated": false,
689
+ "name": "properties",
690
+ "path": "remotePortFwd.removeSection.section.properties",
691
+ "requestStr": "$properties:[PolicyElementPropertiesEnum]! ",
692
+ "required": true,
693
+ "responseStr": "properties:$properties ",
694
+ "type": {
695
+ "definition": {
696
+ "description": "Attributes describing the rule state or type",
697
+ "enumValues": [
698
+ {
699
+ "deprecationReason": null,
700
+ "description": "New (added) rule",
701
+ "isDeprecated": false,
702
+ "name": "ADDED"
703
+ },
704
+ {
705
+ "deprecationReason": null,
706
+ "description": "Updated (modified) existing rule",
707
+ "isDeprecated": false,
708
+ "name": "UPDATED"
709
+ },
710
+ {
711
+ "deprecationReason": null,
712
+ "description": "Removed (deleted) rule",
713
+ "isDeprecated": false,
714
+ "name": "REMOVED"
715
+ },
716
+ {
717
+ "deprecationReason": null,
718
+ "description": "A rule moved to a different position",
719
+ "isDeprecated": false,
720
+ "name": "MOVED"
721
+ },
722
+ {
723
+ "deprecationReason": null,
724
+ "description": "A rule locked for changes by other admins",
725
+ "isDeprecated": false,
726
+ "name": "LOCKED"
727
+ },
728
+ {
729
+ "deprecationReason": null,
730
+ "description": "An object can not be moved, or referenced when moving other objects.\nHowever its properties and content can be modified.",
731
+ "isDeprecated": false,
732
+ "name": "ANCHORED"
733
+ },
734
+ {
735
+ "deprecationReason": null,
736
+ "description": "A pre-defined (system) rule that cannot be modified or removed",
737
+ "isDeprecated": false,
738
+ "name": "SYSTEM"
739
+ }
740
+ ],
741
+ "fields": null,
742
+ "inputFields": null,
743
+ "interfaces": null,
744
+ "kind": "ENUM",
745
+ "name": "PolicyElementPropertiesEnum",
746
+ "possibleTypes": null
747
+ },
748
+ "indexType": "enum",
749
+ "kind": [
750
+ "NON_NULL",
751
+ "LIST",
752
+ "NON_NULL",
753
+ "ENUM"
754
+ ],
755
+ "name": "PolicyElementPropertiesEnum",
756
+ "non_null": false
757
+ },
758
+ "varName": "properties"
759
+ },
760
+ "section": {
761
+ "args": {},
762
+ "deprecationReason": null,
763
+ "description": null,
764
+ "id_str": "remotePortFwd___removeSection___section___section",
765
+ "isDeprecated": false,
766
+ "name": "section",
767
+ "path": "remotePortFwd.removeSection.section.section",
768
+ "requestStr": "$policySectionInfo:PolicySectionInfo! ",
769
+ "required": true,
770
+ "responseStr": "section:$policySectionInfo ",
771
+ "type": {
772
+ "definition": {
773
+ "description": "Define settings for a policy section",
774
+ "enumValues": null,
775
+ "fields": {
776
+ "id": {
777
+ "args": {},
778
+ "deprecationReason": null,
779
+ "description": null,
780
+ "id_str": "remotePortFwd___removeSection___section___section___id",
781
+ "isDeprecated": false,
782
+ "name": "id",
783
+ "path": "remotePortFwd.removeSection.section.section.id",
784
+ "requestStr": "$id:ID! ",
785
+ "required": true,
786
+ "responseStr": "id:$id ",
787
+ "type": {
788
+ "kind": [
789
+ "NON_NULL",
790
+ "SCALAR"
791
+ ],
792
+ "name": "ID",
793
+ "non_null": false
794
+ },
795
+ "varName": "id"
796
+ },
797
+ "name": {
798
+ "args": {},
799
+ "deprecationReason": null,
800
+ "description": null,
801
+ "id_str": "remotePortFwd___removeSection___section___section___name",
802
+ "isDeprecated": false,
803
+ "name": "name",
804
+ "path": "remotePortFwd.removeSection.section.section.name",
805
+ "requestStr": "$name:String! ",
806
+ "required": true,
807
+ "responseStr": "name:$name ",
808
+ "type": {
809
+ "kind": [
810
+ "NON_NULL",
811
+ "SCALAR"
812
+ ],
813
+ "name": "String",
814
+ "non_null": false
815
+ },
816
+ "varName": "name"
817
+ }
818
+ },
819
+ "inputFields": null,
820
+ "interfaces": {},
821
+ "kind": "OBJECT",
822
+ "name": "PolicySectionInfo",
823
+ "possibleTypes": null
824
+ },
825
+ "indexType": "object",
826
+ "kind": [
827
+ "NON_NULL",
828
+ "OBJECT"
829
+ ],
830
+ "name": "PolicySectionInfo",
831
+ "non_null": false
832
+ },
833
+ "varName": "policySectionInfo"
834
+ }
835
+ },
836
+ "inputFields": null,
837
+ "interfaces": {},
838
+ "kind": "OBJECT",
839
+ "name": "PolicySectionPayload",
840
+ "possibleTypes": null
841
+ },
842
+ "indexType": "object",
843
+ "kind": [
844
+ "OBJECT"
845
+ ],
846
+ "name": "PolicySectionPayload",
847
+ "non_null": false
848
+ },
849
+ "varName": "policySectionPayload"
850
+ },
851
+ "status": {
852
+ "alias": "policyMutationStatusStatus: status",
853
+ "args": {},
854
+ "deprecationReason": null,
855
+ "description": null,
856
+ "id_str": "remotePortFwd___removeSection___status",
857
+ "isDeprecated": false,
858
+ "name": "status",
859
+ "path": "remotePortFwd.removeSection.status",
860
+ "requestStr": "$status:PolicyMutationStatus! ",
861
+ "required": true,
862
+ "responseStr": "status:$status ",
863
+ "type": {
864
+ "definition": {
865
+ "description": "Enum for the status of a policy mutation",
866
+ "enumValues": [
867
+ {
868
+ "deprecationReason": null,
869
+ "description": null,
870
+ "isDeprecated": false,
871
+ "name": "SUCCESS"
872
+ },
873
+ {
874
+ "deprecationReason": null,
875
+ "description": null,
876
+ "isDeprecated": false,
877
+ "name": "FAILURE"
878
+ }
879
+ ],
880
+ "fields": null,
881
+ "inputFields": null,
882
+ "interfaces": null,
883
+ "kind": "ENUM",
884
+ "name": "PolicyMutationStatus",
885
+ "possibleTypes": null
886
+ },
887
+ "indexType": "enum",
888
+ "kind": [
889
+ "NON_NULL",
890
+ "ENUM"
891
+ ],
892
+ "name": "PolicyMutationStatus",
893
+ "non_null": false
894
+ },
895
+ "varName": "status"
896
+ }
897
+ },
898
+ "inputFields": null,
899
+ "interfaces": {},
900
+ "kind": "OBJECT",
901
+ "name": "PolicySectionMutationPayload",
902
+ "possibleTypes": null
903
+ },
904
+ "indexType": "object",
905
+ "kind": [
906
+ "NON_NULL",
907
+ "OBJECT"
908
+ ],
909
+ "name": "PolicySectionMutationPayload",
910
+ "non_null": false
911
+ },
912
+ "varName": "policySectionMutationPayload"
913
+ }
914
+ },
915
+ "inputFields": null,
916
+ "interfaces": {},
917
+ "kind": "OBJECT",
918
+ "name": "RemotePortFwdPolicyMutations",
919
+ "possibleTypes": null
920
+ },
921
+ "indexType": "object",
922
+ "kind": [
923
+ "OBJECT"
924
+ ],
925
+ "name": "RemotePortFwdPolicyMutations",
926
+ "non_null": false
927
+ },
928
+ "varName": "remotePortFwdPolicyMutations"
929
+ }
930
+ },
931
+ "inputFields": null,
932
+ "interfaces": [],
933
+ "kind": "OBJECT",
934
+ "name": "PolicyMutations",
935
+ "possibleTypes": null
936
+ },
937
+ "indexType": "object",
938
+ "kind": [
939
+ "OBJECT"
940
+ ],
941
+ "name": "PolicyMutations",
942
+ "non_null": false
943
+ },
944
+ "variablesPayload": {
945
+ "policyRemoveSectionInput": {
946
+ "id": {
947
+ "id": "ID"
948
+ }
949
+ },
950
+ "remotePortFwdPolicyMutationInput": {
951
+ "policyMutationRevisionInput": {
952
+ "id": {
953
+ "id": "ID"
954
+ }
955
+ }
956
+ }
957
+ }
958
+ }