crimson-falcon 0.4.1 → 1.0.0

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.
Files changed (1941) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3032 -1586
  3. data/crimson-falcon.gemspec +1 -1
  4. data/lib/crimson-falcon/api/alerts.rb +669 -0
  5. data/lib/crimson-falcon/api/api_integrations.rb +239 -0
  6. data/lib/crimson-falcon/api/aspm.rb +1778 -0
  7. data/lib/crimson-falcon/api/certificate_based_exclusions.rb +435 -0
  8. data/lib/crimson-falcon/api/cloud_aws_registration.rb +475 -0
  9. data/lib/crimson-falcon/api/cloud_azure_registration.rb +105 -0
  10. data/lib/crimson-falcon/api/cloud_connect_aws.rb +623 -0
  11. data/lib/crimson-falcon/api/cloud_security_assets.rb +179 -0
  12. data/lib/crimson-falcon/api/cloud_snapshots.rb +413 -0
  13. data/lib/crimson-falcon/api/compliance_assessments.rb +683 -0
  14. data/lib/crimson-falcon/api/configuration_assessment.rb +183 -0
  15. data/lib/crimson-falcon/api/configuration_assessment_evaluation_logic.rb +101 -0
  16. data/lib/crimson-falcon/api/container_alerts.rb +222 -0
  17. data/lib/crimson-falcon/api/container_detections.rb +408 -0
  18. data/lib/crimson-falcon/api/container_images.rb +903 -0
  19. data/lib/crimson-falcon/api/container_packages.rb +435 -0
  20. data/lib/crimson-falcon/api/container_vulnerabilities.rb +693 -0
  21. data/lib/crimson-falcon/api/content_update_policies.rb +769 -0
  22. data/lib/crimson-falcon/api/correlation_rules.rb +505 -0
  23. data/lib/crimson-falcon/api/cspg_iac.rb +94 -0
  24. data/lib/crimson-falcon/api/cspm_registration.rb +2913 -0
  25. data/lib/crimson-falcon/api/custom_ioa.rb +1353 -0
  26. data/lib/crimson-falcon/api/custom_storage.rb +1218 -0
  27. data/lib/crimson-falcon/api/d4c_registration.rb +1538 -0
  28. data/lib/crimson-falcon/api/datascanner.rb +225 -0
  29. data/lib/crimson-falcon/api/delivery_settings.rb +160 -0
  30. data/lib/crimson-falcon/api/deployments.rb +115 -0
  31. data/lib/crimson-falcon/api/detects.rb +315 -0
  32. data/lib/crimson-falcon/api/device_content.rb +176 -0
  33. data/lib/crimson-falcon/api/device_control_policies.rb +890 -0
  34. data/lib/crimson-falcon/api/discover.rb +833 -0
  35. data/lib/crimson-falcon/api/discover_iot.rb +255 -0
  36. data/lib/crimson-falcon/api/downloads.rb +108 -0
  37. data/lib/crimson-falcon/api/downloads_api.rb +112 -0
  38. data/lib/crimson-falcon/api/drift_indicators.rb +350 -0
  39. data/lib/crimson-falcon/api/event_schema.rb +219 -0
  40. data/lib/crimson-falcon/api/event_streams.rb +179 -0
  41. data/lib/crimson-falcon/api/exposure_management.rb +722 -0
  42. data/lib/crimson-falcon/api/falcon_complete_dashboard.rb +1369 -0
  43. data/lib/crimson-falcon/api/falcon_container.rb +94 -0
  44. data/lib/crimson-falcon/api/falcon_container_cli.rb +105 -0
  45. data/lib/crimson-falcon/api/falcon_container_image.rb +614 -0
  46. data/lib/crimson-falcon/api/falconx_sandbox.rb +1035 -0
  47. data/lib/crimson-falcon/api/field_schema.rb +164 -0
  48. data/lib/crimson-falcon/api/filevantage.rb +2201 -0
  49. data/lib/crimson-falcon/api/firewall_management.rb +2259 -0
  50. data/lib/crimson-falcon/api/firewall_policies.rb +780 -0
  51. data/lib/crimson-falcon/api/foundry_logscale.rb +1150 -0
  52. data/lib/crimson-falcon/api/handle.rb +94 -0
  53. data/lib/crimson-falcon/api/host_group.rb +706 -0
  54. data/lib/crimson-falcon/api/host_migration.rb +759 -0
  55. data/lib/crimson-falcon/api/hosts.rb +859 -0
  56. data/lib/crimson-falcon/api/humio_auth_proxy.rb +514 -0
  57. data/lib/crimson-falcon/api/identity_entities.rb +238 -0
  58. data/lib/crimson-falcon/api/identity_protection.rb +399 -0
  59. data/lib/crimson-falcon/api/image_assessment_policies.rb +738 -0
  60. data/lib/crimson-falcon/api/incidents.rb +456 -0
  61. data/lib/crimson-falcon/api/installation_tokens.rb +545 -0
  62. data/lib/crimson-falcon/api/installation_tokens_settings.rb +105 -0
  63. data/lib/crimson-falcon/api/intel.rb +1628 -0
  64. data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +118 -0
  65. data/lib/crimson-falcon/api/ioa_exclusions.rb +375 -0
  66. data/lib/crimson-falcon/api/ioc.rb +1132 -0
  67. data/lib/crimson-falcon/api/iocs.rb +327 -0
  68. data/lib/crimson-falcon/api/kubernetes_protection.rb +3988 -0
  69. data/lib/crimson-falcon/api/lookup_files.rb +239 -0
  70. data/lib/crimson-falcon/api/malquery.rb +606 -0
  71. data/lib/crimson-falcon/api/message_center.rb +729 -0
  72. data/lib/crimson-falcon/api/ml_exclusions.rb +369 -0
  73. data/lib/crimson-falcon/api/mobile_enrollment.rb +191 -0
  74. data/lib/crimson-falcon/api/mssp.rb +2015 -0
  75. data/lib/crimson-falcon/api/oauth2.rb +186 -0
  76. data/lib/crimson-falcon/api/ods.rb +1094 -0
  77. data/lib/crimson-falcon/api/overwatch_dashboard.rb +357 -0
  78. data/lib/crimson-falcon/api/prevention_policies.rb +769 -0
  79. data/lib/crimson-falcon/api/quarantine.rb +435 -0
  80. data/lib/crimson-falcon/api/quick_scan.rb +300 -0
  81. data/lib/crimson-falcon/api/quick_scan_pro.rb +432 -0
  82. data/lib/crimson-falcon/api/real_time_response.rb +1617 -0
  83. data/lib/crimson-falcon/api/real_time_response_admin.rb +1173 -0
  84. data/lib/crimson-falcon/api/real_time_response_audit.rb +113 -0
  85. data/lib/crimson-falcon/api/recon.rb +1761 -0
  86. data/lib/crimson-falcon/api/release_notes.rb +287 -0
  87. data/lib/crimson-falcon/api/releases.rb +125 -0
  88. data/lib/crimson-falcon/api/report_executions.rb +299 -0
  89. data/lib/crimson-falcon/api/response_policies.rb +769 -0
  90. data/lib/crimson-falcon/api/runtime_detections.rb +106 -0
  91. data/lib/crimson-falcon/api/sample_uploads.rb +805 -0
  92. data/lib/crimson-falcon/api/scheduled_reports.rb +237 -0
  93. data/lib/crimson-falcon/api/sensor_download.rb +610 -0
  94. data/lib/crimson-falcon/api/sensor_update_policies.rb +1339 -0
  95. data/lib/crimson-falcon/api/sensor_usage.rb +97 -0
  96. data/lib/crimson-falcon/api/sensor_visibility_exclusions.rb +369 -0
  97. data/lib/crimson-falcon/api/spotlight_evaluation_logic.rb +243 -0
  98. data/lib/crimson-falcon/api/spotlight_vulnerabilities.rb +324 -0
  99. data/lib/crimson-falcon/api/threatgraph.rb +539 -0
  100. data/lib/crimson-falcon/api/unidentified_containers.rb +222 -0
  101. data/lib/crimson-falcon/api/user_management.rb +1505 -0
  102. data/lib/crimson-falcon/api/vulnerabilities.rb +106 -0
  103. data/lib/crimson-falcon/api/workflows.rb +1275 -0
  104. data/lib/crimson-falcon/api/zero_trust_assessment.rb +227 -0
  105. data/lib/crimson-falcon/api_client.rb +4 -2
  106. data/lib/crimson-falcon/models/actions_action.rb +348 -0
  107. data/lib/crimson-falcon/models/actions_action_response.rb +259 -0
  108. data/lib/crimson-falcon/models/actions_create_action_request.rb +264 -0
  109. data/lib/crimson-falcon/models/actions_get_action_response.rb +266 -0
  110. data/lib/crimson-falcon/models/activities_activity.rb +460 -0
  111. data/lib/crimson-falcon/models/activities_activity_ext_field.rb +315 -0
  112. data/lib/crimson-falcon/models/activities_activity_external_response.rb +271 -0
  113. data/lib/crimson-falcon/models/activity.rb +243 -0
  114. data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +21 -21
  115. data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +2 -2
  116. data/lib/crimson-falcon/models/api_action_resp_v1.rb +1 -1
  117. data/lib/crimson-falcon/models/api_audit_event_details_response_v1.rb +2 -2
  118. data/lib/crimson-falcon/models/api_cert_based_exclusion_create_req_v1.rb +342 -0
  119. data/lib/crimson-falcon/models/api_cert_based_exclusion_resp_v1.rb +261 -0
  120. data/lib/crimson-falcon/models/api_cert_based_exclusion_update_req_v1.rb +351 -0
  121. data/lib/crimson-falcon/models/api_cert_based_exclusion_v1.rb +365 -0
  122. data/lib/crimson-falcon/models/api_cert_based_exclusions_create_req_v1.rb +241 -0
  123. data/lib/crimson-falcon/models/api_cert_based_exclusions_update_req_v1.rb +241 -0
  124. data/lib/crimson-falcon/models/api_certificate_req_v1.rb +309 -0
  125. data/lib/crimson-falcon/models/api_certificate_v1.rb +309 -0
  126. data/lib/crimson-falcon/models/api_certificates_response_v1.rb +241 -0
  127. data/lib/crimson-falcon/models/api_create_migration_request_v1.rb +283 -0
  128. data/lib/crimson-falcon/models/api_create_migration_response_v1.rb +271 -0
  129. data/lib/crimson-falcon/models/api_create_rule_operation_v1.rb +257 -0
  130. data/lib/crimson-falcon/models/api_customer_settings_response_v1.rb +2 -2
  131. data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +2 -2
  132. data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +1 -1
  133. data/lib/crimson-falcon/models/api_entities_response.rb +2 -2
  134. data/lib/crimson-falcon/models/api_event.rb +277 -0
  135. data/lib/crimson-falcon/models/api_execution_results_response.rb +2 -2
  136. data/lib/crimson-falcon/models/api_get_entities_rules_response_v1.rb +266 -0
  137. data/lib/crimson-falcon/models/api_get_host_migration_response_v1.rb +271 -0
  138. data/lib/crimson-falcon/models/api_get_migration_destinations_request_body_v1.rb +255 -0
  139. data/lib/crimson-falcon/models/api_get_migration_destinations_response_v1.rb +266 -0
  140. data/lib/crimson-falcon/models/api_get_migrations_response_v1.rb +266 -0
  141. data/lib/crimson-falcon/models/api_host_migration.rb +426 -0
  142. data/lib/crimson-falcon/models/api_hourly_average_response.rb +266 -0
  143. data/lib/crimson-falcon/models/api_indicator_create_req_v1.rb +1 -0
  144. data/lib/crimson-falcon/models/api_indicator_query_resp_v1.rb +1 -1
  145. data/lib/crimson-falcon/models/api_indicator_resp_v1.rb +1 -1
  146. data/lib/crimson-falcon/models/api_message_center_activity_response.rb +2 -2
  147. data/lib/crimson-falcon/models/api_message_center_attachment_upload_response.rb +2 -2
  148. data/lib/crimson-falcon/models/api_message_center_cases_response.rb +2 -2
  149. data/lib/crimson-falcon/models/api_mfa_resource_ids_response.rb +275 -0
  150. data/lib/crimson-falcon/models/api_migrate_hosts_info.rb +267 -0
  151. data/lib/crimson-falcon/models/api_migration.rb +378 -0
  152. data/lib/crimson-falcon/models/api_notification_exposed_data_record_entities_response_v1.rb +1 -1
  153. data/lib/crimson-falcon/models/api_object_metadata.rb +10 -1
  154. data/lib/crimson-falcon/models/api_patch_rule_operation_v1.rb +257 -0
  155. data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +261 -0
  156. data/lib/crimson-falcon/models/api_patterns_response.rb +2 -2
  157. data/lib/crimson-falcon/models/api_platforms_response.rb +2 -2
  158. data/lib/crimson-falcon/models/api_post_enrollment_details_response.rb +2 -2
  159. data/lib/crimson-falcon/models/api_post_enrollment_details_v4.rb +269 -0
  160. data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +1 -1
  161. data/lib/crimson-falcon/models/api_resource_ids_response.rb +2 -2
  162. data/lib/crimson-falcon/models/api_resp_certificates_v1.rb +261 -0
  163. data/lib/crimson-falcon/models/api_response_pagination.rb +2 -1
  164. data/lib/crimson-falcon/models/api_rule_create_request_v1.rb +354 -0
  165. data/lib/crimson-falcon/models/api_rule_groups_response.rb +2 -2
  166. data/lib/crimson-falcon/models/api_rule_operation_v1.rb +266 -0
  167. data/lib/crimson-falcon/models/api_rule_patch_request_v1.rb +311 -0
  168. data/lib/crimson-falcon/models/api_rule_schedule_v1.rb +239 -0
  169. data/lib/crimson-falcon/models/api_rule_schedule_v1_patch.rb +239 -0
  170. data/lib/crimson-falcon/models/api_rule_search_v1.rb +276 -0
  171. data/lib/crimson-falcon/models/api_rule_types_response.rb +2 -2
  172. data/lib/crimson-falcon/models/api_rule_update_v2.rb +339 -0
  173. data/lib/crimson-falcon/models/api_rule_updates_request_v2.rb +283 -0
  174. data/lib/crimson-falcon/models/api_rule_v1.rb +132 -203
  175. data/lib/crimson-falcon/models/api_rules_response.rb +2 -2
  176. data/lib/crimson-falcon/models/api_sensor_details_response_swagger.rb +2 -2
  177. data/lib/crimson-falcon/models/api_token_details_response_v1.rb +2 -2
  178. data/lib/crimson-falcon/models/api_user_metadata_response.rb +2 -2
  179. data/lib/crimson-falcon/models/api_user_role_ids_response.rb +2 -2
  180. data/lib/crimson-falcon/models/api_user_role_response.rb +2 -2
  181. data/lib/crimson-falcon/models/api_validation_response_v1.rb +2 -2
  182. data/lib/crimson-falcon/models/api_weekly_average_response.rb +266 -0
  183. data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +15 -1
  184. data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +2 -2
  185. data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +2 -2
  186. data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +1 -10
  187. data/lib/crimson-falcon/models/assets_get_resource_ids_response.rb +261 -0
  188. data/lib/crimson-falcon/models/assets_get_resources_response.rb +266 -0
  189. data/lib/crimson-falcon/models/base_policy_members_resp_v1.rb +2 -2
  190. data/lib/crimson-falcon/models/base_set_content_update_policy_precedence_req_v1.rb +242 -0
  191. data/lib/crimson-falcon/models/binservapi_msa_put_file_response.rb +2 -2
  192. data/lib/crimson-falcon/models/changes_change.rb +29 -1
  193. data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +1 -1
  194. data/lib/crimson-falcon/models/changes_host.rb +15 -4
  195. data/lib/crimson-falcon/models/changes_permissions_mac.rb +283 -0
  196. data/lib/crimson-falcon/models/client_archive_create_response_v1.rb +2 -2
  197. data/lib/crimson-falcon/models/client_archive_list_files_response_v1.rb +2 -2
  198. data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +2 -2
  199. data/lib/crimson-falcon/models/client_extraction_create_response_v1.rb +2 -2
  200. data/lib/crimson-falcon/models/client_extraction_list_files_response_v1.rb +2 -2
  201. data/lib/crimson-falcon/models/client_job_status.rb +10 -1
  202. data/lib/crimson-falcon/models/client_sample_metadata_response_v2.rb +2 -2
  203. data/lib/crimson-falcon/models/client_system_definition_create_response.rb +2 -2
  204. data/lib/crimson-falcon/models/common_count_as_resource.rb +4 -18
  205. data/lib/crimson-falcon/models/common_count_response.rb +21 -21
  206. data/lib/crimson-falcon/models/common_credentials.rb +239 -0
  207. data/lib/crimson-falcon/models/common_entities_response.rb +269 -0
  208. data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +2 -2
  209. data/lib/crimson-falcon/models/common_registry_credentials_response.rb +269 -0
  210. data/lib/crimson-falcon/models/content_update_create_policies_req_v1.rb +241 -0
  211. data/lib/crimson-falcon/models/content_update_create_policy_req_v1.rb +259 -0
  212. data/lib/crimson-falcon/models/content_update_ring_assignment_settings_v1.rb +253 -0
  213. data/lib/crimson-falcon/models/content_update_settings_v1.rb +241 -0
  214. data/lib/crimson-falcon/models/content_update_update_policies_req_v1.rb +241 -0
  215. data/lib/crimson-falcon/models/content_update_update_policy_req_v1.rb +269 -0
  216. data/lib/crimson-falcon/models/contentchanges_change_contents_response.rb +264 -0
  217. data/lib/crimson-falcon/models/contentchanges_content.rb +253 -0
  218. data/lib/crimson-falcon/models/contentchanges_content_diff.rb +271 -0
  219. data/lib/crimson-falcon/models/core_entities_response.rb +2 -2
  220. data/lib/crimson-falcon/models/custom_storage_object_keys.rb +271 -0
  221. data/lib/crimson-falcon/models/custom_storage_response.rb +271 -0
  222. data/lib/crimson-falcon/models/dataclassifications_label.rb +267 -0
  223. data/lib/crimson-falcon/models/dataclassifications_response.rb +284 -0
  224. data/lib/crimson-falcon/models/dataclassifications_tag.rb +283 -0
  225. data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +2 -2
  226. data/lib/crimson-falcon/models/definitions_definition_ext.rb +203 -12
  227. data/lib/crimson-falcon/models/definitions_definition_external_response.rb +2 -2
  228. data/lib/crimson-falcon/models/definitions_definition_import_response.rb +2 -2
  229. data/lib/crimson-falcon/models/deployments_api_deployment_ring_view.rb +302 -0
  230. data/lib/crimson-falcon/models/deployments_api_deployment_view.rb +309 -0
  231. data/lib/crimson-falcon/models/deployments_api_deployment_view_wrapper.rb +271 -0
  232. data/lib/crimson-falcon/models/deployments_entity_response.rb +266 -0
  233. data/lib/crimson-falcon/models/destination.rb +243 -0
  234. data/lib/crimson-falcon/models/destinations_migration_destination.rb +253 -0
  235. data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +21 -21
  236. data/lib/crimson-falcon/models/detections_api_combined_detections.rb +21 -21
  237. data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +2 -2
  238. data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +2 -2
  239. data/lib/crimson-falcon/models/detections_api_detections_count.rb +21 -21
  240. data/lib/crimson-falcon/models/detects_external_alert.rb +803 -0
  241. data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +2 -2
  242. data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +2 -2
  243. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_meta.rb +271 -0
  244. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_paging.rb +262 -0
  245. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_request_swagger.rb +261 -0
  246. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_response_swagger.rb +272 -0
  247. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response_swagger.rb +267 -0
  248. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response_swagger.rb +267 -0
  249. data/lib/crimson-falcon/models/detectsapi_response_fields.rb +2 -2
  250. data/lib/crimson-falcon/models/device_control_resp_v1.rb +2 -2
  251. data/lib/crimson-falcon/models/device_control_resp_v2.rb +2 -2
  252. data/lib/crimson-falcon/models/device_control_usb_class_exceptions_req_v1.rb +3 -3
  253. data/lib/crimson-falcon/models/device_control_usb_class_exceptions_response.rb +3 -3
  254. data/lib/crimson-falcon/models/device_device.rb +55 -1
  255. data/lib/crimson-falcon/models/device_mapped_device_policies.rb +37 -1
  256. data/lib/crimson-falcon/models/deviceapi_device_details_response_swagger.rb +2 -2
  257. data/lib/crimson-falcon/models/deviceapi_device_response.rb +1 -1
  258. data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
  259. data/lib/crimson-falcon/models/deviceapi_groups_response_v1.rb +2 -2
  260. data/lib/crimson-falcon/models/deviceapi_login_history_response_v1.rb +2 -2
  261. data/lib/crimson-falcon/models/deviceapi_network_address_history_response_v1.rb +2 -2
  262. data/lib/crimson-falcon/models/deviceapi_update_device_tags_swagger_v1.rb +2 -2
  263. data/lib/crimson-falcon/models/devicecontent_content_category.rb +234 -0
  264. data/lib/crimson-falcon/models/devicecontent_state.rb +345 -0
  265. data/lib/crimson-falcon/models/devicecontentapi_entities_response_v1.rb +271 -0
  266. data/lib/crimson-falcon/models/devicecontentapi_query_response_v1.rb +271 -0
  267. data/lib/crimson-falcon/models/domain_action_entities_response_v1.rb +1 -1
  268. data/lib/crimson-falcon/models/domain_actor_document.rb +11 -11
  269. data/lib/crimson-falcon/models/domain_actors_response.rb +2 -2
  270. data/lib/crimson-falcon/models/domain_aggregate_cluster_assessments_response.rb +266 -0
  271. data/lib/crimson-falcon/models/domain_aggregate_failed_asset_count_by_severity_response.rb +266 -0
  272. data/lib/crimson-falcon/models/domain_aggregate_failed_assets_by_rules_response.rb +266 -0
  273. data/lib/crimson-falcon/models/domain_aggregate_failed_rules_by_clusters_response.rb +266 -0
  274. data/lib/crimson-falcon/models/domain_aggregate_failed_rules_by_images_response.rb +266 -0
  275. data/lib/crimson-falcon/models/domain_aggregate_failed_rules_count_by_severity_response.rb +266 -0
  276. data/lib/crimson-falcon/models/domain_aggregate_image_assessments_response.rb +264 -0
  277. data/lib/crimson-falcon/models/domain_aggregate_rules_assessments_response.rb +266 -0
  278. data/lib/crimson-falcon/models/domain_aggregate_rules_by_status_response.rb +266 -0
  279. data/lib/crimson-falcon/models/domain_aggregates_response.rb +1 -1
  280. data/lib/crimson-falcon/models/domain_api_combined_findings_response_v1.rb +1 -1
  281. data/lib/crimson-falcon/models/domain_api_compliance_control_v1.rb +253 -0
  282. data/lib/crimson-falcon/models/domain_api_compliance_mapping_v1.rb +264 -0
  283. data/lib/crimson-falcon/models/domain_api_error.rb +25 -27
  284. data/lib/crimson-falcon/models/domain_api_evaluation_logic_entities_response_v1.rb +2 -2
  285. data/lib/crimson-falcon/models/domain_api_evaluation_logic_item_v1.rb +15 -10
  286. data/lib/crimson-falcon/models/domain_api_evaluation_logic_v1.rb +10 -36
  287. data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +12 -1
  288. data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
  289. data/lib/crimson-falcon/models/domain_api_remediation_info.rb +255 -0
  290. data/lib/crimson-falcon/models/domain_api_remediation_v2.rb +21 -1
  291. data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +2 -2
  292. data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +12 -1
  293. data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +19 -4
  294. data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
  295. data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +38 -4
  296. data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +33 -1
  297. data/lib/crimson-falcon/models/domain_api_vulnerability_service_v2.rb +255 -0
  298. data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +23 -1
  299. data/lib/crimson-falcon/models/domain_assessment_paging.rb +271 -0
  300. data/lib/crimson-falcon/models/domain_assessments_by_score_response.rb +1 -1
  301. data/lib/crimson-falcon/models/domain_assessments_response.rb +1 -1
  302. data/lib/crimson-falcon/models/domain_audit_response.rb +1 -1
  303. data/lib/crimson-falcon/models/domain_aws_account_resource_metadata.rb +358 -0
  304. data/lib/crimson-falcon/models/domain_aws_account_v2.rb +57 -1
  305. data/lib/crimson-falcon/models/domain_aws_inventory_filter_setting.rb +269 -0
  306. data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +23 -1
  307. data/lib/crimson-falcon/models/domain_batch_get_cmd_status_response.rb +2 -2
  308. data/lib/crimson-falcon/models/domain_batch_get_command_response.rb +2 -2
  309. data/lib/crimson-falcon/models/domain_batch_init_session_response.rb +2 -2
  310. data/lib/crimson-falcon/models/domain_batch_refresh_session_response.rb +2 -2
  311. data/lib/crimson-falcon/models/domain_behavior.rb +12 -1
  312. data/lib/crimson-falcon/models/domain_benchmark.rb +12 -1
  313. data/lib/crimson-falcon/models/domain_case_creation_request_v2.rb +29 -1
  314. data/lib/crimson-falcon/models/domain_cid_group_members_response_v1.rb +2 -2
  315. data/lib/crimson-falcon/models/domain_cid_groups_response_v1.rb +2 -2
  316. data/lib/crimson-falcon/models/domain_cipher.rb +252 -0
  317. data/lib/crimson-falcon/models/domain_cisa_known_exploited_vulnerabilities_info.rb +253 -0
  318. data/lib/crimson-falcon/models/domain_cloud_aws_account_v1.rb +507 -0
  319. data/lib/crimson-falcon/models/domain_cloud_condition.rb +322 -0
  320. data/lib/crimson-falcon/models/domain_command_execute_response_wrapper.rb +2 -2
  321. data/lib/crimson-falcon/models/domain_compliance.rb +280 -0
  322. data/lib/crimson-falcon/models/domain_compliance_findings_grouped_by_images_with_scroll.rb +255 -0
  323. data/lib/crimson-falcon/models/domain_condition.rb +29 -1
  324. data/lib/crimson-falcon/models/domain_config_v1.rb +299 -0
  325. data/lib/crimson-falcon/models/domain_configs_v1.rb +271 -0
  326. data/lib/crimson-falcon/models/domain_content_package.rb +239 -0
  327. data/lib/crimson-falcon/models/domain_content_update_policy_resp_v1.rb +474 -0
  328. data/lib/crimson-falcon/models/domain_content_update_settings_v1.rb +241 -0
  329. data/lib/crimson-falcon/models/domain_control.rb +281 -0
  330. data/lib/crimson-falcon/models/domain_control_benchmark.rb +243 -0
  331. data/lib/crimson-falcon/models/domain_cps_rating.rb +301 -0
  332. data/lib/crimson-falcon/models/domain_cps_rating_history_entry.rb +253 -0
  333. data/lib/crimson-falcon/models/domain_cps_rating_indicator.rb +267 -0
  334. data/lib/crimson-falcon/models/domain_create_submission_v1_error_response.rb +315 -0
  335. data/lib/crimson-falcon/models/domain_credentials.rb +12 -31
  336. data/lib/crimson-falcon/models/domain_cve.rb +543 -0
  337. data/lib/crimson-falcon/models/domain_cve_exploit.rb +283 -0
  338. data/lib/crimson-falcon/models/domain_cve_exploit_reference.rb +267 -0
  339. data/lib/crimson-falcon/models/domain_cve_exploit_source.rb +283 -0
  340. data/lib/crimson-falcon/models/domain_cvssv2.rb +280 -0
  341. data/lib/crimson-falcon/models/domain_cvssv3.rb +352 -0
  342. data/lib/crimson-falcon/models/domain_denormalized_adversary_reference.rb +257 -0
  343. data/lib/crimson-falcon/models/domain_denormalized_country.rb +253 -0
  344. data/lib/crimson-falcon/models/domain_denormalized_customer_target.rb +239 -0
  345. data/lib/crimson-falcon/models/domain_denormalized_report_reference.rb +257 -0
  346. data/lib/crimson-falcon/models/domain_denormalized_sector.rb +253 -0
  347. data/lib/crimson-falcon/models/domain_denormalized_threat_reference.rb +248 -0
  348. data/lib/crimson-falcon/models/domain_denormalized_threat_used_mitre.rb +292 -0
  349. data/lib/crimson-falcon/models/domain_device.rb +10 -10
  350. data/lib/crimson-falcon/models/domain_discover_api_account.rb +2 -2
  351. data/lib/crimson-falcon/models/domain_discover_api_account_entities_response.rb +2 -2
  352. data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +21 -1
  353. data/lib/crimson-falcon/models/domain_discover_api_application.rb +20 -1
  354. data/lib/crimson-falcon/models/domain_discover_api_application_browser_extension.rb +320 -0
  355. data/lib/crimson-falcon/models/domain_discover_api_application_browser_extension_installation.rb +320 -0
  356. data/lib/crimson-falcon/models/domain_discover_api_application_entities_response.rb +2 -2
  357. data/lib/crimson-falcon/models/domain_discover_api_application_host.rb +13 -1
  358. data/lib/crimson-falcon/models/domain_discover_api_combined_applications_response.rb +271 -0
  359. data/lib/crimson-falcon/models/domain_discover_api_combined_hosts_response.rb +271 -0
  360. data/lib/crimson-falcon/models/domain_discover_api_host.rb +302 -5
  361. data/lib/crimson-falcon/models/domain_discover_api_host_entities_response.rb +2 -2
  362. data/lib/crimson-falcon/models/domain_discover_api_login.rb +1 -1
  363. data/lib/crimson-falcon/models/domain_discover_api_login_entities_response.rb +2 -2
  364. data/lib/crimson-falcon/models/domain_discover_api_meta_info.rb +280 -0
  365. data/lib/crimson-falcon/models/domain_discover_api_paging.rb +267 -0
  366. data/lib/crimson-falcon/models/domain_discover_api_response.rb +271 -0
  367. data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +619 -126
  368. data/lib/crimson-falcon/models/domain_discover_apiio_t_host_entities_response.rb +2 -2
  369. data/lib/crimson-falcon/models/domain_discover_apiio_t_host_triage.rb +285 -0
  370. data/lib/crimson-falcon/models/domain_discover_params.rb +15 -1
  371. data/lib/crimson-falcon/models/domain_errors_only.rb +1 -1
  372. data/lib/crimson-falcon/models/domain_execute_command_request_v1.rb +242 -0
  373. data/lib/crimson-falcon/models/domain_execute_command_result_v1.rb +286 -0
  374. data/lib/crimson-falcon/models/domain_execute_command_results_v1.rb +271 -0
  375. data/lib/crimson-falcon/models/domain_execute_command_v1.rb +329 -0
  376. data/lib/crimson-falcon/models/domain_execution_metadata_summary.rb +15 -1
  377. data/lib/crimson-falcon/models/domain_execution_metadata_v1.rb +15 -1
  378. data/lib/crimson-falcon/models/domain_export_job_entities_response_v1.rb +1 -1
  379. data/lib/crimson-falcon/models/domain_export_job_id_response_v1.rb +1 -1
  380. data/lib/crimson-falcon/models/domain_external_asset_api_delete_request_v1.rb +235 -0
  381. data/lib/crimson-falcon/models/domain_external_asset_api_patch_request_v1.rb +243 -0
  382. data/lib/crimson-falcon/models/domain_external_asset_application.rb +270 -0
  383. data/lib/crimson-falcon/models/domain_external_asset_certificate.rb +317 -0
  384. data/lib/crimson-falcon/models/domain_external_asset_certificate_entity_identifiers.rb +369 -0
  385. data/lib/crimson-falcon/models/domain_external_asset_cloud_vm.rb +347 -0
  386. data/lib/crimson-falcon/models/domain_external_asset_discovery_attributes.rb +251 -0
  387. data/lib/crimson-falcon/models/domain_external_asset_discovery_path_attributes.rb +237 -0
  388. data/lib/crimson-falcon/models/domain_external_asset_discovery_step_attributes.rb +292 -0
  389. data/lib/crimson-falcon/models/domain_external_asset_geographical_location.rb +306 -0
  390. data/lib/crimson-falcon/models/domain_external_asset_http_attributes.rb +281 -0
  391. data/lib/crimson-falcon/models/domain_external_asset_redirect_step_attributes.rb +280 -0
  392. data/lib/crimson-falcon/models/domain_external_asset_service.rb +443 -0
  393. data/lib/crimson-falcon/models/domain_external_asset_service_blobs_links.rb +261 -0
  394. data/lib/crimson-falcon/models/domain_external_asset_ssl_record.rb +301 -0
  395. data/lib/crimson-falcon/models/domain_external_asset_subsidiary.rb +255 -0
  396. data/lib/crimson-falcon/models/domain_external_assets_api_patch.rb +280 -0
  397. data/lib/crimson-falcon/models/domain_external_assets_api_triage.rb +285 -0
  398. data/lib/crimson-falcon/models/domain_external_assets_api_triage_patch.rb +265 -0
  399. data/lib/crimson-falcon/models/domain_external_assets_api_type_v1.rb +266 -0
  400. data/lib/crimson-falcon/models/domain_external_assets_blob_api_type_v1.rb +266 -0
  401. data/lib/crimson-falcon/models/domain_external_export_job.rb +312 -0
  402. data/lib/crimson-falcon/models/domain_external_query_response.rb +2 -2
  403. data/lib/crimson-falcon/models/domain_external_registry_list_response.rb +2 -2
  404. data/lib/crimson-falcon/models/domain_external_registry_response.rb +2 -2
  405. data/lib/crimson-falcon/models/domain_feature_permission.rb +255 -0
  406. data/lib/crimson-falcon/models/domain_feature_status.rb +253 -0
  407. data/lib/crimson-falcon/models/domain_fem_dns_domain.rb +301 -0
  408. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_entities_response.rb +256 -0
  409. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_meta.rb +254 -0
  410. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_query_response.rb +256 -0
  411. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_response_fields.rb +251 -0
  412. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiary.rb +344 -0
  413. data/lib/crimson-falcon/models/domain_fem_external_asset.rb +497 -0
  414. data/lib/crimson-falcon/models/domain_fem_external_ip.rb +327 -0
  415. data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +23 -1
  416. data/lib/crimson-falcon/models/domain_geo_point.rb +243 -0
  417. data/lib/crimson-falcon/models/domain_incident.rb +12 -1
  418. data/lib/crimson-falcon/models/domain_init_response.rb +19 -1
  419. data/lib/crimson-falcon/models/domain_init_response_wrapper.rb +2 -2
  420. data/lib/crimson-falcon/models/domain_item_details_v1.rb +30 -20
  421. data/lib/crimson-falcon/models/domain_kestrel_params.rb +239 -0
  422. data/lib/crimson-falcon/models/domain_launch_export_job_response_v1.rb +1 -1
  423. data/lib/crimson-falcon/models/domain_list_files_response_wrapper.rb +2 -2
  424. data/lib/crimson-falcon/models/domain_list_files_v2_response_wrapper.rb +2 -2
  425. data/lib/crimson-falcon/models/domain_list_sessions_response_msa.rb +2 -2
  426. data/lib/crimson-falcon/models/domain_lookup_file.rb +453 -0
  427. data/lib/crimson-falcon/models/domain_lookup_file_wrapper.rb +271 -0
  428. data/lib/crimson-falcon/models/domain_malware_document.rb +783 -0
  429. data/lib/crimson-falcon/models/domain_malware_environment_aggregates.rb +267 -0
  430. data/lib/crimson-falcon/models/domain_malware_response.rb +272 -0
  431. data/lib/crimson-falcon/models/domain_marketplace_credentials.rb +258 -0
  432. data/lib/crimson-falcon/models/domain_marketplace_product.rb +1 -1
  433. data/lib/crimson-falcon/models/domain_meta_info.rb +5 -23
  434. data/lib/crimson-falcon/models/domain_msa_detect_summaries_response.rb +2 -2
  435. data/lib/crimson-falcon/models/domain_msa_environment_score_response.rb +2 -2
  436. data/lib/crimson-falcon/models/domain_msa_external_behavior_response.rb +2 -2
  437. data/lib/crimson-falcon/models/domain_msa_external_incident_response.rb +2 -2
  438. data/lib/crimson-falcon/models/domain_msa_incident_perform_action_response.rb +2 -2
  439. data/lib/crimson-falcon/models/domain_msa_incident_query_response.rb +2 -2
  440. data/lib/crimson-falcon/models/domain_msa_meta_info.rb +248 -0
  441. data/lib/crimson-falcon/models/domain_msa_qf_response.rb +2 -2
  442. data/lib/crimson-falcon/models/domain_mssp_role_response_v1.rb +2 -2
  443. data/lib/crimson-falcon/models/domain_multi_command_execute_response_wrapper.rb +2 -2
  444. data/lib/crimson-falcon/models/domain_multi_pulse_sensor_response.rb +1 -1
  445. data/lib/crimson-falcon/models/domain_multi_status_sensor_response.rb +1 -1
  446. data/lib/crimson-falcon/models/domain_news_document.rb +19 -9
  447. data/lib/crimson-falcon/models/domain_news_response.rb +2 -2
  448. data/lib/crimson-falcon/models/domain_notification_details_response_v1.rb +1 -1
  449. data/lib/crimson-falcon/models/domain_notification_entities_response_v1.rb +1 -1
  450. data/lib/crimson-falcon/models/domain_notification_id_response.rb +1 -1
  451. data/lib/crimson-falcon/models/domain_notification_v1.rb +31 -1
  452. data/lib/crimson-falcon/models/domain_platform.rb +11 -11
  453. data/lib/crimson-falcon/models/domain_policy_info.rb +57 -1
  454. data/lib/crimson-falcon/models/domain_product_features.rb +255 -0
  455. data/lib/crimson-falcon/models/domain_product_features_status.rb +255 -0
  456. data/lib/crimson-falcon/models/domain_product_permission.rb +255 -0
  457. data/lib/crimson-falcon/models/domain_public_indicators_v3_response.rb +2 -2
  458. data/lib/crimson-falcon/models/domain_query_mitre_attacks_response.rb +2 -2
  459. data/lib/crimson-falcon/models/domain_query_response.rb +2 -7
  460. data/lib/crimson-falcon/models/domain_queued_session_response_wrapper.rb +2 -2
  461. data/lib/crimson-falcon/models/domain_reference.rb +255 -0
  462. data/lib/crimson-falcon/models/domain_registry_credentials_response.rb +2 -2
  463. data/lib/crimson-falcon/models/domain_report_execution_summary_v1.rb +15 -1
  464. data/lib/crimson-falcon/models/domain_report_execution_v1.rb +15 -1
  465. data/lib/crimson-falcon/models/domain_report_executions_response_v1.rb +2 -2
  466. data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -1
  467. data/lib/crimson-falcon/models/domain_report_params.rb +29 -4
  468. data/lib/crimson-falcon/models/domain_request.rb +239 -0
  469. data/lib/crimson-falcon/models/domain_ring_assignment_settings_v1.rb +267 -0
  470. data/lib/crimson-falcon/models/domain_rule_meta_info.rb +1 -1
  471. data/lib/crimson-falcon/models/domain_rules_response.rb +2 -2
  472. data/lib/crimson-falcon/models/domain_scan.rb +10 -10
  473. data/lib/crimson-falcon/models/domain_scan_metadata.rb +10 -1
  474. data/lib/crimson-falcon/models/domain_scan_v2.rb +1 -10
  475. data/lib/crimson-falcon/models/domain_schedule.rb +34 -19
  476. data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +24 -1
  477. data/lib/crimson-falcon/models/domain_scheduled_reports_result_v1.rb +2 -2
  478. data/lib/crimson-falcon/models/domain_sensor_installer_v2.rb +405 -0
  479. data/lib/crimson-falcon/models/domain_sensor_installers_v1.rb +2 -2
  480. data/lib/crimson-falcon/models/domain_sensor_installers_v2.rb +271 -0
  481. data/lib/crimson-falcon/models/domain_session_response_wrapper.rb +2 -2
  482. data/lib/crimson-falcon/models/domain_simple_actor.rb +1 -1
  483. data/lib/crimson-falcon/models/domain_spapi_combined_vulnerabilities_response.rb +1 -1
  484. data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_combined_response_v1.rb +1 -1
  485. data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_entities_response_v1.rb +1 -1
  486. data/lib/crimson-falcon/models/domain_spapi_query_response.rb +1 -1
  487. data/lib/crimson-falcon/models/domain_spapi_remediation_entities_response_v2.rb +2 -2
  488. data/lib/crimson-falcon/models/domain_spapi_vulnerabilities_entities_response_v2.rb +1 -1
  489. data/lib/crimson-falcon/models/domain_spotlight_params.rb +269 -0
  490. data/lib/crimson-falcon/models/domain_status_response_wrapper.rb +2 -2
  491. data/lib/crimson-falcon/models/domain_update_rule_request_v1.rb +33 -1
  492. data/lib/crimson-falcon/models/domain_user.rb +45 -9
  493. data/lib/crimson-falcon/models/domain_user_group_members_response_v1.rb +2 -2
  494. data/lib/crimson-falcon/models/domain_user_groups_response_v1.rb +2 -2
  495. data/lib/crimson-falcon/models/domain_user_metadata.rb +10 -1
  496. data/lib/crimson-falcon/models/domain_vuln.rb +240 -0
  497. data/lib/crimson-falcon/models/domain_vulnerability.rb +38 -137
  498. data/lib/crimson-falcon/models/domain_vulnerability_response.rb +2 -2
  499. data/lib/crimson-falcon/models/domain_xdr_params.rb +57 -1
  500. data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +2 -2
  501. data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +21 -21
  502. data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +21 -21
  503. data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +2 -2
  504. data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +2 -2
  505. data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v1.rb +2 -2
  506. data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v2.rb +2 -2
  507. data/lib/crimson-falcon/models/entities_ods_scan_host_response.rb +2 -2
  508. data/lib/crimson-falcon/models/entities_ods_scan_malicious_file_response.rb +2 -2
  509. data/lib/crimson-falcon/models/entities_ods_scan_request.rb +1 -15
  510. data/lib/crimson-falcon/models/entities_ods_scan_response.rb +2 -2
  511. data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +2 -2
  512. data/lib/crimson-falcon/models/entities_ods_schedule_scan_response.rb +2 -2
  513. data/lib/crimson-falcon/models/entities_rolling_average.rb +365 -0
  514. data/lib/crimson-falcon/models/exclusions_resp_v1.rb +2 -2
  515. data/lib/crimson-falcon/models/executions_execution_result.rb +21 -1
  516. data/lib/crimson-falcon/models/executions_loop_result.rb +13 -1
  517. data/lib/crimson-falcon/models/executions_trigger_result.rb +1 -1
  518. data/lib/crimson-falcon/models/exports_exports_response.rb +266 -0
  519. data/lib/crimson-falcon/models/exports_launch_export_request.rb +280 -0
  520. data/lib/crimson-falcon/models/exports_launch_export_response.rb +267 -0
  521. data/lib/crimson-falcon/models/falconx_errors_only.rb +2 -2
  522. data/lib/crimson-falcon/models/falconx_meta_info.rb +1 -1
  523. data/lib/crimson-falcon/models/falconx_query_response.rb +1 -1
  524. data/lib/crimson-falcon/models/falconx_report_v1.rb +19 -1
  525. data/lib/crimson-falcon/models/falconx_report_v1_response.rb +1 -1
  526. data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -1
  527. data/lib/crimson-falcon/models/falconx_sandbox_report_v1.rb +10 -1
  528. data/lib/crimson-falcon/models/falconx_submission_v1_response.rb +1 -1
  529. data/lib/crimson-falcon/models/falconx_summary_report_v1.rb +10 -1
  530. data/lib/crimson-falcon/models/falconx_summary_report_v1_response.rb +1 -1
  531. data/lib/crimson-falcon/models/fielddata_field_source.rb +278 -0
  532. data/lib/crimson-falcon/models/fielddata_field_source_option.rb +248 -0
  533. data/lib/crimson-falcon/models/figapi_adversary.rb +235 -0
  534. data/lib/crimson-falcon/models/figapi_country.rb +245 -0
  535. data/lib/crimson-falcon/models/figapi_domain.rb +345 -0
  536. data/lib/crimson-falcon/models/figapi_email_address.rb +252 -0
  537. data/lib/crimson-falcon/models/figapi_file.rb +299 -0
  538. data/lib/crimson-falcon/models/figapi_indicator.rb +458 -0
  539. data/lib/crimson-falcon/models/figapi_ipv4.rb +269 -0
  540. data/lib/crimson-falcon/models/figapi_ipv6.rb +269 -0
  541. data/lib/crimson-falcon/models/figapi_mx_record.rb +284 -0
  542. data/lib/crimson-falcon/models/figapi_name_server.rb +254 -0
  543. data/lib/crimson-falcon/models/figapi_report.rb +235 -0
  544. data/lib/crimson-falcon/models/figapi_sector.rb +245 -0
  545. data/lib/crimson-falcon/models/figapi_threat.rb +235 -0
  546. data/lib/crimson-falcon/models/figapi_url.rb +247 -0
  547. data/lib/crimson-falcon/models/figapi_vulnerability.rb +374 -0
  548. data/lib/crimson-falcon/models/figapi_who_is.rb +261 -0
  549. data/lib/crimson-falcon/models/figapi_whois_record.rb +306 -0
  550. data/lib/crimson-falcon/models/figapi_x509_certificate.rb +297 -0
  551. data/lib/crimson-falcon/models/firewall_resp_v1.rb +2 -2
  552. data/lib/crimson-falcon/models/flightcontrolapi_get_roles_response.rb +2 -2
  553. data/lib/crimson-falcon/models/flightcontrolapi_user_grant_response.rb +2 -2
  554. data/lib/crimson-falcon/models/flightcontrolapi_user_response.rb +2 -2
  555. data/lib/crimson-falcon/models/fwmgr_msa_aggregate_query_request.rb +10 -1
  556. data/lib/crimson-falcon/models/fwmgr_msa_extended_bounds_spec.rb +253 -0
  557. data/lib/crimson-falcon/models/graph_condition.rb +12 -12
  558. data/lib/crimson-falcon/models/graph_configured_activity.rb +11 -1
  559. data/lib/crimson-falcon/models/graph_end.rb +26 -4
  560. data/lib/crimson-falcon/models/graph_multi.rb +38 -4
  561. data/lib/crimson-falcon/models/graph_sub_model.rb +5 -15
  562. data/lib/crimson-falcon/models/graph_validation_error.rb +24 -4
  563. data/lib/crimson-falcon/models/help.rb +239 -0
  564. data/lib/crimson-falcon/models/host_groups_members_resp_v1.rb +2 -2
  565. data/lib/crimson-falcon/models/host_groups_resp_v1.rb +2 -2
  566. data/lib/crimson-falcon/models/host_groups_update_group_req_v1.rb +1 -0
  567. data/lib/crimson-falcon/models/images_api_combined_image_export.rb +2 -2
  568. data/lib/crimson-falcon/models/images_api_customer_and_image.rb +2 -2
  569. data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +2 -2
  570. data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +2 -2
  571. data/lib/crimson-falcon/models/images_api_image_count.rb +2 -2
  572. data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +2 -2
  573. data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +2 -2
  574. data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +2 -2
  575. data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +2 -2
  576. data/lib/crimson-falcon/models/images_ext_combined_images_response.rb +2 -2
  577. data/lib/crimson-falcon/models/ingestion_cve_exploit_reference.rb +267 -0
  578. data/lib/crimson-falcon/models/ingestion_cve_exploit_source.rb +283 -0
  579. data/lib/crimson-falcon/models/ingestion_ex_prt_rating_factors.rb +281 -0
  580. data/lib/crimson-falcon/models/ingestion_reference.rb +255 -0
  581. data/lib/crimson-falcon/models/internal_sensor_status.rb +10 -1
  582. data/lib/crimson-falcon/models/inventoryapi_surface_error.rb +260 -0
  583. data/lib/crimson-falcon/models/inventoryapi_user_external_asset.rb +255 -0
  584. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create.rb +257 -0
  585. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_request_v1.rb +242 -0
  586. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_response_v1.rb +266 -0
  587. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_result.rb +322 -0
  588. data/lib/crimson-falcon/models/inventoryapidomain_subsidiary.rb +245 -0
  589. data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusions_resp_v1.rb +2 -2
  590. data/lib/crimson-falcon/models/iocapi_msa_reply_devices_ran_on.rb +1 -1
  591. data/lib/crimson-falcon/models/iocapi_msa_reply_ioc_devices_count.rb +1 -1
  592. data/lib/crimson-falcon/models/iocapi_msa_reply_processes_ran_on.rb +1 -1
  593. data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +10 -1
  594. data/lib/crimson-falcon/models/jsonschema_duration_option.rb +253 -0
  595. data/lib/crimson-falcon/models/jsonschema_pivot.rb +19 -1
  596. data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +22 -4
  597. data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +19 -1
  598. data/lib/crimson-falcon/models/jsonschema_ui_extensions.rb +315 -0
  599. data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +11 -1
  600. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +15 -1
  601. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +2 -2
  602. data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +2 -2
  603. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +2 -2
  604. data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +2 -2
  605. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +2 -2
  606. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +21 -21
  607. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +2 -2
  608. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +21 -21
  609. data/lib/crimson-falcon/models/k8sreg_create_aws_acc_resp.rb +2 -2
  610. data/lib/crimson-falcon/models/k8sreg_get_aws_accounts_resp.rb +2 -2
  611. data/lib/crimson-falcon/models/k8sreg_get_azure_bash_script_resp.rb +2 -2
  612. data/lib/crimson-falcon/models/k8sreg_get_azure_subscriptions_resp.rb +2 -2
  613. data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_config_resp.rb +2 -2
  614. data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_info_resp.rb +2 -2
  615. data/lib/crimson-falcon/models/k8sreg_get_clusters_resp.rb +2 -2
  616. data/lib/crimson-falcon/models/k8sreg_get_locations_resp.rb +2 -2
  617. data/lib/crimson-falcon/models/k8sreg_get_scripts_resp.rb +2 -2
  618. data/lib/crimson-falcon/models/k8sreg_list_cluster_cloud_resp.rb +2 -2
  619. data/lib/crimson-falcon/models/k8sreg_regen_api_key_resp.rb +2 -2
  620. data/lib/crimson-falcon/models/main_discovery_response_v2.rb +2 -2
  621. data/lib/crimson-falcon/models/malquery_fuzzy_search_meta_info.rb +1 -1
  622. data/lib/crimson-falcon/models/malquery_query_meta_info.rb +1 -1
  623. data/lib/crimson-falcon/models/malquery_rate_limits_response.rb +1 -1
  624. data/lib/crimson-falcon/models/malquery_request_meta_info.rb +1 -1
  625. data/lib/crimson-falcon/models/malquery_samples_metadata_meta_info.rb +1 -1
  626. data/lib/crimson-falcon/models/messages_case.rb +43 -1
  627. data/lib/crimson-falcon/models/mlscannerapi_meta_info.rb +1 -1
  628. data/lib/crimson-falcon/models/mlscannerapi_query_response.rb +1 -1
  629. data/lib/crimson-falcon/models/mlscannerapi_scan_v1_response.rb +1 -1
  630. data/lib/crimson-falcon/models/model_user_input_read_response.rb +2 -2
  631. data/lib/crimson-falcon/models/models_account_status_response.rb +2 -2
  632. data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +2 -2
  633. data/lib/crimson-falcon/models/models_api_customer_and_image.rb +83 -4
  634. data/lib/crimson-falcon/models/models_api_image_combined_export.rb +68 -1
  635. data/lib/crimson-falcon/models/models_api_package_combined.rb +15 -1
  636. data/lib/crimson-falcon/models/models_api_package_combined_v2.rb +381 -0
  637. data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +15 -1
  638. data/lib/crimson-falcon/models/models_application_library.rb +13 -4
  639. data/lib/crimson-falcon/models/models_application_package_info_type.rb +1 -1
  640. data/lib/crimson-falcon/models/models_aws_accounts_v1.rb +2 -2
  641. data/lib/crimson-falcon/models/models_base_image_request.rb +270 -0
  642. data/lib/crimson-falcon/models/models_base_response_v1.rb +2 -2
  643. data/lib/crimson-falcon/models/models_cluster.rb +43 -1
  644. data/lib/crimson-falcon/models/models_cluster_entity_response.rb +2 -2
  645. data/lib/crimson-falcon/models/models_cluster_info.rb +279 -0
  646. data/lib/crimson-falcon/models/models_cluster_with_failed_rules.rb +309 -0
  647. data/lib/crimson-falcon/models/models_compliance_by_rules.rb +269 -0
  648. data/lib/crimson-falcon/models/models_compliance_export_grouped_by_clusters_report.rb +435 -0
  649. data/lib/crimson-falcon/models/models_compliance_export_grouped_by_images_report.rb +379 -0
  650. data/lib/crimson-falcon/models/models_compliance_export_grouped_by_rules_report.rb +407 -0
  651. data/lib/crimson-falcon/models/models_container.rb +309 -221
  652. data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +2 -2
  653. data/lib/crimson-falcon/models/models_container_entity_response.rb +2 -2
  654. data/lib/crimson-falcon/models/models_container_image.rb +17 -1
  655. data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +2 -2
  656. data/lib/crimson-falcon/models/models_create_base_images_request.rb +241 -0
  657. data/lib/crimson-falcon/models/models_create_deployment_input.rb +241 -0
  658. data/lib/crimson-falcon/models/models_customer_configurations_v1.rb +2 -2
  659. data/lib/crimson-falcon/models/models_delivery_settings.rb +372 -0
  660. data/lib/crimson-falcon/models/models_delivery_settings_entity_response.rb +266 -0
  661. data/lib/crimson-falcon/models/models_delivery_settings_input.rb +253 -0
  662. data/lib/crimson-falcon/models/models_delivery_settings_request.rb +241 -0
  663. data/lib/crimson-falcon/models/models_deployment.rb +361 -81
  664. data/lib/crimson-falcon/models/models_deployment_entity_response.rb +2 -2
  665. data/lib/crimson-falcon/models/models_deployment_resource.rb +281 -0
  666. data/lib/crimson-falcon/models/models_detection.rb +365 -0
  667. data/lib/crimson-falcon/models/models_detection_engine_info_type.rb +267 -0
  668. data/lib/crimson-falcon/models/models_detection_info_type.rb +239 -0
  669. data/lib/crimson-falcon/models/models_elf_binary.rb +281 -0
  670. data/lib/crimson-falcon/models/models_ext_api_image_combined.rb +29 -1
  671. data/lib/crimson-falcon/models/models_image_details.rb +281 -0
  672. data/lib/crimson-falcon/models/models_image_with_rules_failed.rb +337 -0
  673. data/lib/crimson-falcon/models/models_images_with_rules_failed.rb +255 -0
  674. data/lib/crimson-falcon/models/models_job_meta_data.rb +337 -0
  675. data/lib/crimson-falcon/models/models_message.rb +239 -0
  676. data/lib/crimson-falcon/models/models_mock_execution_create_request_v1.rb +259 -0
  677. data/lib/crimson-falcon/models/models_node.rb +52 -1
  678. data/lib/crimson-falcon/models/models_node_entity_response.rb +2 -2
  679. data/lib/crimson-falcon/models/models_non_compliant_assets_by_severity.rb +295 -0
  680. data/lib/crimson-falcon/models/models_os_info_type.rb +253 -0
  681. data/lib/crimson-falcon/models/models_package_vulnerability_type.rb +239 -0
  682. data/lib/crimson-falcon/models/models_partial_fingerprints.rb +239 -0
  683. data/lib/crimson-falcon/models/models_pod.rb +52 -1
  684. data/lib/crimson-falcon/models/models_pod_entity_response.rb +2 -2
  685. data/lib/crimson-falcon/models/models_policy_entity_response.rb +21 -21
  686. data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +21 -21
  687. data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +21 -21
  688. data/lib/crimson-falcon/models/models_registry_credentials_response.rb +2 -2
  689. data/lib/crimson-falcon/models/models_result.rb +339 -0
  690. data/lib/crimson-falcon/models/models_result_location.rb +253 -0
  691. data/lib/crimson-falcon/models/models_result_location_properties.rb +253 -0
  692. data/lib/crimson-falcon/models/models_result_physical_location.rb +253 -0
  693. data/lib/crimson-falcon/models/models_result_physical_location_artifact_location.rb +239 -0
  694. data/lib/crimson-falcon/models/models_result_physical_location_region.rb +239 -0
  695. data/lib/crimson-falcon/models/models_result_properties.rb +365 -0
  696. data/lib/crimson-falcon/models/models_rule.rb +337 -0
  697. data/lib/crimson-falcon/models/models_rule_default_configuration.rb +239 -0
  698. data/lib/crimson-falcon/models/models_rule_properties.rb +669 -0
  699. data/lib/crimson-falcon/models/models_rule_status.rb +267 -0
  700. data/lib/crimson-falcon/models/models_rule_with_non_compliant_assets.rb +281 -0
  701. data/lib/crimson-falcon/models/models_rules_failed_by_severity.rb +281 -0
  702. data/lib/crimson-falcon/models/models_rules_with_non_compliant_assets.rb +255 -0
  703. data/lib/crimson-falcon/models/models_run.rb +255 -0
  704. data/lib/crimson-falcon/models/models_run_tool.rb +239 -0
  705. data/lib/crimson-falcon/models/models_run_tool_driver.rb +283 -0
  706. data/lib/crimson-falcon/models/models_scan_report_type.rb +333 -0
  707. data/lib/crimson-falcon/models/models_scan_results.rb +287 -0
  708. data/lib/crimson-falcon/models/models_snapshot_inventory_application.rb +351 -0
  709. data/lib/crimson-falcon/models/models_verify_access_response_v1.rb +2 -2
  710. data/lib/crimson-falcon/models/models_vulnerabilities_type.rb +241 -0
  711. data/lib/crimson-falcon/models/models_vulnerability_product.rb +344 -0
  712. data/lib/crimson-falcon/models/models_vulnerability_sarif.rb +269 -0
  713. data/lib/crimson-falcon/models/models_vulnerability_type.rb +317 -0
  714. data/lib/crimson-falcon/models/msa_aggregate_query_request.rb +10 -1
  715. data/lib/crimson-falcon/models/msa_aggregates_response.rb +2 -2
  716. data/lib/crimson-falcon/models/msa_base_entities_response.rb +2 -2
  717. data/lib/crimson-falcon/models/msa_entities_response.rb +2 -2
  718. data/lib/crimson-falcon/models/msa_entity_action_request_v3.rb +266 -0
  719. data/lib/crimson-falcon/models/msa_errors_only.rb +2 -2
  720. data/lib/crimson-falcon/models/msa_extended_bounds_spec.rb +253 -0
  721. data/lib/crimson-falcon/models/msa_facets_response.rb +2 -2
  722. data/lib/crimson-falcon/models/msa_query_response.rb +2 -2
  723. data/lib/crimson-falcon/models/msa_reply_affected_entities.rb +2 -2
  724. data/lib/crimson-falcon/models/msaspec_query_response.rb +2 -2
  725. data/lib/crimson-falcon/models/msaspec_response_fields.rb +2 -2
  726. data/lib/crimson-falcon/models/packages_api_combined_package.rb +2 -2
  727. data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +2 -2
  728. data/lib/crimson-falcon/models/packages_api_combined_package_v2.rb +266 -0
  729. data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +2 -2
  730. data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +11 -1
  731. data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +11 -1
  732. data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +16 -1
  733. data/lib/crimson-falcon/models/patterndisposition_pattern_disposition.rb +85 -1
  734. data/lib/crimson-falcon/models/policies_delete_response.rb +2 -2
  735. data/lib/crimson-falcon/models/policies_policy.rb +15 -1
  736. data/lib/crimson-falcon/models/policies_precedence_response.rb +2 -2
  737. data/lib/crimson-falcon/models/policies_response.rb +2 -2
  738. data/lib/crimson-falcon/models/policyframework_benchmark.rb +253 -0
  739. data/lib/crimson-falcon/models/policyframework_control.rb +290 -0
  740. data/lib/crimson-falcon/models/prevention_resp_v1.rb +2 -2
  741. data/lib/crimson-falcon/models/processesapi_msa_process_detail_response.rb +2 -2
  742. data/lib/crimson-falcon/models/public_get_changes_response.rb +266 -0
  743. data/lib/crimson-falcon/models/quickscanpro_delete_file_response.rb +266 -0
  744. data/lib/crimson-falcon/models/quickscanpro_file_result.rb +305 -0
  745. data/lib/crimson-falcon/models/quickscanpro_file_upload_resource.rb +248 -0
  746. data/lib/crimson-falcon/models/quickscanpro_file_upload_response.rb +275 -0
  747. data/lib/crimson-falcon/models/quickscanpro_get_scan_result_resource.rb +267 -0
  748. data/lib/crimson-falcon/models/quickscanpro_get_scan_result_response.rb +266 -0
  749. data/lib/crimson-falcon/models/quickscanpro_launch_scan_request.rb +241 -0
  750. data/lib/crimson-falcon/models/quickscanpro_launch_scan_request_resource.rb +239 -0
  751. data/lib/crimson-falcon/models/quickscanpro_launch_scan_resource.rb +267 -0
  752. data/lib/crimson-falcon/models/quickscanpro_launch_scan_response.rb +275 -0
  753. data/lib/crimson-falcon/models/quickscanpro_mitre_attack.rb +288 -0
  754. data/lib/crimson-falcon/models/quickscanpro_mitre_attack_parent.rb +252 -0
  755. data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +276 -0
  756. data/lib/crimson-falcon/models/quickscanpro_quota_resource.rb +262 -0
  757. data/lib/crimson-falcon/models/quickscanpro_scan_metadata.rb +281 -0
  758. data/lib/crimson-falcon/models/quickscanpro_scan_result.rb +345 -0
  759. data/lib/crimson-falcon/models/quickscanpro_url_result.rb +296 -0
  760. data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +48 -1
  761. data/lib/crimson-falcon/models/registration_aws_account_patch.rb +51 -4
  762. data/lib/crimson-falcon/models/registration_aws_account_response_v2.rb +2 -7
  763. data/lib/crimson-falcon/models/registration_aws_console_url_response_v2.rb +266 -0
  764. data/lib/crimson-falcon/models/registration_aws_provision_get_account_script_response_v2.rb +2 -2
  765. data/lib/crimson-falcon/models/registration_azure_account_response_v1.rb +2 -2
  766. data/lib/crimson-falcon/models/registration_azure_download_certificate_response_v1.rb +2 -7
  767. data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +2 -2
  768. data/lib/crimson-falcon/models/registration_azure_provision_get_user_script_response_v1.rb +2 -2
  769. data/lib/crimson-falcon/models/registration_azure_tenant_configuration_response_v1.rb +2 -2
  770. data/lib/crimson-falcon/models/registration_azure_tenant_default_subscription_id_response_v1.rb +2 -2
  771. data/lib/crimson-falcon/models/registration_azure_tenant_ids_response_v1.rb +2 -2
  772. data/lib/crimson-falcon/models/registration_external_ioa_event_response.rb +1 -1
  773. data/lib/crimson-falcon/models/registration_external_iom_event_response.rb +1 -1
  774. data/lib/crimson-falcon/models/registration_external_iom_event_response_v2.rb +2 -2
  775. data/lib/crimson-falcon/models/registration_gcp_account_patch_request_v1.rb +241 -0
  776. data/lib/crimson-falcon/models/registration_gcp_account_patch_v1.rb +262 -0
  777. data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +12 -1
  778. data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +2 -2
  779. data/lib/crimson-falcon/models/registration_gcp_account_response_v1.rb +2 -2
  780. data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +12 -1
  781. data/lib/crimson-falcon/models/registration_gcp_account_validated_v1.rb +299 -0
  782. data/lib/crimson-falcon/models/registration_gcp_account_validation_req_obj_v1.rb +239 -0
  783. data/lib/crimson-falcon/models/registration_gcp_account_validation_request_v1.rb +241 -0
  784. data/lib/crimson-falcon/models/registration_gcp_account_validation_response_v1.rb +266 -0
  785. data/lib/crimson-falcon/models/registration_gcp_provision_get_user_script_response_v1.rb +2 -2
  786. data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +12 -1
  787. data/lib/crimson-falcon/models/registration_gcp_service_account_patch_request_v1.rb +241 -0
  788. data/lib/crimson-falcon/models/registration_gcp_service_account_patch_v1.rb +290 -0
  789. data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +2 -2
  790. data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_obj_v1.rb +290 -0
  791. data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_v1.rb +241 -0
  792. data/lib/crimson-falcon/models/registration_gcp_service_account_validation_response_v1.rb +266 -0
  793. data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
  794. data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
  795. data/lib/crimson-falcon/models/registration_msa_meta_info_extension.rb +1 -1
  796. data/lib/crimson-falcon/models/registration_msa_paging_extension.rb +1 -1
  797. data/lib/crimson-falcon/models/registration_policy_response_v1.rb +2 -2
  798. data/lib/crimson-falcon/models/registration_policy_settings_response_v1.rb +2 -2
  799. data/lib/crimson-falcon/models/registration_scan_schedule_response_v1.rb +2 -2
  800. data/lib/crimson-falcon/models/registration_static_scripts_response.rb +2 -7
  801. data/lib/crimson-falcon/models/releasecontents_release_content.rb +327 -0
  802. data/lib/crimson-falcon/models/releasecontents_release_content_version.rb +267 -0
  803. data/lib/crimson-falcon/models/releasenotes_entities_get_request.rb +241 -0
  804. data/lib/crimson-falcon/models/releasenotes_entities_get_response_wrapper.rb +269 -0
  805. data/lib/crimson-falcon/models/releasenotes_note_detail.rb +270 -0
  806. data/lib/crimson-falcon/models/releasenotes_release_note_v1.rb +303 -0
  807. data/lib/crimson-falcon/models/releasenotes_release_note_wrapper_v1.rb +271 -0
  808. data/lib/crimson-falcon/models/releases_release.rb +328 -0
  809. data/lib/crimson-falcon/models/releases_release_wrapper.rb +271 -0
  810. data/lib/crimson-falcon/models/remote_response_resp_v1.rb +2 -2
  811. data/lib/crimson-falcon/models/resources_app.rb +243 -0
  812. data/lib/crimson-falcon/models/resources_asset_graph.rb +243 -0
  813. data/lib/crimson-falcon/models/resources_cloud_context.rb +378 -0
  814. data/lib/crimson-falcon/models/resources_cloud_resource.rb +604 -0
  815. data/lib/crimson-falcon/models/resources_compliance.rb +307 -0
  816. data/lib/crimson-falcon/models/resources_detections.rb +291 -0
  817. data/lib/crimson-falcon/models/resources_host.rb +390 -0
  818. data/lib/crimson-falcon/models/resources_relationship.rb +261 -0
  819. data/lib/crimson-falcon/models/resources_vulnerability.rb +262 -0
  820. data/lib/crimson-falcon/models/rest_account_product_upsert_request_ext_v1.rb +255 -0
  821. data/lib/crimson-falcon/models/rest_aws_account_create_request_extv1.rb +241 -0
  822. data/lib/crimson-falcon/models/rest_aws_account_create_response_ext_v1.rb +266 -0
  823. data/lib/crimson-falcon/models/rest_aws_account_validated.rb +284 -0
  824. data/lib/crimson-falcon/models/rest_aws_account_validation_response.rb +266 -0
  825. data/lib/crimson-falcon/models/rest_azure_download_script_request_data.rb +239 -0
  826. data/lib/crimson-falcon/models/rest_azure_download_script_request_v1.rb +241 -0
  827. data/lib/crimson-falcon/models/rest_azure_provision_get_account_script_response_v1.rb +266 -0
  828. data/lib/crimson-falcon/models/rest_azure_script.rb +276 -0
  829. data/lib/crimson-falcon/models/rest_cloud_aws_account_create_ext_v1.rb +286 -0
  830. data/lib/crimson-falcon/models/rest_cursor_and_limit_meta_info.rb +289 -0
  831. data/lib/crimson-falcon/models/rest_cursor_meta_info.rb +280 -0
  832. data/lib/crimson-falcon/models/rest_cursor_response_fields.rb +250 -0
  833. data/lib/crimson-falcon/models/rest_paging.rb +262 -0
  834. data/lib/crimson-falcon/models/restapi_indicator_response.rb +271 -0
  835. data/lib/crimson-falcon/models/restapi_indicators_query_request.rb +255 -0
  836. data/lib/crimson-falcon/models/restapi_indicators_query_sort_request.rb +267 -0
  837. data/lib/crimson-falcon/models/rulegroups_delete_response.rb +2 -2
  838. data/lib/crimson-falcon/models/rulegroups_response.rb +2 -2
  839. data/lib/crimson-falcon/models/rulegroups_rule.rb +19 -1
  840. data/lib/crimson-falcon/models/rulegroups_rules_response.rb +2 -2
  841. data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +2 -2
  842. data/lib/crimson-falcon/models/sadomain_create_rule_request_v1.rb +49 -2
  843. data/lib/crimson-falcon/models/sadomain_rule.rb +62 -1
  844. data/lib/crimson-falcon/models/sadomain_typosquatting_base_domain.rb +19 -1
  845. data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +10 -1
  846. data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +285 -0
  847. data/lib/crimson-falcon/models/scanreports_entities_response.rb +266 -0
  848. data/lib/crimson-falcon/models/scheduledexclusions_response.rb +2 -2
  849. data/lib/crimson-falcon/models/schema_sensor_event_response_v1.rb +2 -2
  850. data/lib/crimson-falcon/models/schema_sensor_field_response_v1.rb +2 -2
  851. data/lib/crimson-falcon/models/sensor_update_builds_resp_v1.rb +2 -2
  852. data/lib/crimson-falcon/models/sensor_update_kernels_resp_v1.rb +2 -2
  853. data/lib/crimson-falcon/models/sensor_update_resp_v1.rb +2 -2
  854. data/lib/crimson-falcon/models/sensor_update_resp_v2.rb +2 -2
  855. data/lib/crimson-falcon/models/source_endpoint.rb +243 -0
  856. data/lib/crimson-falcon/models/source_user.rb +243 -0
  857. data/lib/crimson-falcon/models/state_online_state_resp_v1.rb +2 -2
  858. data/lib/crimson-falcon/models/string_wrapper.rb +266 -0
  859. data/lib/crimson-falcon/models/sv_exclusions_resp_v1.rb +2 -2
  860. data/lib/crimson-falcon/models/threatgraph_meta.rb +271 -0
  861. data/lib/crimson-falcon/models/threatgraph_paging.rb +257 -0
  862. data/lib/crimson-falcon/models/threatgraph_vertex_details.rb +327 -0
  863. data/lib/crimson-falcon/models/threatgraph_vertex_details_response.rb +271 -0
  864. data/lib/crimson-falcon/models/triggers_trigger_ext.rb +322 -0
  865. data/lib/crimson-falcon/models/triggers_trigger_ext_field.rb +305 -0
  866. data/lib/crimson-falcon/models/triggers_trigger_external_response.rb +271 -0
  867. data/lib/crimson-falcon/models/types_action_run.rb +299 -0
  868. data/lib/crimson-falcon/models/types_action_run_event.rb +324 -0
  869. data/lib/crimson-falcon/models/types_action_run_event_data.rb +360 -0
  870. data/lib/crimson-falcon/models/types_action_run_metadata.rb +288 -0
  871. data/lib/crimson-falcon/models/types_artifact.rb +261 -0
  872. data/lib/crimson-falcon/models/types_aws_api_gateway_reason_tag.rb +261 -0
  873. data/lib/crimson-falcon/models/types_aws_elastic_ip_reason_tag.rb +252 -0
  874. data/lib/crimson-falcon/models/types_aws_lambda_api_gateway_reason_tag.rb +261 -0
  875. data/lib/crimson-falcon/models/types_aws_load_balancer_reason_tag.rb +243 -0
  876. data/lib/crimson-falcon/models/types_aws_metadata.rb +243 -0
  877. data/lib/crimson-falcon/models/types_azure_application_gateway_reason_tag.rb +272 -0
  878. data/lib/crimson-falcon/models/types_azure_load_balancer_reason_tag.rb +261 -0
  879. data/lib/crimson-falcon/models/types_azure_site_metadata.rb +279 -0
  880. data/lib/crimson-falcon/models/types_azure_vm_metadata.rb +270 -0
  881. data/lib/crimson-falcon/models/types_business_application.rb +243 -0
  882. data/lib/crimson-falcon/models/types_cloud_function_metadata.rb +234 -0
  883. data/lib/crimson-falcon/models/types_composed_schedule.rb +299 -0
  884. data/lib/crimson-falcon/models/types_configuration.rb +279 -0
  885. data/lib/crimson-falcon/models/types_create_integration_request.rb +234 -0
  886. data/lib/crimson-falcon/models/types_create_integration_task_request.rb +234 -0
  887. data/lib/crimson-falcon/models/types_crowd_strike_cloud_security_metadata.rb +288 -0
  888. data/lib/crimson-falcon/models/types_data_type_db_reason_tag.rb +256 -0
  889. data/lib/crimson-falcon/models/types_data_type_mq_reason_tag.rb +245 -0
  890. data/lib/crimson-falcon/models/types_dependency.rb +306 -0
  891. data/lib/crimson-falcon/models/types_deployment_unit_descriptor.rb +263 -0
  892. data/lib/crimson-falcon/models/types_deployment_unit_service.rb +252 -0
  893. data/lib/crimson-falcon/models/types_deployment_units_tuple_filters.rb +247 -0
  894. data/lib/crimson-falcon/models/types_ec2_metadata.rb +243 -0
  895. data/lib/crimson-falcon/models/types_ecs_metadata.rb +270 -0
  896. data/lib/crimson-falcon/models/types_edit_tag_request.rb +255 -0
  897. data/lib/crimson-falcon/models/types_edit_unique_tag_request.rb +241 -0
  898. data/lib/crimson-falcon/models/types_error_message.rb +253 -0
  899. data/lib/crimson-falcon/models/types_executor_node.rb +342 -0
  900. data/lib/crimson-falcon/models/types_framework.rb +272 -0
  901. data/lib/crimson-falcon/models/types_gcp_metadata.rb +243 -0
  902. data/lib/crimson-falcon/models/types_generic_user_facing_request.rb +252 -0
  903. data/lib/crimson-falcon/models/types_get_executor_nodes_metadata_response.rb +278 -0
  904. data/lib/crimson-falcon/models/types_get_integration_tasks_metadata_response.rb +267 -0
  905. data/lib/crimson-falcon/models/types_get_services_related_entity.rb +261 -0
  906. data/lib/crimson-falcon/models/types_get_services_related_entity_filters.rb +252 -0
  907. data/lib/crimson-falcon/models/types_get_services_related_entity_group_by_fields.rb +236 -0
  908. data/lib/crimson-falcon/models/types_get_services_request.rb +321 -0
  909. data/lib/crimson-falcon/models/types_get_violation_types_response.rb +247 -0
  910. data/lib/crimson-falcon/models/types_host_metadata.rb +234 -0
  911. data/lib/crimson-falcon/models/types_integration.rb +297 -0
  912. data/lib/crimson-falcon/models/types_integration_response.rb +243 -0
  913. data/lib/crimson-falcon/models/types_integration_task.rb +369 -0
  914. data/lib/crimson-falcon/models/types_integration_task_response.rb +243 -0
  915. data/lib/crimson-falcon/models/types_integration_task_test_connection_response.rb +234 -0
  916. data/lib/crimson-falcon/models/types_integration_task_type.rb +281 -0
  917. data/lib/crimson-falcon/models/types_integration_type.rb +270 -0
  918. data/lib/crimson-falcon/models/types_interface.rb +548 -0
  919. data/lib/crimson-falcon/models/types_interface_service.rb +263 -0
  920. data/lib/crimson-falcon/models/types_k8_s_load_balancer_reason_tag.rb +263 -0
  921. data/lib/crimson-falcon/models/types_k8_s_metadata.rb +252 -0
  922. data/lib/crimson-falcon/models/types_k8_s_pod_settings.rb +256 -0
  923. data/lib/crimson-falcon/models/types_key_value.rb +243 -0
  924. data/lib/crimson-falcon/models/types_lambda_metadata.rb +243 -0
  925. data/lib/crimson-falcon/models/types_library.rb +290 -0
  926. data/lib/crimson-falcon/models/types_list_executor_nodes_response.rb +236 -0
  927. data/lib/crimson-falcon/models/types_list_integration_tasks_response.rb +236 -0
  928. data/lib/crimson-falcon/models/types_list_integration_types_response.rb +236 -0
  929. data/lib/crimson-falcon/models/types_list_integrations_response.rb +236 -0
  930. data/lib/crimson-falcon/models/types_order_by.rb +243 -0
  931. data/lib/crimson-falcon/models/types_paginate.rb +263 -0
  932. data/lib/crimson-falcon/models/types_pagination.rb +263 -0
  933. data/lib/crimson-falcon/models/types_policy_rules_condition.rb +247 -0
  934. data/lib/crimson-falcon/models/types_policy_rules_create_body.rb +331 -0
  935. data/lib/crimson-falcon/models/types_query_request.rb +266 -0
  936. data/lib/crimson-falcon/models/types_query_request_select_fields.rb +256 -0
  937. data/lib/crimson-falcon/models/types_query_result.rb +243 -0
  938. data/lib/crimson-falcon/models/types_reason_tag.rb +315 -0
  939. data/lib/crimson-falcon/models/types_remediation.rb +243 -0
  940. data/lib/crimson-falcon/models/types_results_filter.rb +243 -0
  941. data/lib/crimson-falcon/models/types_run_integration_task_request.rb +279 -0
  942. data/lib/crimson-falcon/models/types_service_now_deployment.rb +253 -0
  943. data/lib/crimson-falcon/models/types_service_now_deployments_response.rb +269 -0
  944. data/lib/crimson-falcon/models/types_service_now_service.rb +549 -0
  945. data/lib/crimson-falcon/models/types_service_now_service_data.rb +355 -0
  946. data/lib/crimson-falcon/models/types_service_now_service_deployments.rb +255 -0
  947. data/lib/crimson-falcon/models/types_service_now_services_response.rb +269 -0
  948. data/lib/crimson-falcon/models/types_service_service_artifact.rb +245 -0
  949. data/lib/crimson-falcon/models/types_service_service_business_application.rb +245 -0
  950. data/lib/crimson-falcon/models/types_service_service_configuration.rb +245 -0
  951. data/lib/crimson-falcon/models/types_service_service_dependency.rb +245 -0
  952. data/lib/crimson-falcon/models/types_service_service_framework.rb +245 -0
  953. data/lib/crimson-falcon/models/types_service_service_interface.rb +245 -0
  954. data/lib/crimson-falcon/models/types_service_service_library.rb +245 -0
  955. data/lib/crimson-falcon/models/types_service_service_tag.rb +245 -0
  956. data/lib/crimson-falcon/models/types_service_service_traits.rb +245 -0
  957. data/lib/crimson-falcon/models/types_snyk_metadata.rb +252 -0
  958. data/lib/crimson-falcon/models/types_sonatype_metadata.rb +261 -0
  959. data/lib/crimson-falcon/models/types_struct.rb +241 -0
  960. data/lib/crimson-falcon/models/types_tag.rb +310 -0
  961. data/lib/crimson-falcon/models/types_tag_data.rb +274 -0
  962. data/lib/crimson-falcon/models/types_tag_entry.rb +257 -0
  963. data/lib/crimson-falcon/models/types_tags_data_response.rb +245 -0
  964. data/lib/crimson-falcon/models/types_timestamp.rb +253 -0
  965. data/lib/crimson-falcon/models/types_trait.rb +252 -0
  966. data/lib/crimson-falcon/models/types_tuple_to_string.rb +243 -0
  967. data/lib/crimson-falcon/models/types_unique_tag_entry.rb +261 -0
  968. data/lib/crimson-falcon/models/types_update_integration_request.rb +245 -0
  969. data/lib/crimson-falcon/models/types_update_integration_task_request.rb +234 -0
  970. data/lib/crimson-falcon/models/types_upsert_business_application_request.rb +255 -0
  971. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +2 -2
  972. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +2 -2
  973. data/lib/crimson-falcon/models/uninstall_token_resp_v1.rb +2 -2
  974. data/lib/crimson-falcon/models/v2_activity.rb +10 -1
  975. data/lib/crimson-falcon/models/v2_condition.rb +10 -6
  976. data/lib/crimson-falcon/models/v2_condition_groups.rb +257 -0
  977. data/lib/crimson-falcon/models/v2_definition.rb +60 -4
  978. data/lib/crimson-falcon/models/v2_for_loop.rb +60 -4
  979. data/lib/crimson-falcon/models/v2_loop.rb +10 -1
  980. data/lib/crimson-falcon/models/v2_model.rb +338 -0
  981. data/lib/crimson-falcon/models/v2_parameters.rb +1 -1
  982. data/lib/crimson-falcon/models/vulncheck_epss.rb +253 -0
  983. data/lib/crimson-falcon/models/vulncheck_exploit_botnets.rb +269 -0
  984. data/lib/crimson-falcon/models/vulncheck_exploit_counts.rb +267 -0
  985. data/lib/crimson-falcon/models/vulncheck_exploit_cve_reference.rb +269 -0
  986. data/lib/crimson-falcon/models/vulncheck_exploit_details.rb +404 -0
  987. data/lib/crimson-falcon/models/vulncheck_exploit_ransomware.rb +257 -0
  988. data/lib/crimson-falcon/models/vulncheck_exploit_ransomware_data.rb +253 -0
  989. data/lib/crimson-falcon/models/vulncheck_exploit_record.rb +297 -0
  990. data/lib/crimson-falcon/models/vulncheck_exploit_threat_actor.rb +305 -0
  991. data/lib/crimson-falcon/models/vulncheck_exploit_timeline.rb +342 -0
  992. data/lib/crimson-falcon/models/vulncheck_exploit_trending.rb +239 -0
  993. data/lib/crimson-falcon/models/vulncheck_threat_actor_vendor_name.rb +252 -0
  994. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +2 -2
  995. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +2 -2
  996. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +2 -2
  997. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +2 -2
  998. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +2 -2
  999. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +2 -2
  1000. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +2 -2
  1001. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +2 -2
  1002. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +2 -2
  1003. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +2 -2
  1004. data/lib/crimson-falcon/models/vulnerabilities_vulnerability_entity_sarif_response.rb +266 -0
  1005. data/lib/crimson-falcon/models/workflow_request.rb +241 -0
  1006. data/lib/crimson-falcon/models/workflow_response.rb +261 -0
  1007. data/lib/crimson-falcon/version.rb +2 -2
  1008. data/lib/crimson-falcon.rb +587 -105
  1009. data/spec/api/alerts_spec.rb +163 -0
  1010. data/spec/api/api_integrations_spec.rb +88 -0
  1011. data/spec/api/aspm_spec.rb +364 -0
  1012. data/spec/api/certificate_based_exclusions_spec.rb +122 -0
  1013. data/spec/api/cloud_aws_registration_spec.rb +128 -0
  1014. data/spec/api/cloud_azure_registration_spec.rb +63 -0
  1015. data/spec/api/cloud_connect_aws_spec.rb +157 -0
  1016. data/spec/api/cloud_security_assets_spec.rb +78 -0
  1017. data/spec/api/cloud_snapshots_spec.rb +120 -0
  1018. data/spec/api/compliance_assessments_spec.rb +175 -0
  1019. data/spec/api/configuration_assessment_evaluation_logic_spec.rb +63 -0
  1020. data/spec/api/configuration_assessment_spec.rb +78 -0
  1021. data/spec/api/container_alerts_spec.rb +88 -0
  1022. data/spec/api/container_detections_spec.rb +125 -0
  1023. data/spec/api/container_images_spec.rb +217 -0
  1024. data/spec/api/container_packages_spec.rb +134 -0
  1025. data/spec/api/container_vulnerabilities_spec.rb +184 -0
  1026. data/spec/api/content_update_policies_spec.rb +177 -0
  1027. data/spec/api/correlation_rules_spec.rb +137 -0
  1028. data/spec/api/cspg_iac_spec.rb +62 -0
  1029. data/spec/api/cspm_registration_spec.rb +547 -0
  1030. data/spec/api/custom_ioa_spec.rb +290 -0
  1031. data/spec/api/custom_storage_spec.rb +219 -0
  1032. data/spec/api/d4c_registration_spec.rb +309 -0
  1033. data/spec/api/datascanner_spec.rb +85 -0
  1034. data/spec/api/delivery_settings_spec.rb +73 -0
  1035. data/spec/api/deployments_spec.rb +65 -0
  1036. data/spec/api/detects_spec.rb +100 -0
  1037. data/spec/api/device_content_spec.rb +77 -0
  1038. data/spec/api/device_control_policies_spec.rb +198 -0
  1039. data/spec/api/discover_iot_spec.rb +91 -0
  1040. data/spec/api/discover_spec.rb +193 -0
  1041. data/spec/api/downloads_spec.rb +68 -0
  1042. data/spec/api/drift_indicators_spec.rb +114 -0
  1043. data/spec/api/event_schema_spec.rb +87 -0
  1044. data/spec/api/event_streams_spec.rb +77 -0
  1045. data/spec/api/exposure_management_spec.rb +180 -0
  1046. data/spec/api/falcon_complete_dashboard_spec.rb +297 -0
  1047. data/spec/api/falcon_container_cli_spec.rb +63 -0
  1048. data/spec/api/falcon_container_image_spec.rb +154 -0
  1049. data/spec/api/falcon_container_spec.rb +62 -0
  1050. data/spec/api/falconx_sandbox_spec.rb +236 -0
  1051. data/spec/api/field_schema_spec.rb +77 -0
  1052. data/spec/api/filevantage_spec.rb +450 -0
  1053. data/spec/api/firewall_management_spec.rb +462 -0
  1054. data/spec/api/firewall_policies_spec.rb +178 -0
  1055. data/spec/api/foundry_logscale_spec.rb +265 -0
  1056. data/spec/api/handle_spec.rb +62 -0
  1057. data/spec/api/host_group_spec.rb +167 -0
  1058. data/spec/api/host_migration_spec.rb +180 -0
  1059. data/spec/api/hosts_spec.rb +197 -0
  1060. data/spec/api/humio_auth_proxy_spec.rb +137 -0
  1061. data/spec/api/identity_entities_spec.rb +88 -0
  1062. data/spec/api/identity_protection_spec.rb +113 -0
  1063. data/spec/api/image_assessment_policies_spec.rb +172 -0
  1064. data/spec/api/incidents_spec.rb +129 -0
  1065. data/spec/api/installation_tokens_settings_spec.rb +63 -0
  1066. data/spec/api/installation_tokens_spec.rb +146 -0
  1067. data/spec/api/intel_spec.rb +366 -0
  1068. data/spec/api/intelligence_indicator_graph_spec.rb +66 -0
  1069. data/spec/api/ioa_exclusions_spec.rb +113 -0
  1070. data/spec/api/ioc_spec.rb +259 -0
  1071. data/spec/api/iocs_spec.rb +104 -0
  1072. data/spec/api/kubernetes_protection_spec.rb +778 -0
  1073. data/spec/api/lookup_files_spec.rb +80 -0
  1074. data/spec/api/malquery_spec.rb +150 -0
  1075. data/spec/api/message_center_spec.rb +172 -0
  1076. data/spec/api/ml_exclusions_spec.rb +111 -0
  1077. data/spec/api/mobile_enrollment_spec.rb +78 -0
  1078. data/spec/api/mssp_spec.rb +402 -0
  1079. data/spec/api/oauth2_spec.rb +77 -0
  1080. data/spec/api/ods_spec.rb +241 -0
  1081. data/spec/api/overwatch_dashboard_spec.rb +107 -0
  1082. data/spec/api/prevention_policies_spec.rb +177 -0
  1083. data/spec/api/quarantine_spec.rb +122 -0
  1084. data/spec/api/quick_scan_pro_spec.rb +122 -0
  1085. data/spec/api/quick_scan_spec.rb +99 -0
  1086. data/spec/api/real_time_response_admin_spec.rb +257 -0
  1087. data/spec/api/real_time_response_audit_spec.rb +67 -0
  1088. data/spec/api/real_time_response_spec.rb +333 -0
  1089. data/spec/api/recon_spec.rb +358 -0
  1090. data/spec/api/release_notes_spec.rb +97 -0
  1091. data/spec/api/releases_spec.rb +68 -0
  1092. data/spec/api/report_executions_spec.rb +100 -0
  1093. data/spec/api/response_policies_spec.rb +177 -0
  1094. data/spec/api/runtime_detections_spec.rb +66 -0
  1095. data/spec/api/sample_uploads_spec.rb +191 -0
  1096. data/spec/api/scheduled_reports_spec.rb +89 -0
  1097. data/spec/api/sensor_download_spec.rb +162 -0
  1098. data/spec/api/sensor_update_policies_spec.rb +274 -0
  1099. data/spec/api/sensor_usage_spec.rb +63 -0
  1100. data/spec/api/sensor_visibility_exclusions_spec.rb +111 -0
  1101. data/spec/api/spotlight_evaluation_logic_spec.rb +91 -0
  1102. data/spec/api/spotlight_vulnerabilities_spec.rb +103 -0
  1103. data/spec/api/threatgraph_spec.rb +136 -0
  1104. data/spec/api/unidentified_containers_spec.rb +88 -0
  1105. data/spec/api/user_management_spec.rb +308 -0
  1106. data/spec/api/vulnerabilities_spec.rb +66 -0
  1107. data/spec/api/workflows_spec.rb +274 -0
  1108. data/spec/api/zero_trust_assessment_spec.rb +87 -0
  1109. data/spec/models/actions_action_response_spec.rb +63 -0
  1110. data/spec/models/actions_action_spec.rb +99 -0
  1111. data/spec/models/actions_create_action_request_spec.rb +63 -0
  1112. data/spec/models/actions_get_action_response_spec.rb +63 -0
  1113. data/spec/models/activities_activity_ext_field_spec.rb +93 -0
  1114. data/spec/models/activities_activity_external_response_spec.rb +63 -0
  1115. data/spec/models/activities_activity_spec.rb +165 -0
  1116. data/spec/models/activity_spec.rb +57 -0
  1117. data/spec/models/alerts_container_alerts_count_value_spec.rb +3 -3
  1118. data/spec/models/api_cert_based_exclusion_create_req_v1_spec.rb +117 -0
  1119. data/spec/models/api_cert_based_exclusion_resp_v1_spec.rb +63 -0
  1120. data/spec/models/api_cert_based_exclusion_update_req_v1_spec.rb +123 -0
  1121. data/spec/models/api_cert_based_exclusion_v1_spec.rb +129 -0
  1122. data/spec/models/api_cert_based_exclusions_create_req_v1_spec.rb +51 -0
  1123. data/spec/models/api_cert_based_exclusions_update_req_v1_spec.rb +51 -0
  1124. data/spec/models/api_certificate_req_v1_spec.rb +81 -0
  1125. data/spec/models/api_certificate_v1_spec.rb +81 -0
  1126. data/spec/models/api_certificates_response_v1_spec.rb +51 -0
  1127. data/spec/models/api_create_migration_request_v1_spec.rb +69 -0
  1128. data/spec/models/api_create_migration_response_v1_spec.rb +63 -0
  1129. data/spec/models/api_create_rule_operation_v1_spec.rb +63 -0
  1130. data/spec/models/api_event_spec.rb +75 -0
  1131. data/spec/models/api_get_entities_rules_response_v1_spec.rb +63 -0
  1132. data/spec/models/api_get_host_migration_response_v1_spec.rb +63 -0
  1133. data/spec/models/api_get_migration_destinations_request_body_v1_spec.rb +57 -0
  1134. data/spec/models/api_get_migration_destinations_response_v1_spec.rb +63 -0
  1135. data/spec/models/api_get_migrations_response_v1_spec.rb +63 -0
  1136. data/spec/models/api_host_migration_spec.rb +129 -0
  1137. data/spec/models/api_hourly_average_response_spec.rb +63 -0
  1138. data/spec/models/api_mfa_resource_ids_response_spec.rb +69 -0
  1139. data/spec/models/api_migrate_hosts_info_spec.rb +63 -0
  1140. data/spec/models/api_migration_spec.rb +117 -0
  1141. data/spec/models/api_object_metadata_spec.rb +6 -0
  1142. data/spec/models/api_patch_rule_operation_v1_spec.rb +63 -0
  1143. data/spec/models/api_patch_rule_search_v1_spec.rb +69 -0
  1144. data/spec/models/api_post_enrollment_details_v4_spec.rb +63 -0
  1145. data/spec/models/api_resp_certificates_v1_spec.rb +63 -0
  1146. data/spec/models/api_rule_create_request_v1_spec.rb +111 -0
  1147. data/spec/models/api_rule_operation_v1_spec.rb +69 -0
  1148. data/spec/models/api_rule_patch_request_v1_spec.rb +99 -0
  1149. data/spec/models/api_rule_schedule_v1_patch_spec.rb +51 -0
  1150. data/spec/models/api_rule_schedule_v1_spec.rb +51 -0
  1151. data/spec/models/api_rule_search_v1_spec.rb +69 -0
  1152. data/spec/models/api_rule_update_v2_spec.rb +93 -0
  1153. data/spec/models/api_rule_updates_request_v2_spec.rb +69 -0
  1154. data/spec/models/api_rule_v1_spec.rb +16 -34
  1155. data/spec/models/api_weekly_average_response_spec.rb +63 -0
  1156. data/spec/models/apidomain_query_response_v1_spec.rb +6 -0
  1157. data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +0 -6
  1158. data/spec/models/assets_get_resource_ids_response_spec.rb +63 -0
  1159. data/spec/models/assets_get_resources_response_spec.rb +63 -0
  1160. data/spec/models/base_set_content_update_policy_precedence_req_v1_spec.rb +51 -0
  1161. data/spec/models/changes_change_spec.rb +12 -0
  1162. data/spec/models/changes_host_spec.rb +6 -0
  1163. data/spec/models/changes_permissions_mac_spec.rb +81 -0
  1164. data/spec/models/client_job_status_spec.rb +6 -0
  1165. data/spec/models/common_count_as_resource_spec.rb +0 -6
  1166. data/spec/models/common_count_response_spec.rb +3 -3
  1167. data/spec/models/common_credentials_spec.rb +51 -0
  1168. data/spec/models/common_entities_response_spec.rb +63 -0
  1169. data/spec/models/common_registry_credentials_response_spec.rb +63 -0
  1170. data/spec/models/content_update_create_policies_req_v1_spec.rb +51 -0
  1171. data/spec/models/content_update_create_policy_req_v1_spec.rb +63 -0
  1172. data/spec/models/content_update_ring_assignment_settings_v1_spec.rb +57 -0
  1173. data/spec/models/content_update_settings_v1_spec.rb +51 -0
  1174. data/spec/models/content_update_update_policies_req_v1_spec.rb +51 -0
  1175. data/spec/models/content_update_update_policy_req_v1_spec.rb +69 -0
  1176. data/spec/models/contentchanges_change_contents_response_spec.rb +63 -0
  1177. data/spec/models/contentchanges_content_diff_spec.rb +69 -0
  1178. data/spec/models/contentchanges_content_spec.rb +57 -0
  1179. data/spec/models/custom_storage_object_keys_spec.rb +63 -0
  1180. data/spec/models/custom_storage_response_spec.rb +63 -0
  1181. data/spec/models/dataclassifications_label_spec.rb +63 -0
  1182. data/spec/models/dataclassifications_response_spec.rb +75 -0
  1183. data/spec/models/dataclassifications_tag_spec.rb +69 -0
  1184. data/spec/models/definitions_definition_ext_spec.rb +103 -1
  1185. data/spec/models/deployments_api_deployment_ring_view_spec.rb +87 -0
  1186. data/spec/models/deployments_api_deployment_view_spec.rb +93 -0
  1187. data/spec/models/deployments_api_deployment_view_wrapper_spec.rb +63 -0
  1188. data/spec/models/deployments_entity_response_spec.rb +63 -0
  1189. data/spec/models/destination_spec.rb +57 -0
  1190. data/spec/models/destinations_migration_destination_spec.rb +57 -0
  1191. data/spec/models/detections_api_assessment_detections_spec.rb +3 -3
  1192. data/spec/models/detections_api_combined_detections_spec.rb +3 -3
  1193. data/spec/models/detections_api_detections_count_spec.rb +3 -3
  1194. data/spec/models/detects_external_alert_spec.rb +273 -0
  1195. data/spec/models/detectsapi_post_combined_alerts_v1_meta_spec.rb +69 -0
  1196. data/spec/models/detectsapi_post_combined_alerts_v1_paging_spec.rb +63 -0
  1197. data/spec/models/detectsapi_post_combined_alerts_v1_request_swagger_spec.rb +69 -0
  1198. data/spec/models/detectsapi_post_combined_alerts_v1_response_swagger_spec.rb +63 -0
  1199. data/spec/models/detectsapi_post_entities_alerts_v1_response_swagger_spec.rb +63 -0
  1200. data/spec/models/detectsapi_post_entities_alerts_v2_response_swagger_spec.rb +63 -0
  1201. data/spec/models/device_control_usb_class_exceptions_req_v1_spec.rb +1 -1
  1202. data/spec/models/device_control_usb_class_exceptions_response_spec.rb +1 -1
  1203. data/spec/models/device_device_spec.rb +36 -0
  1204. data/spec/models/device_mapped_device_policies_spec.rb +24 -0
  1205. data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
  1206. data/spec/models/devicecontent_content_category_spec.rb +51 -0
  1207. data/spec/models/devicecontent_state_spec.rb +117 -0
  1208. data/spec/models/devicecontentapi_entities_response_v1_spec.rb +63 -0
  1209. data/spec/models/devicecontentapi_query_response_v1_spec.rb +63 -0
  1210. data/spec/models/domain_aggregate_cluster_assessments_response_spec.rb +63 -0
  1211. data/spec/models/domain_aggregate_failed_asset_count_by_severity_response_spec.rb +63 -0
  1212. data/spec/models/domain_aggregate_failed_assets_by_rules_response_spec.rb +63 -0
  1213. data/spec/models/domain_aggregate_failed_rules_by_clusters_response_spec.rb +63 -0
  1214. data/spec/models/domain_aggregate_failed_rules_by_images_response_spec.rb +63 -0
  1215. data/spec/models/domain_aggregate_failed_rules_count_by_severity_response_spec.rb +63 -0
  1216. data/spec/models/domain_aggregate_image_assessments_response_spec.rb +63 -0
  1217. data/spec/models/domain_aggregate_rules_assessments_response_spec.rb +63 -0
  1218. data/spec/models/domain_aggregate_rules_by_status_response_spec.rb +63 -0
  1219. data/spec/models/domain_api_compliance_control_v1_spec.rb +57 -0
  1220. data/spec/models/domain_api_compliance_mapping_v1_spec.rb +63 -0
  1221. data/spec/models/domain_api_error_spec.rb +3 -3
  1222. data/spec/models/domain_api_evaluation_logic_item_v1_spec.rb +6 -6
  1223. data/spec/models/domain_api_evaluation_logic_v1_spec.rb +2 -14
  1224. data/spec/models/domain_api_finding_rule_v1_spec.rb +6 -0
  1225. data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
  1226. data/spec/models/domain_api_remediation_info_spec.rb +63 -0
  1227. data/spec/models/domain_api_remediation_v2_spec.rb +12 -0
  1228. data/spec/models/domain_api_rule_details_v1_spec.rb +6 -0
  1229. data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
  1230. data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
  1231. data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +18 -0
  1232. data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +18 -0
  1233. data/spec/models/domain_api_vulnerability_service_v2_spec.rb +63 -0
  1234. data/spec/models/domain_api_vulnerability_v2_spec.rb +12 -0
  1235. data/spec/models/domain_assessment_paging_spec.rb +69 -0
  1236. data/spec/models/domain_aws_account_resource_metadata_spec.rb +117 -0
  1237. data/spec/models/domain_aws_account_v2_spec.rb +30 -0
  1238. data/spec/models/domain_aws_inventory_filter_setting_spec.rb +63 -0
  1239. data/spec/models/domain_base_api_vulnerability_v2_spec.rb +12 -0
  1240. data/spec/models/domain_behavior_spec.rb +6 -0
  1241. data/spec/models/domain_benchmark_spec.rb +6 -0
  1242. data/spec/models/domain_case_creation_request_v2_spec.rb +12 -0
  1243. data/spec/models/domain_cipher_spec.rb +63 -0
  1244. data/spec/models/domain_cisa_known_exploited_vulnerabilities_info_spec.rb +57 -0
  1245. data/spec/models/domain_cloud_aws_account_v1_spec.rb +189 -0
  1246. data/spec/models/domain_cloud_condition_spec.rb +93 -0
  1247. data/spec/models/domain_compliance_findings_grouped_by_images_with_scroll_spec.rb +57 -0
  1248. data/spec/models/domain_compliance_spec.rb +75 -0
  1249. data/spec/models/domain_condition_spec.rb +12 -0
  1250. data/spec/models/domain_config_v1_spec.rb +75 -0
  1251. data/spec/models/domain_configs_v1_spec.rb +63 -0
  1252. data/spec/models/domain_content_package_spec.rb +51 -0
  1253. data/spec/models/domain_content_update_policy_resp_v1_spec.rb +153 -0
  1254. data/spec/models/domain_content_update_settings_v1_spec.rb +51 -0
  1255. data/spec/models/domain_control_benchmark_spec.rb +57 -0
  1256. data/spec/models/domain_control_spec.rb +81 -0
  1257. data/spec/models/domain_cps_rating_history_entry_spec.rb +57 -0
  1258. data/spec/models/domain_cps_rating_indicator_spec.rb +63 -0
  1259. data/spec/models/domain_cps_rating_spec.rb +75 -0
  1260. data/spec/models/domain_create_submission_v1_error_response_spec.rb +71 -0
  1261. data/spec/models/domain_credentials_spec.rb +1 -13
  1262. data/spec/models/domain_cve_exploit_reference_spec.rb +63 -0
  1263. data/spec/models/domain_cve_exploit_source_spec.rb +69 -0
  1264. data/spec/models/domain_cve_exploit_spec.rb +69 -0
  1265. data/spec/models/domain_cve_spec.rb +195 -0
  1266. data/spec/models/domain_cvssv2_spec.rb +75 -0
  1267. data/spec/models/domain_cvssv3_spec.rb +123 -0
  1268. data/spec/models/domain_denormalized_adversary_reference_spec.rb +63 -0
  1269. data/spec/models/domain_denormalized_country_spec.rb +57 -0
  1270. data/spec/models/domain_denormalized_customer_target_spec.rb +51 -0
  1271. data/spec/models/domain_denormalized_report_reference_spec.rb +63 -0
  1272. data/spec/models/domain_denormalized_sector_spec.rb +57 -0
  1273. data/spec/models/domain_denormalized_threat_reference_spec.rb +57 -0
  1274. data/spec/models/domain_denormalized_threat_used_mitre_spec.rb +87 -0
  1275. data/spec/models/domain_device_spec.rb +1 -1
  1276. data/spec/models/domain_discover_api_active_discovery_host_spec.rb +12 -0
  1277. data/spec/models/domain_discover_api_application_browser_extension_installation_spec.rb +99 -0
  1278. data/spec/models/domain_discover_api_application_browser_extension_spec.rb +93 -0
  1279. data/spec/models/domain_discover_api_application_host_spec.rb +6 -0
  1280. data/spec/models/domain_discover_api_application_spec.rb +12 -0
  1281. data/spec/models/domain_discover_api_combined_applications_response_spec.rb +63 -0
  1282. data/spec/models/domain_discover_api_combined_hosts_response_spec.rb +63 -0
  1283. data/spec/models/domain_discover_api_host_spec.rb +168 -0
  1284. data/spec/models/domain_discover_api_meta_info_spec.rb +75 -0
  1285. data/spec/models/domain_discover_api_paging_spec.rb +63 -0
  1286. data/spec/models/domain_discover_api_response_spec.rb +63 -0
  1287. data/spec/models/domain_discover_apiio_t_host_spec.rb +308 -20
  1288. data/spec/models/domain_discover_apiio_t_host_triage_spec.rb +81 -0
  1289. data/spec/models/domain_discover_params_spec.rb +6 -0
  1290. data/spec/models/domain_execute_command_request_v1_spec.rb +51 -0
  1291. data/spec/models/domain_execute_command_result_v1_spec.rb +75 -0
  1292. data/spec/models/domain_execute_command_results_v1_spec.rb +63 -0
  1293. data/spec/models/domain_execute_command_v1_spec.rb +87 -0
  1294. data/spec/models/domain_execution_metadata_summary_spec.rb +6 -0
  1295. data/spec/models/domain_execution_metadata_v1_spec.rb +6 -0
  1296. data/spec/models/domain_external_asset_api_delete_request_v1_spec.rb +51 -0
  1297. data/spec/models/domain_external_asset_api_patch_request_v1_spec.rb +51 -0
  1298. data/spec/models/domain_external_asset_application_spec.rb +75 -0
  1299. data/spec/models/domain_external_asset_certificate_entity_identifiers_spec.rb +141 -0
  1300. data/spec/models/domain_external_asset_certificate_spec.rb +105 -0
  1301. data/spec/models/domain_external_asset_cloud_vm_spec.rb +117 -0
  1302. data/spec/models/domain_external_asset_discovery_attributes_spec.rb +57 -0
  1303. data/spec/models/domain_external_asset_discovery_path_attributes_spec.rb +51 -0
  1304. data/spec/models/domain_external_asset_discovery_step_attributes_spec.rb +75 -0
  1305. data/spec/models/domain_external_asset_geographical_location_spec.rb +99 -0
  1306. data/spec/models/domain_external_asset_http_attributes_spec.rb +75 -0
  1307. data/spec/models/domain_external_asset_redirect_step_attributes_spec.rb +69 -0
  1308. data/spec/models/domain_external_asset_service_blobs_links_spec.rb +69 -0
  1309. data/spec/models/domain_external_asset_service_spec.rb +153 -0
  1310. data/spec/models/domain_external_asset_ssl_record_spec.rb +93 -0
  1311. data/spec/models/domain_external_asset_subsidiary_spec.rb +57 -0
  1312. data/spec/models/domain_external_assets_api_patch_spec.rb +75 -0
  1313. data/spec/models/domain_external_assets_api_triage_patch_spec.rb +69 -0
  1314. data/spec/models/domain_external_assets_api_triage_spec.rb +81 -0
  1315. data/spec/models/domain_external_assets_api_type_v1_spec.rb +63 -0
  1316. data/spec/models/domain_external_assets_blob_api_type_v1_spec.rb +63 -0
  1317. data/spec/models/domain_external_export_job_spec.rb +81 -0
  1318. data/spec/models/domain_feature_permission_spec.rb +57 -0
  1319. data/spec/models/domain_feature_status_spec.rb +57 -0
  1320. data/spec/models/domain_fem_dns_domain_spec.rb +81 -0
  1321. data/spec/models/domain_fem_ecosystem_subsidiaries_entities_response_spec.rb +57 -0
  1322. data/spec/models/domain_fem_ecosystem_subsidiaries_meta_spec.rb +57 -0
  1323. data/spec/models/domain_fem_ecosystem_subsidiaries_query_response_spec.rb +57 -0
  1324. data/spec/models/domain_fem_ecosystem_subsidiaries_response_fields_spec.rb +57 -0
  1325. data/spec/models/domain_fem_ecosystem_subsidiary_spec.rb +99 -0
  1326. data/spec/models/domain_fem_external_asset_spec.rb +183 -0
  1327. data/spec/models/domain_fem_external_ip_spec.rb +105 -0
  1328. data/spec/models/domain_gcp_account_v1_spec.rb +12 -0
  1329. data/spec/models/domain_geo_point_spec.rb +57 -0
  1330. data/spec/models/domain_incident_spec.rb +6 -0
  1331. data/spec/models/domain_init_response_spec.rb +12 -0
  1332. data/spec/models/domain_item_details_v1_spec.rb +6 -0
  1333. data/spec/models/domain_kestrel_params_spec.rb +51 -0
  1334. data/spec/models/domain_lookup_file_spec.rb +147 -0
  1335. data/spec/models/domain_lookup_file_wrapper_spec.rb +63 -0
  1336. data/spec/models/domain_malware_document_spec.rb +351 -0
  1337. data/spec/models/domain_malware_environment_aggregates_spec.rb +63 -0
  1338. data/spec/models/domain_malware_response_spec.rb +63 -0
  1339. data/spec/models/domain_marketplace_credentials_spec.rb +63 -0
  1340. data/spec/models/domain_meta_info_spec.rb +0 -12
  1341. data/spec/models/domain_msa_meta_info_spec.rb +57 -0
  1342. data/spec/models/domain_news_document_spec.rb +6 -0
  1343. data/spec/models/domain_notification_v1_spec.rb +18 -0
  1344. data/spec/models/domain_platform_spec.rb +1 -1
  1345. data/spec/models/domain_policy_info_spec.rb +36 -0
  1346. data/spec/models/domain_product_features_spec.rb +57 -0
  1347. data/spec/models/domain_product_features_status_spec.rb +57 -0
  1348. data/spec/models/domain_product_permission_spec.rb +57 -0
  1349. data/spec/models/domain_reference_spec.rb +57 -0
  1350. data/spec/models/domain_report_execution_summary_v1_spec.rb +6 -0
  1351. data/spec/models/domain_report_execution_v1_spec.rb +6 -0
  1352. data/spec/models/domain_report_metadata_spec.rb +6 -0
  1353. data/spec/models/domain_report_params_spec.rb +12 -0
  1354. data/spec/models/domain_request_spec.rb +51 -0
  1355. data/spec/models/domain_ring_assignment_settings_v1_spec.rb +63 -0
  1356. data/spec/models/domain_scan_metadata_spec.rb +6 -0
  1357. data/spec/models/domain_scan_spec.rb +6 -6
  1358. data/spec/models/domain_scan_v2_spec.rb +0 -6
  1359. data/spec/models/domain_schedule_spec.rb +3 -3
  1360. data/spec/models/domain_scheduled_report_v1_spec.rb +12 -0
  1361. data/spec/models/domain_sensor_installer_v2_spec.rb +123 -0
  1362. data/spec/models/domain_sensor_installers_v2_spec.rb +63 -0
  1363. data/spec/models/domain_spotlight_params_spec.rb +63 -0
  1364. data/spec/models/domain_update_rule_request_v1_spec.rb +12 -0
  1365. data/spec/models/domain_user_metadata_spec.rb +6 -0
  1366. data/spec/models/domain_user_spec.rb +25 -1
  1367. data/spec/models/domain_vuln_spec.rb +51 -0
  1368. data/spec/models/domain_vulnerability_spec.rb +3 -63
  1369. data/spec/models/domain_xdr_params_spec.rb +24 -0
  1370. data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +3 -3
  1371. data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +3 -3
  1372. data/spec/models/entities_ods_scan_request_spec.rb +0 -6
  1373. data/spec/models/entities_rolling_average_spec.rb +105 -0
  1374. data/spec/models/executions_execution_result_spec.rb +12 -0
  1375. data/spec/models/executions_loop_result_spec.rb +6 -0
  1376. data/spec/models/exports_exports_response_spec.rb +63 -0
  1377. data/spec/models/exports_launch_export_request_spec.rb +69 -0
  1378. data/spec/models/exports_launch_export_response_spec.rb +63 -0
  1379. data/spec/models/falconx_report_v1_spec.rb +12 -0
  1380. data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -0
  1381. data/spec/models/falconx_sandbox_report_v1_spec.rb +6 -0
  1382. data/spec/models/falconx_summary_report_v1_spec.rb +6 -0
  1383. data/spec/models/fielddata_field_source_option_spec.rb +57 -0
  1384. data/spec/models/fielddata_field_source_spec.rb +75 -0
  1385. data/spec/models/figapi_adversary_spec.rb +51 -0
  1386. data/spec/models/figapi_country_spec.rb +57 -0
  1387. data/spec/models/figapi_domain_spec.rb +117 -0
  1388. data/spec/models/figapi_email_address_spec.rb +63 -0
  1389. data/spec/models/figapi_file_spec.rb +87 -0
  1390. data/spec/models/figapi_indicator_spec.rb +183 -0
  1391. data/spec/models/figapi_ipv4_spec.rb +69 -0
  1392. data/spec/models/figapi_ipv6_spec.rb +69 -0
  1393. data/spec/models/figapi_mx_record_spec.rb +75 -0
  1394. data/spec/models/figapi_name_server_spec.rb +63 -0
  1395. data/spec/models/figapi_report_spec.rb +51 -0
  1396. data/spec/models/figapi_sector_spec.rb +57 -0
  1397. data/spec/models/figapi_threat_spec.rb +51 -0
  1398. data/spec/models/figapi_url_spec.rb +57 -0
  1399. data/spec/models/figapi_vulnerability_spec.rb +141 -0
  1400. data/spec/models/figapi_who_is_spec.rb +69 -0
  1401. data/spec/models/figapi_whois_record_spec.rb +99 -0
  1402. data/spec/models/figapi_x509_certificate_spec.rb +93 -0
  1403. data/spec/models/fwmgr_msa_aggregate_query_request_spec.rb +6 -0
  1404. data/spec/models/fwmgr_msa_extended_bounds_spec_spec.rb +57 -0
  1405. data/spec/models/graph_condition_spec.rb +2 -2
  1406. data/spec/models/graph_configured_activity_spec.rb +6 -0
  1407. data/spec/models/graph_end_spec.rb +12 -0
  1408. data/spec/models/graph_multi_spec.rb +18 -0
  1409. data/spec/models/graph_sub_model_spec.rb +0 -6
  1410. data/spec/models/graph_validation_error_spec.rb +12 -0
  1411. data/spec/models/help_spec.rb +51 -0
  1412. data/spec/models/ingestion_cve_exploit_reference_spec.rb +63 -0
  1413. data/spec/models/ingestion_cve_exploit_source_spec.rb +69 -0
  1414. data/spec/models/ingestion_ex_prt_rating_factors_spec.rb +69 -0
  1415. data/spec/models/ingestion_reference_spec.rb +57 -0
  1416. data/spec/models/internal_sensor_status_spec.rb +6 -0
  1417. data/spec/models/inventoryapi_surface_error_spec.rb +63 -0
  1418. data/spec/models/inventoryapi_user_external_asset_create_request_v1_spec.rb +51 -0
  1419. data/spec/models/inventoryapi_user_external_asset_create_response_v1_spec.rb +63 -0
  1420. data/spec/models/inventoryapi_user_external_asset_create_spec.rb +57 -0
  1421. data/spec/models/inventoryapi_user_external_asset_result_spec.rb +93 -0
  1422. data/spec/models/inventoryapi_user_external_asset_spec.rb +57 -0
  1423. data/spec/models/inventoryapidomain_subsidiary_spec.rb +57 -0
  1424. data/spec/models/jsonschema_condition_group_fields_spec.rb +6 -0
  1425. data/spec/models/jsonschema_duration_option_spec.rb +57 -0
  1426. data/spec/models/jsonschema_pivot_spec.rb +12 -0
  1427. data/spec/models/jsonschema_signals_extensions_spec.rb +12 -0
  1428. data/spec/models/jsonschema_sub_schema_spec.rb +12 -0
  1429. data/spec/models/jsonschema_ui_extensions_spec.rb +99 -0
  1430. data/spec/models/jsonschema_workflow_extensions_spec.rb +6 -0
  1431. data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +6 -0
  1432. data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +3 -3
  1433. data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +3 -3
  1434. data/spec/models/messages_case_spec.rb +18 -0
  1435. data/spec/models/models_api_customer_and_image_spec.rb +36 -0
  1436. data/spec/models/models_api_image_combined_export_spec.rb +30 -0
  1437. data/spec/models/models_api_package_combined_spec.rb +6 -0
  1438. data/spec/models/models_api_package_combined_v2_spec.rb +111 -0
  1439. data/spec/models/models_api_vulnerability_combined_spec.rb +6 -0
  1440. data/spec/models/models_application_library_spec.rb +6 -0
  1441. data/spec/models/models_base_image_request_spec.rb +75 -0
  1442. data/spec/models/models_cluster_info_spec.rb +81 -0
  1443. data/spec/models/models_cluster_spec.rb +18 -0
  1444. data/spec/models/models_cluster_with_failed_rules_spec.rb +81 -0
  1445. data/spec/models/models_compliance_by_rules_spec.rb +63 -0
  1446. data/spec/models/models_compliance_export_grouped_by_clusters_report_spec.rb +135 -0
  1447. data/spec/models/models_compliance_export_grouped_by_images_report_spec.rb +111 -0
  1448. data/spec/models/models_compliance_export_grouped_by_rules_report_spec.rb +123 -0
  1449. data/spec/models/models_container_image_spec.rb +6 -0
  1450. data/spec/models/models_container_spec.rb +16 -106
  1451. data/spec/models/models_create_base_images_request_spec.rb +51 -0
  1452. data/spec/models/models_create_deployment_input_spec.rb +51 -0
  1453. data/spec/models/models_delivery_settings_entity_response_spec.rb +63 -0
  1454. data/spec/models/models_delivery_settings_input_spec.rb +57 -0
  1455. data/spec/models/models_delivery_settings_request_spec.rb +51 -0
  1456. data/spec/models/models_delivery_settings_spec.rb +123 -0
  1457. data/spec/models/models_deployment_resource_spec.rb +69 -0
  1458. data/spec/models/models_deployment_spec.rb +129 -9
  1459. data/spec/models/models_detection_engine_info_type_spec.rb +63 -0
  1460. data/spec/models/models_detection_info_type_spec.rb +51 -0
  1461. data/spec/models/models_detection_spec.rb +105 -0
  1462. data/spec/models/models_elf_binary_spec.rb +69 -0
  1463. data/spec/models/models_ext_api_image_combined_spec.rb +12 -0
  1464. data/spec/models/models_image_details_spec.rb +69 -0
  1465. data/spec/models/models_image_with_rules_failed_spec.rb +93 -0
  1466. data/spec/models/models_images_with_rules_failed_spec.rb +57 -0
  1467. data/spec/models/models_job_meta_data_spec.rb +93 -0
  1468. data/spec/models/models_message_spec.rb +51 -0
  1469. data/spec/models/models_mock_execution_create_request_v1_spec.rb +63 -0
  1470. data/spec/models/models_node_spec.rb +24 -0
  1471. data/spec/models/models_non_compliant_assets_by_severity_spec.rb +75 -0
  1472. data/spec/models/models_os_info_type_spec.rb +57 -0
  1473. data/spec/models/models_package_vulnerability_type_spec.rb +51 -0
  1474. data/spec/models/models_partial_fingerprints_spec.rb +51 -0
  1475. data/spec/models/models_pod_spec.rb +24 -0
  1476. data/spec/models/models_policy_entity_response_spec.rb +3 -3
  1477. data/spec/models/models_policy_exclusion_entity_response_spec.rb +3 -3
  1478. data/spec/models/models_policy_group_entity_response_spec.rb +3 -3
  1479. data/spec/models/models_result_location_properties_spec.rb +57 -0
  1480. data/spec/models/models_result_location_spec.rb +57 -0
  1481. data/spec/models/models_result_physical_location_artifact_location_spec.rb +51 -0
  1482. data/spec/models/models_result_physical_location_region_spec.rb +51 -0
  1483. data/spec/models/models_result_physical_location_spec.rb +57 -0
  1484. data/spec/models/models_result_properties_spec.rb +105 -0
  1485. data/spec/models/models_result_spec.rb +93 -0
  1486. data/spec/models/models_rule_default_configuration_spec.rb +51 -0
  1487. data/spec/models/models_rule_properties_spec.rb +231 -0
  1488. data/spec/models/models_rule_spec.rb +93 -0
  1489. data/spec/models/models_rule_status_spec.rb +63 -0
  1490. data/spec/models/models_rule_with_non_compliant_assets_spec.rb +69 -0
  1491. data/spec/models/models_rules_failed_by_severity_spec.rb +69 -0
  1492. data/spec/models/models_rules_with_non_compliant_assets_spec.rb +57 -0
  1493. data/spec/models/models_run_spec.rb +57 -0
  1494. data/spec/models/models_run_tool_driver_spec.rb +69 -0
  1495. data/spec/models/models_run_tool_spec.rb +51 -0
  1496. data/spec/models/models_scan_report_type_spec.rb +93 -0
  1497. data/spec/models/models_scan_results_spec.rb +69 -0
  1498. data/spec/models/models_snapshot_inventory_application_spec.rb +99 -0
  1499. data/spec/models/models_vulnerabilities_type_spec.rb +51 -0
  1500. data/spec/models/models_vulnerability_product_spec.rb +111 -0
  1501. data/spec/models/models_vulnerability_sarif_spec.rb +63 -0
  1502. data/spec/models/models_vulnerability_type_spec.rb +87 -0
  1503. data/spec/models/msa_aggregate_query_request_spec.rb +6 -0
  1504. data/spec/models/msa_entity_action_request_v3_spec.rb +63 -0
  1505. data/spec/models/msa_extended_bounds_spec_spec.rb +57 -0
  1506. data/spec/models/packages_api_combined_package_v2_spec.rb +63 -0
  1507. data/spec/models/parameter_activity_config_parameter_value_spec.rb +6 -0
  1508. data/spec/models/parameter_condition_field_parameter_spec.rb +6 -0
  1509. data/spec/models/parameter_condition_field_provision_parameter_spec.rb +6 -0
  1510. data/spec/models/patterndisposition_pattern_disposition_spec.rb +36 -0
  1511. data/spec/models/policies_policy_spec.rb +6 -0
  1512. data/spec/models/policyframework_benchmark_spec.rb +57 -0
  1513. data/spec/models/policyframework_control_spec.rb +87 -0
  1514. data/spec/models/public_get_changes_response_spec.rb +63 -0
  1515. data/spec/models/quickscanpro_delete_file_response_spec.rb +63 -0
  1516. data/spec/models/quickscanpro_file_result_spec.rb +73 -0
  1517. data/spec/models/quickscanpro_file_upload_resource_spec.rb +57 -0
  1518. data/spec/models/quickscanpro_file_upload_response_spec.rb +69 -0
  1519. data/spec/models/quickscanpro_get_scan_result_resource_spec.rb +63 -0
  1520. data/spec/models/quickscanpro_get_scan_result_response_spec.rb +63 -0
  1521. data/spec/models/quickscanpro_launch_scan_request_resource_spec.rb +51 -0
  1522. data/spec/models/quickscanpro_launch_scan_request_spec.rb +51 -0
  1523. data/spec/models/quickscanpro_launch_scan_resource_spec.rb +63 -0
  1524. data/spec/models/quickscanpro_launch_scan_response_spec.rb +69 -0
  1525. data/spec/models/quickscanpro_mitre_attack_parent_spec.rb +63 -0
  1526. data/spec/models/quickscanpro_mitre_attack_spec.rb +87 -0
  1527. data/spec/models/quickscanpro_query_scan_results_response_spec.rb +69 -0
  1528. data/spec/models/quickscanpro_quota_resource_spec.rb +63 -0
  1529. data/spec/models/quickscanpro_scan_metadata_spec.rb +69 -0
  1530. data/spec/models/quickscanpro_scan_result_spec.rb +91 -0
  1531. data/spec/models/quickscanpro_url_result_spec.rb +67 -0
  1532. data/spec/models/registration_aws_account_ext_v2_spec.rb +30 -0
  1533. data/spec/models/registration_aws_account_patch_spec.rb +30 -0
  1534. data/spec/models/registration_aws_console_url_response_v2_spec.rb +63 -0
  1535. data/spec/models/registration_gcp_account_patch_request_v1_spec.rb +51 -0
  1536. data/spec/models/registration_gcp_account_patch_v1_spec.rb +63 -0
  1537. data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +6 -0
  1538. data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +6 -0
  1539. data/spec/models/registration_gcp_account_validated_v1_spec.rb +81 -0
  1540. data/spec/models/registration_gcp_account_validation_req_obj_v1_spec.rb +51 -0
  1541. data/spec/models/registration_gcp_account_validation_request_v1_spec.rb +51 -0
  1542. data/spec/models/registration_gcp_account_validation_response_v1_spec.rb +63 -0
  1543. data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +6 -0
  1544. data/spec/models/registration_gcp_service_account_patch_request_v1_spec.rb +51 -0
  1545. data/spec/models/registration_gcp_service_account_patch_v1_spec.rb +87 -0
  1546. data/spec/models/registration_gcp_service_account_validation_request_obj_v1_spec.rb +87 -0
  1547. data/spec/models/registration_gcp_service_account_validation_request_v1_spec.rb +51 -0
  1548. data/spec/models/registration_gcp_service_account_validation_response_v1_spec.rb +63 -0
  1549. data/spec/models/registration_iom_event_v2_spec.rb +6 -0
  1550. data/spec/models/releasecontents_release_content_spec.rb +93 -0
  1551. data/spec/models/releasecontents_release_content_version_spec.rb +63 -0
  1552. data/spec/models/releasenotes_entities_get_request_spec.rb +51 -0
  1553. data/spec/models/releasenotes_entities_get_response_wrapper_spec.rb +63 -0
  1554. data/spec/models/releasenotes_note_detail_spec.rb +69 -0
  1555. data/spec/models/releasenotes_release_note_v1_spec.rb +81 -0
  1556. data/spec/models/releasenotes_release_note_wrapper_v1_spec.rb +63 -0
  1557. data/spec/models/releases_release_spec.rb +99 -0
  1558. data/spec/models/releases_release_wrapper_spec.rb +63 -0
  1559. data/spec/models/resources_app_spec.rb +57 -0
  1560. data/spec/models/resources_asset_graph_spec.rb +57 -0
  1561. data/spec/models/resources_cloud_context_spec.rb +147 -0
  1562. data/spec/models/resources_cloud_resource_spec.rb +291 -0
  1563. data/spec/models/resources_compliance_spec.rb +87 -0
  1564. data/spec/models/resources_detections_spec.rb +81 -0
  1565. data/spec/models/resources_host_spec.rb +147 -0
  1566. data/spec/models/resources_relationship_spec.rb +69 -0
  1567. data/spec/models/resources_vulnerability_spec.rb +63 -0
  1568. data/spec/models/rest_account_product_upsert_request_ext_v1_spec.rb +57 -0
  1569. data/spec/models/rest_aws_account_create_request_extv1_spec.rb +51 -0
  1570. data/spec/models/rest_aws_account_create_response_ext_v1_spec.rb +63 -0
  1571. data/spec/models/rest_aws_account_validated_spec.rb +69 -0
  1572. data/spec/models/rest_aws_account_validation_response_spec.rb +63 -0
  1573. data/spec/models/rest_azure_download_script_request_data_spec.rb +51 -0
  1574. data/spec/models/rest_azure_download_script_request_v1_spec.rb +51 -0
  1575. data/spec/models/rest_azure_provision_get_account_script_response_v1_spec.rb +63 -0
  1576. data/spec/models/rest_azure_script_spec.rb +69 -0
  1577. data/spec/models/rest_cloud_aws_account_create_ext_v1_spec.rb +81 -0
  1578. data/spec/models/rest_cursor_and_limit_meta_info_spec.rb +81 -0
  1579. data/spec/models/rest_cursor_meta_info_spec.rb +75 -0
  1580. data/spec/models/rest_cursor_response_fields_spec.rb +57 -0
  1581. data/spec/models/rest_paging_spec.rb +63 -0
  1582. data/spec/models/restapi_indicator_response_spec.rb +63 -0
  1583. data/spec/models/restapi_indicators_query_request_spec.rb +57 -0
  1584. data/spec/models/restapi_indicators_query_sort_request_spec.rb +63 -0
  1585. data/spec/models/rulegroups_rule_spec.rb +12 -0
  1586. data/spec/models/sadomain_create_rule_request_v1_spec.rb +18 -0
  1587. data/spec/models/sadomain_rule_spec.rb +30 -0
  1588. data/spec/models/sadomain_typosquatting_base_domain_spec.rb +12 -0
  1589. data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
  1590. data/spec/models/sadomain_typosquatting_subdomain_spec.rb +75 -0
  1591. data/spec/models/scanreports_entities_response_spec.rb +63 -0
  1592. data/spec/models/source_endpoint_spec.rb +57 -0
  1593. data/spec/models/source_user_spec.rb +57 -0
  1594. data/spec/models/string_wrapper_spec.rb +63 -0
  1595. data/spec/models/threatgraph_meta_spec.rb +69 -0
  1596. data/spec/models/threatgraph_paging_spec.rb +63 -0
  1597. data/spec/models/threatgraph_vertex_details_response_spec.rb +63 -0
  1598. data/spec/models/threatgraph_vertex_details_spec.rb +93 -0
  1599. data/spec/models/triggers_trigger_ext_field_spec.rb +87 -0
  1600. data/spec/models/triggers_trigger_ext_spec.rb +87 -0
  1601. data/spec/models/triggers_trigger_external_response_spec.rb +63 -0
  1602. data/spec/models/types_action_run_event_data_spec.rb +135 -0
  1603. data/spec/models/types_action_run_event_spec.rb +105 -0
  1604. data/spec/models/types_action_run_metadata_spec.rb +87 -0
  1605. data/spec/models/types_action_run_spec.rb +93 -0
  1606. data/spec/models/types_artifact_spec.rb +69 -0
  1607. data/spec/models/types_aws_api_gateway_reason_tag_spec.rb +69 -0
  1608. data/spec/models/types_aws_elastic_ip_reason_tag_spec.rb +63 -0
  1609. data/spec/models/types_aws_lambda_api_gateway_reason_tag_spec.rb +69 -0
  1610. data/spec/models/types_aws_load_balancer_reason_tag_spec.rb +57 -0
  1611. data/spec/models/types_aws_metadata_spec.rb +57 -0
  1612. data/spec/models/types_azure_application_gateway_reason_tag_spec.rb +75 -0
  1613. data/spec/models/types_azure_load_balancer_reason_tag_spec.rb +69 -0
  1614. data/spec/models/types_azure_site_metadata_spec.rb +81 -0
  1615. data/spec/models/types_azure_vm_metadata_spec.rb +75 -0
  1616. data/spec/models/types_business_application_spec.rb +57 -0
  1617. data/spec/models/types_cloud_function_metadata_spec.rb +51 -0
  1618. data/spec/models/types_composed_schedule_spec.rb +93 -0
  1619. data/spec/models/types_configuration_spec.rb +81 -0
  1620. data/spec/models/types_create_integration_request_spec.rb +51 -0
  1621. data/spec/models/types_create_integration_task_request_spec.rb +51 -0
  1622. data/spec/models/types_crowd_strike_cloud_security_metadata_spec.rb +87 -0
  1623. data/spec/models/types_data_type_db_reason_tag_spec.rb +63 -0
  1624. data/spec/models/types_data_type_mq_reason_tag_spec.rb +57 -0
  1625. data/spec/models/types_dependency_spec.rb +99 -0
  1626. data/spec/models/types_deployment_unit_descriptor_spec.rb +69 -0
  1627. data/spec/models/types_deployment_unit_service_spec.rb +63 -0
  1628. data/spec/models/types_deployment_units_tuple_filters_spec.rb +57 -0
  1629. data/spec/models/types_ec2_metadata_spec.rb +57 -0
  1630. data/spec/models/types_ecs_metadata_spec.rb +75 -0
  1631. data/spec/models/types_edit_tag_request_spec.rb +57 -0
  1632. data/spec/models/types_edit_unique_tag_request_spec.rb +51 -0
  1633. data/spec/models/types_error_message_spec.rb +57 -0
  1634. data/spec/models/types_executor_node_spec.rb +123 -0
  1635. data/spec/models/types_framework_spec.rb +75 -0
  1636. data/spec/models/types_gcp_metadata_spec.rb +57 -0
  1637. data/spec/models/types_generic_user_facing_request_spec.rb +63 -0
  1638. data/spec/models/types_get_executor_nodes_metadata_response_spec.rb +75 -0
  1639. data/spec/models/types_get_integration_tasks_metadata_response_spec.rb +69 -0
  1640. data/spec/models/types_get_services_related_entity_filters_spec.rb +63 -0
  1641. data/spec/models/types_get_services_related_entity_group_by_fields_spec.rb +51 -0
  1642. data/spec/models/types_get_services_related_entity_spec.rb +69 -0
  1643. data/spec/models/types_get_services_request_spec.rb +105 -0
  1644. data/spec/models/types_get_violation_types_response_spec.rb +57 -0
  1645. data/spec/models/types_host_metadata_spec.rb +51 -0
  1646. data/spec/models/types_integration_response_spec.rb +57 -0
  1647. data/spec/models/types_integration_spec.rb +93 -0
  1648. data/spec/models/types_integration_task_response_spec.rb +57 -0
  1649. data/spec/models/types_integration_task_spec.rb +141 -0
  1650. data/spec/models/types_integration_task_test_connection_response_spec.rb +51 -0
  1651. data/spec/models/types_integration_task_type_spec.rb +81 -0
  1652. data/spec/models/types_integration_type_spec.rb +75 -0
  1653. data/spec/models/types_interface_service_spec.rb +69 -0
  1654. data/spec/models/types_interface_spec.rb +249 -0
  1655. data/spec/models/types_k8_s_load_balancer_reason_tag_spec.rb +69 -0
  1656. data/spec/models/types_k8_s_metadata_spec.rb +63 -0
  1657. data/spec/models/types_k8_s_pod_settings_spec.rb +63 -0
  1658. data/spec/models/types_key_value_spec.rb +57 -0
  1659. data/spec/models/types_lambda_metadata_spec.rb +57 -0
  1660. data/spec/models/types_library_spec.rb +87 -0
  1661. data/spec/models/types_list_executor_nodes_response_spec.rb +51 -0
  1662. data/spec/models/types_list_integration_tasks_response_spec.rb +51 -0
  1663. data/spec/models/types_list_integration_types_response_spec.rb +51 -0
  1664. data/spec/models/types_list_integrations_response_spec.rb +51 -0
  1665. data/spec/models/types_order_by_spec.rb +57 -0
  1666. data/spec/models/types_paginate_spec.rb +69 -0
  1667. data/spec/models/types_pagination_spec.rb +69 -0
  1668. data/spec/models/types_policy_rules_condition_spec.rb +57 -0
  1669. data/spec/models/types_policy_rules_create_body_spec.rb +99 -0
  1670. data/spec/models/types_query_request_select_fields_spec.rb +63 -0
  1671. data/spec/models/types_query_request_spec.rb +69 -0
  1672. data/spec/models/types_query_result_spec.rb +57 -0
  1673. data/spec/models/types_reason_tag_spec.rb +105 -0
  1674. data/spec/models/types_remediation_spec.rb +57 -0
  1675. data/spec/models/types_results_filter_spec.rb +57 -0
  1676. data/spec/models/types_run_integration_task_request_spec.rb +81 -0
  1677. data/spec/models/types_service_now_deployment_spec.rb +57 -0
  1678. data/spec/models/types_service_now_deployments_response_spec.rb +63 -0
  1679. data/spec/models/types_service_now_service_data_spec.rb +99 -0
  1680. data/spec/models/types_service_now_service_deployments_spec.rb +57 -0
  1681. data/spec/models/types_service_now_service_spec.rb +183 -0
  1682. data/spec/models/types_service_now_services_response_spec.rb +63 -0
  1683. data/spec/models/types_service_service_artifact_spec.rb +57 -0
  1684. data/spec/models/types_service_service_business_application_spec.rb +57 -0
  1685. data/spec/models/types_service_service_configuration_spec.rb +57 -0
  1686. data/spec/models/types_service_service_dependency_spec.rb +57 -0
  1687. data/spec/models/types_service_service_framework_spec.rb +57 -0
  1688. data/spec/models/types_service_service_interface_spec.rb +57 -0
  1689. data/spec/models/types_service_service_library_spec.rb +57 -0
  1690. data/spec/models/types_service_service_tag_spec.rb +57 -0
  1691. data/spec/models/types_service_service_traits_spec.rb +57 -0
  1692. data/spec/models/types_snyk_metadata_spec.rb +63 -0
  1693. data/spec/models/types_sonatype_metadata_spec.rb +69 -0
  1694. data/spec/models/types_struct_spec.rb +51 -0
  1695. data/spec/models/types_tag_data_spec.rb +75 -0
  1696. data/spec/models/types_tag_entry_spec.rb +63 -0
  1697. data/spec/models/types_tag_spec.rb +99 -0
  1698. data/spec/models/types_tags_data_response_spec.rb +57 -0
  1699. data/spec/models/types_timestamp_spec.rb +57 -0
  1700. data/spec/models/types_trait_spec.rb +63 -0
  1701. data/spec/models/types_tuple_to_string_spec.rb +57 -0
  1702. data/spec/models/types_unique_tag_entry_spec.rb +69 -0
  1703. data/spec/models/types_update_integration_request_spec.rb +57 -0
  1704. data/spec/models/types_update_integration_task_request_spec.rb +51 -0
  1705. data/spec/models/types_upsert_business_application_request_spec.rb +57 -0
  1706. data/spec/models/v2_activity_spec.rb +6 -0
  1707. data/spec/models/v2_condition_groups_spec.rb +57 -0
  1708. data/spec/models/v2_condition_spec.rb +6 -0
  1709. data/spec/models/v2_definition_spec.rb +30 -0
  1710. data/spec/models/v2_for_loop_spec.rb +36 -0
  1711. data/spec/models/v2_loop_spec.rb +6 -0
  1712. data/spec/models/v2_model_spec.rb +99 -0
  1713. data/spec/models/vulncheck_epss_spec.rb +57 -0
  1714. data/spec/models/vulncheck_exploit_botnets_spec.rb +63 -0
  1715. data/spec/models/vulncheck_exploit_counts_spec.rb +63 -0
  1716. data/spec/models/vulncheck_exploit_cve_reference_spec.rb +63 -0
  1717. data/spec/models/vulncheck_exploit_details_spec.rb +129 -0
  1718. data/spec/models/vulncheck_exploit_ransomware_data_spec.rb +57 -0
  1719. data/spec/models/vulncheck_exploit_ransomware_spec.rb +57 -0
  1720. data/spec/models/vulncheck_exploit_record_spec.rb +93 -0
  1721. data/spec/models/vulncheck_exploit_threat_actor_spec.rb +93 -0
  1722. data/spec/models/vulncheck_exploit_timeline_spec.rb +123 -0
  1723. data/spec/models/vulncheck_exploit_trending_spec.rb +51 -0
  1724. data/spec/models/vulncheck_threat_actor_vendor_name_spec.rb +63 -0
  1725. data/spec/models/vulnerabilities_vulnerability_entity_sarif_response_spec.rb +63 -0
  1726. data/spec/models/workflow_request_spec.rb +51 -0
  1727. data/spec/models/workflow_response_spec.rb +63 -0
  1728. data/spec/spec_helper.rb +8 -0
  1729. metadata +2858 -1418
  1730. data/lib/crimson-falcon/api/alerts_api.rb +0 -603
  1731. data/lib/crimson-falcon/api/cloud_connect_aws_api.rb +0 -623
  1732. data/lib/crimson-falcon/api/cloud_snapshots_api.rb +0 -105
  1733. data/lib/crimson-falcon/api/configuration_assessment_api.rb +0 -183
  1734. data/lib/crimson-falcon/api/configuration_assessment_evaluation_logic_api.rb +0 -101
  1735. data/lib/crimson-falcon/api/container_alerts_api.rb +0 -222
  1736. data/lib/crimson-falcon/api/container_detections_api.rb +0 -408
  1737. data/lib/crimson-falcon/api/container_images_api.rb +0 -711
  1738. data/lib/crimson-falcon/api/container_packages_api.rb +0 -365
  1739. data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +0 -693
  1740. data/lib/crimson-falcon/api/cspm_registration_api.rb +0 -2516
  1741. data/lib/crimson-falcon/api/custom_ioa_api.rb +0 -1287
  1742. data/lib/crimson-falcon/api/custom_storage_api.rb +0 -590
  1743. data/lib/crimson-falcon/api/d4c_registration_api.rb +0 -1485
  1744. data/lib/crimson-falcon/api/detects_api.rb +0 -315
  1745. data/lib/crimson-falcon/api/device_control_policies_api.rb +0 -890
  1746. data/lib/crimson-falcon/api/discover_api.rb +0 -603
  1747. data/lib/crimson-falcon/api/discover_iot_api.rb +0 -180
  1748. data/lib/crimson-falcon/api/drift_indicators_api.rb +0 -350
  1749. data/lib/crimson-falcon/api/event_schema_api.rb +0 -219
  1750. data/lib/crimson-falcon/api/event_streams_api.rb +0 -179
  1751. data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +0 -1303
  1752. data/lib/crimson-falcon/api/falcon_container_api.rb +0 -94
  1753. data/lib/crimson-falcon/api/falcon_container_cli_api.rb +0 -105
  1754. data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -366
  1755. data/lib/crimson-falcon/api/falconx_sandbox_api.rb +0 -1032
  1756. data/lib/crimson-falcon/api/field_schema_api.rb +0 -164
  1757. data/lib/crimson-falcon/api/filevantage_api.rb +0 -1861
  1758. data/lib/crimson-falcon/api/firewall_management_api.rb +0 -2259
  1759. data/lib/crimson-falcon/api/firewall_policies_api.rb +0 -780
  1760. data/lib/crimson-falcon/api/foundry_logscale_api.rb +0 -959
  1761. data/lib/crimson-falcon/api/host_group_api.rb +0 -706
  1762. data/lib/crimson-falcon/api/hosts_api.rb +0 -859
  1763. data/lib/crimson-falcon/api/identity_entities_api.rb +0 -238
  1764. data/lib/crimson-falcon/api/identity_protection_api.rb +0 -101
  1765. data/lib/crimson-falcon/api/image_assessment_policies_api.rb +0 -738
  1766. data/lib/crimson-falcon/api/incidents_api.rb +0 -456
  1767. data/lib/crimson-falcon/api/installation_tokens_api.rb +0 -545
  1768. data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +0 -105
  1769. data/lib/crimson-falcon/api/intel_api.rb +0 -1359
  1770. data/lib/crimson-falcon/api/ioa_exclusions_api.rb +0 -369
  1771. data/lib/crimson-falcon/api/ioc_api.rb +0 -1132
  1772. data/lib/crimson-falcon/api/iocs_api.rb +0 -327
  1773. data/lib/crimson-falcon/api/kubernetes_protection_api.rb +0 -3875
  1774. data/lib/crimson-falcon/api/malquery_api.rb +0 -606
  1775. data/lib/crimson-falcon/api/message_center_api.rb +0 -729
  1776. data/lib/crimson-falcon/api/ml_exclusions_api.rb +0 -369
  1777. data/lib/crimson-falcon/api/mobile_enrollment_api.rb +0 -115
  1778. data/lib/crimson-falcon/api/mssp_api.rb +0 -2015
  1779. data/lib/crimson-falcon/api/oauth2_api.rb +0 -186
  1780. data/lib/crimson-falcon/api/ods_api.rb +0 -1094
  1781. data/lib/crimson-falcon/api/overwatch_dashboard_api.rb +0 -357
  1782. data/lib/crimson-falcon/api/prevention_policies_api.rb +0 -769
  1783. data/lib/crimson-falcon/api/provision_api.rb +0 -94
  1784. data/lib/crimson-falcon/api/quarantine_api.rb +0 -435
  1785. data/lib/crimson-falcon/api/quick_scan_api.rb +0 -300
  1786. data/lib/crimson-falcon/api/real_time_response_admin_api.rb +0 -1173
  1787. data/lib/crimson-falcon/api/real_time_response_api.rb +0 -1617
  1788. data/lib/crimson-falcon/api/real_time_response_audit_api.rb +0 -113
  1789. data/lib/crimson-falcon/api/recon_api.rb +0 -1754
  1790. data/lib/crimson-falcon/api/report_executions_api.rb +0 -299
  1791. data/lib/crimson-falcon/api/response_policies_api.rb +0 -769
  1792. data/lib/crimson-falcon/api/runtime_detections_api.rb +0 -106
  1793. data/lib/crimson-falcon/api/sample_uploads_api.rb +0 -805
  1794. data/lib/crimson-falcon/api/scheduled_reports_api.rb +0 -237
  1795. data/lib/crimson-falcon/api/sensor_download_api.rb +0 -352
  1796. data/lib/crimson-falcon/api/sensor_update_policies_api.rb +0 -1339
  1797. data/lib/crimson-falcon/api/sensor_visibility_exclusions_api.rb +0 -369
  1798. data/lib/crimson-falcon/api/spotlight_evaluation_logic_api.rb +0 -243
  1799. data/lib/crimson-falcon/api/spotlight_vulnerabilities_api.rb +0 -324
  1800. data/lib/crimson-falcon/api/tailored_intelligence_api.rb +0 -373
  1801. data/lib/crimson-falcon/api/unidentified_containers_api.rb +0 -222
  1802. data/lib/crimson-falcon/api/user_management_api.rb +0 -1505
  1803. data/lib/crimson-falcon/api/workflows_api.rb +0 -1037
  1804. data/lib/crimson-falcon/api/zero_trust_assessment_api.rb +0 -227
  1805. data/lib/crimson-falcon/models/changes_get_changes_response.rb +0 -266
  1806. data/lib/crimson-falcon/models/custom_type1255839303.rb +0 -271
  1807. data/lib/crimson-falcon/models/custom_type3191042536.rb +0 -271
  1808. data/lib/crimson-falcon/models/detects_alert.rb +0 -651
  1809. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +0 -267
  1810. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +0 -267
  1811. data/lib/crimson-falcon/models/domain_api_entity_matched_v1.rb +0 -252
  1812. data/lib/crimson-falcon/models/domain_api_evaluation_logic_host_info_v1.rb +0 -242
  1813. data/lib/crimson-falcon/models/domain_botnet_config_source.rb +0 -351
  1814. data/lib/crimson-falcon/models/domain_botnet_inject.rb +0 -255
  1815. data/lib/crimson-falcon/models/domain_ddos_attack_source.rb +0 -423
  1816. data/lib/crimson-falcon/models/domain_ddos_target_details.rb +0 -376
  1817. data/lib/crimson-falcon/models/domain_entity.rb +0 -270
  1818. data/lib/crimson-falcon/models/domain_event.rb +0 -400
  1819. data/lib/crimson-falcon/models/domain_event_entities_response.rb +0 -266
  1820. data/lib/crimson-falcon/models/domain_key_value_pair.rb +0 -253
  1821. data/lib/crimson-falcon/models/domain_matched_rule.rb +0 -255
  1822. data/lib/crimson-falcon/models/domain_pastebin_text_source.rb +0 -294
  1823. data/lib/crimson-falcon/models/domain_rule_entities_response.rb +0 -266
  1824. data/lib/crimson-falcon/models/domain_tweet_source.rb +0 -294
  1825. data/lib/crimson-falcon/models/domain_vulnerability_actor.rb +0 -245
  1826. data/lib/crimson-falcon/models/domain_vulnerability_affected_product.rb +0 -245
  1827. data/lib/crimson-falcon/models/domain_vulnerability_related_threat.rb +0 -247
  1828. data/lib/crimson-falcon/models/domain_vulnerability_report.rb +0 -245
  1829. data/lib/crimson-falcon/models/msaspec_error.rb +0 -262
  1830. data/lib/crimson-falcon/models/msaspec_meta_info.rb +0 -280
  1831. data/lib/crimson-falcon/models/msaspec_paging.rb +0 -267
  1832. data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +0 -248
  1833. data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +0 -241
  1834. data/lib/crimson-falcon/models/v2_condition_parameters.rb +0 -241
  1835. data/spec/api/alerts_api_spec.rb +0 -152
  1836. data/spec/api/cloud_connect_aws_api_spec.rb +0 -157
  1837. data/spec/api/cloud_snapshots_api_spec.rb +0 -63
  1838. data/spec/api/configuration_assessment_api_spec.rb +0 -78
  1839. data/spec/api/configuration_assessment_evaluation_logic_api_spec.rb +0 -63
  1840. data/spec/api/container_alerts_api_spec.rb +0 -88
  1841. data/spec/api/container_detections_api_spec.rb +0 -125
  1842. data/spec/api/container_images_api_spec.rb +0 -182
  1843. data/spec/api/container_packages_api_spec.rb +0 -119
  1844. data/spec/api/container_vulnerabilities_api_spec.rb +0 -184
  1845. data/spec/api/cspm_registration_api_spec.rb +0 -480
  1846. data/spec/api/custom_ioa_api_spec.rb +0 -279
  1847. data/spec/api/custom_storage_api_spec.rb +0 -133
  1848. data/spec/api/d4c_registration_api_spec.rb +0 -300
  1849. data/spec/api/detects_api_spec.rb +0 -100
  1850. data/spec/api/device_control_policies_api_spec.rb +0 -198
  1851. data/spec/api/discover_api_spec.rb +0 -152
  1852. data/spec/api/discover_iot_api_spec.rb +0 -77
  1853. data/spec/api/drift_indicators_api_spec.rb +0 -114
  1854. data/spec/api/event_schema_api_spec.rb +0 -87
  1855. data/spec/api/event_streams_api_spec.rb +0 -77
  1856. data/spec/api/falcon_complete_dashboard_api_spec.rb +0 -286
  1857. data/spec/api/falcon_container_api_spec.rb +0 -62
  1858. data/spec/api/falcon_container_cli_api_spec.rb +0 -63
  1859. data/spec/api/falcon_container_image_api_spec.rb +0 -110
  1860. data/spec/api/falconx_sandbox_api_spec.rb +0 -235
  1861. data/spec/api/field_schema_api_spec.rb +0 -77
  1862. data/spec/api/filevantage_api_spec.rb +0 -386
  1863. data/spec/api/firewall_management_api_spec.rb +0 -462
  1864. data/spec/api/firewall_policies_api_spec.rb +0 -178
  1865. data/spec/api/foundry_logscale_api_spec.rb +0 -226
  1866. data/spec/api/host_group_api_spec.rb +0 -167
  1867. data/spec/api/hosts_api_spec.rb +0 -197
  1868. data/spec/api/identity_entities_api_spec.rb +0 -88
  1869. data/spec/api/identity_protection_api_spec.rb +0 -63
  1870. data/spec/api/image_assessment_policies_api_spec.rb +0 -172
  1871. data/spec/api/incidents_api_spec.rb +0 -129
  1872. data/spec/api/installation_tokens_api_spec.rb +0 -146
  1873. data/spec/api/installation_tokens_settings_api_spec.rb +0 -63
  1874. data/spec/api/intel_api_spec.rb +0 -315
  1875. data/spec/api/ioa_exclusions_api_spec.rb +0 -111
  1876. data/spec/api/ioc_api_spec.rb +0 -259
  1877. data/spec/api/iocs_api_spec.rb +0 -104
  1878. data/spec/api/kubernetes_protection_api_spec.rb +0 -757
  1879. data/spec/api/malquery_api_spec.rb +0 -150
  1880. data/spec/api/message_center_api_spec.rb +0 -172
  1881. data/spec/api/ml_exclusions_api_spec.rb +0 -111
  1882. data/spec/api/mobile_enrollment_api_spec.rb +0 -65
  1883. data/spec/api/mssp_api_spec.rb +0 -402
  1884. data/spec/api/oauth2_api_spec.rb +0 -77
  1885. data/spec/api/ods_api_spec.rb +0 -241
  1886. data/spec/api/overwatch_dashboard_api_spec.rb +0 -107
  1887. data/spec/api/prevention_policies_api_spec.rb +0 -177
  1888. data/spec/api/provision_api_spec.rb +0 -62
  1889. data/spec/api/quarantine_api_spec.rb +0 -122
  1890. data/spec/api/quick_scan_api_spec.rb +0 -99
  1891. data/spec/api/real_time_response_admin_api_spec.rb +0 -257
  1892. data/spec/api/real_time_response_api_spec.rb +0 -333
  1893. data/spec/api/real_time_response_audit_api_spec.rb +0 -67
  1894. data/spec/api/recon_api_spec.rb +0 -355
  1895. data/spec/api/report_executions_api_spec.rb +0 -100
  1896. data/spec/api/response_policies_api_spec.rb +0 -177
  1897. data/spec/api/runtime_detections_api_spec.rb +0 -66
  1898. data/spec/api/sample_uploads_api_spec.rb +0 -191
  1899. data/spec/api/scheduled_reports_api_spec.rb +0 -89
  1900. data/spec/api/sensor_download_api_spec.rb +0 -112
  1901. data/spec/api/sensor_update_policies_api_spec.rb +0 -274
  1902. data/spec/api/sensor_visibility_exclusions_api_spec.rb +0 -111
  1903. data/spec/api/spotlight_evaluation_logic_api_spec.rb +0 -91
  1904. data/spec/api/spotlight_vulnerabilities_api_spec.rb +0 -103
  1905. data/spec/api/tailored_intelligence_api_spec.rb +0 -115
  1906. data/spec/api/unidentified_containers_api_spec.rb +0 -88
  1907. data/spec/api/user_management_api_spec.rb +0 -308
  1908. data/spec/api/workflows_api_spec.rb +0 -224
  1909. data/spec/api/zero_trust_assessment_api_spec.rb +0 -87
  1910. data/spec/api_client_spec.rb +0 -245
  1911. data/spec/configuration_spec.rb +0 -59
  1912. data/spec/models/changes_get_changes_response_spec.rb +0 -63
  1913. data/spec/models/custom_type1255839303_spec.rb +0 -63
  1914. data/spec/models/custom_type3191042536_spec.rb +0 -63
  1915. data/spec/models/detects_alert_spec.rb +0 -291
  1916. data/spec/models/detectsapi_post_entities_alerts_v1_response_spec.rb +0 -63
  1917. data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +0 -63
  1918. data/spec/models/domain_api_entity_matched_v1_spec.rb +0 -63
  1919. data/spec/models/domain_api_evaluation_logic_host_info_v1_spec.rb +0 -51
  1920. data/spec/models/domain_botnet_config_source_spec.rb +0 -93
  1921. data/spec/models/domain_botnet_inject_spec.rb +0 -57
  1922. data/spec/models/domain_ddos_attack_source_spec.rb +0 -123
  1923. data/spec/models/domain_ddos_target_details_spec.rb +0 -105
  1924. data/spec/models/domain_entity_spec.rb +0 -69
  1925. data/spec/models/domain_event_entities_response_spec.rb +0 -63
  1926. data/spec/models/domain_event_spec.rb +0 -129
  1927. data/spec/models/domain_key_value_pair_spec.rb +0 -57
  1928. data/spec/models/domain_matched_rule_spec.rb +0 -63
  1929. data/spec/models/domain_pastebin_text_source_spec.rb +0 -75
  1930. data/spec/models/domain_rule_entities_response_spec.rb +0 -63
  1931. data/spec/models/domain_tweet_source_spec.rb +0 -75
  1932. data/spec/models/domain_vulnerability_actor_spec.rb +0 -57
  1933. data/spec/models/domain_vulnerability_affected_product_spec.rb +0 -57
  1934. data/spec/models/domain_vulnerability_related_threat_spec.rb +0 -57
  1935. data/spec/models/domain_vulnerability_report_spec.rb +0 -57
  1936. data/spec/models/msaspec_error_spec.rb +0 -63
  1937. data/spec/models/msaspec_meta_info_spec.rb +0 -75
  1938. data/spec/models/msaspec_paging_spec.rb +0 -63
  1939. data/spec/models/registration_gcp_account_patch_request_spec.rb +0 -51
  1940. data/spec/models/registration_gcp_account_patch_spec.rb +0 -57
  1941. data/spec/models/v2_condition_parameters_spec.rb +0 -51
