crimson-falcon 0.3.0 → 0.4.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 (886) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1645 -189
  3. data/lib/crimson-falcon/api/alerts_api.rb +307 -19
  4. data/lib/crimson-falcon/api/{inventories_api.rb → cloud_snapshots_api.rb} +16 -16
  5. data/lib/crimson-falcon/api/configuration_assessment_api.rb +62 -0
  6. data/lib/crimson-falcon/api/container_alerts_api.rb +222 -0
  7. data/lib/crimson-falcon/api/container_detections_api.rb +408 -0
  8. data/lib/crimson-falcon/api/container_images_api.rb +711 -0
  9. data/lib/crimson-falcon/api/container_packages_api.rb +365 -0
  10. data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +693 -0
  11. data/lib/crimson-falcon/api/cspm_registration_api.rb +719 -49
  12. data/lib/crimson-falcon/api/custom_ioa_api.rb +2 -2
  13. data/lib/crimson-falcon/api/custom_storage_api.rb +590 -0
  14. data/lib/crimson-falcon/api/d4c_registration_api.rb +263 -6
  15. data/lib/crimson-falcon/api/drift_indicators_api.rb +350 -0
  16. data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +352 -21
  17. data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -67
  18. data/lib/crimson-falcon/api/falconx_sandbox_api.rb +2 -2
  19. data/lib/crimson-falcon/api/filevantage_api.rb +1730 -45
  20. data/lib/crimson-falcon/api/foundry_logscale_api.rb +959 -0
  21. data/lib/crimson-falcon/api/hosts_api.rb +68 -64
  22. data/lib/crimson-falcon/api/image_assessment_policies_api.rb +738 -0
  23. data/lib/crimson-falcon/api/installation_tokens_api.rb +12 -12
  24. data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +3 -3
  25. data/lib/crimson-falcon/api/intel_api.rb +4 -4
  26. data/lib/crimson-falcon/api/ioc_api.rb +226 -0
  27. data/lib/crimson-falcon/api/kubernetes_protection_api.rb +2498 -13
  28. data/lib/crimson-falcon/api/message_center_api.rb +11 -11
  29. data/lib/crimson-falcon/api/ods_api.rb +68 -6
  30. data/lib/crimson-falcon/api/real_time_response_admin_api.rb +149 -0
  31. data/lib/crimson-falcon/api/real_time_response_audit_api.rb +113 -0
  32. data/lib/crimson-falcon/api/recon_api.rb +6 -6
  33. data/lib/crimson-falcon/api/runtime_detections_api.rb +106 -0
  34. data/lib/crimson-falcon/api/{vulnerabilities_evaluation_logic_api.rb → spotlight_evaluation_logic_api.rb} +13 -13
  35. data/lib/crimson-falcon/api/{vulnerabilities_api.rb → spotlight_vulnerabilities_api.rb} +25 -25
  36. data/lib/crimson-falcon/api/unidentified_containers_api.rb +222 -0
  37. data/lib/crimson-falcon/api/workflows_api.rb +1037 -0
  38. data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +266 -0
  39. data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +266 -0
  40. data/lib/crimson-falcon/models/api_detects_query_meta.rb +271 -0
  41. data/lib/crimson-falcon/models/api_detects_query_paging.rb +257 -0
  42. data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +266 -0
  43. data/lib/crimson-falcon/models/api_device_count_v1.rb +261 -0
  44. data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +266 -0
  45. data/lib/crimson-falcon/models/{common_entities_response.rb → api_entities_response.rb} +3 -8
  46. data/lib/crimson-falcon/models/api_execution_results_response.rb +266 -0
  47. data/lib/crimson-falcon/models/api_exposed_data_record_bot_location_v1.rb +243 -0
  48. data/lib/crimson-falcon/models/api_exposed_data_record_bot_operating_system_v1.rb +339 -0
  49. data/lib/crimson-falcon/models/api_exposed_data_record_bot_v1.rb +299 -0
  50. data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +3 -0
  51. data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +6 -0
  52. data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +9 -0
  53. data/lib/crimson-falcon/models/api_meta_info.rb +274 -0
  54. data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +30 -1
  55. data/lib/crimson-falcon/models/api_object_metadata.rb +290 -0
  56. data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +266 -0
  57. data/lib/crimson-falcon/models/{api_aggregates_response.rb → api_resource_ids_response.rb} +4 -4
  58. data/lib/crimson-falcon/models/api_response_pagination.rb +249 -0
  59. data/lib/crimson-falcon/models/apidomain_dynamic_execute_search_request_v1.rb +285 -0
  60. data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +293 -0
  61. data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +271 -0
  62. data/lib/crimson-falcon/models/apidomain_repo_view_list_item_v1.rb +343 -0
  63. data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +271 -0
  64. data/lib/crimson-falcon/models/apidomain_repository_v1.rb +295 -0
  65. data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +326 -0
  66. data/lib/crimson-falcon/models/apidomain_view_connection_v1.rb +253 -0
  67. data/lib/crimson-falcon/models/{public_acl.rb → changes_acl.rb} +4 -4
  68. data/lib/crimson-falcon/models/{public_acl_change.rb → changes_acl_change.rb} +3 -3
  69. data/lib/crimson-falcon/models/{public_before.rb → changes_after.rb} +3 -3
  70. data/lib/crimson-falcon/models/{public_attribute.rb → changes_attribute.rb} +3 -3
  71. data/lib/crimson-falcon/models/{public_basic.rb → changes_basic.rb} +3 -3
  72. data/lib/crimson-falcon/models/{public_after.rb → changes_before.rb} +3 -3
  73. data/lib/crimson-falcon/models/{public_change.rb → changes_change.rb} +11 -11
  74. data/lib/crimson-falcon/models/{public_dacl.rb → changes_dacl.rb} +4 -4
  75. data/lib/crimson-falcon/models/{public_dacl_entity.rb → changes_dacl_entity.rb} +19 -5
  76. data/lib/crimson-falcon/models/{public_diff.rb → changes_diff.rb} +4 -4
  77. data/lib/crimson-falcon/models/{public_diff_hash.rb → changes_diff_hash.rb} +3 -3
  78. data/lib/crimson-falcon/models/{public_diff_type.rb → changes_diff_type.rb} +4 -4
  79. data/lib/crimson-falcon/models/changes_get_changes_response.rb +266 -0
  80. data/lib/crimson-falcon/models/{public_owner.rb → changes_group.rb} +5 -5
  81. data/lib/crimson-falcon/models/changes_high_volume_query_meta.rb +271 -0
  82. data/lib/crimson-falcon/models/changes_high_volume_query_paging.rb +267 -0
  83. data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +266 -0
  84. data/lib/crimson-falcon/models/{public_host.rb → changes_host.rb} +4 -4
  85. data/lib/crimson-falcon/models/{public_host_group.rb → changes_host_group.rb} +3 -3
  86. data/lib/crimson-falcon/models/{public_group.rb → changes_owner.rb} +5 -5
  87. data/lib/crimson-falcon/models/{public_permissions.rb → changes_permissions.rb} +6 -6
  88. data/lib/crimson-falcon/models/{public_permissions_lin.rb → changes_permissions_lin.rb} +8 -8
  89. data/lib/crimson-falcon/models/{public_policy.rb → changes_policy.rb} +4 -4
  90. data/lib/crimson-falcon/models/{public_policy_rule.rb → changes_policy_rule.rb} +3 -3
  91. data/lib/crimson-falcon/models/{public_policy_rule_group.rb → changes_policy_rule_group.rb} +4 -4
  92. data/lib/crimson-falcon/models/{public_prevalence.rb → changes_prevalence.rb} +3 -3
  93. data/lib/crimson-falcon/models/{public_tag.rb → changes_tag.rb} +3 -3
  94. data/lib/crimson-falcon/models/client_action_request.rb +242 -0
  95. data/lib/crimson-falcon/models/client_cost.rb +267 -0
  96. data/lib/crimson-falcon/models/client_costs.rb +281 -0
  97. data/lib/crimson-falcon/models/client_data_ingest_response_v1.rb +253 -0
  98. data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +271 -0
  99. data/lib/crimson-falcon/models/client_digest_flow.rb +267 -0
  100. data/lib/crimson-falcon/models/client_extra_in.rb +255 -0
  101. data/lib/crimson-falcon/models/client_extra_limit.rb +253 -0
  102. data/lib/crimson-falcon/models/{domain_msa_meta_info.rb → client_extra_rename.rb} +24 -19
  103. data/lib/crimson-falcon/models/client_extra_sort.rb +276 -0
  104. data/lib/crimson-falcon/models/client_field.rb +269 -0
  105. data/lib/crimson-falcon/models/{models_job_meta_data.rb → client_job_status.rb} +70 -69
  106. data/lib/crimson-falcon/models/client_query_response_schemas_v1.rb +243 -0
  107. data/lib/crimson-falcon/models/client_query_result_metadata.rb +495 -0
  108. data/lib/crimson-falcon/models/client_repository.rb +281 -0
  109. data/lib/crimson-falcon/models/client_spent.rb +281 -0
  110. data/lib/crimson-falcon/models/client_system_definition_create_response.rb +271 -0
  111. data/lib/crimson-falcon/models/client_system_definition_de_provision_request.rb +285 -0
  112. data/lib/crimson-falcon/models/client_system_definition_promote_request.rb +314 -0
  113. data/lib/crimson-falcon/models/client_system_definition_provision_request.rb +299 -0
  114. data/lib/crimson-falcon/models/client_top_value.rb +253 -0
  115. data/lib/crimson-falcon/models/common_count_as_resource.rb +253 -0
  116. data/lib/crimson-falcon/models/common_count_response.rb +266 -0
  117. data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +266 -0
  118. data/lib/crimson-falcon/models/custom_type1255839303.rb +271 -0
  119. data/lib/crimson-falcon/models/custom_type3191042536.rb +271 -0
  120. data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +271 -0
  121. data/lib/crimson-falcon/models/definitions_definition_ext.rb +299 -0
  122. data/lib/crimson-falcon/models/definitions_definition_external_response.rb +266 -0
  123. data/lib/crimson-falcon/models/definitions_definition_import_response.rb +266 -0
  124. data/lib/crimson-falcon/models/definitions_definition_import_response_entity.rb +288 -0
  125. data/lib/crimson-falcon/models/definitions_flight_control_request.rb +279 -0
  126. data/lib/crimson-falcon/models/definitions_parameter_property.rb +239 -0
  127. data/lib/crimson-falcon/models/definitions_playbook_parameter.rb +257 -0
  128. data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +266 -0
  129. data/lib/crimson-falcon/models/detections_api_combined_detections.rb +266 -0
  130. data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +266 -0
  131. data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +266 -0
  132. data/lib/crimson-falcon/models/detections_api_detections_count.rb +266 -0
  133. data/lib/crimson-falcon/models/detects_alert.rb +110 -6
  134. data/lib/crimson-falcon/models/detectsapi_aggregate_alert_query_request.rb +491 -0
  135. data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +267 -0
  136. data/lib/crimson-falcon/models/detectsapi_aggregation_result.rb +267 -0
  137. data/lib/crimson-falcon/models/detectsapi_aggregation_result_item.rb +331 -0
  138. data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +267 -0
  139. data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v3_request.rb +252 -0
  140. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +1 -0
  141. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +1 -0
  142. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_request.rb +242 -0
  143. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +267 -0
  144. data/lib/crimson-falcon/models/detectsapi_response_fields.rb +250 -0
  145. data/lib/crimson-falcon/models/device_device.rb +19 -1
  146. data/lib/crimson-falcon/models/device_mapped_device_policies.rb +10 -1
  147. data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
  148. data/lib/crimson-falcon/models/domain_actor_document.rb +270 -4
  149. data/lib/crimson-falcon/models/domain_actor_entity.rb +257 -0
  150. data/lib/crimson-falcon/models/domain_actor_news_document.rb +285 -0
  151. data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +19 -1
  152. data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +12 -1
  153. data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
  154. data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +266 -0
  155. data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +434 -0
  156. data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +17 -1
  157. data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
  158. data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +17 -1
  159. data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +1 -11
  160. data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +4 -26
  161. data/lib/crimson-falcon/models/domain_asset_criticality_info_v1.rb +254 -0
  162. data/lib/crimson-falcon/models/domain_attachment.rb +298 -0
  163. data/lib/crimson-falcon/models/domain_aws_account_input.rb +311 -0
  164. data/lib/crimson-falcon/models/domain_aws_account_v2.rb +11 -1
  165. data/lib/crimson-falcon/models/domain_aws_batch_cluster_region.rb +267 -0
  166. data/lib/crimson-falcon/models/domain_azure_management_group_role_assignment.rb +266 -0
  167. data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +4 -26
  168. data/lib/crimson-falcon/models/domain_breached_item_v1.rb +40 -1
  169. data/lib/crimson-falcon/models/domain_card.rb +288 -0
  170. data/lib/crimson-falcon/models/domain_cid_group.rb +19 -1
  171. data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +23 -1
  172. data/lib/crimson-falcon/models/domain_cloud_scope.rb +13 -4
  173. data/lib/crimson-falcon/models/domain_credentials.rb +31 -12
  174. data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +1 -1
  175. data/lib/crimson-falcon/models/domain_device.rb +10 -1
  176. data/lib/crimson-falcon/models/domain_device_policy.rb +239 -0
  177. data/lib/crimson-falcon/models/domain_discover_api_host.rb +70 -6
  178. data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +75 -1
  179. data/lib/crimson-falcon/models/{registration_msa_spec_meta_info_extension.rb → domain_exposed_data_record_bot_location_v1.rb} +24 -19
  180. data/lib/crimson-falcon/models/domain_exposed_data_record_bot_operating_system_v1.rb +399 -0
  181. data/lib/crimson-falcon/models/domain_exposed_data_record_bot_v1.rb +334 -0
  182. data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +18 -4
  183. data/lib/crimson-falcon/models/domain_file_count_v2.rb +295 -0
  184. data/lib/crimson-falcon/models/domain_fragment_info.rb +299 -0
  185. data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +15 -1
  186. data/lib/crimson-falcon/models/domain_host.rb +342 -0
  187. data/lib/crimson-falcon/models/domain_incident.rb +4 -13
  188. data/lib/crimson-falcon/models/domain_ioc.rb +621 -0
  189. data/lib/crimson-falcon/models/domain_item_details_v1.rb +527 -0
  190. data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
  191. data/lib/crimson-falcon/models/domain_mapped_device_policies.rb +234 -0
  192. data/lib/crimson-falcon/models/domain_marketplace_product.rb +288 -0
  193. data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +28 -1
  194. data/lib/crimson-falcon/models/domain_meta_info.rb +54 -13
  195. data/lib/crimson-falcon/models/domain_news_document.rb +13 -1
  196. data/lib/crimson-falcon/models/domain_notification_v1.rb +15 -1
  197. data/lib/crimson-falcon/models/domain_policy_info.rb +23 -1
  198. data/lib/crimson-falcon/models/domain_query_response.rb +7 -2
  199. data/lib/crimson-falcon/models/domain_report_malware.rb +264 -0
  200. data/lib/crimson-falcon/models/domain_rule.rb +63 -69
  201. data/lib/crimson-falcon/models/domain_scan.rb +67 -4
  202. data/lib/crimson-falcon/models/domain_scan_profile.rb +13 -4
  203. data/lib/crimson-falcon/models/domain_scan_v2.rb +621 -0
  204. data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
  205. data/lib/crimson-falcon/models/domain_session.rb +0 -25
  206. data/lib/crimson-falcon/models/domain_telegram_channel_info.rb +243 -0
  207. data/lib/crimson-falcon/models/{models_snapshot_inventory_payload.rb → domain_telegram_info.rb} +25 -26
  208. data/lib/crimson-falcon/models/domain_telegram_recipient_info.rb +279 -0
  209. data/lib/crimson-falcon/models/domain_telegram_sender_info.rb +279 -0
  210. data/lib/crimson-falcon/models/domain_threat_entity.rb +235 -0
  211. data/lib/crimson-falcon/models/domain_user.rb +9 -27
  212. data/lib/crimson-falcon/models/domain_user_grants.rb +0 -20
  213. data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +266 -0
  214. data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +266 -0
  215. data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +266 -0
  216. data/lib/crimson-falcon/models/empowerapi_falcon_script.rb +521 -0
  217. data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +266 -0
  218. data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +266 -0
  219. data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +266 -0
  220. data/lib/crimson-falcon/models/executions_activity_execution_result.rb +377 -0
  221. data/lib/crimson-falcon/models/executions_ancestor_execution.rb +270 -0
  222. data/lib/crimson-falcon/models/executions_child_execution_result.rb +295 -0
  223. data/lib/crimson-falcon/models/executions_execution_result.rb +390 -0
  224. data/lib/crimson-falcon/models/executions_iterations.rb +315 -0
  225. data/lib/crimson-falcon/models/executions_loop_result.rb +356 -0
  226. data/lib/crimson-falcon/models/executions_reference_link.rb +255 -0
  227. data/lib/crimson-falcon/models/executions_trigger_result.rb +270 -0
  228. data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -15
  229. data/lib/crimson-falcon/models/falconx_submission_v1.rb +37 -1
  230. data/lib/crimson-falcon/models/flows.rb +269 -0
  231. data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +10 -1
  232. data/lib/crimson-falcon/models/graph_condition.rb +257 -0
  233. data/lib/crimson-falcon/models/graph_configured_activity.rb +308 -0
  234. data/lib/crimson-falcon/models/graph_configured_trigger.rb +307 -0
  235. data/lib/crimson-falcon/models/graph_definition_model.rb +315 -0
  236. data/lib/crimson-falcon/models/{models_scan_results.rb → graph_end.rb} +24 -23
  237. data/lib/crimson-falcon/models/graph_flow.rb +274 -0
  238. data/lib/crimson-falcon/models/graph_gateway.rb +268 -0
  239. data/lib/crimson-falcon/models/graph_multi.rb +285 -0
  240. data/lib/crimson-falcon/models/graph_sub_model.rb +301 -0
  241. data/lib/crimson-falcon/models/graph_timer_event_definition.rb +290 -0
  242. data/lib/crimson-falcon/models/graph_validation_error.rb +300 -0
  243. data/lib/crimson-falcon/models/images_api_combined_image_export.rb +266 -0
  244. data/lib/crimson-falcon/models/images_api_customer_and_image.rb +266 -0
  245. data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +266 -0
  246. data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +266 -0
  247. data/lib/crimson-falcon/models/images_api_image_count.rb +266 -0
  248. data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +266 -0
  249. data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +266 -0
  250. data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +266 -0
  251. data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +266 -0
  252. data/lib/crimson-falcon/models/internal_sensor_status.rb +75 -1
  253. data/lib/crimson-falcon/models/jsonschema_authorization.rb +278 -0
  254. data/lib/crimson-falcon/models/jsonschema_collection_index_field.rb +267 -0
  255. data/lib/crimson-falcon/models/jsonschema_complex_permissions.rb +236 -0
  256. data/lib/crimson-falcon/models/jsonschema_complex_permissions_or.rb +236 -0
  257. data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +270 -0
  258. data/lib/crimson-falcon/models/jsonschema_permission.rb +253 -0
  259. data/lib/crimson-falcon/models/jsonschema_pivot.rb +306 -0
  260. data/lib/crimson-falcon/models/jsonschema_reset_fields.rb +241 -0
  261. data/lib/crimson-falcon/models/jsonschema_schema.rb +250 -0
  262. data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +254 -0
  263. data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +782 -0
  264. data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +281 -0
  265. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +267 -0
  266. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_entry.rb +253 -0
  267. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +266 -0
  268. data/lib/crimson-falcon/models/k8sassets_container_enrichment_data.rb +241 -0
  269. data/lib/crimson-falcon/models/k8sassets_container_enrichment_entry.rb +253 -0
  270. data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +266 -0
  271. data/lib/crimson-falcon/models/k8sassets_container_info.rb +253 -0
  272. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_data.rb +239 -0
  273. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_entry.rb +253 -0
  274. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +266 -0
  275. data/lib/crimson-falcon/models/k8sassets_node_enrichment_data.rb +253 -0
  276. data/lib/crimson-falcon/models/k8sassets_node_enrichment_entry.rb +253 -0
  277. data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +266 -0
  278. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_data.rb +269 -0
  279. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_entry.rb +253 -0
  280. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +266 -0
  281. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +266 -0
  282. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +266 -0
  283. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +266 -0
  284. data/lib/crimson-falcon/models/model_user_input_read_response.rb +267 -0
  285. data/lib/crimson-falcon/models/model_user_input_update_request.rb +255 -0
  286. data/lib/crimson-falcon/models/model_user_input_view_model.rb +379 -0
  287. data/lib/crimson-falcon/models/models_account_entities_input.rb +241 -0
  288. data/lib/crimson-falcon/models/models_account_status_response.rb +266 -0
  289. data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +266 -0
  290. data/lib/crimson-falcon/models/models_api_assessment_detections.rb +477 -0
  291. data/lib/crimson-falcon/models/models_api_combined_detections.rb +395 -0
  292. data/lib/crimson-falcon/models/models_api_container_alert.rb +339 -0
  293. data/lib/crimson-falcon/models/models_api_customer_and_image.rb +458 -0
  294. data/lib/crimson-falcon/models/models_api_detection_count.rb +239 -0
  295. data/lib/crimson-falcon/models/models_api_detection_count_by_type.rb +253 -0
  296. data/lib/crimson-falcon/models/models_api_drift_indicators.rb +577 -0
  297. data/lib/crimson-falcon/models/models_api_filter_label.rb +253 -0
  298. data/lib/crimson-falcon/models/models_api_filter_response.rb +255 -0
  299. data/lib/crimson-falcon/models/models_api_image_assessment.rb +309 -0
  300. data/lib/crimson-falcon/models/models_api_image_assessment_history.rb +255 -0
  301. data/lib/crimson-falcon/models/models_api_image_by_vulnerability_count.rb +295 -0
  302. data/lib/crimson-falcon/models/models_api_image_combined_export.rb +505 -0
  303. data/lib/crimson-falcon/models/models_api_image_count.rb +239 -0
  304. data/lib/crimson-falcon/models/models_api_image_issues_summary.rb +359 -0
  305. data/lib/crimson-falcon/models/models_api_image_vulnerabilities_summary.rb +357 -0
  306. data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +796 -0
  307. data/lib/crimson-falcon/models/{domain_notification_details_v1.rb → models_api_package_combined.rb} +77 -85
  308. data/lib/crimson-falcon/models/models_api_package_vulnerability.rb +283 -0
  309. data/lib/crimson-falcon/models/models_api_packages_by_vuln_count.rb +309 -0
  310. data/lib/crimson-falcon/models/models_api_policy_count_by_action.rb +253 -0
  311. data/lib/crimson-falcon/models/models_api_policy_data.rb +257 -0
  312. data/lib/crimson-falcon/models/models_api_policy_entity.rb +332 -0
  313. data/lib/crimson-falcon/models/models_api_policy_exclusion.rb +301 -0
  314. data/lib/crimson-falcon/models/models_api_policy_group.rb +313 -0
  315. data/lib/crimson-falcon/models/models_api_policy_group_data.rb +241 -0
  316. data/lib/crimson-falcon/models/models_api_policy_rule.rb +248 -0
  317. data/lib/crimson-falcon/models/models_api_policy_rules_data.rb +241 -0
  318. data/lib/crimson-falcon/models/models_api_precedence_request.rb +241 -0
  319. data/lib/crimson-falcon/models/models_api_runtime_detection.rb +987 -0
  320. data/lib/crimson-falcon/models/models_api_unidentified_container.rb +525 -0
  321. data/lib/crimson-falcon/models/models_api_vuln_by_image_count.rb +283 -0
  322. data/lib/crimson-falcon/models/models_api_vuln_by_publication_date.rb +309 -0
  323. data/lib/crimson-falcon/models/models_api_vuln_count.rb +239 -0
  324. data/lib/crimson-falcon/models/models_api_vuln_count_by_severity.rb +253 -0
  325. data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +407 -0
  326. data/lib/crimson-falcon/models/models_api_vulnerability_details.rb +365 -0
  327. data/lib/crimson-falcon/models/models_api_vulnerability_info.rb +383 -0
  328. data/lib/crimson-falcon/models/models_cluster.rb +539 -0
  329. data/lib/crimson-falcon/models/models_cluster_entity_response.rb +266 -0
  330. data/lib/crimson-falcon/models/models_container.rb +831 -0
  331. data/lib/crimson-falcon/models/models_container_coverage.rb +253 -0
  332. data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +266 -0
  333. data/lib/crimson-falcon/models/models_container_entity_response.rb +266 -0
  334. data/lib/crimson-falcon/models/models_container_image.rb +453 -0
  335. data/lib/crimson-falcon/models/models_container_information.rb +253 -0
  336. data/lib/crimson-falcon/models/models_container_runtime_pivot.rb +353 -0
  337. data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +266 -0
  338. data/lib/crimson-falcon/models/models_create_image_group_request.rb +271 -0
  339. data/lib/crimson-falcon/models/models_create_policy_request.rb +253 -0
  340. data/lib/crimson-falcon/models/models_definition_create_request_v2.rb +263 -0
  341. data/lib/crimson-falcon/models/models_definition_update_request_v2.rb +288 -0
  342. data/lib/crimson-falcon/models/{models_snapshot_inventory_application.rb → models_deployment.rb} +85 -85
  343. data/lib/crimson-falcon/models/models_deployment_entity_response.rb +266 -0
  344. data/lib/crimson-falcon/models/models_exclusion_condition.rb +310 -0
  345. data/lib/crimson-falcon/models/models_exclusion_condition_request.rb +273 -0
  346. data/lib/crimson-falcon/models/models_image_information.rb +267 -0
  347. data/lib/crimson-falcon/models/models_image_summary_packages_info.rb +253 -0
  348. data/lib/crimson-falcon/models/models_issues_summary_container_info.rb +267 -0
  349. data/lib/crimson-falcon/models/models_light_weight_config.rb +347 -0
  350. data/lib/crimson-falcon/models/models_node.rb +723 -0
  351. data/lib/crimson-falcon/models/{public_get_changes_response.rb → models_node_entity_response.rb} +4 -4
  352. data/lib/crimson-falcon/models/models_package_name_version_type.rb +295 -0
  353. data/lib/crimson-falcon/models/models_patch_image_group_request.rb +262 -0
  354. data/lib/crimson-falcon/models/models_patch_policy_request.rb +276 -0
  355. data/lib/crimson-falcon/models/models_pod.rb +827 -0
  356. data/lib/crimson-falcon/models/models_pod_entity_response.rb +266 -0
  357. data/lib/crimson-falcon/models/models_policy_entity_response.rb +266 -0
  358. data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +266 -0
  359. data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +266 -0
  360. data/lib/crimson-falcon/models/models_request_api_policy_data.rb +241 -0
  361. data/lib/crimson-falcon/models/models_snapshot_account_status.rb +341 -0
  362. data/lib/crimson-falcon/models/models_update_exclusions_request.rb +241 -0
  363. data/lib/crimson-falcon/models/msa_aggregation_result.rb +10 -1
  364. data/lib/crimson-falcon/models/packages_api_combined_package.rb +266 -0
  365. data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +266 -0
  366. data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +266 -0
  367. data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +259 -0
  368. data/lib/crimson-falcon/models/parameter_activity_config_provision_parameter.rb +255 -0
  369. data/lib/crimson-falcon/models/parameter_activity_provision_parameters.rb +249 -0
  370. data/lib/crimson-falcon/models/parameter_activity_selection_parameter.rb +270 -0
  371. data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +284 -0
  372. data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +269 -0
  373. data/lib/crimson-falcon/models/parameter_condition_provision_parameter.rb +257 -0
  374. data/lib/crimson-falcon/models/parameter_template_provision_parameters.rb +255 -0
  375. data/lib/crimson-falcon/models/parameter_trigger_field_parameter.rb +259 -0
  376. data/lib/crimson-falcon/models/parameter_trigger_parameter.rb +257 -0
  377. data/lib/crimson-falcon/models/parameter_trigger_provision_parameter.rb +257 -0
  378. data/lib/crimson-falcon/models/policies_assigned_host_group.rb +253 -0
  379. data/lib/crimson-falcon/models/policies_assigned_rule_group.rb +253 -0
  380. data/lib/crimson-falcon/models/policies_create_request.rb +257 -0
  381. data/lib/crimson-falcon/models/policies_delete_response.rb +266 -0
  382. data/lib/crimson-falcon/models/policies_policy.rb +362 -0
  383. data/lib/crimson-falcon/models/policies_precedence_response.rb +266 -0
  384. data/lib/crimson-falcon/models/policies_response.rb +266 -0
  385. data/lib/crimson-falcon/models/policies_update_request.rb +266 -0
  386. data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +12 -1
  387. data/lib/crimson-falcon/models/registration_aws_account_patch.rb +10 -1
  388. data/lib/crimson-falcon/models/registration_azure_account_patch.rb +248 -0
  389. data/lib/crimson-falcon/models/registration_azure_account_patch_request.rb +241 -0
  390. data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +29 -1
  391. data/lib/crimson-falcon/models/registration_azure_management_group_create_request_external_v1.rb +241 -0
  392. data/lib/crimson-falcon/models/registration_azure_management_group_external_v1.rb +249 -0
  393. data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +266 -0
  394. data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +452 -0
  395. data/lib/crimson-falcon/models/registration_gcp_account_ext_request_v2.rb +241 -0
  396. data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +248 -0
  397. data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +241 -0
  398. data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +302 -0
  399. data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +271 -0
  400. data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +284 -0
  401. data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +261 -0
  402. data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +271 -0
  403. data/lib/crimson-falcon/models/registration_iom_event_id_response_meta.rb +281 -0
  404. data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
  405. data/lib/crimson-falcon/models/registration_iom_event_v2.rb +17 -1
  406. data/lib/crimson-falcon/models/registration_next_token_pagination.rb +266 -0
  407. data/lib/crimson-falcon/models/rulegroups_assigned_rule.rb +253 -0
  408. data/lib/crimson-falcon/models/rulegroups_create_request.rb +262 -0
  409. data/lib/crimson-falcon/models/rulegroups_delete_response.rb +266 -0
  410. data/lib/crimson-falcon/models/rulegroups_policy_assignment.rb +253 -0
  411. data/lib/crimson-falcon/models/rulegroups_response.rb +266 -0
  412. data/lib/crimson-falcon/models/rulegroups_rule.rb +579 -0
  413. data/lib/crimson-falcon/models/rulegroups_rule_group.rb +324 -0
  414. data/lib/crimson-falcon/models/rulegroups_rules_response.rb +266 -0
  415. data/lib/crimson-falcon/models/rulegroups_update_request.rb +262 -0
  416. data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +266 -0
  417. data/lib/crimson-falcon/models/{sadomain_submit_for_blocking_info.rb → sadomain_submission_information.rb} +3 -3
  418. data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +11 -2
  419. data/lib/crimson-falcon/models/scheduledexclusions_create_request.rb +316 -0
  420. data/lib/crimson-falcon/models/scheduledexclusions_repeated.rb +292 -0
  421. data/lib/crimson-falcon/models/scheduledexclusions_response.rb +266 -0
  422. data/lib/crimson-falcon/models/scheduledexclusions_scheduled_exclusion.rb +348 -0
  423. data/lib/crimson-falcon/models/scheduledexclusions_update_request.rb +330 -0
  424. data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +10 -1
  425. data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +10 -1
  426. data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +10 -1
  427. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +266 -0
  428. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +266 -0
  429. data/lib/crimson-falcon/models/v2_activity.rb +264 -0
  430. data/lib/crimson-falcon/models/v2_activity_parameters.rb +241 -0
  431. data/lib/crimson-falcon/models/v2_activity_properties.rb +241 -0
  432. data/lib/crimson-falcon/models/v2_condition.rb +286 -0
  433. data/lib/crimson-falcon/models/v2_condition_parameters.rb +241 -0
  434. data/lib/crimson-falcon/models/v2_definition.rb +374 -0
  435. data/lib/crimson-falcon/models/v2_for_loop.rb +253 -0
  436. data/lib/crimson-falcon/models/v2_loop.rb +281 -0
  437. data/lib/crimson-falcon/models/v2_parameters.rb +264 -0
  438. data/lib/crimson-falcon/models/v2_trigger.rb +277 -0
  439. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +266 -0
  440. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +266 -0
  441. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +266 -0
  442. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +266 -0
  443. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +266 -0
  444. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +266 -0
  445. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +266 -0
  446. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +266 -0
  447. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +266 -0
  448. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +266 -0
  449. data/lib/crimson-falcon/version.rb +2 -2
  450. data/lib/crimson-falcon.rb +366 -37
  451. data/spec/api/alerts_api_spec.rb +60 -8
  452. data/spec/api/{inventories_api_spec.rb → cloud_snapshots_api_spec.rb} +10 -10
  453. data/spec/api/configuration_assessment_api_spec.rb +11 -0
  454. data/spec/api/container_alerts_api_spec.rb +88 -0
  455. data/spec/api/container_detections_api_spec.rb +125 -0
  456. data/spec/api/container_images_api_spec.rb +182 -0
  457. data/spec/api/container_packages_api_spec.rb +119 -0
  458. data/spec/api/container_vulnerabilities_api_spec.rb +184 -0
  459. data/spec/api/cspm_registration_api_spec.rb +123 -1
  460. data/spec/api/custom_ioa_api_spec.rb +1 -1
  461. data/spec/api/custom_storage_api_spec.rb +133 -0
  462. data/spec/api/d4c_registration_api_spec.rb +47 -0
  463. data/spec/api/drift_indicators_api_spec.rb +114 -0
  464. data/spec/api/falcon_complete_dashboard_api_spec.rb +65 -7
  465. data/spec/api/falcon_container_image_api_spec.rb +0 -14
  466. data/spec/api/falconx_sandbox_api_spec.rb +1 -1
  467. data/spec/api/filevantage_api_spec.rb +315 -8
  468. data/spec/api/foundry_logscale_api_spec.rb +226 -0
  469. data/spec/api/hosts_api_spec.rb +12 -12
  470. data/spec/api/image_assessment_policies_api_spec.rb +172 -0
  471. data/spec/api/installation_tokens_api_spec.rb +4 -4
  472. data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
  473. data/spec/api/intel_api_spec.rb +2 -2
  474. data/spec/api/ioc_api_spec.rb +41 -0
  475. data/spec/api/kubernetes_protection_api_spec.rb +480 -0
  476. data/spec/api/message_center_api_spec.rb +3 -3
  477. data/spec/api/ods_api_spec.rb +13 -2
  478. data/spec/api/real_time_response_admin_api_spec.rb +25 -0
  479. data/spec/api/real_time_response_audit_api_spec.rb +67 -0
  480. data/spec/api/recon_api_spec.rb +3 -3
  481. data/spec/api/runtime_detections_api_spec.rb +66 -0
  482. data/spec/api/{vulnerabilities_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_api_spec.rb} +6 -6
  483. data/spec/api/{vulnerabilities_api_spec.rb → spotlight_vulnerabilities_api_spec.rb} +8 -8
  484. data/spec/api/unidentified_containers_api_spec.rb +88 -0
  485. data/spec/api/workflows_api_spec.rb +224 -0
  486. data/spec/models/alerts_container_alerts_count_value_spec.rb +63 -0
  487. data/spec/models/alerts_container_alerts_entity_response_spec.rb +63 -0
  488. data/spec/models/api_detects_query_meta_spec.rb +69 -0
  489. data/spec/models/api_detects_query_paging_spec.rb +63 -0
  490. data/spec/models/{api_aggregates_response_spec.rb → api_device_count_resp_v1_spec.rb} +6 -6
  491. data/spec/models/api_device_count_v1_spec.rb +69 -0
  492. data/spec/models/api_devices_ran_on_resp_v1_spec.rb +63 -0
  493. data/spec/models/api_entities_response_spec.rb +63 -0
  494. data/spec/models/api_execution_results_response_spec.rb +63 -0
  495. data/spec/models/api_exposed_data_record_bot_location_v1_spec.rb +57 -0
  496. data/spec/models/api_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
  497. data/spec/models/api_exposed_data_record_bot_v1_spec.rb +93 -0
  498. data/spec/models/api_meta_info_spec.rb +69 -0
  499. data/spec/models/api_notification_exposed_data_record_v1_spec.rb +18 -0
  500. data/spec/models/api_object_metadata_spec.rb +75 -0
  501. data/spec/models/api_processes_ran_on_resp_v1_spec.rb +63 -0
  502. data/spec/models/{common_entities_response_spec.rb → api_resource_ids_response_spec.rb} +6 -6
  503. data/spec/models/api_response_pagination_spec.rb +57 -0
  504. data/spec/models/apidomain_dynamic_execute_search_request_v1_spec.rb +75 -0
  505. data/spec/models/apidomain_query_response_v1_spec.rb +81 -0
  506. data/spec/models/apidomain_query_response_wrapper_v1_spec.rb +63 -0
  507. data/spec/models/{models_snapshot_inventory_application_spec.rb → apidomain_repo_view_list_item_v1_spec.rb} +15 -15
  508. data/spec/models/apidomain_repo_view_list_item_wrapper_v1_spec.rb +63 -0
  509. data/spec/models/apidomain_repository_v1_spec.rb +75 -0
  510. data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +111 -0
  511. data/spec/models/apidomain_view_connection_v1_spec.rb +57 -0
  512. data/spec/models/{public_acl_change_spec.rb → changes_acl_change_spec.rb} +6 -6
  513. data/spec/models/{public_acl_spec.rb → changes_acl_spec.rb} +6 -6
  514. data/spec/models/{public_before_spec.rb → changes_after_spec.rb} +6 -6
  515. data/spec/models/{public_attribute_spec.rb → changes_attribute_spec.rb} +6 -6
  516. data/spec/models/{public_basic_spec.rb → changes_basic_spec.rb} +6 -6
  517. data/spec/models/{public_after_spec.rb → changes_before_spec.rb} +6 -6
  518. data/spec/models/{public_change_spec.rb → changes_change_spec.rb} +6 -6
  519. data/spec/models/{public_dacl_entity_spec.rb → changes_dacl_entity_spec.rb} +12 -6
  520. data/spec/models/{public_dacl_spec.rb → changes_dacl_spec.rb} +6 -6
  521. data/spec/models/{public_diff_hash_spec.rb → changes_diff_hash_spec.rb} +6 -6
  522. data/spec/models/{public_diff_spec.rb → changes_diff_spec.rb} +6 -6
  523. data/spec/models/{public_diff_type_spec.rb → changes_diff_type_spec.rb} +6 -6
  524. data/spec/models/changes_get_changes_response_spec.rb +63 -0
  525. data/spec/models/{public_owner_spec.rb → changes_group_spec.rb} +6 -6
  526. data/spec/models/changes_high_volume_query_meta_spec.rb +69 -0
  527. data/spec/models/changes_high_volume_query_paging_spec.rb +63 -0
  528. data/spec/models/changes_high_volume_query_response_spec.rb +63 -0
  529. data/spec/models/{public_host_group_spec.rb → changes_host_group_spec.rb} +6 -6
  530. data/spec/models/{public_host_spec.rb → changes_host_spec.rb} +6 -6
  531. data/spec/models/{public_group_spec.rb → changes_owner_spec.rb} +6 -6
  532. data/spec/models/{public_permissions_lin_spec.rb → changes_permissions_lin_spec.rb} +6 -6
  533. data/spec/models/{public_permissions_spec.rb → changes_permissions_spec.rb} +6 -6
  534. data/spec/models/{public_policy_rule_group_spec.rb → changes_policy_rule_group_spec.rb} +6 -6
  535. data/spec/models/{public_policy_rule_spec.rb → changes_policy_rule_spec.rb} +6 -6
  536. data/spec/models/{public_policy_spec.rb → changes_policy_spec.rb} +6 -6
  537. data/spec/models/{public_prevalence_spec.rb → changes_prevalence_spec.rb} +6 -6
  538. data/spec/models/{public_tag_spec.rb → changes_tag_spec.rb} +6 -6
  539. data/spec/models/client_action_request_spec.rb +51 -0
  540. data/spec/models/client_cost_spec.rb +63 -0
  541. data/spec/models/client_costs_spec.rb +69 -0
  542. data/spec/models/client_data_ingest_response_v1_spec.rb +57 -0
  543. data/spec/models/client_data_ingest_response_wrapper_v1_spec.rb +63 -0
  544. data/spec/models/client_digest_flow_spec.rb +63 -0
  545. data/spec/models/client_extra_in_spec.rb +57 -0
  546. data/spec/models/client_extra_limit_spec.rb +57 -0
  547. data/spec/models/client_extra_rename_spec.rb +57 -0
  548. data/spec/models/client_extra_sort_spec.rb +75 -0
  549. data/spec/models/client_field_spec.rb +63 -0
  550. data/spec/models/client_job_status_spec.rb +117 -0
  551. data/spec/models/client_query_response_schemas_v1_spec.rb +57 -0
  552. data/spec/models/client_query_result_metadata_spec.rb +159 -0
  553. data/spec/models/client_repository_spec.rb +69 -0
  554. data/spec/models/client_spent_spec.rb +69 -0
  555. data/spec/models/client_system_definition_create_response_spec.rb +63 -0
  556. data/spec/models/client_system_definition_de_provision_request_spec.rb +69 -0
  557. data/spec/models/client_system_definition_promote_request_spec.rb +81 -0
  558. data/spec/models/client_system_definition_provision_request_spec.rb +75 -0
  559. data/spec/models/client_top_value_spec.rb +57 -0
  560. data/spec/models/common_count_as_resource_spec.rb +57 -0
  561. data/spec/models/common_count_response_spec.rb +63 -0
  562. data/spec/models/common_generic_entity_response_string_spec.rb +63 -0
  563. data/spec/models/custom_type1255839303_spec.rb +63 -0
  564. data/spec/models/custom_type3191042536_spec.rb +63 -0
  565. data/spec/models/definitions_definition_entities_response_spec.rb +63 -0
  566. data/spec/models/definitions_definition_ext_spec.rb +75 -0
  567. data/spec/models/definitions_definition_external_response_spec.rb +63 -0
  568. data/spec/models/definitions_definition_import_response_entity_spec.rb +81 -0
  569. data/spec/models/definitions_definition_import_response_spec.rb +63 -0
  570. data/spec/models/definitions_flight_control_request_spec.rb +69 -0
  571. data/spec/models/definitions_parameter_property_spec.rb +51 -0
  572. data/spec/models/definitions_playbook_parameter_spec.rb +57 -0
  573. data/spec/models/detections_api_assessment_detections_spec.rb +63 -0
  574. data/spec/models/detections_api_combined_detections_spec.rb +63 -0
  575. data/spec/models/detections_api_detections_by_severity_spec.rb +63 -0
  576. data/spec/models/detections_api_detections_by_type_spec.rb +63 -0
  577. data/spec/models/detections_api_detections_count_spec.rb +63 -0
  578. data/spec/models/detects_alert_spec.rb +42 -0
  579. data/spec/models/detectsapi_aggregate_alert_query_request_spec.rb +153 -0
  580. data/spec/models/detectsapi_aggregates_response_spec.rb +63 -0
  581. data/spec/models/detectsapi_aggregation_result_item_spec.rb +105 -0
  582. data/spec/models/detectsapi_aggregation_result_spec.rb +63 -0
  583. data/spec/models/detectsapi_alert_query_response_spec.rb +63 -0
  584. data/spec/models/detectsapi_patch_entities_alerts_v3_request_spec.rb +57 -0
  585. data/spec/models/detectsapi_post_entities_alerts_v2_request_spec.rb +51 -0
  586. data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +63 -0
  587. data/spec/models/detectsapi_response_fields_spec.rb +57 -0
  588. data/spec/models/device_device_spec.rb +12 -0
  589. data/spec/models/device_mapped_device_policies_spec.rb +6 -0
  590. data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
  591. data/spec/models/domain_actor_document_spec.rb +162 -0
  592. data/spec/models/domain_actor_entity_spec.rb +63 -0
  593. data/spec/models/domain_actor_news_document_spec.rb +69 -0
  594. data/spec/models/domain_api_finding_rule_v1_spec.rb +12 -0
  595. data/spec/models/domain_api_finding_with_rule_v1_spec.rb +6 -0
  596. data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
  597. data/spec/models/domain_api_rule_details_response_v1_spec.rb +63 -0
  598. data/spec/models/domain_api_rule_details_v1_spec.rb +135 -0
  599. data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
  600. data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
  601. data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +6 -0
  602. data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +0 -6
  603. data/spec/models/domain_api_vulnerability_v2_spec.rb +0 -12
  604. data/spec/models/domain_asset_criticality_info_v1_spec.rb +63 -0
  605. data/spec/models/domain_attachment_spec.rb +87 -0
  606. data/spec/models/domain_aws_account_input_spec.rb +81 -0
  607. data/spec/models/domain_aws_account_v2_spec.rb +6 -0
  608. data/spec/models/domain_aws_batch_cluster_region_spec.rb +63 -0
  609. data/spec/models/domain_azure_management_group_role_assignment_spec.rb +69 -0
  610. data/spec/models/domain_base_api_vulnerability_v2_spec.rb +0 -12
  611. data/spec/models/domain_breached_item_v1_spec.rb +18 -0
  612. data/spec/models/domain_card_spec.rb +87 -0
  613. data/spec/models/domain_cid_group_spec.rb +12 -0
  614. data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
  615. data/spec/models/domain_cloud_scope_spec.rb +6 -0
  616. data/spec/models/domain_credentials_spec.rb +13 -1
  617. data/spec/models/domain_device_policy_spec.rb +51 -0
  618. data/spec/models/domain_device_spec.rb +6 -0
  619. data/spec/models/domain_discover_api_host_spec.rb +36 -0
  620. data/spec/models/domain_discover_apiio_t_host_spec.rb +36 -0
  621. data/spec/models/{registration_msa_spec_meta_info_extension_spec.rb → domain_exposed_data_record_bot_location_v1_spec.rb} +8 -8
  622. data/spec/models/domain_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
  623. data/spec/models/domain_exposed_data_record_bot_v1_spec.rb +93 -0
  624. data/spec/models/domain_exposed_data_record_social_v1_spec.rb +6 -0
  625. data/spec/models/domain_file_count_v2_spec.rb +75 -0
  626. data/spec/models/domain_fragment_info_spec.rb +87 -0
  627. data/spec/models/domain_gcp_account_v1_spec.rb +6 -0
  628. data/spec/models/domain_host_spec.rb +123 -0
  629. data/spec/models/domain_incident_spec.rb +0 -6
  630. data/spec/models/domain_ioc_spec.rb +261 -0
  631. data/spec/models/domain_item_details_v1_spec.rb +207 -0
  632. data/spec/models/domain_mapped_device_policies_spec.rb +51 -0
  633. data/spec/models/domain_marketplace_product_spec.rb +87 -0
  634. data/spec/models/domain_matched_breach_summary_v1_spec.rb +12 -0
  635. data/spec/models/domain_meta_info_spec.rb +25 -1
  636. data/spec/models/domain_news_document_spec.rb +6 -0
  637. data/spec/models/domain_notification_v1_spec.rb +6 -0
  638. data/spec/models/domain_policy_info_spec.rb +12 -0
  639. data/spec/models/domain_report_malware_spec.rb +63 -0
  640. data/spec/models/domain_rule_spec.rb +7 -13
  641. data/spec/models/domain_scan_profile_spec.rb +6 -0
  642. data/spec/models/domain_scan_spec.rb +42 -0
  643. data/spec/models/domain_scan_v2_spec.rb +273 -0
  644. data/spec/models/domain_schedule_spec.rb +3 -3
  645. data/spec/models/domain_telegram_channel_info_spec.rb +57 -0
  646. data/spec/models/domain_telegram_info_spec.rb +63 -0
  647. data/spec/models/domain_telegram_recipient_info_spec.rb +81 -0
  648. data/spec/models/domain_telegram_sender_info_spec.rb +81 -0
  649. data/spec/models/domain_threat_entity_spec.rb +51 -0
  650. data/spec/models/domain_user_spec.rb +1 -13
  651. data/spec/models/driftindicators_drift_entity_response_spec.rb +63 -0
  652. data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +63 -0
  653. data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +63 -0
  654. data/spec/models/empowerapi_falcon_script_spec.rb +177 -0
  655. data/spec/models/empowerapi_msa_falcon_script_response_spec.rb +63 -0
  656. data/spec/models/empowerapi_msa_id_list_response_spec.rb +63 -0
  657. data/spec/models/entities_ods_scan_response_v2_spec.rb +63 -0
  658. data/spec/models/executions_activity_execution_result_spec.rb +117 -0
  659. data/spec/models/executions_ancestor_execution_spec.rb +63 -0
  660. data/spec/models/executions_child_execution_result_spec.rb +75 -0
  661. data/spec/models/executions_execution_result_spec.rb +111 -0
  662. data/spec/models/executions_iterations_spec.rb +81 -0
  663. data/spec/models/executions_loop_result_spec.rb +105 -0
  664. data/spec/models/executions_reference_link_spec.rb +57 -0
  665. data/spec/models/executions_trigger_result_spec.rb +69 -0
  666. data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -6
  667. data/spec/models/falconx_submission_v1_spec.rb +24 -0
  668. data/spec/models/flows_spec.rb +63 -0
  669. data/spec/models/fwmgr_msa_aggregation_result_spec.rb +6 -0
  670. data/spec/models/graph_condition_spec.rb +63 -0
  671. data/spec/models/graph_configured_activity_spec.rb +81 -0
  672. data/spec/models/graph_configured_trigger_spec.rb +87 -0
  673. data/spec/models/graph_definition_model_spec.rb +87 -0
  674. data/spec/models/graph_end_spec.rb +57 -0
  675. data/spec/models/graph_flow_spec.rb +69 -0
  676. data/spec/models/graph_gateway_spec.rb +63 -0
  677. data/spec/models/graph_multi_spec.rb +69 -0
  678. data/spec/models/graph_sub_model_spec.rb +81 -0
  679. data/spec/models/graph_timer_event_definition_spec.rb +75 -0
  680. data/spec/models/graph_validation_error_spec.rb +87 -0
  681. data/spec/models/images_api_combined_image_export_spec.rb +63 -0
  682. data/spec/models/images_api_customer_and_image_spec.rb +63 -0
  683. data/spec/models/images_api_image_assessment_history_spec.rb +63 -0
  684. data/spec/models/images_api_image_by_vulnerability_count_spec.rb +63 -0
  685. data/spec/models/images_api_image_count_by_base_os_spec.rb +63 -0
  686. data/spec/models/images_api_image_count_by_state_spec.rb +63 -0
  687. data/spec/models/images_api_image_count_spec.rb +63 -0
  688. data/spec/models/images_api_image_issues_summary_spec.rb +63 -0
  689. data/spec/models/images_api_image_vulnerabilities_summary_spec.rb +63 -0
  690. data/spec/models/internal_sensor_status_spec.rb +48 -0
  691. data/spec/models/jsonschema_authorization_spec.rb +69 -0
  692. data/spec/models/jsonschema_collection_index_field_spec.rb +63 -0
  693. data/spec/models/jsonschema_complex_permissions_or_spec.rb +51 -0
  694. data/spec/models/jsonschema_complex_permissions_spec.rb +51 -0
  695. data/spec/models/jsonschema_condition_group_fields_spec.rb +75 -0
  696. data/spec/models/jsonschema_permission_spec.rb +57 -0
  697. data/spec/models/jsonschema_pivot_spec.rb +99 -0
  698. data/spec/models/jsonschema_reset_fields_spec.rb +51 -0
  699. data/spec/models/jsonschema_schema_spec.rb +57 -0
  700. data/spec/models/jsonschema_signals_extensions_spec.rb +63 -0
  701. data/spec/models/jsonschema_sub_schema_spec.rb +399 -0
  702. data/spec/models/jsonschema_workflow_extensions_spec.rb +81 -0
  703. data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +63 -0
  704. data/spec/models/k8sassets_cluster_enrichment_entry_spec.rb +57 -0
  705. data/spec/models/k8sassets_cluster_enrichment_response_spec.rb +63 -0
  706. data/spec/models/k8sassets_container_enrichment_data_spec.rb +51 -0
  707. data/spec/models/k8sassets_container_enrichment_entry_spec.rb +57 -0
  708. data/spec/models/k8sassets_container_enrichment_response_spec.rb +63 -0
  709. data/spec/models/k8sassets_container_info_spec.rb +57 -0
  710. data/spec/models/k8sassets_deployment_enrichment_data_spec.rb +51 -0
  711. data/spec/models/k8sassets_deployment_enrichment_entry_spec.rb +57 -0
  712. data/spec/models/k8sassets_deployment_enrichment_response_spec.rb +63 -0
  713. data/spec/models/k8sassets_node_enrichment_data_spec.rb +57 -0
  714. data/spec/models/k8sassets_node_enrichment_entry_spec.rb +57 -0
  715. data/spec/models/k8sassets_node_enrichment_response_spec.rb +63 -0
  716. data/spec/models/k8sassets_pod_enrichment_data_spec.rb +63 -0
  717. data/spec/models/k8sassets_pod_enrichment_entry_spec.rb +57 -0
  718. data/spec/models/k8sassets_pod_enrichment_response_spec.rb +63 -0
  719. data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +63 -0
  720. data/spec/models/k8sioms_kubernetes_iom_entity_response_spec.rb +63 -0
  721. data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +63 -0
  722. data/spec/models/model_user_input_read_response_spec.rb +63 -0
  723. data/spec/models/model_user_input_update_request_spec.rb +57 -0
  724. data/spec/models/model_user_input_view_model_spec.rb +105 -0
  725. data/spec/models/models_account_entities_input_spec.rb +51 -0
  726. data/spec/models/models_account_status_response_spec.rb +63 -0
  727. data/spec/models/models_aggregate_values_by_field_response_spec.rb +63 -0
  728. data/spec/models/models_api_assessment_detections_spec.rb +153 -0
  729. data/spec/models/models_api_combined_detections_spec.rb +117 -0
  730. data/spec/models/models_api_container_alert_spec.rb +93 -0
  731. data/spec/models/models_api_customer_and_image_spec.rb +147 -0
  732. data/spec/models/models_api_detection_count_by_type_spec.rb +57 -0
  733. data/spec/models/models_api_detection_count_spec.rb +51 -0
  734. data/spec/models/models_api_drift_indicators_spec.rb +195 -0
  735. data/spec/models/{models_scan_results_spec.rb → models_api_filter_label_spec.rb} +8 -8
  736. data/spec/models/models_api_filter_response_spec.rb +57 -0
  737. data/spec/models/models_api_image_assessment_history_spec.rb +57 -0
  738. data/spec/models/models_api_image_assessment_spec.rb +81 -0
  739. data/spec/models/models_api_image_by_vulnerability_count_spec.rb +75 -0
  740. data/spec/models/models_api_image_combined_export_spec.rb +165 -0
  741. data/spec/models/models_api_image_count_spec.rb +51 -0
  742. data/spec/models/models_api_image_issues_summary_spec.rb +99 -0
  743. data/spec/models/models_api_image_vulnerabilities_summary_spec.rb +99 -0
  744. data/spec/models/models_api_kubernetes_iom_spec.rb +339 -0
  745. data/spec/models/models_api_package_combined_spec.rb +93 -0
  746. data/spec/models/models_api_package_vulnerability_spec.rb +69 -0
  747. data/spec/models/models_api_packages_by_vuln_count_spec.rb +81 -0
  748. data/spec/models/models_api_policy_count_by_action_spec.rb +57 -0
  749. data/spec/models/{domain_msa_meta_info_spec.rb → models_api_policy_data_spec.rb} +8 -8
  750. data/spec/models/{models_job_meta_data_spec.rb → models_api_policy_entity_spec.rb} +14 -14
  751. data/spec/models/models_api_policy_exclusion_spec.rb +81 -0
  752. data/spec/models/models_api_policy_group_data_spec.rb +51 -0
  753. data/spec/models/models_api_policy_group_spec.rb +87 -0
  754. data/spec/models/models_api_policy_rule_spec.rb +57 -0
  755. data/spec/models/models_api_policy_rules_data_spec.rb +51 -0
  756. data/spec/models/models_api_precedence_request_spec.rb +51 -0
  757. data/spec/models/models_api_runtime_detection_spec.rb +369 -0
  758. data/spec/models/models_api_unidentified_container_spec.rb +171 -0
  759. data/spec/models/models_api_vuln_by_image_count_spec.rb +69 -0
  760. data/spec/models/models_api_vuln_by_publication_date_spec.rb +81 -0
  761. data/spec/models/models_api_vuln_count_by_severity_spec.rb +57 -0
  762. data/spec/models/models_api_vuln_count_spec.rb +51 -0
  763. data/spec/models/models_api_vulnerability_combined_spec.rb +123 -0
  764. data/spec/models/models_api_vulnerability_details_spec.rb +105 -0
  765. data/spec/models/models_api_vulnerability_info_spec.rb +111 -0
  766. data/spec/models/models_cluster_entity_response_spec.rb +63 -0
  767. data/spec/models/models_cluster_spec.rb +177 -0
  768. data/spec/models/models_container_coverage_response_entity_spec.rb +63 -0
  769. data/spec/models/models_container_coverage_spec.rb +57 -0
  770. data/spec/models/models_container_entity_response_spec.rb +63 -0
  771. data/spec/models/models_container_image_spec.rb +141 -0
  772. data/spec/models/models_container_information_spec.rb +57 -0
  773. data/spec/models/models_container_runtime_pivot_response_spec.rb +63 -0
  774. data/spec/models/models_container_runtime_pivot_spec.rb +99 -0
  775. data/spec/models/models_container_spec.rb +429 -0
  776. data/spec/models/models_create_image_group_request_spec.rb +69 -0
  777. data/spec/models/models_create_policy_request_spec.rb +57 -0
  778. data/spec/models/models_definition_create_request_v2_spec.rb +63 -0
  779. data/spec/models/models_definition_update_request_v2_spec.rb +75 -0
  780. data/spec/models/models_deployment_entity_response_spec.rb +63 -0
  781. data/spec/models/models_deployment_spec.rb +99 -0
  782. data/spec/models/models_exclusion_condition_request_spec.rb +69 -0
  783. data/spec/models/models_exclusion_condition_spec.rb +87 -0
  784. data/spec/models/models_image_information_spec.rb +63 -0
  785. data/spec/models/models_image_summary_packages_info_spec.rb +57 -0
  786. data/spec/models/models_issues_summary_container_info_spec.rb +63 -0
  787. data/spec/models/models_light_weight_config_spec.rb +93 -0
  788. data/spec/models/{public_get_changes_response_spec.rb → models_node_entity_response_spec.rb} +6 -6
  789. data/spec/models/models_node_spec.rb +255 -0
  790. data/spec/models/models_package_name_version_type_spec.rb +75 -0
  791. data/spec/models/models_patch_image_group_request_spec.rb +63 -0
  792. data/spec/models/models_patch_policy_request_spec.rb +69 -0
  793. data/spec/models/models_pod_entity_response_spec.rb +63 -0
  794. data/spec/models/models_pod_spec.rb +297 -0
  795. data/spec/models/models_policy_entity_response_spec.rb +63 -0
  796. data/spec/models/models_policy_exclusion_entity_response_spec.rb +63 -0
  797. data/spec/models/models_policy_group_entity_response_spec.rb +63 -0
  798. data/spec/models/models_request_api_policy_data_spec.rb +51 -0
  799. data/spec/models/models_snapshot_account_status_spec.rb +93 -0
  800. data/spec/models/models_update_exclusions_request_spec.rb +51 -0
  801. data/spec/models/msa_aggregation_result_spec.rb +6 -0
  802. data/spec/models/packages_api_combined_package_export_spec.rb +63 -0
  803. data/spec/models/packages_api_combined_package_spec.rb +63 -0
  804. data/spec/models/packages_api_packages_by_vuln_count_spec.rb +63 -0
  805. data/spec/models/parameter_activity_config_parameter_value_spec.rb +63 -0
  806. data/spec/models/parameter_activity_config_provision_parameter_spec.rb +57 -0
  807. data/spec/models/parameter_activity_provision_parameters_spec.rb +57 -0
  808. data/spec/models/parameter_activity_selection_parameter_spec.rb +63 -0
  809. data/spec/models/parameter_condition_field_parameter_spec.rb +75 -0
  810. data/spec/models/parameter_condition_field_provision_parameter_spec.rb +63 -0
  811. data/spec/models/parameter_condition_provision_parameter_spec.rb +57 -0
  812. data/spec/models/parameter_template_provision_parameters_spec.rb +63 -0
  813. data/spec/models/parameter_trigger_field_parameter_spec.rb +63 -0
  814. data/spec/models/parameter_trigger_parameter_spec.rb +57 -0
  815. data/spec/models/parameter_trigger_provision_parameter_spec.rb +57 -0
  816. data/spec/models/policies_assigned_host_group_spec.rb +57 -0
  817. data/spec/models/policies_assigned_rule_group_spec.rb +57 -0
  818. data/spec/models/policies_create_request_spec.rb +63 -0
  819. data/spec/models/policies_delete_response_spec.rb +63 -0
  820. data/spec/models/policies_policy_spec.rb +117 -0
  821. data/spec/models/policies_precedence_response_spec.rb +63 -0
  822. data/spec/models/policies_response_spec.rb +63 -0
  823. data/spec/models/policies_update_request_spec.rb +69 -0
  824. data/spec/models/quarantine_quarantined_file_spec.rb +6 -0
  825. data/spec/models/registration_aws_account_patch_spec.rb +6 -0
  826. data/spec/models/registration_azure_account_patch_request_spec.rb +51 -0
  827. data/spec/models/{models_snapshot_inventory_payload_spec.rb → registration_azure_account_patch_spec.rb} +8 -8
  828. data/spec/models/registration_azure_account_v1_ext_spec.rb +18 -0
  829. data/spec/models/registration_azure_management_group_create_request_external_v1_spec.rb +51 -0
  830. data/spec/models/registration_azure_management_group_external_v1_spec.rb +57 -0
  831. data/spec/models/registration_azure_management_group_response_v1_spec.rb +63 -0
  832. data/spec/models/registration_azure_management_group_v1_ext_spec.rb +165 -0
  833. data/spec/models/registration_gcp_account_ext_request_v2_spec.rb +51 -0
  834. data/spec/models/registration_gcp_account_patch_request_spec.rb +51 -0
  835. data/spec/models/registration_gcp_account_patch_spec.rb +57 -0
  836. data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +93 -0
  837. data/spec/models/registration_gcp_account_response_ext_v2_spec.rb +63 -0
  838. data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +81 -0
  839. data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +69 -0
  840. data/spec/models/registration_gcp_service_account_response_ext_v1_spec.rb +63 -0
  841. data/spec/models/registration_iom_event_id_response_meta_spec.rb +69 -0
  842. data/spec/models/registration_iom_event_v2_spec.rb +6 -0
  843. data/spec/models/registration_next_token_pagination_spec.rb +69 -0
  844. data/spec/models/rulegroups_assigned_rule_spec.rb +57 -0
  845. data/spec/models/rulegroups_create_request_spec.rb +63 -0
  846. data/spec/models/rulegroups_delete_response_spec.rb +63 -0
  847. data/spec/models/rulegroups_policy_assignment_spec.rb +57 -0
  848. data/spec/models/rulegroups_response_spec.rb +63 -0
  849. data/spec/models/{domain_notification_details_v1_spec.rb → rulegroups_rule_group_spec.rb} +16 -16
  850. data/spec/models/rulegroups_rule_spec.rb +255 -0
  851. data/spec/models/rulegroups_rules_response_spec.rb +63 -0
  852. data/spec/models/rulegroups_update_request_spec.rb +63 -0
  853. data/spec/models/runtimedetections_detections_entity_response_spec.rb +63 -0
  854. data/spec/models/{sadomain_submit_for_blocking_info_spec.rb → sadomain_submission_information_spec.rb} +6 -6
  855. data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
  856. data/spec/models/scheduledexclusions_create_request_spec.rb +99 -0
  857. data/spec/models/scheduledexclusions_repeated_spec.rb +87 -0
  858. data/spec/models/scheduledexclusions_response_spec.rb +63 -0
  859. data/spec/models/scheduledexclusions_scheduled_exclusion_spec.rb +117 -0
  860. data/spec/models/scheduledexclusions_update_request_spec.rb +105 -0
  861. data/spec/models/sv_exclusions_create_req_v1_spec.rb +6 -0
  862. data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +6 -0
  863. data/spec/models/sv_exclusions_update_req_v1_spec.rb +6 -0
  864. data/spec/models/unidentifiedcontainers_unidentified_container_api_response_spec.rb +63 -0
  865. data/spec/models/unidentifiedcontainers_unidentified_containers_count_value_spec.rb +63 -0
  866. data/spec/models/v2_activity_parameters_spec.rb +51 -0
  867. data/spec/models/v2_activity_properties_spec.rb +51 -0
  868. data/spec/models/v2_activity_spec.rb +63 -0
  869. data/spec/models/v2_condition_parameters_spec.rb +51 -0
  870. data/spec/models/v2_condition_spec.rb +75 -0
  871. data/spec/models/v2_definition_spec.rb +123 -0
  872. data/spec/models/v2_for_loop_spec.rb +57 -0
  873. data/spec/models/v2_loop_spec.rb +75 -0
  874. data/spec/models/v2_parameters_spec.rb +69 -0
  875. data/spec/models/v2_trigger_spec.rb +75 -0
  876. data/spec/models/vulnerabilities_api_combined_vulnerability_details_spec.rb +63 -0
  877. data/spec/models/vulnerabilities_api_combined_vulnerability_info_spec.rb +63 -0
  878. data/spec/models/vulnerabilities_api_combined_vulnerability_spec.rb +63 -0
  879. data/spec/models/vulnerabilities_api_vuln_by_image_count_spec.rb +63 -0
  880. data/spec/models/vulnerabilities_api_vuln_by_publication_spec.rb +63 -0
  881. data/spec/models/vulnerabilities_api_vuln_count_by_actively_exploited_spec.rb +63 -0
  882. data/spec/models/vulnerabilities_api_vuln_count_by_csp_rating_spec.rb +63 -0
  883. data/spec/models/vulnerabilities_api_vuln_count_by_cvss_score_spec.rb +63 -0
  884. data/spec/models/vulnerabilities_api_vuln_count_by_severity_spec.rb +63 -0
  885. data/spec/models/vulnerabilities_api_vuln_count_spec.rb +63 -0
  886. metadata +1934 -947
