catocli 2.1.3__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 +16 -7
  2. catocli/Utils/cliutils.py +1 -14
  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 +195 -52
  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 +18 -0
  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.3.dist-info → catocli-2.1.4.dist-info}/METADATA +1 -1
  74. {catocli-2.1.3.dist-info → catocli-2.1.4.dist-info}/RECORD +98 -67
  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 +51 -4
  95. {catocli-2.1.3.dist-info → catocli-2.1.4.dist-info}/WHEEL +0 -0
  96. {catocli-2.1.3.dist-info → catocli-2.1.4.dist-info}/entry_points.txt +0 -0
  97. {catocli-2.1.3.dist-info → catocli-2.1.4.dist-info}/licenses/LICENSE +0 -0
  98. {catocli-2.1.3.dist-info → catocli-2.1.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2068 @@
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
+ "addRule": {
25
+ "args": {
26
+ "addRule___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "addRule___input",
30
+ "name": "input",
31
+ "path": "addRule.input",
32
+ "requestStr": "$antiMalwareFileHashAddRuleInput:AntiMalwareFileHashAddRuleInput! ",
33
+ "required": true,
34
+ "responseStr": "input:$antiMalwareFileHashAddRuleInput ",
35
+ "type": {
36
+ "definition": {
37
+ "description": null,
38
+ "enumValues": null,
39
+ "fields": null,
40
+ "inputFields": {
41
+ "at": {
42
+ "defaultValue": null,
43
+ "description": "Position of the rule in the policy",
44
+ "id_str": "addRule___input___at",
45
+ "name": "at",
46
+ "path": "addRule.input.at",
47
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
48
+ "required": false,
49
+ "responseStr": "at:$policyRulePositionInput ",
50
+ "type": {
51
+ "definition": {
52
+ "description": "Parameters required to define the rule position",
53
+ "enumValues": null,
54
+ "fields": null,
55
+ "inputFields": {
56
+ "position": {
57
+ "defaultValue": null,
58
+ "description": "Position relative to a policy, a section or another rule",
59
+ "id_str": "addRule___input___at___position",
60
+ "name": "position",
61
+ "path": "addRule.input.at.position",
62
+ "requestStr": "$position:PolicyRulePositionEnum ",
63
+ "required": false,
64
+ "responseStr": "position:$position ",
65
+ "type": {
66
+ "definition": {
67
+ "description": "Enum for the position of a rule within a policy",
68
+ "enumValues": [
69
+ {
70
+ "deprecationReason": null,
71
+ "description": "The rule position is after the pre-existing specified rule",
72
+ "isDeprecated": false,
73
+ "name": "AFTER_RULE"
74
+ },
75
+ {
76
+ "deprecationReason": null,
77
+ "description": "The rule position is before the pre-existing specified rule",
78
+ "isDeprecated": false,
79
+ "name": "BEFORE_RULE"
80
+ },
81
+ {
82
+ "deprecationReason": null,
83
+ "description": "The rule position is first in the specified section",
84
+ "isDeprecated": false,
85
+ "name": "FIRST_IN_SECTION"
86
+ },
87
+ {
88
+ "deprecationReason": null,
89
+ "description": "The rule position is last in the specified section",
90
+ "isDeprecated": false,
91
+ "name": "LAST_IN_SECTION"
92
+ },
93
+ {
94
+ "deprecationReason": null,
95
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
96
+ "isDeprecated": false,
97
+ "name": "FIRST_IN_POLICY"
98
+ },
99
+ {
100
+ "deprecationReason": null,
101
+ "description": "The rule position is last in the policy",
102
+ "isDeprecated": false,
103
+ "name": "LAST_IN_POLICY"
104
+ }
105
+ ],
106
+ "fields": null,
107
+ "inputFields": null,
108
+ "interfaces": null,
109
+ "kind": "ENUM",
110
+ "name": "PolicyRulePositionEnum",
111
+ "possibleTypes": null
112
+ },
113
+ "indexType": "enum",
114
+ "kind": [
115
+ "ENUM"
116
+ ],
117
+ "name": "PolicyRulePositionEnum",
118
+ "non_null": false
119
+ },
120
+ "varName": "position"
121
+ },
122
+ "ref": {
123
+ "defaultValue": null,
124
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
125
+ "id_str": "addRule___input___at___ref",
126
+ "name": "ref",
127
+ "path": "addRule.input.at.ref",
128
+ "requestStr": "$ref:ID ",
129
+ "required": false,
130
+ "responseStr": "ref:$ref ",
131
+ "type": {
132
+ "kind": [
133
+ "SCALAR"
134
+ ],
135
+ "name": "ID",
136
+ "non_null": false
137
+ },
138
+ "varName": "ref"
139
+ }
140
+ },
141
+ "interfaces": null,
142
+ "kind": "INPUT_OBJECT",
143
+ "name": "PolicyRulePositionInput",
144
+ "possibleTypes": null
145
+ },
146
+ "indexType": "input_object",
147
+ "kind": [
148
+ "INPUT_OBJECT"
149
+ ],
150
+ "name": "PolicyRulePositionInput",
151
+ "non_null": false
152
+ },
153
+ "varName": "policyRulePositionInput"
154
+ },
155
+ "rule": {
156
+ "defaultValue": null,
157
+ "description": "Parameters for the rule you are adding",
158
+ "id_str": "addRule___input___rule",
159
+ "name": "rule",
160
+ "path": "addRule.input.rule",
161
+ "requestStr": "$antiMalwareFileHashAddRuleDataInput:AntiMalwareFileHashAddRuleDataInput! ",
162
+ "required": true,
163
+ "responseStr": "rule:$antiMalwareFileHashAddRuleDataInput ",
164
+ "type": {
165
+ "definition": {
166
+ "description": null,
167
+ "enumValues": null,
168
+ "fields": null,
169
+ "inputFields": {
170
+ "action": {
171
+ "defaultValue": "BLOCK",
172
+ "description": "The action when the file hash is matched: [BLOCK | BYPASS]",
173
+ "id_str": "addRule___input___rule___action",
174
+ "name": "action",
175
+ "path": "addRule.input.rule.action",
176
+ "requestStr": "$action:AntiMalwareFileHashAction! ",
177
+ "required": true,
178
+ "responseStr": "action:$action ",
179
+ "type": {
180
+ "definition": {
181
+ "description": null,
182
+ "enumValues": [
183
+ {
184
+ "deprecationReason": null,
185
+ "description": "Block file download by filehash action",
186
+ "isDeprecated": false,
187
+ "name": "BLOCK"
188
+ },
189
+ {
190
+ "deprecationReason": null,
191
+ "description": "Bypass file download by filehash action",
192
+ "isDeprecated": false,
193
+ "name": "BYPASS"
194
+ }
195
+ ],
196
+ "fields": null,
197
+ "inputFields": null,
198
+ "interfaces": null,
199
+ "kind": "ENUM",
200
+ "name": "AntiMalwareFileHashAction",
201
+ "possibleTypes": null
202
+ },
203
+ "indexType": "enum",
204
+ "kind": [
205
+ "NON_NULL",
206
+ "ENUM"
207
+ ],
208
+ "name": "AntiMalwareFileHashAction",
209
+ "non_null": false
210
+ },
211
+ "varName": "action"
212
+ },
213
+ "description": {
214
+ "defaultValue": "\"\"",
215
+ "description": null,
216
+ "id_str": "addRule___input___rule___description",
217
+ "name": "description",
218
+ "path": "addRule.input.rule.description",
219
+ "requestStr": "$description:String! ",
220
+ "required": true,
221
+ "responseStr": "description:$description ",
222
+ "type": {
223
+ "kind": [
224
+ "NON_NULL",
225
+ "SCALAR"
226
+ ],
227
+ "name": "String",
228
+ "non_null": false
229
+ },
230
+ "varName": "description"
231
+ },
232
+ "enabled": {
233
+ "defaultValue": null,
234
+ "description": null,
235
+ "id_str": "addRule___input___rule___enabled",
236
+ "name": "enabled",
237
+ "path": "addRule.input.rule.enabled",
238
+ "requestStr": "$enabled:Boolean! ",
239
+ "required": true,
240
+ "responseStr": "enabled:$enabled ",
241
+ "type": {
242
+ "kind": [
243
+ "NON_NULL",
244
+ "SCALAR"
245
+ ],
246
+ "name": "Boolean",
247
+ "non_null": false
248
+ },
249
+ "varName": "enabled"
250
+ },
251
+ "expirationDate": {
252
+ "defaultValue": null,
253
+ "description": "The date when the block or bypass action expires",
254
+ "id_str": "addRule___input___rule___expirationDate",
255
+ "name": "expirationDate",
256
+ "path": "addRule.input.rule.expirationDate",
257
+ "requestStr": "$expirationDate:DateTime! ",
258
+ "required": true,
259
+ "responseStr": "expirationDate:$expirationDate ",
260
+ "type": {
261
+ "kind": [
262
+ "NON_NULL",
263
+ "SCALAR"
264
+ ],
265
+ "name": "DateTime",
266
+ "non_null": false
267
+ },
268
+ "varName": "expirationDate"
269
+ },
270
+ "fileName": {
271
+ "defaultValue": null,
272
+ "description": "The name of the file",
273
+ "id_str": "addRule___input___rule___fileName",
274
+ "name": "fileName",
275
+ "path": "addRule.input.rule.fileName",
276
+ "requestStr": "$fileName:String! ",
277
+ "required": true,
278
+ "responseStr": "fileName:$fileName ",
279
+ "type": {
280
+ "kind": [
281
+ "NON_NULL",
282
+ "SCALAR"
283
+ ],
284
+ "name": "String",
285
+ "non_null": false
286
+ },
287
+ "varName": "fileName"
288
+ },
289
+ "name": {
290
+ "defaultValue": null,
291
+ "description": null,
292
+ "id_str": "addRule___input___rule___name",
293
+ "name": "name",
294
+ "path": "addRule.input.rule.name",
295
+ "requestStr": "$name:String! ",
296
+ "required": true,
297
+ "responseStr": "name:$name ",
298
+ "type": {
299
+ "kind": [
300
+ "NON_NULL",
301
+ "SCALAR"
302
+ ],
303
+ "name": "String",
304
+ "non_null": false
305
+ },
306
+ "varName": "name"
307
+ },
308
+ "sha256": {
309
+ "defaultValue": null,
310
+ "description": "The file's unique SHA-256 hash identifier",
311
+ "id_str": "addRule___input___rule___sha256",
312
+ "name": "sha256",
313
+ "path": "addRule.input.rule.sha256",
314
+ "requestStr": "$sha256:SHA_256! ",
315
+ "required": true,
316
+ "responseStr": "sha256:$sha256 ",
317
+ "type": {
318
+ "kind": [
319
+ "NON_NULL",
320
+ "SCALAR"
321
+ ],
322
+ "name": "SHA_256",
323
+ "non_null": false
324
+ },
325
+ "varName": "sha256"
326
+ }
327
+ },
328
+ "interfaces": null,
329
+ "kind": "INPUT_OBJECT",
330
+ "name": "AntiMalwareFileHashAddRuleDataInput",
331
+ "possibleTypes": null
332
+ },
333
+ "indexType": "input_object",
334
+ "kind": [
335
+ "NON_NULL",
336
+ "INPUT_OBJECT"
337
+ ],
338
+ "name": "AntiMalwareFileHashAddRuleDataInput",
339
+ "non_null": false
340
+ },
341
+ "varName": "antiMalwareFileHashAddRuleDataInput"
342
+ }
343
+ },
344
+ "interfaces": null,
345
+ "kind": "INPUT_OBJECT",
346
+ "name": "AntiMalwareFileHashAddRuleInput",
347
+ "possibleTypes": null
348
+ },
349
+ "indexType": "input_object",
350
+ "kind": [
351
+ "NON_NULL",
352
+ "INPUT_OBJECT"
353
+ ],
354
+ "name": "AntiMalwareFileHashAddRuleInput",
355
+ "non_null": false
356
+ },
357
+ "varName": "antiMalwareFileHashAddRuleInput"
358
+ }
359
+ },
360
+ "deprecationReason": null,
361
+ "description": null,
362
+ "isDeprecated": false,
363
+ "name": "addRule",
364
+ "type": {
365
+ "kind": "NON_NULL",
366
+ "name": null,
367
+ "ofType": {
368
+ "kind": "OBJECT",
369
+ "name": "AntiMalwareFileHashRuleMutationPayload",
370
+ "ofType": null
371
+ }
372
+ }
373
+ },
374
+ "antiMalwareFileHash": {
375
+ "args": {
376
+ "antiMalwareFileHash___input": {
377
+ "defaultValue": null,
378
+ "description": null,
379
+ "id_str": "antiMalwareFileHash___input",
380
+ "name": "input",
381
+ "path": "antiMalwareFileHash.input",
382
+ "requestStr": "$antiMalwareFileHashPolicyMutationInput:AntiMalwareFileHashPolicyMutationInput ",
383
+ "required": false,
384
+ "responseStr": "input:$antiMalwareFileHashPolicyMutationInput ",
385
+ "type": {
386
+ "definition": {
387
+ "description": null,
388
+ "enumValues": null,
389
+ "fields": null,
390
+ "inputFields": {
391
+ "revision": {
392
+ "defaultValue": null,
393
+ "description": null,
394
+ "id_str": "antiMalwareFileHash___input___revision",
395
+ "name": "revision",
396
+ "path": "antiMalwareFileHash.input.revision",
397
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
398
+ "required": false,
399
+ "responseStr": "revision:$policyMutationRevisionInput ",
400
+ "type": {
401
+ "definition": {
402
+ "description": null,
403
+ "enumValues": null,
404
+ "fields": null,
405
+ "inputFields": {
406
+ "id": {
407
+ "defaultValue": null,
408
+ "description": null,
409
+ "id_str": "antiMalwareFileHash___input___revision___id",
410
+ "name": "id",
411
+ "path": "antiMalwareFileHash.input.revision.id",
412
+ "requestStr": "$id:ID ",
413
+ "required": false,
414
+ "responseStr": "id:$id ",
415
+ "type": {
416
+ "kind": [
417
+ "SCALAR"
418
+ ],
419
+ "name": "ID",
420
+ "non_null": false
421
+ },
422
+ "varName": "id"
423
+ }
424
+ },
425
+ "interfaces": null,
426
+ "kind": "INPUT_OBJECT",
427
+ "name": "PolicyMutationRevisionInput",
428
+ "possibleTypes": null
429
+ },
430
+ "indexType": "input_object",
431
+ "kind": [
432
+ "INPUT_OBJECT"
433
+ ],
434
+ "name": "PolicyMutationRevisionInput",
435
+ "non_null": false
436
+ },
437
+ "varName": "policyMutationRevisionInput"
438
+ }
439
+ },
440
+ "interfaces": null,
441
+ "kind": "INPUT_OBJECT",
442
+ "name": "AntiMalwareFileHashPolicyMutationInput",
443
+ "possibleTypes": null
444
+ },
445
+ "indexType": "input_object",
446
+ "kind": [
447
+ "INPUT_OBJECT"
448
+ ],
449
+ "name": "AntiMalwareFileHashPolicyMutationInput",
450
+ "non_null": false
451
+ },
452
+ "varName": "antiMalwareFileHashPolicyMutationInput"
453
+ }
454
+ },
455
+ "deprecationReason": null,
456
+ "description": null,
457
+ "isDeprecated": false,
458
+ "name": "antiMalwareFileHash",
459
+ "type": {
460
+ "kind": "OBJECT",
461
+ "name": "AntiMalwareFileHashPolicyMutations",
462
+ "ofType": null
463
+ }
464
+ }
465
+ },
466
+ "deprecationReason": null,
467
+ "description": null,
468
+ "fieldTypes": {
469
+ "AntiMalwareFileHashAction": true,
470
+ "AntiMalwareFileHashAddRuleDataInput": true,
471
+ "AntiMalwareFileHashPolicyMutations": true,
472
+ "AntiMalwareFileHashRule": true,
473
+ "AntiMalwareFileHashRuleMutationPayload": true,
474
+ "AntiMalwareFileHashRulePayload": true,
475
+ "PolicyElementAudit": true,
476
+ "PolicyElementPropertiesEnum": true,
477
+ "PolicyMutationError": true,
478
+ "PolicyMutationRevisionInput": true,
479
+ "PolicyMutationStatus": true,
480
+ "PolicyRulePositionEnum": true,
481
+ "PolicyRulePositionInput": true,
482
+ "PolicySectionInfo": true
483
+ },
484
+ "isDeprecated": false,
485
+ "name": "policy",
486
+ "operationArgs": {
487
+ "accountId": {
488
+ "defaultValue": null,
489
+ "description": null,
490
+ "id_str": "accountId",
491
+ "name": "accountId",
492
+ "path": "accountId",
493
+ "requestStr": "$accountId:ID! ",
494
+ "required": true,
495
+ "responseStr": "accountId:$accountId ",
496
+ "type": {
497
+ "kind": [
498
+ "NON_NULL",
499
+ "SCALAR"
500
+ ],
501
+ "name": "ID",
502
+ "non_null": false
503
+ },
504
+ "varName": "accountId"
505
+ },
506
+ "antiMalwareFileHashAddRuleInput": {
507
+ "defaultValue": null,
508
+ "description": null,
509
+ "id_str": "addRule___input",
510
+ "name": "input",
511
+ "path": "addRule.input",
512
+ "requestStr": "$antiMalwareFileHashAddRuleInput:AntiMalwareFileHashAddRuleInput! ",
513
+ "required": true,
514
+ "responseStr": "input:$antiMalwareFileHashAddRuleInput ",
515
+ "type": {
516
+ "definition": {
517
+ "description": null,
518
+ "enumValues": null,
519
+ "fields": null,
520
+ "inputFields": {
521
+ "at": {
522
+ "defaultValue": null,
523
+ "description": "Position of the rule in the policy",
524
+ "id_str": "addRule___input___at",
525
+ "name": "at",
526
+ "path": "addRule.input.at",
527
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
528
+ "required": false,
529
+ "responseStr": "at:$policyRulePositionInput ",
530
+ "type": {
531
+ "definition": {
532
+ "description": "Parameters required to define the rule position",
533
+ "enumValues": null,
534
+ "fields": null,
535
+ "inputFields": {
536
+ "position": {
537
+ "defaultValue": null,
538
+ "description": "Position relative to a policy, a section or another rule",
539
+ "id_str": "addRule___input___at___position",
540
+ "name": "position",
541
+ "path": "addRule.input.at.position",
542
+ "requestStr": "$position:PolicyRulePositionEnum ",
543
+ "required": false,
544
+ "responseStr": "position:$position ",
545
+ "type": {
546
+ "definition": {
547
+ "description": "Enum for the position of a rule within a policy",
548
+ "enumValues": [
549
+ {
550
+ "deprecationReason": null,
551
+ "description": "The rule position is after the pre-existing specified rule",
552
+ "isDeprecated": false,
553
+ "name": "AFTER_RULE"
554
+ },
555
+ {
556
+ "deprecationReason": null,
557
+ "description": "The rule position is before the pre-existing specified rule",
558
+ "isDeprecated": false,
559
+ "name": "BEFORE_RULE"
560
+ },
561
+ {
562
+ "deprecationReason": null,
563
+ "description": "The rule position is first in the specified section",
564
+ "isDeprecated": false,
565
+ "name": "FIRST_IN_SECTION"
566
+ },
567
+ {
568
+ "deprecationReason": null,
569
+ "description": "The rule position is last in the specified section",
570
+ "isDeprecated": false,
571
+ "name": "LAST_IN_SECTION"
572
+ },
573
+ {
574
+ "deprecationReason": null,
575
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
576
+ "isDeprecated": false,
577
+ "name": "FIRST_IN_POLICY"
578
+ },
579
+ {
580
+ "deprecationReason": null,
581
+ "description": "The rule position is last in the policy",
582
+ "isDeprecated": false,
583
+ "name": "LAST_IN_POLICY"
584
+ }
585
+ ],
586
+ "fields": null,
587
+ "inputFields": null,
588
+ "interfaces": null,
589
+ "kind": "ENUM",
590
+ "name": "PolicyRulePositionEnum",
591
+ "possibleTypes": null
592
+ },
593
+ "indexType": "enum",
594
+ "kind": [
595
+ "ENUM"
596
+ ],
597
+ "name": "PolicyRulePositionEnum",
598
+ "non_null": false
599
+ },
600
+ "varName": "position"
601
+ },
602
+ "ref": {
603
+ "defaultValue": null,
604
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
605
+ "id_str": "addRule___input___at___ref",
606
+ "name": "ref",
607
+ "path": "addRule.input.at.ref",
608
+ "requestStr": "$ref:ID ",
609
+ "required": false,
610
+ "responseStr": "ref:$ref ",
611
+ "type": {
612
+ "kind": [
613
+ "SCALAR"
614
+ ],
615
+ "name": "ID",
616
+ "non_null": false
617
+ },
618
+ "varName": "ref"
619
+ }
620
+ },
621
+ "interfaces": null,
622
+ "kind": "INPUT_OBJECT",
623
+ "name": "PolicyRulePositionInput",
624
+ "possibleTypes": null
625
+ },
626
+ "indexType": "input_object",
627
+ "kind": [
628
+ "INPUT_OBJECT"
629
+ ],
630
+ "name": "PolicyRulePositionInput",
631
+ "non_null": false
632
+ },
633
+ "varName": "policyRulePositionInput"
634
+ },
635
+ "rule": {
636
+ "defaultValue": null,
637
+ "description": "Parameters for the rule you are adding",
638
+ "id_str": "addRule___input___rule",
639
+ "name": "rule",
640
+ "path": "addRule.input.rule",
641
+ "requestStr": "$antiMalwareFileHashAddRuleDataInput:AntiMalwareFileHashAddRuleDataInput! ",
642
+ "required": true,
643
+ "responseStr": "rule:$antiMalwareFileHashAddRuleDataInput ",
644
+ "type": {
645
+ "definition": {
646
+ "description": null,
647
+ "enumValues": null,
648
+ "fields": null,
649
+ "inputFields": {
650
+ "action": {
651
+ "defaultValue": "BLOCK",
652
+ "description": "The action when the file hash is matched: [BLOCK | BYPASS]",
653
+ "id_str": "addRule___input___rule___action",
654
+ "name": "action",
655
+ "path": "addRule.input.rule.action",
656
+ "requestStr": "$action:AntiMalwareFileHashAction! ",
657
+ "required": true,
658
+ "responseStr": "action:$action ",
659
+ "type": {
660
+ "definition": {
661
+ "description": null,
662
+ "enumValues": [
663
+ {
664
+ "deprecationReason": null,
665
+ "description": "Block file download by filehash action",
666
+ "isDeprecated": false,
667
+ "name": "BLOCK"
668
+ },
669
+ {
670
+ "deprecationReason": null,
671
+ "description": "Bypass file download by filehash action",
672
+ "isDeprecated": false,
673
+ "name": "BYPASS"
674
+ }
675
+ ],
676
+ "fields": null,
677
+ "inputFields": null,
678
+ "interfaces": null,
679
+ "kind": "ENUM",
680
+ "name": "AntiMalwareFileHashAction",
681
+ "possibleTypes": null
682
+ },
683
+ "indexType": "enum",
684
+ "kind": [
685
+ "NON_NULL",
686
+ "ENUM"
687
+ ],
688
+ "name": "AntiMalwareFileHashAction",
689
+ "non_null": false
690
+ },
691
+ "varName": "action"
692
+ },
693
+ "description": {
694
+ "defaultValue": "\"\"",
695
+ "description": null,
696
+ "id_str": "addRule___input___rule___description",
697
+ "name": "description",
698
+ "path": "addRule.input.rule.description",
699
+ "requestStr": "$description:String! ",
700
+ "required": true,
701
+ "responseStr": "description:$description ",
702
+ "type": {
703
+ "kind": [
704
+ "NON_NULL",
705
+ "SCALAR"
706
+ ],
707
+ "name": "String",
708
+ "non_null": false
709
+ },
710
+ "varName": "description"
711
+ },
712
+ "enabled": {
713
+ "defaultValue": null,
714
+ "description": null,
715
+ "id_str": "addRule___input___rule___enabled",
716
+ "name": "enabled",
717
+ "path": "addRule.input.rule.enabled",
718
+ "requestStr": "$enabled:Boolean! ",
719
+ "required": true,
720
+ "responseStr": "enabled:$enabled ",
721
+ "type": {
722
+ "kind": [
723
+ "NON_NULL",
724
+ "SCALAR"
725
+ ],
726
+ "name": "Boolean",
727
+ "non_null": false
728
+ },
729
+ "varName": "enabled"
730
+ },
731
+ "expirationDate": {
732
+ "defaultValue": null,
733
+ "description": "The date when the block or bypass action expires",
734
+ "id_str": "addRule___input___rule___expirationDate",
735
+ "name": "expirationDate",
736
+ "path": "addRule.input.rule.expirationDate",
737
+ "requestStr": "$expirationDate:DateTime! ",
738
+ "required": true,
739
+ "responseStr": "expirationDate:$expirationDate ",
740
+ "type": {
741
+ "kind": [
742
+ "NON_NULL",
743
+ "SCALAR"
744
+ ],
745
+ "name": "DateTime",
746
+ "non_null": false
747
+ },
748
+ "varName": "expirationDate"
749
+ },
750
+ "fileName": {
751
+ "defaultValue": null,
752
+ "description": "The name of the file",
753
+ "id_str": "addRule___input___rule___fileName",
754
+ "name": "fileName",
755
+ "path": "addRule.input.rule.fileName",
756
+ "requestStr": "$fileName:String! ",
757
+ "required": true,
758
+ "responseStr": "fileName:$fileName ",
759
+ "type": {
760
+ "kind": [
761
+ "NON_NULL",
762
+ "SCALAR"
763
+ ],
764
+ "name": "String",
765
+ "non_null": false
766
+ },
767
+ "varName": "fileName"
768
+ },
769
+ "name": {
770
+ "defaultValue": null,
771
+ "description": null,
772
+ "id_str": "addRule___input___rule___name",
773
+ "name": "name",
774
+ "path": "addRule.input.rule.name",
775
+ "requestStr": "$name:String! ",
776
+ "required": true,
777
+ "responseStr": "name:$name ",
778
+ "type": {
779
+ "kind": [
780
+ "NON_NULL",
781
+ "SCALAR"
782
+ ],
783
+ "name": "String",
784
+ "non_null": false
785
+ },
786
+ "varName": "name"
787
+ },
788
+ "sha256": {
789
+ "defaultValue": null,
790
+ "description": "The file's unique SHA-256 hash identifier",
791
+ "id_str": "addRule___input___rule___sha256",
792
+ "name": "sha256",
793
+ "path": "addRule.input.rule.sha256",
794
+ "requestStr": "$sha256:SHA_256! ",
795
+ "required": true,
796
+ "responseStr": "sha256:$sha256 ",
797
+ "type": {
798
+ "kind": [
799
+ "NON_NULL",
800
+ "SCALAR"
801
+ ],
802
+ "name": "SHA_256",
803
+ "non_null": false
804
+ },
805
+ "varName": "sha256"
806
+ }
807
+ },
808
+ "interfaces": null,
809
+ "kind": "INPUT_OBJECT",
810
+ "name": "AntiMalwareFileHashAddRuleDataInput",
811
+ "possibleTypes": null
812
+ },
813
+ "indexType": "input_object",
814
+ "kind": [
815
+ "NON_NULL",
816
+ "INPUT_OBJECT"
817
+ ],
818
+ "name": "AntiMalwareFileHashAddRuleDataInput",
819
+ "non_null": false
820
+ },
821
+ "varName": "antiMalwareFileHashAddRuleDataInput"
822
+ }
823
+ },
824
+ "interfaces": null,
825
+ "kind": "INPUT_OBJECT",
826
+ "name": "AntiMalwareFileHashAddRuleInput",
827
+ "possibleTypes": null
828
+ },
829
+ "indexType": "input_object",
830
+ "kind": [
831
+ "NON_NULL",
832
+ "INPUT_OBJECT"
833
+ ],
834
+ "name": "AntiMalwareFileHashAddRuleInput",
835
+ "non_null": false
836
+ },
837
+ "varName": "antiMalwareFileHashAddRuleInput"
838
+ },
839
+ "antiMalwareFileHashPolicyMutationInput": {
840
+ "defaultValue": null,
841
+ "description": null,
842
+ "id_str": "antiMalwareFileHash___input",
843
+ "name": "input",
844
+ "path": "antiMalwareFileHash.input",
845
+ "requestStr": "$antiMalwareFileHashPolicyMutationInput:AntiMalwareFileHashPolicyMutationInput ",
846
+ "required": false,
847
+ "responseStr": "input:$antiMalwareFileHashPolicyMutationInput ",
848
+ "type": {
849
+ "definition": {
850
+ "description": null,
851
+ "enumValues": null,
852
+ "fields": null,
853
+ "inputFields": {
854
+ "revision": {
855
+ "defaultValue": null,
856
+ "description": null,
857
+ "id_str": "antiMalwareFileHash___input___revision",
858
+ "name": "revision",
859
+ "path": "antiMalwareFileHash.input.revision",
860
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
861
+ "required": false,
862
+ "responseStr": "revision:$policyMutationRevisionInput ",
863
+ "type": {
864
+ "definition": {
865
+ "description": null,
866
+ "enumValues": null,
867
+ "fields": null,
868
+ "inputFields": {
869
+ "id": {
870
+ "defaultValue": null,
871
+ "description": null,
872
+ "id_str": "antiMalwareFileHash___input___revision___id",
873
+ "name": "id",
874
+ "path": "antiMalwareFileHash.input.revision.id",
875
+ "requestStr": "$id:ID ",
876
+ "required": false,
877
+ "responseStr": "id:$id ",
878
+ "type": {
879
+ "kind": [
880
+ "SCALAR"
881
+ ],
882
+ "name": "ID",
883
+ "non_null": false
884
+ },
885
+ "varName": "id"
886
+ }
887
+ },
888
+ "interfaces": null,
889
+ "kind": "INPUT_OBJECT",
890
+ "name": "PolicyMutationRevisionInput",
891
+ "possibleTypes": null
892
+ },
893
+ "indexType": "input_object",
894
+ "kind": [
895
+ "INPUT_OBJECT"
896
+ ],
897
+ "name": "PolicyMutationRevisionInput",
898
+ "non_null": false
899
+ },
900
+ "varName": "policyMutationRevisionInput"
901
+ }
902
+ },
903
+ "interfaces": null,
904
+ "kind": "INPUT_OBJECT",
905
+ "name": "AntiMalwareFileHashPolicyMutationInput",
906
+ "possibleTypes": null
907
+ },
908
+ "indexType": "input_object",
909
+ "kind": [
910
+ "INPUT_OBJECT"
911
+ ],
912
+ "name": "AntiMalwareFileHashPolicyMutationInput",
913
+ "non_null": false
914
+ },
915
+ "varName": "antiMalwareFileHashPolicyMutationInput"
916
+ }
917
+ },
918
+ "path": "mutation.policy.antiMalwareFileHash.addRule",
919
+ "type": {
920
+ "definition": {
921
+ "description": "Policies that can be configured with mutation APIs.",
922
+ "enumValues": null,
923
+ "fields": {
924
+ "antiMalwareFileHash": {
925
+ "args": {
926
+ "antiMalwareFileHash___input": {
927
+ "defaultValue": null,
928
+ "description": null,
929
+ "id_str": "antiMalwareFileHash___input",
930
+ "name": "input",
931
+ "path": "antiMalwareFileHash.input",
932
+ "requestStr": "$antiMalwareFileHashPolicyMutationInput:AntiMalwareFileHashPolicyMutationInput ",
933
+ "required": false,
934
+ "responseStr": "input:$antiMalwareFileHashPolicyMutationInput ",
935
+ "type": {
936
+ "definition": {
937
+ "description": null,
938
+ "enumValues": null,
939
+ "fields": null,
940
+ "inputFields": {
941
+ "revision": {
942
+ "defaultValue": null,
943
+ "description": null,
944
+ "id_str": "antiMalwareFileHash___input___revision",
945
+ "name": "revision",
946
+ "path": "antiMalwareFileHash.input.revision",
947
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
948
+ "required": false,
949
+ "responseStr": "revision:$policyMutationRevisionInput ",
950
+ "type": {
951
+ "definition": {
952
+ "description": null,
953
+ "enumValues": null,
954
+ "fields": null,
955
+ "inputFields": {
956
+ "id": {
957
+ "defaultValue": null,
958
+ "description": null,
959
+ "id_str": "antiMalwareFileHash___input___revision___id",
960
+ "name": "id",
961
+ "path": "antiMalwareFileHash.input.revision.id",
962
+ "requestStr": "$id:ID ",
963
+ "required": false,
964
+ "responseStr": "id:$id ",
965
+ "type": {
966
+ "kind": [
967
+ "SCALAR"
968
+ ],
969
+ "name": "ID",
970
+ "non_null": false
971
+ },
972
+ "varName": "id"
973
+ }
974
+ },
975
+ "interfaces": null,
976
+ "kind": "INPUT_OBJECT",
977
+ "name": "PolicyMutationRevisionInput",
978
+ "possibleTypes": null
979
+ },
980
+ "indexType": "input_object",
981
+ "kind": [
982
+ "INPUT_OBJECT"
983
+ ],
984
+ "name": "PolicyMutationRevisionInput",
985
+ "non_null": false
986
+ },
987
+ "varName": "policyMutationRevisionInput"
988
+ }
989
+ },
990
+ "interfaces": null,
991
+ "kind": "INPUT_OBJECT",
992
+ "name": "AntiMalwareFileHashPolicyMutationInput",
993
+ "possibleTypes": null
994
+ },
995
+ "indexType": "input_object",
996
+ "kind": [
997
+ "INPUT_OBJECT"
998
+ ],
999
+ "name": "AntiMalwareFileHashPolicyMutationInput",
1000
+ "non_null": false
1001
+ },
1002
+ "varName": "antiMalwareFileHashPolicyMutationInput"
1003
+ }
1004
+ },
1005
+ "deprecationReason": null,
1006
+ "description": null,
1007
+ "id_str": "antiMalwareFileHash",
1008
+ "isDeprecated": false,
1009
+ "name": "antiMalwareFileHash",
1010
+ "path": "antiMalwareFileHash",
1011
+ "requestStr": "$antiMalwareFileHashPolicyMutations:AntiMalwareFileHashPolicyMutations ",
1012
+ "required": false,
1013
+ "responseStr": "antiMalwareFileHash:$antiMalwareFileHashPolicyMutations ",
1014
+ "type": {
1015
+ "definition": {
1016
+ "description": null,
1017
+ "enumValues": null,
1018
+ "fields": {
1019
+ "addRule": {
1020
+ "args": {
1021
+ "addRule___input": {
1022
+ "defaultValue": null,
1023
+ "description": null,
1024
+ "id_str": "addRule___input",
1025
+ "name": "input",
1026
+ "path": "addRule.input",
1027
+ "requestStr": "$antiMalwareFileHashAddRuleInput:AntiMalwareFileHashAddRuleInput! ",
1028
+ "required": true,
1029
+ "responseStr": "input:$antiMalwareFileHashAddRuleInput ",
1030
+ "type": {
1031
+ "definition": {
1032
+ "description": null,
1033
+ "enumValues": null,
1034
+ "fields": null,
1035
+ "inputFields": {
1036
+ "at": {
1037
+ "defaultValue": null,
1038
+ "description": "Position of the rule in the policy",
1039
+ "id_str": "addRule___input___at",
1040
+ "name": "at",
1041
+ "path": "addRule.input.at",
1042
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
1043
+ "required": false,
1044
+ "responseStr": "at:$policyRulePositionInput ",
1045
+ "type": {
1046
+ "definition": {
1047
+ "description": "Parameters required to define the rule position",
1048
+ "enumValues": null,
1049
+ "fields": null,
1050
+ "inputFields": {
1051
+ "position": {
1052
+ "defaultValue": null,
1053
+ "description": "Position relative to a policy, a section or another rule",
1054
+ "id_str": "addRule___input___at___position",
1055
+ "name": "position",
1056
+ "path": "addRule.input.at.position",
1057
+ "requestStr": "$position:PolicyRulePositionEnum ",
1058
+ "required": false,
1059
+ "responseStr": "position:$position ",
1060
+ "type": {
1061
+ "definition": {
1062
+ "description": "Enum for the position of a rule within a policy",
1063
+ "enumValues": [
1064
+ {
1065
+ "deprecationReason": null,
1066
+ "description": "The rule position is after the pre-existing specified rule",
1067
+ "isDeprecated": false,
1068
+ "name": "AFTER_RULE"
1069
+ },
1070
+ {
1071
+ "deprecationReason": null,
1072
+ "description": "The rule position is before the pre-existing specified rule",
1073
+ "isDeprecated": false,
1074
+ "name": "BEFORE_RULE"
1075
+ },
1076
+ {
1077
+ "deprecationReason": null,
1078
+ "description": "The rule position is first in the specified section",
1079
+ "isDeprecated": false,
1080
+ "name": "FIRST_IN_SECTION"
1081
+ },
1082
+ {
1083
+ "deprecationReason": null,
1084
+ "description": "The rule position is last in the specified section",
1085
+ "isDeprecated": false,
1086
+ "name": "LAST_IN_SECTION"
1087
+ },
1088
+ {
1089
+ "deprecationReason": null,
1090
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
1091
+ "isDeprecated": false,
1092
+ "name": "FIRST_IN_POLICY"
1093
+ },
1094
+ {
1095
+ "deprecationReason": null,
1096
+ "description": "The rule position is last in the policy",
1097
+ "isDeprecated": false,
1098
+ "name": "LAST_IN_POLICY"
1099
+ }
1100
+ ],
1101
+ "fields": null,
1102
+ "inputFields": null,
1103
+ "interfaces": null,
1104
+ "kind": "ENUM",
1105
+ "name": "PolicyRulePositionEnum",
1106
+ "possibleTypes": null
1107
+ },
1108
+ "indexType": "enum",
1109
+ "kind": [
1110
+ "ENUM"
1111
+ ],
1112
+ "name": "PolicyRulePositionEnum",
1113
+ "non_null": false
1114
+ },
1115
+ "varName": "position"
1116
+ },
1117
+ "ref": {
1118
+ "defaultValue": null,
1119
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
1120
+ "id_str": "addRule___input___at___ref",
1121
+ "name": "ref",
1122
+ "path": "addRule.input.at.ref",
1123
+ "requestStr": "$ref:ID ",
1124
+ "required": false,
1125
+ "responseStr": "ref:$ref ",
1126
+ "type": {
1127
+ "kind": [
1128
+ "SCALAR"
1129
+ ],
1130
+ "name": "ID",
1131
+ "non_null": false
1132
+ },
1133
+ "varName": "ref"
1134
+ }
1135
+ },
1136
+ "interfaces": null,
1137
+ "kind": "INPUT_OBJECT",
1138
+ "name": "PolicyRulePositionInput",
1139
+ "possibleTypes": null
1140
+ },
1141
+ "indexType": "input_object",
1142
+ "kind": [
1143
+ "INPUT_OBJECT"
1144
+ ],
1145
+ "name": "PolicyRulePositionInput",
1146
+ "non_null": false
1147
+ },
1148
+ "varName": "policyRulePositionInput"
1149
+ },
1150
+ "rule": {
1151
+ "defaultValue": null,
1152
+ "description": "Parameters for the rule you are adding",
1153
+ "id_str": "addRule___input___rule",
1154
+ "name": "rule",
1155
+ "path": "addRule.input.rule",
1156
+ "requestStr": "$antiMalwareFileHashAddRuleDataInput:AntiMalwareFileHashAddRuleDataInput! ",
1157
+ "required": true,
1158
+ "responseStr": "rule:$antiMalwareFileHashAddRuleDataInput ",
1159
+ "type": {
1160
+ "definition": {
1161
+ "description": null,
1162
+ "enumValues": null,
1163
+ "fields": null,
1164
+ "inputFields": {
1165
+ "action": {
1166
+ "defaultValue": "BLOCK",
1167
+ "description": "The action when the file hash is matched: [BLOCK | BYPASS]",
1168
+ "id_str": "addRule___input___rule___action",
1169
+ "name": "action",
1170
+ "path": "addRule.input.rule.action",
1171
+ "requestStr": "$action:AntiMalwareFileHashAction! ",
1172
+ "required": true,
1173
+ "responseStr": "action:$action ",
1174
+ "type": {
1175
+ "definition": {
1176
+ "description": null,
1177
+ "enumValues": [
1178
+ {
1179
+ "deprecationReason": null,
1180
+ "description": "Block file download by filehash action",
1181
+ "isDeprecated": false,
1182
+ "name": "BLOCK"
1183
+ },
1184
+ {
1185
+ "deprecationReason": null,
1186
+ "description": "Bypass file download by filehash action",
1187
+ "isDeprecated": false,
1188
+ "name": "BYPASS"
1189
+ }
1190
+ ],
1191
+ "fields": null,
1192
+ "inputFields": null,
1193
+ "interfaces": null,
1194
+ "kind": "ENUM",
1195
+ "name": "AntiMalwareFileHashAction",
1196
+ "possibleTypes": null
1197
+ },
1198
+ "indexType": "enum",
1199
+ "kind": [
1200
+ "NON_NULL",
1201
+ "ENUM"
1202
+ ],
1203
+ "name": "AntiMalwareFileHashAction",
1204
+ "non_null": false
1205
+ },
1206
+ "varName": "action"
1207
+ },
1208
+ "description": {
1209
+ "defaultValue": "\"\"",
1210
+ "description": null,
1211
+ "id_str": "addRule___input___rule___description",
1212
+ "name": "description",
1213
+ "path": "addRule.input.rule.description",
1214
+ "requestStr": "$description:String! ",
1215
+ "required": true,
1216
+ "responseStr": "description:$description ",
1217
+ "type": {
1218
+ "kind": [
1219
+ "NON_NULL",
1220
+ "SCALAR"
1221
+ ],
1222
+ "name": "String",
1223
+ "non_null": false
1224
+ },
1225
+ "varName": "description"
1226
+ },
1227
+ "enabled": {
1228
+ "defaultValue": null,
1229
+ "description": null,
1230
+ "id_str": "addRule___input___rule___enabled",
1231
+ "name": "enabled",
1232
+ "path": "addRule.input.rule.enabled",
1233
+ "requestStr": "$enabled:Boolean! ",
1234
+ "required": true,
1235
+ "responseStr": "enabled:$enabled ",
1236
+ "type": {
1237
+ "kind": [
1238
+ "NON_NULL",
1239
+ "SCALAR"
1240
+ ],
1241
+ "name": "Boolean",
1242
+ "non_null": false
1243
+ },
1244
+ "varName": "enabled"
1245
+ },
1246
+ "expirationDate": {
1247
+ "defaultValue": null,
1248
+ "description": "The date when the block or bypass action expires",
1249
+ "id_str": "addRule___input___rule___expirationDate",
1250
+ "name": "expirationDate",
1251
+ "path": "addRule.input.rule.expirationDate",
1252
+ "requestStr": "$expirationDate:DateTime! ",
1253
+ "required": true,
1254
+ "responseStr": "expirationDate:$expirationDate ",
1255
+ "type": {
1256
+ "kind": [
1257
+ "NON_NULL",
1258
+ "SCALAR"
1259
+ ],
1260
+ "name": "DateTime",
1261
+ "non_null": false
1262
+ },
1263
+ "varName": "expirationDate"
1264
+ },
1265
+ "fileName": {
1266
+ "defaultValue": null,
1267
+ "description": "The name of the file",
1268
+ "id_str": "addRule___input___rule___fileName",
1269
+ "name": "fileName",
1270
+ "path": "addRule.input.rule.fileName",
1271
+ "requestStr": "$fileName:String! ",
1272
+ "required": true,
1273
+ "responseStr": "fileName:$fileName ",
1274
+ "type": {
1275
+ "kind": [
1276
+ "NON_NULL",
1277
+ "SCALAR"
1278
+ ],
1279
+ "name": "String",
1280
+ "non_null": false
1281
+ },
1282
+ "varName": "fileName"
1283
+ },
1284
+ "name": {
1285
+ "defaultValue": null,
1286
+ "description": null,
1287
+ "id_str": "addRule___input___rule___name",
1288
+ "name": "name",
1289
+ "path": "addRule.input.rule.name",
1290
+ "requestStr": "$name:String! ",
1291
+ "required": true,
1292
+ "responseStr": "name:$name ",
1293
+ "type": {
1294
+ "kind": [
1295
+ "NON_NULL",
1296
+ "SCALAR"
1297
+ ],
1298
+ "name": "String",
1299
+ "non_null": false
1300
+ },
1301
+ "varName": "name"
1302
+ },
1303
+ "sha256": {
1304
+ "defaultValue": null,
1305
+ "description": "The file's unique SHA-256 hash identifier",
1306
+ "id_str": "addRule___input___rule___sha256",
1307
+ "name": "sha256",
1308
+ "path": "addRule.input.rule.sha256",
1309
+ "requestStr": "$sha256:SHA_256! ",
1310
+ "required": true,
1311
+ "responseStr": "sha256:$sha256 ",
1312
+ "type": {
1313
+ "kind": [
1314
+ "NON_NULL",
1315
+ "SCALAR"
1316
+ ],
1317
+ "name": "SHA_256",
1318
+ "non_null": false
1319
+ },
1320
+ "varName": "sha256"
1321
+ }
1322
+ },
1323
+ "interfaces": null,
1324
+ "kind": "INPUT_OBJECT",
1325
+ "name": "AntiMalwareFileHashAddRuleDataInput",
1326
+ "possibleTypes": null
1327
+ },
1328
+ "indexType": "input_object",
1329
+ "kind": [
1330
+ "NON_NULL",
1331
+ "INPUT_OBJECT"
1332
+ ],
1333
+ "name": "AntiMalwareFileHashAddRuleDataInput",
1334
+ "non_null": false
1335
+ },
1336
+ "varName": "antiMalwareFileHashAddRuleDataInput"
1337
+ }
1338
+ },
1339
+ "interfaces": null,
1340
+ "kind": "INPUT_OBJECT",
1341
+ "name": "AntiMalwareFileHashAddRuleInput",
1342
+ "possibleTypes": null
1343
+ },
1344
+ "indexType": "input_object",
1345
+ "kind": [
1346
+ "NON_NULL",
1347
+ "INPUT_OBJECT"
1348
+ ],
1349
+ "name": "AntiMalwareFileHashAddRuleInput",
1350
+ "non_null": false
1351
+ },
1352
+ "varName": "antiMalwareFileHashAddRuleInput"
1353
+ }
1354
+ },
1355
+ "deprecationReason": null,
1356
+ "description": null,
1357
+ "id_str": "antiMalwareFileHash___addRule",
1358
+ "isDeprecated": false,
1359
+ "name": "addRule",
1360
+ "path": "antiMalwareFileHash.addRule",
1361
+ "requestStr": "$antiMalwareFileHashRuleMutationPayload:AntiMalwareFileHashRuleMutationPayload! ",
1362
+ "required": true,
1363
+ "responseStr": "addRule:$antiMalwareFileHashRuleMutationPayload ",
1364
+ "type": {
1365
+ "definition": {
1366
+ "description": null,
1367
+ "enumValues": null,
1368
+ "fields": {
1369
+ "errors": {
1370
+ "alias": "errorsAntiMalwareFileHashRuleMutationPayload: errors",
1371
+ "args": {},
1372
+ "deprecationReason": null,
1373
+ "description": null,
1374
+ "id_str": "antiMalwareFileHash___addRule___errors",
1375
+ "isDeprecated": false,
1376
+ "name": "errors",
1377
+ "path": "antiMalwareFileHash.addRule.errors",
1378
+ "requestStr": "$policyMutationError:[PolicyMutationError]! ",
1379
+ "required": true,
1380
+ "responseStr": "errors:$policyMutationError ",
1381
+ "type": {
1382
+ "definition": {
1383
+ "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\"",
1384
+ "enumValues": null,
1385
+ "fields": {
1386
+ "errorCode": {
1387
+ "args": {},
1388
+ "deprecationReason": null,
1389
+ "description": null,
1390
+ "id_str": "antiMalwareFileHash___addRule___errors___errorCode",
1391
+ "isDeprecated": false,
1392
+ "name": "errorCode",
1393
+ "path": "antiMalwareFileHash.addRule.errors.errorCode",
1394
+ "requestStr": "$errorCode:String ",
1395
+ "required": false,
1396
+ "responseStr": "errorCode:$errorCode ",
1397
+ "type": {
1398
+ "kind": [
1399
+ "SCALAR"
1400
+ ],
1401
+ "name": "String",
1402
+ "non_null": false
1403
+ },
1404
+ "varName": "errorCode"
1405
+ },
1406
+ "errorMessage": {
1407
+ "args": {},
1408
+ "deprecationReason": null,
1409
+ "description": null,
1410
+ "id_str": "antiMalwareFileHash___addRule___errors___errorMessage",
1411
+ "isDeprecated": false,
1412
+ "name": "errorMessage",
1413
+ "path": "antiMalwareFileHash.addRule.errors.errorMessage",
1414
+ "requestStr": "$errorMessage:String ",
1415
+ "required": false,
1416
+ "responseStr": "errorMessage:$errorMessage ",
1417
+ "type": {
1418
+ "kind": [
1419
+ "SCALAR"
1420
+ ],
1421
+ "name": "String",
1422
+ "non_null": false
1423
+ },
1424
+ "varName": "errorMessage"
1425
+ }
1426
+ },
1427
+ "inputFields": null,
1428
+ "interfaces": {},
1429
+ "kind": "OBJECT",
1430
+ "name": "PolicyMutationError",
1431
+ "possibleTypes": null
1432
+ },
1433
+ "indexType": "object",
1434
+ "kind": [
1435
+ "NON_NULL",
1436
+ "LIST",
1437
+ "NON_NULL",
1438
+ "OBJECT"
1439
+ ],
1440
+ "name": "PolicyMutationError",
1441
+ "non_null": false
1442
+ },
1443
+ "varName": "policyMutationError"
1444
+ },
1445
+ "rule": {
1446
+ "alias": "ruleAntiMalwareFileHashRuleMutationPayload: rule",
1447
+ "args": {},
1448
+ "deprecationReason": null,
1449
+ "description": null,
1450
+ "id_str": "antiMalwareFileHash___addRule___rule",
1451
+ "isDeprecated": false,
1452
+ "name": "rule",
1453
+ "path": "antiMalwareFileHash.addRule.rule",
1454
+ "requestStr": "$antiMalwareFileHashRulePayload:AntiMalwareFileHashRulePayload ",
1455
+ "required": false,
1456
+ "responseStr": "rule:$antiMalwareFileHashRulePayload ",
1457
+ "type": {
1458
+ "definition": {
1459
+ "description": null,
1460
+ "enumValues": null,
1461
+ "fields": {
1462
+ "audit": {
1463
+ "args": {},
1464
+ "deprecationReason": null,
1465
+ "description": null,
1466
+ "id_str": "antiMalwareFileHash___addRule___rule___audit",
1467
+ "isDeprecated": false,
1468
+ "name": "audit",
1469
+ "path": "antiMalwareFileHash.addRule.rule.audit",
1470
+ "requestStr": "$policyElementAudit:PolicyElementAudit! ",
1471
+ "required": true,
1472
+ "responseStr": "audit:$policyElementAudit ",
1473
+ "type": {
1474
+ "definition": {
1475
+ "description": null,
1476
+ "enumValues": null,
1477
+ "fields": {
1478
+ "updatedBy": {
1479
+ "args": {},
1480
+ "deprecationReason": null,
1481
+ "description": "The admin, or the API-key, that performed the last update",
1482
+ "id_str": "antiMalwareFileHash___addRule___rule___audit___updatedBy",
1483
+ "isDeprecated": false,
1484
+ "name": "updatedBy",
1485
+ "path": "antiMalwareFileHash.addRule.rule.audit.updatedBy",
1486
+ "requestStr": "$updatedBy:String! ",
1487
+ "required": true,
1488
+ "responseStr": "updatedBy:$updatedBy ",
1489
+ "type": {
1490
+ "kind": [
1491
+ "NON_NULL",
1492
+ "SCALAR"
1493
+ ],
1494
+ "name": "String",
1495
+ "non_null": false
1496
+ },
1497
+ "varName": "updatedBy"
1498
+ },
1499
+ "updatedTime": {
1500
+ "args": {},
1501
+ "deprecationReason": null,
1502
+ "description": "The last date and time the rule was updated",
1503
+ "id_str": "antiMalwareFileHash___addRule___rule___audit___updatedTime",
1504
+ "isDeprecated": false,
1505
+ "name": "updatedTime",
1506
+ "path": "antiMalwareFileHash.addRule.rule.audit.updatedTime",
1507
+ "requestStr": "$updatedTime:DateTime! ",
1508
+ "required": true,
1509
+ "responseStr": "updatedTime:$updatedTime ",
1510
+ "type": {
1511
+ "kind": [
1512
+ "NON_NULL",
1513
+ "SCALAR"
1514
+ ],
1515
+ "name": "DateTime",
1516
+ "non_null": false
1517
+ },
1518
+ "varName": "updatedTime"
1519
+ }
1520
+ },
1521
+ "inputFields": null,
1522
+ "interfaces": {},
1523
+ "kind": "OBJECT",
1524
+ "name": "PolicyElementAudit",
1525
+ "possibleTypes": null
1526
+ },
1527
+ "indexType": "object",
1528
+ "kind": [
1529
+ "NON_NULL",
1530
+ "OBJECT"
1531
+ ],
1532
+ "name": "PolicyElementAudit",
1533
+ "non_null": false
1534
+ },
1535
+ "varName": "policyElementAudit"
1536
+ },
1537
+ "properties": {
1538
+ "args": {},
1539
+ "deprecationReason": null,
1540
+ "description": null,
1541
+ "id_str": "antiMalwareFileHash___addRule___rule___properties",
1542
+ "isDeprecated": false,
1543
+ "name": "properties",
1544
+ "path": "antiMalwareFileHash.addRule.rule.properties",
1545
+ "requestStr": "$properties:[PolicyElementPropertiesEnum]! ",
1546
+ "required": true,
1547
+ "responseStr": "properties:$properties ",
1548
+ "type": {
1549
+ "definition": {
1550
+ "description": "Attributes describing the rule state or type",
1551
+ "enumValues": [
1552
+ {
1553
+ "deprecationReason": null,
1554
+ "description": "New (added) rule",
1555
+ "isDeprecated": false,
1556
+ "name": "ADDED"
1557
+ },
1558
+ {
1559
+ "deprecationReason": null,
1560
+ "description": "Updated (modified) existing rule",
1561
+ "isDeprecated": false,
1562
+ "name": "UPDATED"
1563
+ },
1564
+ {
1565
+ "deprecationReason": null,
1566
+ "description": "Removed (deleted) rule",
1567
+ "isDeprecated": false,
1568
+ "name": "REMOVED"
1569
+ },
1570
+ {
1571
+ "deprecationReason": null,
1572
+ "description": "A rule moved to a different position",
1573
+ "isDeprecated": false,
1574
+ "name": "MOVED"
1575
+ },
1576
+ {
1577
+ "deprecationReason": null,
1578
+ "description": "A rule locked for changes by other admins",
1579
+ "isDeprecated": false,
1580
+ "name": "LOCKED"
1581
+ },
1582
+ {
1583
+ "deprecationReason": null,
1584
+ "description": "An object can not be moved, or referenced when moving other objects.\nHowever its properties and content can be modified.",
1585
+ "isDeprecated": false,
1586
+ "name": "ANCHORED"
1587
+ },
1588
+ {
1589
+ "deprecationReason": null,
1590
+ "description": "A pre-defined (system) rule that cannot be modified or removed",
1591
+ "isDeprecated": false,
1592
+ "name": "SYSTEM"
1593
+ }
1594
+ ],
1595
+ "fields": null,
1596
+ "inputFields": null,
1597
+ "interfaces": null,
1598
+ "kind": "ENUM",
1599
+ "name": "PolicyElementPropertiesEnum",
1600
+ "possibleTypes": null
1601
+ },
1602
+ "indexType": "enum",
1603
+ "kind": [
1604
+ "NON_NULL",
1605
+ "LIST",
1606
+ "NON_NULL",
1607
+ "ENUM"
1608
+ ],
1609
+ "name": "PolicyElementPropertiesEnum",
1610
+ "non_null": false
1611
+ },
1612
+ "varName": "properties"
1613
+ },
1614
+ "rule": {
1615
+ "args": {},
1616
+ "deprecationReason": null,
1617
+ "description": null,
1618
+ "id_str": "antiMalwareFileHash___addRule___rule___rule",
1619
+ "isDeprecated": false,
1620
+ "name": "rule",
1621
+ "path": "antiMalwareFileHash.addRule.rule.rule",
1622
+ "requestStr": "$antiMalwareFileHashRule:AntiMalwareFileHashRule! ",
1623
+ "required": true,
1624
+ "responseStr": "rule:$antiMalwareFileHashRule ",
1625
+ "type": {
1626
+ "definition": {
1627
+ "description": null,
1628
+ "enumValues": null,
1629
+ "fields": {
1630
+ "action": {
1631
+ "alias": "actionAntiMalwareFileHashRule: action",
1632
+ "args": {},
1633
+ "deprecationReason": null,
1634
+ "description": "The action when the file hash is matched: [BLOCK | BYPASS]",
1635
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___action",
1636
+ "isDeprecated": false,
1637
+ "name": "action",
1638
+ "path": "antiMalwareFileHash.addRule.rule.rule.action",
1639
+ "requestStr": "$action:AntiMalwareFileHashAction! ",
1640
+ "required": true,
1641
+ "responseStr": "action:$action ",
1642
+ "type": {
1643
+ "definition": {
1644
+ "description": null,
1645
+ "enumValues": [
1646
+ {
1647
+ "deprecationReason": null,
1648
+ "description": "Block file download by filehash action",
1649
+ "isDeprecated": false,
1650
+ "name": "BLOCK"
1651
+ },
1652
+ {
1653
+ "deprecationReason": null,
1654
+ "description": "Bypass file download by filehash action",
1655
+ "isDeprecated": false,
1656
+ "name": "BYPASS"
1657
+ }
1658
+ ],
1659
+ "fields": null,
1660
+ "inputFields": null,
1661
+ "interfaces": null,
1662
+ "kind": "ENUM",
1663
+ "name": "AntiMalwareFileHashAction",
1664
+ "possibleTypes": null
1665
+ },
1666
+ "indexType": "enum",
1667
+ "kind": [
1668
+ "NON_NULL",
1669
+ "ENUM"
1670
+ ],
1671
+ "name": "AntiMalwareFileHashAction",
1672
+ "non_null": false
1673
+ },
1674
+ "varName": "action"
1675
+ },
1676
+ "description": {
1677
+ "args": {},
1678
+ "deprecationReason": null,
1679
+ "description": "Description for the rule",
1680
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___description",
1681
+ "isDeprecated": false,
1682
+ "name": "description",
1683
+ "path": "antiMalwareFileHash.addRule.rule.rule.description",
1684
+ "requestStr": "$description:String! ",
1685
+ "required": true,
1686
+ "responseStr": "description:$description ",
1687
+ "type": {
1688
+ "kind": [
1689
+ "NON_NULL",
1690
+ "SCALAR"
1691
+ ],
1692
+ "name": "String",
1693
+ "non_null": false
1694
+ },
1695
+ "varName": "description"
1696
+ },
1697
+ "enabled": {
1698
+ "args": {},
1699
+ "deprecationReason": null,
1700
+ "description": "TRUE = Rule is enabled \n FALSE = Rule is disabled",
1701
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___enabled",
1702
+ "isDeprecated": false,
1703
+ "name": "enabled",
1704
+ "path": "antiMalwareFileHash.addRule.rule.rule.enabled",
1705
+ "requestStr": "$enabled:Boolean! ",
1706
+ "required": true,
1707
+ "responseStr": "enabled:$enabled ",
1708
+ "type": {
1709
+ "kind": [
1710
+ "NON_NULL",
1711
+ "SCALAR"
1712
+ ],
1713
+ "name": "Boolean",
1714
+ "non_null": false
1715
+ },
1716
+ "varName": "enabled"
1717
+ },
1718
+ "expirationDate": {
1719
+ "args": {},
1720
+ "deprecationReason": null,
1721
+ "description": "The date when the block or bypass action expires",
1722
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___expirationDate",
1723
+ "isDeprecated": false,
1724
+ "name": "expirationDate",
1725
+ "path": "antiMalwareFileHash.addRule.rule.rule.expirationDate",
1726
+ "requestStr": "$expirationDate:DateTime! ",
1727
+ "required": true,
1728
+ "responseStr": "expirationDate:$expirationDate ",
1729
+ "type": {
1730
+ "kind": [
1731
+ "NON_NULL",
1732
+ "SCALAR"
1733
+ ],
1734
+ "name": "DateTime",
1735
+ "non_null": false
1736
+ },
1737
+ "varName": "expirationDate"
1738
+ },
1739
+ "fileName": {
1740
+ "args": {},
1741
+ "deprecationReason": null,
1742
+ "description": "The name of the file",
1743
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___fileName",
1744
+ "isDeprecated": false,
1745
+ "name": "fileName",
1746
+ "path": "antiMalwareFileHash.addRule.rule.rule.fileName",
1747
+ "requestStr": "$fileName:String! ",
1748
+ "required": true,
1749
+ "responseStr": "fileName:$fileName ",
1750
+ "type": {
1751
+ "kind": [
1752
+ "NON_NULL",
1753
+ "SCALAR"
1754
+ ],
1755
+ "name": "String",
1756
+ "non_null": false
1757
+ },
1758
+ "varName": "fileName"
1759
+ },
1760
+ "id": {
1761
+ "args": {},
1762
+ "deprecationReason": null,
1763
+ "description": "Rule ID",
1764
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___id",
1765
+ "isDeprecated": false,
1766
+ "name": "id",
1767
+ "path": "antiMalwareFileHash.addRule.rule.rule.id",
1768
+ "requestStr": "$id:ID! ",
1769
+ "required": true,
1770
+ "responseStr": "id:$id ",
1771
+ "type": {
1772
+ "kind": [
1773
+ "NON_NULL",
1774
+ "SCALAR"
1775
+ ],
1776
+ "name": "ID",
1777
+ "non_null": false
1778
+ },
1779
+ "varName": "id"
1780
+ },
1781
+ "index": {
1782
+ "args": {},
1783
+ "deprecationReason": null,
1784
+ "description": "Position / priority of rule",
1785
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___index",
1786
+ "isDeprecated": false,
1787
+ "name": "index",
1788
+ "path": "antiMalwareFileHash.addRule.rule.rule.index",
1789
+ "requestStr": "$index:Int! ",
1790
+ "required": true,
1791
+ "responseStr": "index:$index ",
1792
+ "type": {
1793
+ "kind": [
1794
+ "NON_NULL",
1795
+ "SCALAR"
1796
+ ],
1797
+ "name": "Int",
1798
+ "non_null": false
1799
+ },
1800
+ "varName": "index"
1801
+ },
1802
+ "name": {
1803
+ "args": {},
1804
+ "deprecationReason": null,
1805
+ "description": "Name of the rule",
1806
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___name",
1807
+ "isDeprecated": false,
1808
+ "name": "name",
1809
+ "path": "antiMalwareFileHash.addRule.rule.rule.name",
1810
+ "requestStr": "$name:String! ",
1811
+ "required": true,
1812
+ "responseStr": "name:$name ",
1813
+ "type": {
1814
+ "kind": [
1815
+ "NON_NULL",
1816
+ "SCALAR"
1817
+ ],
1818
+ "name": "String",
1819
+ "non_null": false
1820
+ },
1821
+ "varName": "name"
1822
+ },
1823
+ "section": {
1824
+ "alias": "sectionAntiMalwareFileHashRule: section",
1825
+ "args": {},
1826
+ "deprecationReason": null,
1827
+ "description": "Policy section where the rule is located",
1828
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___section",
1829
+ "isDeprecated": false,
1830
+ "name": "section",
1831
+ "path": "antiMalwareFileHash.addRule.rule.rule.section",
1832
+ "requestStr": "$policySectionInfo:PolicySectionInfo! ",
1833
+ "required": true,
1834
+ "responseStr": "section:$policySectionInfo ",
1835
+ "type": {
1836
+ "definition": {
1837
+ "description": "Define settings for a policy section",
1838
+ "enumValues": null,
1839
+ "fields": {
1840
+ "id": {
1841
+ "args": {},
1842
+ "deprecationReason": null,
1843
+ "description": null,
1844
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___section___id",
1845
+ "isDeprecated": false,
1846
+ "name": "id",
1847
+ "path": "antiMalwareFileHash.addRule.rule.rule.section.id",
1848
+ "requestStr": "$id:ID! ",
1849
+ "required": true,
1850
+ "responseStr": "id:$id ",
1851
+ "type": {
1852
+ "kind": [
1853
+ "NON_NULL",
1854
+ "SCALAR"
1855
+ ],
1856
+ "name": "ID",
1857
+ "non_null": false
1858
+ },
1859
+ "varName": "id"
1860
+ },
1861
+ "name": {
1862
+ "args": {},
1863
+ "deprecationReason": null,
1864
+ "description": null,
1865
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___section___name",
1866
+ "isDeprecated": false,
1867
+ "name": "name",
1868
+ "path": "antiMalwareFileHash.addRule.rule.rule.section.name",
1869
+ "requestStr": "$name:String! ",
1870
+ "required": true,
1871
+ "responseStr": "name:$name ",
1872
+ "type": {
1873
+ "kind": [
1874
+ "NON_NULL",
1875
+ "SCALAR"
1876
+ ],
1877
+ "name": "String",
1878
+ "non_null": false
1879
+ },
1880
+ "varName": "name"
1881
+ }
1882
+ },
1883
+ "inputFields": null,
1884
+ "interfaces": {},
1885
+ "kind": "OBJECT",
1886
+ "name": "PolicySectionInfo",
1887
+ "possibleTypes": null
1888
+ },
1889
+ "indexType": "object",
1890
+ "kind": [
1891
+ "NON_NULL",
1892
+ "OBJECT"
1893
+ ],
1894
+ "name": "PolicySectionInfo",
1895
+ "non_null": false
1896
+ },
1897
+ "varName": "policySectionInfo"
1898
+ },
1899
+ "sha256": {
1900
+ "args": {},
1901
+ "deprecationReason": null,
1902
+ "description": "The file's unique SHA-256 hash identifier",
1903
+ "id_str": "antiMalwareFileHash___addRule___rule___rule___sha256",
1904
+ "isDeprecated": false,
1905
+ "name": "sha256",
1906
+ "path": "antiMalwareFileHash.addRule.rule.rule.sha256",
1907
+ "requestStr": "$sha256:SHA_256! ",
1908
+ "required": true,
1909
+ "responseStr": "sha256:$sha256 ",
1910
+ "type": {
1911
+ "kind": [
1912
+ "NON_NULL",
1913
+ "SCALAR"
1914
+ ],
1915
+ "name": "SHA_256",
1916
+ "non_null": false
1917
+ },
1918
+ "varName": "sha256"
1919
+ }
1920
+ },
1921
+ "inputFields": null,
1922
+ "interfaces": {},
1923
+ "kind": "OBJECT",
1924
+ "name": "AntiMalwareFileHashRule",
1925
+ "possibleTypes": null
1926
+ },
1927
+ "indexType": "object",
1928
+ "kind": [
1929
+ "NON_NULL",
1930
+ "OBJECT"
1931
+ ],
1932
+ "name": "AntiMalwareFileHashRule",
1933
+ "non_null": false
1934
+ },
1935
+ "varName": "antiMalwareFileHashRule"
1936
+ }
1937
+ },
1938
+ "inputFields": null,
1939
+ "interfaces": {},
1940
+ "kind": "OBJECT",
1941
+ "name": "AntiMalwareFileHashRulePayload",
1942
+ "possibleTypes": null
1943
+ },
1944
+ "indexType": "object",
1945
+ "kind": [
1946
+ "OBJECT"
1947
+ ],
1948
+ "name": "AntiMalwareFileHashRulePayload",
1949
+ "non_null": false
1950
+ },
1951
+ "varName": "antiMalwareFileHashRulePayload"
1952
+ },
1953
+ "status": {
1954
+ "alias": "statusAntiMalwareFileHashRuleMutationPayload: status",
1955
+ "args": {},
1956
+ "deprecationReason": null,
1957
+ "description": null,
1958
+ "id_str": "antiMalwareFileHash___addRule___status",
1959
+ "isDeprecated": false,
1960
+ "name": "status",
1961
+ "path": "antiMalwareFileHash.addRule.status",
1962
+ "requestStr": "$status:PolicyMutationStatus! ",
1963
+ "required": true,
1964
+ "responseStr": "status:$status ",
1965
+ "type": {
1966
+ "definition": {
1967
+ "description": "Enum for the status of a policy mutation",
1968
+ "enumValues": [
1969
+ {
1970
+ "deprecationReason": null,
1971
+ "description": null,
1972
+ "isDeprecated": false,
1973
+ "name": "SUCCESS"
1974
+ },
1975
+ {
1976
+ "deprecationReason": null,
1977
+ "description": null,
1978
+ "isDeprecated": false,
1979
+ "name": "FAILURE"
1980
+ }
1981
+ ],
1982
+ "fields": null,
1983
+ "inputFields": null,
1984
+ "interfaces": null,
1985
+ "kind": "ENUM",
1986
+ "name": "PolicyMutationStatus",
1987
+ "possibleTypes": null
1988
+ },
1989
+ "indexType": "enum",
1990
+ "kind": [
1991
+ "NON_NULL",
1992
+ "ENUM"
1993
+ ],
1994
+ "name": "PolicyMutationStatus",
1995
+ "non_null": false
1996
+ },
1997
+ "varName": "status"
1998
+ }
1999
+ },
2000
+ "inputFields": null,
2001
+ "interfaces": {},
2002
+ "kind": "OBJECT",
2003
+ "name": "AntiMalwareFileHashRuleMutationPayload",
2004
+ "possibleTypes": null
2005
+ },
2006
+ "indexType": "object",
2007
+ "kind": [
2008
+ "NON_NULL",
2009
+ "OBJECT"
2010
+ ],
2011
+ "name": "AntiMalwareFileHashRuleMutationPayload",
2012
+ "non_null": false
2013
+ },
2014
+ "varName": "antiMalwareFileHashRuleMutationPayload"
2015
+ }
2016
+ },
2017
+ "inputFields": null,
2018
+ "interfaces": {},
2019
+ "kind": "OBJECT",
2020
+ "name": "AntiMalwareFileHashPolicyMutations",
2021
+ "possibleTypes": null
2022
+ },
2023
+ "indexType": "object",
2024
+ "kind": [
2025
+ "OBJECT"
2026
+ ],
2027
+ "name": "AntiMalwareFileHashPolicyMutations",
2028
+ "non_null": false
2029
+ },
2030
+ "varName": "antiMalwareFileHashPolicyMutations"
2031
+ }
2032
+ },
2033
+ "inputFields": null,
2034
+ "interfaces": [],
2035
+ "kind": "OBJECT",
2036
+ "name": "PolicyMutations",
2037
+ "possibleTypes": null
2038
+ },
2039
+ "indexType": "object",
2040
+ "kind": [
2041
+ "OBJECT"
2042
+ ],
2043
+ "name": "PolicyMutations",
2044
+ "non_null": false
2045
+ },
2046
+ "variablesPayload": {
2047
+ "antiMalwareFileHashAddRuleInput": {
2048
+ "antiMalwareFileHashAddRuleDataInput": {
2049
+ "action": "BLOCK",
2050
+ "description": "string",
2051
+ "enabled": true,
2052
+ "expirationDate": "example_value",
2053
+ "fileName": "string",
2054
+ "name": "string",
2055
+ "sha256": "example_value"
2056
+ },
2057
+ "policyRulePositionInput": {
2058
+ "position": "AFTER_RULE",
2059
+ "ref": "id"
2060
+ }
2061
+ },
2062
+ "antiMalwareFileHashPolicyMutationInput": {
2063
+ "policyMutationRevisionInput": {
2064
+ "id": "id"
2065
+ }
2066
+ }
2067
+ }
2068
+ }