crimson-falcon 0.3.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (887) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1655 -208
  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/configuration.rb +1 -1
  39. data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +266 -0
  40. data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +266 -0
  41. data/lib/crimson-falcon/models/api_detects_query_meta.rb +271 -0
  42. data/lib/crimson-falcon/models/api_detects_query_paging.rb +257 -0
  43. data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +266 -0
  44. data/lib/crimson-falcon/models/api_device_count_v1.rb +261 -0
  45. data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +266 -0
  46. data/lib/crimson-falcon/models/{common_entities_response.rb → api_entities_response.rb} +3 -8
  47. data/lib/crimson-falcon/models/api_execution_results_response.rb +266 -0
  48. data/lib/crimson-falcon/models/api_exposed_data_record_bot_location_v1.rb +243 -0
  49. data/lib/crimson-falcon/models/api_exposed_data_record_bot_operating_system_v1.rb +339 -0
  50. data/lib/crimson-falcon/models/api_exposed_data_record_bot_v1.rb +299 -0
  51. data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +3 -0
  52. data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +6 -0
  53. data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +9 -0
  54. data/lib/crimson-falcon/models/api_meta_info.rb +274 -0
  55. data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +30 -1
  56. data/lib/crimson-falcon/models/api_object_metadata.rb +290 -0
  57. data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +266 -0
  58. data/lib/crimson-falcon/models/{api_aggregates_response.rb → api_resource_ids_response.rb} +4 -4
  59. data/lib/crimson-falcon/models/api_response_pagination.rb +249 -0
  60. data/lib/crimson-falcon/models/apidomain_dynamic_execute_search_request_v1.rb +285 -0
  61. data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +293 -0
  62. data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +271 -0
  63. data/lib/crimson-falcon/models/apidomain_repo_view_list_item_v1.rb +343 -0
  64. data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +271 -0
  65. data/lib/crimson-falcon/models/apidomain_repository_v1.rb +295 -0
  66. data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +326 -0
  67. data/lib/crimson-falcon/models/apidomain_view_connection_v1.rb +253 -0
  68. data/lib/crimson-falcon/models/{public_acl.rb → changes_acl.rb} +4 -4
  69. data/lib/crimson-falcon/models/{public_acl_change.rb → changes_acl_change.rb} +3 -3
  70. data/lib/crimson-falcon/models/{public_before.rb → changes_after.rb} +3 -3
  71. data/lib/crimson-falcon/models/{public_attribute.rb → changes_attribute.rb} +3 -3
  72. data/lib/crimson-falcon/models/{public_basic.rb → changes_basic.rb} +3 -3
  73. data/lib/crimson-falcon/models/{public_after.rb → changes_before.rb} +3 -3
  74. data/lib/crimson-falcon/models/{public_change.rb → changes_change.rb} +11 -11
  75. data/lib/crimson-falcon/models/{public_dacl.rb → changes_dacl.rb} +4 -4
  76. data/lib/crimson-falcon/models/{public_dacl_entity.rb → changes_dacl_entity.rb} +19 -5
  77. data/lib/crimson-falcon/models/{public_diff.rb → changes_diff.rb} +4 -4
  78. data/lib/crimson-falcon/models/{public_diff_hash.rb → changes_diff_hash.rb} +3 -3
  79. data/lib/crimson-falcon/models/{public_diff_type.rb → changes_diff_type.rb} +4 -4
  80. data/lib/crimson-falcon/models/changes_get_changes_response.rb +266 -0
  81. data/lib/crimson-falcon/models/{public_owner.rb → changes_group.rb} +5 -5
  82. data/lib/crimson-falcon/models/changes_high_volume_query_meta.rb +271 -0
  83. data/lib/crimson-falcon/models/changes_high_volume_query_paging.rb +267 -0
  84. data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +266 -0
  85. data/lib/crimson-falcon/models/{public_host.rb → changes_host.rb} +4 -4
  86. data/lib/crimson-falcon/models/{public_host_group.rb → changes_host_group.rb} +3 -3
  87. data/lib/crimson-falcon/models/{public_group.rb → changes_owner.rb} +5 -5
  88. data/lib/crimson-falcon/models/{public_permissions.rb → changes_permissions.rb} +6 -6
  89. data/lib/crimson-falcon/models/{public_permissions_lin.rb → changes_permissions_lin.rb} +8 -8
  90. data/lib/crimson-falcon/models/{public_policy.rb → changes_policy.rb} +4 -4
  91. data/lib/crimson-falcon/models/{public_policy_rule.rb → changes_policy_rule.rb} +3 -3
  92. data/lib/crimson-falcon/models/{public_policy_rule_group.rb → changes_policy_rule_group.rb} +4 -4
  93. data/lib/crimson-falcon/models/{public_prevalence.rb → changes_prevalence.rb} +3 -3
  94. data/lib/crimson-falcon/models/{public_tag.rb → changes_tag.rb} +3 -3
  95. data/lib/crimson-falcon/models/client_action_request.rb +242 -0
  96. data/lib/crimson-falcon/models/client_cost.rb +267 -0
  97. data/lib/crimson-falcon/models/client_costs.rb +281 -0
  98. data/lib/crimson-falcon/models/client_data_ingest_response_v1.rb +253 -0
  99. data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +271 -0
  100. data/lib/crimson-falcon/models/client_digest_flow.rb +267 -0
  101. data/lib/crimson-falcon/models/client_extra_in.rb +255 -0
  102. data/lib/crimson-falcon/models/client_extra_limit.rb +253 -0
  103. data/lib/crimson-falcon/models/{domain_msa_meta_info.rb → client_extra_rename.rb} +24 -19
  104. data/lib/crimson-falcon/models/client_extra_sort.rb +276 -0
  105. data/lib/crimson-falcon/models/client_field.rb +269 -0
  106. data/lib/crimson-falcon/models/{models_job_meta_data.rb → client_job_status.rb} +70 -69
  107. data/lib/crimson-falcon/models/client_query_response_schemas_v1.rb +243 -0
  108. data/lib/crimson-falcon/models/client_query_result_metadata.rb +495 -0
  109. data/lib/crimson-falcon/models/client_repository.rb +281 -0
  110. data/lib/crimson-falcon/models/client_spent.rb +281 -0
  111. data/lib/crimson-falcon/models/client_system_definition_create_response.rb +271 -0
  112. data/lib/crimson-falcon/models/client_system_definition_de_provision_request.rb +285 -0
  113. data/lib/crimson-falcon/models/client_system_definition_promote_request.rb +314 -0
  114. data/lib/crimson-falcon/models/client_system_definition_provision_request.rb +299 -0
  115. data/lib/crimson-falcon/models/client_top_value.rb +253 -0
  116. data/lib/crimson-falcon/models/common_count_as_resource.rb +253 -0
  117. data/lib/crimson-falcon/models/common_count_response.rb +266 -0
  118. data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +266 -0
  119. data/lib/crimson-falcon/models/custom_type1255839303.rb +271 -0
  120. data/lib/crimson-falcon/models/custom_type3191042536.rb +271 -0
  121. data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +271 -0
  122. data/lib/crimson-falcon/models/definitions_definition_ext.rb +299 -0
  123. data/lib/crimson-falcon/models/definitions_definition_external_response.rb +266 -0
  124. data/lib/crimson-falcon/models/definitions_definition_import_response.rb +266 -0
  125. data/lib/crimson-falcon/models/definitions_definition_import_response_entity.rb +288 -0
  126. data/lib/crimson-falcon/models/definitions_flight_control_request.rb +279 -0
  127. data/lib/crimson-falcon/models/definitions_parameter_property.rb +239 -0
  128. data/lib/crimson-falcon/models/definitions_playbook_parameter.rb +257 -0
  129. data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +266 -0
  130. data/lib/crimson-falcon/models/detections_api_combined_detections.rb +266 -0
  131. data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +266 -0
  132. data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +266 -0
  133. data/lib/crimson-falcon/models/detections_api_detections_count.rb +266 -0
  134. data/lib/crimson-falcon/models/detects_alert.rb +110 -6
  135. data/lib/crimson-falcon/models/detectsapi_aggregate_alert_query_request.rb +491 -0
  136. data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +267 -0
  137. data/lib/crimson-falcon/models/detectsapi_aggregation_result.rb +267 -0
  138. data/lib/crimson-falcon/models/detectsapi_aggregation_result_item.rb +331 -0
  139. data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +267 -0
  140. data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v3_request.rb +252 -0
  141. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +1 -0
  142. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +1 -0
  143. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_request.rb +242 -0
  144. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +267 -0
  145. data/lib/crimson-falcon/models/detectsapi_response_fields.rb +250 -0
  146. data/lib/crimson-falcon/models/device_device.rb +19 -1
  147. data/lib/crimson-falcon/models/device_mapped_device_policies.rb +10 -1
  148. data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
  149. data/lib/crimson-falcon/models/domain_actor_document.rb +270 -4
  150. data/lib/crimson-falcon/models/domain_actor_entity.rb +257 -0
  151. data/lib/crimson-falcon/models/domain_actor_news_document.rb +285 -0
  152. data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +19 -1
  153. data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +12 -1
  154. data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
  155. data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +266 -0
  156. data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +434 -0
  157. data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +17 -1
  158. data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
  159. data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +17 -1
  160. data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +1 -11
  161. data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +4 -26
  162. data/lib/crimson-falcon/models/domain_asset_criticality_info_v1.rb +254 -0
  163. data/lib/crimson-falcon/models/domain_attachment.rb +298 -0
  164. data/lib/crimson-falcon/models/domain_aws_account_input.rb +311 -0
  165. data/lib/crimson-falcon/models/domain_aws_account_v2.rb +11 -1
  166. data/lib/crimson-falcon/models/domain_aws_batch_cluster_region.rb +267 -0
  167. data/lib/crimson-falcon/models/domain_azure_management_group_role_assignment.rb +266 -0
  168. data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +4 -26
  169. data/lib/crimson-falcon/models/domain_breached_item_v1.rb +40 -1
  170. data/lib/crimson-falcon/models/domain_card.rb +288 -0
  171. data/lib/crimson-falcon/models/domain_cid_group.rb +19 -1
  172. data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +23 -1
  173. data/lib/crimson-falcon/models/domain_cloud_scope.rb +13 -4
  174. data/lib/crimson-falcon/models/domain_credentials.rb +31 -12
  175. data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +1 -1
  176. data/lib/crimson-falcon/models/domain_device.rb +10 -1
  177. data/lib/crimson-falcon/models/domain_device_policy.rb +239 -0
  178. data/lib/crimson-falcon/models/domain_discover_api_host.rb +70 -6
  179. data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +75 -1
  180. data/lib/crimson-falcon/models/{registration_msa_spec_meta_info_extension.rb → domain_exposed_data_record_bot_location_v1.rb} +24 -19
  181. data/lib/crimson-falcon/models/domain_exposed_data_record_bot_operating_system_v1.rb +399 -0
  182. data/lib/crimson-falcon/models/domain_exposed_data_record_bot_v1.rb +334 -0
  183. data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +18 -4
  184. data/lib/crimson-falcon/models/domain_file_count_v2.rb +295 -0
  185. data/lib/crimson-falcon/models/domain_fragment_info.rb +299 -0
  186. data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +15 -1
  187. data/lib/crimson-falcon/models/domain_host.rb +342 -0
  188. data/lib/crimson-falcon/models/domain_incident.rb +4 -13
  189. data/lib/crimson-falcon/models/domain_ioc.rb +621 -0
  190. data/lib/crimson-falcon/models/domain_item_details_v1.rb +527 -0
  191. data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
  192. data/lib/crimson-falcon/models/domain_mapped_device_policies.rb +234 -0
  193. data/lib/crimson-falcon/models/domain_marketplace_product.rb +288 -0
  194. data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +28 -1
  195. data/lib/crimson-falcon/models/domain_meta_info.rb +54 -13
  196. data/lib/crimson-falcon/models/domain_news_document.rb +13 -1
  197. data/lib/crimson-falcon/models/domain_notification_v1.rb +15 -1
  198. data/lib/crimson-falcon/models/domain_policy_info.rb +23 -1
  199. data/lib/crimson-falcon/models/domain_query_response.rb +7 -2
  200. data/lib/crimson-falcon/models/domain_report_malware.rb +264 -0
  201. data/lib/crimson-falcon/models/domain_rule.rb +63 -69
  202. data/lib/crimson-falcon/models/domain_scan.rb +67 -4
  203. data/lib/crimson-falcon/models/domain_scan_profile.rb +13 -4
  204. data/lib/crimson-falcon/models/domain_scan_v2.rb +621 -0
  205. data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
  206. data/lib/crimson-falcon/models/domain_session.rb +0 -25
  207. data/lib/crimson-falcon/models/domain_telegram_channel_info.rb +243 -0
  208. data/lib/crimson-falcon/models/{models_snapshot_inventory_payload.rb → domain_telegram_info.rb} +25 -26
  209. data/lib/crimson-falcon/models/domain_telegram_recipient_info.rb +279 -0
  210. data/lib/crimson-falcon/models/domain_telegram_sender_info.rb +279 -0
  211. data/lib/crimson-falcon/models/domain_threat_entity.rb +235 -0
  212. data/lib/crimson-falcon/models/domain_user.rb +9 -27
  213. data/lib/crimson-falcon/models/domain_user_grants.rb +0 -20
  214. data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +266 -0
  215. data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +266 -0
  216. data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +266 -0
  217. data/lib/crimson-falcon/models/empowerapi_falcon_script.rb +521 -0
  218. data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +266 -0
  219. data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +266 -0
  220. data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +266 -0
  221. data/lib/crimson-falcon/models/executions_activity_execution_result.rb +377 -0
  222. data/lib/crimson-falcon/models/executions_ancestor_execution.rb +270 -0
  223. data/lib/crimson-falcon/models/executions_child_execution_result.rb +295 -0
  224. data/lib/crimson-falcon/models/executions_execution_result.rb +390 -0
  225. data/lib/crimson-falcon/models/executions_iterations.rb +315 -0
  226. data/lib/crimson-falcon/models/executions_loop_result.rb +356 -0
  227. data/lib/crimson-falcon/models/executions_reference_link.rb +255 -0
  228. data/lib/crimson-falcon/models/executions_trigger_result.rb +270 -0
  229. data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -15
  230. data/lib/crimson-falcon/models/falconx_submission_v1.rb +37 -1
  231. data/lib/crimson-falcon/models/flows.rb +269 -0
  232. data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +10 -1
  233. data/lib/crimson-falcon/models/graph_condition.rb +257 -0
  234. data/lib/crimson-falcon/models/graph_configured_activity.rb +308 -0
  235. data/lib/crimson-falcon/models/graph_configured_trigger.rb +307 -0
  236. data/lib/crimson-falcon/models/graph_definition_model.rb +315 -0
  237. data/lib/crimson-falcon/models/{models_scan_results.rb → graph_end.rb} +24 -23
  238. data/lib/crimson-falcon/models/graph_flow.rb +274 -0
  239. data/lib/crimson-falcon/models/graph_gateway.rb +268 -0
  240. data/lib/crimson-falcon/models/graph_multi.rb +285 -0
  241. data/lib/crimson-falcon/models/graph_sub_model.rb +301 -0
  242. data/lib/crimson-falcon/models/graph_timer_event_definition.rb +290 -0
  243. data/lib/crimson-falcon/models/graph_validation_error.rb +300 -0
  244. data/lib/crimson-falcon/models/images_api_combined_image_export.rb +266 -0
  245. data/lib/crimson-falcon/models/images_api_customer_and_image.rb +266 -0
  246. data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +266 -0
  247. data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +266 -0
  248. data/lib/crimson-falcon/models/images_api_image_count.rb +266 -0
  249. data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +266 -0
  250. data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +266 -0
  251. data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +266 -0
  252. data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +266 -0
  253. data/lib/crimson-falcon/models/internal_sensor_status.rb +75 -1
  254. data/lib/crimson-falcon/models/jsonschema_authorization.rb +278 -0
  255. data/lib/crimson-falcon/models/jsonschema_collection_index_field.rb +267 -0
  256. data/lib/crimson-falcon/models/jsonschema_complex_permissions.rb +236 -0
  257. data/lib/crimson-falcon/models/jsonschema_complex_permissions_or.rb +236 -0
  258. data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +270 -0
  259. data/lib/crimson-falcon/models/jsonschema_permission.rb +253 -0
  260. data/lib/crimson-falcon/models/jsonschema_pivot.rb +306 -0
  261. data/lib/crimson-falcon/models/jsonschema_reset_fields.rb +241 -0
  262. data/lib/crimson-falcon/models/jsonschema_schema.rb +250 -0
  263. data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +254 -0
  264. data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +782 -0
  265. data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +281 -0
  266. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +267 -0
  267. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_entry.rb +253 -0
  268. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +266 -0
  269. data/lib/crimson-falcon/models/k8sassets_container_enrichment_data.rb +241 -0
  270. data/lib/crimson-falcon/models/k8sassets_container_enrichment_entry.rb +253 -0
  271. data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +266 -0
  272. data/lib/crimson-falcon/models/k8sassets_container_info.rb +253 -0
  273. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_data.rb +239 -0
  274. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_entry.rb +253 -0
  275. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +266 -0
  276. data/lib/crimson-falcon/models/k8sassets_node_enrichment_data.rb +253 -0
  277. data/lib/crimson-falcon/models/k8sassets_node_enrichment_entry.rb +253 -0
  278. data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +266 -0
  279. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_data.rb +269 -0
  280. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_entry.rb +253 -0
  281. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +266 -0
  282. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +266 -0
  283. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +266 -0
  284. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +266 -0
  285. data/lib/crimson-falcon/models/model_user_input_read_response.rb +267 -0
  286. data/lib/crimson-falcon/models/model_user_input_update_request.rb +255 -0
  287. data/lib/crimson-falcon/models/model_user_input_view_model.rb +379 -0
  288. data/lib/crimson-falcon/models/models_account_entities_input.rb +241 -0
  289. data/lib/crimson-falcon/models/models_account_status_response.rb +266 -0
  290. data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +266 -0
  291. data/lib/crimson-falcon/models/models_api_assessment_detections.rb +477 -0
  292. data/lib/crimson-falcon/models/models_api_combined_detections.rb +395 -0
  293. data/lib/crimson-falcon/models/models_api_container_alert.rb +339 -0
  294. data/lib/crimson-falcon/models/models_api_customer_and_image.rb +458 -0
  295. data/lib/crimson-falcon/models/models_api_detection_count.rb +239 -0
  296. data/lib/crimson-falcon/models/models_api_detection_count_by_type.rb +253 -0
  297. data/lib/crimson-falcon/models/models_api_drift_indicators.rb +577 -0
  298. data/lib/crimson-falcon/models/models_api_filter_label.rb +253 -0
  299. data/lib/crimson-falcon/models/models_api_filter_response.rb +255 -0
  300. data/lib/crimson-falcon/models/models_api_image_assessment.rb +309 -0
  301. data/lib/crimson-falcon/models/models_api_image_assessment_history.rb +255 -0
  302. data/lib/crimson-falcon/models/models_api_image_by_vulnerability_count.rb +295 -0
  303. data/lib/crimson-falcon/models/models_api_image_combined_export.rb +505 -0
  304. data/lib/crimson-falcon/models/models_api_image_count.rb +239 -0
  305. data/lib/crimson-falcon/models/models_api_image_issues_summary.rb +359 -0
  306. data/lib/crimson-falcon/models/models_api_image_vulnerabilities_summary.rb +357 -0
  307. data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +796 -0
  308. data/lib/crimson-falcon/models/{domain_notification_details_v1.rb → models_api_package_combined.rb} +77 -85
  309. data/lib/crimson-falcon/models/models_api_package_vulnerability.rb +283 -0
  310. data/lib/crimson-falcon/models/models_api_packages_by_vuln_count.rb +309 -0
  311. data/lib/crimson-falcon/models/models_api_policy_count_by_action.rb +253 -0
  312. data/lib/crimson-falcon/models/models_api_policy_data.rb +257 -0
  313. data/lib/crimson-falcon/models/models_api_policy_entity.rb +332 -0
  314. data/lib/crimson-falcon/models/models_api_policy_exclusion.rb +301 -0
  315. data/lib/crimson-falcon/models/models_api_policy_group.rb +313 -0
  316. data/lib/crimson-falcon/models/models_api_policy_group_data.rb +241 -0
  317. data/lib/crimson-falcon/models/models_api_policy_rule.rb +248 -0
  318. data/lib/crimson-falcon/models/models_api_policy_rules_data.rb +241 -0
  319. data/lib/crimson-falcon/models/models_api_precedence_request.rb +241 -0
  320. data/lib/crimson-falcon/models/models_api_runtime_detection.rb +987 -0
  321. data/lib/crimson-falcon/models/models_api_unidentified_container.rb +525 -0
  322. data/lib/crimson-falcon/models/models_api_vuln_by_image_count.rb +283 -0
  323. data/lib/crimson-falcon/models/models_api_vuln_by_publication_date.rb +309 -0
  324. data/lib/crimson-falcon/models/models_api_vuln_count.rb +239 -0
  325. data/lib/crimson-falcon/models/models_api_vuln_count_by_severity.rb +253 -0
  326. data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +407 -0
  327. data/lib/crimson-falcon/models/models_api_vulnerability_details.rb +365 -0
  328. data/lib/crimson-falcon/models/models_api_vulnerability_info.rb +383 -0
  329. data/lib/crimson-falcon/models/models_cluster.rb +539 -0
  330. data/lib/crimson-falcon/models/models_cluster_entity_response.rb +266 -0
  331. data/lib/crimson-falcon/models/models_container.rb +831 -0
  332. data/lib/crimson-falcon/models/models_container_coverage.rb +253 -0
  333. data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +266 -0
  334. data/lib/crimson-falcon/models/models_container_entity_response.rb +266 -0
  335. data/lib/crimson-falcon/models/models_container_image.rb +453 -0
  336. data/lib/crimson-falcon/models/models_container_information.rb +253 -0
  337. data/lib/crimson-falcon/models/models_container_runtime_pivot.rb +353 -0
  338. data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +266 -0
  339. data/lib/crimson-falcon/models/models_create_image_group_request.rb +271 -0
  340. data/lib/crimson-falcon/models/models_create_policy_request.rb +253 -0
  341. data/lib/crimson-falcon/models/models_definition_create_request_v2.rb +263 -0
  342. data/lib/crimson-falcon/models/models_definition_update_request_v2.rb +288 -0
  343. data/lib/crimson-falcon/models/{models_snapshot_inventory_application.rb → models_deployment.rb} +85 -85
  344. data/lib/crimson-falcon/models/models_deployment_entity_response.rb +266 -0
  345. data/lib/crimson-falcon/models/models_exclusion_condition.rb +310 -0
  346. data/lib/crimson-falcon/models/models_exclusion_condition_request.rb +273 -0
  347. data/lib/crimson-falcon/models/models_image_information.rb +267 -0
  348. data/lib/crimson-falcon/models/models_image_summary_packages_info.rb +253 -0
  349. data/lib/crimson-falcon/models/models_issues_summary_container_info.rb +267 -0
  350. data/lib/crimson-falcon/models/models_light_weight_config.rb +347 -0
  351. data/lib/crimson-falcon/models/models_node.rb +723 -0
  352. data/lib/crimson-falcon/models/{public_get_changes_response.rb → models_node_entity_response.rb} +4 -4
  353. data/lib/crimson-falcon/models/models_package_name_version_type.rb +295 -0
  354. data/lib/crimson-falcon/models/models_patch_image_group_request.rb +262 -0
  355. data/lib/crimson-falcon/models/models_patch_policy_request.rb +276 -0
  356. data/lib/crimson-falcon/models/models_pod.rb +827 -0
  357. data/lib/crimson-falcon/models/models_pod_entity_response.rb +266 -0
  358. data/lib/crimson-falcon/models/models_policy_entity_response.rb +266 -0
  359. data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +266 -0
  360. data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +266 -0
  361. data/lib/crimson-falcon/models/models_request_api_policy_data.rb +241 -0
  362. data/lib/crimson-falcon/models/models_snapshot_account_status.rb +341 -0
  363. data/lib/crimson-falcon/models/models_update_exclusions_request.rb +241 -0
  364. data/lib/crimson-falcon/models/msa_aggregation_result.rb +10 -1
  365. data/lib/crimson-falcon/models/packages_api_combined_package.rb +266 -0
  366. data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +266 -0
  367. data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +266 -0
  368. data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +259 -0
  369. data/lib/crimson-falcon/models/parameter_activity_config_provision_parameter.rb +255 -0
  370. data/lib/crimson-falcon/models/parameter_activity_provision_parameters.rb +249 -0
  371. data/lib/crimson-falcon/models/parameter_activity_selection_parameter.rb +270 -0
  372. data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +284 -0
  373. data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +269 -0
  374. data/lib/crimson-falcon/models/parameter_condition_provision_parameter.rb +257 -0
  375. data/lib/crimson-falcon/models/parameter_template_provision_parameters.rb +255 -0
  376. data/lib/crimson-falcon/models/parameter_trigger_field_parameter.rb +259 -0
  377. data/lib/crimson-falcon/models/parameter_trigger_parameter.rb +257 -0
  378. data/lib/crimson-falcon/models/parameter_trigger_provision_parameter.rb +257 -0
  379. data/lib/crimson-falcon/models/policies_assigned_host_group.rb +253 -0
  380. data/lib/crimson-falcon/models/policies_assigned_rule_group.rb +253 -0
  381. data/lib/crimson-falcon/models/policies_create_request.rb +257 -0
  382. data/lib/crimson-falcon/models/policies_delete_response.rb +266 -0
  383. data/lib/crimson-falcon/models/policies_policy.rb +362 -0
  384. data/lib/crimson-falcon/models/policies_precedence_response.rb +266 -0
  385. data/lib/crimson-falcon/models/policies_response.rb +266 -0
  386. data/lib/crimson-falcon/models/policies_update_request.rb +266 -0
  387. data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +12 -1
  388. data/lib/crimson-falcon/models/registration_aws_account_patch.rb +10 -1
  389. data/lib/crimson-falcon/models/registration_azure_account_patch.rb +248 -0
  390. data/lib/crimson-falcon/models/registration_azure_account_patch_request.rb +241 -0
  391. data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +29 -1
  392. data/lib/crimson-falcon/models/registration_azure_management_group_create_request_external_v1.rb +241 -0
  393. data/lib/crimson-falcon/models/registration_azure_management_group_external_v1.rb +249 -0
  394. data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +266 -0
  395. data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +452 -0
  396. data/lib/crimson-falcon/models/registration_gcp_account_ext_request_v2.rb +241 -0
  397. data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +248 -0
  398. data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +241 -0
  399. data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +302 -0
  400. data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +271 -0
  401. data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +284 -0
  402. data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +261 -0
  403. data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +271 -0
  404. data/lib/crimson-falcon/models/registration_iom_event_id_response_meta.rb +281 -0
  405. data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
  406. data/lib/crimson-falcon/models/registration_iom_event_v2.rb +17 -1
  407. data/lib/crimson-falcon/models/registration_next_token_pagination.rb +266 -0
  408. data/lib/crimson-falcon/models/rulegroups_assigned_rule.rb +253 -0
  409. data/lib/crimson-falcon/models/rulegroups_create_request.rb +262 -0
  410. data/lib/crimson-falcon/models/rulegroups_delete_response.rb +266 -0
  411. data/lib/crimson-falcon/models/rulegroups_policy_assignment.rb +253 -0
  412. data/lib/crimson-falcon/models/rulegroups_response.rb +266 -0
  413. data/lib/crimson-falcon/models/rulegroups_rule.rb +579 -0
  414. data/lib/crimson-falcon/models/rulegroups_rule_group.rb +324 -0
  415. data/lib/crimson-falcon/models/rulegroups_rules_response.rb +266 -0
  416. data/lib/crimson-falcon/models/rulegroups_update_request.rb +262 -0
  417. data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +266 -0
  418. data/lib/crimson-falcon/models/{sadomain_submit_for_blocking_info.rb → sadomain_submission_information.rb} +3 -3
  419. data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +11 -2
  420. data/lib/crimson-falcon/models/scheduledexclusions_create_request.rb +316 -0
  421. data/lib/crimson-falcon/models/scheduledexclusions_repeated.rb +292 -0
  422. data/lib/crimson-falcon/models/scheduledexclusions_response.rb +266 -0
  423. data/lib/crimson-falcon/models/scheduledexclusions_scheduled_exclusion.rb +348 -0
  424. data/lib/crimson-falcon/models/scheduledexclusions_update_request.rb +330 -0
  425. data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +10 -1
  426. data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +10 -1
  427. data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +10 -1
  428. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +266 -0
  429. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +266 -0
  430. data/lib/crimson-falcon/models/v2_activity.rb +264 -0
  431. data/lib/crimson-falcon/models/v2_activity_parameters.rb +241 -0
  432. data/lib/crimson-falcon/models/v2_activity_properties.rb +241 -0
  433. data/lib/crimson-falcon/models/v2_condition.rb +286 -0
  434. data/lib/crimson-falcon/models/v2_condition_parameters.rb +241 -0
  435. data/lib/crimson-falcon/models/v2_definition.rb +374 -0
  436. data/lib/crimson-falcon/models/v2_for_loop.rb +253 -0
  437. data/lib/crimson-falcon/models/v2_loop.rb +281 -0
  438. data/lib/crimson-falcon/models/v2_parameters.rb +264 -0
  439. data/lib/crimson-falcon/models/v2_trigger.rb +277 -0
  440. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +266 -0
  441. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +266 -0
  442. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +266 -0
  443. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +266 -0
  444. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +266 -0
  445. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +266 -0
  446. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +266 -0
  447. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +266 -0
  448. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +266 -0
  449. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +266 -0
  450. data/lib/crimson-falcon/version.rb +2 -2
  451. data/lib/crimson-falcon.rb +366 -37
  452. data/spec/api/alerts_api_spec.rb +60 -8
  453. data/spec/api/{inventories_api_spec.rb → cloud_snapshots_api_spec.rb} +10 -10
  454. data/spec/api/configuration_assessment_api_spec.rb +11 -0
  455. data/spec/api/container_alerts_api_spec.rb +88 -0
  456. data/spec/api/container_detections_api_spec.rb +125 -0
  457. data/spec/api/container_images_api_spec.rb +182 -0
  458. data/spec/api/container_packages_api_spec.rb +119 -0
  459. data/spec/api/container_vulnerabilities_api_spec.rb +184 -0
  460. data/spec/api/cspm_registration_api_spec.rb +123 -1
  461. data/spec/api/custom_ioa_api_spec.rb +1 -1
  462. data/spec/api/custom_storage_api_spec.rb +133 -0
  463. data/spec/api/d4c_registration_api_spec.rb +47 -0
  464. data/spec/api/drift_indicators_api_spec.rb +114 -0
  465. data/spec/api/falcon_complete_dashboard_api_spec.rb +65 -7
  466. data/spec/api/falcon_container_image_api_spec.rb +0 -14
  467. data/spec/api/falconx_sandbox_api_spec.rb +1 -1
  468. data/spec/api/filevantage_api_spec.rb +315 -8
  469. data/spec/api/foundry_logscale_api_spec.rb +226 -0
  470. data/spec/api/hosts_api_spec.rb +12 -12
  471. data/spec/api/image_assessment_policies_api_spec.rb +172 -0
  472. data/spec/api/installation_tokens_api_spec.rb +4 -4
  473. data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
  474. data/spec/api/intel_api_spec.rb +2 -2
  475. data/spec/api/ioc_api_spec.rb +41 -0
  476. data/spec/api/kubernetes_protection_api_spec.rb +480 -0
  477. data/spec/api/message_center_api_spec.rb +3 -3
  478. data/spec/api/ods_api_spec.rb +13 -2
  479. data/spec/api/real_time_response_admin_api_spec.rb +25 -0
  480. data/spec/api/real_time_response_audit_api_spec.rb +67 -0
  481. data/spec/api/recon_api_spec.rb +3 -3
  482. data/spec/api/runtime_detections_api_spec.rb +66 -0
  483. data/spec/api/{vulnerabilities_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_api_spec.rb} +6 -6
  484. data/spec/api/{vulnerabilities_api_spec.rb → spotlight_vulnerabilities_api_spec.rb} +8 -8
  485. data/spec/api/unidentified_containers_api_spec.rb +88 -0
  486. data/spec/api/workflows_api_spec.rb +224 -0
  487. data/spec/models/alerts_container_alerts_count_value_spec.rb +63 -0
  488. data/spec/models/alerts_container_alerts_entity_response_spec.rb +63 -0
  489. data/spec/models/api_detects_query_meta_spec.rb +69 -0
  490. data/spec/models/api_detects_query_paging_spec.rb +63 -0
  491. data/spec/models/{api_aggregates_response_spec.rb → api_device_count_resp_v1_spec.rb} +6 -6
  492. data/spec/models/api_device_count_v1_spec.rb +69 -0
  493. data/spec/models/api_devices_ran_on_resp_v1_spec.rb +63 -0
  494. data/spec/models/api_entities_response_spec.rb +63 -0
  495. data/spec/models/api_execution_results_response_spec.rb +63 -0
  496. data/spec/models/api_exposed_data_record_bot_location_v1_spec.rb +57 -0
  497. data/spec/models/api_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
  498. data/spec/models/api_exposed_data_record_bot_v1_spec.rb +93 -0
  499. data/spec/models/api_meta_info_spec.rb +69 -0
  500. data/spec/models/api_notification_exposed_data_record_v1_spec.rb +18 -0
  501. data/spec/models/api_object_metadata_spec.rb +75 -0
  502. data/spec/models/api_processes_ran_on_resp_v1_spec.rb +63 -0
  503. data/spec/models/{common_entities_response_spec.rb → api_resource_ids_response_spec.rb} +6 -6
  504. data/spec/models/api_response_pagination_spec.rb +57 -0
  505. data/spec/models/apidomain_dynamic_execute_search_request_v1_spec.rb +75 -0
  506. data/spec/models/apidomain_query_response_v1_spec.rb +81 -0
  507. data/spec/models/apidomain_query_response_wrapper_v1_spec.rb +63 -0
  508. data/spec/models/{models_snapshot_inventory_application_spec.rb → apidomain_repo_view_list_item_v1_spec.rb} +15 -15
  509. data/spec/models/apidomain_repo_view_list_item_wrapper_v1_spec.rb +63 -0
  510. data/spec/models/apidomain_repository_v1_spec.rb +75 -0
  511. data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +111 -0
  512. data/spec/models/apidomain_view_connection_v1_spec.rb +57 -0
  513. data/spec/models/{public_acl_change_spec.rb → changes_acl_change_spec.rb} +6 -6
  514. data/spec/models/{public_acl_spec.rb → changes_acl_spec.rb} +6 -6
  515. data/spec/models/{public_before_spec.rb → changes_after_spec.rb} +6 -6
  516. data/spec/models/{public_attribute_spec.rb → changes_attribute_spec.rb} +6 -6
  517. data/spec/models/{public_basic_spec.rb → changes_basic_spec.rb} +6 -6
  518. data/spec/models/{public_after_spec.rb → changes_before_spec.rb} +6 -6
  519. data/spec/models/{public_change_spec.rb → changes_change_spec.rb} +6 -6
  520. data/spec/models/{public_dacl_entity_spec.rb → changes_dacl_entity_spec.rb} +12 -6
  521. data/spec/models/{public_dacl_spec.rb → changes_dacl_spec.rb} +6 -6
  522. data/spec/models/{public_diff_hash_spec.rb → changes_diff_hash_spec.rb} +6 -6
  523. data/spec/models/{public_diff_spec.rb → changes_diff_spec.rb} +6 -6
  524. data/spec/models/{public_diff_type_spec.rb → changes_diff_type_spec.rb} +6 -6
  525. data/spec/models/changes_get_changes_response_spec.rb +63 -0
  526. data/spec/models/{public_owner_spec.rb → changes_group_spec.rb} +6 -6
  527. data/spec/models/changes_high_volume_query_meta_spec.rb +69 -0
  528. data/spec/models/changes_high_volume_query_paging_spec.rb +63 -0
  529. data/spec/models/changes_high_volume_query_response_spec.rb +63 -0
  530. data/spec/models/{public_host_group_spec.rb → changes_host_group_spec.rb} +6 -6
  531. data/spec/models/{public_host_spec.rb → changes_host_spec.rb} +6 -6
  532. data/spec/models/{public_group_spec.rb → changes_owner_spec.rb} +6 -6
  533. data/spec/models/{public_permissions_lin_spec.rb → changes_permissions_lin_spec.rb} +6 -6
  534. data/spec/models/{public_permissions_spec.rb → changes_permissions_spec.rb} +6 -6
  535. data/spec/models/{public_policy_rule_group_spec.rb → changes_policy_rule_group_spec.rb} +6 -6
  536. data/spec/models/{public_policy_rule_spec.rb → changes_policy_rule_spec.rb} +6 -6
  537. data/spec/models/{public_policy_spec.rb → changes_policy_spec.rb} +6 -6
  538. data/spec/models/{public_prevalence_spec.rb → changes_prevalence_spec.rb} +6 -6
  539. data/spec/models/{public_tag_spec.rb → changes_tag_spec.rb} +6 -6
  540. data/spec/models/client_action_request_spec.rb +51 -0
  541. data/spec/models/client_cost_spec.rb +63 -0
  542. data/spec/models/client_costs_spec.rb +69 -0
  543. data/spec/models/client_data_ingest_response_v1_spec.rb +57 -0
  544. data/spec/models/client_data_ingest_response_wrapper_v1_spec.rb +63 -0
  545. data/spec/models/client_digest_flow_spec.rb +63 -0
  546. data/spec/models/client_extra_in_spec.rb +57 -0
  547. data/spec/models/client_extra_limit_spec.rb +57 -0
  548. data/spec/models/client_extra_rename_spec.rb +57 -0
  549. data/spec/models/client_extra_sort_spec.rb +75 -0
  550. data/spec/models/client_field_spec.rb +63 -0
  551. data/spec/models/client_job_status_spec.rb +117 -0
  552. data/spec/models/client_query_response_schemas_v1_spec.rb +57 -0
  553. data/spec/models/client_query_result_metadata_spec.rb +159 -0
  554. data/spec/models/client_repository_spec.rb +69 -0
  555. data/spec/models/client_spent_spec.rb +69 -0
  556. data/spec/models/client_system_definition_create_response_spec.rb +63 -0
  557. data/spec/models/client_system_definition_de_provision_request_spec.rb +69 -0
  558. data/spec/models/client_system_definition_promote_request_spec.rb +81 -0
  559. data/spec/models/client_system_definition_provision_request_spec.rb +75 -0
  560. data/spec/models/client_top_value_spec.rb +57 -0
  561. data/spec/models/common_count_as_resource_spec.rb +57 -0
  562. data/spec/models/common_count_response_spec.rb +63 -0
  563. data/spec/models/common_generic_entity_response_string_spec.rb +63 -0
  564. data/spec/models/custom_type1255839303_spec.rb +63 -0
  565. data/spec/models/custom_type3191042536_spec.rb +63 -0
  566. data/spec/models/definitions_definition_entities_response_spec.rb +63 -0
  567. data/spec/models/definitions_definition_ext_spec.rb +75 -0
  568. data/spec/models/definitions_definition_external_response_spec.rb +63 -0
  569. data/spec/models/definitions_definition_import_response_entity_spec.rb +81 -0
  570. data/spec/models/definitions_definition_import_response_spec.rb +63 -0
  571. data/spec/models/definitions_flight_control_request_spec.rb +69 -0
  572. data/spec/models/definitions_parameter_property_spec.rb +51 -0
  573. data/spec/models/definitions_playbook_parameter_spec.rb +57 -0
  574. data/spec/models/detections_api_assessment_detections_spec.rb +63 -0
  575. data/spec/models/detections_api_combined_detections_spec.rb +63 -0
  576. data/spec/models/detections_api_detections_by_severity_spec.rb +63 -0
  577. data/spec/models/detections_api_detections_by_type_spec.rb +63 -0
  578. data/spec/models/detections_api_detections_count_spec.rb +63 -0
  579. data/spec/models/detects_alert_spec.rb +42 -0
  580. data/spec/models/detectsapi_aggregate_alert_query_request_spec.rb +153 -0
  581. data/spec/models/detectsapi_aggregates_response_spec.rb +63 -0
  582. data/spec/models/detectsapi_aggregation_result_item_spec.rb +105 -0
  583. data/spec/models/detectsapi_aggregation_result_spec.rb +63 -0
  584. data/spec/models/detectsapi_alert_query_response_spec.rb +63 -0
  585. data/spec/models/detectsapi_patch_entities_alerts_v3_request_spec.rb +57 -0
  586. data/spec/models/detectsapi_post_entities_alerts_v2_request_spec.rb +51 -0
  587. data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +63 -0
  588. data/spec/models/detectsapi_response_fields_spec.rb +57 -0
  589. data/spec/models/device_device_spec.rb +12 -0
  590. data/spec/models/device_mapped_device_policies_spec.rb +6 -0
  591. data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
  592. data/spec/models/domain_actor_document_spec.rb +162 -0
  593. data/spec/models/domain_actor_entity_spec.rb +63 -0
  594. data/spec/models/domain_actor_news_document_spec.rb +69 -0
  595. data/spec/models/domain_api_finding_rule_v1_spec.rb +12 -0
  596. data/spec/models/domain_api_finding_with_rule_v1_spec.rb +6 -0
  597. data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
  598. data/spec/models/domain_api_rule_details_response_v1_spec.rb +63 -0
  599. data/spec/models/domain_api_rule_details_v1_spec.rb +135 -0
  600. data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
  601. data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
  602. data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +6 -0
  603. data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +0 -6
  604. data/spec/models/domain_api_vulnerability_v2_spec.rb +0 -12
  605. data/spec/models/domain_asset_criticality_info_v1_spec.rb +63 -0
  606. data/spec/models/domain_attachment_spec.rb +87 -0
  607. data/spec/models/domain_aws_account_input_spec.rb +81 -0
  608. data/spec/models/domain_aws_account_v2_spec.rb +6 -0
  609. data/spec/models/domain_aws_batch_cluster_region_spec.rb +63 -0
  610. data/spec/models/domain_azure_management_group_role_assignment_spec.rb +69 -0
  611. data/spec/models/domain_base_api_vulnerability_v2_spec.rb +0 -12
  612. data/spec/models/domain_breached_item_v1_spec.rb +18 -0
  613. data/spec/models/domain_card_spec.rb +87 -0
  614. data/spec/models/domain_cid_group_spec.rb +12 -0
  615. data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
  616. data/spec/models/domain_cloud_scope_spec.rb +6 -0
  617. data/spec/models/domain_credentials_spec.rb +13 -1
  618. data/spec/models/domain_device_policy_spec.rb +51 -0
  619. data/spec/models/domain_device_spec.rb +6 -0
  620. data/spec/models/domain_discover_api_host_spec.rb +36 -0
  621. data/spec/models/domain_discover_apiio_t_host_spec.rb +36 -0
  622. data/spec/models/{registration_msa_spec_meta_info_extension_spec.rb → domain_exposed_data_record_bot_location_v1_spec.rb} +8 -8
  623. data/spec/models/domain_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
  624. data/spec/models/domain_exposed_data_record_bot_v1_spec.rb +93 -0
  625. data/spec/models/domain_exposed_data_record_social_v1_spec.rb +6 -0
  626. data/spec/models/domain_file_count_v2_spec.rb +75 -0
  627. data/spec/models/domain_fragment_info_spec.rb +87 -0
  628. data/spec/models/domain_gcp_account_v1_spec.rb +6 -0
  629. data/spec/models/domain_host_spec.rb +123 -0
  630. data/spec/models/domain_incident_spec.rb +0 -6
  631. data/spec/models/domain_ioc_spec.rb +261 -0
  632. data/spec/models/domain_item_details_v1_spec.rb +207 -0
  633. data/spec/models/domain_mapped_device_policies_spec.rb +51 -0
  634. data/spec/models/domain_marketplace_product_spec.rb +87 -0
  635. data/spec/models/domain_matched_breach_summary_v1_spec.rb +12 -0
  636. data/spec/models/domain_meta_info_spec.rb +25 -1
  637. data/spec/models/domain_news_document_spec.rb +6 -0
  638. data/spec/models/domain_notification_v1_spec.rb +6 -0
  639. data/spec/models/domain_policy_info_spec.rb +12 -0
  640. data/spec/models/domain_report_malware_spec.rb +63 -0
  641. data/spec/models/domain_rule_spec.rb +7 -13
  642. data/spec/models/domain_scan_profile_spec.rb +6 -0
  643. data/spec/models/domain_scan_spec.rb +42 -0
  644. data/spec/models/domain_scan_v2_spec.rb +273 -0
  645. data/spec/models/domain_schedule_spec.rb +3 -3
  646. data/spec/models/domain_telegram_channel_info_spec.rb +57 -0
  647. data/spec/models/domain_telegram_info_spec.rb +63 -0
  648. data/spec/models/domain_telegram_recipient_info_spec.rb +81 -0
  649. data/spec/models/domain_telegram_sender_info_spec.rb +81 -0
  650. data/spec/models/domain_threat_entity_spec.rb +51 -0
  651. data/spec/models/domain_user_spec.rb +1 -13
  652. data/spec/models/driftindicators_drift_entity_response_spec.rb +63 -0
  653. data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +63 -0
  654. data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +63 -0
  655. data/spec/models/empowerapi_falcon_script_spec.rb +177 -0
  656. data/spec/models/empowerapi_msa_falcon_script_response_spec.rb +63 -0
  657. data/spec/models/empowerapi_msa_id_list_response_spec.rb +63 -0
  658. data/spec/models/entities_ods_scan_response_v2_spec.rb +63 -0
  659. data/spec/models/executions_activity_execution_result_spec.rb +117 -0
  660. data/spec/models/executions_ancestor_execution_spec.rb +63 -0
  661. data/spec/models/executions_child_execution_result_spec.rb +75 -0
  662. data/spec/models/executions_execution_result_spec.rb +111 -0
  663. data/spec/models/executions_iterations_spec.rb +81 -0
  664. data/spec/models/executions_loop_result_spec.rb +105 -0
  665. data/spec/models/executions_reference_link_spec.rb +57 -0
  666. data/spec/models/executions_trigger_result_spec.rb +69 -0
  667. data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -6
  668. data/spec/models/falconx_submission_v1_spec.rb +24 -0
  669. data/spec/models/flows_spec.rb +63 -0
  670. data/spec/models/fwmgr_msa_aggregation_result_spec.rb +6 -0
  671. data/spec/models/graph_condition_spec.rb +63 -0
  672. data/spec/models/graph_configured_activity_spec.rb +81 -0
  673. data/spec/models/graph_configured_trigger_spec.rb +87 -0
  674. data/spec/models/graph_definition_model_spec.rb +87 -0
  675. data/spec/models/graph_end_spec.rb +57 -0
  676. data/spec/models/graph_flow_spec.rb +69 -0
  677. data/spec/models/graph_gateway_spec.rb +63 -0
  678. data/spec/models/graph_multi_spec.rb +69 -0
  679. data/spec/models/graph_sub_model_spec.rb +81 -0
  680. data/spec/models/graph_timer_event_definition_spec.rb +75 -0
  681. data/spec/models/graph_validation_error_spec.rb +87 -0
  682. data/spec/models/images_api_combined_image_export_spec.rb +63 -0
  683. data/spec/models/images_api_customer_and_image_spec.rb +63 -0
  684. data/spec/models/images_api_image_assessment_history_spec.rb +63 -0
  685. data/spec/models/images_api_image_by_vulnerability_count_spec.rb +63 -0
  686. data/spec/models/images_api_image_count_by_base_os_spec.rb +63 -0
  687. data/spec/models/images_api_image_count_by_state_spec.rb +63 -0
  688. data/spec/models/images_api_image_count_spec.rb +63 -0
  689. data/spec/models/images_api_image_issues_summary_spec.rb +63 -0
  690. data/spec/models/images_api_image_vulnerabilities_summary_spec.rb +63 -0
  691. data/spec/models/internal_sensor_status_spec.rb +48 -0
  692. data/spec/models/jsonschema_authorization_spec.rb +69 -0
  693. data/spec/models/jsonschema_collection_index_field_spec.rb +63 -0
  694. data/spec/models/jsonschema_complex_permissions_or_spec.rb +51 -0
  695. data/spec/models/jsonschema_complex_permissions_spec.rb +51 -0
  696. data/spec/models/jsonschema_condition_group_fields_spec.rb +75 -0
  697. data/spec/models/jsonschema_permission_spec.rb +57 -0
  698. data/spec/models/jsonschema_pivot_spec.rb +99 -0
  699. data/spec/models/jsonschema_reset_fields_spec.rb +51 -0
  700. data/spec/models/jsonschema_schema_spec.rb +57 -0
  701. data/spec/models/jsonschema_signals_extensions_spec.rb +63 -0
  702. data/spec/models/jsonschema_sub_schema_spec.rb +399 -0
  703. data/spec/models/jsonschema_workflow_extensions_spec.rb +81 -0
  704. data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +63 -0
  705. data/spec/models/k8sassets_cluster_enrichment_entry_spec.rb +57 -0
  706. data/spec/models/k8sassets_cluster_enrichment_response_spec.rb +63 -0
  707. data/spec/models/k8sassets_container_enrichment_data_spec.rb +51 -0
  708. data/spec/models/k8sassets_container_enrichment_entry_spec.rb +57 -0
  709. data/spec/models/k8sassets_container_enrichment_response_spec.rb +63 -0
  710. data/spec/models/k8sassets_container_info_spec.rb +57 -0
  711. data/spec/models/k8sassets_deployment_enrichment_data_spec.rb +51 -0
  712. data/spec/models/k8sassets_deployment_enrichment_entry_spec.rb +57 -0
  713. data/spec/models/k8sassets_deployment_enrichment_response_spec.rb +63 -0
  714. data/spec/models/k8sassets_node_enrichment_data_spec.rb +57 -0
  715. data/spec/models/k8sassets_node_enrichment_entry_spec.rb +57 -0
  716. data/spec/models/k8sassets_node_enrichment_response_spec.rb +63 -0
  717. data/spec/models/k8sassets_pod_enrichment_data_spec.rb +63 -0
  718. data/spec/models/k8sassets_pod_enrichment_entry_spec.rb +57 -0
  719. data/spec/models/k8sassets_pod_enrichment_response_spec.rb +63 -0
  720. data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +63 -0
  721. data/spec/models/k8sioms_kubernetes_iom_entity_response_spec.rb +63 -0
  722. data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +63 -0
  723. data/spec/models/model_user_input_read_response_spec.rb +63 -0
  724. data/spec/models/model_user_input_update_request_spec.rb +57 -0
  725. data/spec/models/model_user_input_view_model_spec.rb +105 -0
  726. data/spec/models/models_account_entities_input_spec.rb +51 -0
  727. data/spec/models/models_account_status_response_spec.rb +63 -0
  728. data/spec/models/models_aggregate_values_by_field_response_spec.rb +63 -0
  729. data/spec/models/models_api_assessment_detections_spec.rb +153 -0
  730. data/spec/models/models_api_combined_detections_spec.rb +117 -0
  731. data/spec/models/models_api_container_alert_spec.rb +93 -0
  732. data/spec/models/models_api_customer_and_image_spec.rb +147 -0
  733. data/spec/models/models_api_detection_count_by_type_spec.rb +57 -0
  734. data/spec/models/models_api_detection_count_spec.rb +51 -0
  735. data/spec/models/models_api_drift_indicators_spec.rb +195 -0
  736. data/spec/models/{models_scan_results_spec.rb → models_api_filter_label_spec.rb} +8 -8
  737. data/spec/models/models_api_filter_response_spec.rb +57 -0
  738. data/spec/models/models_api_image_assessment_history_spec.rb +57 -0
  739. data/spec/models/models_api_image_assessment_spec.rb +81 -0
  740. data/spec/models/models_api_image_by_vulnerability_count_spec.rb +75 -0
  741. data/spec/models/models_api_image_combined_export_spec.rb +165 -0
  742. data/spec/models/models_api_image_count_spec.rb +51 -0
  743. data/spec/models/models_api_image_issues_summary_spec.rb +99 -0
  744. data/spec/models/models_api_image_vulnerabilities_summary_spec.rb +99 -0
  745. data/spec/models/models_api_kubernetes_iom_spec.rb +339 -0
  746. data/spec/models/models_api_package_combined_spec.rb +93 -0
  747. data/spec/models/models_api_package_vulnerability_spec.rb +69 -0
  748. data/spec/models/models_api_packages_by_vuln_count_spec.rb +81 -0
  749. data/spec/models/models_api_policy_count_by_action_spec.rb +57 -0
  750. data/spec/models/{domain_msa_meta_info_spec.rb → models_api_policy_data_spec.rb} +8 -8
  751. data/spec/models/{models_job_meta_data_spec.rb → models_api_policy_entity_spec.rb} +14 -14
  752. data/spec/models/models_api_policy_exclusion_spec.rb +81 -0
  753. data/spec/models/models_api_policy_group_data_spec.rb +51 -0
  754. data/spec/models/models_api_policy_group_spec.rb +87 -0
  755. data/spec/models/models_api_policy_rule_spec.rb +57 -0
  756. data/spec/models/models_api_policy_rules_data_spec.rb +51 -0
  757. data/spec/models/models_api_precedence_request_spec.rb +51 -0
  758. data/spec/models/models_api_runtime_detection_spec.rb +369 -0
  759. data/spec/models/models_api_unidentified_container_spec.rb +171 -0
  760. data/spec/models/models_api_vuln_by_image_count_spec.rb +69 -0
  761. data/spec/models/models_api_vuln_by_publication_date_spec.rb +81 -0
  762. data/spec/models/models_api_vuln_count_by_severity_spec.rb +57 -0
  763. data/spec/models/models_api_vuln_count_spec.rb +51 -0
  764. data/spec/models/models_api_vulnerability_combined_spec.rb +123 -0
  765. data/spec/models/models_api_vulnerability_details_spec.rb +105 -0
  766. data/spec/models/models_api_vulnerability_info_spec.rb +111 -0
  767. data/spec/models/models_cluster_entity_response_spec.rb +63 -0
  768. data/spec/models/models_cluster_spec.rb +177 -0
  769. data/spec/models/models_container_coverage_response_entity_spec.rb +63 -0
  770. data/spec/models/models_container_coverage_spec.rb +57 -0
  771. data/spec/models/models_container_entity_response_spec.rb +63 -0
  772. data/spec/models/models_container_image_spec.rb +141 -0
  773. data/spec/models/models_container_information_spec.rb +57 -0
  774. data/spec/models/models_container_runtime_pivot_response_spec.rb +63 -0
  775. data/spec/models/models_container_runtime_pivot_spec.rb +99 -0
  776. data/spec/models/models_container_spec.rb +429 -0
  777. data/spec/models/models_create_image_group_request_spec.rb +69 -0
  778. data/spec/models/models_create_policy_request_spec.rb +57 -0
  779. data/spec/models/models_definition_create_request_v2_spec.rb +63 -0
  780. data/spec/models/models_definition_update_request_v2_spec.rb +75 -0
  781. data/spec/models/models_deployment_entity_response_spec.rb +63 -0
  782. data/spec/models/models_deployment_spec.rb +99 -0
  783. data/spec/models/models_exclusion_condition_request_spec.rb +69 -0
  784. data/spec/models/models_exclusion_condition_spec.rb +87 -0
  785. data/spec/models/models_image_information_spec.rb +63 -0
  786. data/spec/models/models_image_summary_packages_info_spec.rb +57 -0
  787. data/spec/models/models_issues_summary_container_info_spec.rb +63 -0
  788. data/spec/models/models_light_weight_config_spec.rb +93 -0
  789. data/spec/models/{public_get_changes_response_spec.rb → models_node_entity_response_spec.rb} +6 -6
  790. data/spec/models/models_node_spec.rb +255 -0
  791. data/spec/models/models_package_name_version_type_spec.rb +75 -0
  792. data/spec/models/models_patch_image_group_request_spec.rb +63 -0
  793. data/spec/models/models_patch_policy_request_spec.rb +69 -0
  794. data/spec/models/models_pod_entity_response_spec.rb +63 -0
  795. data/spec/models/models_pod_spec.rb +297 -0
  796. data/spec/models/models_policy_entity_response_spec.rb +63 -0
  797. data/spec/models/models_policy_exclusion_entity_response_spec.rb +63 -0
  798. data/spec/models/models_policy_group_entity_response_spec.rb +63 -0
  799. data/spec/models/models_request_api_policy_data_spec.rb +51 -0
  800. data/spec/models/models_snapshot_account_status_spec.rb +93 -0
  801. data/spec/models/models_update_exclusions_request_spec.rb +51 -0
  802. data/spec/models/msa_aggregation_result_spec.rb +6 -0
  803. data/spec/models/packages_api_combined_package_export_spec.rb +63 -0
  804. data/spec/models/packages_api_combined_package_spec.rb +63 -0
  805. data/spec/models/packages_api_packages_by_vuln_count_spec.rb +63 -0
  806. data/spec/models/parameter_activity_config_parameter_value_spec.rb +63 -0
  807. data/spec/models/parameter_activity_config_provision_parameter_spec.rb +57 -0
  808. data/spec/models/parameter_activity_provision_parameters_spec.rb +57 -0
  809. data/spec/models/parameter_activity_selection_parameter_spec.rb +63 -0
  810. data/spec/models/parameter_condition_field_parameter_spec.rb +75 -0
  811. data/spec/models/parameter_condition_field_provision_parameter_spec.rb +63 -0
  812. data/spec/models/parameter_condition_provision_parameter_spec.rb +57 -0
  813. data/spec/models/parameter_template_provision_parameters_spec.rb +63 -0
  814. data/spec/models/parameter_trigger_field_parameter_spec.rb +63 -0
  815. data/spec/models/parameter_trigger_parameter_spec.rb +57 -0
  816. data/spec/models/parameter_trigger_provision_parameter_spec.rb +57 -0
  817. data/spec/models/policies_assigned_host_group_spec.rb +57 -0
  818. data/spec/models/policies_assigned_rule_group_spec.rb +57 -0
  819. data/spec/models/policies_create_request_spec.rb +63 -0
  820. data/spec/models/policies_delete_response_spec.rb +63 -0
  821. data/spec/models/policies_policy_spec.rb +117 -0
  822. data/spec/models/policies_precedence_response_spec.rb +63 -0
  823. data/spec/models/policies_response_spec.rb +63 -0
  824. data/spec/models/policies_update_request_spec.rb +69 -0
  825. data/spec/models/quarantine_quarantined_file_spec.rb +6 -0
  826. data/spec/models/registration_aws_account_patch_spec.rb +6 -0
  827. data/spec/models/registration_azure_account_patch_request_spec.rb +51 -0
  828. data/spec/models/{models_snapshot_inventory_payload_spec.rb → registration_azure_account_patch_spec.rb} +8 -8
  829. data/spec/models/registration_azure_account_v1_ext_spec.rb +18 -0
  830. data/spec/models/registration_azure_management_group_create_request_external_v1_spec.rb +51 -0
  831. data/spec/models/registration_azure_management_group_external_v1_spec.rb +57 -0
  832. data/spec/models/registration_azure_management_group_response_v1_spec.rb +63 -0
  833. data/spec/models/registration_azure_management_group_v1_ext_spec.rb +165 -0
  834. data/spec/models/registration_gcp_account_ext_request_v2_spec.rb +51 -0
  835. data/spec/models/registration_gcp_account_patch_request_spec.rb +51 -0
  836. data/spec/models/registration_gcp_account_patch_spec.rb +57 -0
  837. data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +93 -0
  838. data/spec/models/registration_gcp_account_response_ext_v2_spec.rb +63 -0
  839. data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +81 -0
  840. data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +69 -0
  841. data/spec/models/registration_gcp_service_account_response_ext_v1_spec.rb +63 -0
  842. data/spec/models/registration_iom_event_id_response_meta_spec.rb +69 -0
  843. data/spec/models/registration_iom_event_v2_spec.rb +6 -0
  844. data/spec/models/registration_next_token_pagination_spec.rb +69 -0
  845. data/spec/models/rulegroups_assigned_rule_spec.rb +57 -0
  846. data/spec/models/rulegroups_create_request_spec.rb +63 -0
  847. data/spec/models/rulegroups_delete_response_spec.rb +63 -0
  848. data/spec/models/rulegroups_policy_assignment_spec.rb +57 -0
  849. data/spec/models/rulegroups_response_spec.rb +63 -0
  850. data/spec/models/{domain_notification_details_v1_spec.rb → rulegroups_rule_group_spec.rb} +16 -16
  851. data/spec/models/rulegroups_rule_spec.rb +255 -0
  852. data/spec/models/rulegroups_rules_response_spec.rb +63 -0
  853. data/spec/models/rulegroups_update_request_spec.rb +63 -0
  854. data/spec/models/runtimedetections_detections_entity_response_spec.rb +63 -0
  855. data/spec/models/{sadomain_submit_for_blocking_info_spec.rb → sadomain_submission_information_spec.rb} +6 -6
  856. data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
  857. data/spec/models/scheduledexclusions_create_request_spec.rb +99 -0
  858. data/spec/models/scheduledexclusions_repeated_spec.rb +87 -0
  859. data/spec/models/scheduledexclusions_response_spec.rb +63 -0
  860. data/spec/models/scheduledexclusions_scheduled_exclusion_spec.rb +117 -0
  861. data/spec/models/scheduledexclusions_update_request_spec.rb +105 -0
  862. data/spec/models/sv_exclusions_create_req_v1_spec.rb +6 -0
  863. data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +6 -0
  864. data/spec/models/sv_exclusions_update_req_v1_spec.rb +6 -0
  865. data/spec/models/unidentifiedcontainers_unidentified_container_api_response_spec.rb +63 -0
  866. data/spec/models/unidentifiedcontainers_unidentified_containers_count_value_spec.rb +63 -0
  867. data/spec/models/v2_activity_parameters_spec.rb +51 -0
  868. data/spec/models/v2_activity_properties_spec.rb +51 -0
  869. data/spec/models/v2_activity_spec.rb +63 -0
  870. data/spec/models/v2_condition_parameters_spec.rb +51 -0
  871. data/spec/models/v2_condition_spec.rb +75 -0
  872. data/spec/models/v2_definition_spec.rb +123 -0
  873. data/spec/models/v2_for_loop_spec.rb +57 -0
  874. data/spec/models/v2_loop_spec.rb +75 -0
  875. data/spec/models/v2_parameters_spec.rb +69 -0
  876. data/spec/models/v2_trigger_spec.rb +75 -0
  877. data/spec/models/vulnerabilities_api_combined_vulnerability_details_spec.rb +63 -0
  878. data/spec/models/vulnerabilities_api_combined_vulnerability_info_spec.rb +63 -0
  879. data/spec/models/vulnerabilities_api_combined_vulnerability_spec.rb +63 -0
  880. data/spec/models/vulnerabilities_api_vuln_by_image_count_spec.rb +63 -0
  881. data/spec/models/vulnerabilities_api_vuln_by_publication_spec.rb +63 -0
  882. data/spec/models/vulnerabilities_api_vuln_count_by_actively_exploited_spec.rb +63 -0
  883. data/spec/models/vulnerabilities_api_vuln_count_by_csp_rating_spec.rb +63 -0
  884. data/spec/models/vulnerabilities_api_vuln_count_by_cvss_score_spec.rb +63 -0
  885. data/spec/models/vulnerabilities_api_vuln_count_by_severity_spec.rb +63 -0
  886. data/spec/models/vulnerabilities_api_vuln_count_spec.rb +63 -0
  887. metadata +1935 -948