@@ -36,31 +36,303 @@ module Falcon
36
36
  def initialize(api_client = ApiClient.default)
37
37
  @api_client = api_client
38
38
  end
39
- # Retrieve information on changes
40
- # Retrieve key attributes of Falcon FileVantage changes for the specified ids.
41
- # @param ids [Array<String>] One or more change ids in the form of ids&#x3D;ID1&amp;ids&#x3D;ID2
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. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;platform&#x60; must be one of &#x60;Windows&#x60;, &#x60;Linux&#x60;, or &#x60;Mac&#x60; Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
42
42
  # @param [Hash] opts the optional parameters
43
- # @return [PublicGetChangesResponse]
44
- def get_changes(ids, opts = {})
45
- data, _status_code, _headers = get_changes_with_http_info(ids, opts)
43
+ # @return [PoliciesResponse]
44
+ def create_policies(body, opts = {})
45
+ data, _status_code, _headers = create_policies_with_http_info(body, opts)
46
46
  data
47
47
  end
48
48
 
49
- # Retrieve information on changes
50
- # Retrieve key attributes of Falcon FileVantage changes for the specified ids.
51
- # @param ids [Array<String>] One or more change ids in the form of ids&#x3D;ID1&amp;ids&#x3D;ID2
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. * &#x60;name&#x60; must be between 1 and 100 characters. * &#x60;description&#x60; can be between 0 and 500 characters. * &#x60;platform&#x60; must be one of &#x60;Windows&#x60;, &#x60;Linux&#x60;, or &#x60;Mac&#x60; Rule and host group assignment and policy precedence setting is performed via their respective patch end-points.
52
52
  # @param [Hash] opts the optional parameters
