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,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.addRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.addRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.addRule:
6
+
7
+ `catocli mutation policy antiMalwareFileHash addRule -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash addRule <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash addRule "$(cat < mutation.policy.antiMalwareFileHash.addRule.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash addRule '{"antiMalwareFileHashAddRuleInput":{"antiMalwareFileHashAddRuleDataInput":{"action":"BLOCK","description":"string","enabled":true,"expirationDate":"example_value","fileName":"string","name":"string","sha256":"example_value"},"policyRulePositionInput":{"position":"AFTER_RULE","ref":"id"}},"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.addRule ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashAddRuleInput` [AntiMalwareFileHashAddRuleInput] - (required) N/A
20
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.addSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.addSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.addSection:
6
+
7
+ `catocli mutation policy antiMalwareFileHash addSection -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash addSection <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash addSection "$(cat < mutation.policy.antiMalwareFileHash.addSection.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash addSection '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyAddSectionInput":{"policyAddSectionInfoInput":{"name":"string"},"policySectionPositionInput":{"position":"AFTER_SECTION","ref":"id"}}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.addSection ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.createPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.createPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.createPolicyRevision:
6
+
7
+ `catocli mutation policy antiMalwareFileHash createPolicyRevision -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash createPolicyRevision <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash createPolicyRevision "$(cat < mutation.policy.antiMalwareFileHash.createPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash createPolicyRevision '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyCreateRevisionInput":{"description":"string","name":"string"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.createPolicyRevision ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.discardPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.discardPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.discardPolicyRevision:
6
+
7
+ `catocli mutation policy antiMalwareFileHash discardPolicyRevision -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash discardPolicyRevision <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash discardPolicyRevision "$(cat < mutation.policy.antiMalwareFileHash.discardPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash discardPolicyRevision '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyDiscardRevisionInput":{"id":"id"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.discardPolicyRevision ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.moveRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.moveRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.moveRule:
6
+
7
+ `catocli mutation policy antiMalwareFileHash moveRule -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash moveRule <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash moveRule "$(cat < mutation.policy.antiMalwareFileHash.moveRule.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash moveRule '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyMoveRuleInput":{"id":"id","policyRulePositionInput":{"position":"AFTER_RULE","ref":"id"}}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.moveRule ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.moveSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.moveSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.moveSection:
6
+
7
+ `catocli mutation policy antiMalwareFileHash moveSection -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash moveSection <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash moveSection "$(cat < mutation.policy.antiMalwareFileHash.moveSection.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash moveSection '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyMoveSectionInput":{"id":"id","policySectionPositionInput":{"position":"AFTER_SECTION","ref":"id"}}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.moveSection ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.publishPolicyRevision:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.publishPolicyRevision) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.publishPolicyRevision:
6
+
7
+ `catocli mutation policy antiMalwareFileHash publishPolicyRevision -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash publishPolicyRevision <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash publishPolicyRevision "$(cat < mutation.policy.antiMalwareFileHash.publishPolicyRevision.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash publishPolicyRevision '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyPublishRevisionInput":{"description":"string","name":"string"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.publishPolicyRevision ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyPublishRevisionInput` [PolicyPublishRevisionInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.removeRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.removeRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.removeRule:
6
+
7
+ `catocli mutation policy antiMalwareFileHash removeRule -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash removeRule <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash removeRule "$(cat < mutation.policy.antiMalwareFileHash.removeRule.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash removeRule '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"antiMalwareFileHashRemoveRuleInput":{"id":"id"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.removeRule ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `antiMalwareFileHashRemoveRuleInput` [AntiMalwareFileHashRemoveRuleInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.removeSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.removeSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.removeSection:
6
+
7
+ `catocli mutation policy antiMalwareFileHash removeSection -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash removeSection <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash removeSection "$(cat < mutation.policy.antiMalwareFileHash.removeSection.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash removeSection '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyRemoveSectionInput":{"id":"id"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.removeSection ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.updatePolicy:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.updatePolicy) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.updatePolicy:
6
+
7
+ `catocli mutation policy antiMalwareFileHash updatePolicy -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash updatePolicy <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash updatePolicy "$(cat < mutation.policy.antiMalwareFileHash.updatePolicy.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash updatePolicy '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"antiMalwareFileHashPolicyUpdateInput":{"state":"ENABLED"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.updatePolicy ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `antiMalwareFileHashPolicyUpdateInput` [AntiMalwareFileHashPolicyUpdateInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.updateRule:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.updateRule) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.updateRule:
6
+
7
+ `catocli mutation policy antiMalwareFileHash updateRule -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash updateRule <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash updateRule "$(cat < mutation.policy.antiMalwareFileHash.updateRule.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash updateRule '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"antiMalwareFileHashUpdateRuleInput":{"antiMalwareFileHashUpdateRuleDataInput":{"action":"BLOCK","description":"string","enabled":true,"expirationDate":"example_value","fileName":"string","name":"string","sha256":"example_value"},"id":"id"}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.updateRule ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `antiMalwareFileHashUpdateRuleInput` [AntiMalwareFileHashUpdateRuleInput] - (required) N/A
@@ -0,0 +1,20 @@
1
+
2
+ ## CATO-CLI - mutation.policy.antiMalwareFileHash.updateSection:
3
+ [Click here](https://api.catonetworks.com/documentation/#mutation-mutation.policy.antiMalwareFileHash.updateSection) for documentation on this operation.
4
+
5
+ ### Usage for mutation.policy.antiMalwareFileHash.updateSection:
6
+
7
+ `catocli mutation policy antiMalwareFileHash updateSection -h`
8
+
9
+ `catocli mutation policy antiMalwareFileHash updateSection <json>`
10
+
11
+ `catocli mutation policy antiMalwareFileHash updateSection "$(cat < mutation.policy.antiMalwareFileHash.updateSection.json)"`
12
+
13
+ `catocli mutation policy antiMalwareFileHash updateSection '{"antiMalwareFileHashPolicyMutationInput":{"policyMutationRevisionInput":{"id":"id"}},"policyUpdateSectionInput":{"id":"id","policyUpdateSectionInfoInput":{"name":"string"}}}'`
14
+
15
+
16
+ #### Operation Arguments for mutation.policy.antiMalwareFileHash.updateSection ####
17
+
18
+ `accountId` [ID] - (required) N/A
19
+ `antiMalwareFileHashPolicyMutationInput` [AntiMalwareFileHashPolicyMutationInput] - (required) N/A
20
+ `policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
@@ -17,6 +17,8 @@ def mutation_sandbox_parse(mutation_subparsers):
17
17
  mutation_sandbox_uploadFile_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
18
18
  mutation_sandbox_uploadFile_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
19
19
  mutation_sandbox_uploadFile_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
20
+ mutation_sandbox_uploadFile_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
21
+ mutation_sandbox_uploadFile_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
20
22
  mutation_sandbox_uploadFile_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
21
23
  mutation_sandbox_uploadFile_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
22
24
  mutation_sandbox_uploadFile_parser.set_defaults(func=createRequest,operation_name='mutation.sandbox.uploadFile')
@@ -30,6 +32,8 @@ def mutation_sandbox_parse(mutation_subparsers):
30
32
  mutation_sandbox_deleteReport_parser.add_argument('-t', const=True, default=False, nargs='?', help='Print GraphQL query without sending API call')
31
33
  mutation_sandbox_deleteReport_parser.add_argument('-v', const=True, default=False, nargs='?', help='Verbose output')
32
34
  mutation_sandbox_deleteReport_parser.add_argument('-p', const=True, default=False, nargs='?', help='Pretty print')
35
+ mutation_sandbox_deleteReport_parser.add_argument('-n', '--stream-events', dest='stream_events', help='Send events over network to host:port TCP')
36
+ mutation_sandbox_deleteReport_parser.add_argument('-z', '--sentinel', dest='sentinel', help='Send events to Sentinel customerid:sharedkey')
33
37
  mutation_sandbox_deleteReport_parser.add_argument('-H', '--header', action='append', dest='headers', help='Add custom headers in "Key: Value" format. Can be used multiple times.')
34
38
  mutation_sandbox_deleteReport_parser.add_argument('--headers-file', dest='headers_file', help='Load headers from a file. Each line should contain a header in "Key: Value" format.')
35
39
  mutation_sandbox_deleteReport_parser.set_defaults(func=createRequest,operation_name='mutation.sandbox.deleteReport')