catocli 2.1.2__py3-none-any.whl → 2.1.4__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 (98) hide show
  1. catocli/Utils/clidriver.py +18 -18
  2. catocli/Utils/cliutils.py +165 -0
  3. catocli/Utils/csv_formatter.py +652 -0
  4. catocli/__init__.py +1 -1
  5. catocli/parsers/custom/export_rules/__init__.py +0 -4
  6. catocli/parsers/custom/export_sites/__init__.py +4 -3
  7. catocli/parsers/custom/export_sites/export_sites.py +198 -55
  8. catocli/parsers/custom/import_sites_to_tf/import_sites_to_tf.py +473 -393
  9. catocli/parsers/customParserApiClient.py +444 -38
  10. catocli/parsers/custom_private/__init__.py +19 -13
  11. catocli/parsers/mutation_accountManagement/__init__.py +21 -0
  12. catocli/parsers/mutation_accountManagement_disableAccount/README.md +15 -0
  13. catocli/parsers/mutation_admin/__init__.py +12 -0
  14. catocli/parsers/mutation_container/__init__.py +18 -0
  15. catocli/parsers/mutation_enterpriseDirectory/__init__.py +8 -0
  16. catocli/parsers/mutation_groups/__init__.py +6 -0
  17. catocli/parsers/mutation_hardware/__init__.py +2 -0
  18. catocli/parsers/mutation_policy/__init__.py +378 -0
  19. catocli/parsers/mutation_policy_antiMalwareFileHash_addRule/README.md +20 -0
  20. catocli/parsers/mutation_policy_antiMalwareFileHash_addSection/README.md +20 -0
  21. catocli/parsers/mutation_policy_antiMalwareFileHash_createPolicyRevision/README.md +20 -0
  22. catocli/parsers/mutation_policy_antiMalwareFileHash_discardPolicyRevision/README.md +20 -0
  23. catocli/parsers/mutation_policy_antiMalwareFileHash_moveRule/README.md +20 -0
  24. catocli/parsers/mutation_policy_antiMalwareFileHash_moveSection/README.md +20 -0
  25. catocli/parsers/mutation_policy_antiMalwareFileHash_publishPolicyRevision/README.md +20 -0
  26. catocli/parsers/mutation_policy_antiMalwareFileHash_removeRule/README.md +20 -0
  27. catocli/parsers/mutation_policy_antiMalwareFileHash_removeSection/README.md +20 -0
  28. catocli/parsers/mutation_policy_antiMalwareFileHash_updatePolicy/README.md +20 -0
  29. catocli/parsers/mutation_policy_antiMalwareFileHash_updateRule/README.md +20 -0
  30. catocli/parsers/mutation_policy_antiMalwareFileHash_updateSection/README.md +20 -0
  31. catocli/parsers/mutation_sandbox/__init__.py +4 -0
  32. catocli/parsers/mutation_site/__init__.py +72 -0
  33. catocli/parsers/mutation_sites/__init__.py +72 -0
  34. catocli/parsers/mutation_xdr/__init__.py +6 -0
  35. catocli/parsers/query_accountBySubdomain/__init__.py +2 -0
  36. catocli/parsers/query_accountManagement/__init__.py +2 -0
  37. catocli/parsers/query_accountMetrics/__init__.py +6 -0
  38. catocli/parsers/query_accountRoles/__init__.py +2 -0
  39. catocli/parsers/query_accountSnapshot/__init__.py +2 -0
  40. catocli/parsers/query_admin/__init__.py +2 -0
  41. catocli/parsers/query_admins/__init__.py +2 -0
  42. catocli/parsers/query_appStats/__init__.py +6 -0
  43. catocli/parsers/query_appStatsTimeSeries/README.md +3 -0
  44. catocli/parsers/query_appStatsTimeSeries/__init__.py +6 -0
  45. catocli/parsers/query_auditFeed/__init__.py +2 -0
  46. catocli/parsers/query_catalogs/__init__.py +2 -0
  47. catocli/parsers/query_container/__init__.py +2 -0
  48. catocli/parsers/query_devices/README.md +1 -1
  49. catocli/parsers/query_devices/__init__.py +2 -0
  50. catocli/parsers/query_enterpriseDirectory/__init__.py +2 -0
  51. catocli/parsers/query_entityLookup/__init__.py +2 -0
  52. catocli/parsers/query_events/__init__.py +2 -0
  53. catocli/parsers/query_eventsFeed/__init__.py +2 -0
  54. catocli/parsers/query_eventsTimeSeries/__init__.py +2 -0
  55. catocli/parsers/query_groups/__init__.py +6 -0
  56. catocli/parsers/query_hardware/README.md +1 -1
  57. catocli/parsers/query_hardware/__init__.py +2 -0
  58. catocli/parsers/query_hardwareManagement/__init__.py +2 -0
  59. catocli/parsers/query_licensing/__init__.py +2 -0
  60. catocli/parsers/query_policy/__init__.py +37 -0
  61. catocli/parsers/query_policy_antiMalwareFileHash_policy/README.md +19 -0
  62. catocli/parsers/query_popLocations/__init__.py +2 -0
  63. catocli/parsers/query_sandbox/__init__.py +2 -0
  64. catocli/parsers/query_servicePrincipalAdmin/__init__.py +2 -0
  65. catocli/parsers/query_site/__init__.py +33 -0
  66. catocli/parsers/query_siteLocation/__init__.py +2 -0
  67. catocli/parsers/query_site_siteGeneralDetails/README.md +19 -0
  68. catocli/parsers/query_socketPortMetrics/__init__.py +2 -0
  69. catocli/parsers/query_socketPortMetricsTimeSeries/__init__.py +6 -0
  70. catocli/parsers/query_subDomains/__init__.py +2 -0
  71. catocli/parsers/query_xdr/__init__.py +4 -0
  72. catocli/parsers/raw/__init__.py +3 -1
  73. {catocli-2.1.2.dist-info → catocli-2.1.4.dist-info}/METADATA +1 -1
  74. {catocli-2.1.2.dist-info → catocli-2.1.4.dist-info}/RECORD +98 -66
  75. models/mutation.accountManagement.disableAccount.json +545 -0
  76. models/mutation.policy.antiMalwareFileHash.addRule.json +2068 -0
  77. models/mutation.policy.antiMalwareFileHash.addSection.json +1350 -0
  78. models/mutation.policy.antiMalwareFileHash.createPolicyRevision.json +1822 -0
  79. models/mutation.policy.antiMalwareFileHash.discardPolicyRevision.json +1758 -0
  80. models/mutation.policy.antiMalwareFileHash.moveRule.json +1552 -0
  81. models/mutation.policy.antiMalwareFileHash.moveSection.json +1251 -0
  82. models/mutation.policy.antiMalwareFileHash.publishPolicyRevision.json +1813 -0
  83. models/mutation.policy.antiMalwareFileHash.removeRule.json +1204 -0
  84. models/mutation.policy.antiMalwareFileHash.removeSection.json +954 -0
  85. models/mutation.policy.antiMalwareFileHash.updatePolicy.json +1834 -0
  86. models/mutation.policy.antiMalwareFileHash.updateRule.json +1757 -0
  87. models/mutation.policy.antiMalwareFileHash.updateSection.json +1105 -0
  88. models/mutation.site.updateSiteGeneralDetails.json +3 -3
  89. models/mutation.sites.updateSiteGeneralDetails.json +3 -3
  90. models/query.devices.json +249 -2
  91. models/query.hardware.json +224 -0
  92. models/query.policy.antiMalwareFileHash.policy.json +1583 -0
  93. models/query.site.siteGeneralDetails.json +899 -0
  94. schema/catolib.py +52 -14
  95. {catocli-2.1.2.dist-info → catocli-2.1.4.dist-info}/WHEEL +0 -0
  96. {catocli-2.1.2.dist-info → catocli-2.1.4.dist-info}/entry_points.txt +0 -0
  97. {catocli-2.1.2.dist-info → catocli-2.1.4.dist-info}/licenses/LICENSE +0 -0
  98. {catocli-2.1.2.dist-info → catocli-2.1.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1552 @@
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
+ "antiMalwareFileHash": {
25
+ "args": {
26
+ "antiMalwareFileHash___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "antiMalwareFileHash___input",
30
+ "name": "input",
31
+ "path": "antiMalwareFileHash.input",
32
+ "requestStr": "$antiMalwareFileHashPolicyMutationInput:AntiMalwareFileHashPolicyMutationInput ",
33
+ "required": false,
34
+ "responseStr": "input:$antiMalwareFileHashPolicyMutationInput ",
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": "antiMalwareFileHash___input___revision",
45
+ "name": "revision",
46
+ "path": "antiMalwareFileHash.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": "antiMalwareFileHash___input___revision___id",
60
+ "name": "id",
61
+ "path": "antiMalwareFileHash.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": "AntiMalwareFileHashPolicyMutationInput",
93
+ "possibleTypes": null
94
+ },
95
+ "indexType": "input_object",
96
+ "kind": [
97
+ "INPUT_OBJECT"
98
+ ],
99
+ "name": "AntiMalwareFileHashPolicyMutationInput",
100
+ "non_null": false
101
+ },
102
+ "varName": "antiMalwareFileHashPolicyMutationInput"
103
+ }
104
+ },
105
+ "deprecationReason": null,
106
+ "description": null,
107
+ "isDeprecated": false,
108
+ "name": "antiMalwareFileHash",
109
+ "type": {
110
+ "kind": "OBJECT",
111
+ "name": "AntiMalwareFileHashPolicyMutations",
112
+ "ofType": null
113
+ }
114
+ },
115
+ "moveRule": {
116
+ "args": {
117
+ "moveRule___input": {
118
+ "defaultValue": null,
119
+ "description": null,
120
+ "id_str": "moveRule___input",
121
+ "name": "input",
122
+ "path": "moveRule.input",
123
+ "requestStr": "$policyMoveRuleInput:PolicyMoveRuleInput! ",
124
+ "required": true,
125
+ "responseStr": "input:$policyMoveRuleInput ",
126
+ "type": {
127
+ "definition": {
128
+ "description": "Move the rule to a different position in the policy",
129
+ "enumValues": null,
130
+ "fields": null,
131
+ "inputFields": {
132
+ "id": {
133
+ "defaultValue": null,
134
+ "description": null,
135
+ "id_str": "moveRule___input___id",
136
+ "name": "id",
137
+ "path": "moveRule.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
+ "to": {
152
+ "defaultValue": null,
153
+ "description": null,
154
+ "id_str": "moveRule___input___to",
155
+ "name": "to",
156
+ "path": "moveRule.input.to",
157
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
158
+ "required": false,
159
+ "responseStr": "to:$policyRulePositionInput ",
160
+ "type": {
161
+ "definition": {
162
+ "description": "Parameters required to define the rule position",
163
+ "enumValues": null,
164
+ "fields": null,
165
+ "inputFields": {
166
+ "position": {
167
+ "defaultValue": null,
168
+ "description": "Position relative to a policy, a section or another rule",
169
+ "id_str": "moveRule___input___to___position",
170
+ "name": "position",
171
+ "path": "moveRule.input.to.position",
172
+ "requestStr": "$position:PolicyRulePositionEnum ",
173
+ "required": false,
174
+ "responseStr": "position:$position ",
175
+ "type": {
176
+ "definition": {
177
+ "description": "Enum for the position of a rule within a policy",
178
+ "enumValues": [
179
+ {
180
+ "deprecationReason": null,
181
+ "description": "The rule position is after the pre-existing specified rule",
182
+ "isDeprecated": false,
183
+ "name": "AFTER_RULE"
184
+ },
185
+ {
186
+ "deprecationReason": null,
187
+ "description": "The rule position is before the pre-existing specified rule",
188
+ "isDeprecated": false,
189
+ "name": "BEFORE_RULE"
190
+ },
191
+ {
192
+ "deprecationReason": null,
193
+ "description": "The rule position is first in the specified section",
194
+ "isDeprecated": false,
195
+ "name": "FIRST_IN_SECTION"
196
+ },
197
+ {
198
+ "deprecationReason": null,
199
+ "description": "The rule position is last in the specified section",
200
+ "isDeprecated": false,
201
+ "name": "LAST_IN_SECTION"
202
+ },
203
+ {
204
+ "deprecationReason": null,
205
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
206
+ "isDeprecated": false,
207
+ "name": "FIRST_IN_POLICY"
208
+ },
209
+ {
210
+ "deprecationReason": null,
211
+ "description": "The rule position is last in the policy",
212
+ "isDeprecated": false,
213
+ "name": "LAST_IN_POLICY"
214
+ }
215
+ ],
216
+ "fields": null,
217
+ "inputFields": null,
218
+ "interfaces": null,
219
+ "kind": "ENUM",
220
+ "name": "PolicyRulePositionEnum",
221
+ "possibleTypes": null
222
+ },
223
+ "indexType": "enum",
224
+ "kind": [
225
+ "ENUM"
226
+ ],
227
+ "name": "PolicyRulePositionEnum",
228
+ "non_null": false
229
+ },
230
+ "varName": "position"
231
+ },
232
+ "ref": {
233
+ "defaultValue": null,
234
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
235
+ "id_str": "moveRule___input___to___ref",
236
+ "name": "ref",
237
+ "path": "moveRule.input.to.ref",
238
+ "requestStr": "$ref:ID ",
239
+ "required": false,
240
+ "responseStr": "ref:$ref ",
241
+ "type": {
242
+ "kind": [
243
+ "SCALAR"
244
+ ],
245
+ "name": "ID",
246
+ "non_null": false
247
+ },
248
+ "varName": "ref"
249
+ }
250
+ },
251
+ "interfaces": null,
252
+ "kind": "INPUT_OBJECT",
253
+ "name": "PolicyRulePositionInput",
254
+ "possibleTypes": null
255
+ },
256
+ "indexType": "input_object",
257
+ "kind": [
258
+ "INPUT_OBJECT"
259
+ ],
260
+ "name": "PolicyRulePositionInput",
261
+ "non_null": false
262
+ },
263
+ "varName": "policyRulePositionInput"
264
+ }
265
+ },
266
+ "interfaces": null,
267
+ "kind": "INPUT_OBJECT",
268
+ "name": "PolicyMoveRuleInput",
269
+ "possibleTypes": null
270
+ },
271
+ "indexType": "input_object",
272
+ "kind": [
273
+ "NON_NULL",
274
+ "INPUT_OBJECT"
275
+ ],
276
+ "name": "PolicyMoveRuleInput",
277
+ "non_null": false
278
+ },
279
+ "varName": "policyMoveRuleInput"
280
+ }
281
+ },
282
+ "deprecationReason": null,
283
+ "description": null,
284
+ "isDeprecated": false,
285
+ "name": "moveRule",
286
+ "type": {
287
+ "kind": "NON_NULL",
288
+ "name": null,
289
+ "ofType": {
290
+ "kind": "OBJECT",
291
+ "name": "AntiMalwareFileHashRuleMutationPayload",
292
+ "ofType": null
293
+ }
294
+ }
295
+ }
296
+ },
297
+ "deprecationReason": null,
298
+ "description": null,
299
+ "fieldTypes": {
300
+ "AntiMalwareFileHashAction": true,
301
+ "AntiMalwareFileHashPolicyMutations": true,
302
+ "AntiMalwareFileHashRule": true,
303
+ "AntiMalwareFileHashRuleMutationPayload": true,
304
+ "AntiMalwareFileHashRulePayload": true,
305
+ "PolicyElementAudit": true,
306
+ "PolicyElementPropertiesEnum": true,
307
+ "PolicyMutationError": true,
308
+ "PolicyMutationRevisionInput": true,
309
+ "PolicyMutationStatus": true,
310
+ "PolicyRulePositionEnum": true,
311
+ "PolicyRulePositionInput": true,
312
+ "PolicySectionInfo": true
313
+ },
314
+ "isDeprecated": false,
315
+ "name": "policy",
316
+ "operationArgs": {
317
+ "accountId": {
318
+ "defaultValue": null,
319
+ "description": null,
320
+ "id_str": "accountId",
321
+ "name": "accountId",
322
+ "path": "accountId",
323
+ "requestStr": "$accountId:ID! ",
324
+ "required": true,
325
+ "responseStr": "accountId:$accountId ",
326
+ "type": {
327
+ "kind": [
328
+ "NON_NULL",
329
+ "SCALAR"
330
+ ],
331
+ "name": "ID",
332
+ "non_null": false
333
+ },
334
+ "varName": "accountId"
335
+ },
336
+ "antiMalwareFileHashPolicyMutationInput": {
337
+ "defaultValue": null,
338
+ "description": null,
339
+ "id_str": "antiMalwareFileHash___input",
340
+ "name": "input",
341
+ "path": "antiMalwareFileHash.input",
342
+ "requestStr": "$antiMalwareFileHashPolicyMutationInput:AntiMalwareFileHashPolicyMutationInput ",
343
+ "required": false,
344
+ "responseStr": "input:$antiMalwareFileHashPolicyMutationInput ",
345
+ "type": {
346
+ "definition": {
347
+ "description": null,
348
+ "enumValues": null,
349
+ "fields": null,
350
+ "inputFields": {
351
+ "revision": {
352
+ "defaultValue": null,
353
+ "description": null,
354
+ "id_str": "antiMalwareFileHash___input___revision",
355
+ "name": "revision",
356
+ "path": "antiMalwareFileHash.input.revision",
357
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
358
+ "required": false,
359
+ "responseStr": "revision:$policyMutationRevisionInput ",
360
+ "type": {
361
+ "definition": {
362
+ "description": null,
363
+ "enumValues": null,
364
+ "fields": null,
365
+ "inputFields": {
366
+ "id": {
367
+ "defaultValue": null,
368
+ "description": null,
369
+ "id_str": "antiMalwareFileHash___input___revision___id",
370
+ "name": "id",
371
+ "path": "antiMalwareFileHash.input.revision.id",
372
+ "requestStr": "$id:ID ",
373
+ "required": false,
374
+ "responseStr": "id:$id ",
375
+ "type": {
376
+ "kind": [
377
+ "SCALAR"
378
+ ],
379
+ "name": "ID",
380
+ "non_null": false
381
+ },
382
+ "varName": "id"
383
+ }
384
+ },
385
+ "interfaces": null,
386
+ "kind": "INPUT_OBJECT",
387
+ "name": "PolicyMutationRevisionInput",
388
+ "possibleTypes": null
389
+ },
390
+ "indexType": "input_object",
391
+ "kind": [
392
+ "INPUT_OBJECT"
393
+ ],
394
+ "name": "PolicyMutationRevisionInput",
395
+ "non_null": false
396
+ },
397
+ "varName": "policyMutationRevisionInput"
398
+ }
399
+ },
400
+ "interfaces": null,
401
+ "kind": "INPUT_OBJECT",
402
+ "name": "AntiMalwareFileHashPolicyMutationInput",
403
+ "possibleTypes": null
404
+ },
405
+ "indexType": "input_object",
406
+ "kind": [
407
+ "INPUT_OBJECT"
408
+ ],
409
+ "name": "AntiMalwareFileHashPolicyMutationInput",
410
+ "non_null": false
411
+ },
412
+ "varName": "antiMalwareFileHashPolicyMutationInput"
413
+ },
414
+ "policyMoveRuleInput": {
415
+ "defaultValue": null,
416
+ "description": null,
417
+ "id_str": "moveRule___input",
418
+ "name": "input",
419
+ "path": "moveRule.input",
420
+ "requestStr": "$policyMoveRuleInput:PolicyMoveRuleInput! ",
421
+ "required": true,
422
+ "responseStr": "input:$policyMoveRuleInput ",
423
+ "type": {
424
+ "definition": {
425
+ "description": "Move the rule to a different position in the policy",
426
+ "enumValues": null,
427
+ "fields": null,
428
+ "inputFields": {
429
+ "id": {
430
+ "defaultValue": null,
431
+ "description": null,
432
+ "id_str": "moveRule___input___id",
433
+ "name": "id",
434
+ "path": "moveRule.input.id",
435
+ "requestStr": "$id:ID! ",
436
+ "required": true,
437
+ "responseStr": "id:$id ",
438
+ "type": {
439
+ "kind": [
440
+ "NON_NULL",
441
+ "SCALAR"
442
+ ],
443
+ "name": "ID",
444
+ "non_null": false
445
+ },
446
+ "varName": "id"
447
+ },
448
+ "to": {
449
+ "defaultValue": null,
450
+ "description": null,
451
+ "id_str": "moveRule___input___to",
452
+ "name": "to",
453
+ "path": "moveRule.input.to",
454
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
455
+ "required": false,
456
+ "responseStr": "to:$policyRulePositionInput ",
457
+ "type": {
458
+ "definition": {
459
+ "description": "Parameters required to define the rule position",
460
+ "enumValues": null,
461
+ "fields": null,
462
+ "inputFields": {
463
+ "position": {
464
+ "defaultValue": null,
465
+ "description": "Position relative to a policy, a section or another rule",
466
+ "id_str": "moveRule___input___to___position",
467
+ "name": "position",
468
+ "path": "moveRule.input.to.position",
469
+ "requestStr": "$position:PolicyRulePositionEnum ",
470
+ "required": false,
471
+ "responseStr": "position:$position ",
472
+ "type": {
473
+ "definition": {
474
+ "description": "Enum for the position of a rule within a policy",
475
+ "enumValues": [
476
+ {
477
+ "deprecationReason": null,
478
+ "description": "The rule position is after the pre-existing specified rule",
479
+ "isDeprecated": false,
480
+ "name": "AFTER_RULE"
481
+ },
482
+ {
483
+ "deprecationReason": null,
484
+ "description": "The rule position is before the pre-existing specified rule",
485
+ "isDeprecated": false,
486
+ "name": "BEFORE_RULE"
487
+ },
488
+ {
489
+ "deprecationReason": null,
490
+ "description": "The rule position is first in the specified section",
491
+ "isDeprecated": false,
492
+ "name": "FIRST_IN_SECTION"
493
+ },
494
+ {
495
+ "deprecationReason": null,
496
+ "description": "The rule position is last in the specified section",
497
+ "isDeprecated": false,
498
+ "name": "LAST_IN_SECTION"
499
+ },
500
+ {
501
+ "deprecationReason": null,
502
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
503
+ "isDeprecated": false,
504
+ "name": "FIRST_IN_POLICY"
505
+ },
506
+ {
507
+ "deprecationReason": null,
508
+ "description": "The rule position is last in the policy",
509
+ "isDeprecated": false,
510
+ "name": "LAST_IN_POLICY"
511
+ }
512
+ ],
513
+ "fields": null,
514
+ "inputFields": null,
515
+ "interfaces": null,
516
+ "kind": "ENUM",
517
+ "name": "PolicyRulePositionEnum",
518
+ "possibleTypes": null
519
+ },
520
+ "indexType": "enum",
521
+ "kind": [
522
+ "ENUM"
523
+ ],
524
+ "name": "PolicyRulePositionEnum",
525
+ "non_null": false
526
+ },
527
+ "varName": "position"
528
+ },
529
+ "ref": {
530
+ "defaultValue": null,
531
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
532
+ "id_str": "moveRule___input___to___ref",
533
+ "name": "ref",
534
+ "path": "moveRule.input.to.ref",
535
+ "requestStr": "$ref:ID ",
536
+ "required": false,
537
+ "responseStr": "ref:$ref ",
538
+ "type": {
539
+ "kind": [
540
+ "SCALAR"
541
+ ],
542
+ "name": "ID",
543
+ "non_null": false
544
+ },
545
+ "varName": "ref"
546
+ }
547
+ },
548
+ "interfaces": null,
549
+ "kind": "INPUT_OBJECT",
550
+ "name": "PolicyRulePositionInput",
551
+ "possibleTypes": null
552
+ },
553
+ "indexType": "input_object",
554
+ "kind": [
555
+ "INPUT_OBJECT"
556
+ ],
557
+ "name": "PolicyRulePositionInput",
558
+ "non_null": false
559
+ },
560
+ "varName": "policyRulePositionInput"
561
+ }
562
+ },
563
+ "interfaces": null,
564
+ "kind": "INPUT_OBJECT",
565
+ "name": "PolicyMoveRuleInput",
566
+ "possibleTypes": null
567
+ },
568
+ "indexType": "input_object",
569
+ "kind": [
570
+ "NON_NULL",
571
+ "INPUT_OBJECT"
572
+ ],
573
+ "name": "PolicyMoveRuleInput",
574
+ "non_null": false
575
+ },
576
+ "varName": "policyMoveRuleInput"
577
+ }
578
+ },
579
+ "path": "mutation.policy.antiMalwareFileHash.moveRule",
580
+ "type": {
581
+ "definition": {
582
+ "description": "Policies that can be configured with mutation APIs.",
583
+ "enumValues": null,
584
+ "fields": {
585
+ "antiMalwareFileHash": {
586
+ "args": {
587
+ "antiMalwareFileHash___input": {
588
+ "defaultValue": null,
589
+ "description": null,
590
+ "id_str": "antiMalwareFileHash___input",
591
+ "name": "input",
592
+ "path": "antiMalwareFileHash.input",
593
+ "requestStr": "$antiMalwareFileHashPolicyMutationInput:AntiMalwareFileHashPolicyMutationInput ",
594
+ "required": false,
595
+ "responseStr": "input:$antiMalwareFileHashPolicyMutationInput ",
596
+ "type": {
597
+ "definition": {
598
+ "description": null,
599
+ "enumValues": null,
600
+ "fields": null,
601
+ "inputFields": {
602
+ "revision": {
603
+ "defaultValue": null,
604
+ "description": null,
605
+ "id_str": "antiMalwareFileHash___input___revision",
606
+ "name": "revision",
607
+ "path": "antiMalwareFileHash.input.revision",
608
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
609
+ "required": false,
610
+ "responseStr": "revision:$policyMutationRevisionInput ",
611
+ "type": {
612
+ "definition": {
613
+ "description": null,
614
+ "enumValues": null,
615
+ "fields": null,
616
+ "inputFields": {
617
+ "id": {
618
+ "defaultValue": null,
619
+ "description": null,
620
+ "id_str": "antiMalwareFileHash___input___revision___id",
621
+ "name": "id",
622
+ "path": "antiMalwareFileHash.input.revision.id",
623
+ "requestStr": "$id:ID ",
624
+ "required": false,
625
+ "responseStr": "id:$id ",
626
+ "type": {
627
+ "kind": [
628
+ "SCALAR"
629
+ ],
630
+ "name": "ID",
631
+ "non_null": false
632
+ },
633
+ "varName": "id"
634
+ }
635
+ },
636
+ "interfaces": null,
637
+ "kind": "INPUT_OBJECT",
638
+ "name": "PolicyMutationRevisionInput",
639
+ "possibleTypes": null
640
+ },
641
+ "indexType": "input_object",
642
+ "kind": [
643
+ "INPUT_OBJECT"
644
+ ],
645
+ "name": "PolicyMutationRevisionInput",
646
+ "non_null": false
647
+ },
648
+ "varName": "policyMutationRevisionInput"
649
+ }
650
+ },
651
+ "interfaces": null,
652
+ "kind": "INPUT_OBJECT",
653
+ "name": "AntiMalwareFileHashPolicyMutationInput",
654
+ "possibleTypes": null
655
+ },
656
+ "indexType": "input_object",
657
+ "kind": [
658
+ "INPUT_OBJECT"
659
+ ],
660
+ "name": "AntiMalwareFileHashPolicyMutationInput",
661
+ "non_null": false
662
+ },
663
+ "varName": "antiMalwareFileHashPolicyMutationInput"
664
+ }
665
+ },
666
+ "deprecationReason": null,
667
+ "description": null,
668
+ "id_str": "antiMalwareFileHash",
669
+ "isDeprecated": false,
670
+ "name": "antiMalwareFileHash",
671
+ "path": "antiMalwareFileHash",
672
+ "requestStr": "$antiMalwareFileHashPolicyMutations:AntiMalwareFileHashPolicyMutations ",
673
+ "required": false,
674
+ "responseStr": "antiMalwareFileHash:$antiMalwareFileHashPolicyMutations ",
675
+ "type": {
676
+ "definition": {
677
+ "description": null,
678
+ "enumValues": null,
679
+ "fields": {
680
+ "moveRule": {
681
+ "args": {
682
+ "moveRule___input": {
683
+ "defaultValue": null,
684
+ "description": null,
685
+ "id_str": "moveRule___input",
686
+ "name": "input",
687
+ "path": "moveRule.input",
688
+ "requestStr": "$policyMoveRuleInput:PolicyMoveRuleInput! ",
689
+ "required": true,
690
+ "responseStr": "input:$policyMoveRuleInput ",
691
+ "type": {
692
+ "definition": {
693
+ "description": "Move the rule to a different position in the policy",
694
+ "enumValues": null,
695
+ "fields": null,
696
+ "inputFields": {
697
+ "id": {
698
+ "defaultValue": null,
699
+ "description": null,
700
+ "id_str": "moveRule___input___id",
701
+ "name": "id",
702
+ "path": "moveRule.input.id",
703
+ "requestStr": "$id:ID! ",
704
+ "required": true,
705
+ "responseStr": "id:$id ",
706
+ "type": {
707
+ "kind": [
708
+ "NON_NULL",
709
+ "SCALAR"
710
+ ],
711
+ "name": "ID",
712
+ "non_null": false
713
+ },
714
+ "varName": "id"
715
+ },
716
+ "to": {
717
+ "defaultValue": null,
718
+ "description": null,
719
+ "id_str": "moveRule___input___to",
720
+ "name": "to",
721
+ "path": "moveRule.input.to",
722
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
723
+ "required": false,
724
+ "responseStr": "to:$policyRulePositionInput ",
725
+ "type": {
726
+ "definition": {
727
+ "description": "Parameters required to define the rule position",
728
+ "enumValues": null,
729
+ "fields": null,
730
+ "inputFields": {
731
+ "position": {
732
+ "defaultValue": null,
733
+ "description": "Position relative to a policy, a section or another rule",
734
+ "id_str": "moveRule___input___to___position",
735
+ "name": "position",
736
+ "path": "moveRule.input.to.position",
737
+ "requestStr": "$position:PolicyRulePositionEnum ",
738
+ "required": false,
739
+ "responseStr": "position:$position ",
740
+ "type": {
741
+ "definition": {
742
+ "description": "Enum for the position of a rule within a policy",
743
+ "enumValues": [
744
+ {
745
+ "deprecationReason": null,
746
+ "description": "The rule position is after the pre-existing specified rule",
747
+ "isDeprecated": false,
748
+ "name": "AFTER_RULE"
749
+ },
750
+ {
751
+ "deprecationReason": null,
752
+ "description": "The rule position is before the pre-existing specified rule",
753
+ "isDeprecated": false,
754
+ "name": "BEFORE_RULE"
755
+ },
756
+ {
757
+ "deprecationReason": null,
758
+ "description": "The rule position is first in the specified section",
759
+ "isDeprecated": false,
760
+ "name": "FIRST_IN_SECTION"
761
+ },
762
+ {
763
+ "deprecationReason": null,
764
+ "description": "The rule position is last in the specified section",
765
+ "isDeprecated": false,
766
+ "name": "LAST_IN_SECTION"
767
+ },
768
+ {
769
+ "deprecationReason": null,
770
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
771
+ "isDeprecated": false,
772
+ "name": "FIRST_IN_POLICY"
773
+ },
774
+ {
775
+ "deprecationReason": null,
776
+ "description": "The rule position is last in the policy",
777
+ "isDeprecated": false,
778
+ "name": "LAST_IN_POLICY"
779
+ }
780
+ ],
781
+ "fields": null,
782
+ "inputFields": null,
783
+ "interfaces": null,
784
+ "kind": "ENUM",
785
+ "name": "PolicyRulePositionEnum",
786
+ "possibleTypes": null
787
+ },
788
+ "indexType": "enum",
789
+ "kind": [
790
+ "ENUM"
791
+ ],
792
+ "name": "PolicyRulePositionEnum",
793
+ "non_null": false
794
+ },
795
+ "varName": "position"
796
+ },
797
+ "ref": {
798
+ "defaultValue": null,
799
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
800
+ "id_str": "moveRule___input___to___ref",
801
+ "name": "ref",
802
+ "path": "moveRule.input.to.ref",
803
+ "requestStr": "$ref:ID ",
804
+ "required": false,
805
+ "responseStr": "ref:$ref ",
806
+ "type": {
807
+ "kind": [
808
+ "SCALAR"
809
+ ],
810
+ "name": "ID",
811
+ "non_null": false
812
+ },
813
+ "varName": "ref"
814
+ }
815
+ },
816
+ "interfaces": null,
817
+ "kind": "INPUT_OBJECT",
818
+ "name": "PolicyRulePositionInput",
819
+ "possibleTypes": null
820
+ },
821
+ "indexType": "input_object",
822
+ "kind": [
823
+ "INPUT_OBJECT"
824
+ ],
825
+ "name": "PolicyRulePositionInput",
826
+ "non_null": false
827
+ },
828
+ "varName": "policyRulePositionInput"
829
+ }
830
+ },
831
+ "interfaces": null,
832
+ "kind": "INPUT_OBJECT",
833
+ "name": "PolicyMoveRuleInput",
834
+ "possibleTypes": null
835
+ },
836
+ "indexType": "input_object",
837
+ "kind": [
838
+ "NON_NULL",
839
+ "INPUT_OBJECT"
840
+ ],
841
+ "name": "PolicyMoveRuleInput",
842
+ "non_null": false
843
+ },
844
+ "varName": "policyMoveRuleInput"
845
+ }
846
+ },
847
+ "deprecationReason": null,
848
+ "description": null,
849
+ "id_str": "antiMalwareFileHash___moveRule",
850
+ "isDeprecated": false,
851
+ "name": "moveRule",
852
+ "path": "antiMalwareFileHash.moveRule",
853
+ "requestStr": "$antiMalwareFileHashRuleMutationPayload:AntiMalwareFileHashRuleMutationPayload! ",
854
+ "required": true,
855
+ "responseStr": "moveRule:$antiMalwareFileHashRuleMutationPayload ",
856
+ "type": {
857
+ "definition": {
858
+ "description": null,
859
+ "enumValues": null,
860
+ "fields": {
861
+ "errors": {
862
+ "alias": "errorsAntiMalwareFileHashRuleMutationPayload: errors",
863
+ "args": {},
864
+ "deprecationReason": null,
865
+ "description": null,
866
+ "id_str": "antiMalwareFileHash___moveRule___errors",
867
+ "isDeprecated": false,
868
+ "name": "errors",
869
+ "path": "antiMalwareFileHash.moveRule.errors",
870
+ "requestStr": "$policyMutationError:[PolicyMutationError]! ",
871
+ "required": true,
872
+ "responseStr": "errors:$policyMutationError ",
873
+ "type": {
874
+ "definition": {
875
+ "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\"",
876
+ "enumValues": null,
877
+ "fields": {
878
+ "errorCode": {
879
+ "args": {},
880
+ "deprecationReason": null,
881
+ "description": null,
882
+ "id_str": "antiMalwareFileHash___moveRule___errors___errorCode",
883
+ "isDeprecated": false,
884
+ "name": "errorCode",
885
+ "path": "antiMalwareFileHash.moveRule.errors.errorCode",
886
+ "requestStr": "$errorCode:String ",
887
+ "required": false,
888
+ "responseStr": "errorCode:$errorCode ",
889
+ "type": {
890
+ "kind": [
891
+ "SCALAR"
892
+ ],
893
+ "name": "String",
894
+ "non_null": false
895
+ },
896
+ "varName": "errorCode"
897
+ },
898
+ "errorMessage": {
899
+ "args": {},
900
+ "deprecationReason": null,
901
+ "description": null,
902
+ "id_str": "antiMalwareFileHash___moveRule___errors___errorMessage",
903
+ "isDeprecated": false,
904
+ "name": "errorMessage",
905
+ "path": "antiMalwareFileHash.moveRule.errors.errorMessage",
906
+ "requestStr": "$errorMessage:String ",
907
+ "required": false,
908
+ "responseStr": "errorMessage:$errorMessage ",
909
+ "type": {
910
+ "kind": [
911
+ "SCALAR"
912
+ ],
913
+ "name": "String",
914
+ "non_null": false
915
+ },
916
+ "varName": "errorMessage"
917
+ }
918
+ },
919
+ "inputFields": null,
920
+ "interfaces": {},
921
+ "kind": "OBJECT",
922
+ "name": "PolicyMutationError",
923
+ "possibleTypes": null
924
+ },
925
+ "indexType": "object",
926
+ "kind": [
927
+ "NON_NULL",
928
+ "LIST",
929
+ "NON_NULL",
930
+ "OBJECT"
931
+ ],
932
+ "name": "PolicyMutationError",
933
+ "non_null": false
934
+ },
935
+ "varName": "policyMutationError"
936
+ },
937
+ "rule": {
938
+ "alias": "ruleAntiMalwareFileHashRuleMutationPayload: rule",
939
+ "args": {},
940
+ "deprecationReason": null,
941
+ "description": null,
942
+ "id_str": "antiMalwareFileHash___moveRule___rule",
943
+ "isDeprecated": false,
944
+ "name": "rule",
945
+ "path": "antiMalwareFileHash.moveRule.rule",
946
+ "requestStr": "$antiMalwareFileHashRulePayload:AntiMalwareFileHashRulePayload ",
947
+ "required": false,
948
+ "responseStr": "rule:$antiMalwareFileHashRulePayload ",
949
+ "type": {
950
+ "definition": {
951
+ "description": null,
952
+ "enumValues": null,
953
+ "fields": {
954
+ "audit": {
955
+ "args": {},
956
+ "deprecationReason": null,
957
+ "description": null,
958
+ "id_str": "antiMalwareFileHash___moveRule___rule___audit",
959
+ "isDeprecated": false,
960
+ "name": "audit",
961
+ "path": "antiMalwareFileHash.moveRule.rule.audit",
962
+ "requestStr": "$policyElementAudit:PolicyElementAudit! ",
963
+ "required": true,
964
+ "responseStr": "audit:$policyElementAudit ",
965
+ "type": {
966
+ "definition": {
967
+ "description": null,
968
+ "enumValues": null,
969
+ "fields": {
970
+ "updatedBy": {
971
+ "args": {},
972
+ "deprecationReason": null,
973
+ "description": "The admin, or the API-key, that performed the last update",
974
+ "id_str": "antiMalwareFileHash___moveRule___rule___audit___updatedBy",
975
+ "isDeprecated": false,
976
+ "name": "updatedBy",
977
+ "path": "antiMalwareFileHash.moveRule.rule.audit.updatedBy",
978
+ "requestStr": "$updatedBy:String! ",
979
+ "required": true,
980
+ "responseStr": "updatedBy:$updatedBy ",
981
+ "type": {
982
+ "kind": [
983
+ "NON_NULL",
984
+ "SCALAR"
985
+ ],
986
+ "name": "String",
987
+ "non_null": false
988
+ },
989
+ "varName": "updatedBy"
990
+ },
991
+ "updatedTime": {
992
+ "args": {},
993
+ "deprecationReason": null,
994
+ "description": "The last date and time the rule was updated",
995
+ "id_str": "antiMalwareFileHash___moveRule___rule___audit___updatedTime",
996
+ "isDeprecated": false,
997
+ "name": "updatedTime",
998
+ "path": "antiMalwareFileHash.moveRule.rule.audit.updatedTime",
999
+ "requestStr": "$updatedTime:DateTime! ",
1000
+ "required": true,
1001
+ "responseStr": "updatedTime:$updatedTime ",
1002
+ "type": {
1003
+ "kind": [
1004
+ "NON_NULL",
1005
+ "SCALAR"
1006
+ ],
1007
+ "name": "DateTime",
1008
+ "non_null": false
1009
+ },
1010
+ "varName": "updatedTime"
1011
+ }
1012
+ },
1013
+ "inputFields": null,
1014
+ "interfaces": {},
1015
+ "kind": "OBJECT",
1016
+ "name": "PolicyElementAudit",
1017
+ "possibleTypes": null
1018
+ },
1019
+ "indexType": "object",
1020
+ "kind": [
1021
+ "NON_NULL",
1022
+ "OBJECT"
1023
+ ],
1024
+ "name": "PolicyElementAudit",
1025
+ "non_null": false
1026
+ },
1027
+ "varName": "policyElementAudit"
1028
+ },
1029
+ "properties": {
1030
+ "args": {},
1031
+ "deprecationReason": null,
1032
+ "description": null,
1033
+ "id_str": "antiMalwareFileHash___moveRule___rule___properties",
1034
+ "isDeprecated": false,
1035
+ "name": "properties",
1036
+ "path": "antiMalwareFileHash.moveRule.rule.properties",
1037
+ "requestStr": "$properties:[PolicyElementPropertiesEnum]! ",
1038
+ "required": true,
1039
+ "responseStr": "properties:$properties ",
1040
+ "type": {
1041
+ "definition": {
1042
+ "description": "Attributes describing the rule state or type",
1043
+ "enumValues": [
1044
+ {
1045
+ "deprecationReason": null,
1046
+ "description": "New (added) rule",
1047
+ "isDeprecated": false,
1048
+ "name": "ADDED"
1049
+ },
1050
+ {
1051
+ "deprecationReason": null,
1052
+ "description": "Updated (modified) existing rule",
1053
+ "isDeprecated": false,
1054
+ "name": "UPDATED"
1055
+ },
1056
+ {
1057
+ "deprecationReason": null,
1058
+ "description": "Removed (deleted) rule",
1059
+ "isDeprecated": false,
1060
+ "name": "REMOVED"
1061
+ },
1062
+ {
1063
+ "deprecationReason": null,
1064
+ "description": "A rule moved to a different position",
1065
+ "isDeprecated": false,
1066
+ "name": "MOVED"
1067
+ },
1068
+ {
1069
+ "deprecationReason": null,
1070
+ "description": "A rule locked for changes by other admins",
1071
+ "isDeprecated": false,
1072
+ "name": "LOCKED"
1073
+ },
1074
+ {
1075
+ "deprecationReason": null,
1076
+ "description": "An object can not be moved, or referenced when moving other objects.\nHowever its properties and content can be modified.",
1077
+ "isDeprecated": false,
1078
+ "name": "ANCHORED"
1079
+ },
1080
+ {
1081
+ "deprecationReason": null,
1082
+ "description": "A pre-defined (system) rule that cannot be modified or removed",
1083
+ "isDeprecated": false,
1084
+ "name": "SYSTEM"
1085
+ }
1086
+ ],
1087
+ "fields": null,
1088
+ "inputFields": null,
1089
+ "interfaces": null,
1090
+ "kind": "ENUM",
1091
+ "name": "PolicyElementPropertiesEnum",
1092
+ "possibleTypes": null
1093
+ },
1094
+ "indexType": "enum",
1095
+ "kind": [
1096
+ "NON_NULL",
1097
+ "LIST",
1098
+ "NON_NULL",
1099
+ "ENUM"
1100
+ ],
1101
+ "name": "PolicyElementPropertiesEnum",
1102
+ "non_null": false
1103
+ },
1104
+ "varName": "properties"
1105
+ },
1106
+ "rule": {
1107
+ "args": {},
1108
+ "deprecationReason": null,
1109
+ "description": null,
1110
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule",
1111
+ "isDeprecated": false,
1112
+ "name": "rule",
1113
+ "path": "antiMalwareFileHash.moveRule.rule.rule",
1114
+ "requestStr": "$antiMalwareFileHashRule:AntiMalwareFileHashRule! ",
1115
+ "required": true,
1116
+ "responseStr": "rule:$antiMalwareFileHashRule ",
1117
+ "type": {
1118
+ "definition": {
1119
+ "description": null,
1120
+ "enumValues": null,
1121
+ "fields": {
1122
+ "action": {
1123
+ "alias": "actionAntiMalwareFileHashRule: action",
1124
+ "args": {},
1125
+ "deprecationReason": null,
1126
+ "description": "The action when the file hash is matched: [BLOCK | BYPASS]",
1127
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___action",
1128
+ "isDeprecated": false,
1129
+ "name": "action",
1130
+ "path": "antiMalwareFileHash.moveRule.rule.rule.action",
1131
+ "requestStr": "$action:AntiMalwareFileHashAction! ",
1132
+ "required": true,
1133
+ "responseStr": "action:$action ",
1134
+ "type": {
1135
+ "definition": {
1136
+ "description": null,
1137
+ "enumValues": [
1138
+ {
1139
+ "deprecationReason": null,
1140
+ "description": "Block file download by filehash action",
1141
+ "isDeprecated": false,
1142
+ "name": "BLOCK"
1143
+ },
1144
+ {
1145
+ "deprecationReason": null,
1146
+ "description": "Bypass file download by filehash action",
1147
+ "isDeprecated": false,
1148
+ "name": "BYPASS"
1149
+ }
1150
+ ],
1151
+ "fields": null,
1152
+ "inputFields": null,
1153
+ "interfaces": null,
1154
+ "kind": "ENUM",
1155
+ "name": "AntiMalwareFileHashAction",
1156
+ "possibleTypes": null
1157
+ },
1158
+ "indexType": "enum",
1159
+ "kind": [
1160
+ "NON_NULL",
1161
+ "ENUM"
1162
+ ],
1163
+ "name": "AntiMalwareFileHashAction",
1164
+ "non_null": false
1165
+ },
1166
+ "varName": "action"
1167
+ },
1168
+ "description": {
1169
+ "args": {},
1170
+ "deprecationReason": null,
1171
+ "description": "Description for the rule",
1172
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___description",
1173
+ "isDeprecated": false,
1174
+ "name": "description",
1175
+ "path": "antiMalwareFileHash.moveRule.rule.rule.description",
1176
+ "requestStr": "$description:String! ",
1177
+ "required": true,
1178
+ "responseStr": "description:$description ",
1179
+ "type": {
1180
+ "kind": [
1181
+ "NON_NULL",
1182
+ "SCALAR"
1183
+ ],
1184
+ "name": "String",
1185
+ "non_null": false
1186
+ },
1187
+ "varName": "description"
1188
+ },
1189
+ "enabled": {
1190
+ "args": {},
1191
+ "deprecationReason": null,
1192
+ "description": "TRUE = Rule is enabled \n FALSE = Rule is disabled",
1193
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___enabled",
1194
+ "isDeprecated": false,
1195
+ "name": "enabled",
1196
+ "path": "antiMalwareFileHash.moveRule.rule.rule.enabled",
1197
+ "requestStr": "$enabled:Boolean! ",
1198
+ "required": true,
1199
+ "responseStr": "enabled:$enabled ",
1200
+ "type": {
1201
+ "kind": [
1202
+ "NON_NULL",
1203
+ "SCALAR"
1204
+ ],
1205
+ "name": "Boolean",
1206
+ "non_null": false
1207
+ },
1208
+ "varName": "enabled"
1209
+ },
1210
+ "expirationDate": {
1211
+ "args": {},
1212
+ "deprecationReason": null,
1213
+ "description": "The date when the block or bypass action expires",
1214
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___expirationDate",
1215
+ "isDeprecated": false,
1216
+ "name": "expirationDate",
1217
+ "path": "antiMalwareFileHash.moveRule.rule.rule.expirationDate",
1218
+ "requestStr": "$expirationDate:DateTime! ",
1219
+ "required": true,
1220
+ "responseStr": "expirationDate:$expirationDate ",
1221
+ "type": {
1222
+ "kind": [
1223
+ "NON_NULL",
1224
+ "SCALAR"
1225
+ ],
1226
+ "name": "DateTime",
1227
+ "non_null": false
1228
+ },
1229
+ "varName": "expirationDate"
1230
+ },
1231
+ "fileName": {
1232
+ "args": {},
1233
+ "deprecationReason": null,
1234
+ "description": "The name of the file",
1235
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___fileName",
1236
+ "isDeprecated": false,
1237
+ "name": "fileName",
1238
+ "path": "antiMalwareFileHash.moveRule.rule.rule.fileName",
1239
+ "requestStr": "$fileName:String! ",
1240
+ "required": true,
1241
+ "responseStr": "fileName:$fileName ",
1242
+ "type": {
1243
+ "kind": [
1244
+ "NON_NULL",
1245
+ "SCALAR"
1246
+ ],
1247
+ "name": "String",
1248
+ "non_null": false
1249
+ },
1250
+ "varName": "fileName"
1251
+ },
1252
+ "id": {
1253
+ "args": {},
1254
+ "deprecationReason": null,
1255
+ "description": "Rule ID",
1256
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___id",
1257
+ "isDeprecated": false,
1258
+ "name": "id",
1259
+ "path": "antiMalwareFileHash.moveRule.rule.rule.id",
1260
+ "requestStr": "$id:ID! ",
1261
+ "required": true,
1262
+ "responseStr": "id:$id ",
1263
+ "type": {
1264
+ "kind": [
1265
+ "NON_NULL",
1266
+ "SCALAR"
1267
+ ],
1268
+ "name": "ID",
1269
+ "non_null": false
1270
+ },
1271
+ "varName": "id"
1272
+ },
1273
+ "index": {
1274
+ "args": {},
1275
+ "deprecationReason": null,
1276
+ "description": "Position / priority of rule",
1277
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___index",
1278
+ "isDeprecated": false,
1279
+ "name": "index",
1280
+ "path": "antiMalwareFileHash.moveRule.rule.rule.index",
1281
+ "requestStr": "$index:Int! ",
1282
+ "required": true,
1283
+ "responseStr": "index:$index ",
1284
+ "type": {
1285
+ "kind": [
1286
+ "NON_NULL",
1287
+ "SCALAR"
1288
+ ],
1289
+ "name": "Int",
1290
+ "non_null": false
1291
+ },
1292
+ "varName": "index"
1293
+ },
1294
+ "name": {
1295
+ "args": {},
1296
+ "deprecationReason": null,
1297
+ "description": "Name of the rule",
1298
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___name",
1299
+ "isDeprecated": false,
1300
+ "name": "name",
1301
+ "path": "antiMalwareFileHash.moveRule.rule.rule.name",
1302
+ "requestStr": "$name:String! ",
1303
+ "required": true,
1304
+ "responseStr": "name:$name ",
1305
+ "type": {
1306
+ "kind": [
1307
+ "NON_NULL",
1308
+ "SCALAR"
1309
+ ],
1310
+ "name": "String",
1311
+ "non_null": false
1312
+ },
1313
+ "varName": "name"
1314
+ },
1315
+ "section": {
1316
+ "alias": "sectionAntiMalwareFileHashRule: section",
1317
+ "args": {},
1318
+ "deprecationReason": null,
1319
+ "description": "Policy section where the rule is located",
1320
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___section",
1321
+ "isDeprecated": false,
1322
+ "name": "section",
1323
+ "path": "antiMalwareFileHash.moveRule.rule.rule.section",
1324
+ "requestStr": "$policySectionInfo:PolicySectionInfo! ",
1325
+ "required": true,
1326
+ "responseStr": "section:$policySectionInfo ",
1327
+ "type": {
1328
+ "definition": {
1329
+ "description": "Define settings for a policy section",
1330
+ "enumValues": null,
1331
+ "fields": {
1332
+ "id": {
1333
+ "args": {},
1334
+ "deprecationReason": null,
1335
+ "description": null,
1336
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___section___id",
1337
+ "isDeprecated": false,
1338
+ "name": "id",
1339
+ "path": "antiMalwareFileHash.moveRule.rule.rule.section.id",
1340
+ "requestStr": "$id:ID! ",
1341
+ "required": true,
1342
+ "responseStr": "id:$id ",
1343
+ "type": {
1344
+ "kind": [
1345
+ "NON_NULL",
1346
+ "SCALAR"
1347
+ ],
1348
+ "name": "ID",
1349
+ "non_null": false
1350
+ },
1351
+ "varName": "id"
1352
+ },
1353
+ "name": {
1354
+ "args": {},
1355
+ "deprecationReason": null,
1356
+ "description": null,
1357
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___section___name",
1358
+ "isDeprecated": false,
1359
+ "name": "name",
1360
+ "path": "antiMalwareFileHash.moveRule.rule.rule.section.name",
1361
+ "requestStr": "$name:String! ",
1362
+ "required": true,
1363
+ "responseStr": "name:$name ",
1364
+ "type": {
1365
+ "kind": [
1366
+ "NON_NULL",
1367
+ "SCALAR"
1368
+ ],
1369
+ "name": "String",
1370
+ "non_null": false
1371
+ },
1372
+ "varName": "name"
1373
+ }
1374
+ },
1375
+ "inputFields": null,
1376
+ "interfaces": {},
1377
+ "kind": "OBJECT",
1378
+ "name": "PolicySectionInfo",
1379
+ "possibleTypes": null
1380
+ },
1381
+ "indexType": "object",
1382
+ "kind": [
1383
+ "NON_NULL",
1384
+ "OBJECT"
1385
+ ],
1386
+ "name": "PolicySectionInfo",
1387
+ "non_null": false
1388
+ },
1389
+ "varName": "policySectionInfo"
1390
+ },
1391
+ "sha256": {
1392
+ "args": {},
1393
+ "deprecationReason": null,
1394
+ "description": "The file's unique SHA-256 hash identifier",
1395
+ "id_str": "antiMalwareFileHash___moveRule___rule___rule___sha256",
1396
+ "isDeprecated": false,
1397
+ "name": "sha256",
1398
+ "path": "antiMalwareFileHash.moveRule.rule.rule.sha256",
1399
+ "requestStr": "$sha256:SHA_256! ",
1400
+ "required": true,
1401
+ "responseStr": "sha256:$sha256 ",
1402
+ "type": {
1403
+ "kind": [
1404
+ "NON_NULL",
1405
+ "SCALAR"
1406
+ ],
1407
+ "name": "SHA_256",
1408
+ "non_null": false
1409
+ },
1410
+ "varName": "sha256"
1411
+ }
1412
+ },
1413
+ "inputFields": null,
1414
+ "interfaces": {},
1415
+ "kind": "OBJECT",
1416
+ "name": "AntiMalwareFileHashRule",
1417
+ "possibleTypes": null
1418
+ },
1419
+ "indexType": "object",
1420
+ "kind": [
1421
+ "NON_NULL",
1422
+ "OBJECT"
1423
+ ],
1424
+ "name": "AntiMalwareFileHashRule",
1425
+ "non_null": false
1426
+ },
1427
+ "varName": "antiMalwareFileHashRule"
1428
+ }
1429
+ },
1430
+ "inputFields": null,
1431
+ "interfaces": {},
1432
+ "kind": "OBJECT",
1433
+ "name": "AntiMalwareFileHashRulePayload",
1434
+ "possibleTypes": null
1435
+ },
1436
+ "indexType": "object",
1437
+ "kind": [
1438
+ "OBJECT"
1439
+ ],
1440
+ "name": "AntiMalwareFileHashRulePayload",
1441
+ "non_null": false
1442
+ },
1443
+ "varName": "antiMalwareFileHashRulePayload"
1444
+ },
1445
+ "status": {
1446
+ "alias": "statusAntiMalwareFileHashRuleMutationPayload: status",
1447
+ "args": {},
1448
+ "deprecationReason": null,
1449
+ "description": null,
1450
+ "id_str": "antiMalwareFileHash___moveRule___status",
1451
+ "isDeprecated": false,
1452
+ "name": "status",
1453
+ "path": "antiMalwareFileHash.moveRule.status",
1454
+ "requestStr": "$status:PolicyMutationStatus! ",
1455
+ "required": true,
1456
+ "responseStr": "status:$status ",
1457
+ "type": {
1458
+ "definition": {
1459
+ "description": "Enum for the status of a policy mutation",
1460
+ "enumValues": [
1461
+ {
1462
+ "deprecationReason": null,
1463
+ "description": null,
1464
+ "isDeprecated": false,
1465
+ "name": "SUCCESS"
1466
+ },
1467
+ {
1468
+ "deprecationReason": null,
1469
+ "description": null,
1470
+ "isDeprecated": false,
1471
+ "name": "FAILURE"
1472
+ }
1473
+ ],
1474
+ "fields": null,
1475
+ "inputFields": null,
1476
+ "interfaces": null,
1477
+ "kind": "ENUM",
1478
+ "name": "PolicyMutationStatus",
1479
+ "possibleTypes": null
1480
+ },
1481
+ "indexType": "enum",
1482
+ "kind": [
1483
+ "NON_NULL",
1484
+ "ENUM"
1485
+ ],
1486
+ "name": "PolicyMutationStatus",
1487
+ "non_null": false
1488
+ },
1489
+ "varName": "status"
1490
+ }
1491
+ },
1492
+ "inputFields": null,
1493
+ "interfaces": {},
1494
+ "kind": "OBJECT",
1495
+ "name": "AntiMalwareFileHashRuleMutationPayload",
1496
+ "possibleTypes": null
1497
+ },
1498
+ "indexType": "object",
1499
+ "kind": [
1500
+ "NON_NULL",
1501
+ "OBJECT"
1502
+ ],
1503
+ "name": "AntiMalwareFileHashRuleMutationPayload",
1504
+ "non_null": false
1505
+ },
1506
+ "varName": "antiMalwareFileHashRuleMutationPayload"
1507
+ }
1508
+ },
1509
+ "inputFields": null,
1510
+ "interfaces": {},
1511
+ "kind": "OBJECT",
1512
+ "name": "AntiMalwareFileHashPolicyMutations",
1513
+ "possibleTypes": null
1514
+ },
1515
+ "indexType": "object",
1516
+ "kind": [
1517
+ "OBJECT"
1518
+ ],
1519
+ "name": "AntiMalwareFileHashPolicyMutations",
1520
+ "non_null": false
1521
+ },
1522
+ "varName": "antiMalwareFileHashPolicyMutations"
1523
+ }
1524
+ },
1525
+ "inputFields": null,
1526
+ "interfaces": [],
1527
+ "kind": "OBJECT",
1528
+ "name": "PolicyMutations",
1529
+ "possibleTypes": null
1530
+ },
1531
+ "indexType": "object",
1532
+ "kind": [
1533
+ "OBJECT"
1534
+ ],
1535
+ "name": "PolicyMutations",
1536
+ "non_null": false
1537
+ },
1538
+ "variablesPayload": {
1539
+ "antiMalwareFileHashPolicyMutationInput": {
1540
+ "policyMutationRevisionInput": {
1541
+ "id": "id"
1542
+ }
1543
+ },
1544
+ "policyMoveRuleInput": {
1545
+ "id": "id",
1546
+ "policyRulePositionInput": {
1547
+ "position": "AFTER_RULE",
1548
+ "ref": "id"
1549
+ }
1550
+ }
1551
+ }
1552
+ }