53
- # @return [Array<(PublicGetChangesResponse, Integer, Hash)>] PublicGetChangesResponse data, response status code and response headers
54
- def get_changes_with_http_info(ids, opts = {})
53
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
54
+ def create_policies_with_http_info(body, opts = {})
55
55
  if @api_client.config.debugging
56
- @api_client.config.logger.debug 'Calling API: FilevantageApi.get_changes ...'
56
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.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 FilevantageApi.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 => :"FilevantageApi.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: FilevantageApi#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: FilevantageApi.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 FilevantageApi.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 => :"FilevantageApi.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: FilevantageApi#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; 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;
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; 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;
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: FilevantageApi.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 FilevantageApi.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 => :"FilevantageApi.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: FilevantageApi#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: FilevantageApi.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 FilevantageApi.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 => :"FilevantageApi.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: FilevantageApi#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: FilevantageApi.delete_policies ...'
57
329
  end
58
330
  # verify the required parameter 'ids' is set
59
331
  if @api_client.config.client_side_validation && ids.nil?
60
- fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.get_changes"
332
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.delete_policies"
61
333
  end
62
334
  # resource path
63
- local_var_path = '/filevantage/entities/changes/v2'
335
+ local_var_path = '/filevantage/entities/policies/v1'
64
336
 