@@ -1014,7 +1014,7 @@ module Falcon
1014
1014
 
1015
1015
  # Finds all rule IDs matching the query with optional filter.
1016
1016
  # @param [Hash] opts the optional parameters
1017
- # @option opts [String] :sort Possible order by fields: {rules.created_on, rules.current_version.name, rules.current_version.modified_by, rules.ruletype_name, rules.created_by, rules.current_version.description, rules.current_version.pattern_severity, rules.current_version.action_label, rules.current_version.modified_on, rules.enabled}
1017
+ # @option opts [String] :sort Possible order by fields: {rules.current_version.description, rules.current_version.action_label, rules.current_version.modified_on, rules.created_on, rules.current_version.name, rules.created_by, rules.current_version.pattern_severity, rules.current_version.modified_by, rules.ruletype_name, rules.enabled}
1018
1018
  # @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: [enabled platform name description rules.action_label rules.name rules.description rules.pattern_severity rules.ruletype_name rules.enabled]. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
1019
1019
  # @option opts [String] :q Match query criteria, which includes all the filter string fields
1020
1020
  # @option opts [String] :offset Starting index of overall result set from which to return IDs
@@ -1027,7 +1027,7 @@ module Falcon
1027
1027
 
1028
1028
  # Finds all rule IDs matching the query with optional filter.