@@ -0,0 +1,2201 @@
1
+ =begin
2
+ Crimson Falcon - Ruby Client SDK
3
+
4
+ Code auto-generated by OpenAPI Generator; DO NOT EDIT.
5
+
6
+ MIT License
7
+
8
+ Copyright (c) 2023 Crowdstrike
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ =end
29
+
30
+ require 'cgi'
31
+
32
+ module Falcon
33
+ class Filevantage
34
+ attr_accessor :api_client
35
+
36
+ def initialize(api_client = ApiClient.default)
37
+ @api_client = api_client
38
+ end
39
+ # Creates a new policy of the specified type. New policies are always added at the end of the precedence list for the provided policy type.
40
+ # After they are created, host and rule groups can be assigned, scheduled exclusions can be defined, and policy precedence can be set.
41
+ # @param body [PoliciesCreateRequest] Create a new policy. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `platform` must be one of `Windows`, `Linux`, or `Mac` Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
42
+ # @param [Hash] opts the optional parameters
43
+ # @return [PoliciesResponse]
44
+ def create_policies(body, opts = {})
45
+ data, _status_code, _headers = create_policies_with_http_info(body, opts)
46
+ data
47
+ end
48
+
49
+ # Creates a new policy of the specified type. New policies are always added at the end of the precedence list for the provided policy type.
50
+ # After they are created, host and rule groups can be assigned, scheduled exclusions can be defined, and policy precedence can be set.
51
+ # @param body [PoliciesCreateRequest] Create a new policy. * `name` must be between 1 and 100 characters. * `description` can be between 0 and 500 characters. * `platform` must be one of `Windows`, `Linux`, or `Mac` Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
54
+ def create_policies_with_http_info(body, opts = {})
55
+ if @api_client.config.debugging
56
+ @api_client.config.logger.debug 'Calling API: Filevantage.create_policies ...'
57
+ end
58
+ # verify the required parameter 'body' is set
59
+ if @api_client.config.client_side_validation && body.nil?
60
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.create_policies"
61
+ end
62
+ # resource path
63
+ local_var_path = '/filevantage/entities/policies/v1'
64
+
65
+ # query parameters
66
+ query_params = opts[:query_params] || {}
67
+
68
+ # header parameters
69
+ header_params = opts[:header_params] || {}
70
+ # HTTP header 'Accept' (if needed)
71
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
72
+ # HTTP header 'Content-Type'
73
+ content_type = @api_client.select_header_content_type(['application/json'])
74
+ if !content_type.nil?
75
+ header_params['Content-Type'] = content_type
76
+ end
77
+
78
+ # form parameters
79
+ form_params = opts[:form_params] || {}
80
+
81
+ # http body (model)
82
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
83
+
84
+ # return_type
85
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
86
+
87
+ # auth_names
88
+ auth_names = opts[:debug_auth_names] || ['oauth2']
89
+
90
+ new_options = opts.merge(
91
+ :operation => :"Filevantage.create_policies",
92
+ :header_params => header_params,
93
+ :query_params => query_params,
94
+ :form_params => form_params,
95
+ :body => post_body,
96
+ :auth_names => auth_names,
97
+ :return_type => return_type
98
+ )
99
+
100
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
101
+ if @api_client.config.debugging
102
+ @api_client.config.logger.debug "API called: Filevantage#create_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
103
+ end
104
+ return data, status_code, headers
105
+ end
106
+
107
+ # Creates a new rule group of the specified type.
108
+ # Individual rules can be assigned to a rule group after it has been created.
109
+ # @param body [RulegroupsCreateRequest] Create a new rule group of a specific type. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;type&#x60; must be one of &#x60;WindowsFiles&#x60;, &#x60;WindowsRegistry&#x60;, &#x60;LinuxFiles&#x60; or &#x60;MacFiles&#x60;. * &#x60;description&#x60; can be between 0 and 500 characters. Note: rules are added/removed from rule groups using their dedicated end-points.
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [RulegroupsResponse]
112
+ def create_rule_groups(body, opts = {})
113
+ data, _status_code, _headers = create_rule_groups_with_http_info(body, opts)
114
+ data
115
+ end
116
+
117
+ # Creates a new rule group of the specified type.
118
+ # Individual rules can be assigned to a rule group after it has been created.
119
+ # @param body [RulegroupsCreateRequest] Create a new rule group of a specific type. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;type&#x60; must be one of &#x60;WindowsFiles&#x60;, &#x60;WindowsRegistry&#x60;, &#x60;LinuxFiles&#x60; or &#x60;MacFiles&#x60;. * &#x60;description&#x60; can be between 0 and 500 characters. Note: rules are added/removed from rule groups using their dedicated end-points.
120
+ # @param [Hash] opts the optional parameters
121
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
122
+ def create_rule_groups_with_http_info(body, opts = {})
123
+ if @api_client.config.debugging
124
+ @api_client.config.logger.debug 'Calling API: Filevantage.create_rule_groups ...'
125
+ end
126
+ # verify the required parameter 'body' is set
127
+ if @api_client.config.client_side_validation && body.nil?
128
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.create_rule_groups"
129
+ end
130
+ # resource path
131
+ local_var_path = '/filevantage/entities/rule-groups/v1'
132
+
133
+ # query parameters
134
+ query_params = opts[:query_params] || {}
135
+
136
+ # header parameters
137
+ header_params = opts[:header_params] || {}
138
+ # HTTP header 'Accept' (if needed)
139
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
140
+ # HTTP header 'Content-Type'
141
+ content_type = @api_client.select_header_content_type(['application/json'])
142
+ if !content_type.nil?
143
+ header_params['Content-Type'] = content_type
144
+ end
145
+
146
+ # form parameters
147
+ form_params = opts[:form_params] || {}
148
+
149
+ # http body (model)
150
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
151
+
152
+ # return_type
153
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
154
+
155
+ # auth_names
156
+ auth_names = opts[:debug_auth_names] || ['oauth2']
157
+
158
+ new_options = opts.merge(
159
+ :operation => :"Filevantage.create_rule_groups",
160
+ :header_params => header_params,
161
+ :query_params => query_params,
162
+ :form_params => form_params,
163
+ :body => post_body,
164
+ :auth_names => auth_names,
165
+ :return_type => return_type
166
+ )
167
+
168
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
169
+ if @api_client.config.debugging
170
+ @api_client.config.logger.debug "API called: Filevantage#create_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
171
+ end
172
+ return data, status_code, headers
173
+ end
174
+
175
+ # Creates a new rule configuration within the specified rule group.
176
+ # Creates a new rule configuration within the specified rule group.
177
+ # @param body [RulegroupsRule] Create a new rule configuration for the specified rule group. * &#x60;id&#x60; is not supported for creation of a rule, the new id of the created rule will be included in the response. * &#x60;rule_group_id&#x60; to add the new rule configuration. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;path&#x60; representing the file system or registry path to monitor. * must be between 1 and 250 characters. * All paths must end with the path separator, e.g. c:\\windows\\ /usr/bin/ * &#x60;severity&#x60; to categorize change events produced by this rule; must be one of: &#x60;Low&#x60;, &#x60;Medium&#x60;, &#x60;High&#x60; or &#x60;Critical&#x60; * &#x60;depth&#x60; below the base path to monitor; must be one of: &#x60;1&#x60;, &#x60;2&#x60;, &#x60;3&#x60;, &#x60;4&#x60;, &#x60;5&#x60; or &#x60;ANY&#x60; * &#x60;precedence&#x60; - is not supported for creation of a rule, new rules will be added last in precedence order. Falcon GLOB syntax is supported for the following 6 properties. Allowed rule group configuration is based on the type of rule group the rule group is added to. * &#x60;include&#x60; represents the files, directories, registry keys, or registry values that will be monitored. * &#x60;exclude&#x60; represents the files, directories, registry keys, or registry values that will &#x60;NOT&#x60; be monitored. * &#x60;include_users&#x60; represents the changes performed by specific users that will be monitored. * &#x60;exclude_users&#x60; represents the changes performed by specific users that will &#x60;NOT&#x60; be monitored. * &#x60;include_processes&#x60; represents the changes performed by specific processes that will be monitored. * &#x60;exclude_processes&#x60; represents the changes performed by specific processes that will be &#x60;NOT&#x60; monitored. * &#x60;content_files&#x60; represents the files whose content will be monitored. Listed files must match the file include pattern and not match the file exclude pattern * &#x60;content_registry_values&#x60; represents the registry values whose content will be monitored. Listed registry values must match the registry include pattern and not match the registry exclude pattern * &#x60;enable_content_capture&#x60; * &#x60;enable_hash_capture&#x60; File system directory monitoring: * &#x60;watch_delete_directory_changes&#x60; * &#x60;watch_create_directory_changes&#x60; * &#x60;watch_rename_directory_changes&#x60; * &#x60;watch_attributes_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) File system file monitoring: * &#x60;watch_rename_file_changes&#x60; * &#x60;watch_write_file_changes&#x60; * &#x60;watch_create_file_changes&#x60; * &#x60;watch_delete_file_changes&#x60; * &#x60;watch_attributes_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) Windows registry key and value monitoring: * &#x60;watch_create_key_changes&#x60; * &#x60;watch_delete_key_changes&#x60; * &#x60;watch_rename_key_changes&#x60; * &#x60;watch_set_value_changes&#x60; * &#x60;watch_permissions_key_changes&#x60; * &#x60;watch_delete_value_changes&#x60; * &#x60;watch_create_file_changes&#x60;
178
+ # @param [Hash] opts the optional parameters
179
+ # @return [RulegroupsRulesResponse]
180
+ def create_rules(body, opts = {})
181
+ data, _status_code, _headers = create_rules_with_http_info(body, opts)
182
+ data
183
+ end
184
+
185
+ # Creates a new rule configuration within the specified rule group.
186
+ # Creates a new rule configuration within the specified rule group.
187
+ # @param body [RulegroupsRule] Create a new rule configuration for the specified rule group. * &#x60;id&#x60; is not supported for creation of a rule, the new id of the created rule will be included in the response. * &#x60;rule_group_id&#x60; to add the new rule configuration. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;path&#x60; representing the file system or registry path to monitor. * must be between 1 and 250 characters. * All paths must end with the path separator, e.g. c:\\windows\\ /usr/bin/ * &#x60;severity&#x60; to categorize change events produced by this rule; must be one of: &#x60;Low&#x60;, &#x60;Medium&#x60;, &#x60;High&#x60; or &#x60;Critical&#x60; * &#x60;depth&#x60; below the base path to monitor; must be one of: &#x60;1&#x60;, &#x60;2&#x60;, &#x60;3&#x60;, &#x60;4&#x60;, &#x60;5&#x60; or &#x60;ANY&#x60; * &#x60;precedence&#x60; - is not supported for creation of a rule, new rules will be added last in precedence order. Falcon GLOB syntax is supported for the following 6 properties. Allowed rule group configuration is based on the type of rule group the rule group is added to. * &#x60;include&#x60; represents the files, directories, registry keys, or registry values that will be monitored. * &#x60;exclude&#x60; represents the files, directories, registry keys, or registry values that will &#x60;NOT&#x60; be monitored. * &#x60;include_users&#x60; represents the changes performed by specific users that will be monitored. * &#x60;exclude_users&#x60; represents the changes performed by specific users that will &#x60;NOT&#x60; be monitored. * &#x60;include_processes&#x60; represents the changes performed by specific processes that will be monitored. * &#x60;exclude_processes&#x60; represents the changes performed by specific processes that will be &#x60;NOT&#x60; monitored. * &#x60;content_files&#x60; represents the files whose content will be monitored. Listed files must match the file include pattern and not match the file exclude pattern * &#x60;content_registry_values&#x60; represents the registry values whose content will be monitored. Listed registry values must match the registry include pattern and not match the registry exclude pattern * &#x60;enable_content_capture&#x60; * &#x60;enable_hash_capture&#x60; File system directory monitoring: * &#x60;watch_delete_directory_changes&#x60; * &#x60;watch_create_directory_changes&#x60; * &#x60;watch_rename_directory_changes&#x60; * &#x60;watch_attributes_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) File system file monitoring: * &#x60;watch_rename_file_changes&#x60; * &#x60;watch_write_file_changes&#x60; * &#x60;watch_create_file_changes&#x60; * &#x60;watch_delete_file_changes&#x60; * &#x60;watch_attributes_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) Windows registry key and value monitoring: * &#x60;watch_create_key_changes&#x60; * &#x60;watch_delete_key_changes&#x60; * &#x60;watch_rename_key_changes&#x60; * &#x60;watch_set_value_changes&#x60; * &#x60;watch_permissions_key_changes&#x60; * &#x60;watch_delete_value_changes&#x60; * &#x60;watch_create_file_changes&#x60;
188
+ # @param [Hash] opts the optional parameters
189
+ # @return [Array<(RulegroupsRulesResponse, Integer, Hash)>] RulegroupsRulesResponse data, response status code and response headers
190
+ def create_rules_with_http_info(body, opts = {})
191
+ if @api_client.config.debugging
192
+ @api_client.config.logger.debug 'Calling API: Filevantage.create_rules ...'
193
+ end
194
+ # verify the required parameter 'body' is set
195
+ if @api_client.config.client_side_validation && body.nil?
196
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.create_rules"
197
+ end
198
+ # resource path
199
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
200
+
201
+ # query parameters
202
+ query_params = opts[:query_params] || {}
203
+
204
+ # header parameters
205
+ header_params = opts[:header_params] || {}
206
+ # HTTP header 'Accept' (if needed)
207
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
208
+ # HTTP header 'Content-Type'
209
+ content_type = @api_client.select_header_content_type(['application/json'])
210
+ if !content_type.nil?
211
+ header_params['Content-Type'] = content_type
212
+ end
213
+
214
+ # form parameters
215
+ form_params = opts[:form_params] || {}
216
+
217
+ # http body (model)
218
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
219
+
220
+ # return_type
221
+ return_type = opts[:debug_return_type] || 'RulegroupsRulesResponse'
222
+
223
+ # auth_names
224
+ auth_names = opts[:debug_auth_names] || ['oauth2']
225
+
226
+ new_options = opts.merge(
227
+ :operation => :"Filevantage.create_rules",
228
+ :header_params => header_params,
229
+ :query_params => query_params,
230
+ :form_params => form_params,
231
+ :body => post_body,
232
+ :auth_names => auth_names,
233
+ :return_type => return_type
234
+ )
235
+
236
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
237
+ if @api_client.config.debugging
238
+ @api_client.config.logger.debug "API called: Filevantage#create_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
239
+ end
240
+ return data, status_code, headers
241
+ end
242
+
243
+ # Creates a new scheduled exclusion configuration for the provided policy id.
244
+ # Creates a new scheduled exclusion configuration for the provided policy id.
245
+ # @param body [ScheduledexclusionsCreateRequest] Create a new scheduled exclusion configuration for the specified policy. * &#x60;policy_id&#x60; to add the scheduled exclusion to. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;users&#x60; can be between 0 and 500 characters representing a comma separated list of user to exclude their changes. * admin* excludes changes made by all usernames that begin with admin. Falon GLOB syntax is supported. * &#x60;processes&#x60; can be between 0 and 500 characters representing a comma separated list of processes to exclude their changes. * **\\RunMe.exe or **/RunMe.sh excludes changes made by RunMe.exe or RunMe.sh in any location. * &#x60;schedule_start&#x60; must be provided to indicate the start of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;schedule_end&#x60; optionally provided to indicate the end of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;timezone&#x60; must be provided to indicate the TimeZone Name set for the provided &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; values. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. * &#x60;repeated&#x60; optionally provided to indicate that the exclusion is applied repeatedly within the &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; time. * &#x60;start_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;end_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;all_day&#x60; must be &#x60;true&#x60; or &#x60;false&#x60; to indicate the exclusion is applied all day. * &#x60;frequency&#x60; must be one of &#x60;daily&#x60;, &#x60;weekly&#x60; or &#x60;monthly&#x60;. * &#x60;occurrence&#x60; must be one of the following when &#x60;frequency&#x60; is set to &#x60;monthly&#x60;: * &#x60;1st&#x60;, &#x60;2nd&#x60;, &#x60;3rd&#x60;, &#x60;4th&#x60; or &#x60;Last&#x60; represents the week. * &#x60;Days&#x60; represents specific calendar days. * &#x60;weekly_days&#x60; must be one or more of &#x60;Monday&#x60;, &#x60;Tuesday&#x60;, &#x60;Wednesday&#x60;, &#x60;Thursday&#x60;, &#x60;Friday&#x60;, &#x60;Saturday&#x60; or &#x60;Sunday&#x60; when &#x60;frequency&#x60; is set to &#x60;weekly&#x60; or &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is NOT set to &#x60;Days&#x60;. * &#x60;monthly_days&#x60; must be set to one or more calendar days, between 1 and 31 when &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is set to &#x60;Days&#x60;.
246
+ # @param [Hash] opts the optional parameters
247
+ # @return [ScheduledexclusionsResponse]
248
+ def create_scheduled_exclusions(body, opts = {})
249
+ data, _status_code, _headers = create_scheduled_exclusions_with_http_info(body, opts)
250
+ data
251
+ end
252
+
253
+ # Creates a new scheduled exclusion configuration for the provided policy id.
254
+ # Creates a new scheduled exclusion configuration for the provided policy id.
255
+ # @param body [ScheduledexclusionsCreateRequest] Create a new scheduled exclusion configuration for the specified policy. * &#x60;policy_id&#x60; to add the scheduled exclusion to. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;users&#x60; can be between 0 and 500 characters representing a comma separated list of user to exclude their changes. * admin* excludes changes made by all usernames that begin with admin. Falon GLOB syntax is supported. * &#x60;processes&#x60; can be between 0 and 500 characters representing a comma separated list of processes to exclude their changes. * **\\RunMe.exe or **/RunMe.sh excludes changes made by RunMe.exe or RunMe.sh in any location. * &#x60;schedule_start&#x60; must be provided to indicate the start of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;schedule_end&#x60; optionally provided to indicate the end of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;timezone&#x60; must be provided to indicate the TimeZone Name set for the provided &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; values. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. * &#x60;repeated&#x60; optionally provided to indicate that the exclusion is applied repeatedly within the &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; time. * &#x60;start_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;end_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;all_day&#x60; must be &#x60;true&#x60; or &#x60;false&#x60; to indicate the exclusion is applied all day. * &#x60;frequency&#x60; must be one of &#x60;daily&#x60;, &#x60;weekly&#x60; or &#x60;monthly&#x60;. * &#x60;occurrence&#x60; must be one of the following when &#x60;frequency&#x60; is set to &#x60;monthly&#x60;: * &#x60;1st&#x60;, &#x60;2nd&#x60;, &#x60;3rd&#x60;, &#x60;4th&#x60; or &#x60;Last&#x60; represents the week. * &#x60;Days&#x60; represents specific calendar days. * &#x60;weekly_days&#x60; must be one or more of &#x60;Monday&#x60;, &#x60;Tuesday&#x60;, &#x60;Wednesday&#x60;, &#x60;Thursday&#x60;, &#x60;Friday&#x60;, &#x60;Saturday&#x60; or &#x60;Sunday&#x60; when &#x60;frequency&#x60; is set to &#x60;weekly&#x60; or &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is NOT set to &#x60;Days&#x60;. * &#x60;monthly_days&#x60; must be set to one or more calendar days, between 1 and 31 when &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is set to &#x60;Days&#x60;.
256
+ # @param [Hash] opts the optional parameters
257
+ # @return [Array<(ScheduledexclusionsResponse, Integer, Hash)>] ScheduledexclusionsResponse data, response status code and response headers
258
+ def create_scheduled_exclusions_with_http_info(body, opts = {})
259
+ if @api_client.config.debugging
260
+ @api_client.config.logger.debug 'Calling API: Filevantage.create_scheduled_exclusions ...'
261
+ end
262
+ # verify the required parameter 'body' is set
263
+ if @api_client.config.client_side_validation && body.nil?
264
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.create_scheduled_exclusions"
265
+ end
266
+ # resource path
267
+ local_var_path = '/filevantage/entities/policy-scheduled-exclusions/v1'
268
+
269
+ # query parameters
270
+ query_params = opts[:query_params] || {}
271
+
272
+ # header parameters
273
+ header_params = opts[:header_params] || {}
274
+ # HTTP header 'Accept' (if needed)
275
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
276
+ # HTTP header 'Content-Type'
277
+ content_type = @api_client.select_header_content_type(['application/json'])
278
+ if !content_type.nil?
279
+ header_params['Content-Type'] = content_type
280
+ end
281
+
282
+ # form parameters
283
+ form_params = opts[:form_params] || {}
284
+
285
+ # http body (model)
286
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
287
+
288
+ # return_type
289
+ return_type = opts[:debug_return_type] || 'ScheduledexclusionsResponse'
290
+
291
+ # auth_names
292
+ auth_names = opts[:debug_auth_names] || ['oauth2']
293
+
294
+ new_options = opts.merge(
295
+ :operation => :"Filevantage.create_scheduled_exclusions",
296
+ :header_params => header_params,
297
+ :query_params => query_params,
298
+ :form_params => form_params,
299
+ :body => post_body,
300
+ :auth_names => auth_names,
301
+ :return_type => return_type
302
+ )
303
+
304
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
305
+ if @api_client.config.debugging
306
+ @api_client.config.logger.debug "API called: Filevantage#create_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
307
+ end
308
+ return data, status_code, headers
309
+ end
310
+
311
+ # Deletes 1 or more policies.
312
+ # Only disabled policies are allowed to be deleted.
313
+ # @param ids [Array<String>] One or more (up to 500) policy ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
314
+ # @param [Hash] opts the optional parameters
315
+ # @return [PoliciesDeleteResponse]
316
+ def delete_policies(ids, opts = {})
317
+ data, _status_code, _headers = delete_policies_with_http_info(ids, opts)
318
+ data
319
+ end
320
+
321
+ # Deletes 1 or more policies.
322
+ # Only disabled policies are allowed to be deleted.
323
+ # @param ids [Array<String>] One or more (up to 500) policy ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
324
+ # @param [Hash] opts the optional parameters
325
+ # @return [Array<(PoliciesDeleteResponse, Integer, Hash)>] PoliciesDeleteResponse data, response status code and response headers
326
+ def delete_policies_with_http_info(ids, opts = {})
327
+ if @api_client.config.debugging
328
+ @api_client.config.logger.debug 'Calling API: Filevantage.delete_policies ...'
329
+ end
330
+ # verify the required parameter 'ids' is set
331
+ if @api_client.config.client_side_validation && ids.nil?
332
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.delete_policies"
333
+ end
334
+ # resource path
335
+ local_var_path = '/filevantage/entities/policies/v1'
336
+
337
+ # query parameters
338
+ query_params = opts[:query_params] || {}
339
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
340
+
341
+ # header parameters
342
+ header_params = opts[:header_params] || {}
343
+ # HTTP header 'Accept' (if needed)
344
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
345
+
346
+ # form parameters
347
+ form_params = opts[:form_params] || {}
348
+
349
+ # http body (model)
350
+ post_body = opts[:debug_body]
351
+
352
+ # return_type
353
+ return_type = opts[:debug_return_type] || 'PoliciesDeleteResponse'
354
+
355
+ # auth_names
356
+ auth_names = opts[:debug_auth_names] || ['oauth2']
357
+
358
+ new_options = opts.merge(
359
+ :operation => :"Filevantage.delete_policies",
360
+ :header_params => header_params,
361
+ :query_params => query_params,
362
+ :form_params => form_params,
363
+ :body => post_body,
364
+ :auth_names => auth_names,
365
+ :return_type => return_type
366
+ )
367
+
368
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
369
+ if @api_client.config.debugging
370
+ @api_client.config.logger.debug "API called: Filevantage#delete_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
371
+ end
372
+ return data, status_code, headers
373
+ end
374
+
375
+ # Deletes 1 or more rule groups
376
+ # The rule groups represented by the provided ids and all rules that they contain will be deleted. Rule groups can only be deleted if they are not assigned to a policy.
377
+ # @param ids [Array<String>] One or more (up to 500) rule group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
378
+ # @param [Hash] opts the optional parameters
379
+ # @return [RulegroupsDeleteResponse]
380
+ def delete_rule_groups(ids, opts = {})
381
+ data, _status_code, _headers = delete_rule_groups_with_http_info(ids, opts)
382
+ data
383
+ end
384
+
385
+ # Deletes 1 or more rule groups
386
+ # The rule groups represented by the provided ids and all rules that they contain will be deleted. Rule groups can only be deleted if they are not assigned to a policy.
387
+ # @param ids [Array<String>] One or more (up to 500) rule group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
388
+ # @param [Hash] opts the optional parameters
389
+ # @return [Array<(RulegroupsDeleteResponse, Integer, Hash)>] RulegroupsDeleteResponse data, response status code and response headers
390
+ def delete_rule_groups_with_http_info(ids, opts = {})
391
+ if @api_client.config.debugging
392
+ @api_client.config.logger.debug 'Calling API: Filevantage.delete_rule_groups ...'
393
+ end
394
+ # verify the required parameter 'ids' is set
395
+ if @api_client.config.client_side_validation && ids.nil?
396
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.delete_rule_groups"
397
+ end
398
+ # resource path
399
+ local_var_path = '/filevantage/entities/rule-groups/v1'
400
+
401
+ # query parameters
402
+ query_params = opts[:query_params] || {}
403
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
404
+
405
+ # header parameters
406
+ header_params = opts[:header_params] || {}
407
+ # HTTP header 'Accept' (if needed)
408
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
409
+
410
+ # form parameters
411
+ form_params = opts[:form_params] || {}
412
+
413
+ # http body (model)
414
+ post_body = opts[:debug_body]
415
+
416
+ # return_type
417
+ return_type = opts[:debug_return_type] || 'RulegroupsDeleteResponse'
418
+
419
+ # auth_names
420
+ auth_names = opts[:debug_auth_names] || ['oauth2']
421
+
422
+ new_options = opts.merge(
423
+ :operation => :"Filevantage.delete_rule_groups",
424
+ :header_params => header_params,
425
+ :query_params => query_params,
426
+ :form_params => form_params,
427
+ :body => post_body,
428
+ :auth_names => auth_names,
429
+ :return_type => return_type
430
+ )
431
+
432
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
433
+ if @api_client.config.debugging
434
+ @api_client.config.logger.debug "API called: Filevantage#delete_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
435
+ end
436
+ return data, status_code, headers
437
+ end
438
+
439
+ # Deletes 1 or more rules from the specified rule group.
440
+ # Rules that match a provided id will be deleted from the provided rule group id.
441
+ # @param rule_group_id [String] The id of the rule group from which the rules will be deleted.
442
+ # @param ids [Array<String>] One or more (up to 500) rule ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
443
+ # @param [Hash] opts the optional parameters
444
+ # @return [MsaspecQueryResponse]
445
+ def delete_rules(rule_group_id, ids, opts = {})
446
+ data, _status_code, _headers = delete_rules_with_http_info(rule_group_id, ids, opts)
447
+ data
448
+ end
449
+
450
+ # Deletes 1 or more rules from the specified rule group.
451
+ # Rules that match a provided id will be deleted from the provided rule group id.
452
+ # @param rule_group_id [String] The id of the rule group from which the rules will be deleted.
453
+ # @param ids [Array<String>] One or more (up to 500) rule ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
454
+ # @param [Hash] opts the optional parameters
455
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
456
+ def delete_rules_with_http_info(rule_group_id, ids, opts = {})
457
+ if @api_client.config.debugging
458
+ @api_client.config.logger.debug 'Calling API: Filevantage.delete_rules ...'
459
+ end
460
+ # verify the required parameter 'rule_group_id' is set
461
+ if @api_client.config.client_side_validation && rule_group_id.nil?
462
+ fail ArgumentError, "Missing the required parameter 'rule_group_id' when calling Filevantage.delete_rules"
463
+ end
464
+ # verify the required parameter 'ids' is set
465
+ if @api_client.config.client_side_validation && ids.nil?
466
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.delete_rules"
467
+ end
468
+ # resource path
469
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
470
+
471
+ # query parameters
472
+ query_params = opts[:query_params] || {}
473
+ query_params[:'rule_group_id'] = rule_group_id
474
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
475
+
476
+ # header parameters
477
+ header_params = opts[:header_params] || {}
478
+ # HTTP header 'Accept' (if needed)
479
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
480
+
481
+ # form parameters
482
+ form_params = opts[:form_params] || {}
483
+
484
+ # http body (model)
485
+ post_body = opts[:debug_body]
486
+
487
+ # return_type
488
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
489
+
490
+ # auth_names
491
+ auth_names = opts[:debug_auth_names] || ['oauth2']
492
+
493
+ new_options = opts.merge(
494
+ :operation => :"Filevantage.delete_rules",
495
+ :header_params => header_params,
496
+ :query_params => query_params,
497
+ :form_params => form_params,
498
+ :body => post_body,
499
+ :auth_names => auth_names,
500
+ :return_type => return_type
501
+ )
502
+
503
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
504
+ if @api_client.config.debugging
505
+ @api_client.config.logger.debug "API called: Filevantage#delete_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
506
+ end
507
+ return data, status_code, headers
508
+ end
509
+
510
+ # Deletes 1 or more scheduled exclusions from the provided policy id.
511
+ # Scheduled exclusions that match a provided id will be deleted from the provided policy id.
512
+ # @param policy_id [String] ID of the policy to delete the scheduled exclusions from.
513
+ # @param ids [Array<String>] One or more (up to 500) scheduled exclusion ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
514
+ # @param [Hash] opts the optional parameters
515
+ # @return [MsaspecQueryResponse]
516
+ def delete_scheduled_exclusions(policy_id, ids, opts = {})
517
+ data, _status_code, _headers = delete_scheduled_exclusions_with_http_info(policy_id, ids, opts)
518
+ data
519
+ end
520
+
521
+ # Deletes 1 or more scheduled exclusions from the provided policy id.
522
+ # Scheduled exclusions that match a provided id will be deleted from the provided policy id.
523
+ # @param policy_id [String] ID of the policy to delete the scheduled exclusions from.
524
+ # @param ids [Array<String>] One or more (up to 500) scheduled exclusion ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
525
+ # @param [Hash] opts the optional parameters
526
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
527
+ def delete_scheduled_exclusions_with_http_info(policy_id, ids, opts = {})
528
+ if @api_client.config.debugging
529
+ @api_client.config.logger.debug 'Calling API: Filevantage.delete_scheduled_exclusions ...'
530
+ end
531
+ # verify the required parameter 'policy_id' is set
532
+ if @api_client.config.client_side_validation && policy_id.nil?
533
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling Filevantage.delete_scheduled_exclusions"
534
+ end
535
+ # verify the required parameter 'ids' is set
536
+ if @api_client.config.client_side_validation && ids.nil?
537
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.delete_scheduled_exclusions"
538
+ end
539
+ # resource path
540
+ local_var_path = '/filevantage/entities/policy-scheduled-exclusions/v1'
541
+
542
+ # query parameters
543
+ query_params = opts[:query_params] || {}
544
+ query_params[:'policy_id'] = policy_id
545
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
546
+
547
+ # header parameters
548
+ header_params = opts[:header_params] || {}
549
+ # HTTP header 'Accept' (if needed)
550
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
551
+
552
+ # form parameters
553
+ form_params = opts[:form_params] || {}
554
+
555
+ # http body (model)
556
+ post_body = opts[:debug_body]
557
+
558
+ # return_type
559
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
560
+
561
+ # auth_names
562
+ auth_names = opts[:debug_auth_names] || ['oauth2']
563
+
564
+ new_options = opts.merge(
565
+ :operation => :"Filevantage.delete_scheduled_exclusions",
566
+ :header_params => header_params,
567
+ :query_params => query_params,
568
+ :form_params => form_params,
569
+ :body => post_body,
570
+ :auth_names => auth_names,
571
+ :return_type => return_type
572
+ )
573
+
574
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
575
+ if @api_client.config.debugging
576
+ @api_client.config.logger.debug "API called: Filevantage#delete_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
577
+ end
578
+ return data, status_code, headers
579
+ end
580
+
581
+ # Retrieves the processing results for 1 or more actions.
582
+ # The processing results of each action that match the provided ids will be returned.
583
+ # @param ids [Array<String>] One or more actions ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
584
+ # @param [Hash] opts the optional parameters
585
+ # @return [ActionsGetActionResponse]
586
+ def get_actions_mixin0(ids, opts = {})
587
+ data, _status_code, _headers = get_actions_mixin0_with_http_info(ids, opts)
588
+ data
589
+ end
590
+
591
+ # Retrieves the processing results for 1 or more actions.
592
+ # The processing results of each action that match the provided ids will be returned.
593
+ # @param ids [Array<String>] One or more actions ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
594
+ # @param [Hash] opts the optional parameters
595
+ # @return [Array<(ActionsGetActionResponse, Integer, Hash)>] ActionsGetActionResponse data, response status code and response headers
596
+ def get_actions_mixin0_with_http_info(ids, opts = {})
597
+ if @api_client.config.debugging
598
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_actions_mixin0 ...'
599
+ end
600
+ # verify the required parameter 'ids' is set
601
+ if @api_client.config.client_side_validation && ids.nil?
602
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.get_actions_mixin0"
603
+ end
604
+ # resource path
605
+ local_var_path = '/filevantage/entities/actions/v1'
606
+
607
+ # query parameters
608
+ query_params = opts[:query_params] || {}
609
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
610
+
611
+ # header parameters
612
+ header_params = opts[:header_params] || {}
613
+ # HTTP header 'Accept' (if needed)
614
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
615
+
616
+ # form parameters
617
+ form_params = opts[:form_params] || {}
618
+
619
+ # http body (model)
620
+ post_body = opts[:debug_body]
621
+
622
+ # return_type
623
+ return_type = opts[:debug_return_type] || 'ActionsGetActionResponse'
624
+
625
+ # auth_names
626
+ auth_names = opts[:debug_auth_names] || ['oauth2']
627
+
628
+ new_options = opts.merge(
629
+ :operation => :"Filevantage.get_actions_mixin0",
630
+ :header_params => header_params,
631
+ :query_params => query_params,
632
+ :form_params => form_params,
633
+ :body => post_body,
634
+ :auth_names => auth_names,
635
+ :return_type => return_type
636
+ )
637
+
638
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
639
+ if @api_client.config.debugging
640
+ @api_client.config.logger.debug "API called: Filevantage#get_actions_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
641
+ end
642
+ return data, status_code, headers
643
+ end
644
+
645
+ # Retrieve information on changes
646
+ # Retrieve key attributes of Falcon FileVantage changes for the specified ids.
647
+ # @param ids [Array<String>] One or more change ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;. The maximum number of ids that can be requested at once is &#x60;500&#x60;.
648
+ # @param [Hash] opts the optional parameters
649
+ # @return [PublicGetChangesResponse]
650
+ def get_changes(ids, opts = {})
651
+ data, _status_code, _headers = get_changes_with_http_info(ids, opts)
652
+ data
653
+ end
654
+
655
+ # Retrieve information on changes
656
+ # Retrieve key attributes of Falcon FileVantage changes for the specified ids.
657
+ # @param ids [Array<String>] One or more change ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;. The maximum number of ids that can be requested at once is &#x60;500&#x60;.
658
+ # @param [Hash] opts the optional parameters
659
+ # @return [Array<(PublicGetChangesResponse, Integer, Hash)>] PublicGetChangesResponse data, response status code and response headers
660
+ def get_changes_with_http_info(ids, opts = {})
661
+ if @api_client.config.debugging
662
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_changes ...'
663
+ end
664
+ # verify the required parameter 'ids' is set
665
+ if @api_client.config.client_side_validation && ids.nil?
666
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.get_changes"
667
+ end
668
+ if @api_client.config.client_side_validation && ids.length > 500
669
+ fail ArgumentError, 'invalid value for "ids" when calling Filevantage.get_changes, number of items must be less than or equal to 500.'
670
+ end
671
+
672
+ if @api_client.config.client_side_validation && ids.length < 1
673
+ fail ArgumentError, 'invalid value for "ids" when calling Filevantage.get_changes, number of items must be greater than or equal to 1.'
674
+ end
675
+
676
+ # resource path
677
+ local_var_path = '/filevantage/entities/changes/v2'
678
+
679
+ # query parameters
680
+ query_params = opts[:query_params] || {}
681
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
682
+
683
+ # header parameters
684
+ header_params = opts[:header_params] || {}
685
+ # HTTP header 'Accept' (if needed)
686
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
687
+
688
+ # form parameters
689
+ form_params = opts[:form_params] || {}
690
+
691
+ # http body (model)
692
+ post_body = opts[:debug_body]
693
+
694
+ # return_type
695
+ return_type = opts[:debug_return_type] || 'PublicGetChangesResponse'
696
+
697
+ # auth_names
698
+ auth_names = opts[:debug_auth_names] || ['oauth2']
699
+
700
+ new_options = opts.merge(
701
+ :operation => :"Filevantage.get_changes",
702
+ :header_params => header_params,
703
+ :query_params => query_params,
704
+ :form_params => form_params,
705
+ :body => post_body,
706
+ :auth_names => auth_names,
707
+ :return_type => return_type
708
+ )
709
+
710
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
711
+ if @api_client.config.debugging
712
+ @api_client.config.logger.debug "API called: Filevantage#get_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
713
+ end
714
+ return data, status_code, headers
715
+ end
716
+
717
+ # Retrieves the content captured for the provided change id
718
+ # Retrieves the before and after change content for the provided change id.
719
+ # @param id [String] ID of the change in the form of id&#x3D;ID1
720
+ # @param [Hash] opts the optional parameters
721
+ # @option opts [String] :accept_encoding Providing the value of &#x60;gzip&#x60; compresses the response, otherwise the content is returned uncompressed.
722
+ # @return [ContentchangesChangeContentsResponse]
723
+ def get_contents(id, opts = {})
724
+ data, _status_code, _headers = get_contents_with_http_info(id, opts)
725
+ data
726
+ end
727
+
728
+ # Retrieves the content captured for the provided change id
729
+ # Retrieves the before and after change content for the provided change id.
730
+ # @param id [String] ID of the change in the form of id&#x3D;ID1
731
+ # @param [Hash] opts the optional parameters
732
+ # @option opts [String] :accept_encoding Providing the value of &#x60;gzip&#x60; compresses the response, otherwise the content is returned uncompressed.
733
+ # @return [Array<(ContentchangesChangeContentsResponse, Integer, Hash)>] ContentchangesChangeContentsResponse data, response status code and response headers
734
+ def get_contents_with_http_info(id, opts = {})
735
+ if @api_client.config.debugging
736
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_contents ...'
737
+ end
738
+ # verify the required parameter 'id' is set
739
+ if @api_client.config.client_side_validation && id.nil?
740
+ fail ArgumentError, "Missing the required parameter 'id' when calling Filevantage.get_contents"
741
+ end
742
+ # resource path
743
+ local_var_path = '/filevantage/entities/change-content/v1'
744
+
745
+ # query parameters
746
+ query_params = opts[:query_params] || {}
747
+ query_params[:'id'] = id
748
+
749
+ # header parameters
750
+ header_params = opts[:header_params] || {}
751
+ # HTTP header 'Accept' (if needed)
752
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
753
+ header_params[:'Accept-Encoding'] = opts[:'accept_encoding'] if !opts[:'accept_encoding'].nil?
754
+
755
+ # form parameters
756
+ form_params = opts[:form_params] || {}
757
+
758
+ # http body (model)
759
+ post_body = opts[:debug_body]
760
+
761
+ # return_type
762
+ return_type = opts[:debug_return_type] || 'ContentchangesChangeContentsResponse'
763
+
764
+ # auth_names
765
+ auth_names = opts[:debug_auth_names] || ['oauth2']
766
+
767
+ new_options = opts.merge(
768
+ :operation => :"Filevantage.get_contents",
769
+ :header_params => header_params,
770
+ :query_params => query_params,
771
+ :form_params => form_params,
772
+ :body => post_body,
773
+ :auth_names => auth_names,
774
+ :return_type => return_type
775
+ )
776
+
777
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
778
+ if @api_client.config.debugging
779
+ @api_client.config.logger.debug "API called: Filevantage#get_contents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
780
+ end
781
+ return data, status_code, headers
782
+ end
783
+
784
+ # Retrieves the configuration for 1 or more policies.
785
+ # The configuration of each policy that match the provided id will be returned.
786
+ # @param ids [Array<String>] One or more (up to 500) policy ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
787
+ # @param [Hash] opts the optional parameters
788
+ # @return [PoliciesResponse]
789
+ def get_policies(ids, opts = {})
790
+ data, _status_code, _headers = get_policies_with_http_info(ids, opts)
791
+ data
792
+ end
793
+
794
+ # Retrieves the configuration for 1 or more policies.
795
+ # The configuration of each policy that match the provided id will be returned.
796
+ # @param ids [Array<String>] One or more (up to 500) policy ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
797
+ # @param [Hash] opts the optional parameters
798
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
799
+ def get_policies_with_http_info(ids, opts = {})
800
+ if @api_client.config.debugging
801
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_policies ...'
802
+ end
803
+ # verify the required parameter 'ids' is set
804
+ if @api_client.config.client_side_validation && ids.nil?
805
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.get_policies"
806
+ end
807
+ # resource path
808
+ local_var_path = '/filevantage/entities/policies/v1'
809
+
810
+ # query parameters
811
+ query_params = opts[:query_params] || {}
812
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
813
+
814
+ # header parameters
815
+ header_params = opts[:header_params] || {}
816
+ # HTTP header 'Accept' (if needed)
817
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
818
+
819
+ # form parameters
820
+ form_params = opts[:form_params] || {}
821
+
822
+ # http body (model)
823
+ post_body = opts[:debug_body]
824
+
825
+ # return_type
826
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
827
+
828
+ # auth_names
829
+ auth_names = opts[:debug_auth_names] || ['oauth2']
830
+
831
+ new_options = opts.merge(
832
+ :operation => :"Filevantage.get_policies",
833
+ :header_params => header_params,
834
+ :query_params => query_params,
835
+ :form_params => form_params,
836
+ :body => post_body,
837
+ :auth_names => auth_names,
838
+ :return_type => return_type
839
+ )
840
+
841
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
842
+ if @api_client.config.debugging
843
+ @api_client.config.logger.debug "API called: Filevantage#get_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
844
+ end
845
+ return data, status_code, headers
846
+ end
847
+
848
+ # Retrieves the rule group details for 1 or more rule groups.
849
+ # Full details of each rule group that matches a provided id will be returned in the response
850
+ # @param ids [Array<String>] One or more (up to 500) rule group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
851
+ # @param [Hash] opts the optional parameters
852
+ # @return [RulegroupsResponse]
853
+ def get_rule_groups(ids, opts = {})
854
+ data, _status_code, _headers = get_rule_groups_with_http_info(ids, opts)
855
+ data
856
+ end
857
+
858
+ # Retrieves the rule group details for 1 or more rule groups.
859
+ # Full details of each rule group that matches a provided id will be returned in the response
860
+ # @param ids [Array<String>] One or more (up to 500) rule group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
861
+ # @param [Hash] opts the optional parameters
862
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
863
+ def get_rule_groups_with_http_info(ids, opts = {})
864
+ if @api_client.config.debugging
865
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_rule_groups ...'
866
+ end
867
+ # verify the required parameter 'ids' is set
868
+ if @api_client.config.client_side_validation && ids.nil?
869
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.get_rule_groups"
870
+ end
871
+ # resource path
872
+ local_var_path = '/filevantage/entities/rule-groups/v1'
873
+
874
+ # query parameters
875
+ query_params = opts[:query_params] || {}
876
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
877
+
878
+ # header parameters
879
+ header_params = opts[:header_params] || {}
880
+ # HTTP header 'Accept' (if needed)
881
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
882
+
883
+ # form parameters
884
+ form_params = opts[:form_params] || {}
885
+
886
+ # http body (model)
887
+ post_body = opts[:debug_body]
888
+
889
+ # return_type
890
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
891
+
892
+ # auth_names
893
+ auth_names = opts[:debug_auth_names] || ['oauth2']
894
+
895
+ new_options = opts.merge(
896
+ :operation => :"Filevantage.get_rule_groups",
897
+ :header_params => header_params,
898
+ :query_params => query_params,
899
+ :form_params => form_params,
900
+ :body => post_body,
901
+ :auth_names => auth_names,
902
+ :return_type => return_type
903
+ )
904
+
905
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
906
+ if @api_client.config.debugging
907
+ @api_client.config.logger.debug "API called: Filevantage#get_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
908
+ end
909
+ return data, status_code, headers
910
+ end
911
+
912
+ # Retrieves the configuration for 1 or more rules.
913
+ # Rules within the provided rule group id that match a provided id will be returned within the response.
914
+ # @param rule_group_id [String] Rule group from which to retrieve the rule configuration.
915
+ # @param ids [Array<String>] One or more (up to 500) rule ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
916
+ # @param [Hash] opts the optional parameters
917
+ # @return [RulegroupsRulesResponse]
918
+ def get_rules(rule_group_id, ids, opts = {})
919
+ data, _status_code, _headers = get_rules_with_http_info(rule_group_id, ids, opts)
920
+ data
921
+ end
922
+
923
+ # Retrieves the configuration for 1 or more rules.
924
+ # Rules within the provided rule group id that match a provided id will be returned within the response.
925
+ # @param rule_group_id [String] Rule group from which to retrieve the rule configuration.
926
+ # @param ids [Array<String>] One or more (up to 500) rule ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
927
+ # @param [Hash] opts the optional parameters
928
+ # @return [Array<(RulegroupsRulesResponse, Integer, Hash)>] RulegroupsRulesResponse data, response status code and response headers
929
+ def get_rules_with_http_info(rule_group_id, ids, opts = {})
930
+ if @api_client.config.debugging
931
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_rules ...'
932
+ end
933
+ # verify the required parameter 'rule_group_id' is set
934
+ if @api_client.config.client_side_validation && rule_group_id.nil?
935
+ fail ArgumentError, "Missing the required parameter 'rule_group_id' when calling Filevantage.get_rules"
936
+ end
937
+ # verify the required parameter 'ids' is set
938
+ if @api_client.config.client_side_validation && ids.nil?
939
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.get_rules"
940
+ end
941
+ # resource path
942
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
943
+
944
+ # query parameters
945
+ query_params = opts[:query_params] || {}
946
+ query_params[:'rule_group_id'] = rule_group_id
947
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
948
+
949
+ # header parameters
950
+ header_params = opts[:header_params] || {}
951
+ # HTTP header 'Accept' (if needed)
952
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
953
+
954
+ # form parameters
955
+ form_params = opts[:form_params] || {}
956
+
957
+ # http body (model)
958
+ post_body = opts[:debug_body]
959
+
960
+ # return_type
961
+ return_type = opts[:debug_return_type] || 'RulegroupsRulesResponse'
962
+
963
+ # auth_names
964
+ auth_names = opts[:debug_auth_names] || ['oauth2']
965
+
966
+ new_options = opts.merge(
967
+ :operation => :"Filevantage.get_rules",
968
+ :header_params => header_params,
969
+ :query_params => query_params,
970
+ :form_params => form_params,
971
+ :body => post_body,
972
+ :auth_names => auth_names,
973
+ :return_type => return_type
974
+ )
975
+
976
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
977
+ if @api_client.config.debugging
978
+ @api_client.config.logger.debug "API called: Filevantage#get_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
979
+ end
980
+ return data, status_code, headers
981
+ end
982
+
983
+ # Retrieves the configuration of 1 or more scheduled exclusions from the provided policy id.
984
+ # Full details of each each scheduled exclusion that match a provided id will be returned in the response.
985
+ # @param policy_id [String] The id of the policy to retrieve the scheduled exclusion configurations.
986
+ # @param ids [Array<String>] One or more (up to 500) scheduled exclusion ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
987
+ # @param [Hash] opts the optional parameters
988
+ # @return [ScheduledexclusionsResponse]
989
+ def get_scheduled_exclusions(policy_id, ids, opts = {})
990
+ data, _status_code, _headers = get_scheduled_exclusions_with_http_info(policy_id, ids, opts)
991
+ data
992
+ end
993
+
994
+ # Retrieves the configuration of 1 or more scheduled exclusions from the provided policy id.
995
+ # Full details of each each scheduled exclusion that match a provided id will be returned in the response.
996
+ # @param policy_id [String] The id of the policy to retrieve the scheduled exclusion configurations.
997
+ # @param ids [Array<String>] One or more (up to 500) scheduled exclusion ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
998
+ # @param [Hash] opts the optional parameters
999
+ # @return [Array<(ScheduledexclusionsResponse, Integer, Hash)>] ScheduledexclusionsResponse data, response status code and response headers
1000
+ def get_scheduled_exclusions_with_http_info(policy_id, ids, opts = {})
1001
+ if @api_client.config.debugging
1002
+ @api_client.config.logger.debug 'Calling API: Filevantage.get_scheduled_exclusions ...'
1003
+ end
1004
+ # verify the required parameter 'policy_id' is set
1005
+ if @api_client.config.client_side_validation && policy_id.nil?
1006
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling Filevantage.get_scheduled_exclusions"
1007
+ end
1008
+ # verify the required parameter 'ids' is set
1009
+ if @api_client.config.client_side_validation && ids.nil?
1010
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.get_scheduled_exclusions"
1011
+ end
1012
+ # resource path
1013
+ local_var_path = '/filevantage/entities/policy-scheduled-exclusions/v1'
1014
+
1015
+ # query parameters
1016
+ query_params = opts[:query_params] || {}
1017
+ query_params[:'policy_id'] = policy_id
1018
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1019
+
1020
+ # header parameters
1021
+ header_params = opts[:header_params] || {}
1022
+ # HTTP header 'Accept' (if needed)
1023
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1024
+
1025
+ # form parameters
1026
+ form_params = opts[:form_params] || {}
1027
+
1028
+ # http body (model)
1029
+ post_body = opts[:debug_body]
1030
+
1031
+ # return_type
1032
+ return_type = opts[:debug_return_type] || 'ScheduledexclusionsResponse'
1033
+
1034
+ # auth_names
1035
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1036
+
1037
+ new_options = opts.merge(
1038
+ :operation => :"Filevantage.get_scheduled_exclusions",
1039
+ :header_params => header_params,
1040
+ :query_params => query_params,
1041
+ :form_params => form_params,
1042
+ :body => post_body,
1043
+ :auth_names => auth_names,
1044
+ :return_type => return_type
1045
+ )
1046
+
1047
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1048
+ if @api_client.config.debugging
1049
+ @api_client.config.logger.debug "API called: Filevantage#get_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1050
+ end
1051
+ return data, status_code, headers
1052
+ end
1053
+
1054
+ # Returns 1 or more change ids
1055
+ # Returns a list of Falcon FileVantage change ids filtered, sorted and limited by the query parameters provided. It can retrieve an unlimited number of results using multiple requests.
1056
+ # @param [Hash] opts the optional parameters
1057
+ # @option opts [String] :after A pagination token used with the &#x60;limit&#x60; parameter to manage pagination of results. On your first request don&#39;t provide a value for the &#x60;after&#x60; token. On subsequent requests provide the &#x60;after&#x60; token value from the previous response to continue pagination from where you left. If the response returns an empty &#x60;after&#x60; token it means there are no more results to return.
1058
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to &#x60;100&#x60; if not specified. The maximum number of results that can be returned in a single call is &#x60;5000&#x60;. (default to 100)
1059
+ # @option opts [String] :sort Sort results using options like: - &#x60;action_timestamp&#x60; (timestamp of the change occurrence) Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending). For example: &#x60;action_timestamp|asc&#x60;. Defaults to &#x60;action_timestamp|desc&#x60; no value is specified. The full list of allowed sorting options can be reviewed in our API documentation. (default to 'action_timestamp|desc')
1060
+ # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;host.name&#x60; - &#x60;action_timestamp&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
1061
+ # @return [ChangesHighVolumeQueryResponse]
1062
+ def high_volume_query_changes(opts = {})
1063
+ data, _status_code, _headers = high_volume_query_changes_with_http_info(opts)
1064
+ data
1065
+ end
1066
+
1067
+ # Returns 1 or more change ids
1068
+ # Returns a list of Falcon FileVantage change ids filtered, sorted and limited by the query parameters provided. It can retrieve an unlimited number of results using multiple requests.
1069
+ # @param [Hash] opts the optional parameters
1070
+ # @option opts [String] :after A pagination token used with the &#x60;limit&#x60; parameter to manage pagination of results. On your first request don&#39;t provide a value for the &#x60;after&#x60; token. On subsequent requests provide the &#x60;after&#x60; token value from the previous response to continue pagination from where you left. If the response returns an empty &#x60;after&#x60; token it means there are no more results to return.
1071
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to &#x60;100&#x60; if not specified. The maximum number of results that can be returned in a single call is &#x60;5000&#x60;. (default to 100)
1072
+ # @option opts [String] :sort Sort results using options like: - &#x60;action_timestamp&#x60; (timestamp of the change occurrence) Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending). For example: &#x60;action_timestamp|asc&#x60;. Defaults to &#x60;action_timestamp|desc&#x60; no value is specified. The full list of allowed sorting options can be reviewed in our API documentation. (default to 'action_timestamp|desc')
1073
+ # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;host.name&#x60; - &#x60;action_timestamp&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
1074
+ # @return [Array<(ChangesHighVolumeQueryResponse, Integer, Hash)>] ChangesHighVolumeQueryResponse data, response status code and response headers
1075
+ def high_volume_query_changes_with_http_info(opts = {})
1076
+ if @api_client.config.debugging
1077
+ @api_client.config.logger.debug 'Calling API: Filevantage.high_volume_query_changes ...'
1078
+ end
1079
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 5000
1080
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling Filevantage.high_volume_query_changes, must be smaller than or equal to 5000.'
1081
+ end
1082
+
1083
+ # resource path
1084
+ local_var_path = '/filevantage/queries/changes/v3'
1085
+
1086
+ # query parameters
1087
+ query_params = opts[:query_params] || {}
1088
+ query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
1089
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1090
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1091
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1092
+
1093
+ # header parameters
1094
+ header_params = opts[:header_params] || {}
1095
+ # HTTP header 'Accept' (if needed)
1096
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1097
+
1098
+ # form parameters
1099
+ form_params = opts[:form_params] || {}
1100
+
1101
+ # http body (model)
1102
+ post_body = opts[:debug_body]
1103
+
1104
+ # return_type
1105
+ return_type = opts[:debug_return_type] || 'ChangesHighVolumeQueryResponse'
1106
+
1107
+ # auth_names
1108
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1109
+
1110
+ new_options = opts.merge(
1111
+ :operation => :"Filevantage.high_volume_query_changes",
1112
+ :header_params => header_params,
1113
+ :query_params => query_params,
1114
+ :form_params => form_params,
1115
+ :body => post_body,
1116
+ :auth_names => auth_names,
1117
+ :return_type => return_type
1118
+ )
1119
+
1120
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1121
+ if @api_client.config.debugging
1122
+ @api_client.config.logger.debug "API called: Filevantage#high_volume_query_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1123
+ end
1124
+ return data, status_code, headers
1125
+ end
1126
+
1127
+ # Returns one or more action ids
1128
+ # Returns the list of action ids filtered, sorted, and limited to the query parameters provided.
1129
+ # @param [Hash] opts the optional parameters
1130
+ # @option opts [Integer] :offset The first action index to return in the response. If not provided it will default to &#39;0&#39;. Use with the &#x60;limit&#x60; parameter to manage pagination of results.
1131
+ # @option opts [Integer] :limit The maximum number of actions to return in the response (default: 100; max: 500). Use with the &#x60;offset&#x60; parameter to manage pagination of results
1132
+ # @option opts [String] :sort The sort expression that should be used to sort the results (e.g. created_date|desc)
1133
+ # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;status&#x60; - &#x60;operation_type&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
1134
+ # @return [MsaspecQueryResponse]
1135
+ def query_actions_mixin0(opts = {})
1136
+ data, _status_code, _headers = query_actions_mixin0_with_http_info(opts)
1137
+ data
1138
+ end
1139
+
1140
+ # Returns one or more action ids
1141
+ # Returns the list of action ids filtered, sorted, and limited to the query parameters provided.
1142
+ # @param [Hash] opts the optional parameters
1143
+ # @option opts [Integer] :offset The first action index to return in the response. If not provided it will default to &#39;0&#39;. Use with the &#x60;limit&#x60; parameter to manage pagination of results.
1144
+ # @option opts [Integer] :limit The maximum number of actions to return in the response (default: 100; max: 500). Use with the &#x60;offset&#x60; parameter to manage pagination of results
1145
+ # @option opts [String] :sort The sort expression that should be used to sort the results (e.g. created_date|desc)
1146
+ # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;status&#x60; - &#x60;operation_type&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
1147
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1148
+ def query_actions_mixin0_with_http_info(opts = {})
1149
+ if @api_client.config.debugging
1150
+ @api_client.config.logger.debug 'Calling API: Filevantage.query_actions_mixin0 ...'
1151
+ end
1152
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1153
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling Filevantage.query_actions_mixin0, must be greater than or equal to 0.'
1154
+ end
1155
+
1156
+ # resource path
1157
+ local_var_path = '/filevantage/queries/actions/v1'
1158
+
1159
+ # query parameters
1160
+ query_params = opts[:query_params] || {}
1161
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1162
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1163
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1164
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1165
+
1166
+ # header parameters
1167
+ header_params = opts[:header_params] || {}
1168
+ # HTTP header 'Accept' (if needed)
1169
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1170
+
1171
+ # form parameters
1172
+ form_params = opts[:form_params] || {}
1173
+
1174
+ # http body (model)
1175
+ post_body = opts[:debug_body]
1176
+
1177
+ # return_type
1178
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1179
+
1180
+ # auth_names
1181
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1182
+
1183
+ new_options = opts.merge(
1184
+ :operation => :"Filevantage.query_actions_mixin0",
1185
+ :header_params => header_params,
1186
+ :query_params => query_params,
1187
+ :form_params => form_params,
1188
+ :body => post_body,
1189
+ :auth_names => auth_names,
1190
+ :return_type => return_type
1191
+ )
1192
+
1193
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1194
+ if @api_client.config.debugging
1195
+ @api_client.config.logger.debug "API called: Filevantage#query_actions_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1196
+ end
1197
+ return data, status_code, headers
1198
+ end
1199
+
1200
+ # Returns 1 or more change ids
1201
+ # Returns a list of Falcon FileVantage change ids filtered, sorted and limited by the query parameters provided. Using this endpoint you can retrieve up to `10000` results by using pagination with multiple requests. If you need to retrieve more than `10000` results consider using the `/queries/changes/v3` endpoint
1202
+ # @param [Hash] opts the optional parameters
1203
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to &#x60;0&#x60; if not specified. (default to 0)
1204
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to &#x60;100&#x60; if not specified. The maximum number of results that can be returned in a single call is &#x60;500&#x60;. (default to 100)
1205
+ # @option opts [String] :sort Sort results using options like: - &#x60;action_timestamp&#x60; (timestamp of the change occurrence) Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending). For example: &#x60;action_timestamp|asc&#x60;. The full list of allowed sorting options can be reviewed in our API documentation.
1206
+ # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;host.name&#x60; - &#x60;action_timestamp&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
1207
+ # @return [MsaspecQueryResponse]
1208
+ def query_changes(opts = {})
1209
+ data, _status_code, _headers = query_changes_with_http_info(opts)
1210
+ data
1211
+ end
1212
+
1213
+ # Returns 1 or more change ids
1214
+ # Returns a list of Falcon FileVantage change ids filtered, sorted and limited by the query parameters provided. Using this endpoint you can retrieve up to &#x60;10000&#x60; results by using pagination with multiple requests. If you need to retrieve more than &#x60;10000&#x60; results consider using the &#x60;/queries/changes/v3&#x60; endpoint
1215
+ # @param [Hash] opts the optional parameters
1216
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to &#x60;0&#x60; if not specified. (default to 0)
1217
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to &#x60;100&#x60; if not specified. The maximum number of results that can be returned in a single call is &#x60;500&#x60;. (default to 100)
1218
+ # @option opts [String] :sort Sort results using options like: - &#x60;action_timestamp&#x60; (timestamp of the change occurrence) Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending). For example: &#x60;action_timestamp|asc&#x60;. The full list of allowed sorting options can be reviewed in our API documentation.
1219
+ # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;host.name&#x60; - &#x60;action_timestamp&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
1220
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1221
+ def query_changes_with_http_info(opts = {})
1222
+ if @api_client.config.debugging
1223
+ @api_client.config.logger.debug 'Calling API: Filevantage.query_changes ...'
1224
+ end
1225
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1226
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling Filevantage.query_changes, must be greater than or equal to 0.'
1227
+ end
1228
+
1229
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
1230
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling Filevantage.query_changes, must be smaller than or equal to 500.'
1231
+ end
1232
+
1233
+ # resource path
1234
+ local_var_path = '/filevantage/queries/changes/v2'
1235
+
1236
+ # query parameters
1237
+ query_params = opts[:query_params] || {}
1238
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1239
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1240
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1241
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1242
+
1243
+ # header parameters
1244
+ header_params = opts[:header_params] || {}
1245
+ # HTTP header 'Accept' (if needed)
1246
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1247
+
1248
+ # form parameters
1249
+ form_params = opts[:form_params] || {}
1250
+
1251
+ # http body (model)
1252
+ post_body = opts[:debug_body]
1253
+
1254
+ # return_type
1255
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1256
+
1257
+ # auth_names
1258
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1259
+
1260
+ new_options = opts.merge(
1261
+ :operation => :"Filevantage.query_changes",
1262
+ :header_params => header_params,
1263
+ :query_params => query_params,
1264
+ :form_params => form_params,
1265
+ :body => post_body,
1266
+ :auth_names => auth_names,
1267
+ :return_type => return_type
1268
+ )
1269
+
1270
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1271
+ if @api_client.config.debugging
1272
+ @api_client.config.logger.debug "API called: Filevantage#query_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1273
+ end
1274
+ return data, status_code, headers
1275
+ end
1276
+
1277
+ # Retrieve the ids of all policies that are assigned the provided policy type.
1278
+ # Policy ids will be returned sorted by a `precedence` order of ascending when a `sort` parameter is not provided.
1279
+ # @param type [String] The types of policies to retrieve. Allowed values are: &#x60;Windows&#x60;, &#x60;Linux&#x60; or &#x60;Mac&#x60;.
1280
+ # @param [Hash] opts the optional parameters
1281
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1282
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to 100 if not specified. The maximum number of results that can be returned in a single call is 500.
1283
+ # @option opts [String] :sort Sort the returned ids based on one of the following properties: &#x60;precedence&#x60;, &#x60;created_timestamp&#x60; or &#x60;modified_timestamp&#x60; Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending); for example: &#x60;precedence|asc&#x60;.
1284
+ # @return [MsaspecQueryResponse]
1285
+ def query_policies(type, opts = {})
1286
+ data, _status_code, _headers = query_policies_with_http_info(type, opts)
1287
+ data
1288
+ end
1289
+
1290
+ # Retrieve the ids of all policies that are assigned the provided policy type.
1291
+ # Policy ids will be returned sorted by a &#x60;precedence&#x60; order of ascending when a &#x60;sort&#x60; parameter is not provided.
1292
+ # @param type [String] The types of policies to retrieve. Allowed values are: &#x60;Windows&#x60;, &#x60;Linux&#x60; or &#x60;Mac&#x60;.
1293
+ # @param [Hash] opts the optional parameters
1294
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1295
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to 100 if not specified. The maximum number of results that can be returned in a single call is 500.
1296
+ # @option opts [String] :sort Sort the returned ids based on one of the following properties: &#x60;precedence&#x60;, &#x60;created_timestamp&#x60; or &#x60;modified_timestamp&#x60; Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending); for example: &#x60;precedence|asc&#x60;.
1297
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1298
+ def query_policies_with_http_info(type, opts = {})
1299
+ if @api_client.config.debugging
1300
+ @api_client.config.logger.debug 'Calling API: Filevantage.query_policies ...'
1301
+ end
1302
+ # verify the required parameter 'type' is set
1303
+ if @api_client.config.client_side_validation && type.nil?
1304
+ fail ArgumentError, "Missing the required parameter 'type' when calling Filevantage.query_policies"
1305
+ end
1306
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1307
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling Filevantage.query_policies, must be greater than or equal to 0.'
1308
+ end
1309
+
1310
+ # resource path
1311
+ local_var_path = '/filevantage/queries/policies/v1'
1312
+
1313
+ # query parameters
1314
+ query_params = opts[:query_params] || {}
1315
+ query_params[:'type'] = type
1316
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1317
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1318
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1319
+
1320
+ # header parameters
1321
+ header_params = opts[:header_params] || {}
1322
+ # HTTP header 'Accept' (if needed)
1323
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1324
+
1325
+ # form parameters
1326
+ form_params = opts[:form_params] || {}
1327
+
1328
+ # http body (model)
1329
+ post_body = opts[:debug_body]
1330
+
1331
+ # return_type
1332
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1333
+
1334
+ # auth_names
1335
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1336
+
1337
+ new_options = opts.merge(
1338
+ :operation => :"Filevantage.query_policies",
1339
+ :header_params => header_params,
1340
+ :query_params => query_params,
1341
+ :form_params => form_params,
1342
+ :body => post_body,
1343
+ :auth_names => auth_names,
1344
+ :return_type => return_type
1345
+ )
1346
+
1347
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1348
+ if @api_client.config.debugging
1349
+ @api_client.config.logger.debug "API called: Filevantage#query_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1350
+ end
1351
+ return data, status_code, headers
1352
+ end
1353
+
1354
+ # Retrieve the ids of all rule groups that are of the provided rule group type.
1355
+ # Rule group ids will be returned sorted by `created_timestamp` order if a `sort` parameter is not provided
1356
+ # @param type [String] The rule group type to retrieve the ids of. Allowed values are: &#x60;WindowsFiles&#x60;, &#x60;WindowsRegistry&#x60;, &#x60;LinuxFiles&#x60; or &#x60;MacFiles&#x60;.
1357
+ # @param [Hash] opts the optional parameters
1358
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1359
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to 100 if not specified. The maximum number of results that can be returned in a single call is 500.
1360
+ # @option opts [String] :sort Sort the returned ids based on one of the following properties: &#x60;created_timestamp&#x60; or &#x60;modified_timestamp&#x60; Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending); for example: &#x60;created_timestamp|asc&#x60;.
1361
+ # @return [MsaspecQueryResponse]
1362
+ def query_rule_groups(type, opts = {})
1363
+ data, _status_code, _headers = query_rule_groups_with_http_info(type, opts)
1364
+ data
1365
+ end
1366
+
1367
+ # Retrieve the ids of all rule groups that are of the provided rule group type.
1368
+ # Rule group ids will be returned sorted by &#x60;created_timestamp&#x60; order if a &#x60;sort&#x60; parameter is not provided
1369
+ # @param type [String] The rule group type to retrieve the ids of. Allowed values are: &#x60;WindowsFiles&#x60;, &#x60;WindowsRegistry&#x60;, &#x60;LinuxFiles&#x60; or &#x60;MacFiles&#x60;.
1370
+ # @param [Hash] opts the optional parameters
1371
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1372
+ # @option opts [Integer] :limit The maximum number of ids to return. Defaults to 100 if not specified. The maximum number of results that can be returned in a single call is 500.
1373
+ # @option opts [String] :sort Sort the returned ids based on one of the following properties: &#x60;created_timestamp&#x60; or &#x60;modified_timestamp&#x60; Sort either &#x60;asc&#x60; (ascending) or &#x60;desc&#x60; (descending); for example: &#x60;created_timestamp|asc&#x60;.
1374
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1375
+ def query_rule_groups_with_http_info(type, opts = {})
1376
+ if @api_client.config.debugging
1377
+ @api_client.config.logger.debug 'Calling API: Filevantage.query_rule_groups ...'
1378
+ end
1379
+ # verify the required parameter 'type' is set
1380
+ if @api_client.config.client_side_validation && type.nil?
1381
+ fail ArgumentError, "Missing the required parameter 'type' when calling Filevantage.query_rule_groups"
1382
+ end
1383
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1384
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling Filevantage.query_rule_groups, must be greater than or equal to 0.'
1385
+ end
1386
+
1387
+ # resource path
1388
+ local_var_path = '/filevantage/queries/rule-groups/v1'
1389
+
1390
+ # query parameters
1391
+ query_params = opts[:query_params] || {}
1392
+ query_params[:'type'] = type
1393
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1394
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1395
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1396
+
1397
+ # header parameters
1398
+ header_params = opts[:header_params] || {}
1399
+ # HTTP header 'Accept' (if needed)
1400
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1401
+
1402
+ # form parameters
1403
+ form_params = opts[:form_params] || {}
1404
+
1405
+ # http body (model)
1406
+ post_body = opts[:debug_body]
1407
+
1408
+ # return_type
1409
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1410
+
1411
+ # auth_names
1412
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1413
+
1414
+ new_options = opts.merge(
1415
+ :operation => :"Filevantage.query_rule_groups",
1416
+ :header_params => header_params,
1417
+ :query_params => query_params,
1418
+ :form_params => form_params,
1419
+ :body => post_body,
1420
+ :auth_names => auth_names,
1421
+ :return_type => return_type
1422
+ )
1423
+
1424
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1425
+ if @api_client.config.debugging
1426
+ @api_client.config.logger.debug "API called: Filevantage#query_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1427
+ end
1428
+ return data, status_code, headers
1429
+ end
1430
+
1431
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id.
1432
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id
1433
+ # @param policy_id [String] The id of the policy from which to retrieve the scheduled exclusion ids.
1434
+ # @param [Hash] opts the optional parameters
1435
+ # @return [MsaspecQueryResponse]
1436
+ def query_scheduled_exclusions(policy_id, opts = {})
1437
+ data, _status_code, _headers = query_scheduled_exclusions_with_http_info(policy_id, opts)
1438
+ data
1439
+ end
1440
+
1441
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id.
1442
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id
1443
+ # @param policy_id [String] The id of the policy from which to retrieve the scheduled exclusion ids.
1444
+ # @param [Hash] opts the optional parameters
1445
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1446
+ def query_scheduled_exclusions_with_http_info(policy_id, opts = {})
1447
+ if @api_client.config.debugging
1448
+ @api_client.config.logger.debug 'Calling API: Filevantage.query_scheduled_exclusions ...'
1449
+ end
1450
+ # verify the required parameter 'policy_id' is set
1451
+ if @api_client.config.client_side_validation && policy_id.nil?
1452
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling Filevantage.query_scheduled_exclusions"
1453
+ end
1454
+ # resource path
1455
+ local_var_path = '/filevantage/queries/policy-scheduled-exclusions/v1'
1456
+
1457
+ # query parameters
1458
+ query_params = opts[:query_params] || {}
1459
+ query_params[:'policy_id'] = policy_id
1460
+
1461
+ # header parameters
1462
+ header_params = opts[:header_params] || {}
1463
+ # HTTP header 'Accept' (if needed)
1464
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1465
+
1466
+ # form parameters
1467
+ form_params = opts[:form_params] || {}
1468
+
1469
+ # http body (model)
1470
+ post_body = opts[:debug_body]
1471
+
1472
+ # return_type
1473
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1474
+
1475
+ # auth_names
1476
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1477
+
1478
+ new_options = opts.merge(
1479
+ :operation => :"Filevantage.query_scheduled_exclusions",
1480
+ :header_params => header_params,
1481
+ :query_params => query_params,
1482
+ :form_params => form_params,
1483
+ :body => post_body,
1484
+ :auth_names => auth_names,
1485
+ :return_type => return_type
1486
+ )
1487
+
1488
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1489
+ if @api_client.config.debugging
1490
+ @api_client.config.logger.debug "API called: Filevantage#query_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1491
+ end
1492
+ return data, status_code, headers
1493
+ end
1494
+
1495
+ # Initiates workflows for the provided change ids
1496
+ # Provides the ability to initiate workflows for the specified change ids. Only 100 change ids can be provided per workflow request.
1497
+ # @param body [WorkflowRequest] Change ids to initiate the workflows; limited to 100 per request.
1498
+ # @param [Hash] opts the optional parameters
1499
+ # @return [WorkflowResponse]
1500
+ def signal_changes_external(body, opts = {})
1501
+ data, _status_code, _headers = signal_changes_external_with_http_info(body, opts)
1502
+ data
1503
+ end
1504
+
1505
+ # Initiates workflows for the provided change ids
1506
+ # Provides the ability to initiate workflows for the specified change ids. Only 100 change ids can be provided per workflow request.
1507
+ # @param body [WorkflowRequest] Change ids to initiate the workflows; limited to 100 per request.
1508
+ # @param [Hash] opts the optional parameters
1509
+ # @return [Array<(WorkflowResponse, Integer, Hash)>] WorkflowResponse data, response status code and response headers
1510
+ def signal_changes_external_with_http_info(body, opts = {})
1511
+ if @api_client.config.debugging
1512
+ @api_client.config.logger.debug 'Calling API: Filevantage.signal_changes_external ...'
1513
+ end
1514
+ # verify the required parameter 'body' is set
1515
+ if @api_client.config.client_side_validation && body.nil?
1516
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.signal_changes_external"
1517
+ end
1518
+ # resource path
1519
+ local_var_path = '/filevantage/entities/workflow/v1'
1520
+
1521
+ # query parameters
1522
+ query_params = opts[:query_params] || {}
1523
+
1524
+ # header parameters
1525
+ header_params = opts[:header_params] || {}
1526
+ # HTTP header 'Accept' (if needed)
1527
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1528
+ # HTTP header 'Content-Type'
1529
+ content_type = @api_client.select_header_content_type(['application/json'])
1530
+ if !content_type.nil?
1531
+ header_params['Content-Type'] = content_type
1532
+ end
1533
+
1534
+ # form parameters
1535
+ form_params = opts[:form_params] || {}
1536
+
1537
+ # http body (model)
1538
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1539
+
1540
+ # return_type
1541
+ return_type = opts[:debug_return_type] || 'WorkflowResponse'
1542
+
1543
+ # auth_names
1544
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1545
+
1546
+ new_options = opts.merge(
1547
+ :operation => :"Filevantage.signal_changes_external",
1548
+ :header_params => header_params,
1549
+ :query_params => query_params,
1550
+ :form_params => form_params,
1551
+ :body => post_body,
1552
+ :auth_names => auth_names,
1553
+ :return_type => return_type
1554
+ )
1555
+
1556
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1557
+ if @api_client.config.debugging
1558
+ @api_client.config.logger.debug "API called: Filevantage#signal_changes_external\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1559
+ end
1560
+ return data, status_code, headers
1561
+ end
1562
+
1563
+ # Initiates the specified action on the provided change ids
1564
+ # Initiates the suppression, unsuppression, or purging of the provided change ids. Note that only 1 action may be initiated and active at a time.
1565
+ # @param body [ActionsCreateActionRequest] Create a new action. * &#x60;operation&#x60; must be one of the &#x60;suppress&#x60;, &#x60;unsuppress&#x60;, or &#x60;purge&#x60; * &#x60;change_ids&#x60; represent the ids of the changes the operation will perform; limited to 100 ids per action * &#x60;comment&#x60; optional comment to describe the reason for the action
1566
+ # @param [Hash] opts the optional parameters
1567
+ # @return [ActionsActionResponse]
1568
+ def start_actions(body, opts = {})
1569
+ data, _status_code, _headers = start_actions_with_http_info(body, opts)
1570
+ data
1571
+ end
1572
+
1573
+ # Initiates the specified action on the provided change ids
1574
+ # Initiates the suppression, unsuppression, or purging of the provided change ids. Note that only 1 action may be initiated and active at a time.
1575
+ # @param body [ActionsCreateActionRequest] Create a new action. * &#x60;operation&#x60; must be one of the &#x60;suppress&#x60;, &#x60;unsuppress&#x60;, or &#x60;purge&#x60; * &#x60;change_ids&#x60; represent the ids of the changes the operation will perform; limited to 100 ids per action * &#x60;comment&#x60; optional comment to describe the reason for the action
1576
+ # @param [Hash] opts the optional parameters
1577
+ # @return [Array<(ActionsActionResponse, Integer, Hash)>] ActionsActionResponse data, response status code and response headers
1578
+ def start_actions_with_http_info(body, opts = {})
1579
+ if @api_client.config.debugging
1580
+ @api_client.config.logger.debug 'Calling API: Filevantage.start_actions ...'
1581
+ end
1582
+ # verify the required parameter 'body' is set
1583
+ if @api_client.config.client_side_validation && body.nil?
1584
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.start_actions"
1585
+ end
1586
+ # resource path
1587
+ local_var_path = '/filevantage/entities/actions/v1'
1588
+
1589
+ # query parameters
1590
+ query_params = opts[:query_params] || {}
1591
+
1592
+ # header parameters
1593
+ header_params = opts[:header_params] || {}
1594
+ # HTTP header 'Accept' (if needed)
1595
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1596
+ # HTTP header 'Content-Type'
1597
+ content_type = @api_client.select_header_content_type(['application/json'])
1598
+ if !content_type.nil?
1599
+ header_params['Content-Type'] = content_type
1600
+ end
1601
+
1602
+ # form parameters
1603
+ form_params = opts[:form_params] || {}
1604
+
1605
+ # http body (model)
1606
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1607
+
1608
+ # return_type
1609
+ return_type = opts[:debug_return_type] || 'ActionsActionResponse'
1610
+
1611
+ # auth_names
1612
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1613
+
1614
+ new_options = opts.merge(
1615
+ :operation => :"Filevantage.start_actions",
1616
+ :header_params => header_params,
1617
+ :query_params => query_params,
1618
+ :form_params => form_params,
1619
+ :body => post_body,
1620
+ :auth_names => auth_names,
1621
+ :return_type => return_type
1622
+ )
1623
+
1624
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1625
+ if @api_client.config.debugging
1626
+ @api_client.config.logger.debug "API called: Filevantage#start_actions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1627
+ end
1628
+ return data, status_code, headers
1629
+ end
1630
+
1631
+ # Updates the general information of the provided policy.
1632
+ # Only name, description, and enabled status of the policy is allowed to be update. Rule and host group assignment is performed via their respective patch end points.
1633
+ # @param body [PoliciesUpdateRequest] Enables updates to the following fields for an existing policy. * &#x60;id&#x60; of the policy to update. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;platform&#x60; may not be modified after the policy is created. * &#x60;enabled&#x60; must be one of &#x60;true&#x60; or &#x60;false&#x60;. Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
1634
+ # @param [Hash] opts the optional parameters
1635
+ # @return [PoliciesResponse]
1636
+ def update_policies(body, opts = {})
1637
+ data, _status_code, _headers = update_policies_with_http_info(body, opts)
1638
+ data
1639
+ end
1640
+
1641
+ # Updates the general information of the provided policy.
1642
+ # Only name, description, and enabled status of the policy is allowed to be update. Rule and host group assignment is performed via their respective patch end points.
1643
+ # @param body [PoliciesUpdateRequest] Enables updates to the following fields for an existing policy. * &#x60;id&#x60; of the policy to update. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;platform&#x60; may not be modified after the policy is created. * &#x60;enabled&#x60; must be one of &#x60;true&#x60; or &#x60;false&#x60;. Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
1644
+ # @param [Hash] opts the optional parameters
1645
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
1646
+ def update_policies_with_http_info(body, opts = {})
1647
+ if @api_client.config.debugging
1648
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_policies ...'
1649
+ end
1650
+ # verify the required parameter 'body' is set
1651
+ if @api_client.config.client_side_validation && body.nil?
1652
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.update_policies"
1653
+ end
1654
+ # resource path
1655
+ local_var_path = '/filevantage/entities/policies/v1'
1656
+
1657
+ # query parameters
1658
+ query_params = opts[:query_params] || {}
1659
+
1660
+ # header parameters
1661
+ header_params = opts[:header_params] || {}
1662
+ # HTTP header 'Accept' (if needed)
1663
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1664
+ # HTTP header 'Content-Type'
1665
+ content_type = @api_client.select_header_content_type(['application/json'])
1666
+ if !content_type.nil?
1667
+ header_params['Content-Type'] = content_type
1668
+ end
1669
+
1670
+ # form parameters
1671
+ form_params = opts[:form_params] || {}
1672
+
1673
+ # http body (model)
1674
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1675
+
1676
+ # return_type
1677
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
1678
+
1679
+ # auth_names
1680
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1681
+
1682
+ new_options = opts.merge(
1683
+ :operation => :"Filevantage.update_policies",
1684
+ :header_params => header_params,
1685
+ :query_params => query_params,
1686
+ :form_params => form_params,
1687
+ :body => post_body,
1688
+ :auth_names => auth_names,
1689
+ :return_type => return_type
1690
+ )
1691
+
1692
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1693
+ if @api_client.config.debugging
1694
+ @api_client.config.logger.debug "API called: Filevantage#update_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1695
+ end
1696
+ return data, status_code, headers
1697
+ end
1698
+
1699
+ # Manage host groups assigned to a policy.
1700
+ # Manage host groups assigned to a policy.
1701
+ # @param policy_id [String] The id of the policy for which to perform the action.
1702
+ # @param action [String] The action to perform with the provided ids, must be one of: &#x60;assign&#x60; or &#x60;unassign&#x60;.
1703
+ # @param ids [Array<String>] One or more host group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
1704
+ # @param [Hash] opts the optional parameters
1705
+ # @return [PoliciesResponse]
1706
+ def update_policy_host_groups(policy_id, action, ids, opts = {})
1707
+ data, _status_code, _headers = update_policy_host_groups_with_http_info(policy_id, action, ids, opts)
1708
+ data
1709
+ end
1710
+
1711
+ # Manage host groups assigned to a policy.
1712
+ # Manage host groups assigned to a policy.
1713
+ # @param policy_id [String] The id of the policy for which to perform the action.
1714
+ # @param action [String] The action to perform with the provided ids, must be one of: &#x60;assign&#x60; or &#x60;unassign&#x60;.
1715
+ # @param ids [Array<String>] One or more host group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
1716
+ # @param [Hash] opts the optional parameters
1717
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
1718
+ def update_policy_host_groups_with_http_info(policy_id, action, ids, opts = {})
1719
+ if @api_client.config.debugging
1720
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_policy_host_groups ...'
1721
+ end
1722
+ # verify the required parameter 'policy_id' is set
1723
+ if @api_client.config.client_side_validation && policy_id.nil?
1724
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling Filevantage.update_policy_host_groups"
1725
+ end
1726
+ # verify the required parameter 'action' is set
1727
+ if @api_client.config.client_side_validation && action.nil?
1728
+ fail ArgumentError, "Missing the required parameter 'action' when calling Filevantage.update_policy_host_groups"
1729
+ end
1730
+ # verify the required parameter 'ids' is set
1731
+ if @api_client.config.client_side_validation && ids.nil?
1732
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.update_policy_host_groups"
1733
+ end
1734
+ # resource path
1735
+ local_var_path = '/filevantage/entities/policies-host-groups/v1'
1736
+
1737
+ # query parameters
1738
+ query_params = opts[:query_params] || {}
1739
+ query_params[:'policy_id'] = policy_id
1740
+ query_params[:'action'] = action
1741
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1742
+
1743
+ # header parameters
1744
+ header_params = opts[:header_params] || {}
1745
+ # HTTP header 'Accept' (if needed)
1746
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1747
+
1748
+ # form parameters
1749
+ form_params = opts[:form_params] || {}
1750
+
1751
+ # http body (model)
1752
+ post_body = opts[:debug_body]
1753
+
1754
+ # return_type
1755
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
1756
+
1757
+ # auth_names
1758
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1759
+
1760
+ new_options = opts.merge(
1761
+ :operation => :"Filevantage.update_policy_host_groups",
1762
+ :header_params => header_params,
1763
+ :query_params => query_params,
1764
+ :form_params => form_params,
1765
+ :body => post_body,
1766
+ :auth_names => auth_names,
1767
+ :return_type => return_type
1768
+ )
1769
+
1770
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1771
+ if @api_client.config.debugging
1772
+ @api_client.config.logger.debug "API called: Filevantage#update_policy_host_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1773
+ end
1774
+ return data, status_code, headers
1775
+ end
1776
+
1777
+ # Updates the policy precedence for all policies of a specific type.
1778
+ # Requests that do not represent all ids of the provided policy type will not be processed.
1779
+ # @param ids [Array<String>] Precedence of the policies for the provided type in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
1780
+ # @param type [String] The policy type for which to set the precedence order, must be one of &#x60;Windows&#x60;, &#x60;Linux&#x60; or &#x60;Mac&#x60;.
1781
+ # @param [Hash] opts the optional parameters
1782
+ # @return [PoliciesPrecedenceResponse]
1783
+ def update_policy_precedence(ids, type, opts = {})
1784
+ data, _status_code, _headers = update_policy_precedence_with_http_info(ids, type, opts)
1785
+ data
1786
+ end
1787
+
1788
+ # Updates the policy precedence for all policies of a specific type.
1789
+ # Requests that do not represent all ids of the provided policy type will not be processed.
1790
+ # @param ids [Array<String>] Precedence of the policies for the provided type in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
1791
+ # @param type [String] The policy type for which to set the precedence order, must be one of &#x60;Windows&#x60;, &#x60;Linux&#x60; or &#x60;Mac&#x60;.
1792
+ # @param [Hash] opts the optional parameters
1793
+ # @return [Array<(PoliciesPrecedenceResponse, Integer, Hash)>] PoliciesPrecedenceResponse data, response status code and response headers
1794
+ def update_policy_precedence_with_http_info(ids, type, opts = {})
1795
+ if @api_client.config.debugging
1796
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_policy_precedence ...'
1797
+ end
1798
+ # verify the required parameter 'ids' is set
1799
+ if @api_client.config.client_side_validation && ids.nil?
1800
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.update_policy_precedence"
1801
+ end
1802
+ # verify the required parameter 'type' is set
1803
+ if @api_client.config.client_side_validation && type.nil?
1804
+ fail ArgumentError, "Missing the required parameter 'type' when calling Filevantage.update_policy_precedence"
1805
+ end
1806
+ # resource path
1807
+ local_var_path = '/filevantage/entities/policies-precedence/v1'
1808
+
1809
+ # query parameters
1810
+ query_params = opts[:query_params] || {}
1811
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1812
+ query_params[:'type'] = type
1813
+
1814
+ # header parameters
1815
+ header_params = opts[:header_params] || {}
1816
+ # HTTP header 'Accept' (if needed)
1817
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1818
+
1819
+ # form parameters
1820
+ form_params = opts[:form_params] || {}
1821
+
1822
+ # http body (model)
1823
+ post_body = opts[:debug_body]
1824
+
1825
+ # return_type
1826
+ return_type = opts[:debug_return_type] || 'PoliciesPrecedenceResponse'
1827
+
1828
+ # auth_names
1829
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1830
+
1831
+ new_options = opts.merge(
1832
+ :operation => :"Filevantage.update_policy_precedence",
1833
+ :header_params => header_params,
1834
+ :query_params => query_params,
1835
+ :form_params => form_params,
1836
+ :body => post_body,
1837
+ :auth_names => auth_names,
1838
+ :return_type => return_type
1839
+ )
1840
+
1841
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1842
+ if @api_client.config.debugging
1843
+ @api_client.config.logger.debug "API called: Filevantage#update_policy_precedence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1844
+ end
1845
+ return data, status_code, headers
1846
+ end
1847
+
1848
+ # Manage the rule groups assigned to the policy or set the rule group precedence for all rule groups within the policy.
1849
+ # Manage the rule groups assigned to the policy. Rule groups must be of the same type as the policy they are being added: * `WindowsRegistry` and `WindowsFiles` groups can only be added to a `Windows` policy. * `LinuxFiles` groups can only be added to a `Linux` policy. * `MacFiles` groups can only be added to a `Mac` policy. When setting rule group precedence, the precedence for `all` rule group ids within the policy must be provided.
1850
+ # @param policy_id [String] The id of the policy for which to perform the action.
1851
+ # @param action [String] The action to perform with the provided ids, must be one of: &#x60;assign&#x60;, &#x60;unassign&#x60;, or &#x60;precedence&#x60;.
1852
+ # @param ids [Array<String>] One or more rule group ids in the form of ids&#x3D;ID1&amp;ids&#x3D;ID2. Note, for the precedence action, precedence is controlled by the order of the ids as they are specified in the request.
1853
+ # @param [Hash] opts the optional parameters
1854
+ # @return [PoliciesResponse]
1855
+ def update_policy_rule_groups(policy_id, action, ids, opts = {})
1856
+ data, _status_code, _headers = update_policy_rule_groups_with_http_info(policy_id, action, ids, opts)
1857
+ data
1858
+ end
1859
+
1860
+ # Manage the rule groups assigned to the policy or set the rule group precedence for all rule groups within the policy.
1861
+ # Manage the rule groups assigned to the policy. Rule groups must be of the same type as the policy they are being added: * &#x60;WindowsRegistry&#x60; and &#x60;WindowsFiles&#x60; groups can only be added to a &#x60;Windows&#x60; policy. * &#x60;LinuxFiles&#x60; groups can only be added to a &#x60;Linux&#x60; policy. * &#x60;MacFiles&#x60; groups can only be added to a &#x60;Mac&#x60; policy. When setting rule group precedence, the precedence for &#x60;all&#x60; rule group ids within the policy must be provided.
1862
+ # @param policy_id [String] The id of the policy for which to perform the action.
1863
+ # @param action [String] The action to perform with the provided ids, must be one of: &#x60;assign&#x60;, &#x60;unassign&#x60;, or &#x60;precedence&#x60;.
1864
+ # @param ids [Array<String>] One or more rule group ids in the form of ids&#x3D;ID1&amp;ids&#x3D;ID2. Note, for the precedence action, precedence is controlled by the order of the ids as they are specified in the request.
1865
+ # @param [Hash] opts the optional parameters
1866
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
1867
+ def update_policy_rule_groups_with_http_info(policy_id, action, ids, opts = {})
1868
+ if @api_client.config.debugging
1869
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_policy_rule_groups ...'
1870
+ end
1871
+ # verify the required parameter 'policy_id' is set
1872
+ if @api_client.config.client_side_validation && policy_id.nil?
1873
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling Filevantage.update_policy_rule_groups"
1874
+ end
1875
+ # verify the required parameter 'action' is set
1876
+ if @api_client.config.client_side_validation && action.nil?
1877
+ fail ArgumentError, "Missing the required parameter 'action' when calling Filevantage.update_policy_rule_groups"
1878
+ end
1879
+ # verify the required parameter 'ids' is set
1880
+ if @api_client.config.client_side_validation && ids.nil?
1881
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.update_policy_rule_groups"
1882
+ end
1883
+ # resource path
1884
+ local_var_path = '/filevantage/entities/policies-rule-groups/v1'
1885
+
1886
+ # query parameters
1887
+ query_params = opts[:query_params] || {}
1888
+ query_params[:'policy_id'] = policy_id
1889
+ query_params[:'action'] = action
1890
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1891
+
1892
+ # header parameters
1893
+ header_params = opts[:header_params] || {}
1894
+ # HTTP header 'Accept' (if needed)
1895
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1896
+
1897
+ # form parameters
1898
+ form_params = opts[:form_params] || {}
1899
+
1900
+ # http body (model)
1901
+ post_body = opts[:debug_body]
1902
+
1903
+ # return_type
1904
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
1905
+
1906
+ # auth_names
1907
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1908
+
1909
+ new_options = opts.merge(
1910
+ :operation => :"Filevantage.update_policy_rule_groups",
1911
+ :header_params => header_params,
1912
+ :query_params => query_params,
1913
+ :form_params => form_params,
1914
+ :body => post_body,
1915
+ :auth_names => auth_names,
1916
+ :return_type => return_type
1917
+ )
1918
+
1919
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1920
+ if @api_client.config.debugging
1921
+ @api_client.config.logger.debug "API called: Filevantage#update_policy_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1922
+ end
1923
+ return data, status_code, headers
1924
+ end
1925
+
1926
+ # Updates the rule precedence for all rules in the identified rule group.
1927
+ # The ids for `all` rules contained within the rule group must be specified in the desired precedence order. Requests that do not represent all ids will not be processed.
1928
+ # @param rule_group_id [String] Rule group from which to set the precedence.
1929
+ # @param ids [Array<String>] One or more (up to 500) rule group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
1930
+ # @param [Hash] opts the optional parameters
1931
+ # @return [RulegroupsResponse]
1932
+ def update_rule_group_precedence(rule_group_id, ids, opts = {})
1933
+ data, _status_code, _headers = update_rule_group_precedence_with_http_info(rule_group_id, ids, opts)
1934
+ data
1935
+ end
1936
+
1937
+ # Updates the rule precedence for all rules in the identified rule group.
1938
+ # The ids for &#x60;all&#x60; rules contained within the rule group must be specified in the desired precedence order. Requests that do not represent all ids will not be processed.
1939
+ # @param rule_group_id [String] Rule group from which to set the precedence.
1940
+ # @param ids [Array<String>] One or more (up to 500) rule group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;.
1941
+ # @param [Hash] opts the optional parameters
1942
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
1943
+ def update_rule_group_precedence_with_http_info(rule_group_id, ids, opts = {})
1944
+ if @api_client.config.debugging
1945
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_rule_group_precedence ...'
1946
+ end
1947
+ # verify the required parameter 'rule_group_id' is set
1948
+ if @api_client.config.client_side_validation && rule_group_id.nil?
1949
+ fail ArgumentError, "Missing the required parameter 'rule_group_id' when calling Filevantage.update_rule_group_precedence"
1950
+ end
1951
+ # verify the required parameter 'ids' is set
1952
+ if @api_client.config.client_side_validation && ids.nil?
1953
+ fail ArgumentError, "Missing the required parameter 'ids' when calling Filevantage.update_rule_group_precedence"
1954
+ end
1955
+ # resource path
1956
+ local_var_path = '/filevantage/entities/rule-groups-rule-precedence/v1'
1957
+
1958
+ # query parameters
1959
+ query_params = opts[:query_params] || {}
1960
+ query_params[:'rule_group_id'] = rule_group_id
1961
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1962
+
1963
+ # header parameters
1964
+ header_params = opts[:header_params] || {}
1965
+ # HTTP header 'Accept' (if needed)
1966
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1967
+
1968
+ # form parameters
1969
+ form_params = opts[:form_params] || {}
1970
+
1971
+ # http body (model)
1972
+ post_body = opts[:debug_body]
1973
+
1974
+ # return_type
1975
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
1976
+
1977
+ # auth_names
1978
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1979
+
1980
+ new_options = opts.merge(
1981
+ :operation => :"Filevantage.update_rule_group_precedence",
1982
+ :header_params => header_params,
1983
+ :query_params => query_params,
1984
+ :form_params => form_params,
1985
+ :body => post_body,
1986
+ :auth_names => auth_names,
1987
+ :return_type => return_type
1988
+ )
1989
+
1990
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1991
+ if @api_client.config.debugging
1992
+ @api_client.config.logger.debug "API called: Filevantage#update_rule_group_precedence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1993
+ end
1994
+ return data, status_code, headers
1995
+ end
1996
+
1997
+ # Updates the provided rule group.
1998
+ # Provides the ability to update the name and description of the rule group.
1999
+ # @param body [RulegroupsUpdateRequest] Enables updates to the following fields for an existing rule group. * &#x60;id&#x60; of the rule group to update. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;type&#x60; may not be modified after the rule group is created. Note: rules are added/removed from rule groups using their dedicated end-points.
2000
+ # @param [Hash] opts the optional parameters
2001
+ # @return [RulegroupsResponse]
2002
+ def update_rule_groups(body, opts = {})
2003
+ data, _status_code, _headers = update_rule_groups_with_http_info(body, opts)
2004
+ data
2005
+ end
2006
+
2007
+ # Updates the provided rule group.
2008
+ # Provides the ability to update the name and description of the rule group.
2009
+ # @param body [RulegroupsUpdateRequest] Enables updates to the following fields for an existing rule group. * &#x60;id&#x60; of the rule group to update. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;type&#x60; may not be modified after the rule group is created. Note: rules are added/removed from rule groups using their dedicated end-points.
2010
+ # @param [Hash] opts the optional parameters
2011
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
2012
+ def update_rule_groups_with_http_info(body, opts = {})
2013
+ if @api_client.config.debugging
2014
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_rule_groups ...'
2015
+ end
2016
+ # verify the required parameter 'body' is set
2017
+ if @api_client.config.client_side_validation && body.nil?
2018
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.update_rule_groups"
2019
+ end
2020
+ # resource path
2021
+ local_var_path = '/filevantage/entities/rule-groups/v1'
2022
+
2023
+ # query parameters
2024
+ query_params = opts[:query_params] || {}
2025
+
2026
+ # header parameters
2027
+ header_params = opts[:header_params] || {}
2028
+ # HTTP header 'Accept' (if needed)
2029
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2030
+ # HTTP header 'Content-Type'
2031
+ content_type = @api_client.select_header_content_type(['application/json'])
2032
+ if !content_type.nil?
2033
+ header_params['Content-Type'] = content_type
2034
+ end
2035
+
2036
+ # form parameters
2037
+ form_params = opts[:form_params] || {}
2038
+
2039
+ # http body (model)
2040
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
2041
+
2042
+ # return_type
2043
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
2044
+
2045
+ # auth_names
2046
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2047
+
2048
+ new_options = opts.merge(
2049
+ :operation => :"Filevantage.update_rule_groups",
2050
+ :header_params => header_params,
2051
+ :query_params => query_params,
2052
+ :form_params => form_params,
2053
+ :body => post_body,
2054
+ :auth_names => auth_names,
2055
+ :return_type => return_type
2056
+ )
2057
+
2058
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
2059
+ if @api_client.config.debugging
2060
+ @api_client.config.logger.debug "API called: Filevantage#update_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2061
+ end
2062
+ return data, status_code, headers
2063
+ end
2064
+
2065
+ # Updates the provided rule configuration within the specified rule group.
2066
+ # The rule must currently exist within the specified rule group.
2067
+ # @param body [RulegroupsRule] Update the rule configuration for the specified rule ID and group. * &#x60;id&#x60; of the rule to update. * &#x60;rule_group_id&#x60; that contains the rule configuration. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;path&#x60; representing the file system or registry path to monitor. * must be between 1 and 250 characters. * All paths must end with the path separator, e.g. c:\\windows\\ /usr/bin/ * &#x60;severity&#x60; to categorize change events produced by this rule; must be one of: &#x60;Low&#x60;, &#x60;Medium&#x60;, &#x60;High&#x60; or &#x60;Critical&#x60; * &#x60;depth&#x60; below the base path to monitor; must be one of: &#x60;1&#x60;, &#x60;2&#x60;, &#x60;3&#x60;, &#x60;4&#x60;, &#x60;5&#x60; or &#x60;ANY&#x60; * &#x60;precedence&#x60; is the order in which rules will be evaluated starting with 1. Specifying a precedence value that is already set for another rule in the group will result this rule being placed before that existing rule. Falcon GLOB syntax is supported for the following 6 properties. Allowed rule group configuration is based on the type of rule group the rule group is added to. * &#x60;include&#x60; represents the files, directories, registry keys, or registry values that will be monitored. * &#x60;exclude&#x60; represents the files, directories, registry keys, or registry values that will &#x60;NOT&#x60; be monitored. * &#x60;include_users&#x60; represents the changes performed by specific users that will be monitored. * &#x60;exclude_users&#x60; represents the changes performed by specific users that will &#x60;NOT&#x60; be monitored. * &#x60;include_processes&#x60; represents the changes performed by specific processes that will be monitored. * &#x60;exclude_processes&#x60; represents the changes performed by specific processes that will be &#x60;NOT&#x60; monitored. * &#x60;content_files&#x60; represents the files that will be monitored. Listed files must match the file include pattern and not match the file exclude pattern * &#x60;content_registry_values&#x60; represents the registry values whose content will be monitored. Listed registry values must match the registry include pattern and not match the registry exclude pattern * &#x60;enable_content_capture&#x60; * &#x60;enable_hash_capture&#x60; File system directory monitoring: * &#x60;watch_delete_directory_changes&#x60; * &#x60;watch_create_directory_changes&#x60; * &#x60;watch_rename_directory_changes&#x60; * &#x60;watch_attributes_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) File system file monitoring: * &#x60;watch_rename_file_changes&#x60; * &#x60;watch_write_file_changes&#x60; * &#x60;watch_create_file_changes&#x60; * &#x60;watch_delete_file_changes&#x60; * &#x60;watch_attributes_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) Windows registry key and value monitoring: * &#x60;watch_create_key_changes&#x60; * &#x60;watch_delete_key_changes&#x60; * &#x60;watch_rename_key_changes&#x60; * &#x60;watch_set_value_changes&#x60; * &#x60;watch_delete_value_changes&#x60; * &#x60;watch_create_file_changes&#x60;
2068
+ # @param [Hash] opts the optional parameters
2069
+ # @return [RulegroupsRulesResponse]
2070
+ def update_rules(body, opts = {})
2071
+ data, _status_code, _headers = update_rules_with_http_info(body, opts)
2072
+ data
2073
+ end
2074
+
2075
+ # Updates the provided rule configuration within the specified rule group.
2076
+ # The rule must currently exist within the specified rule group.
2077
+ # @param body [RulegroupsRule] Update the rule configuration for the specified rule ID and group. * &#x60;id&#x60; of the rule to update. * &#x60;rule_group_id&#x60; that contains the rule configuration. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;path&#x60; representing the file system or registry path to monitor. * must be between 1 and 250 characters. * All paths must end with the path separator, e.g. c:\\windows\\ /usr/bin/ * &#x60;severity&#x60; to categorize change events produced by this rule; must be one of: &#x60;Low&#x60;, &#x60;Medium&#x60;, &#x60;High&#x60; or &#x60;Critical&#x60; * &#x60;depth&#x60; below the base path to monitor; must be one of: &#x60;1&#x60;, &#x60;2&#x60;, &#x60;3&#x60;, &#x60;4&#x60;, &#x60;5&#x60; or &#x60;ANY&#x60; * &#x60;precedence&#x60; is the order in which rules will be evaluated starting with 1. Specifying a precedence value that is already set for another rule in the group will result this rule being placed before that existing rule. Falcon GLOB syntax is supported for the following 6 properties. Allowed rule group configuration is based on the type of rule group the rule group is added to. * &#x60;include&#x60; represents the files, directories, registry keys, or registry values that will be monitored. * &#x60;exclude&#x60; represents the files, directories, registry keys, or registry values that will &#x60;NOT&#x60; be monitored. * &#x60;include_users&#x60; represents the changes performed by specific users that will be monitored. * &#x60;exclude_users&#x60; represents the changes performed by specific users that will &#x60;NOT&#x60; be monitored. * &#x60;include_processes&#x60; represents the changes performed by specific processes that will be monitored. * &#x60;exclude_processes&#x60; represents the changes performed by specific processes that will be &#x60;NOT&#x60; monitored. * &#x60;content_files&#x60; represents the files that will be monitored. Listed files must match the file include pattern and not match the file exclude pattern * &#x60;content_registry_values&#x60; represents the registry values whose content will be monitored. Listed registry values must match the registry include pattern and not match the registry exclude pattern * &#x60;enable_content_capture&#x60; * &#x60;enable_hash_capture&#x60; File system directory monitoring: * &#x60;watch_delete_directory_changes&#x60; * &#x60;watch_create_directory_changes&#x60; * &#x60;watch_rename_directory_changes&#x60; * &#x60;watch_attributes_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_directory_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) File system file monitoring: * &#x60;watch_rename_file_changes&#x60; * &#x60;watch_write_file_changes&#x60; * &#x60;watch_create_file_changes&#x60; * &#x60;watch_delete_file_changes&#x60; * &#x60;watch_attributes_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) * &#x60;watch_permissions_file_changes&#x60; (&#x60;macOS&#x60; is not supported at this time) Windows registry key and value monitoring: * &#x60;watch_create_key_changes&#x60; * &#x60;watch_delete_key_changes&#x60; * &#x60;watch_rename_key_changes&#x60; * &#x60;watch_set_value_changes&#x60; * &#x60;watch_delete_value_changes&#x60; * &#x60;watch_create_file_changes&#x60;
2078
+ # @param [Hash] opts the optional parameters
2079
+ # @return [Array<(RulegroupsRulesResponse, Integer, Hash)>] RulegroupsRulesResponse data, response status code and response headers
2080
+ def update_rules_with_http_info(body, opts = {})
2081
+ if @api_client.config.debugging
2082
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_rules ...'
2083
+ end
2084
+ # verify the required parameter 'body' is set
2085
+ if @api_client.config.client_side_validation && body.nil?
2086
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.update_rules"
2087
+ end
2088
+ # resource path
2089
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
2090
+
2091
+ # query parameters
2092
+ query_params = opts[:query_params] || {}
2093
+
2094
+ # header parameters
2095
+ header_params = opts[:header_params] || {}
2096
+ # HTTP header 'Accept' (if needed)
2097
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2098
+ # HTTP header 'Content-Type'
2099
+ content_type = @api_client.select_header_content_type(['application/json'])
2100
+ if !content_type.nil?
2101
+ header_params['Content-Type'] = content_type
2102
+ end
2103
+
2104
+ # form parameters
2105
+ form_params = opts[:form_params] || {}
2106
+
2107
+ # http body (model)
2108
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
2109
+
2110
+ # return_type
2111
+ return_type = opts[:debug_return_type] || 'RulegroupsRulesResponse'
2112
+
2113
+ # auth_names
2114
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2115
+
2116
+ new_options = opts.merge(
2117
+ :operation => :"Filevantage.update_rules",
2118
+ :header_params => header_params,
2119
+ :query_params => query_params,
2120
+ :form_params => form_params,
2121
+ :body => post_body,
2122
+ :auth_names => auth_names,
2123
+ :return_type => return_type
2124
+ )
2125
+
2126
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
2127
+ if @api_client.config.debugging
2128
+ @api_client.config.logger.debug "API called: Filevantage#update_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2129
+ end
2130
+ return data, status_code, headers
2131
+ end
2132
+
2133
+ # Updates the provided scheduled exclusion configuration within the provided policy.
2134
+ # Updates the provided scheduled exclusion configuration within the provided policy.
2135
+ # @param body [ScheduledexclusionsUpdateRequest] Update an existing scheduled exclusion for the specified policy. * &#x60;policy_id&#x60; to add the scheduled exclusion to. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;users&#x60; can be between 0 and 500 characters representing a comma separated list of user to exclude their changes. * admin* excludes changes made by all usernames that begin with admin. Falon GLOB syntax is supported. * &#x60;processes&#x60; can be between 0 and 500 characters representing a comma separated list of processes to exclude their changes. * **\\RunMe.exe or **/RunMe.sh excludes changes made by RunMe.exe or RunMe.sh in any location. * &#x60;schedule_start&#x60; must be provided to indicate the start of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;schedule_end&#x60; optionally provided to indicate the end of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;timezone&#x60; must be provided to indicate the TimeZone Name set for the provided &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; values. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. * &#x60;repeated&#x60; optionally provided to indicate that the exclusion is applied repeatedly within the &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; time. * &#x60;start_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;end_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;all_day&#x60; must be &#x60;true&#x60; or &#x60;false&#x60; to indicate the exclusion is applied all day. * &#x60;frequency&#x60; must be one of &#x60;daily&#x60;, &#x60;weekly&#x60; or &#x60;monthly&#x60;. * &#x60;occurrence&#x60; must be one of the following when &#x60;frequency&#x60; is set to &#x60;monthly&#x60;: * &#x60;1st&#x60;, &#x60;2nd&#x60;, &#x60;3rd&#x60;, &#x60;4th&#x60; or &#x60;Last&#x60; represents the week. * &#x60;Days&#x60; represents specific calendar days. * &#x60;weekly_days&#x60; must be one or more of &#x60;Monday&#x60;, &#x60;Tuesday&#x60;, &#x60;Wednesday&#x60;, &#x60;Thursday&#x60;, &#x60;Friday&#x60;, &#x60;Saturday&#x60; or &#x60;Sunday&#x60; when &#x60;frequency&#x60; is set to &#x60;weekly&#x60; or &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is NOT set to &#x60;Days&#x60;. * &#x60;monthly_days&#x60; must be set to one or more calendar days, between 1 and 31 when &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is set to &#x60;Days&#x60;.
2136
+ # @param [Hash] opts the optional parameters
2137
+ # @return [ScheduledexclusionsResponse]
2138
+ def update_scheduled_exclusions(body, opts = {})
2139
+ data, _status_code, _headers = update_scheduled_exclusions_with_http_info(body, opts)
2140
+ data
2141
+ end
2142
+
2143
+ # Updates the provided scheduled exclusion configuration within the provided policy.
2144
+ # Updates the provided scheduled exclusion configuration within the provided policy.
2145
+ # @param body [ScheduledexclusionsUpdateRequest] Update an existing scheduled exclusion for the specified policy. * &#x60;policy_id&#x60; to add the scheduled exclusion to. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;users&#x60; can be between 0 and 500 characters representing a comma separated list of user to exclude their changes. * admin* excludes changes made by all usernames that begin with admin. Falon GLOB syntax is supported. * &#x60;processes&#x60; can be between 0 and 500 characters representing a comma separated list of processes to exclude their changes. * **\\RunMe.exe or **/RunMe.sh excludes changes made by RunMe.exe or RunMe.sh in any location. * &#x60;schedule_start&#x60; must be provided to indicate the start of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;schedule_end&#x60; optionally provided to indicate the end of the schedule. This date/time must be an rfc3339 formatted string https://datatracker.ietf.org/doc/html/rfc3339. * &#x60;timezone&#x60; must be provided to indicate the TimeZone Name set for the provided &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; values. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. * &#x60;repeated&#x60; optionally provided to indicate that the exclusion is applied repeatedly within the &#x60;scheduled_start&#x60; and &#x60;scheduled_end&#x60; time. * &#x60;start_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;end_time&#x60; must be the hour(00-23) and minute(00-59) of the day formatted as &#x60;HH:MM&#x60;. Required if &#x60;all_day&#x60; is not set to &#x60;true&#x60; * &#x60;all_day&#x60; must be &#x60;true&#x60; or &#x60;false&#x60; to indicate the exclusion is applied all day. * &#x60;frequency&#x60; must be one of &#x60;daily&#x60;, &#x60;weekly&#x60; or &#x60;monthly&#x60;. * &#x60;occurrence&#x60; must be one of the following when &#x60;frequency&#x60; is set to &#x60;monthly&#x60;: * &#x60;1st&#x60;, &#x60;2nd&#x60;, &#x60;3rd&#x60;, &#x60;4th&#x60; or &#x60;Last&#x60; represents the week. * &#x60;Days&#x60; represents specific calendar days. * &#x60;weekly_days&#x60; must be one or more of &#x60;Monday&#x60;, &#x60;Tuesday&#x60;, &#x60;Wednesday&#x60;, &#x60;Thursday&#x60;, &#x60;Friday&#x60;, &#x60;Saturday&#x60; or &#x60;Sunday&#x60; when &#x60;frequency&#x60; is set to &#x60;weekly&#x60; or &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is NOT set to &#x60;Days&#x60;. * &#x60;monthly_days&#x60; must be set to one or more calendar days, between 1 and 31 when &#x60;frequency&#x60; is set to &#x60;monthly&#x60; and &#x60;occurrence&#x60; is set to &#x60;Days&#x60;.
2146
+ # @param [Hash] opts the optional parameters
2147
+ # @return [Array<(ScheduledexclusionsResponse, Integer, Hash)>] ScheduledexclusionsResponse data, response status code and response headers
2148
+ def update_scheduled_exclusions_with_http_info(body, opts = {})
2149
+ if @api_client.config.debugging
2150
+ @api_client.config.logger.debug 'Calling API: Filevantage.update_scheduled_exclusions ...'
2151
+ end
2152
+ # verify the required parameter 'body' is set
2153
+ if @api_client.config.client_side_validation && body.nil?
2154
+ fail ArgumentError, "Missing the required parameter 'body' when calling Filevantage.update_scheduled_exclusions"
2155
+ end
2156
+ # resource path
2157
+ local_var_path = '/filevantage/entities/policy-scheduled-exclusions/v1'
2158
+
2159
+ # query parameters
2160
+ query_params = opts[:query_params] || {}
2161
+
2162
+ # header parameters
2163
+ header_params = opts[:header_params] || {}
2164
+ # HTTP header 'Accept' (if needed)
2165
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2166
+ # HTTP header 'Content-Type'
2167
+ content_type = @api_client.select_header_content_type(['application/json'])
2168
+ if !content_type.nil?
2169
+ header_params['Content-Type'] = content_type
2170
+ end
2171
+
2172
+ # form parameters
2173
+ form_params = opts[:form_params] || {}
2174
+
2175
+ # http body (model)
2176
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
2177
+
2178
+ # return_type
2179
+ return_type = opts[:debug_return_type] || 'ScheduledexclusionsResponse'
2180
+
2181
+ # auth_names
2182
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2183
+
2184
+ new_options = opts.merge(
2185
+ :operation => :"Filevantage.update_scheduled_exclusions",
2186
+ :header_params => header_params,
2187
+ :query_params => query_params,
2188
+ :form_params => form_params,
2189
+ :body => post_body,
2190
+ :auth_names => auth_names,
2191
+ :return_type => return_type
2192
+ )
2193
+
2194
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
2195
+ if @api_client.config.debugging
2196
+ @api_client.config.logger.debug "API called: Filevantage#update_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2197
+ end
2198
+ return data, status_code, headers
2199
+ end
2200
+ end
2201
+ end