65
337
  # query parameters
66
338
  query_params = opts[:query_params] || {}
@@ -78,13 +350,13 @@ module Falcon
78
350
  post_body = opts[:debug_body]
79
351
 
80
352
  # return_type
81
- return_type = opts[:debug_return_type] || 'PublicGetChangesResponse'
353
+ return_type = opts[:debug_return_type] || 'PoliciesDeleteResponse'
82
354
 
83
355
  # auth_names
84
356
  auth_names = opts[:debug_auth_names] || ['oauth2']
85
357
 
86
358
  new_options = opts.merge(
87
- :operation => :"FilevantageApi.get_changes",
359
+ :operation => :"FilevantageApi.delete_policies",
88
360
  :header_params => header_params,
89
361
  :query_params => query_params,
90
362
  :form_params => form_params,
@@ -93,51 +365,113 @@ module Falcon
93
365
  :return_type => return_type
94
366
  )
95
367
 
96
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
368
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
97
369
  if @api_client.config.debugging
98
- @api_client.config.logger.debug "API called: FilevantageApi#get_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
370
+ @api_client.config.logger.debug "API called: FilevantageApi#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: FilevantageApi.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 FilevantageApi.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 => :"FilevantageApi.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: FilevantageApi#delete_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
435
  end
100
436
  return data, status_code, headers