1029
1029
  # @param [Hash] opts the optional parameters
1030
- # @option opts [String] :sort Possible order by fields: {rules.created_on, rules.current_version.name, rules.current_version.modified_by, rules.ruletype_name, rules.created_by, rules.current_version.description, rules.current_version.pattern_severity, rules.current_version.action_label, rules.current_version.modified_on, rules.enabled}
1030
+ # @option opts [String] :sort Possible order by fields: {rules.current_version.description, rules.current_version.action_label, rules.current_version.modified_on, rules.created_on, rules.current_version.name, rules.created_by, rules.current_version.pattern_severity, rules.current_version.modified_by, rules.ruletype_name, rules.enabled}
1031
1031
  # @option opts [String] :filter FQL query specifying the filter parameters. Filter term criteria: [enabled platform name description rules.action_label rules.name rules.description rules.pattern_severity rules.ruletype_name rules.enabled]. Filter range criteria: created_on, modified_on; use any common date format, such as '2010-05-15T14:55:21.892315096Z'.
1032
1032
  # @option opts [String] :q Match query criteria, which includes all the filter string fields
1033
1033
  # @option opts [String] :offset Starting index of overall result set from which to return IDs
@@ -0,0 +1,590 @@
1
+ =begin
2
+ Crimson Falcon - Ruby Client SDK
3
+
4
+ Code auto-generated by OpenAPI Generator; DO NOT EDIT.
5
+
6
+ MIT License
7
+
8
+ Copyright (c) 2023 Crowdstrike
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ =end
29
+
30
+ require 'cgi'
31
+
32
+ module Falcon
33
+ class CustomStorageApi
34
+ attr_accessor :api_client
35
+
36
+ def initialize(api_client = ApiClient.default)
37
+ @api_client = api_client
38
+ end
39
+ # Delete the specified object
40
+ # @param collection_name [String] The name of the collection
41
+ # @param object_key [String] The object key
42
+ # @param [Hash] opts the optional parameters
43
+ # @option opts [Boolean] :dry_run If false, run the operation as normal. If true, validate that the request *would* succeed, but don't execute it.
44
+ # @return [CustomType3191042536]
45
+ def delete_object(collection_name, object_key, opts = {})
46
+ data, _status_code, _headers = delete_object_with_http_info(collection_name, object_key, opts)
47
+ data
48
+ end
49
+
50
+ # Delete the specified object
51
+ # @param collection_name [String] The name of the collection
52
+ # @param object_key [String] The object key
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [Boolean] :dry_run If false, run the operation as normal. If true, validate that the request *would* succeed, but don't execute it.
55
+ # @return [Array<(CustomType3191042536, Integer, Hash)>] CustomType3191042536 data, response status code and response headers
56
+ def delete_object_with_http_info(collection_name, object_key, opts = {})
57
+ if @api_client.config.debugging
58
+ @api_client.config.logger.debug 'Calling API: CustomStorageApi.delete_object ...'
59
+ end
60
+ # verify the required parameter 'collection_name' is set
61
+ if @api_client.config.client_side_validation && collection_name.nil?
62
+ fail ArgumentError, "Missing the required parameter 'collection_name' when calling CustomStorageApi.delete_object"
63
+ end
64
+ if @api_client.config.client_side_validation && collection_name.to_s.length > 255
65
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.delete_object, the character length must be smaller than or equal to 255.'
66
+ end
67
+
68
+ if @api_client.config.client_side_validation && collection_name.to_s.length < 1
69
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.delete_object, the character length must be great than or equal to 1.'
70
+ end
71
+
72
+ # verify the required parameter 'object_key' is set
73
+ if @api_client.config.client_side_validation && object_key.nil?
74
+ fail ArgumentError, "Missing the required parameter 'object_key' when calling CustomStorageApi.delete_object"
75
+ end
76
+ if @api_client.config.client_side_validation && object_key.to_s.length > 1000
77
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.delete_object, the character length must be smaller than or equal to 1000.'
78
+ end
79
+
80
+ if @api_client.config.client_side_validation && object_key.to_s.length < 1
81
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.delete_object, the character length must be great than or equal to 1.'
82
+ end
83
+
84
+ # resource path
85
+ local_var_path = '/customobjects/v1/collections/{collection_name}/objects/{object_key}'.sub('{' + 'collection_name' + '}', CGI.escape(collection_name.to_s)).sub('{' + 'object_key' + '}', CGI.escape(object_key.to_s))
86
+
87
+ # query parameters
88
+ query_params = opts[:query_params] || {}
89
+ query_params[:'dry_run'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
90
+
91
+ # header parameters
92
+ header_params = opts[:header_params] || {}
93
+ # HTTP header 'Accept' (if needed)
94
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
95
+
96
+ # form parameters
97
+ form_params = opts[:form_params] || {}
98
+
99
+ # http body (model)
100
+ post_body = opts[:debug_body]
101
+
102
+ # return_type
103
+ return_type = opts[:debug_return_type] || 'CustomType3191042536'
104
+
105
+ # auth_names
106
+ auth_names = opts[:debug_auth_names] || ['oauth2']
107
+
108
+ new_options = opts.merge(
109
+ :operation => :"CustomStorageApi.delete_object",
110
+ :header_params => header_params,
111
+ :query_params => query_params,
112
+ :form_params => form_params,
113
+ :body => post_body,
114
+ :auth_names => auth_names,
115
+ :return_type => return_type
116
+ )
117
+
118
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
119
+ if @api_client.config.debugging
120
+ @api_client.config.logger.debug "API called: CustomStorageApi#delete_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
+ end
122
+ return data, status_code, headers
123
+ end
124
+
125
+ # Get the bytes for the specified object
126
+ # @param collection_name [String] The name of the collection
127
+ # @param object_key [String] The object key
128
+ # @param [Hash] opts the optional parameters
129
+ # @return [File]
130
+ def get_object(collection_name, object_key, opts = {})
131
+ data, _status_code, _headers = get_object_with_http_info(collection_name, object_key, opts)
132
+ data
133
+ end
134
+
135
+ # Get the bytes for the specified object
136
+ # @param collection_name [String] The name of the collection
137
+ # @param object_key [String] The object key
138
+ # @param [Hash] opts the optional parameters
139
+ # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
140
+ def get_object_with_http_info(collection_name, object_key, opts = {})
141
+ if @api_client.config.debugging
142
+ @api_client.config.logger.debug 'Calling API: CustomStorageApi.get_object ...'
143
+ end
144
+ # verify the required parameter 'collection_name' is set
145
+ if @api_client.config.client_side_validation && collection_name.nil?
146
+ fail ArgumentError, "Missing the required parameter 'collection_name' when calling CustomStorageApi.get_object"
147
+ end
148
+ if @api_client.config.client_side_validation && collection_name.to_s.length > 255
149
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.get_object, the character length must be smaller than or equal to 255.'
150
+ end
151
+
152
+ if @api_client.config.client_side_validation && collection_name.to_s.length < 1
153
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.get_object, the character length must be great than or equal to 1.'
154
+ end
155
+
156
+ # verify the required parameter 'object_key' is set
157
+ if @api_client.config.client_side_validation && object_key.nil?
158
+ fail ArgumentError, "Missing the required parameter 'object_key' when calling CustomStorageApi.get_object"
159
+ end
160
+ if @api_client.config.client_side_validation && object_key.to_s.length > 1000
161
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.get_object, the character length must be smaller than or equal to 1000.'
162
+ end
163
+
164
+ if @api_client.config.client_side_validation && object_key.to_s.length < 1
165
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.get_object, the character length must be great than or equal to 1.'
166
+ end
167
+
168
+ # resource path
169
+ local_var_path = '/customobjects/v1/collections/{collection_name}/objects/{object_key}'.sub('{' + 'collection_name' + '}', CGI.escape(collection_name.to_s)).sub('{' + 'object_key' + '}', CGI.escape(object_key.to_s))
170
+
171
+ # query parameters
172
+ query_params = opts[:query_params] || {}
173
+
174
+ # header parameters
175
+ header_params = opts[:header_params] || {}
176
+ # HTTP header 'Accept' (if needed)
177
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream', 'application/json'])
178
+
179
+ # form parameters
180
+ form_params = opts[:form_params] || {}
181
+
182
+ # http body (model)
183
+ post_body = opts[:debug_body]
184
+
185
+ # return_type
186
+ return_type = opts[:debug_return_type] || 'File'
187
+
188
+ # auth_names
189
+ auth_names = opts[:debug_auth_names] || ['oauth2']
190
+
191
+ new_options = opts.merge(
192
+ :operation => :"CustomStorageApi.get_object",
193
+ :header_params => header_params,
194
+ :query_params => query_params,
195
+ :form_params => form_params,
196
+ :body => post_body,
197
+ :auth_names => auth_names,
198
+ :return_type => return_type
199
+ )
200
+
201
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
202
+ if @api_client.config.debugging
203
+ @api_client.config.logger.debug "API called: CustomStorageApi#get_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
204
+ end
205
+ return data, status_code, headers
206
+ end
207
+
208
+ # Get the metadata for the specified object
209
+ # @param collection_name [String] The name of the collection
210
+ # @param object_key [String] The object key
211
+ # @param [Hash] opts the optional parameters
212
+ # @return [CustomType3191042536]
213
+ def get_object_metadata(collection_name, object_key, opts = {})
214
+ data, _status_code, _headers = get_object_metadata_with_http_info(collection_name, object_key, opts)
215
+ data
216
+ end
217
+
218
+ # Get the metadata for the specified object
219
+ # @param collection_name [String] The name of the collection
220
+ # @param object_key [String] The object key
221
+ # @param [Hash] opts the optional parameters
222
+ # @return [Array<(CustomType3191042536, Integer, Hash)>] CustomType3191042536 data, response status code and response headers
223
+ def get_object_metadata_with_http_info(collection_name, object_key, opts = {})
224
+ if @api_client.config.debugging
225
+ @api_client.config.logger.debug 'Calling API: CustomStorageApi.get_object_metadata ...'
226
+ end
227
+ # verify the required parameter 'collection_name' is set
228
+ if @api_client.config.client_side_validation && collection_name.nil?
229
+ fail ArgumentError, "Missing the required parameter 'collection_name' when calling CustomStorageApi.get_object_metadata"
230
+ end
231
+ if @api_client.config.client_side_validation && collection_name.to_s.length > 255
232
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.get_object_metadata, the character length must be smaller than or equal to 255.'
233
+ end
234
+
235
+ if @api_client.config.client_side_validation && collection_name.to_s.length < 1
236
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.get_object_metadata, the character length must be great than or equal to 1.'
237
+ end
238
+
239
+ # verify the required parameter 'object_key' is set
240
+ if @api_client.config.client_side_validation && object_key.nil?
241
+ fail ArgumentError, "Missing the required parameter 'object_key' when calling CustomStorageApi.get_object_metadata"
242
+ end
243
+ if @api_client.config.client_side_validation && object_key.to_s.length > 1000
244
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.get_object_metadata, the character length must be smaller than or equal to 1000.'
245
+ end
246
+
247
+ if @api_client.config.client_side_validation && object_key.to_s.length < 1
248
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.get_object_metadata, the character length must be great than or equal to 1.'
249
+ end
250
+
251
+ # resource path
252
+ local_var_path = '/customobjects/v1/collections/{collection_name}/objects/{object_key}/metadata'.sub('{' + 'collection_name' + '}', CGI.escape(collection_name.to_s)).sub('{' + 'object_key' + '}', CGI.escape(object_key.to_s))
253
+
254
+ # query parameters
255
+ query_params = opts[:query_params] || {}
256
+
257
+ # header parameters
258
+ header_params = opts[:header_params] || {}
259
+ # HTTP header 'Accept' (if needed)
260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
261
+
262
+ # form parameters
263
+ form_params = opts[:form_params] || {}
264
+
265
+ # http body (model)
266
+ post_body = opts[:debug_body]
267
+
268
+ # return_type
269
+ return_type = opts[:debug_return_type] || 'CustomType3191042536'
270
+
271
+ # auth_names
272
+ auth_names = opts[:debug_auth_names] || ['oauth2']
273
+
274
+ new_options = opts.merge(
275
+ :operation => :"CustomStorageApi.get_object_metadata",
276
+ :header_params => header_params,
277
+ :query_params => query_params,
278
+ :form_params => form_params,
279
+ :body => post_body,
280
+ :auth_names => auth_names,
281
+ :return_type => return_type
282
+ )
283
+
284
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
285
+ if @api_client.config.debugging
286
+ @api_client.config.logger.debug "API called: CustomStorageApi#get_object_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
287
+ end
288
+ return data, status_code, headers
289
+ end
290
+
291
+ # List the object keys in the specified collection in alphabetical order
292
+ # @param collection_name [String] The name of the collection
293
+ # @param [Hash] opts the optional parameters
294
+ # @option opts [String] :_end The end key to end listing to
295
+ # @option opts [Integer] :limit The limit of results to return
296
+ # @option opts [String] :start The start key to start listing from
297
+ # @return [CustomType1255839303]
298
+ def list_objects(collection_name, opts = {})
299
+ data, _status_code, _headers = list_objects_with_http_info(collection_name, opts)
300
+ data
301
+ end
302
+
303
+ # List the object keys in the specified collection in alphabetical order
304
+ # @param collection_name [String] The name of the collection
305
+ # @param [Hash] opts the optional parameters
306
+ # @option opts [String] :_end The end key to end listing to
307
+ # @option opts [Integer] :limit The limit of results to return
308
+ # @option opts [String] :start The start key to start listing from
309
+ # @return [Array<(CustomType1255839303, Integer, Hash)>] CustomType1255839303 data, response status code and response headers
310
+ def list_objects_with_http_info(collection_name, opts = {})
311
+ if @api_client.config.debugging
312
+ @api_client.config.logger.debug 'Calling API: CustomStorageApi.list_objects ...'
313
+ end
314
+ # verify the required parameter 'collection_name' is set
315
+ if @api_client.config.client_side_validation && collection_name.nil?
316
+ fail ArgumentError, "Missing the required parameter 'collection_name' when calling CustomStorageApi.list_objects"
317
+ end
318
+ if @api_client.config.client_side_validation && collection_name.to_s.length > 255
319
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.list_objects, the character length must be smaller than or equal to 255.'
320
+ end
321
+
322
+ if @api_client.config.client_side_validation && collection_name.to_s.length < 1
323
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.list_objects, the character length must be great than or equal to 1.'
324
+ end
325
+
326
+ if @api_client.config.client_side_validation && !opts[:'_end'].nil? && opts[:'_end'].to_s.length > 1000
327
+ fail ArgumentError, 'invalid value for "opts[:"_end"]" when calling CustomStorageApi.list_objects, the character length must be smaller than or equal to 1000.'
328
+ end
329
+
330
+ if @api_client.config.client_side_validation && !opts[:'_end'].nil? && opts[:'_end'].to_s.length < 1
331
+ fail ArgumentError, 'invalid value for "opts[:"_end"]" when calling CustomStorageApi.list_objects, the character length must be great than or equal to 1.'
332
+ end
333
+
334
+ if @api_client.config.client_side_validation && !opts[:'start'].nil? && opts[:'start'].to_s.length > 1000
335
+ fail ArgumentError, 'invalid value for "opts[:"start"]" when calling CustomStorageApi.list_objects, the character length must be smaller than or equal to 1000.'
336
+ end
337
+
338
+ if @api_client.config.client_side_validation && !opts[:'start'].nil? && opts[:'start'].to_s.length < 1
339
+ fail ArgumentError, 'invalid value for "opts[:"start"]" when calling CustomStorageApi.list_objects, the character length must be great than or equal to 1.'
340
+ end
341
+
342
+ # resource path
343
+ local_var_path = '/customobjects/v1/collections/{collection_name}/objects'.sub('{' + 'collection_name' + '}', CGI.escape(collection_name.to_s))
344
+
345
+ # query parameters
346
+ query_params = opts[:query_params] || {}
347
+ query_params[:'end'] = opts[:'_end'] if !opts[:'_end'].nil?
348
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
349
+ query_params[:'start'] = opts[:'start'] if !opts[:'start'].nil?
350
+
351
+ # header parameters
352
+ header_params = opts[:header_params] || {}
353
+ # HTTP header 'Accept' (if needed)
354
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
355
+
356
+ # form parameters
357
+ form_params = opts[:form_params] || {}
358
+
359
+ # http body (model)
360
+ post_body = opts[:debug_body]
361
+
362
+ # return_type
363
+ return_type = opts[:debug_return_type] || 'CustomType1255839303'
364
+
365
+ # auth_names
366
+ auth_names = opts[:debug_auth_names] || ['oauth2']
367
+
368
+ new_options = opts.merge(
369
+ :operation => :"CustomStorageApi.list_objects",
370
+ :header_params => header_params,
371
+ :query_params => query_params,
372
+ :form_params => form_params,
373
+ :body => post_body,
374
+ :auth_names => auth_names,
375
+ :return_type => return_type
376
+ )
377
+
378
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
379
+ if @api_client.config.debugging
380
+ @api_client.config.logger.debug "API called: CustomStorageApi#list_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
381
+ end
382
+ return data, status_code, headers
383
+ end
384
+
385
+ # Put the specified new object at the given key or overwrite an existing object at the given key
386
+ # @param collection_name [String] The name of the collection
387
+ # @param object_key [String] The object key
388
+ # @param body [File]
389
+ # @param [Hash] opts the optional parameters
390
+ # @option opts [Boolean] :dry_run If false, run the operation as normal. If true, validate that the request *would* succeed, but don&#39;t execute it.
391
+ # @option opts [String] :schema_version The version of the collection schema
392
+ # @return [CustomType3191042536]
393
+ def put_object(collection_name, object_key, body, opts = {})
394
+ data, _status_code, _headers = put_object_with_http_info(collection_name, object_key, body, opts)
395
+ data
396
+ end
397
+
398
+ # Put the specified new object at the given key or overwrite an existing object at the given key
399
+ # @param collection_name [String] The name of the collection
400
+ # @param object_key [String] The object key
401
+ # @param body [File]
402
+ # @param [Hash] opts the optional parameters
403
+ # @option opts [Boolean] :dry_run If false, run the operation as normal. If true, validate that the request *would* succeed, but don&#39;t execute it.
404
+ # @option opts [String] :schema_version The version of the collection schema
405
+ # @return [Array<(CustomType3191042536, Integer, Hash)>] CustomType3191042536 data, response status code and response headers
406
+ def put_object_with_http_info(collection_name, object_key, body, opts = {})
407
+ if @api_client.config.debugging
408
+ @api_client.config.logger.debug 'Calling API: CustomStorageApi.put_object ...'
409
+ end
410
+ # verify the required parameter 'collection_name' is set
411
+ if @api_client.config.client_side_validation && collection_name.nil?
412
+ fail ArgumentError, "Missing the required parameter 'collection_name' when calling CustomStorageApi.put_object"
413
+ end
414
+ if @api_client.config.client_side_validation && collection_name.to_s.length > 255
415
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.put_object, the character length must be smaller than or equal to 255.'
416
+ end
417
+
418
+ if @api_client.config.client_side_validation && collection_name.to_s.length < 1
419
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.put_object, the character length must be great than or equal to 1.'
420
+ end
421
+
422
+ # verify the required parameter 'object_key' is set
423
+ if @api_client.config.client_side_validation && object_key.nil?
424
+ fail ArgumentError, "Missing the required parameter 'object_key' when calling CustomStorageApi.put_object"
425
+ end
426
+ if @api_client.config.client_side_validation && object_key.to_s.length > 1000
427
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.put_object, the character length must be smaller than or equal to 1000.'
428
+ end
429
+
430
+ if @api_client.config.client_side_validation && object_key.to_s.length < 1
431
+ fail ArgumentError, 'invalid value for "object_key" when calling CustomStorageApi.put_object, the character length must be great than or equal to 1.'
432
+ end
433
+
434
+ # verify the required parameter 'body' is set
435
+ if @api_client.config.client_side_validation && body.nil?
436
+ fail ArgumentError, "Missing the required parameter 'body' when calling CustomStorageApi.put_object"
437
+ end
438
+ if @api_client.config.client_side_validation && !opts[:'schema_version'].nil? && opts[:'schema_version'].to_s.length < 1
439
+ fail ArgumentError, 'invalid value for "opts[:"schema_version"]" when calling CustomStorageApi.put_object, the character length must be great than or equal to 1.'
440
+ end
441
+
442
+ # resource path
443
+ local_var_path = '/customobjects/v1/collections/{collection_name}/objects/{object_key}'.sub('{' + 'collection_name' + '}', CGI.escape(collection_name.to_s)).sub('{' + 'object_key' + '}', CGI.escape(object_key.to_s))
444
+
445
+ # query parameters
446
+ query_params = opts[:query_params] || {}
447
+ query_params[:'dry_run'] = opts[:'dry_run'] if !opts[:'dry_run'].nil?
448
+ query_params[:'schema_version'] = opts[:'schema_version'] if !opts[:'schema_version'].nil?
449
+
450
+ # header parameters
451
+ header_params = opts[:header_params] || {}
452
+ # HTTP header 'Accept' (if needed)
453
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
454
+ # HTTP header 'Content-Type'
455
+ content_type = @api_client.select_header_content_type(['application/octet-stream', 'application/json'])
456
+ if !content_type.nil?
457
+ header_params['Content-Type'] = content_type
458
+ end
459
+
460
+ # form parameters
461
+ form_params = opts[:form_params] || {}
462
+
463
+ # http body (model)
464
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
465
+
466
+ # return_type
467
+ return_type = opts[:debug_return_type] || 'CustomType3191042536'
468
+
469
+ # auth_names
470
+ auth_names = opts[:debug_auth_names] || ['oauth2']
471
+
472
+ new_options = opts.merge(
473
+ :operation => :"CustomStorageApi.put_object",
474
+ :header_params => header_params,
475
+ :query_params => query_params,
476
+ :form_params => form_params,
477
+ :body => post_body,
478
+ :auth_names => auth_names,
479
+ :return_type => return_type
480
+ )
481
+
482
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
483
+ if @api_client.config.debugging
484
+ @api_client.config.logger.debug "API called: CustomStorageApi#put_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
485
+ end
486
+ return data, status_code, headers
487
+ end
488
+
489
+ # Search for objects that match the specified filter criteria (returns metadata, not actual objects)
490
+ # @param collection_name [String] The name of the collection
491
+ # @param filter [String] The filter to limit the returned results.
492
+ # @param [Hash] opts the optional parameters
493
+ # @option opts [Integer] :limit The limit of results to return
494
+ # @option opts [Integer] :offset The offset of results to return
495
+ # @option opts [String] :sort The sort order for the returned results.
496
+ # @return [CustomType3191042536]
497
+ def search_objects(collection_name, filter, opts = {})
498
+ data, _status_code, _headers = search_objects_with_http_info(collection_name, filter, opts)
499
+ data
500
+ end
501
+
502
+ # Search for objects that match the specified filter criteria (returns metadata, not actual objects)
503
+ # @param collection_name [String] The name of the collection
504
+ # @param filter [String] The filter to limit the returned results.
505
+ # @param [Hash] opts the optional parameters
506
+ # @option opts [Integer] :limit The limit of results to return
507
+ # @option opts [Integer] :offset The offset of results to return
508
+ # @option opts [String] :sort The sort order for the returned results.
509
+ # @return [Array<(CustomType3191042536, Integer, Hash)>] CustomType3191042536 data, response status code and response headers
510
+ def search_objects_with_http_info(collection_name, filter, opts = {})
511
+ if @api_client.config.debugging
512
+ @api_client.config.logger.debug 'Calling API: CustomStorageApi.search_objects ...'
513
+ end
514
+ # verify the required parameter 'collection_name' is set
515
+ if @api_client.config.client_side_validation && collection_name.nil?
516
+ fail ArgumentError, "Missing the required parameter 'collection_name' when calling CustomStorageApi.search_objects"
517
+ end
518
+ if @api_client.config.client_side_validation && collection_name.to_s.length > 255
519
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.search_objects, the character length must be smaller than or equal to 255.'
520
+ end
521
+
522
+ if @api_client.config.client_side_validation && collection_name.to_s.length < 1
523
+ fail ArgumentError, 'invalid value for "collection_name" when calling CustomStorageApi.search_objects, the character length must be great than or equal to 1.'
524
+ end
525
+
526
+ # verify the required parameter 'filter' is set
527
+ if @api_client.config.client_side_validation && filter.nil?
528
+ fail ArgumentError, "Missing the required parameter 'filter' when calling CustomStorageApi.search_objects"
529
+ end
530
+ if @api_client.config.client_side_validation && filter.to_s.length > 255
531
+ fail ArgumentError, 'invalid value for "filter" when calling CustomStorageApi.search_objects, the character length must be smaller than or equal to 255.'
532
+ end
533
+
534
+ if @api_client.config.client_side_validation && filter.to_s.length < 1
535
+ fail ArgumentError, 'invalid value for "filter" when calling CustomStorageApi.search_objects, the character length must be great than or equal to 1.'
536
+ end
537
+
538
+ if @api_client.config.client_side_validation && !opts[:'sort'].nil? && opts[:'sort'].to_s.length > 255
539
+ fail ArgumentError, 'invalid value for "opts[:"sort"]" when calling CustomStorageApi.search_objects, the character length must be smaller than or equal to 255.'
540
+ end
541
+
542
+ if @api_client.config.client_side_validation && !opts[:'sort'].nil? && opts[:'sort'].to_s.length < 1
543
+ fail ArgumentError, 'invalid value for "opts[:"sort"]" when calling CustomStorageApi.search_objects, the character length must be great than or equal to 1.'
544
+ end
545
+
546
+ # resource path
547
+ local_var_path = '/customobjects/v1/collections/{collection_name}/objects'.sub('{' + 'collection_name' + '}', CGI.escape(collection_name.to_s))
548
+
549
+ # query parameters
550
+ query_params = opts[:query_params] || {}
551
+ query_params[:'filter'] = filter
552
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
553
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
554
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
555
+
556
+ # header parameters
557
+ header_params = opts[:header_params] || {}
558
+ # HTTP header 'Accept' (if needed)
559
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
560
+
561
+ # form parameters
562
+ form_params = opts[:form_params] || {}
563
+
564
+ # http body (model)
565
+ post_body = opts[:debug_body]
566
+
567
+ # return_type
568
+ return_type = opts[:debug_return_type] || 'CustomType3191042536'
569
+
570
+ # auth_names
571
+ auth_names = opts[:debug_auth_names] || ['oauth2']
572
+
573
+ new_options = opts.merge(
574
+ :operation => :"CustomStorageApi.search_objects",
575
+ :header_params => header_params,
576
+ :query_params => query_params,
577
+ :form_params => form_params,
578
+ :body => post_body,
579
+ :auth_names => auth_names,
580
+ :return_type => return_type
581
+ )
582
+
583
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
584
+ if @api_client.config.debugging
585
+ @api_client.config.logger.debug "API called: CustomStorageApi#search_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
586
+ end
587
+ return data, status_code, headers
588
+ end
589
+ end
590
+ end