101
437
  end
102
438
 
103
- # Returns one or more change IDs
104
- # Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided
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;
105
443
  # @param [Hash] opts the optional parameters
106
- # @option opts [Integer] :offset The first change 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.
107
- # @option opts [Integer] :limit The maximum number of changes to return in the response (default: 100; max: 500). Use with the &#x60;offset&#x60; parameter to manage pagination of results
108
- # @option opts [String] :sort Sort changes 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.
109
- # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;host.host_name&#x60; - &#x60;action_timestamp&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
110
444
  # @return [MsaspecQueryResponse]
111
- def query_changes(opts = {})
112
- data, _status_code, _headers = query_changes_with_http_info(opts)
445
+ def delete_rules(rule_group_id, ids, opts = {})
446
+ data, _status_code, _headers = delete_rules_with_http_info(rule_group_id, ids, opts)
113
447
  data
114
448
  end
115
449
 
116
- # Returns one or more change IDs
117
- # Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided
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;
118
454
  # @param [Hash] opts the optional parameters
119
- # @option opts [Integer] :offset The first change 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.
120
- # @option opts [Integer] :limit The maximum number of changes to return in the response (default: 100; max: 500). Use with the &#x60;offset&#x60; parameter to manage pagination of results
121
- # @option opts [String] :sort Sort changes 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.
122
- # @option opts [String] :filter Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - &#x60;host.host_name&#x60; - &#x60;action_timestamp&#x60; The full list of allowed filter parameters can be reviewed in our API documentation.
123
455
  # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
124
- def query_changes_with_http_info(opts = {})
456
+ def delete_rules_with_http_info(rule_group_id, ids, opts = {})
125
457
  if @api_client.config.debugging
126
- @api_client.config.logger.debug 'Calling API: FilevantageApi.query_changes ...'
458
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.delete_rules ...'
127
459
  end
128
- if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
129
- fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling FilevantageApi.query_changes, must be greater than or equal to 0.'
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 FilevantageApi.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 FilevantageApi.delete_rules"
130
467
  end
131
-
132
468
  # resource path
133
- local_var_path = '/filevantage/queries/changes/v2'
469
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
134
470
 
135
471
  # query parameters
136
472
  query_params = opts[:query_params] || {}
137
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
138
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
139
- query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
140
- query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
473
+ query_params[:'rule_group_id'] = rule_group_id
474
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
141
475
 
142
476
  # header parameters
143
477
  header_params = opts[:header_params] || {}
@@ -157,7 +491,7 @@ module Falcon
157
491
  auth_names = opts[:debug_auth_names] || ['oauth2']
158
492
 
159
493
  new_options = opts.merge(
160
- :operation => :"FilevantageApi.query_changes",
494
+ :operation => :"FilevantageApi.delete_rules",
161
495
  :header_params => header_params,
162
496
  :query_params => query_params,
163
497
  :form_params => form_params,
@@ -166,9 +500,1360 @@ module Falcon
166
500
  :return_type => return_type
167
501
  )
168
502
 
169
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
503
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
170
504
  if @api_client.config.debugging
171
- @api_client.config.logger.debug "API called: FilevantageApi#query_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
505
+ @api_client.config.logger.debug "API called: FilevantageApi#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: FilevantageApi.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 FilevantageApi.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 FilevantageApi.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 => :"FilevantageApi.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: FilevantageApi#delete_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
577
+ end
578
+ return data, status_code, headers
579
+ end
580
+
581
+ # Retrieve information on changes
582
+ # Retrieve key attributes of Falcon FileVantage changes for the specified ids.
583
+ # @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;.
584
+ # @param [Hash] opts the optional parameters
585
+ # @return [ChangesGetChangesResponse]
586
+ def get_changes(ids, opts = {})
587
+ data, _status_code, _headers = get_changes_with_http_info(ids, opts)
588
+ data
589
+ end
590
+
591
+ # Retrieve information on changes
592
+ # Retrieve key attributes of Falcon FileVantage changes for the specified ids.
593
+ # @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;.
594
+ # @param [Hash] opts the optional parameters
595
+ # @return [Array<(ChangesGetChangesResponse, Integer, Hash)>] ChangesGetChangesResponse data, response status code and response headers
596
+ def get_changes_with_http_info(ids, opts = {})
597
+ if @api_client.config.debugging
598
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.get_changes ...'
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 FilevantageApi.get_changes"
603
+ end
604
+ if @api_client.config.client_side_validation && ids.length > 500
605
+ fail ArgumentError, 'invalid value for "ids" when calling FilevantageApi.get_changes, number of items must be less than or equal to 500.'
606
+ end
607
+
608
+ if @api_client.config.client_side_validation && ids.length < 1
609
+ fail ArgumentError, 'invalid value for "ids" when calling FilevantageApi.get_changes, number of items must be greater than or equal to 1.'
610
+ end
611
+
612
+ # resource path
613
+ local_var_path = '/filevantage/entities/changes/v2'
614
+
615
+ # query parameters
616
+ query_params = opts[:query_params] || {}
617
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
618
+
619
+ # header parameters
620
+ header_params = opts[:header_params] || {}
621
+ # HTTP header 'Accept' (if needed)
622
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
623
+
624
+ # form parameters
625
+ form_params = opts[:form_params] || {}
626
+
627
+ # http body (model)
628
+ post_body = opts[:debug_body]
629
+
630
+ # return_type
631
+ return_type = opts[:debug_return_type] || 'ChangesGetChangesResponse'
632
+
633
+ # auth_names
634
+ auth_names = opts[:debug_auth_names] || ['oauth2']
635
+
636
+ new_options = opts.merge(
637
+ :operation => :"FilevantageApi.get_changes",
638
+ :header_params => header_params,
639
+ :query_params => query_params,
640
+ :form_params => form_params,
641
+ :body => post_body,
642
+ :auth_names => auth_names,
643
+ :return_type => return_type
644
+ )
645
+
646
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
647
+ if @api_client.config.debugging
648
+ @api_client.config.logger.debug "API called: FilevantageApi#get_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
649
+ end
650
+ return data, status_code, headers
651
+ end
652
+
653
+ # Retrieves the configuration for 1 or more policies.
654
+ # The configuration of each policy that match the provided id will be returned.
655
+ # @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;
656
+ # @param [Hash] opts the optional parameters
657
+ # @return [PoliciesResponse]
658
+ def get_policies(ids, opts = {})
659
+ data, _status_code, _headers = get_policies_with_http_info(ids, opts)
660
+ data
661
+ end
662
+
663
+ # Retrieves the configuration for 1 or more policies.
664
+ # The configuration of each policy that match the provided id will be returned.
665
+ # @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;
666
+ # @param [Hash] opts the optional parameters
667
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
668
+ def get_policies_with_http_info(ids, opts = {})
669
+ if @api_client.config.debugging
670
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.get_policies ...'
671
+ end
672
+ # verify the required parameter 'ids' is set
673
+ if @api_client.config.client_side_validation && ids.nil?
674
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.get_policies"
675
+ end
676
+ # resource path
677
+ local_var_path = '/filevantage/entities/policies/v1'
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] || 'PoliciesResponse'
696
+
697
+ # auth_names
698
+ auth_names = opts[:debug_auth_names] || ['oauth2']
699
+
700
+ new_options = opts.merge(
701
+ :operation => :"FilevantageApi.get_policies",
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: FilevantageApi#get_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
713
+ end
714
+ return data, status_code, headers
715
+ end
716
+
717
+ # Retrieves the rule group details for 1 or more rule groups.
718
+ # Full details of each rule group that matches a provided id will be returned in the response
719
+ # @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;
720
+ # @param [Hash] opts the optional parameters
721
+ # @return [RulegroupsResponse]
722
+ def get_rule_groups(ids, opts = {})
723
+ data, _status_code, _headers = get_rule_groups_with_http_info(ids, opts)
724
+ data
725
+ end
726
+
727
+ # Retrieves the rule group details for 1 or more rule groups.
728
+ # Full details of each rule group that matches a provided id will be returned in the response
729
+ # @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;
730
+ # @param [Hash] opts the optional parameters
731
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
732
+ def get_rule_groups_with_http_info(ids, opts = {})
733
+ if @api_client.config.debugging
734
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.get_rule_groups ...'
735
+ end
736
+ # verify the required parameter 'ids' is set
737
+ if @api_client.config.client_side_validation && ids.nil?
738
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.get_rule_groups"
739
+ end
740
+ # resource path
741
+ local_var_path = '/filevantage/entities/rule-groups/v1'
742
+
743
+ # query parameters
744
+ query_params = opts[:query_params] || {}
745
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
746
+
747
+ # header parameters
748
+ header_params = opts[:header_params] || {}
749
+ # HTTP header 'Accept' (if needed)
750
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
751
+
752
+ # form parameters
753
+ form_params = opts[:form_params] || {}
754
+
755
+ # http body (model)
756
+ post_body = opts[:debug_body]
757
+
758
+ # return_type
759
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
760
+
761
+ # auth_names
762
+ auth_names = opts[:debug_auth_names] || ['oauth2']
763
+
764
+ new_options = opts.merge(
765
+ :operation => :"FilevantageApi.get_rule_groups",
766
+ :header_params => header_params,
767
+ :query_params => query_params,
768
+ :form_params => form_params,
769
+ :body => post_body,
770
+ :auth_names => auth_names,
771
+ :return_type => return_type
772
+ )
773
+
774
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
775
+ if @api_client.config.debugging
776
+ @api_client.config.logger.debug "API called: FilevantageApi#get_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
777
+ end
778
+ return data, status_code, headers
779
+ end
780
+
781
+ # Retrieves the configuration for 1 or more rules.
782
+ # Rules within the provided rule group id that match a provided id will be returned within the response.
783
+ # @param rule_group_id [String] Rule group from which to retrieve the rule configuration.
784
+ # @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;.
785
+ # @param [Hash] opts the optional parameters
786
+ # @return [RulegroupsRulesResponse]
787
+ def get_rules(rule_group_id, ids, opts = {})
788
+ data, _status_code, _headers = get_rules_with_http_info(rule_group_id, ids, opts)
789
+ data
790
+ end
791
+
792
+ # Retrieves the configuration for 1 or more rules.
793
+ # Rules within the provided rule group id that match a provided id will be returned within the response.
794
+ # @param rule_group_id [String] Rule group from which to retrieve the rule configuration.
795
+ # @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;.
796
+ # @param [Hash] opts the optional parameters
797
+ # @return [Array<(RulegroupsRulesResponse, Integer, Hash)>] RulegroupsRulesResponse data, response status code and response headers
798
+ def get_rules_with_http_info(rule_group_id, ids, opts = {})
799
+ if @api_client.config.debugging
800
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.get_rules ...'
801
+ end
802
+ # verify the required parameter 'rule_group_id' is set
803
+ if @api_client.config.client_side_validation && rule_group_id.nil?
804
+ fail ArgumentError, "Missing the required parameter 'rule_group_id' when calling FilevantageApi.get_rules"
805
+ end
806
+ # verify the required parameter 'ids' is set
807
+ if @api_client.config.client_side_validation && ids.nil?
808
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.get_rules"
809
+ end
810
+ # resource path
811
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
812
+
813
+ # query parameters
814
+ query_params = opts[:query_params] || {}
815
+ query_params[:'rule_group_id'] = rule_group_id
816
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
817
+
818
+ # header parameters
819
+ header_params = opts[:header_params] || {}
820
+ # HTTP header 'Accept' (if needed)
821
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
822
+
823
+ # form parameters
824
+ form_params = opts[:form_params] || {}
825
+
826
+ # http body (model)
827
+ post_body = opts[:debug_body]
828
+
829
+ # return_type
830
+ return_type = opts[:debug_return_type] || 'RulegroupsRulesResponse'
831
+
832
+ # auth_names
833
+ auth_names = opts[:debug_auth_names] || ['oauth2']
834
+
835
+ new_options = opts.merge(
836
+ :operation => :"FilevantageApi.get_rules",
837
+ :header_params => header_params,
838
+ :query_params => query_params,
839
+ :form_params => form_params,
840
+ :body => post_body,
841
+ :auth_names => auth_names,
842
+ :return_type => return_type
843
+ )
844
+
845
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
846
+ if @api_client.config.debugging
847
+ @api_client.config.logger.debug "API called: FilevantageApi#get_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
848
+ end
849
+ return data, status_code, headers
850
+ end
851
+
852
+ # Retrieves the configuration of 1 or more scheduled exclusions from the provided policy id.
853
+ # Full details of each each scheduled exclusion that match a provided id will be returned in the response.
854
+ # @param policy_id [String] The id of the policy to retrieve the scheduled exclusion configurations.
855
+ # @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;.
856
+ # @param [Hash] opts the optional parameters
857
+ # @return [ScheduledexclusionsResponse]
858
+ def get_scheduled_exclusions(policy_id, ids, opts = {})
859
+ data, _status_code, _headers = get_scheduled_exclusions_with_http_info(policy_id, ids, opts)
860
+ data
861
+ end
862
+
863
+ # Retrieves the configuration of 1 or more scheduled exclusions from the provided policy id.
864
+ # Full details of each each scheduled exclusion that match a provided id will be returned in the response.
865
+ # @param policy_id [String] The id of the policy to retrieve the scheduled exclusion configurations.
866
+ # @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;.
867
+ # @param [Hash] opts the optional parameters
868
+ # @return [Array<(ScheduledexclusionsResponse, Integer, Hash)>] ScheduledexclusionsResponse data, response status code and response headers
869
+ def get_scheduled_exclusions_with_http_info(policy_id, ids, opts = {})
870
+ if @api_client.config.debugging
871
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.get_scheduled_exclusions ...'
872
+ end
873
+ # verify the required parameter 'policy_id' is set
874
+ if @api_client.config.client_side_validation && policy_id.nil?
875
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling FilevantageApi.get_scheduled_exclusions"
876
+ end
877
+ # verify the required parameter 'ids' is set
878
+ if @api_client.config.client_side_validation && ids.nil?
879
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.get_scheduled_exclusions"
880
+ end
881
+ # resource path
882
+ local_var_path = '/filevantage/entities/policy-scheduled-exclusions/v1'
883
+
884
+ # query parameters
885
+ query_params = opts[:query_params] || {}
886
+ query_params[:'policy_id'] = policy_id
887
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
888
+
889
+ # header parameters
890
+ header_params = opts[:header_params] || {}
891
+ # HTTP header 'Accept' (if needed)
892
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
893
+
894
+ # form parameters
895
+ form_params = opts[:form_params] || {}
896
+
897
+ # http body (model)
898
+ post_body = opts[:debug_body]
899
+
900
+ # return_type
901
+ return_type = opts[:debug_return_type] || 'ScheduledexclusionsResponse'
902
+
903
+ # auth_names
904
+ auth_names = opts[:debug_auth_names] || ['oauth2']
905
+
906
+ new_options = opts.merge(
907
+ :operation => :"FilevantageApi.get_scheduled_exclusions",
908
+ :header_params => header_params,
909
+ :query_params => query_params,
910
+ :form_params => form_params,
911
+ :body => post_body,
912
+ :auth_names => auth_names,
913
+ :return_type => return_type
914
+ )
915
+
916
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
917
+ if @api_client.config.debugging
918
+ @api_client.config.logger.debug "API called: FilevantageApi#get_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
919
+ end
920
+ return data, status_code, headers
921
+ end
922
+
923
+ # Returns 1 or more change ids
924
+ # 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.
925
+ # @param [Hash] opts the optional parameters
926
+ # @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.
927
+ # @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)
928
+ # @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')
929
+ # @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.
930
+ # @return [ChangesHighVolumeQueryResponse]
931
+ def high_volume_query_changes(opts = {})
932
+ data, _status_code, _headers = high_volume_query_changes_with_http_info(opts)
933
+ data
934
+ end
935
+
936
+ # Returns 1 or more change ids
937
+ # 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.
938
+ # @param [Hash] opts the optional parameters
939
+ # @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.
940
+ # @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)
941
+ # @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')
942
+ # @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.
943
+ # @return [Array<(ChangesHighVolumeQueryResponse, Integer, Hash)>] ChangesHighVolumeQueryResponse data, response status code and response headers
944
+ def high_volume_query_changes_with_http_info(opts = {})
945
+ if @api_client.config.debugging
946
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.high_volume_query_changes ...'
947
+ end
948
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 5000
949
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling FilevantageApi.high_volume_query_changes, must be smaller than or equal to 5000.'
950
+ end
951
+
952
+ # resource path
953
+ local_var_path = '/filevantage/queries/changes/v3'
954
+
955
+ # query parameters
956
+ query_params = opts[:query_params] || {}
957
+ query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
958
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
959
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
960
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
961
+
962
+ # header parameters
963
+ header_params = opts[:header_params] || {}
964
+ # HTTP header 'Accept' (if needed)
965
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
966
+
967
+ # form parameters
968
+ form_params = opts[:form_params] || {}
969
+
970
+ # http body (model)
971
+ post_body = opts[:debug_body]
972
+
973
+ # return_type
974
+ return_type = opts[:debug_return_type] || 'ChangesHighVolumeQueryResponse'
975
+
976
+ # auth_names
977
+ auth_names = opts[:debug_auth_names] || ['oauth2']
978
+
979
+ new_options = opts.merge(
980
+ :operation => :"FilevantageApi.high_volume_query_changes",
981
+ :header_params => header_params,
982
+ :query_params => query_params,
983
+ :form_params => form_params,
984
+ :body => post_body,
985
+ :auth_names => auth_names,
986
+ :return_type => return_type
987
+ )
988
+
989
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
990
+ if @api_client.config.debugging
991
+ @api_client.config.logger.debug "API called: FilevantageApi#high_volume_query_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
992
+ end
993
+ return data, status_code, headers
994
+ end
995
+
996
+ # Returns 1 or more change ids
997
+ # 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
998
+ # @param [Hash] opts the optional parameters
999
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to &#x60;0&#x60; if not specified. (default to 0)
1000
+ # @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)
1001
+ # @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.
1002
+ # @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.
1003
+ # @return [MsaspecQueryResponse]
1004
+ def query_changes(opts = {})
1005
+ data, _status_code, _headers = query_changes_with_http_info(opts)
1006
+ data
1007
+ end
1008
+
1009
+ # Returns 1 or more change ids
1010
+ # 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
1011
+ # @param [Hash] opts the optional parameters
1012
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to &#x60;0&#x60; if not specified. (default to 0)
1013
+ # @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)
1014
+ # @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.
1015
+ # @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.
1016
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1017
+ def query_changes_with_http_info(opts = {})
1018
+ if @api_client.config.debugging
1019
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.query_changes ...'
1020
+ end
1021
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1022
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling FilevantageApi.query_changes, must be greater than or equal to 0.'
1023
+ end
1024
+
1025
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
1026
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling FilevantageApi.query_changes, must be smaller than or equal to 500.'
1027
+ end
1028
+
1029
+ # resource path
1030
+ local_var_path = '/filevantage/queries/changes/v2'
1031
+
1032
+ # query parameters
1033
+ query_params = opts[:query_params] || {}
1034
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1035
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1036
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1037
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1038
+
1039
+ # header parameters
1040
+ header_params = opts[:header_params] || {}
1041
+ # HTTP header 'Accept' (if needed)
1042
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1043
+
1044
+ # form parameters
1045
+ form_params = opts[:form_params] || {}
1046
+
1047
+ # http body (model)
1048
+ post_body = opts[:debug_body]
1049
+
1050
+ # return_type
1051
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1052
+
1053
+ # auth_names
1054
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1055
+
1056
+ new_options = opts.merge(
1057
+ :operation => :"FilevantageApi.query_changes",
1058
+ :header_params => header_params,
1059
+ :query_params => query_params,
1060
+ :form_params => form_params,
1061
+ :body => post_body,
1062
+ :auth_names => auth_names,
1063
+ :return_type => return_type
1064
+ )
1065
+
1066
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1067
+ if @api_client.config.debugging
1068
+ @api_client.config.logger.debug "API called: FilevantageApi#query_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1069
+ end
1070
+ return data, status_code, headers
1071
+ end
1072
+
1073
+ # Retrieve the ids of all policies that are assigned the provided policy type.
1074
+ # Policy ids will be returned sorted by a `precedence` order of ascending when a `sort` parameter is not provided.
1075
+ # @param type [String] The types of policies to retrieve. Allowed values are: &#x60;Windows&#x60;, &#x60;Linux&#x60; or &#x60;Mac&#x60;.
1076
+ # @param [Hash] opts the optional parameters
1077
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1078
+ # @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.
1079
+ # @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;.
1080
+ # @return [MsaspecQueryResponse]
1081
+ def query_policies(type, opts = {})
1082
+ data, _status_code, _headers = query_policies_with_http_info(type, opts)
1083
+ data
1084
+ end
1085
+
1086
+ # Retrieve the ids of all policies that are assigned the provided policy type.
1087
+ # Policy ids will be returned sorted by a &#x60;precedence&#x60; order of ascending when a &#x60;sort&#x60; parameter is not provided.
1088
+ # @param type [String] The types of policies to retrieve. Allowed values are: &#x60;Windows&#x60;, &#x60;Linux&#x60; or &#x60;Mac&#x60;.
1089
+ # @param [Hash] opts the optional parameters
1090
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1091
+ # @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.
1092
+ # @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;.
1093
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1094
+ def query_policies_with_http_info(type, opts = {})
1095
+ if @api_client.config.debugging
1096
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.query_policies ...'
1097
+ end
1098
+ # verify the required parameter 'type' is set
1099
+ if @api_client.config.client_side_validation && type.nil?
1100
+ fail ArgumentError, "Missing the required parameter 'type' when calling FilevantageApi.query_policies"
1101
+ end
1102
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1103
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling FilevantageApi.query_policies, must be greater than or equal to 0.'
1104
+ end
1105
+
1106
+ # resource path
1107
+ local_var_path = '/filevantage/queries/policies/v1'
1108
+
1109
+ # query parameters
1110
+ query_params = opts[:query_params] || {}
1111
+ query_params[:'type'] = type
1112
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1113
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1114
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1115
+
1116
+ # header parameters
1117
+ header_params = opts[:header_params] || {}
1118
+ # HTTP header 'Accept' (if needed)
1119
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1120
+
1121
+ # form parameters
1122
+ form_params = opts[:form_params] || {}
1123
+
1124
+ # http body (model)
1125
+ post_body = opts[:debug_body]
1126
+
1127
+ # return_type
1128
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1129
+
1130
+ # auth_names
1131
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1132
+
1133
+ new_options = opts.merge(
1134
+ :operation => :"FilevantageApi.query_policies",
1135
+ :header_params => header_params,
1136
+ :query_params => query_params,
1137
+ :form_params => form_params,
1138
+ :body => post_body,
1139
+ :auth_names => auth_names,
1140
+ :return_type => return_type
1141
+ )
1142
+
1143
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1144
+ if @api_client.config.debugging
1145
+ @api_client.config.logger.debug "API called: FilevantageApi#query_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1146
+ end
1147
+ return data, status_code, headers
1148
+ end
1149
+
1150
+ # Retrieve the ids of all rule groups that are of the provided rule group type.
1151
+ # Rule group ids will be returned sorted by `created_timestamp` order if a `sort` parameter is not provided
1152
+ # @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;.
1153
+ # @param [Hash] opts the optional parameters
1154
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1155
+ # @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.
1156
+ # @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;.
1157
+ # @return [MsaspecQueryResponse]
1158
+ def query_rule_groups(type, opts = {})
1159
+ data, _status_code, _headers = query_rule_groups_with_http_info(type, opts)
1160
+ data
1161
+ end
1162
+
1163
+ # Retrieve the ids of all rule groups that are of the provided rule group type.
1164
+ # Rule group ids will be returned sorted by &#x60;created_timestamp&#x60; order if a &#x60;sort&#x60; parameter is not provided
1165
+ # @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;.
1166
+ # @param [Hash] opts the optional parameters
1167
+ # @option opts [Integer] :offset The offset to start retrieving records from. Defaults to 0 if not specified.
1168
+ # @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.
1169
+ # @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;.
1170
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1171
+ def query_rule_groups_with_http_info(type, opts = {})
1172
+ if @api_client.config.debugging
1173
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.query_rule_groups ...'
1174
+ end
1175
+ # verify the required parameter 'type' is set
1176
+ if @api_client.config.client_side_validation && type.nil?
1177
+ fail ArgumentError, "Missing the required parameter 'type' when calling FilevantageApi.query_rule_groups"
1178
+ end
1179
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1180
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling FilevantageApi.query_rule_groups, must be greater than or equal to 0.'
1181
+ end
1182
+
1183
+ # resource path
1184
+ local_var_path = '/filevantage/queries/rule-groups/v1'
1185
+
1186
+ # query parameters
1187
+ query_params = opts[:query_params] || {}
1188
+ query_params[:'type'] = type
1189
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1190
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1191
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1192
+
1193
+ # header parameters
1194
+ header_params = opts[:header_params] || {}
1195
+ # HTTP header 'Accept' (if needed)
1196
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1197
+
1198
+ # form parameters
1199
+ form_params = opts[:form_params] || {}
1200
+
1201
+ # http body (model)
1202
+ post_body = opts[:debug_body]
1203
+
1204
+ # return_type
1205
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1206
+
1207
+ # auth_names
1208
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1209
+
1210
+ new_options = opts.merge(
1211
+ :operation => :"FilevantageApi.query_rule_groups",
1212
+ :header_params => header_params,
1213
+ :query_params => query_params,
1214
+ :form_params => form_params,
1215
+ :body => post_body,
1216
+ :auth_names => auth_names,
1217
+ :return_type => return_type
1218
+ )
1219
+
1220
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1221
+ if @api_client.config.debugging
1222
+ @api_client.config.logger.debug "API called: FilevantageApi#query_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1223
+ end
1224
+ return data, status_code, headers
1225
+ end
1226
+
1227
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id.
1228
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id
1229
+ # @param policy_id [String] The id of the policy from which to retrieve the scheduled exclusion ids.
1230
+ # @param [Hash] opts the optional parameters
1231
+ # @return [MsaspecQueryResponse]
1232
+ def query_scheduled_exclusions(policy_id, opts = {})
1233
+ data, _status_code, _headers = query_scheduled_exclusions_with_http_info(policy_id, opts)
1234
+ data
1235
+ end
1236
+
1237
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id.
1238
+ # Retrieve the ids of all scheduled exclusions contained within the provided policy id
1239
+ # @param policy_id [String] The id of the policy from which to retrieve the scheduled exclusion ids.
1240
+ # @param [Hash] opts the optional parameters
1241
+ # @return [Array<(MsaspecQueryResponse, Integer, Hash)>] MsaspecQueryResponse data, response status code and response headers
1242
+ def query_scheduled_exclusions_with_http_info(policy_id, opts = {})
1243
+ if @api_client.config.debugging
1244
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.query_scheduled_exclusions ...'
1245
+ end
1246
+ # verify the required parameter 'policy_id' is set
1247
+ if @api_client.config.client_side_validation && policy_id.nil?
1248
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling FilevantageApi.query_scheduled_exclusions"
1249
+ end
1250
+ # resource path
1251
+ local_var_path = '/filevantage/queries/policy-scheduled-exclusions/v1'
1252
+
1253
+ # query parameters
1254
+ query_params = opts[:query_params] || {}
1255
+ query_params[:'policy_id'] = policy_id
1256
+
1257
+ # header parameters
1258
+ header_params = opts[:header_params] || {}
1259
+ # HTTP header 'Accept' (if needed)
1260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1261
+
1262
+ # form parameters
1263
+ form_params = opts[:form_params] || {}
1264
+
1265
+ # http body (model)
1266
+ post_body = opts[:debug_body]
1267
+
1268
+ # return_type
1269
+ return_type = opts[:debug_return_type] || 'MsaspecQueryResponse'
1270
+
1271
+ # auth_names
1272
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1273
+
1274
+ new_options = opts.merge(
1275
+ :operation => :"FilevantageApi.query_scheduled_exclusions",
1276
+ :header_params => header_params,
1277
+ :query_params => query_params,
1278
+ :form_params => form_params,
1279
+ :body => post_body,
1280
+ :auth_names => auth_names,
1281
+ :return_type => return_type
1282
+ )
1283
+
1284
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1285
+ if @api_client.config.debugging
1286
+ @api_client.config.logger.debug "API called: FilevantageApi#query_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1287
+ end
1288
+ return data, status_code, headers
1289
+ end
1290
+
1291
+ # Updates the general information of the provided policy.
1292
+ # 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.
1293
+ # @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.
1294
+ # @param [Hash] opts the optional parameters
1295
+ # @return [PoliciesResponse]
1296
+ def update_policies(body, opts = {})
1297
+ data, _status_code, _headers = update_policies_with_http_info(body, opts)
1298
+ data
1299
+ end
1300
+
1301
+ # Updates the general information of the provided policy.
1302
+ # 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.
1303
+ # @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.
1304
+ # @param [Hash] opts the optional parameters
1305
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
1306
+ def update_policies_with_http_info(body, opts = {})
1307
+ if @api_client.config.debugging
1308
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_policies ...'
1309
+ end
1310
+ # verify the required parameter 'body' is set
1311
+ if @api_client.config.client_side_validation && body.nil?
1312
+ fail ArgumentError, "Missing the required parameter 'body' when calling FilevantageApi.update_policies"
1313
+ end
1314
+ # resource path
1315
+ local_var_path = '/filevantage/entities/policies/v1'
1316
+
1317
+ # query parameters
1318
+ query_params = opts[:query_params] || {}
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
+ # HTTP header 'Content-Type'
1325
+ content_type = @api_client.select_header_content_type(['application/json'])
1326
+ if !content_type.nil?
1327
+ header_params['Content-Type'] = content_type
1328
+ end
1329
+
1330
+ # form parameters
1331
+ form_params = opts[:form_params] || {}
1332
+
1333
+ # http body (model)
1334
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1335
+
1336
+ # return_type
1337
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
1338
+
1339
+ # auth_names
1340
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1341
+
1342
+ new_options = opts.merge(
1343
+ :operation => :"FilevantageApi.update_policies",
1344
+ :header_params => header_params,
1345
+ :query_params => query_params,
1346
+ :form_params => form_params,
1347
+ :body => post_body,
1348
+ :auth_names => auth_names,
1349
+ :return_type => return_type
1350
+ )
1351
+
1352
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1353
+ if @api_client.config.debugging
1354
+ @api_client.config.logger.debug "API called: FilevantageApi#update_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1355
+ end
1356
+ return data, status_code, headers
1357
+ end
1358
+
1359
+ # Manage host groups assigned to a policy.
1360
+ # Manage host groups assigned to a policy.
1361
+ # @param policy_id [String] The id of the policy for which to perform the action.
1362
+ # @param action [String] The action to perform with the provided ids, must be one of: &#x60;assign&#x60; or &#x60;unassign&#x60;.
1363
+ # @param ids [Array<String>] One or more host group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
1364
+ # @param [Hash] opts the optional parameters
1365
+ # @return [PoliciesResponse]
1366
+ def update_policy_host_groups(policy_id, action, ids, opts = {})
1367
+ data, _status_code, _headers = update_policy_host_groups_with_http_info(policy_id, action, ids, opts)
1368
+ data
1369
+ end
1370
+
1371
+ # Manage host groups assigned to a policy.
1372
+ # Manage host groups assigned to a policy.
1373
+ # @param policy_id [String] The id of the policy for which to perform the action.
1374
+ # @param action [String] The action to perform with the provided ids, must be one of: &#x60;assign&#x60; or &#x60;unassign&#x60;.
1375
+ # @param ids [Array<String>] One or more host group ids in the form of &#x60;ids&#x3D;ID1&amp;ids&#x3D;ID2&#x60;
1376
+ # @param [Hash] opts the optional parameters
1377
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
1378
+ def update_policy_host_groups_with_http_info(policy_id, action, ids, opts = {})
1379
+ if @api_client.config.debugging
1380
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_policy_host_groups ...'
1381
+ end
1382
+ # verify the required parameter 'policy_id' is set
1383
+ if @api_client.config.client_side_validation && policy_id.nil?
1384
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling FilevantageApi.update_policy_host_groups"
1385
+ end
1386
+ # verify the required parameter 'action' is set
1387
+ if @api_client.config.client_side_validation && action.nil?
1388
+ fail ArgumentError, "Missing the required parameter 'action' when calling FilevantageApi.update_policy_host_groups"
1389
+ end
1390
+ # verify the required parameter 'ids' is set
1391
+ if @api_client.config.client_side_validation && ids.nil?
1392
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.update_policy_host_groups"
1393
+ end
1394
+ # resource path
1395
+ local_var_path = '/filevantage/entities/policies-host-groups/v1'
1396
+
1397
+ # query parameters
1398
+ query_params = opts[:query_params] || {}
1399
+ query_params[:'policy_id'] = policy_id
1400
+ query_params[:'action'] = action
1401
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1402
+
1403
+ # header parameters
1404
+ header_params = opts[:header_params] || {}
1405
+ # HTTP header 'Accept' (if needed)
1406
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1407
+
1408
+ # form parameters
1409
+ form_params = opts[:form_params] || {}
1410
+
1411
+ # http body (model)
1412
+ post_body = opts[:debug_body]
1413
+
1414
+ # return_type
1415
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
1416
+
1417
+ # auth_names
1418
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1419
+
1420
+ new_options = opts.merge(
1421
+ :operation => :"FilevantageApi.update_policy_host_groups",
1422
+ :header_params => header_params,
1423
+ :query_params => query_params,
1424
+ :form_params => form_params,
1425
+ :body => post_body,
1426
+ :auth_names => auth_names,
1427
+ :return_type => return_type
1428
+ )
1429
+
1430
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1431
+ if @api_client.config.debugging
1432
+ @api_client.config.logger.debug "API called: FilevantageApi#update_policy_host_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1433
+ end
1434
+ return data, status_code, headers
1435
+ end
1436
+
1437
+ # Updates the policy precedence for all policies of a specific type.
1438
+ # Requests that do not represent all ids of the provided policy type will not be processed.
1439
+ # @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;
1440
+ # @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;.
1441
+ # @param [Hash] opts the optional parameters
1442
+ # @return [PoliciesPrecedenceResponse]
1443
+ def update_policy_precedence(ids, type, opts = {})
1444
+ data, _status_code, _headers = update_policy_precedence_with_http_info(ids, type, opts)
1445
+ data
1446
+ end
1447
+
1448
+ # Updates the policy precedence for all policies of a specific type.
1449
+ # Requests that do not represent all ids of the provided policy type will not be processed.
1450
+ # @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;
1451
+ # @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;.
1452
+ # @param [Hash] opts the optional parameters
1453
+ # @return [Array<(PoliciesPrecedenceResponse, Integer, Hash)>] PoliciesPrecedenceResponse data, response status code and response headers
1454
+ def update_policy_precedence_with_http_info(ids, type, opts = {})
1455
+ if @api_client.config.debugging
1456
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_policy_precedence ...'
1457
+ end
1458
+ # verify the required parameter 'ids' is set
1459
+ if @api_client.config.client_side_validation && ids.nil?
1460
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.update_policy_precedence"
1461
+ end
1462
+ # verify the required parameter 'type' is set
1463
+ if @api_client.config.client_side_validation && type.nil?
1464
+ fail ArgumentError, "Missing the required parameter 'type' when calling FilevantageApi.update_policy_precedence"
1465
+ end
1466
+ # resource path
1467
+ local_var_path = '/filevantage/entities/policies-precedence/v1'
1468
+
1469
+ # query parameters
1470
+ query_params = opts[:query_params] || {}
1471
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1472
+ query_params[:'type'] = type
1473
+
1474
+ # header parameters
1475
+ header_params = opts[:header_params] || {}
1476
+ # HTTP header 'Accept' (if needed)
1477
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1478
+
1479
+ # form parameters
1480
+ form_params = opts[:form_params] || {}
1481
+
1482
+ # http body (model)
1483
+ post_body = opts[:debug_body]
1484
+
1485
+ # return_type
1486
+ return_type = opts[:debug_return_type] || 'PoliciesPrecedenceResponse'
1487
+
1488
+ # auth_names
1489
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1490
+
1491
+ new_options = opts.merge(
1492
+ :operation => :"FilevantageApi.update_policy_precedence",
1493
+ :header_params => header_params,
1494
+ :query_params => query_params,
1495
+ :form_params => form_params,
1496
+ :body => post_body,
1497
+ :auth_names => auth_names,
1498
+ :return_type => return_type
1499
+ )
1500
+
1501
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1502
+ if @api_client.config.debugging
1503
+ @api_client.config.logger.debug "API called: FilevantageApi#update_policy_precedence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1504
+ end
1505
+ return data, status_code, headers
1506
+ end
1507
+
1508
+ # Manage the rule groups assigned to the policy or set the rule group precedence for all rule groups within the policy.
1509
+ # 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.
1510
+ # @param policy_id [String] The id of the policy for which to perform the action.
1511
+ # @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;.
1512
+ # @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.
1513
+ # @param [Hash] opts the optional parameters
1514
+ # @return [PoliciesResponse]
1515
+ def update_policy_rule_groups(policy_id, action, ids, opts = {})
1516
+ data, _status_code, _headers = update_policy_rule_groups_with_http_info(policy_id, action, ids, opts)
1517
+ data
1518
+ end
1519
+
1520
+ # Manage the rule groups assigned to the policy or set the rule group precedence for all rule groups within the policy.
1521
+ # 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.
1522
+ # @param policy_id [String] The id of the policy for which to perform the action.
1523
+ # @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;.
1524
+ # @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.
1525
+ # @param [Hash] opts the optional parameters
1526
+ # @return [Array<(PoliciesResponse, Integer, Hash)>] PoliciesResponse data, response status code and response headers
1527
+ def update_policy_rule_groups_with_http_info(policy_id, action, ids, opts = {})
1528
+ if @api_client.config.debugging
1529
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_policy_rule_groups ...'
1530
+ end
1531
+ # verify the required parameter 'policy_id' is set
1532
+ if @api_client.config.client_side_validation && policy_id.nil?
1533
+ fail ArgumentError, "Missing the required parameter 'policy_id' when calling FilevantageApi.update_policy_rule_groups"
1534
+ end
1535
+ # verify the required parameter 'action' is set
1536
+ if @api_client.config.client_side_validation && action.nil?
1537
+ fail ArgumentError, "Missing the required parameter 'action' when calling FilevantageApi.update_policy_rule_groups"
1538
+ end
1539
+ # verify the required parameter 'ids' is set
1540
+ if @api_client.config.client_side_validation && ids.nil?
1541
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.update_policy_rule_groups"
1542
+ end
1543
+ # resource path
1544
+ local_var_path = '/filevantage/entities/policies-rule-groups/v1'
1545
+
1546
+ # query parameters
1547
+ query_params = opts[:query_params] || {}
1548
+ query_params[:'policy_id'] = policy_id
1549
+ query_params[:'action'] = action
1550
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1551
+
1552
+ # header parameters
1553
+ header_params = opts[:header_params] || {}
1554
+ # HTTP header 'Accept' (if needed)
1555
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1556
+
1557
+ # form parameters
1558
+ form_params = opts[:form_params] || {}
1559
+
1560
+ # http body (model)
1561
+ post_body = opts[:debug_body]
1562
+
1563
+ # return_type
1564
+ return_type = opts[:debug_return_type] || 'PoliciesResponse'
1565
+
1566
+ # auth_names
1567
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1568
+
1569
+ new_options = opts.merge(
1570
+ :operation => :"FilevantageApi.update_policy_rule_groups",
1571
+ :header_params => header_params,
1572
+ :query_params => query_params,
1573
+ :form_params => form_params,
1574
+ :body => post_body,
1575
+ :auth_names => auth_names,
1576
+ :return_type => return_type
1577
+ )
1578
+
1579
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1580
+ if @api_client.config.debugging
1581
+ @api_client.config.logger.debug "API called: FilevantageApi#update_policy_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1582
+ end
1583
+ return data, status_code, headers
1584
+ end
1585
+
1586
+ # Updates the rule precedence for all rules in the identified rule group.
1587
+ # 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.
1588
+ # @param rule_group_id [String] Rule group from which to set the precedence.
1589
+ # @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;.
1590
+ # @param [Hash] opts the optional parameters
1591
+ # @return [RulegroupsResponse]
1592
+ def update_rule_group_precedence(rule_group_id, ids, opts = {})
1593
+ data, _status_code, _headers = update_rule_group_precedence_with_http_info(rule_group_id, ids, opts)
1594
+ data
1595
+ end
1596
+
1597
+ # Updates the rule precedence for all rules in the identified rule group.
1598
+ # 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.
1599
+ # @param rule_group_id [String] Rule group from which to set the precedence.
1600
+ # @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;.
1601
+ # @param [Hash] opts the optional parameters
1602
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
1603
+ def update_rule_group_precedence_with_http_info(rule_group_id, ids, opts = {})
1604
+ if @api_client.config.debugging
1605
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_rule_group_precedence ...'
1606
+ end
1607
+ # verify the required parameter 'rule_group_id' is set
1608
+ if @api_client.config.client_side_validation && rule_group_id.nil?
1609
+ fail ArgumentError, "Missing the required parameter 'rule_group_id' when calling FilevantageApi.update_rule_group_precedence"
1610
+ end
1611
+ # verify the required parameter 'ids' is set
1612
+ if @api_client.config.client_side_validation && ids.nil?
1613
+ fail ArgumentError, "Missing the required parameter 'ids' when calling FilevantageApi.update_rule_group_precedence"
1614
+ end
1615
+ # resource path
1616
+ local_var_path = '/filevantage/entities/rule-groups-rule-precedence/v1'
1617
+
1618
+ # query parameters
1619
+ query_params = opts[:query_params] || {}
1620
+ query_params[:'rule_group_id'] = rule_group_id
1621
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1622
+
1623
+ # header parameters
1624
+ header_params = opts[:header_params] || {}
1625
+ # HTTP header 'Accept' (if needed)
1626
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1627
+
1628
+ # form parameters
1629
+ form_params = opts[:form_params] || {}
1630
+
1631
+ # http body (model)
1632
+ post_body = opts[:debug_body]
1633
+
1634
+ # return_type
1635
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
1636
+
1637
+ # auth_names
1638
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1639
+
1640
+ new_options = opts.merge(
1641
+ :operation => :"FilevantageApi.update_rule_group_precedence",
1642
+ :header_params => header_params,
1643
+ :query_params => query_params,
1644
+ :form_params => form_params,
1645
+ :body => post_body,
1646
+ :auth_names => auth_names,
1647
+ :return_type => return_type
1648
+ )
1649
+
1650
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1651
+ if @api_client.config.debugging
1652
+ @api_client.config.logger.debug "API called: FilevantageApi#update_rule_group_precedence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1653
+ end
1654
+ return data, status_code, headers
1655
+ end
1656
+
1657
+ # Updates the provided rule group.
1658
+ # Provides the ability to update the name and description of the rule group.
1659
+ # @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.
1660
+ # @param [Hash] opts the optional parameters
1661
+ # @return [RulegroupsResponse]
1662
+ def update_rule_groups(body, opts = {})
1663
+ data, _status_code, _headers = update_rule_groups_with_http_info(body, opts)
1664
+ data
1665
+ end
1666
+
1667
+ # Updates the provided rule group.
1668
+ # Provides the ability to update the name and description of the rule group.
1669
+ # @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.
1670
+ # @param [Hash] opts the optional parameters
1671
+ # @return [Array<(RulegroupsResponse, Integer, Hash)>] RulegroupsResponse data, response status code and response headers
1672
+ def update_rule_groups_with_http_info(body, opts = {})
1673
+ if @api_client.config.debugging
1674
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_rule_groups ...'
1675
+ end
1676
+ # verify the required parameter 'body' is set
1677
+ if @api_client.config.client_side_validation && body.nil?
1678
+ fail ArgumentError, "Missing the required parameter 'body' when calling FilevantageApi.update_rule_groups"
1679
+ end
1680
+ # resource path
1681
+ local_var_path = '/filevantage/entities/rule-groups/v1'
1682
+
1683
+ # query parameters
1684
+ query_params = opts[:query_params] || {}
1685
+
1686
+ # header parameters
1687
+ header_params = opts[:header_params] || {}
1688
+ # HTTP header 'Accept' (if needed)
1689
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1690
+ # HTTP header 'Content-Type'
1691
+ content_type = @api_client.select_header_content_type(['application/json'])
1692
+ if !content_type.nil?
1693
+ header_params['Content-Type'] = content_type
1694
+ end
1695
+
1696
+ # form parameters
1697
+ form_params = opts[:form_params] || {}
1698
+
1699
+ # http body (model)
1700
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1701
+
1702
+ # return_type
1703
+ return_type = opts[:debug_return_type] || 'RulegroupsResponse'
1704
+
1705
+ # auth_names
1706
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1707
+
1708
+ new_options = opts.merge(
1709
+ :operation => :"FilevantageApi.update_rule_groups",
1710
+ :header_params => header_params,
1711
+ :query_params => query_params,
1712
+ :form_params => form_params,
1713
+ :body => post_body,
1714
+ :auth_names => auth_names,
1715
+ :return_type => return_type
1716
+ )
1717
+
1718
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1719
+ if @api_client.config.debugging
1720
+ @api_client.config.logger.debug "API called: FilevantageApi#update_rule_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1721
+ end
1722
+ return data, status_code, headers
1723
+ end
1724
+
1725
+ # Updates the provided rule configuration within the specified rule group.
1726
+ # The rule must currently exist within the specified rule group.
1727
+ # @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; 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;
1728
+ # @param [Hash] opts the optional parameters
1729
+ # @return [RulegroupsRulesResponse]
1730
+ def update_rules(body, opts = {})
1731
+ data, _status_code, _headers = update_rules_with_http_info(body, opts)
1732
+ data
1733
+ end
1734
+
1735
+ # Updates the provided rule configuration within the specified rule group.
1736
+ # The rule must currently exist within the specified rule group.
1737
+ # @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; 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;
1738
+ # @param [Hash] opts the optional parameters
1739
+ # @return [Array<(RulegroupsRulesResponse, Integer, Hash)>] RulegroupsRulesResponse data, response status code and response headers
1740
+ def update_rules_with_http_info(body, opts = {})
1741
+ if @api_client.config.debugging
1742
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_rules ...'
1743
+ end
1744
+ # verify the required parameter 'body' is set
1745
+ if @api_client.config.client_side_validation && body.nil?
1746
+ fail ArgumentError, "Missing the required parameter 'body' when calling FilevantageApi.update_rules"
1747
+ end
1748
+ # resource path
1749
+ local_var_path = '/filevantage/entities/rule-groups-rules/v1'
1750
+
1751
+ # query parameters
1752
+ query_params = opts[:query_params] || {}
1753
+
1754
+ # header parameters
1755
+ header_params = opts[:header_params] || {}
1756
+ # HTTP header 'Accept' (if needed)
1757
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1758
+ # HTTP header 'Content-Type'
1759
+ content_type = @api_client.select_header_content_type(['application/json'])
1760
+ if !content_type.nil?
1761
+ header_params['Content-Type'] = content_type
1762
+ end
1763
+
1764
+ # form parameters
1765
+ form_params = opts[:form_params] || {}
1766
+
1767
+ # http body (model)
1768
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1769
+
1770
+ # return_type
1771
+ return_type = opts[:debug_return_type] || 'RulegroupsRulesResponse'
1772
+
1773
+ # auth_names
1774
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1775
+
1776
+ new_options = opts.merge(
1777
+ :operation => :"FilevantageApi.update_rules",
1778
+ :header_params => header_params,
1779
+ :query_params => query_params,
1780
+ :form_params => form_params,
1781
+ :body => post_body,
1782
+ :auth_names => auth_names,
1783
+ :return_type => return_type
1784
+ )
1785
+
1786
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1787
+ if @api_client.config.debugging
1788
+ @api_client.config.logger.debug "API called: FilevantageApi#update_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1789
+ end
1790
+ return data, status_code, headers
1791
+ end
1792
+
1793
+ # Updates the provided scheduled exclusion configuration within the provided policy.
1794
+ # Updates the provided scheduled exclusion configuration within the provided policy.
1795
+ # @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;.
1796
+ # @param [Hash] opts the optional parameters
1797
+ # @return [ScheduledexclusionsResponse]
1798
+ def update_scheduled_exclusions(body, opts = {})
1799
+ data, _status_code, _headers = update_scheduled_exclusions_with_http_info(body, opts)
1800
+ data
1801
+ end
1802
+
1803
+ # Updates the provided scheduled exclusion configuration within the provided policy.
1804
+ # Updates the provided scheduled exclusion configuration within the provided policy.
1805
+ # @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;.
1806
+ # @param [Hash] opts the optional parameters
1807
+ # @return [Array<(ScheduledexclusionsResponse, Integer, Hash)>] ScheduledexclusionsResponse data, response status code and response headers
1808
+ def update_scheduled_exclusions_with_http_info(body, opts = {})
1809
+ if @api_client.config.debugging
1810
+ @api_client.config.logger.debug 'Calling API: FilevantageApi.update_scheduled_exclusions ...'
1811
+ end
1812
+ # verify the required parameter 'body' is set
1813
+ if @api_client.config.client_side_validation && body.nil?
1814
+ fail ArgumentError, "Missing the required parameter 'body' when calling FilevantageApi.update_scheduled_exclusions"
1815
+ end
1816
+ # resource path
1817
+ local_var_path = '/filevantage/entities/policy-scheduled-exclusions/v1'
1818
+
1819
+ # query parameters
1820
+ query_params = opts[:query_params] || {}
1821
+
1822
+ # header parameters
1823
+ header_params = opts[:header_params] || {}
1824
+ # HTTP header 'Accept' (if needed)
1825
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1826
+ # HTTP header 'Content-Type'
1827
+ content_type = @api_client.select_header_content_type(['application/json'])
1828
+ if !content_type.nil?
1829
+ header_params['Content-Type'] = content_type
1830
+ end
1831
+
1832
+ # form parameters
1833
+ form_params = opts[:form_params] || {}
1834
+
1835
+ # http body (model)
1836
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1837
+
1838
+ # return_type
1839
+ return_type = opts[:debug_return_type] || 'ScheduledexclusionsResponse'
1840
+
1841
+ # auth_names
1842
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1843
+
1844
+ new_options = opts.merge(
1845
+ :operation => :"FilevantageApi.update_scheduled_exclusions",
1846
+ :header_params => header_params,
1847
+ :query_params => query_params,
1848
+ :form_params => form_params,
1849
+ :body => post_body,
1850
+ :auth_names => auth_names,
1851
+ :return_type => return_type
1852
+ )
1853
+
1854
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1855
+ if @api_client.config.debugging
1856
+ @api_client.config.logger.debug "API called: FilevantageApi#update_scheduled_exclusions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
172
1857
  end
173
1858
  return data, status_code, headers
174
1859
  end