crimson-falcon 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1813) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +24 -0
  3. data/README.md +4409 -0
  4. data/Rakefile +10 -0
  5. data/crimson-falcon.gemspec +60 -0
  6. data/lib/crimson-falcon/api/alerts_api.rb +320 -0
  7. data/lib/crimson-falcon/api/cloud_connect_aws_api.rb +628 -0
  8. data/lib/crimson-falcon/api/cspm_registration_api.rb +1848 -0
  9. data/lib/crimson-falcon/api/custom_ioa_api.rb +1292 -0
  10. data/lib/crimson-falcon/api/d4c_registration_api.rb +1233 -0
  11. data/lib/crimson-falcon/api/detects_api.rb +320 -0
  12. data/lib/crimson-falcon/api/device_control_policies_api.rb +895 -0
  13. data/lib/crimson-falcon/api/discover_api.rb +936 -0
  14. data/lib/crimson-falcon/api/discover_iot_api.rb +185 -0
  15. data/lib/crimson-falcon/api/event_schema_api.rb +224 -0
  16. data/lib/crimson-falcon/api/event_streams_api.rb +184 -0
  17. data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +977 -0
  18. data/lib/crimson-falcon/api/falcon_container_api.rb +99 -0
  19. data/lib/crimson-falcon/api/falcon_container_cli_api.rb +110 -0
  20. data/lib/crimson-falcon/api/falcon_container_image_api.rb +371 -0
  21. data/lib/crimson-falcon/api/falconx_sandbox_api.rb +1037 -0
  22. data/lib/crimson-falcon/api/field_schema_api.rb +169 -0
  23. data/lib/crimson-falcon/api/filevantage_api.rb +181 -0
  24. data/lib/crimson-falcon/api/firewall_management_api.rb +2264 -0
  25. data/lib/crimson-falcon/api/firewall_policies_api.rb +785 -0
  26. data/lib/crimson-falcon/api/host_group_api.rb +711 -0
  27. data/lib/crimson-falcon/api/hosts_api.rb +860 -0
  28. data/lib/crimson-falcon/api/identity_protection_api.rb +106 -0
  29. data/lib/crimson-falcon/api/incidents_api.rb +461 -0
  30. data/lib/crimson-falcon/api/installation_tokens_api.rb +550 -0
  31. data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +110 -0
  32. data/lib/crimson-falcon/api/intel_api.rb +1365 -0
  33. data/lib/crimson-falcon/api/ioa_exclusions_api.rb +374 -0
  34. data/lib/crimson-falcon/api/ioc_api.rb +911 -0
  35. data/lib/crimson-falcon/api/iocs_api.rb +332 -0
  36. data/lib/crimson-falcon/api/kubernetes_protection_api.rb +1395 -0
  37. data/lib/crimson-falcon/api/malquery_api.rb +611 -0
  38. data/lib/crimson-falcon/api/message_center_api.rb +734 -0
  39. data/lib/crimson-falcon/api/ml_exclusions_api.rb +374 -0
  40. data/lib/crimson-falcon/api/mobile_enrollment_api.rb +120 -0
  41. data/lib/crimson-falcon/api/mssp_api.rb +1954 -0
  42. data/lib/crimson-falcon/api/oauth2_api.rb +191 -0
  43. data/lib/crimson-falcon/api/ods_api.rb +1037 -0
  44. data/lib/crimson-falcon/api/overwatch_dashboard_api.rb +362 -0
  45. data/lib/crimson-falcon/api/prevention_policies_api.rb +774 -0
  46. data/lib/crimson-falcon/api/public_assessments_api.rb +126 -0
  47. data/lib/crimson-falcon/api/quarantine_api.rb +440 -0
  48. data/lib/crimson-falcon/api/quick_scan_api.rb +305 -0
  49. data/lib/crimson-falcon/api/real_time_response_admin_api.rb +1029 -0
  50. data/lib/crimson-falcon/api/real_time_response_api.rb +1622 -0
  51. data/lib/crimson-falcon/api/recon_api.rb +1759 -0
  52. data/lib/crimson-falcon/api/report_executions_api.rb +304 -0
  53. data/lib/crimson-falcon/api/response_policies_api.rb +774 -0
  54. data/lib/crimson-falcon/api/sample_uploads_api.rb +810 -0
  55. data/lib/crimson-falcon/api/scheduled_reports_api.rb +242 -0
  56. data/lib/crimson-falcon/api/sensor_download_api.rb +357 -0
  57. data/lib/crimson-falcon/api/sensor_update_policies_api.rb +1344 -0
  58. data/lib/crimson-falcon/api/sensor_visibility_exclusions_api.rb +374 -0
  59. data/lib/crimson-falcon/api/spotlight_evaluation_logic_api.rb +248 -0
  60. data/lib/crimson-falcon/api/spotlight_vulnerabilities_api.rb +329 -0
  61. data/lib/crimson-falcon/api/tailored_intelligence_api.rb +378 -0
  62. data/lib/crimson-falcon/api/user_management_api.rb +1510 -0
  63. data/lib/crimson-falcon/api/zero_trust_assessment_api.rb +232 -0
  64. data/lib/crimson-falcon/api_client.rb +546 -0
  65. data/lib/crimson-falcon/api_error.rb +80 -0
  66. data/lib/crimson-falcon/cloud.rb +64 -0
  67. data/lib/crimson-falcon/configuration.rb +191 -0
  68. data/lib/crimson-falcon/models/api_action_resp_v1.rb +276 -0
  69. data/lib/crimson-falcon/models/api_action_v1.rb +276 -0
  70. data/lib/crimson-falcon/models/api_aggregates_response.rb +271 -0
  71. data/lib/crimson-falcon/models/api_audit_event_details_resource_v1.rb +314 -0
  72. data/lib/crimson-falcon/models/api_audit_event_details_response_v1.rb +276 -0
  73. data/lib/crimson-falcon/models/api_bulk_update_req_v1.rb +353 -0
  74. data/lib/crimson-falcon/models/api_cred_payload.rb +258 -0
  75. data/lib/crimson-falcon/models/api_customer_settings_patch_request_v1.rb +251 -0
  76. data/lib/crimson-falcon/models/api_customer_settings_resource_v1.rb +253 -0
  77. data/lib/crimson-falcon/models/api_customer_settings_response_v1.rb +276 -0
  78. data/lib/crimson-falcon/models/api_exposed_data_file_details_v1.rb +287 -0
  79. data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +259 -0
  80. data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +284 -0
  81. data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +311 -0
  82. data/lib/crimson-falcon/models/api_image_lookup_request.rb +271 -0
  83. data/lib/crimson-falcon/models/api_indicator_create_req_v1.rb +358 -0
  84. data/lib/crimson-falcon/models/api_indicator_create_reqs_v1.rb +255 -0
  85. data/lib/crimson-falcon/models/api_indicator_query_resp_v1.rb +276 -0
  86. data/lib/crimson-falcon/models/api_indicator_resp_v1.rb +276 -0
  87. data/lib/crimson-falcon/models/api_indicator_update_req_v1.rb +344 -0
  88. data/lib/crimson-falcon/models/api_indicator_update_reqs_v1.rb +269 -0
  89. data/lib/crimson-falcon/models/api_indicator_v1.rb +434 -0
  90. data/lib/crimson-falcon/models/api_indicators_query_meta.rb +276 -0
  91. data/lib/crimson-falcon/models/api_indicators_query_paging.rb +276 -0
  92. data/lib/crimson-falcon/models/api_indicators_report_request.rb +267 -0
  93. data/lib/crimson-falcon/models/api_indicators_sorted_search.rb +272 -0
  94. data/lib/crimson-falcon/models/api_message_center_activity_response.rb +276 -0
  95. data/lib/crimson-falcon/models/api_message_center_attachment_upload_response.rb +276 -0
  96. data/lib/crimson-falcon/models/api_message_center_cases_response.rb +276 -0
  97. data/lib/crimson-falcon/models/api_metadata_req_v1.rb +239 -0
  98. data/lib/crimson-falcon/models/api_metadata_v1.rb +311 -0
  99. data/lib/crimson-falcon/models/api_notification_exposed_data_record_entities_response_v1.rb +276 -0
  100. data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +632 -0
  101. data/lib/crimson-falcon/models/api_pattern_v1.rb +258 -0
  102. data/lib/crimson-falcon/models/api_patterns_response.rb +271 -0
  103. data/lib/crimson-falcon/models/api_platforms_response.rb +271 -0
  104. data/lib/crimson-falcon/models/api_post_enrollment_details.rb +260 -0
  105. data/lib/crimson-falcon/models/api_post_enrollment_details_response.rb +271 -0
  106. data/lib/crimson-falcon/models/api_rule_create_v1.rb +344 -0
  107. data/lib/crimson-falcon/models/api_rule_details_v1.rb +286 -0
  108. data/lib/crimson-falcon/models/api_rule_group_create_request_v1.rb +286 -0
  109. data/lib/crimson-falcon/models/api_rule_group_modify_request_v1.rb +314 -0
  110. data/lib/crimson-falcon/models/api_rule_group_v1.rb +458 -0
  111. data/lib/crimson-falcon/models/api_rule_groups_response.rb +271 -0
  112. data/lib/crimson-falcon/models/api_rule_type_v1.rb +346 -0
  113. data/lib/crimson-falcon/models/api_rule_types_response.rb +271 -0
  114. data/lib/crimson-falcon/models/api_rule_update_v1.rb +344 -0
  115. data/lib/crimson-falcon/models/api_rule_updates_request_v1.rb +288 -0
  116. data/lib/crimson-falcon/models/api_rule_v1.rb +556 -0
  117. data/lib/crimson-falcon/models/api_rules_get_request_v1.rb +246 -0
  118. data/lib/crimson-falcon/models/api_rules_response.rb +271 -0
  119. data/lib/crimson-falcon/models/api_token_create_request_v1.rb +260 -0
  120. data/lib/crimson-falcon/models/api_token_details_resource_v1.rb +356 -0
  121. data/lib/crimson-falcon/models/api_token_details_response_v1.rb +276 -0
  122. data/lib/crimson-falcon/models/api_token_patch_request_v1.rb +260 -0
  123. data/lib/crimson-falcon/models/api_user_metadata_response.rb +276 -0
  124. data/lib/crimson-falcon/models/api_user_role_ids_response.rb +276 -0
  125. data/lib/crimson-falcon/models/api_user_role_response.rb +276 -0
  126. data/lib/crimson-falcon/models/api_validation_request_field_v1.rb +288 -0
  127. data/lib/crimson-falcon/models/api_validation_request_v1.rb +246 -0
  128. data/lib/crimson-falcon/models/api_validation_response_v1.rb +271 -0
  129. data/lib/crimson-falcon/models/base_policy_members_resp_v1.rb +278 -0
  130. data/lib/crimson-falcon/models/base_set_policy_precedence_req_v1.rb +297 -0
  131. data/lib/crimson-falcon/models/binservapi_msa_put_file_response.rb +271 -0
  132. data/lib/crimson-falcon/models/client_archive_create_response_v1.rb +276 -0
  133. data/lib/crimson-falcon/models/client_archive_list_files_response_v1.rb +276 -0
  134. data/lib/crimson-falcon/models/client_archive_with_files_v1.rb +329 -0
  135. data/lib/crimson-falcon/models/client_extraction_create_request_v1.rb +259 -0
  136. data/lib/crimson-falcon/models/client_extraction_create_response_v1.rb +276 -0
  137. data/lib/crimson-falcon/models/client_extraction_file_parameters_v1.rb +257 -0
  138. data/lib/crimson-falcon/models/client_extraction_file_result_v1.rb +290 -0
  139. data/lib/crimson-falcon/models/client_extraction_list_files_response_v1.rb +276 -0
  140. data/lib/crimson-falcon/models/client_extraction_with_files_v1.rb +287 -0
  141. data/lib/crimson-falcon/models/client_query_samples_request.rb +241 -0
  142. data/lib/crimson-falcon/models/client_sample_metadata_response_v2.rb +276 -0
  143. data/lib/crimson-falcon/models/client_sample_metadata_v2.rb +253 -0
  144. data/lib/crimson-falcon/models/common_cid_audit_result.rb +288 -0
  145. data/lib/crimson-falcon/models/common_os_audit.rb +288 -0
  146. data/lib/crimson-falcon/models/core_entities_response.rb +274 -0
  147. data/lib/crimson-falcon/models/detection_aggregate_indicator.rb +297 -0
  148. data/lib/crimson-falcon/models/detection_aggregate_threat_intel.rb +239 -0
  149. data/lib/crimson-falcon/models/detection_enrichment.rb +250 -0
  150. data/lib/crimson-falcon/models/detection_enrichment_host.rb +293 -0
  151. data/lib/crimson-falcon/models/detection_host_network.rb +257 -0
  152. data/lib/crimson-falcon/models/detection_inventory_enrichment.rb +261 -0
  153. data/lib/crimson-falcon/models/detects_alert.rb +563 -0
  154. data/lib/crimson-falcon/models/detects_behavior.rb +686 -0
  155. data/lib/crimson-falcon/models/detects_device_detail_indexed.rb +664 -0
  156. data/lib/crimson-falcon/models/detects_host_info.rb +255 -0
  157. data/lib/crimson-falcon/models/detects_parent_details.rb +286 -0
  158. data/lib/crimson-falcon/models/detects_quarantined_file.rb +266 -0
  159. data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v2_request.rb +257 -0
  160. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +246 -0
  161. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +271 -0
  162. data/lib/crimson-falcon/models/device_control_create_policies_v1.rb +248 -0
  163. data/lib/crimson-falcon/models/device_control_create_policy_req_v1.rb +323 -0
  164. data/lib/crimson-falcon/models/device_control_exception_req_v1.rb +342 -0
  165. data/lib/crimson-falcon/models/device_control_exception_resp_v1.rb +371 -0
  166. data/lib/crimson-falcon/models/device_control_policy_v1.rb +445 -0
  167. data/lib/crimson-falcon/models/device_control_req_update_default_dc_policy_v1.rb +239 -0
  168. data/lib/crimson-falcon/models/device_control_resp_v1.rb +277 -0
  169. data/lib/crimson-falcon/models/device_control_resp_v2.rb +277 -0
  170. data/lib/crimson-falcon/models/device_control_settings_req_v1.rb +359 -0
  171. data/lib/crimson-falcon/models/device_control_settings_resp_v1.rb +347 -0
  172. data/lib/crimson-falcon/models/device_control_update_policies_req_v1.rb +248 -0
  173. data/lib/crimson-falcon/models/device_control_update_policy_req_v1.rb +280 -0
  174. data/lib/crimson-falcon/models/device_control_usb_class_exceptions_req_v1.rb +311 -0
  175. data/lib/crimson-falcon/models/device_control_usb_class_exceptions_response.rb +311 -0
  176. data/lib/crimson-falcon/models/device_control_usb_custom_notification.rb +260 -0
  177. data/lib/crimson-falcon/models/device_control_usb_custom_notifications.rb +248 -0
  178. data/lib/crimson-falcon/models/device_device.rb +1028 -0
  179. data/lib/crimson-falcon/models/device_device_meta.rb +248 -0
  180. data/lib/crimson-falcon/models/device_device_policy.rb +332 -0
  181. data/lib/crimson-falcon/models/device_managed_app.rb +244 -0
  182. data/lib/crimson-falcon/models/device_managed_apps.rb +284 -0
  183. data/lib/crimson-falcon/models/device_mapped_device_policies.rb +401 -0
  184. data/lib/crimson-falcon/models/deviceapi_device_details_response_swagger.rb +276 -0
  185. data/lib/crimson-falcon/models/deviceapi_device_paging.rb +276 -0
  186. data/lib/crimson-falcon/models/deviceapi_device_response.rb +276 -0
  187. data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +1001 -0
  188. data/lib/crimson-falcon/models/deviceapi_group_meta.rb +248 -0
  189. data/lib/crimson-falcon/models/deviceapi_group_response_v1.rb +374 -0
  190. data/lib/crimson-falcon/models/deviceapi_groups_response_v1.rb +276 -0
  191. data/lib/crimson-falcon/models/deviceapi_login_detail_v1.rb +274 -0
  192. data/lib/crimson-falcon/models/deviceapi_login_history_response_v1.rb +276 -0
  193. data/lib/crimson-falcon/models/deviceapi_login_info_v1.rb +248 -0
  194. data/lib/crimson-falcon/models/deviceapi_network_address_history_response_v1.rb +276 -0
  195. data/lib/crimson-falcon/models/deviceapi_network_address_history_v1.rb +274 -0
  196. data/lib/crimson-falcon/models/deviceapi_network_address_v1.rb +257 -0
  197. data/lib/crimson-falcon/models/deviceapi_request_meta.rb +276 -0
  198. data/lib/crimson-falcon/models/deviceapi_update_device_details_response_v1.rb +276 -0
  199. data/lib/crimson-falcon/models/deviceapi_update_device_tags_request_v1.rb +276 -0
  200. data/lib/crimson-falcon/models/deviceapi_update_device_tags_swagger_v1.rb +271 -0
  201. data/lib/crimson-falcon/models/domain_access_token_response_v1.rb +293 -0
  202. data/lib/crimson-falcon/models/domain_account_access_result.rb +267 -0
  203. data/lib/crimson-falcon/models/domain_action_entities_response_v1.rb +276 -0
  204. data/lib/crimson-falcon/models/domain_action_parameter.rb +295 -0
  205. data/lib/crimson-falcon/models/domain_action_user_roles_request.rb +268 -0
  206. data/lib/crimson-falcon/models/domain_action_v1.rb +412 -0
  207. data/lib/crimson-falcon/models/domain_activity_creation_request.rb +286 -0
  208. data/lib/crimson-falcon/models/domain_actor_document.rb +629 -0
  209. data/lib/crimson-falcon/models/domain_actors_response.rb +276 -0
  210. data/lib/crimson-falcon/models/domain_aggregates_response.rb +276 -0
  211. data/lib/crimson-falcon/models/domain_api_combined_findings_response_v1.rb +271 -0
  212. data/lib/crimson-falcon/models/domain_api_detection_document.rb +525 -0
  213. data/lib/crimson-falcon/models/domain_api_error.rb +269 -0
  214. data/lib/crimson-falcon/models/domain_api_evaluation_logic_comparisons_v1.rb +260 -0
  215. data/lib/crimson-falcon/models/domain_api_evaluation_logic_entity_comparison_v1.rb +286 -0
  216. data/lib/crimson-falcon/models/domain_api_evaluation_logic_item_v1.rb +332 -0
  217. data/lib/crimson-falcon/models/domain_api_evaluation_logic_state_comparison_v1.rb +260 -0
  218. data/lib/crimson-falcon/models/domain_api_evaluation_logic_v1.rb +300 -0
  219. data/lib/crimson-falcon/models/domain_api_finding_facet_v1.rb +323 -0
  220. data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +359 -0
  221. data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +275 -0
  222. data/lib/crimson-falcon/models/domain_api_host_group.rb +253 -0
  223. data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +406 -0
  224. data/lib/crimson-falcon/models/domain_api_mitre_attack_tactic_v1.rb +264 -0
  225. data/lib/crimson-falcon/models/domain_api_mitre_mitigation_v1.rb +253 -0
  226. data/lib/crimson-falcon/models/domain_api_mitre_technique_v1.rb +264 -0
  227. data/lib/crimson-falcon/models/domain_api_query_meta_v1.rb +276 -0
  228. data/lib/crimson-falcon/models/domain_api_query_paging_v1.rb +272 -0
  229. data/lib/crimson-falcon/models/domain_api_remediation_ids.rb +241 -0
  230. data/lib/crimson-falcon/models/domain_api_remediation_v2.rb +314 -0
  231. data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +244 -0
  232. data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +394 -0
  233. data/lib/crimson-falcon/models/domain_api_vulnerability_cvecisa_info.rb +253 -0
  234. data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +271 -0
  235. data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +442 -0
  236. data/lib/crimson-falcon/models/domain_api_vulnerability_remediation_facet_v2.rb +252 -0
  237. data/lib/crimson-falcon/models/domain_api_vulnerability_suppression_info_v2.rb +253 -0
  238. data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +379 -0
  239. data/lib/crimson-falcon/models/domain_assessment.rb +286 -0
  240. data/lib/crimson-falcon/models/domain_assessment_items.rb +262 -0
  241. data/lib/crimson-falcon/models/domain_assessment_paging.rb +276 -0
  242. data/lib/crimson-falcon/models/domain_assessments_by_score_response.rb +276 -0
  243. data/lib/crimson-falcon/models/domain_assessments_response.rb +276 -0
  244. data/lib/crimson-falcon/models/domain_audit_response.rb +276 -0
  245. data/lib/crimson-falcon/models/domain_aws_account_v2.rb +605 -0
  246. data/lib/crimson-falcon/models/domain_aws_configuration.rb +270 -0
  247. data/lib/crimson-falcon/models/domain_awsd4_c_account_v1.rb +290 -0
  248. data/lib/crimson-falcon/models/domain_awsd4_c_organization_account_v1.rb +269 -0
  249. data/lib/crimson-falcon/models/domain_azure_client_service_principal_v1.rb +367 -0
  250. data/lib/crimson-falcon/models/domain_azure_resource_permission.rb +280 -0
  251. data/lib/crimson-falcon/models/domain_azure_role_assignment.rb +271 -0
  252. data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +379 -0
  253. data/lib/crimson-falcon/models/domain_batch_execute_command_request.rb +302 -0
  254. data/lib/crimson-falcon/models/domain_batch_get_cmd_status_response.rb +276 -0
  255. data/lib/crimson-falcon/models/domain_batch_get_command_request.rb +274 -0
  256. data/lib/crimson-falcon/models/domain_batch_get_command_response.rb +288 -0
  257. data/lib/crimson-falcon/models/domain_batch_init_session_request.rb +274 -0
  258. data/lib/crimson-falcon/models/domain_batch_init_session_response.rb +290 -0
  259. data/lib/crimson-falcon/models/domain_batch_refresh_session_request.rb +260 -0
  260. data/lib/crimson-falcon/models/domain_batch_refresh_session_response.rb +276 -0
  261. data/lib/crimson-falcon/models/domain_behavior.rb +492 -0
  262. data/lib/crimson-falcon/models/domain_benchmark.rb +272 -0
  263. data/lib/crimson-falcon/models/domain_botnet_config_source.rb +356 -0
  264. data/lib/crimson-falcon/models/domain_botnet_inject.rb +260 -0
  265. data/lib/crimson-falcon/models/domain_breach_details_v1.rb +247 -0
  266. data/lib/crimson-falcon/models/domain_breached_item_v1.rb +452 -0
  267. data/lib/crimson-falcon/models/domain_case_creation_request.rb +318 -0
  268. data/lib/crimson-falcon/models/domain_case_creation_request_v2.rb +313 -0
  269. data/lib/crimson-falcon/models/domain_child_link.rb +310 -0
  270. data/lib/crimson-falcon/models/domain_children_response_v1.rb +260 -0
  271. data/lib/crimson-falcon/models/domain_cid_group.rb +276 -0
  272. data/lib/crimson-falcon/models/domain_cid_group_members.rb +260 -0
  273. data/lib/crimson-falcon/models/domain_cid_group_members_request_v1.rb +246 -0
  274. data/lib/crimson-falcon/models/domain_cid_group_members_response_v1.rb +276 -0
  275. data/lib/crimson-falcon/models/domain_cid_groups_request_v1.rb +246 -0
  276. data/lib/crimson-falcon/models/domain_cid_groups_response_v1.rb +276 -0
  277. data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +463 -0
  278. data/lib/crimson-falcon/models/domain_command_execute_request.rb +314 -0
  279. data/lib/crimson-falcon/models/domain_command_execute_response.rb +272 -0
  280. data/lib/crimson-falcon/models/domain_command_execute_response_wrapper.rb +276 -0
  281. data/lib/crimson-falcon/models/domain_condition.rb +290 -0
  282. data/lib/crimson-falcon/models/domain_create_action_request.rb +307 -0
  283. data/lib/crimson-falcon/models/domain_create_user_request.rb +275 -0
  284. data/lib/crimson-falcon/models/domain_credentials.rb +244 -0
  285. data/lib/crimson-falcon/models/domain_csix_label.rb +272 -0
  286. data/lib/crimson-falcon/models/domain_csix_relation.rb +295 -0
  287. data/lib/crimson-falcon/models/domain_ddos_attack_source.rb +428 -0
  288. data/lib/crimson-falcon/models/domain_ddos_target_details.rb +381 -0
  289. data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +276 -0
  290. data/lib/crimson-falcon/models/domain_detects_entities_patch_request.rb +288 -0
  291. data/lib/crimson-falcon/models/domain_device.rb +552 -0
  292. data/lib/crimson-falcon/models/domain_discover_api_account.rb +441 -0
  293. data/lib/crimson-falcon/models/domain_discover_api_account_entities_response.rb +271 -0
  294. data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +255 -0
  295. data/lib/crimson-falcon/models/domain_discover_api_active_discovery_network.rb +246 -0
  296. data/lib/crimson-falcon/models/domain_discover_api_application.rb +476 -0
  297. data/lib/crimson-falcon/models/domain_discover_api_application_entities_response.rb +271 -0
  298. data/lib/crimson-falcon/models/domain_discover_api_application_host.rb +430 -0
  299. data/lib/crimson-falcon/models/domain_discover_api_bios_hashes_data.rb +250 -0
  300. data/lib/crimson-falcon/models/domain_discover_api_device_slot.rb +320 -0
  301. data/lib/crimson-falcon/models/domain_discover_api_disk_size.rb +250 -0
  302. data/lib/crimson-falcon/models/domain_discover_api_field_metadata.rb +243 -0
  303. data/lib/crimson-falcon/models/domain_discover_api_host.rb +1358 -0
  304. data/lib/crimson-falcon/models/domain_discover_api_host_entities_response.rb +271 -0
  305. data/lib/crimson-falcon/models/domain_discover_api_host_triage.rb +290 -0
  306. data/lib/crimson-falcon/models/domain_discover_api_login.rb +471 -0
  307. data/lib/crimson-falcon/models/domain_discover_api_login_entities_response.rb +271 -0
  308. data/lib/crimson-falcon/models/domain_discover_api_mount_storage_info.rb +260 -0
  309. data/lib/crimson-falcon/models/domain_discover_api_network_interface.rb +281 -0
  310. data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +1141 -0
  311. data/lib/crimson-falcon/models/domain_discover_apiio_t_host_entities_response.rb +271 -0
  312. data/lib/crimson-falcon/models/domain_discover_apios_security.rb +330 -0
  313. data/lib/crimson-falcon/models/domain_discover_params.rb +258 -0
  314. data/lib/crimson-falcon/models/domain_disposition.rb +258 -0
  315. data/lib/crimson-falcon/models/domain_e_crime_kill_chain.rb +410 -0
  316. data/lib/crimson-falcon/models/domain_entities_patch_request.rb +259 -0
  317. data/lib/crimson-falcon/models/domain_entity.rb +271 -0
  318. data/lib/crimson-falcon/models/domain_entity_action_request.rb +260 -0
  319. data/lib/crimson-falcon/models/domain_environment_score.rb +295 -0
  320. data/lib/crimson-falcon/models/domain_errors_only.rb +260 -0
  321. data/lib/crimson-falcon/models/domain_event.rb +405 -0
  322. data/lib/crimson-falcon/models/domain_event_entities_response.rb +271 -0
  323. data/lib/crimson-falcon/models/domain_event_histogram.rb +314 -0
  324. data/lib/crimson-falcon/models/domain_execution_metadata_summary.rb +286 -0
  325. data/lib/crimson-falcon/models/domain_execution_metadata_v1.rb +328 -0
  326. data/lib/crimson-falcon/models/domain_export_job_entities_response_v1.rb +276 -0
  327. data/lib/crimson-falcon/models/domain_export_job_id_response_v1.rb +276 -0
  328. data/lib/crimson-falcon/models/domain_export_job_metadata_v1.rb +286 -0
  329. data/lib/crimson-falcon/models/domain_export_job_v1.rb +258 -0
  330. data/lib/crimson-falcon/models/domain_exposed_data_record_financial_v1.rb +274 -0
  331. data/lib/crimson-falcon/models/domain_exposed_data_record_location_v1.rb +314 -0
  332. data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +342 -0
  333. data/lib/crimson-falcon/models/domain_external_api_registry.rb +407 -0
  334. data/lib/crimson-falcon/models/domain_external_credential_response.rb +314 -0
  335. data/lib/crimson-falcon/models/domain_external_query_response.rb +266 -0
  336. data/lib/crimson-falcon/models/domain_external_registry_list_response.rb +266 -0
  337. data/lib/crimson-falcon/models/domain_external_registry_response.rb +264 -0
  338. data/lib/crimson-falcon/models/domain_field.rb +288 -0
  339. data/lib/crimson-falcon/models/domain_field_validation.rb +313 -0
  340. data/lib/crimson-falcon/models/domain_field_value.rb +306 -0
  341. data/lib/crimson-falcon/models/domain_file.rb +258 -0
  342. data/lib/crimson-falcon/models/domain_file_count.rb +275 -0
  343. data/lib/crimson-falcon/models/domain_file_details_v1.rb +287 -0
  344. data/lib/crimson-falcon/models/domain_file_v2.rb +426 -0
  345. data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +463 -0
  346. data/lib/crimson-falcon/models/domain_image.rb +262 -0
  347. data/lib/crimson-falcon/models/domain_incident.rb +551 -0
  348. data/lib/crimson-falcon/models/domain_init_request.rb +272 -0
  349. data/lib/crimson-falcon/models/domain_init_response.rb +322 -0
  350. data/lib/crimson-falcon/models/domain_init_response_wrapper.rb +276 -0
  351. data/lib/crimson-falcon/models/domain_key_value_pair.rb +258 -0
  352. data/lib/crimson-falcon/models/domain_kill_chain.rb +374 -0
  353. data/lib/crimson-falcon/models/domain_last_scheduled_execution.rb +276 -0
  354. data/lib/crimson-falcon/models/domain_last_unscheduled_execution.rb +286 -0
  355. data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +300 -0
  356. data/lib/crimson-falcon/models/domain_launch_export_job_response_v1.rb +276 -0
  357. data/lib/crimson-falcon/models/domain_list_files_response_wrapper.rb +276 -0
  358. data/lib/crimson-falcon/models/domain_list_files_v2_response_wrapper.rb +276 -0
  359. data/lib/crimson-falcon/models/domain_list_sessions_response_msa.rb +276 -0
  360. data/lib/crimson-falcon/models/domain_malicious_file.rb +343 -0
  361. data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +381 -0
  362. data/lib/crimson-falcon/models/domain_matched_rule.rb +260 -0
  363. data/lib/crimson-falcon/models/domain_meta_info.rb +276 -0
  364. data/lib/crimson-falcon/models/domain_msa_detect_summaries_response.rb +276 -0
  365. data/lib/crimson-falcon/models/domain_msa_environment_score_response.rb +276 -0
  366. data/lib/crimson-falcon/models/domain_msa_external_behavior_response.rb +276 -0
  367. data/lib/crimson-falcon/models/domain_msa_external_incident_response.rb +276 -0
  368. data/lib/crimson-falcon/models/domain_msa_incident_perform_action_response.rb +276 -0
  369. data/lib/crimson-falcon/models/domain_msa_incident_query_response.rb +276 -0
  370. data/lib/crimson-falcon/models/domain_msa_qf_response.rb +276 -0
  371. data/lib/crimson-falcon/models/domain_mssp_role_request_v1.rb +246 -0
  372. data/lib/crimson-falcon/models/domain_mssp_role_response_v1.rb +276 -0
  373. data/lib/crimson-falcon/models/domain_mssp_roles.rb +288 -0
  374. data/lib/crimson-falcon/models/domain_multi_command_execute_response.rb +246 -0
  375. data/lib/crimson-falcon/models/domain_multi_command_execute_response_wrapper.rb +274 -0
  376. data/lib/crimson-falcon/models/domain_multi_pulse_sensor_response.rb +274 -0
  377. data/lib/crimson-falcon/models/domain_multi_status_sensor_response.rb +371 -0
  378. data/lib/crimson-falcon/models/domain_news_document.rb +506 -0
  379. data/lib/crimson-falcon/models/domain_news_response.rb +276 -0
  380. data/lib/crimson-falcon/models/domain_notification_config.rb +302 -0
  381. data/lib/crimson-falcon/models/domain_notification_details_response_v1.rb +276 -0
  382. data/lib/crimson-falcon/models/domain_notification_details_v1.rb +352 -0
  383. data/lib/crimson-falcon/models/domain_notification_entities_response_v1.rb +276 -0
  384. data/lib/crimson-falcon/models/domain_notification_id_response.rb +276 -0
  385. data/lib/crimson-falcon/models/domain_notification_v1.rb +534 -0
  386. data/lib/crimson-falcon/models/domain_notifications.rb +269 -0
  387. data/lib/crimson-falcon/models/domain_pastebin_text_source.rb +299 -0
  388. data/lib/crimson-falcon/models/domain_permission.rb +258 -0
  389. data/lib/crimson-falcon/models/domain_platform.rb +258 -0
  390. data/lib/crimson-falcon/models/domain_policy_info.rb +716 -0
  391. data/lib/crimson-falcon/models/domain_policy_setting_by_account_and_region.rb +296 -0
  392. data/lib/crimson-falcon/models/domain_public_indicator_v3.rb +518 -0
  393. data/lib/crimson-falcon/models/domain_public_indicators_v3_response.rb +276 -0
  394. data/lib/crimson-falcon/models/domain_queries_patch_request.rb +266 -0
  395. data/lib/crimson-falcon/models/domain_query_response.rb +276 -0
  396. data/lib/crimson-falcon/models/domain_queued_session_command.rb +337 -0
  397. data/lib/crimson-falcon/models/domain_queued_session_job.rb +358 -0
  398. data/lib/crimson-falcon/models/domain_queued_session_response_wrapper.rb +276 -0
  399. data/lib/crimson-falcon/models/domain_quota.rb +258 -0
  400. data/lib/crimson-falcon/models/domain_recon_api_error.rb +287 -0
  401. data/lib/crimson-falcon/models/domain_recon_api_error_detail.rb +272 -0
  402. data/lib/crimson-falcon/models/domain_register_actions_request.rb +260 -0
  403. data/lib/crimson-falcon/models/domain_registry_credentials_response.rb +276 -0
  404. data/lib/crimson-falcon/models/domain_report_execution_launch_request_v1.rb +244 -0
  405. data/lib/crimson-falcon/models/domain_report_execution_retry_request_v1.rb +244 -0
  406. data/lib/crimson-falcon/models/domain_report_execution_summary_v1.rb +332 -0
  407. data/lib/crimson-falcon/models/domain_report_execution_v1.rb +477 -0
  408. data/lib/crimson-falcon/models/domain_report_executions_response_v1.rb +276 -0
  409. data/lib/crimson-falcon/models/domain_report_metadata.rb +313 -0
  410. data/lib/crimson-falcon/models/domain_report_params.rb +339 -0
  411. data/lib/crimson-falcon/models/domain_result_metadata.rb +398 -0
  412. data/lib/crimson-falcon/models/domain_role.rb +295 -0
  413. data/lib/crimson-falcon/models/domain_role_ids.rb +246 -0
  414. data/lib/crimson-falcon/models/domain_rule.rb +352 -0
  415. data/lib/crimson-falcon/models/domain_rule_entities_response.rb +271 -0
  416. data/lib/crimson-falcon/models/domain_rule_meta_info.rb +297 -0
  417. data/lib/crimson-falcon/models/domain_rule_preview_request.rb +258 -0
  418. data/lib/crimson-falcon/models/domain_rule_query_response_v1.rb +278 -0
  419. data/lib/crimson-falcon/models/domain_rule_quota.rb +275 -0
  420. data/lib/crimson-falcon/models/domain_rules_entities_response_v1.rb +278 -0
  421. data/lib/crimson-falcon/models/domain_rules_response.rb +276 -0
  422. data/lib/crimson-falcon/models/domain_scan.rb +537 -0
  423. data/lib/crimson-falcon/models/domain_scan_host_metadata.rb +352 -0
  424. data/lib/crimson-falcon/models/domain_scan_metadata.rb +325 -0
  425. data/lib/crimson-falcon/models/domain_scan_profile.rb +506 -0
  426. data/lib/crimson-falcon/models/domain_scan_profile_metadata.rb +262 -0
  427. data/lib/crimson-falcon/models/domain_scan_schedule_data_v1.rb +271 -0
  428. data/lib/crimson-falcon/models/domain_schedule.rb +272 -0
  429. data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +511 -0
  430. data/lib/crimson-falcon/models/domain_scheduled_reports_result_v1.rb +276 -0
  431. data/lib/crimson-falcon/models/domain_script_help.rb +332 -0
  432. data/lib/crimson-falcon/models/domain_search_after_meta.rb +276 -0
  433. data/lib/crimson-falcon/models/domain_search_after_paging.rb +272 -0
  434. data/lib/crimson-falcon/models/domain_sensor_installer_v1.rb +378 -0
  435. data/lib/crimson-falcon/models/domain_sensor_installers_v1.rb +276 -0
  436. data/lib/crimson-falcon/models/domain_session.rb +516 -0
  437. data/lib/crimson-falcon/models/domain_session_response_wrapper.rb +276 -0
  438. data/lib/crimson-falcon/models/domain_signal_properties.rb +356 -0
  439. data/lib/crimson-falcon/models/domain_signal_property.rb +300 -0
  440. data/lib/crimson-falcon/models/domain_simple_actor.rb +291 -0
  441. data/lib/crimson-falcon/models/domain_spapi_combined_vulnerabilities_response.rb +271 -0
  442. data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_combined_response_v1.rb +271 -0
  443. data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_entities_response_v1.rb +271 -0
  444. data/lib/crimson-falcon/models/domain_spapi_query_meta.rb +285 -0
  445. data/lib/crimson-falcon/models/domain_spapi_query_paging.rb +272 -0
  446. data/lib/crimson-falcon/models/domain_spapi_query_response.rb +271 -0
  447. data/lib/crimson-falcon/models/domain_spapi_remediation_entities_response_v2.rb +271 -0
  448. data/lib/crimson-falcon/models/domain_spapi_vulnerabilities_entities_response_v2.rb +271 -0
  449. data/lib/crimson-falcon/models/domain_status_response.rb +313 -0
  450. data/lib/crimson-falcon/models/domain_status_response_wrapper.rb +276 -0
  451. data/lib/crimson-falcon/models/domain_tweet_source.rb +299 -0
  452. data/lib/crimson-falcon/models/domain_update_action_request.rb +316 -0
  453. data/lib/crimson-falcon/models/domain_update_notification_request_v1.rb +275 -0
  454. data/lib/crimson-falcon/models/domain_update_results.rb +252 -0
  455. data/lib/crimson-falcon/models/domain_update_rule_request_v1.rb +335 -0
  456. data/lib/crimson-falcon/models/domain_update_user_fields.rb +248 -0
  457. data/lib/crimson-falcon/models/domain_update_user_request.rb +248 -0
  458. data/lib/crimson-falcon/models/domain_user.rb +293 -0
  459. data/lib/crimson-falcon/models/domain_user_action.rb +285 -0
  460. data/lib/crimson-falcon/models/domain_user_action_request.rb +262 -0
  461. data/lib/crimson-falcon/models/domain_user_create_request.rb +266 -0
  462. data/lib/crimson-falcon/models/domain_user_grants.rb +345 -0
  463. data/lib/crimson-falcon/models/domain_user_group.rb +276 -0
  464. data/lib/crimson-falcon/models/domain_user_group_members.rb +260 -0
  465. data/lib/crimson-falcon/models/domain_user_group_members_request_v1.rb +246 -0
  466. data/lib/crimson-falcon/models/domain_user_group_members_response_v1.rb +276 -0
  467. data/lib/crimson-falcon/models/domain_user_groups_request_v1.rb +246 -0
  468. data/lib/crimson-falcon/models/domain_user_groups_response_v1.rb +276 -0
  469. data/lib/crimson-falcon/models/domain_user_metadata.rb +285 -0
  470. data/lib/crimson-falcon/models/domain_user_role.rb +281 -0
  471. data/lib/crimson-falcon/models/domain_value_item.rb +258 -0
  472. data/lib/crimson-falcon/models/domain_vulnerability.rb +371 -0
  473. data/lib/crimson-falcon/models/domain_vulnerability_actor.rb +248 -0
  474. data/lib/crimson-falcon/models/domain_vulnerability_affected_product.rb +248 -0
  475. data/lib/crimson-falcon/models/domain_vulnerability_related_threat.rb +250 -0
  476. data/lib/crimson-falcon/models/domain_vulnerability_report.rb +248 -0
  477. data/lib/crimson-falcon/models/domain_vulnerability_response.rb +276 -0
  478. data/lib/crimson-falcon/models/domain_xdr_data.rb +244 -0
  479. data/lib/crimson-falcon/models/domain_xdr_params.rb +372 -0
  480. data/lib/crimson-falcon/models/domain_zero_trust_simple_assessment.rb +258 -0
  481. data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v1.rb +271 -0
  482. data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v2.rb +271 -0
  483. data/lib/crimson-falcon/models/empowerapi_remote_command_put_file_v1.rb +413 -0
  484. data/lib/crimson-falcon/models/empowerapi_remote_command_put_file_v2.rb +459 -0
  485. data/lib/crimson-falcon/models/entities_ods_cancel_scan_request.rb +246 -0
  486. data/lib/crimson-falcon/models/entities_ods_scan_host_response.rb +271 -0
  487. data/lib/crimson-falcon/models/entities_ods_scan_malicious_file_response.rb +271 -0
  488. data/lib/crimson-falcon/models/entities_ods_scan_request.rb +478 -0
  489. data/lib/crimson-falcon/models/entities_ods_scan_response.rb +271 -0
  490. data/lib/crimson-falcon/models/entities_ods_schedule_scan_request.rb +476 -0
  491. data/lib/crimson-falcon/models/entities_ods_schedule_scan_response.rb +271 -0
  492. data/lib/crimson-falcon/models/exclusions_create_req_v1.rb +270 -0
  493. data/lib/crimson-falcon/models/exclusions_exclusion_v1.rb +383 -0
  494. data/lib/crimson-falcon/models/exclusions_resp_v1.rb +277 -0
  495. data/lib/crimson-falcon/models/falconx_actor.rb +362 -0
  496. data/lib/crimson-falcon/models/falconx_actor_summary.rb +257 -0
  497. data/lib/crimson-falcon/models/falconx_amsi_call.rb +239 -0
  498. data/lib/crimson-falcon/models/falconx_associated_runtime.rb +248 -0
  499. data/lib/crimson-falcon/models/falconx_c2.rb +266 -0
  500. data/lib/crimson-falcon/models/falconx_contacted_host.rb +286 -0
  501. data/lib/crimson-falcon/models/falconx_dns_request.rb +302 -0
  502. data/lib/crimson-falcon/models/falconx_entity.rb +266 -0
  503. data/lib/crimson-falcon/models/falconx_errors_only.rb +269 -0
  504. data/lib/crimson-falcon/models/falconx_extracted_file.rb +340 -0
  505. data/lib/crimson-falcon/models/falconx_extracted_interesting_string.rb +275 -0
  506. data/lib/crimson-falcon/models/falconx_file_access.rb +257 -0
  507. data/lib/crimson-falcon/models/falconx_file_import.rb +250 -0
  508. data/lib/crimson-falcon/models/falconx_file_metadata.rb +263 -0
  509. data/lib/crimson-falcon/models/falconx_handle.rb +257 -0
  510. data/lib/crimson-falcon/models/falconx_http_request.rb +302 -0
  511. data/lib/crimson-falcon/models/falconx_incident.rb +250 -0
  512. data/lib/crimson-falcon/models/falconx_intel_report_v1.rb +263 -0
  513. data/lib/crimson-falcon/models/falconx_intel_summary_report_v1.rb +241 -0
  514. data/lib/crimson-falcon/models/falconx_intel_x_report_v1.rb +248 -0
  515. data/lib/crimson-falcon/models/falconx_malquery_error_v1.rb +248 -0
  516. data/lib/crimson-falcon/models/falconx_malquery_report_v1.rb +279 -0
  517. data/lib/crimson-falcon/models/falconx_malquery_resource.rb +302 -0
  518. data/lib/crimson-falcon/models/falconx_malware_config.rb +365 -0
  519. data/lib/crimson-falcon/models/falconx_matched_signature.rb +248 -0
  520. data/lib/crimson-falcon/models/falconx_memory_dump_data.rb +329 -0
  521. data/lib/crimson-falcon/models/falconx_memory_forensic.rb +248 -0
  522. data/lib/crimson-falcon/models/falconx_meta_info.rb +253 -0
  523. data/lib/crimson-falcon/models/falconx_mitre_attack.rb +308 -0
  524. data/lib/crimson-falcon/models/falconx_mitre_attack_parent.rb +257 -0
  525. data/lib/crimson-falcon/models/falconx_parameter.rb +275 -0
  526. data/lib/crimson-falcon/models/falconx_process.rb +390 -0
  527. data/lib/crimson-falcon/models/falconx_process_flag.rb +248 -0
  528. data/lib/crimson-falcon/models/falconx_query_response.rb +276 -0
  529. data/lib/crimson-falcon/models/falconx_quota.rb +272 -0
  530. data/lib/crimson-falcon/models/falconx_registry.rb +284 -0
  531. data/lib/crimson-falcon/models/falconx_related_indicator.rb +275 -0
  532. data/lib/crimson-falcon/models/falconx_report_v1.rb +456 -0
  533. data/lib/crimson-falcon/models/falconx_report_v1_response.rb +276 -0
  534. data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +329 -0
  535. data/lib/crimson-falcon/models/falconx_sandbox_report_v1.rb +722 -0
  536. data/lib/crimson-falcon/models/falconx_sandbox_summary_report_v1.rb +380 -0
  537. data/lib/crimson-falcon/models/falconx_script_call.rb +288 -0
  538. data/lib/crimson-falcon/models/falconx_signature.rb +320 -0
  539. data/lib/crimson-falcon/models/falconx_stream.rb +286 -0
  540. data/lib/crimson-falcon/models/falconx_submission_parameters_v1.rb +261 -0
  541. data/lib/crimson-falcon/models/falconx_submission_v1.rb +342 -0
  542. data/lib/crimson-falcon/models/falconx_submission_v1_response.rb +276 -0
  543. data/lib/crimson-falcon/models/falconx_summary_report_v1.rb +409 -0
  544. data/lib/crimson-falcon/models/falconx_summary_report_v1_response.rb +276 -0
  545. data/lib/crimson-falcon/models/falconx_suricata_alert.rb +284 -0
  546. data/lib/crimson-falcon/models/falconx_threat_graph_indicator_v1.rb +266 -0
  547. data/lib/crimson-falcon/models/falconx_threat_graph_report_v1.rb +241 -0
  548. data/lib/crimson-falcon/models/falconx_url_data.rb +257 -0
  549. data/lib/crimson-falcon/models/falconx_version_info.rb +248 -0
  550. data/lib/crimson-falcon/models/firewall_create_firewall_policies_req_v1.rb +248 -0
  551. data/lib/crimson-falcon/models/firewall_create_firewall_policy_req_v1.rb +314 -0
  552. data/lib/crimson-falcon/models/firewall_policy_v1.rb +461 -0
  553. data/lib/crimson-falcon/models/firewall_resp_v1.rb +277 -0
  554. data/lib/crimson-falcon/models/firewall_update_firewall_policies_req_v1.rb +248 -0
  555. data/lib/crimson-falcon/models/firewall_update_firewall_policy_req_v1.rb +265 -0
  556. data/lib/crimson-falcon/models/flightcontrolapi_get_roles_response.rb +271 -0
  557. data/lib/crimson-falcon/models/flightcontrolapi_user_grant_response.rb +271 -0
  558. data/lib/crimson-falcon/models/flightcontrolapi_user_response.rb +271 -0
  559. data/lib/crimson-falcon/models/fwmgr_api_aggregates_response.rb +271 -0
  560. data/lib/crimson-falcon/models/fwmgr_api_events_response.rb +271 -0
  561. data/lib/crimson-falcon/models/fwmgr_api_filepath_test_request.rb +258 -0
  562. data/lib/crimson-falcon/models/fwmgr_api_filepath_test_result.rb +272 -0
  563. data/lib/crimson-falcon/models/fwmgr_api_firewall_fields_response.rb +271 -0
  564. data/lib/crimson-falcon/models/fwmgr_api_firewall_fields_v1.rb +288 -0
  565. data/lib/crimson-falcon/models/fwmgr_api_json_diff.rb +281 -0
  566. data/lib/crimson-falcon/models/fwmgr_api_meta_info.rb +285 -0
  567. data/lib/crimson-falcon/models/fwmgr_api_network_location_create_request_v1.rb +392 -0
  568. data/lib/crimson-falcon/models/fwmgr_api_network_location_modify_metadata_request_v1.rb +302 -0
  569. data/lib/crimson-falcon/models/fwmgr_api_network_location_modify_precedence_request_v1.rb +260 -0
  570. data/lib/crimson-falcon/models/fwmgr_api_network_location_modify_request_v1.rb +442 -0
  571. data/lib/crimson-falcon/models/fwmgr_api_network_location_summaries_response.rb +271 -0
  572. data/lib/crimson-falcon/models/fwmgr_api_network_location_summary_v1.rb +350 -0
  573. data/lib/crimson-falcon/models/fwmgr_api_network_locations_metadata_v1.rb +272 -0
  574. data/lib/crimson-falcon/models/fwmgr_api_network_locations_response.rb +271 -0
  575. data/lib/crimson-falcon/models/fwmgr_api_network_locations_v1.rb +479 -0
  576. data/lib/crimson-falcon/models/fwmgr_api_platforms_response.rb +271 -0
  577. data/lib/crimson-falcon/models/fwmgr_api_policy_container_upsert_request_v1.rb +362 -0
  578. data/lib/crimson-falcon/models/fwmgr_api_policy_containers_response.rb +271 -0
  579. data/lib/crimson-falcon/models/fwmgr_api_query_paging.rb +276 -0
  580. data/lib/crimson-falcon/models/fwmgr_api_query_response.rb +271 -0
  581. data/lib/crimson-falcon/models/fwmgr_api_rule_create_request_v1.rb +492 -0
  582. data/lib/crimson-falcon/models/fwmgr_api_rule_group_create_request_v1.rb +302 -0
  583. data/lib/crimson-falcon/models/fwmgr_api_rule_group_modify_request_v1.rb +320 -0
  584. data/lib/crimson-falcon/models/fwmgr_api_rule_group_v1.rb +430 -0
  585. data/lib/crimson-falcon/models/fwmgr_api_rule_groups_response.rb +271 -0
  586. data/lib/crimson-falcon/models/fwmgr_api_rules_response.rb +271 -0
  587. data/lib/crimson-falcon/models/fwmgr_api_validate_filepath_response.rb +271 -0
  588. data/lib/crimson-falcon/models/fwmgr_api_workaround_ui_field_value.rb +291 -0
  589. data/lib/crimson-falcon/models/fwmgr_domain_address_range.rb +253 -0
  590. data/lib/crimson-falcon/models/fwmgr_domain_connection_type.rb +258 -0
  591. data/lib/crimson-falcon/models/fwmgr_domain_dns_resolution_targets.rb +246 -0
  592. data/lib/crimson-falcon/models/fwmgr_domain_dns_resolution_targets_with_polling.rb +255 -0
  593. data/lib/crimson-falcon/models/fwmgr_domain_dns_target.rb +255 -0
  594. data/lib/crimson-falcon/models/fwmgr_domain_field.rb +288 -0
  595. data/lib/crimson-falcon/models/fwmgr_domain_https_hosts.rb +246 -0
  596. data/lib/crimson-falcon/models/fwmgr_domain_https_hosts_with_polling.rb +255 -0
  597. data/lib/crimson-falcon/models/fwmgr_domain_icmp.rb +258 -0
  598. data/lib/crimson-falcon/models/fwmgr_domain_icmp_targets.rb +246 -0
  599. data/lib/crimson-falcon/models/fwmgr_domain_icmp_targets_with_polling.rb +255 -0
  600. data/lib/crimson-falcon/models/fwmgr_domain_monitoring.rb +258 -0
  601. data/lib/crimson-falcon/models/fwmgr_domain_platform.rb +258 -0
  602. data/lib/crimson-falcon/models/fwmgr_domain_port_range.rb +258 -0
  603. data/lib/crimson-falcon/models/fwmgr_domain_value_item.rb +258 -0
  604. data/lib/crimson-falcon/models/fwmgr_domain_wireless_type.rb +274 -0
  605. data/lib/crimson-falcon/models/fwmgr_firewall_address_range.rb +253 -0
  606. data/lib/crimson-falcon/models/fwmgr_firewall_field_value.rb +306 -0
  607. data/lib/crimson-falcon/models/fwmgr_firewall_flags.rb +272 -0
  608. data/lib/crimson-falcon/models/fwmgr_firewall_icmp.rb +258 -0
  609. data/lib/crimson-falcon/models/fwmgr_firewall_match_event_response.rb +706 -0
  610. data/lib/crimson-falcon/models/fwmgr_firewall_monitoring.rb +258 -0
  611. data/lib/crimson-falcon/models/fwmgr_firewall_policy_container_v1.rb +407 -0
  612. data/lib/crimson-falcon/models/fwmgr_firewall_port_range.rb +258 -0
  613. data/lib/crimson-falcon/models/fwmgr_firewall_rule_group_summary_v1.rb +372 -0
  614. data/lib/crimson-falcon/models/fwmgr_firewall_rule_v1.rb +605 -0
  615. data/lib/crimson-falcon/models/fwmgr_msa_aggregate_query_request.rb +478 -0
  616. data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +269 -0
  617. data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result_item.rb +327 -0
  618. data/lib/crimson-falcon/models/fwmgr_msa_date_range_spec.rb +258 -0
  619. data/lib/crimson-falcon/models/fwmgr_msa_range_spec.rb +258 -0
  620. data/lib/crimson-falcon/models/fwmgr_msaspec_error.rb +267 -0
  621. data/lib/crimson-falcon/models/fwmgr_msaspec_meta_info.rb +285 -0
  622. data/lib/crimson-falcon/models/fwmgr_msaspec_paging.rb +272 -0
  623. data/lib/crimson-falcon/models/fwmgr_msaspec_query_response.rb +271 -0
  624. data/lib/crimson-falcon/models/fwmgr_msaspec_response_fields.rb +255 -0
  625. data/lib/crimson-falcon/models/fwmgr_msaspec_writes.rb +244 -0
  626. data/lib/crimson-falcon/models/host_groups_create_group_req_v1.rb +315 -0
  627. data/lib/crimson-falcon/models/host_groups_create_groups_req_v1.rb +248 -0
  628. data/lib/crimson-falcon/models/host_groups_host_group_v1.rb +390 -0
  629. data/lib/crimson-falcon/models/host_groups_members_resp_v1.rb +278 -0
  630. data/lib/crimson-falcon/models/host_groups_resp_v1.rb +277 -0
  631. data/lib/crimson-falcon/models/host_groups_update_group_req_v1.rb +276 -0
  632. data/lib/crimson-falcon/models/host_groups_update_groups_req_v1.rb +248 -0
  633. data/lib/crimson-falcon/models/ioa_cloud_account_id.rb +257 -0
  634. data/lib/crimson-falcon/models/ioa_enrichments.rb +248 -0
  635. data/lib/crimson-falcon/models/ioa_event_aggregate.rb +340 -0
  636. data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusion_create_req_v1.rb +353 -0
  637. data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusion_resp_v1.rb +428 -0
  638. data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusion_update_req_v1.rb +367 -0
  639. data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusions_resp_v1.rb +277 -0
  640. data/lib/crimson-falcon/models/ioa_rule_groups_rule_group_v1.rb +451 -0
  641. data/lib/crimson-falcon/models/iocapi_ioc_devices_count.rb +295 -0
  642. data/lib/crimson-falcon/models/iocapi_msa_reply_devices_ran_on.rb +276 -0
  643. data/lib/crimson-falcon/models/iocapi_msa_reply_ioc_devices_count.rb +276 -0
  644. data/lib/crimson-falcon/models/iocapi_msa_reply_processes_ran_on.rb +276 -0
  645. data/lib/crimson-falcon/models/iocapi_pagination_meta.rb +266 -0
  646. data/lib/crimson-falcon/models/iocapi_response_meta.rb +276 -0
  647. data/lib/crimson-falcon/models/k8sreg_account_permissions_status.rb +258 -0
  648. data/lib/crimson-falcon/models/k8sreg_api_key.rb +244 -0
  649. data/lib/crimson-falcon/models/k8sreg_aws_account_resp.rb +385 -0
  650. data/lib/crimson-falcon/models/k8sreg_aws_cluster_item_resp.rb +262 -0
  651. data/lib/crimson-falcon/models/k8sreg_azure_acct_cluster_item_resp.rb +244 -0
  652. data/lib/crimson-falcon/models/k8sreg_azure_bash_script.rb +260 -0
  653. data/lib/crimson-falcon/models/k8sreg_azure_sub_entity.rb +258 -0
  654. data/lib/crimson-falcon/models/k8sreg_azure_subscription_resp.rb +330 -0
  655. data/lib/crimson-falcon/models/k8sreg_azure_tenant_config.rb +267 -0
  656. data/lib/crimson-falcon/models/k8sreg_azure_tenant_info.rb +260 -0
  657. data/lib/crimson-falcon/models/k8sreg_cluster_resp.rb +412 -0
  658. data/lib/crimson-falcon/models/k8sreg_create_aws_acc_req.rb +246 -0
  659. data/lib/crimson-falcon/models/k8sreg_create_aws_acc_req_resources.rb +258 -0
  660. data/lib/crimson-falcon/models/k8sreg_create_aws_acc_resp.rb +276 -0
  661. data/lib/crimson-falcon/models/k8sreg_create_azure_sub_req.rb +246 -0
  662. data/lib/crimson-falcon/models/k8sreg_get_aws_accounts_resp.rb +276 -0
  663. data/lib/crimson-falcon/models/k8sreg_get_azure_bash_script_resp.rb +276 -0
  664. data/lib/crimson-falcon/models/k8sreg_get_azure_subscriptions_resp.rb +276 -0
  665. data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_config_resp.rb +276 -0
  666. data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_info_resp.rb +276 -0
  667. data/lib/crimson-falcon/models/k8sreg_get_clusters_resp.rb +276 -0
  668. data/lib/crimson-falcon/models/k8sreg_get_locations_resp.rb +276 -0
  669. data/lib/crimson-falcon/models/k8sreg_get_scripts_resp.rb +276 -0
  670. data/lib/crimson-falcon/models/k8sreg_list_cluster_cloud_item_resp.rb +326 -0
  671. data/lib/crimson-falcon/models/k8sreg_list_cluster_cloud_resp.rb +276 -0
  672. data/lib/crimson-falcon/models/k8sreg_location_resp.rb +258 -0
  673. data/lib/crimson-falcon/models/k8sreg_regen_api_key_resp.rb +276 -0
  674. data/lib/crimson-falcon/models/k8sreg_version_resp.rb +267 -0
  675. data/lib/crimson-falcon/models/main_available_stream_v2.rb +286 -0
  676. data/lib/crimson-falcon/models/main_discovery_response_v2.rb +271 -0
  677. data/lib/crimson-falcon/models/main_session_token.rb +258 -0
  678. data/lib/crimson-falcon/models/malquery_external_exact_search_parameters_v1.rb +256 -0
  679. data/lib/crimson-falcon/models/malquery_external_hunt_options.rb +304 -0
  680. data/lib/crimson-falcon/models/malquery_external_hunt_parameters_v1.rb +254 -0
  681. data/lib/crimson-falcon/models/malquery_external_query_response.rb +273 -0
  682. data/lib/crimson-falcon/models/malquery_external_resource.rb +401 -0
  683. data/lib/crimson-falcon/models/malquery_fuzzy_options.rb +250 -0
  684. data/lib/crimson-falcon/models/malquery_fuzzy_search_meta_info.rb +310 -0
  685. data/lib/crimson-falcon/models/malquery_fuzzy_search_parameters_v1.rb +255 -0
  686. data/lib/crimson-falcon/models/malquery_fuzzy_search_response.rb +273 -0
  687. data/lib/crimson-falcon/models/malquery_multi_download_request_v1.rb +247 -0
  688. data/lib/crimson-falcon/models/malquery_query_error.rb +276 -0
  689. data/lib/crimson-falcon/models/malquery_query_meta_info.rb +301 -0
  690. data/lib/crimson-falcon/models/malquery_rate_limits_meta.rb +374 -0
  691. data/lib/crimson-falcon/models/malquery_rate_limits_response.rb +260 -0
  692. data/lib/crimson-falcon/models/malquery_request_meta_info.rb +361 -0
  693. data/lib/crimson-falcon/models/malquery_request_response.rb +273 -0
  694. data/lib/crimson-falcon/models/malquery_sample_metadata.rb +310 -0
  695. data/lib/crimson-falcon/models/malquery_sample_metadata_response.rb +278 -0
  696. data/lib/crimson-falcon/models/malquery_samples_metadata_meta_info.rb +289 -0
  697. data/lib/crimson-falcon/models/malquery_search_parameter.rb +260 -0
  698. data/lib/crimson-falcon/models/malquery_stats.rb +305 -0
  699. data/lib/crimson-falcon/models/malquery_user_request_count.rb +258 -0
  700. data/lib/crimson-falcon/models/messages_activity.rb +346 -0
  701. data/lib/crimson-falcon/models/messages_alert.rb +272 -0
  702. data/lib/crimson-falcon/models/messages_attachment.rb +314 -0
  703. data/lib/crimson-falcon/models/messages_author.rb +309 -0
  704. data/lib/crimson-falcon/models/messages_case.rb +466 -0
  705. data/lib/crimson-falcon/models/messages_detection.rb +258 -0
  706. data/lib/crimson-falcon/models/messages_incident.rb +258 -0
  707. data/lib/crimson-falcon/models/mlscannerapi_meta_info.rb +294 -0
  708. data/lib/crimson-falcon/models/mlscannerapi_query_response.rb +276 -0
  709. data/lib/crimson-falcon/models/mlscannerapi_quota.rb +272 -0
  710. data/lib/crimson-falcon/models/mlscannerapi_samples_scan_parameters.rb +246 -0
  711. data/lib/crimson-falcon/models/mlscannerapi_samples_scan_result.rb +297 -0
  712. data/lib/crimson-falcon/models/mlscannerapi_scan_v1_response.rb +276 -0
  713. data/lib/crimson-falcon/models/mlscannerapi_scanned_sample.rb +262 -0
  714. data/lib/crimson-falcon/models/model_argument.rb +442 -0
  715. data/lib/crimson-falcon/models/model_file.rb +356 -0
  716. data/lib/crimson-falcon/models/model_session_log.rb +342 -0
  717. data/lib/crimson-falcon/models/models_access_health_details.rb +265 -0
  718. data/lib/crimson-falcon/models/models_application_library.rb +293 -0
  719. data/lib/crimson-falcon/models/models_application_package_info_type.rb +260 -0
  720. data/lib/crimson-falcon/models/models_aws_account_access_health.rb +239 -0
  721. data/lib/crimson-falcon/models/models_aws_account_request_v1.rb +300 -0
  722. data/lib/crimson-falcon/models/models_aws_account_v1.rb +408 -0
  723. data/lib/crimson-falcon/models/models_aws_accounts_v1.rb +276 -0
  724. data/lib/crimson-falcon/models/models_aws_customer_settings_request_v1.rb +250 -0
  725. data/lib/crimson-falcon/models/models_base_response_v1.rb +260 -0
  726. data/lib/crimson-falcon/models/models_create_aws_accounts_v1.rb +246 -0
  727. data/lib/crimson-falcon/models/models_customer_configurations_v1.rb +276 -0
  728. data/lib/crimson-falcon/models/models_modify_aws_customer_settings_v1.rb +246 -0
  729. data/lib/crimson-falcon/models/models_package_info_type.rb +320 -0
  730. data/lib/crimson-falcon/models/models_update_aws_accounts_v1.rb +246 -0
  731. data/lib/crimson-falcon/models/models_verify_access_response_v1.rb +276 -0
  732. data/lib/crimson-falcon/models/msa_affected_entity.rb +258 -0
  733. data/lib/crimson-falcon/models/msa_aggregate_query_request.rb +478 -0
  734. data/lib/crimson-falcon/models/msa_aggregates_response.rb +276 -0
  735. data/lib/crimson-falcon/models/msa_aggregation_result.rb +269 -0
  736. data/lib/crimson-falcon/models/msa_aggregation_result_item.rb +327 -0
  737. data/lib/crimson-falcon/models/msa_api_error.rb +267 -0
  738. data/lib/crimson-falcon/models/msa_base_entities_response.rb +260 -0
  739. data/lib/crimson-falcon/models/msa_date_range_spec.rb +258 -0
  740. data/lib/crimson-falcon/models/msa_entities_response.rb +274 -0
  741. data/lib/crimson-falcon/models/msa_entity_action_request.rb +241 -0
  742. data/lib/crimson-falcon/models/msa_entity_action_request_v2.rb +257 -0
  743. data/lib/crimson-falcon/models/msa_errors_only.rb +260 -0
  744. data/lib/crimson-falcon/models/msa_facet.rb +287 -0
  745. data/lib/crimson-falcon/models/msa_facets_response.rb +276 -0
  746. data/lib/crimson-falcon/models/msa_ids_request.rb +246 -0
  747. data/lib/crimson-falcon/models/msa_meta_info.rb +285 -0
  748. data/lib/crimson-falcon/models/msa_paging.rb +272 -0
  749. data/lib/crimson-falcon/models/msa_query_response.rb +276 -0
  750. data/lib/crimson-falcon/models/msa_range_spec.rb +258 -0
  751. data/lib/crimson-falcon/models/msa_reply_affected_entities.rb +276 -0
  752. data/lib/crimson-falcon/models/msa_reply_meta_only.rb +255 -0
  753. data/lib/crimson-falcon/models/msa_resources.rb +244 -0
  754. data/lib/crimson-falcon/models/msaspec_action_parameter.rb +258 -0
  755. data/lib/crimson-falcon/models/msaspec_error.rb +267 -0
  756. data/lib/crimson-falcon/models/msaspec_ids_request.rb +246 -0
  757. data/lib/crimson-falcon/models/msaspec_meta_info.rb +285 -0
  758. data/lib/crimson-falcon/models/msaspec_paging.rb +272 -0
  759. data/lib/crimson-falcon/models/msaspec_query_response.rb +271 -0
  760. data/lib/crimson-falcon/models/msaspec_response_fields.rb +255 -0
  761. data/lib/crimson-falcon/models/msaspec_writes.rb +244 -0
  762. data/lib/crimson-falcon/models/oauth2_access_token_request.rb +270 -0
  763. data/lib/crimson-falcon/models/patterndisposition_pattern_disposition.rb +538 -0
  764. data/lib/crimson-falcon/models/policy_sensor_update_schedule.rb +274 -0
  765. data/lib/crimson-falcon/models/policy_sensor_update_scheduler.rb +274 -0
  766. data/lib/crimson-falcon/models/prevention_category_resp_v1.rb +263 -0
  767. data/lib/crimson-falcon/models/prevention_create_policies_req_v1.rb +248 -0
  768. data/lib/crimson-falcon/models/prevention_create_policy_req_v1.rb +326 -0
  769. data/lib/crimson-falcon/models/prevention_policy_v1.rb +466 -0
  770. data/lib/crimson-falcon/models/prevention_resp_v1.rb +277 -0
  771. data/lib/crimson-falcon/models/prevention_setting_req_v1.rb +261 -0
  772. data/lib/crimson-falcon/models/prevention_setting_resp_v1.rb +335 -0
  773. data/lib/crimson-falcon/models/prevention_update_policies_req_v1.rb +248 -0
  774. data/lib/crimson-falcon/models/prevention_update_policy_req_v1.rb +283 -0
  775. data/lib/crimson-falcon/models/processesapi_msa_process_detail_response.rb +276 -0
  776. data/lib/crimson-falcon/models/processesapi_process_detail.rb +356 -0
  777. data/lib/crimson-falcon/models/public_acl.rb +268 -0
  778. data/lib/crimson-falcon/models/public_after.rb +248 -0
  779. data/lib/crimson-falcon/models/public_attribute.rb +258 -0
  780. data/lib/crimson-falcon/models/public_basic.rb +257 -0
  781. data/lib/crimson-falcon/models/public_before.rb +248 -0
  782. data/lib/crimson-falcon/models/public_change.rb +587 -0
  783. data/lib/crimson-falcon/models/public_dacl.rb +251 -0
  784. data/lib/crimson-falcon/models/public_dacl_entity.rb +284 -0
  785. data/lib/crimson-falcon/models/public_diff.rb +239 -0
  786. data/lib/crimson-falcon/models/public_diff_hash.rb +239 -0
  787. data/lib/crimson-falcon/models/public_diff_type.rb +239 -0
  788. data/lib/crimson-falcon/models/public_get_changes_response.rb +271 -0
  789. data/lib/crimson-falcon/models/public_group.rb +248 -0
  790. data/lib/crimson-falcon/models/public_host.rb +295 -0
  791. data/lib/crimson-falcon/models/public_host_group.rb +239 -0
  792. data/lib/crimson-falcon/models/public_owner.rb +248 -0
  793. data/lib/crimson-falcon/models/public_permissions.rb +267 -0
  794. data/lib/crimson-falcon/models/public_permissions_lin.rb +290 -0
  795. data/lib/crimson-falcon/models/public_policy.rb +248 -0
  796. data/lib/crimson-falcon/models/public_policy_rule.rb +239 -0
  797. data/lib/crimson-falcon/models/public_policy_rule_group.rb +248 -0
  798. data/lib/crimson-falcon/models/public_prevalence.rb +288 -0
  799. data/lib/crimson-falcon/models/public_tag.rb +239 -0
  800. data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +387 -0
  801. data/lib/crimson-falcon/models/quarantine_quarantined_file_path.rb +266 -0
  802. data/lib/crimson-falcon/models/reconmsa_api_error.rb +287 -0
  803. data/lib/crimson-falcon/models/reconmsa_api_error_detail.rb +272 -0
  804. data/lib/crimson-falcon/models/registration_aws_account_console_url.rb +248 -0
  805. data/lib/crimson-falcon/models/registration_aws_account_create_request_d4_c_ext_v2.rb +246 -0
  806. data/lib/crimson-falcon/models/registration_aws_account_create_request_ext_v2.rb +246 -0
  807. data/lib/crimson-falcon/models/registration_aws_account_d4_c_ext_v2.rb +304 -0
  808. data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +331 -0
  809. data/lib/crimson-falcon/models/registration_aws_account_patch.rb +303 -0
  810. data/lib/crimson-falcon/models/registration_aws_account_patch_request.rb +246 -0
  811. data/lib/crimson-falcon/models/registration_aws_account_response_v2.rb +276 -0
  812. data/lib/crimson-falcon/models/registration_aws_account_script.rb +239 -0
  813. data/lib/crimson-falcon/models/registration_aws_provision_get_account_script_response_v2.rb +276 -0
  814. data/lib/crimson-falcon/models/registration_azure_account_create_request_external_v1.rb +246 -0
  815. data/lib/crimson-falcon/models/registration_azure_account_external_v1.rb +286 -0
  816. data/lib/crimson-falcon/models/registration_azure_account_response_v1.rb +276 -0
  817. data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +466 -0
  818. data/lib/crimson-falcon/models/registration_azure_download_certificate_response_v1.rb +276 -0
  819. data/lib/crimson-falcon/models/registration_azure_key_v1.rb +294 -0
  820. data/lib/crimson-falcon/models/registration_azure_provision_get_user_script_response_v1.rb +276 -0
  821. data/lib/crimson-falcon/models/registration_azure_tenant_configuration_response_v1.rb +276 -0
  822. data/lib/crimson-falcon/models/registration_azure_tenant_default_subscription_id_response_v1.rb +274 -0
  823. data/lib/crimson-falcon/models/registration_azure_tenant_ids_response_v1.rb +276 -0
  824. data/lib/crimson-falcon/models/registration_azure_tenant_ids_response_v1_resources.rb +260 -0
  825. data/lib/crimson-falcon/models/registration_azure_user_script.rb +255 -0
  826. data/lib/crimson-falcon/models/registration_external_ioa_event_response.rb +274 -0
  827. data/lib/crimson-falcon/models/registration_external_ioa_resources.rb +264 -0
  828. data/lib/crimson-falcon/models/registration_external_iom_event_response.rb +269 -0
  829. data/lib/crimson-falcon/models/registration_external_iom_event_response_v2.rb +271 -0
  830. data/lib/crimson-falcon/models/registration_gcp_account_create_request_ext_v1.rb +246 -0
  831. data/lib/crimson-falcon/models/registration_gcp_account_ext_v1.rb +253 -0
  832. data/lib/crimson-falcon/models/registration_gcp_account_response_v1.rb +276 -0
  833. data/lib/crimson-falcon/models/registration_gcp_provision_get_user_script_response_v1.rb +276 -0
  834. data/lib/crimson-falcon/models/registration_gcp_user_script.rb +255 -0
  835. data/lib/crimson-falcon/models/registration_ioa_event.rb +617 -0
  836. data/lib/crimson-falcon/models/registration_iom_event.rb +509 -0
  837. data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +276 -0
  838. data/lib/crimson-falcon/models/registration_iom_event_v2.rb +584 -0
  839. data/lib/crimson-falcon/models/registration_iom_resources.rb +241 -0
  840. data/lib/crimson-falcon/models/registration_msa_meta_info_extension.rb +253 -0
  841. data/lib/crimson-falcon/models/registration_msa_paging_extension.rb +253 -0
  842. data/lib/crimson-falcon/models/registration_msa_spec_meta_info_extension.rb +253 -0
  843. data/lib/crimson-falcon/models/registration_policy_ext_v1.rb +332 -0
  844. data/lib/crimson-falcon/models/registration_policy_request_ext_v1.rb +246 -0
  845. data/lib/crimson-falcon/models/registration_policy_response_v1.rb +276 -0
  846. data/lib/crimson-falcon/models/registration_policy_settings_response_v1.rb +276 -0
  847. data/lib/crimson-falcon/models/registration_scan_schedule_response_v1.rb +276 -0
  848. data/lib/crimson-falcon/models/registration_scan_schedule_update_request_v1.rb +246 -0
  849. data/lib/crimson-falcon/models/registration_static_scripts_response.rb +276 -0
  850. data/lib/crimson-falcon/models/registryassessment_external_cred_payload.rb +244 -0
  851. data/lib/crimson-falcon/models/registryassessment_external_registry_patch_payload.rb +262 -0
  852. data/lib/crimson-falcon/models/registryassessment_external_registry_payload.rb +290 -0
  853. data/lib/crimson-falcon/models/remote_response_create_policies_v1.rb +248 -0
  854. data/lib/crimson-falcon/models/remote_response_create_policy_req_v1.rb +326 -0
  855. data/lib/crimson-falcon/models/remote_response_policy_v1.rb +449 -0
  856. data/lib/crimson-falcon/models/remote_response_resp_v1.rb +277 -0
  857. data/lib/crimson-falcon/models/remote_response_update_policies_req_v1.rb +248 -0
  858. data/lib/crimson-falcon/models/remote_response_update_policy_req_v1.rb +283 -0
  859. data/lib/crimson-falcon/models/resource.rb +252 -0
  860. data/lib/crimson-falcon/models/resources.rb +274 -0
  861. data/lib/crimson-falcon/models/sadomain_create_rule_request_v1.rb +335 -0
  862. data/lib/crimson-falcon/models/sadomain_customer_assets.rb +252 -0
  863. data/lib/crimson-falcon/models/sadomain_rule.rb +463 -0
  864. data/lib/crimson-falcon/models/sadomain_submit_for_blocking_info.rb +272 -0
  865. data/lib/crimson-falcon/models/sadomain_typosquatting_base_domain.rb +309 -0
  866. data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +312 -0
  867. data/lib/crimson-falcon/models/sadomain_typosquatting_parent_domain.rb +275 -0
  868. data/lib/crimson-falcon/models/sadomain_whois_record.rb +300 -0
  869. data/lib/crimson-falcon/models/sadomain_whois_registrant.rb +275 -0
  870. data/lib/crimson-falcon/models/sadomain_whois_registrar.rb +262 -0
  871. data/lib/crimson-falcon/models/schema_sensor_event.rb +330 -0
  872. data/lib/crimson-falcon/models/schema_sensor_event_field.rb +286 -0
  873. data/lib/crimson-falcon/models/schema_sensor_event_response_v1.rb +271 -0
  874. data/lib/crimson-falcon/models/schema_sensor_field.rb +316 -0
  875. data/lib/crimson-falcon/models/schema_sensor_field_response_v1.rb +271 -0
  876. data/lib/crimson-falcon/models/schema_sensor_field_value.rb +272 -0
  877. data/lib/crimson-falcon/models/sensor_update_build_req_v1.rb +258 -0
  878. data/lib/crimson-falcon/models/sensor_update_build_resp_v1.rb +321 -0
  879. data/lib/crimson-falcon/models/sensor_update_builds_resp_v1.rb +277 -0
  880. data/lib/crimson-falcon/models/sensor_update_create_policies_req_v1.rb +248 -0
  881. data/lib/crimson-falcon/models/sensor_update_create_policies_req_v2.rb +248 -0
  882. data/lib/crimson-falcon/models/sensor_update_create_policy_req_v1.rb +313 -0
  883. data/lib/crimson-falcon/models/sensor_update_create_policy_req_v2.rb +313 -0
  884. data/lib/crimson-falcon/models/sensor_update_kernel_resp_v1.rb +418 -0
  885. data/lib/crimson-falcon/models/sensor_update_kernels_resp_v1.rb +277 -0
  886. data/lib/crimson-falcon/models/sensor_update_policy_v1.rb +445 -0
  887. data/lib/crimson-falcon/models/sensor_update_policy_v2.rb +445 -0
  888. data/lib/crimson-falcon/models/sensor_update_resp_v1.rb +277 -0
  889. data/lib/crimson-falcon/models/sensor_update_resp_v2.rb +277 -0
  890. data/lib/crimson-falcon/models/sensor_update_settings_req_v1.rb +239 -0
  891. data/lib/crimson-falcon/models/sensor_update_settings_req_v2.rb +324 -0
  892. data/lib/crimson-falcon/models/sensor_update_settings_resp_v1.rb +244 -0
  893. data/lib/crimson-falcon/models/sensor_update_settings_resp_v2.rb +380 -0
  894. data/lib/crimson-falcon/models/sensor_update_update_policies_req_v1.rb +248 -0
  895. data/lib/crimson-falcon/models/sensor_update_update_policies_req_v2.rb +248 -0
  896. data/lib/crimson-falcon/models/sensor_update_update_policy_req_v1.rb +275 -0
  897. data/lib/crimson-falcon/models/sensor_update_update_policy_req_v2.rb +275 -0
  898. data/lib/crimson-falcon/models/state_online_state_resp_v1.rb +276 -0
  899. data/lib/crimson-falcon/models/state_online_state_result_v1.rb +276 -0
  900. data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +259 -0
  901. data/lib/crimson-falcon/models/sv_exclusions_resp_v1.rb +277 -0
  902. data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +372 -0
  903. data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +273 -0
  904. data/lib/crimson-falcon/models/threatgraph_crawl_edges_request.rb +306 -0
  905. data/lib/crimson-falcon/models/uninstall_token_resp_v1.rb +278 -0
  906. data/lib/crimson-falcon/models/uninstall_token_reveal_uninstall_token_req_v1.rb +256 -0
  907. data/lib/crimson-falcon/models/uninstall_token_uninstall_token_v1.rb +276 -0
  908. data/lib/crimson-falcon/models/upload_sample_v2_request.rb +282 -0
  909. data/lib/crimson-falcon/version.rb +37 -0
  910. data/lib/crimson-falcon.rb +962 -0
  911. data/spec/api/alerts_api_spec.rb +105 -0
  912. data/spec/api/cloud_connect_aws_api_spec.rb +162 -0
  913. data/spec/api/cspm_registration_api_spec.rb +362 -0
  914. data/spec/api/custom_ioa_api_spec.rb +284 -0
  915. data/spec/api/d4c_registration_api_spec.rb +258 -0
  916. data/spec/api/detects_api_spec.rb +105 -0
  917. data/spec/api/device_control_policies_api_spec.rb +203 -0
  918. data/spec/api/discover_api_spec.rb +217 -0
  919. data/spec/api/discover_iot_api_spec.rb +82 -0
  920. data/spec/api/event_schema_api_spec.rb +92 -0
  921. data/spec/api/event_streams_api_spec.rb +82 -0
  922. data/spec/api/falcon_complete_dashboard_api_spec.rb +233 -0
  923. data/spec/api/falcon_container_api_spec.rb +67 -0
  924. data/spec/api/falcon_container_cli_api_spec.rb +68 -0
  925. data/spec/api/falcon_container_image_api_spec.rb +115 -0
  926. data/spec/api/falconx_sandbox_api_spec.rb +240 -0
  927. data/spec/api/field_schema_api_spec.rb +82 -0
  928. data/spec/api/filevantage_api_spec.rb +84 -0
  929. data/spec/api/firewall_management_api_spec.rb +467 -0
  930. data/spec/api/firewall_policies_api_spec.rb +183 -0
  931. data/spec/api/host_group_api_spec.rb +172 -0
  932. data/spec/api/hosts_api_spec.rb +202 -0
  933. data/spec/api/identity_protection_api_spec.rb +68 -0
  934. data/spec/api/incidents_api_spec.rb +134 -0
  935. data/spec/api/installation_tokens_api_spec.rb +151 -0
  936. data/spec/api/installation_tokens_settings_api_spec.rb +68 -0
  937. data/spec/api/intel_api_spec.rb +319 -0
  938. data/spec/api/ioa_exclusions_api_spec.rb +116 -0
  939. data/spec/api/ioc_api_spec.rb +223 -0
  940. data/spec/api/iocs_api_spec.rb +109 -0
  941. data/spec/api/kubernetes_protection_api_spec.rb +282 -0
  942. data/spec/api/malquery_api_spec.rb +155 -0
  943. data/spec/api/message_center_api_spec.rb +177 -0
  944. data/spec/api/ml_exclusions_api_spec.rb +116 -0
  945. data/spec/api/mobile_enrollment_api_spec.rb +70 -0
  946. data/spec/api/mssp_api_spec.rb +396 -0
  947. data/spec/api/oauth2_api_spec.rb +82 -0
  948. data/spec/api/ods_api_spec.rb +235 -0
  949. data/spec/api/overwatch_dashboard_api_spec.rb +112 -0
  950. data/spec/api/prevention_policies_api_spec.rb +182 -0
  951. data/spec/api/public_assessments_api_spec.rb +72 -0
  952. data/spec/api/quarantine_api_spec.rb +127 -0
  953. data/spec/api/quick_scan_api_spec.rb +104 -0
  954. data/spec/api/real_time_response_admin_api_spec.rb +237 -0
  955. data/spec/api/real_time_response_api_spec.rb +338 -0
  956. data/spec/api/recon_api_spec.rb +360 -0
  957. data/spec/api/report_executions_api_spec.rb +105 -0
  958. data/spec/api/response_policies_api_spec.rb +182 -0
  959. data/spec/api/sample_uploads_api_spec.rb +196 -0
  960. data/spec/api/scheduled_reports_api_spec.rb +94 -0
  961. data/spec/api/sensor_download_api_spec.rb +117 -0
  962. data/spec/api/sensor_update_policies_api_spec.rb +279 -0
  963. data/spec/api/sensor_visibility_exclusions_api_spec.rb +116 -0
  964. data/spec/api/spotlight_evaluation_logic_api_spec.rb +96 -0
  965. data/spec/api/spotlight_vulnerabilities_api_spec.rb +108 -0
  966. data/spec/api/tailored_intelligence_api_spec.rb +120 -0
  967. data/spec/api/user_management_api_spec.rb +313 -0
  968. data/spec/api/zero_trust_assessment_api_spec.rb +92 -0
  969. data/spec/api_client_spec.rb +250 -0
  970. data/spec/configuration_spec.rb +64 -0
  971. data/spec/models/api_action_resp_v1_spec.rb +68 -0
  972. data/spec/models/api_action_v1_spec.rb +68 -0
  973. data/spec/models/api_aggregates_response_spec.rb +68 -0
  974. data/spec/models/api_audit_event_details_resource_v1_spec.rb +86 -0
  975. data/spec/models/api_audit_event_details_response_v1_spec.rb +68 -0
  976. data/spec/models/api_bulk_update_req_v1_spec.rb +128 -0
  977. data/spec/models/api_cred_payload_spec.rb +62 -0
  978. data/spec/models/api_customer_settings_patch_request_v1_spec.rb +62 -0
  979. data/spec/models/api_customer_settings_resource_v1_spec.rb +62 -0
  980. data/spec/models/api_customer_settings_response_v1_spec.rb +68 -0
  981. data/spec/models/api_exposed_data_file_details_v1_spec.rb +74 -0
  982. data/spec/models/api_exposed_data_record_financial_v1_spec.rb +68 -0
  983. data/spec/models/api_exposed_data_record_location_v1_spec.rb +86 -0
  984. data/spec/models/api_exposed_data_record_social_v1_spec.rb +104 -0
  985. data/spec/models/api_image_lookup_request_spec.rb +68 -0
  986. data/spec/models/api_indicator_create_req_v1_spec.rb +128 -0
  987. data/spec/models/api_indicator_create_reqs_v1_spec.rb +62 -0
  988. data/spec/models/api_indicator_query_resp_v1_spec.rb +68 -0
  989. data/spec/models/api_indicator_resp_v1_spec.rb +68 -0
  990. data/spec/models/api_indicator_update_req_v1_spec.rb +122 -0
  991. data/spec/models/api_indicator_update_reqs_v1_spec.rb +68 -0
  992. data/spec/models/api_indicator_v1_spec.rb +182 -0
  993. data/spec/models/api_indicators_query_meta_spec.rb +74 -0
  994. data/spec/models/api_indicators_query_paging_spec.rb +74 -0
  995. data/spec/models/api_indicators_report_request_spec.rb +68 -0
  996. data/spec/models/api_indicators_sorted_search_spec.rb +68 -0
  997. data/spec/models/api_message_center_activity_response_spec.rb +68 -0
  998. data/spec/models/api_message_center_attachment_upload_response_spec.rb +68 -0
  999. data/spec/models/api_message_center_cases_response_spec.rb +68 -0
  1000. data/spec/models/api_metadata_req_v1_spec.rb +56 -0
  1001. data/spec/models/api_metadata_v1_spec.rb +104 -0
  1002. data/spec/models/api_notification_exposed_data_record_entities_response_v1_spec.rb +68 -0
  1003. data/spec/models/api_notification_exposed_data_record_v1_spec.rb +260 -0
  1004. data/spec/models/api_pattern_v1_spec.rb +62 -0
  1005. data/spec/models/api_patterns_response_spec.rb +68 -0
  1006. data/spec/models/api_platforms_response_spec.rb +68 -0
  1007. data/spec/models/api_post_enrollment_details_response_spec.rb +68 -0
  1008. data/spec/models/api_post_enrollment_details_spec.rb +62 -0
  1009. data/spec/models/api_rule_create_v1_spec.rb +98 -0
  1010. data/spec/models/api_rule_details_v1_spec.rb +74 -0
  1011. data/spec/models/api_rule_group_create_request_v1_spec.rb +74 -0
  1012. data/spec/models/api_rule_group_modify_request_v1_spec.rb +86 -0
  1013. data/spec/models/api_rule_group_v1_spec.rb +146 -0
  1014. data/spec/models/api_rule_groups_response_spec.rb +68 -0
  1015. data/spec/models/api_rule_type_v1_spec.rb +98 -0
  1016. data/spec/models/api_rule_types_response_spec.rb +68 -0
  1017. data/spec/models/api_rule_update_v1_spec.rb +98 -0
  1018. data/spec/models/api_rule_updates_request_v1_spec.rb +74 -0
  1019. data/spec/models/api_rule_v1_spec.rb +188 -0
  1020. data/spec/models/api_rules_get_request_v1_spec.rb +56 -0
  1021. data/spec/models/api_rules_response_spec.rb +68 -0
  1022. data/spec/models/api_token_create_request_v1_spec.rb +68 -0
  1023. data/spec/models/api_token_details_resource_v1_spec.rb +104 -0
  1024. data/spec/models/api_token_details_response_v1_spec.rb +68 -0
  1025. data/spec/models/api_token_patch_request_v1_spec.rb +68 -0
  1026. data/spec/models/api_user_metadata_response_spec.rb +68 -0
  1027. data/spec/models/api_user_role_ids_response_spec.rb +68 -0
  1028. data/spec/models/api_user_role_response_spec.rb +68 -0
  1029. data/spec/models/api_validation_request_field_v1_spec.rb +74 -0
  1030. data/spec/models/api_validation_request_v1_spec.rb +56 -0
  1031. data/spec/models/api_validation_response_v1_spec.rb +68 -0
  1032. data/spec/models/base_policy_members_resp_v1_spec.rb +68 -0
  1033. data/spec/models/base_set_policy_precedence_req_v1_spec.rb +66 -0
  1034. data/spec/models/binservapi_msa_put_file_response_spec.rb +68 -0
  1035. data/spec/models/client_archive_create_response_v1_spec.rb +68 -0
  1036. data/spec/models/client_archive_list_files_response_v1_spec.rb +68 -0
  1037. data/spec/models/client_archive_with_files_v1_spec.rb +98 -0
  1038. data/spec/models/client_extraction_create_request_v1_spec.rb +68 -0
  1039. data/spec/models/client_extraction_create_response_v1_spec.rb +68 -0
  1040. data/spec/models/client_extraction_file_parameters_v1_spec.rb +68 -0
  1041. data/spec/models/client_extraction_file_result_v1_spec.rb +80 -0
  1042. data/spec/models/client_extraction_list_files_response_v1_spec.rb +68 -0
  1043. data/spec/models/client_extraction_with_files_v1_spec.rb +80 -0
  1044. data/spec/models/client_query_samples_request_spec.rb +56 -0
  1045. data/spec/models/client_sample_metadata_response_v2_spec.rb +68 -0
  1046. data/spec/models/client_sample_metadata_v2_spec.rb +62 -0
  1047. data/spec/models/common_cid_audit_result_spec.rb +74 -0
  1048. data/spec/models/common_os_audit_spec.rb +74 -0
  1049. data/spec/models/core_entities_response_spec.rb +68 -0
  1050. data/spec/models/detection_aggregate_indicator_spec.rb +92 -0
  1051. data/spec/models/detection_aggregate_threat_intel_spec.rb +56 -0
  1052. data/spec/models/detection_enrichment_host_spec.rb +92 -0
  1053. data/spec/models/detection_enrichment_spec.rb +62 -0
  1054. data/spec/models/detection_host_network_spec.rb +68 -0
  1055. data/spec/models/detection_inventory_enrichment_spec.rb +68 -0
  1056. data/spec/models/detects_alert_spec.rb +260 -0
  1057. data/spec/models/detects_behavior_spec.rb +254 -0
  1058. data/spec/models/detects_device_detail_indexed_spec.rb +326 -0
  1059. data/spec/models/detects_host_info_spec.rb +62 -0
  1060. data/spec/models/detects_parent_details_spec.rb +74 -0
  1061. data/spec/models/detects_quarantined_file_spec.rb +74 -0
  1062. data/spec/models/detectsapi_patch_entities_alerts_v2_request_spec.rb +62 -0
  1063. data/spec/models/detectsapi_post_entities_alerts_v1_request_spec.rb +56 -0
  1064. data/spec/models/detectsapi_post_entities_alerts_v1_response_spec.rb +68 -0
  1065. data/spec/models/device_control_create_policies_v1_spec.rb +56 -0
  1066. data/spec/models/device_control_create_policy_req_v1_spec.rb +84 -0
  1067. data/spec/models/device_control_exception_req_v1_spec.rb +122 -0
  1068. data/spec/models/device_control_exception_resp_v1_spec.rb +134 -0
  1069. data/spec/models/device_control_policy_v1_spec.rb +126 -0
  1070. data/spec/models/device_control_req_update_default_dc_policy_v1_spec.rb +56 -0
  1071. data/spec/models/device_control_resp_v1_spec.rb +68 -0
  1072. data/spec/models/device_control_resp_v2_spec.rb +68 -0
  1073. data/spec/models/device_control_settings_req_v1_spec.rb +94 -0
  1074. data/spec/models/device_control_settings_resp_v1_spec.rb +88 -0
  1075. data/spec/models/device_control_update_policies_req_v1_spec.rb +56 -0
  1076. data/spec/models/device_control_update_policy_req_v1_spec.rb +74 -0
  1077. data/spec/models/device_control_usb_class_exceptions_req_v1_spec.rb +72 -0
  1078. data/spec/models/device_control_usb_class_exceptions_response_spec.rb +72 -0
  1079. data/spec/models/device_control_usb_custom_notification_spec.rb +62 -0
  1080. data/spec/models/device_control_usb_custom_notifications_spec.rb +62 -0
  1081. data/spec/models/device_device_meta_spec.rb +62 -0
  1082. data/spec/models/device_device_policy_spec.rb +110 -0
  1083. data/spec/models/device_device_spec.rb +566 -0
  1084. data/spec/models/device_managed_app_spec.rb +56 -0
  1085. data/spec/models/device_managed_apps_spec.rb +86 -0
  1086. data/spec/models/device_mapped_device_policies_spec.rb +164 -0
  1087. data/spec/models/deviceapi_device_details_response_swagger_spec.rb +68 -0
  1088. data/spec/models/deviceapi_device_paging_spec.rb +74 -0
  1089. data/spec/models/deviceapi_device_response_spec.rb +68 -0
  1090. data/spec/models/deviceapi_device_swagger_spec.rb +548 -0
  1091. data/spec/models/deviceapi_group_meta_spec.rb +62 -0
  1092. data/spec/models/deviceapi_group_response_v1_spec.rb +116 -0
  1093. data/spec/models/deviceapi_groups_response_v1_spec.rb +68 -0
  1094. data/spec/models/deviceapi_login_detail_v1_spec.rb +68 -0
  1095. data/spec/models/deviceapi_login_history_response_v1_spec.rb +68 -0
  1096. data/spec/models/deviceapi_login_info_v1_spec.rb +62 -0
  1097. data/spec/models/deviceapi_network_address_history_response_v1_spec.rb +68 -0
  1098. data/spec/models/deviceapi_network_address_history_v1_spec.rb +68 -0
  1099. data/spec/models/deviceapi_network_address_v1_spec.rb +68 -0
  1100. data/spec/models/deviceapi_request_meta_spec.rb +74 -0
  1101. data/spec/models/deviceapi_update_device_details_response_v1_spec.rb +74 -0
  1102. data/spec/models/deviceapi_update_device_tags_request_v1_spec.rb +68 -0
  1103. data/spec/models/deviceapi_update_device_tags_swagger_v1_spec.rb +68 -0
  1104. data/spec/models/domain_access_token_response_v1_spec.rb +92 -0
  1105. data/spec/models/domain_account_access_result_spec.rb +68 -0
  1106. data/spec/models/domain_action_entities_response_v1_spec.rb +68 -0
  1107. data/spec/models/domain_action_parameter_spec.rb +66 -0
  1108. data/spec/models/domain_action_user_roles_request_spec.rb +74 -0
  1109. data/spec/models/domain_action_v1_spec.rb +122 -0
  1110. data/spec/models/domain_activity_creation_request_spec.rb +74 -0
  1111. data/spec/models/domain_actor_document_spec.rb +242 -0
  1112. data/spec/models/domain_actors_response_spec.rb +68 -0
  1113. data/spec/models/domain_aggregates_response_spec.rb +68 -0
  1114. data/spec/models/domain_api_combined_findings_response_v1_spec.rb +68 -0
  1115. data/spec/models/domain_api_detection_document_spec.rb +188 -0
  1116. data/spec/models/domain_api_error_spec.rb +68 -0
  1117. data/spec/models/domain_api_evaluation_logic_comparisons_v1_spec.rb +62 -0
  1118. data/spec/models/domain_api_evaluation_logic_entity_comparison_v1_spec.rb +74 -0
  1119. data/spec/models/domain_api_evaluation_logic_item_v1_spec.rb +110 -0
  1120. data/spec/models/domain_api_evaluation_logic_state_comparison_v1_spec.rb +62 -0
  1121. data/spec/models/domain_api_evaluation_logic_v1_spec.rb +92 -0
  1122. data/spec/models/domain_api_finding_facet_v1_spec.rb +92 -0
  1123. data/spec/models/domain_api_finding_rule_v1_spec.rb +128 -0
  1124. data/spec/models/domain_api_finding_with_rule_v1_spec.rb +80 -0
  1125. data/spec/models/domain_api_host_group_spec.rb +62 -0
  1126. data/spec/models/domain_api_host_info_facet_v1_spec.rb +158 -0
  1127. data/spec/models/domain_api_mitre_attack_tactic_v1_spec.rb +68 -0
  1128. data/spec/models/domain_api_mitre_mitigation_v1_spec.rb +62 -0
  1129. data/spec/models/domain_api_mitre_technique_v1_spec.rb +68 -0
  1130. data/spec/models/domain_api_query_meta_v1_spec.rb +74 -0
  1131. data/spec/models/domain_api_query_paging_v1_spec.rb +68 -0
  1132. data/spec/models/domain_api_remediation_ids_spec.rb +56 -0
  1133. data/spec/models/domain_api_remediation_v2_spec.rb +86 -0
  1134. data/spec/models/domain_api_vulnerability_app_v2_spec.rb +56 -0
  1135. data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +152 -0
  1136. data/spec/models/domain_api_vulnerability_cvecisa_info_spec.rb +62 -0
  1137. data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +74 -0
  1138. data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +164 -0
  1139. data/spec/models/domain_api_vulnerability_remediation_facet_v2_spec.rb +62 -0
  1140. data/spec/models/domain_api_vulnerability_suppression_info_v2_spec.rb +62 -0
  1141. data/spec/models/domain_api_vulnerability_v2_spec.rb +128 -0
  1142. data/spec/models/domain_assessment_items_spec.rb +62 -0
  1143. data/spec/models/domain_assessment_paging_spec.rb +74 -0
  1144. data/spec/models/domain_assessment_spec.rb +74 -0
  1145. data/spec/models/domain_assessments_by_score_response_spec.rb +68 -0
  1146. data/spec/models/domain_assessments_response_spec.rb +68 -0
  1147. data/spec/models/domain_audit_response_spec.rb +68 -0
  1148. data/spec/models/domain_aws_account_v2_spec.rb +266 -0
  1149. data/spec/models/domain_aws_configuration_spec.rb +74 -0
  1150. data/spec/models/domain_awsd4_c_account_v1_spec.rb +86 -0
  1151. data/spec/models/domain_awsd4_c_organization_account_v1_spec.rb +74 -0
  1152. data/spec/models/domain_azure_client_service_principal_v1_spec.rb +128 -0
  1153. data/spec/models/domain_azure_resource_permission_spec.rb +80 -0
  1154. data/spec/models/domain_azure_role_assignment_spec.rb +74 -0
  1155. data/spec/models/domain_base_api_vulnerability_v2_spec.rb +128 -0
  1156. data/spec/models/domain_batch_execute_command_request_spec.rb +80 -0
  1157. data/spec/models/domain_batch_get_cmd_status_response_spec.rb +68 -0
  1158. data/spec/models/domain_batch_get_command_request_spec.rb +68 -0
  1159. data/spec/models/domain_batch_get_command_response_spec.rb +74 -0
  1160. data/spec/models/domain_batch_init_session_request_spec.rb +68 -0
  1161. data/spec/models/domain_batch_init_session_response_spec.rb +74 -0
  1162. data/spec/models/domain_batch_refresh_session_request_spec.rb +62 -0
  1163. data/spec/models/domain_batch_refresh_session_response_spec.rb +68 -0
  1164. data/spec/models/domain_behavior_spec.rb +212 -0
  1165. data/spec/models/domain_benchmark_spec.rb +68 -0
  1166. data/spec/models/domain_botnet_config_source_spec.rb +98 -0
  1167. data/spec/models/domain_botnet_inject_spec.rb +62 -0
  1168. data/spec/models/domain_breach_details_v1_spec.rb +56 -0
  1169. data/spec/models/domain_breached_item_v1_spec.rb +170 -0
  1170. data/spec/models/domain_case_creation_request_spec.rb +86 -0
  1171. data/spec/models/domain_case_creation_request_v2_spec.rb +86 -0
  1172. data/spec/models/domain_child_link_spec.rb +92 -0
  1173. data/spec/models/domain_children_response_v1_spec.rb +62 -0
  1174. data/spec/models/domain_cid_group_members_request_v1_spec.rb +56 -0
  1175. data/spec/models/domain_cid_group_members_response_v1_spec.rb +68 -0
  1176. data/spec/models/domain_cid_group_members_spec.rb +62 -0
  1177. data/spec/models/domain_cid_group_spec.rb +74 -0
  1178. data/spec/models/domain_cid_groups_request_v1_spec.rb +56 -0
  1179. data/spec/models/domain_cid_groups_response_v1_spec.rb +68 -0
  1180. data/spec/models/domain_cid_policy_assignments_spec.rb +194 -0
  1181. data/spec/models/domain_command_execute_request_spec.rb +86 -0
  1182. data/spec/models/domain_command_execute_response_spec.rb +68 -0
  1183. data/spec/models/domain_command_execute_response_wrapper_spec.rb +68 -0
  1184. data/spec/models/domain_condition_spec.rb +80 -0
  1185. data/spec/models/domain_create_action_request_spec.rb +80 -0
  1186. data/spec/models/domain_create_user_request_spec.rb +80 -0
  1187. data/spec/models/domain_credentials_spec.rb +56 -0
  1188. data/spec/models/domain_csix_label_spec.rb +68 -0
  1189. data/spec/models/domain_csix_relation_spec.rb +80 -0
  1190. data/spec/models/domain_ddos_attack_source_spec.rb +128 -0
  1191. data/spec/models/domain_ddos_target_details_spec.rb +110 -0
  1192. data/spec/models/domain_detailed_notification_v1_spec.rb +74 -0
  1193. data/spec/models/domain_detects_entities_patch_request_spec.rb +86 -0
  1194. data/spec/models/domain_device_spec.rb +254 -0
  1195. data/spec/models/domain_discover_api_account_entities_response_spec.rb +68 -0
  1196. data/spec/models/domain_discover_api_account_spec.rb +170 -0
  1197. data/spec/models/domain_discover_api_active_discovery_host_spec.rb +62 -0
  1198. data/spec/models/domain_discover_api_active_discovery_network_spec.rb +56 -0
  1199. data/spec/models/domain_discover_api_application_entities_response_spec.rb +68 -0
  1200. data/spec/models/domain_discover_api_application_host_spec.rb +164 -0
  1201. data/spec/models/domain_discover_api_application_spec.rb +188 -0
  1202. data/spec/models/domain_discover_api_bios_hashes_data_spec.rb +62 -0
  1203. data/spec/models/domain_discover_api_device_slot_spec.rb +104 -0
  1204. data/spec/models/domain_discover_api_disk_size_spec.rb +62 -0
  1205. data/spec/models/domain_discover_api_field_metadata_spec.rb +56 -0
  1206. data/spec/models/domain_discover_api_host_entities_response_spec.rb +68 -0
  1207. data/spec/models/domain_discover_api_host_spec.rb +698 -0
  1208. data/spec/models/domain_discover_api_host_triage_spec.rb +86 -0
  1209. data/spec/models/domain_discover_api_login_entities_response_spec.rb +68 -0
  1210. data/spec/models/domain_discover_api_login_spec.rb +194 -0
  1211. data/spec/models/domain_discover_api_mount_storage_info_spec.rb +68 -0
  1212. data/spec/models/domain_discover_api_network_interface_spec.rb +80 -0
  1213. data/spec/models/domain_discover_apiio_t_host_entities_response_spec.rb +68 -0
  1214. data/spec/models/domain_discover_apiio_t_host_spec.rb +572 -0
  1215. data/spec/models/domain_discover_apios_security_spec.rb +110 -0
  1216. data/spec/models/domain_discover_params_spec.rb +62 -0
  1217. data/spec/models/domain_disposition_spec.rb +62 -0
  1218. data/spec/models/domain_e_crime_kill_chain_spec.rb +170 -0
  1219. data/spec/models/domain_entities_patch_request_spec.rb +68 -0
  1220. data/spec/models/domain_entity_action_request_spec.rb +62 -0
  1221. data/spec/models/domain_entity_spec.rb +74 -0
  1222. data/spec/models/domain_environment_score_spec.rb +80 -0
  1223. data/spec/models/domain_errors_only_spec.rb +62 -0
  1224. data/spec/models/domain_event_entities_response_spec.rb +68 -0
  1225. data/spec/models/domain_event_histogram_spec.rb +86 -0
  1226. data/spec/models/domain_event_spec.rb +134 -0
  1227. data/spec/models/domain_execution_metadata_summary_spec.rb +74 -0
  1228. data/spec/models/domain_execution_metadata_v1_spec.rb +92 -0
  1229. data/spec/models/domain_export_job_entities_response_v1_spec.rb +68 -0
  1230. data/spec/models/domain_export_job_id_response_v1_spec.rb +68 -0
  1231. data/spec/models/domain_export_job_metadata_v1_spec.rb +74 -0
  1232. data/spec/models/domain_export_job_v1_spec.rb +62 -0
  1233. data/spec/models/domain_exposed_data_record_financial_v1_spec.rb +68 -0
  1234. data/spec/models/domain_exposed_data_record_location_v1_spec.rb +86 -0
  1235. data/spec/models/domain_exposed_data_record_social_v1_spec.rb +98 -0
  1236. data/spec/models/domain_external_api_registry_spec.rb +128 -0
  1237. data/spec/models/domain_external_credential_response_spec.rb +86 -0
  1238. data/spec/models/domain_external_query_response_spec.rb +68 -0
  1239. data/spec/models/domain_external_registry_list_response_spec.rb +68 -0
  1240. data/spec/models/domain_external_registry_response_spec.rb +68 -0
  1241. data/spec/models/domain_field_spec.rb +74 -0
  1242. data/spec/models/domain_field_validation_spec.rb +92 -0
  1243. data/spec/models/domain_field_value_spec.rb +86 -0
  1244. data/spec/models/domain_file_count_spec.rb +80 -0
  1245. data/spec/models/domain_file_details_v1_spec.rb +74 -0
  1246. data/spec/models/domain_file_spec.rb +62 -0
  1247. data/spec/models/domain_file_v2_spec.rb +134 -0
  1248. data/spec/models/domain_gcp_account_v1_spec.rb +170 -0
  1249. data/spec/models/domain_image_spec.rb +68 -0
  1250. data/spec/models/domain_incident_spec.rb +224 -0
  1251. data/spec/models/domain_init_request_spec.rb +68 -0
  1252. data/spec/models/domain_init_response_spec.rb +92 -0
  1253. data/spec/models/domain_init_response_wrapper_spec.rb +68 -0
  1254. data/spec/models/domain_key_value_pair_spec.rb +62 -0
  1255. data/spec/models/domain_kill_chain_spec.rb +146 -0
  1256. data/spec/models/domain_last_scheduled_execution_spec.rb +74 -0
  1257. data/spec/models/domain_last_unscheduled_execution_spec.rb +74 -0
  1258. data/spec/models/domain_launch_export_job_request_v1_spec.rb +80 -0
  1259. data/spec/models/domain_launch_export_job_response_v1_spec.rb +68 -0
  1260. data/spec/models/domain_list_files_response_wrapper_spec.rb +68 -0
  1261. data/spec/models/domain_list_files_v2_response_wrapper_spec.rb +68 -0
  1262. data/spec/models/domain_list_sessions_response_msa_spec.rb +68 -0
  1263. data/spec/models/domain_malicious_file_spec.rb +122 -0
  1264. data/spec/models/domain_matched_breach_summary_v1_spec.rb +128 -0
  1265. data/spec/models/domain_matched_rule_spec.rb +68 -0
  1266. data/spec/models/domain_meta_info_spec.rb +74 -0
  1267. data/spec/models/domain_msa_detect_summaries_response_spec.rb +68 -0
  1268. data/spec/models/domain_msa_environment_score_response_spec.rb +68 -0
  1269. data/spec/models/domain_msa_external_behavior_response_spec.rb +68 -0
  1270. data/spec/models/domain_msa_external_incident_response_spec.rb +68 -0
  1271. data/spec/models/domain_msa_incident_perform_action_response_spec.rb +68 -0
  1272. data/spec/models/domain_msa_incident_query_response_spec.rb +68 -0
  1273. data/spec/models/domain_msa_qf_response_spec.rb +68 -0
  1274. data/spec/models/domain_mssp_role_request_v1_spec.rb +56 -0
  1275. data/spec/models/domain_mssp_role_response_v1_spec.rb +68 -0
  1276. data/spec/models/domain_mssp_roles_spec.rb +74 -0
  1277. data/spec/models/domain_multi_command_execute_response_spec.rb +56 -0
  1278. data/spec/models/domain_multi_command_execute_response_wrapper_spec.rb +68 -0
  1279. data/spec/models/domain_multi_pulse_sensor_response_spec.rb +68 -0
  1280. data/spec/models/domain_multi_status_sensor_response_spec.rb +116 -0
  1281. data/spec/models/domain_news_document_spec.rb +188 -0
  1282. data/spec/models/domain_news_response_spec.rb +68 -0
  1283. data/spec/models/domain_notification_config_spec.rb +80 -0
  1284. data/spec/models/domain_notification_details_response_v1_spec.rb +68 -0
  1285. data/spec/models/domain_notification_details_v1_spec.rb +110 -0
  1286. data/spec/models/domain_notification_entities_response_v1_spec.rb +68 -0
  1287. data/spec/models/domain_notification_id_response_spec.rb +68 -0
  1288. data/spec/models/domain_notification_v1_spec.rb +194 -0
  1289. data/spec/models/domain_notifications_spec.rb +68 -0
  1290. data/spec/models/domain_pastebin_text_source_spec.rb +80 -0
  1291. data/spec/models/domain_permission_spec.rb +62 -0
  1292. data/spec/models/domain_platform_spec.rb +62 -0
  1293. data/spec/models/domain_policy_info_spec.rb +344 -0
  1294. data/spec/models/domain_policy_setting_by_account_and_region_spec.rb +86 -0
  1295. data/spec/models/domain_public_indicator_v3_spec.rb +164 -0
  1296. data/spec/models/domain_public_indicators_v3_response_spec.rb +68 -0
  1297. data/spec/models/domain_queries_patch_request_spec.rb +74 -0
  1298. data/spec/models/domain_query_response_spec.rb +68 -0
  1299. data/spec/models/domain_queued_session_command_spec.rb +98 -0
  1300. data/spec/models/domain_queued_session_job_spec.rb +104 -0
  1301. data/spec/models/domain_queued_session_response_wrapper_spec.rb +68 -0
  1302. data/spec/models/domain_quota_spec.rb +62 -0
  1303. data/spec/models/domain_recon_api_error_detail_spec.rb +68 -0
  1304. data/spec/models/domain_recon_api_error_spec.rb +80 -0
  1305. data/spec/models/domain_register_actions_request_spec.rb +62 -0
  1306. data/spec/models/domain_registry_credentials_response_spec.rb +68 -0
  1307. data/spec/models/domain_report_execution_launch_request_v1_spec.rb +56 -0
  1308. data/spec/models/domain_report_execution_retry_request_v1_spec.rb +56 -0
  1309. data/spec/models/domain_report_execution_summary_v1_spec.rb +98 -0
  1310. data/spec/models/domain_report_execution_v1_spec.rb +170 -0
  1311. data/spec/models/domain_report_executions_response_v1_spec.rb +68 -0
  1312. data/spec/models/domain_report_metadata_spec.rb +92 -0
  1313. data/spec/models/domain_report_params_spec.rb +98 -0
  1314. data/spec/models/domain_result_metadata_spec.rb +122 -0
  1315. data/spec/models/domain_role_ids_spec.rb +56 -0
  1316. data/spec/models/domain_role_spec.rb +80 -0
  1317. data/spec/models/domain_rule_entities_response_spec.rb +68 -0
  1318. data/spec/models/domain_rule_meta_info_spec.rb +86 -0
  1319. data/spec/models/domain_rule_preview_request_spec.rb +62 -0
  1320. data/spec/models/domain_rule_query_response_v1_spec.rb +68 -0
  1321. data/spec/models/domain_rule_quota_spec.rb +68 -0
  1322. data/spec/models/domain_rule_spec.rb +98 -0
  1323. data/spec/models/domain_rules_entities_response_v1_spec.rb +68 -0
  1324. data/spec/models/domain_rules_response_spec.rb +68 -0
  1325. data/spec/models/domain_scan_host_metadata_spec.rb +128 -0
  1326. data/spec/models/domain_scan_metadata_spec.rb +110 -0
  1327. data/spec/models/domain_scan_profile_metadata_spec.rb +68 -0
  1328. data/spec/models/domain_scan_profile_spec.rb +218 -0
  1329. data/spec/models/domain_scan_schedule_data_v1_spec.rb +74 -0
  1330. data/spec/models/domain_scan_spec.rb +242 -0
  1331. data/spec/models/domain_schedule_spec.rb +68 -0
  1332. data/spec/models/domain_scheduled_report_v1_spec.rb +188 -0
  1333. data/spec/models/domain_scheduled_reports_result_v1_spec.rb +68 -0
  1334. data/spec/models/domain_script_help_spec.rb +92 -0
  1335. data/spec/models/domain_search_after_meta_spec.rb +74 -0
  1336. data/spec/models/domain_search_after_paging_spec.rb +68 -0
  1337. data/spec/models/domain_sensor_installer_v1_spec.rb +110 -0
  1338. data/spec/models/domain_sensor_installers_v1_spec.rb +68 -0
  1339. data/spec/models/domain_session_response_wrapper_spec.rb +68 -0
  1340. data/spec/models/domain_session_spec.rb +170 -0
  1341. data/spec/models/domain_signal_properties_spec.rb +104 -0
  1342. data/spec/models/domain_signal_property_spec.rb +80 -0
  1343. data/spec/models/domain_simple_actor_spec.rb +86 -0
  1344. data/spec/models/domain_spapi_combined_vulnerabilities_response_spec.rb +68 -0
  1345. data/spec/models/domain_spapi_evaluation_logic_combined_response_v1_spec.rb +68 -0
  1346. data/spec/models/domain_spapi_evaluation_logic_entities_response_v1_spec.rb +68 -0
  1347. data/spec/models/domain_spapi_query_meta_spec.rb +80 -0
  1348. data/spec/models/domain_spapi_query_paging_spec.rb +68 -0
  1349. data/spec/models/domain_spapi_query_response_spec.rb +68 -0
  1350. data/spec/models/domain_spapi_remediation_entities_response_v2_spec.rb +68 -0
  1351. data/spec/models/domain_spapi_vulnerabilities_entities_response_v2_spec.rb +68 -0
  1352. data/spec/models/domain_status_response_spec.rb +92 -0
  1353. data/spec/models/domain_status_response_wrapper_spec.rb +68 -0
  1354. data/spec/models/domain_tweet_source_spec.rb +80 -0
  1355. data/spec/models/domain_update_action_request_spec.rb +86 -0
  1356. data/spec/models/domain_update_notification_request_v1_spec.rb +68 -0
  1357. data/spec/models/domain_update_results_spec.rb +62 -0
  1358. data/spec/models/domain_update_rule_request_v1_spec.rb +92 -0
  1359. data/spec/models/domain_update_user_fields_spec.rb +62 -0
  1360. data/spec/models/domain_update_user_request_spec.rb +62 -0
  1361. data/spec/models/domain_user_action_request_spec.rb +62 -0
  1362. data/spec/models/domain_user_action_spec.rb +66 -0
  1363. data/spec/models/domain_user_create_request_spec.rb +74 -0
  1364. data/spec/models/domain_user_grants_spec.rb +110 -0
  1365. data/spec/models/domain_user_group_members_request_v1_spec.rb +56 -0
  1366. data/spec/models/domain_user_group_members_response_v1_spec.rb +68 -0
  1367. data/spec/models/domain_user_group_members_spec.rb +62 -0
  1368. data/spec/models/domain_user_group_spec.rb +74 -0
  1369. data/spec/models/domain_user_groups_request_v1_spec.rb +56 -0
  1370. data/spec/models/domain_user_groups_response_v1_spec.rb +68 -0
  1371. data/spec/models/domain_user_metadata_spec.rb +80 -0
  1372. data/spec/models/domain_user_role_spec.rb +74 -0
  1373. data/spec/models/domain_user_spec.rb +92 -0
  1374. data/spec/models/domain_value_item_spec.rb +62 -0
  1375. data/spec/models/domain_vulnerability_actor_spec.rb +62 -0
  1376. data/spec/models/domain_vulnerability_affected_product_spec.rb +62 -0
  1377. data/spec/models/domain_vulnerability_related_threat_spec.rb +62 -0
  1378. data/spec/models/domain_vulnerability_report_spec.rb +62 -0
  1379. data/spec/models/domain_vulnerability_response_spec.rb +68 -0
  1380. data/spec/models/domain_vulnerability_spec.rb +134 -0
  1381. data/spec/models/domain_xdr_data_spec.rb +56 -0
  1382. data/spec/models/domain_xdr_params_spec.rb +110 -0
  1383. data/spec/models/domain_zero_trust_simple_assessment_spec.rb +62 -0
  1384. data/spec/models/empowerapi_msa_pf_response_v1_spec.rb +68 -0
  1385. data/spec/models/empowerapi_msa_pf_response_v2_spec.rb +68 -0
  1386. data/spec/models/empowerapi_remote_command_put_file_v1_spec.rb +164 -0
  1387. data/spec/models/empowerapi_remote_command_put_file_v2_spec.rb +188 -0
  1388. data/spec/models/entities_ods_cancel_scan_request_spec.rb +56 -0
  1389. data/spec/models/entities_ods_scan_host_response_spec.rb +68 -0
  1390. data/spec/models/entities_ods_scan_malicious_file_response_spec.rb +68 -0
  1391. data/spec/models/entities_ods_scan_request_spec.rb +152 -0
  1392. data/spec/models/entities_ods_scan_response_spec.rb +68 -0
  1393. data/spec/models/entities_ods_schedule_scan_request_spec.rb +152 -0
  1394. data/spec/models/entities_ods_schedule_scan_response_spec.rb +68 -0
  1395. data/spec/models/exclusions_create_req_v1_spec.rb +74 -0
  1396. data/spec/models/exclusions_exclusion_v1_spec.rb +116 -0
  1397. data/spec/models/exclusions_resp_v1_spec.rb +68 -0
  1398. data/spec/models/falconx_actor_spec.rb +134 -0
  1399. data/spec/models/falconx_actor_summary_spec.rb +68 -0
  1400. data/spec/models/falconx_amsi_call_spec.rb +56 -0
  1401. data/spec/models/falconx_associated_runtime_spec.rb +62 -0
  1402. data/spec/models/falconx_c2_spec.rb +74 -0
  1403. data/spec/models/falconx_contacted_host_spec.rb +86 -0
  1404. data/spec/models/falconx_dns_request_spec.rb +98 -0
  1405. data/spec/models/falconx_entity_spec.rb +74 -0
  1406. data/spec/models/falconx_errors_only_spec.rb +68 -0
  1407. data/spec/models/falconx_extracted_file_spec.rb +122 -0
  1408. data/spec/models/falconx_extracted_interesting_string_spec.rb +80 -0
  1409. data/spec/models/falconx_file_access_spec.rb +68 -0
  1410. data/spec/models/falconx_file_import_spec.rb +62 -0
  1411. data/spec/models/falconx_file_metadata_spec.rb +68 -0
  1412. data/spec/models/falconx_handle_spec.rb +68 -0
  1413. data/spec/models/falconx_http_request_spec.rb +98 -0
  1414. data/spec/models/falconx_incident_spec.rb +62 -0
  1415. data/spec/models/falconx_intel_report_v1_spec.rb +68 -0
  1416. data/spec/models/falconx_intel_summary_report_v1_spec.rb +56 -0
  1417. data/spec/models/falconx_intel_x_report_v1_spec.rb +62 -0
  1418. data/spec/models/falconx_malquery_error_v1_spec.rb +62 -0
  1419. data/spec/models/falconx_malquery_report_v1_spec.rb +80 -0
  1420. data/spec/models/falconx_malquery_resource_spec.rb +98 -0
  1421. data/spec/models/falconx_malware_config_spec.rb +128 -0
  1422. data/spec/models/falconx_matched_signature_spec.rb +62 -0
  1423. data/spec/models/falconx_memory_dump_data_spec.rb +116 -0
  1424. data/spec/models/falconx_memory_forensic_spec.rb +62 -0
  1425. data/spec/models/falconx_meta_info_spec.rb +62 -0
  1426. data/spec/models/falconx_mitre_attack_parent_spec.rb +68 -0
  1427. data/spec/models/falconx_mitre_attack_spec.rb +98 -0
  1428. data/spec/models/falconx_parameter_spec.rb +80 -0
  1429. data/spec/models/falconx_process_flag_spec.rb +62 -0
  1430. data/spec/models/falconx_process_spec.rb +146 -0
  1431. data/spec/models/falconx_query_response_spec.rb +68 -0
  1432. data/spec/models/falconx_quota_spec.rb +68 -0
  1433. data/spec/models/falconx_registry_spec.rb +86 -0
  1434. data/spec/models/falconx_related_indicator_spec.rb +80 -0
  1435. data/spec/models/falconx_report_v1_response_spec.rb +68 -0
  1436. data/spec/models/falconx_report_v1_spec.rb +194 -0
  1437. data/spec/models/falconx_sandbox_parameters_v1_spec.rb +116 -0
  1438. data/spec/models/falconx_sandbox_report_v1_spec.rb +350 -0
  1439. data/spec/models/falconx_sandbox_summary_report_v1_spec.rb +146 -0
  1440. data/spec/models/falconx_script_call_spec.rb +86 -0
  1441. data/spec/models/falconx_signature_spec.rb +110 -0
  1442. data/spec/models/falconx_stream_spec.rb +86 -0
  1443. data/spec/models/falconx_submission_parameters_v1_spec.rb +68 -0
  1444. data/spec/models/falconx_submission_v1_response_spec.rb +68 -0
  1445. data/spec/models/falconx_submission_v1_spec.rb +122 -0
  1446. data/spec/models/falconx_summary_report_v1_response_spec.rb +68 -0
  1447. data/spec/models/falconx_summary_report_v1_spec.rb +164 -0
  1448. data/spec/models/falconx_suricata_alert_spec.rb +86 -0
  1449. data/spec/models/falconx_threat_graph_indicator_v1_spec.rb +74 -0
  1450. data/spec/models/falconx_threat_graph_report_v1_spec.rb +56 -0
  1451. data/spec/models/falconx_url_data_spec.rb +68 -0
  1452. data/spec/models/falconx_version_info_spec.rb +62 -0
  1453. data/spec/models/firewall_create_firewall_policies_req_v1_spec.rb +56 -0
  1454. data/spec/models/firewall_create_firewall_policy_req_v1_spec.rb +78 -0
  1455. data/spec/models/firewall_policy_v1_spec.rb +132 -0
  1456. data/spec/models/firewall_resp_v1_spec.rb +68 -0
  1457. data/spec/models/firewall_update_firewall_policies_req_v1_spec.rb +56 -0
  1458. data/spec/models/firewall_update_firewall_policy_req_v1_spec.rb +68 -0
  1459. data/spec/models/flightcontrolapi_get_roles_response_spec.rb +68 -0
  1460. data/spec/models/flightcontrolapi_user_grant_response_spec.rb +68 -0
  1461. data/spec/models/flightcontrolapi_user_response_spec.rb +68 -0
  1462. data/spec/models/fwmgr_api_aggregates_response_spec.rb +68 -0
  1463. data/spec/models/fwmgr_api_events_response_spec.rb +68 -0
  1464. data/spec/models/fwmgr_api_filepath_test_request_spec.rb +62 -0
  1465. data/spec/models/fwmgr_api_filepath_test_result_spec.rb +68 -0
  1466. data/spec/models/fwmgr_api_firewall_fields_response_spec.rb +68 -0
  1467. data/spec/models/fwmgr_api_firewall_fields_v1_spec.rb +74 -0
  1468. data/spec/models/fwmgr_api_json_diff_spec.rb +74 -0
  1469. data/spec/models/fwmgr_api_meta_info_spec.rb +80 -0
  1470. data/spec/models/fwmgr_api_network_location_create_request_v1_spec.rb +116 -0
  1471. data/spec/models/fwmgr_api_network_location_modify_metadata_request_v1_spec.rb +80 -0
  1472. data/spec/models/fwmgr_api_network_location_modify_precedence_request_v1_spec.rb +62 -0
  1473. data/spec/models/fwmgr_api_network_location_modify_request_v1_spec.rb +146 -0
  1474. data/spec/models/fwmgr_api_network_location_summaries_response_spec.rb +68 -0
  1475. data/spec/models/fwmgr_api_network_location_summary_v1_spec.rb +110 -0
  1476. data/spec/models/fwmgr_api_network_locations_metadata_v1_spec.rb +68 -0
  1477. data/spec/models/fwmgr_api_network_locations_response_spec.rb +68 -0
  1478. data/spec/models/fwmgr_api_network_locations_v1_spec.rb +164 -0
  1479. data/spec/models/fwmgr_api_platforms_response_spec.rb +68 -0
  1480. data/spec/models/fwmgr_api_policy_container_upsert_request_v1_spec.rb +110 -0
  1481. data/spec/models/fwmgr_api_policy_containers_response_spec.rb +68 -0
  1482. data/spec/models/fwmgr_api_query_paging_spec.rb +74 -0
  1483. data/spec/models/fwmgr_api_query_response_spec.rb +68 -0
  1484. data/spec/models/fwmgr_api_rule_create_request_v1_spec.rb +158 -0
  1485. data/spec/models/fwmgr_api_rule_group_create_request_v1_spec.rb +80 -0
  1486. data/spec/models/fwmgr_api_rule_group_modify_request_v1_spec.rb +86 -0
  1487. data/spec/models/fwmgr_api_rule_group_v1_spec.rb +134 -0
  1488. data/spec/models/fwmgr_api_rule_groups_response_spec.rb +68 -0
  1489. data/spec/models/fwmgr_api_rules_response_spec.rb +68 -0
  1490. data/spec/models/fwmgr_api_validate_filepath_response_spec.rb +68 -0
  1491. data/spec/models/fwmgr_api_workaround_ui_field_value_spec.rb +86 -0
  1492. data/spec/models/fwmgr_domain_address_range_spec.rb +62 -0
  1493. data/spec/models/fwmgr_domain_connection_type_spec.rb +62 -0
  1494. data/spec/models/fwmgr_domain_dns_resolution_targets_spec.rb +56 -0
  1495. data/spec/models/fwmgr_domain_dns_resolution_targets_with_polling_spec.rb +62 -0
  1496. data/spec/models/fwmgr_domain_dns_target_spec.rb +62 -0
  1497. data/spec/models/fwmgr_domain_field_spec.rb +74 -0
  1498. data/spec/models/fwmgr_domain_https_hosts_spec.rb +56 -0
  1499. data/spec/models/fwmgr_domain_https_hosts_with_polling_spec.rb +62 -0
  1500. data/spec/models/fwmgr_domain_icmp_spec.rb +62 -0
  1501. data/spec/models/fwmgr_domain_icmp_targets_spec.rb +56 -0
  1502. data/spec/models/fwmgr_domain_icmp_targets_with_polling_spec.rb +62 -0
  1503. data/spec/models/fwmgr_domain_monitoring_spec.rb +62 -0
  1504. data/spec/models/fwmgr_domain_platform_spec.rb +62 -0
  1505. data/spec/models/fwmgr_domain_port_range_spec.rb +62 -0
  1506. data/spec/models/fwmgr_domain_value_item_spec.rb +62 -0
  1507. data/spec/models/fwmgr_domain_wireless_type_spec.rb +68 -0
  1508. data/spec/models/fwmgr_firewall_address_range_spec.rb +62 -0
  1509. data/spec/models/fwmgr_firewall_field_value_spec.rb +86 -0
  1510. data/spec/models/fwmgr_firewall_flags_spec.rb +68 -0
  1511. data/spec/models/fwmgr_firewall_icmp_spec.rb +62 -0
  1512. data/spec/models/fwmgr_firewall_match_event_response_spec.rb +254 -0
  1513. data/spec/models/fwmgr_firewall_monitoring_spec.rb +62 -0
  1514. data/spec/models/fwmgr_firewall_policy_container_v1_spec.rb +140 -0
  1515. data/spec/models/fwmgr_firewall_port_range_spec.rb +62 -0
  1516. data/spec/models/fwmgr_firewall_rule_group_summary_v1_spec.rb +110 -0
  1517. data/spec/models/fwmgr_firewall_rule_v1_spec.rb +212 -0
  1518. data/spec/models/fwmgr_msa_aggregate_query_request_spec.rb +158 -0
  1519. data/spec/models/fwmgr_msa_aggregation_result_item_spec.rb +110 -0
  1520. data/spec/models/fwmgr_msa_aggregation_result_spec.rb +68 -0
  1521. data/spec/models/fwmgr_msa_date_range_spec_spec.rb +62 -0
  1522. data/spec/models/fwmgr_msa_range_spec_spec.rb +62 -0
  1523. data/spec/models/fwmgr_msaspec_error_spec.rb +68 -0
  1524. data/spec/models/fwmgr_msaspec_meta_info_spec.rb +80 -0
  1525. data/spec/models/fwmgr_msaspec_paging_spec.rb +68 -0
  1526. data/spec/models/fwmgr_msaspec_query_response_spec.rb +68 -0
  1527. data/spec/models/fwmgr_msaspec_response_fields_spec.rb +62 -0
  1528. data/spec/models/fwmgr_msaspec_writes_spec.rb +56 -0
  1529. data/spec/models/host_groups_create_group_req_v1_spec.rb +78 -0
  1530. data/spec/models/host_groups_create_groups_req_v1_spec.rb +56 -0
  1531. data/spec/models/host_groups_host_group_v1_spec.rb +108 -0
  1532. data/spec/models/host_groups_members_resp_v1_spec.rb +68 -0
  1533. data/spec/models/host_groups_resp_v1_spec.rb +68 -0
  1534. data/spec/models/host_groups_update_group_req_v1_spec.rb +74 -0
  1535. data/spec/models/host_groups_update_groups_req_v1_spec.rb +56 -0
  1536. data/spec/models/ioa_cloud_account_id_spec.rb +68 -0
  1537. data/spec/models/ioa_enrichments_spec.rb +62 -0
  1538. data/spec/models/ioa_event_aggregate_spec.rb +116 -0
  1539. data/spec/models/ioa_exclusions_ioa_exclusion_create_req_v1_spec.rb +104 -0
  1540. data/spec/models/ioa_exclusions_ioa_exclusion_resp_v1_spec.rb +134 -0
  1541. data/spec/models/ioa_exclusions_ioa_exclusion_update_req_v1_spec.rb +110 -0
  1542. data/spec/models/ioa_exclusions_ioa_exclusions_resp_v1_spec.rb +68 -0
  1543. data/spec/models/ioa_rule_groups_rule_group_v1_spec.rb +140 -0
  1544. data/spec/models/iocapi_ioc_devices_count_spec.rb +80 -0
  1545. data/spec/models/iocapi_msa_reply_devices_ran_on_spec.rb +68 -0
  1546. data/spec/models/iocapi_msa_reply_ioc_devices_count_spec.rb +68 -0
  1547. data/spec/models/iocapi_msa_reply_processes_ran_on_spec.rb +68 -0
  1548. data/spec/models/iocapi_pagination_meta_spec.rb +74 -0
  1549. data/spec/models/iocapi_response_meta_spec.rb +74 -0
  1550. data/spec/models/k8sreg_account_permissions_status_spec.rb +62 -0
  1551. data/spec/models/k8sreg_api_key_spec.rb +56 -0
  1552. data/spec/models/k8sreg_aws_account_resp_spec.rb +122 -0
  1553. data/spec/models/k8sreg_aws_cluster_item_resp_spec.rb +68 -0
  1554. data/spec/models/k8sreg_azure_acct_cluster_item_resp_spec.rb +56 -0
  1555. data/spec/models/k8sreg_azure_bash_script_spec.rb +62 -0
  1556. data/spec/models/k8sreg_azure_sub_entity_spec.rb +62 -0
  1557. data/spec/models/k8sreg_azure_subscription_resp_spec.rb +92 -0
  1558. data/spec/models/k8sreg_azure_tenant_config_spec.rb +68 -0
  1559. data/spec/models/k8sreg_azure_tenant_info_spec.rb +62 -0
  1560. data/spec/models/k8sreg_cluster_resp_spec.rb +128 -0
  1561. data/spec/models/k8sreg_create_aws_acc_req_resources_spec.rb +62 -0
  1562. data/spec/models/k8sreg_create_aws_acc_req_spec.rb +56 -0
  1563. data/spec/models/k8sreg_create_aws_acc_resp_spec.rb +68 -0
  1564. data/spec/models/k8sreg_create_azure_sub_req_spec.rb +56 -0
  1565. data/spec/models/k8sreg_get_aws_accounts_resp_spec.rb +68 -0
  1566. data/spec/models/k8sreg_get_azure_bash_script_resp_spec.rb +68 -0
  1567. data/spec/models/k8sreg_get_azure_subscriptions_resp_spec.rb +68 -0
  1568. data/spec/models/k8sreg_get_azure_tenant_config_resp_spec.rb +68 -0
  1569. data/spec/models/k8sreg_get_azure_tenant_info_resp_spec.rb +68 -0
  1570. data/spec/models/k8sreg_get_clusters_resp_spec.rb +68 -0
  1571. data/spec/models/k8sreg_get_locations_resp_spec.rb +68 -0
  1572. data/spec/models/k8sreg_get_scripts_resp_spec.rb +68 -0
  1573. data/spec/models/k8sreg_list_cluster_cloud_item_resp_spec.rb +104 -0
  1574. data/spec/models/k8sreg_list_cluster_cloud_resp_spec.rb +68 -0
  1575. data/spec/models/k8sreg_location_resp_spec.rb +62 -0
  1576. data/spec/models/k8sreg_regen_api_key_resp_spec.rb +68 -0
  1577. data/spec/models/k8sreg_version_resp_spec.rb +68 -0
  1578. data/spec/models/main_available_stream_v2_spec.rb +74 -0
  1579. data/spec/models/main_discovery_response_v2_spec.rb +68 -0
  1580. data/spec/models/main_session_token_spec.rb +62 -0
  1581. data/spec/models/malquery_external_exact_search_parameters_v1_spec.rb +62 -0
  1582. data/spec/models/malquery_external_hunt_options_spec.rb +92 -0
  1583. data/spec/models/malquery_external_hunt_parameters_v1_spec.rb +62 -0
  1584. data/spec/models/malquery_external_query_response_spec.rb +68 -0
  1585. data/spec/models/malquery_external_resource_spec.rb +146 -0
  1586. data/spec/models/malquery_fuzzy_options_spec.rb +62 -0
  1587. data/spec/models/malquery_fuzzy_search_meta_info_spec.rb +98 -0
  1588. data/spec/models/malquery_fuzzy_search_parameters_v1_spec.rb +62 -0
  1589. data/spec/models/malquery_fuzzy_search_response_spec.rb +68 -0
  1590. data/spec/models/malquery_multi_download_request_v1_spec.rb +56 -0
  1591. data/spec/models/malquery_query_error_spec.rb +74 -0
  1592. data/spec/models/malquery_query_meta_info_spec.rb +92 -0
  1593. data/spec/models/malquery_rate_limits_meta_spec.rb +110 -0
  1594. data/spec/models/malquery_rate_limits_response_spec.rb +62 -0
  1595. data/spec/models/malquery_request_meta_info_spec.rb +128 -0
  1596. data/spec/models/malquery_request_response_spec.rb +68 -0
  1597. data/spec/models/malquery_sample_metadata_response_spec.rb +68 -0
  1598. data/spec/models/malquery_sample_metadata_spec.rb +98 -0
  1599. data/spec/models/malquery_samples_metadata_meta_info_spec.rb +86 -0
  1600. data/spec/models/malquery_search_parameter_spec.rb +62 -0
  1601. data/spec/models/malquery_stats_spec.rb +80 -0
  1602. data/spec/models/malquery_user_request_count_spec.rb +62 -0
  1603. data/spec/models/messages_activity_spec.rb +104 -0
  1604. data/spec/models/messages_alert_spec.rb +68 -0
  1605. data/spec/models/messages_attachment_spec.rb +86 -0
  1606. data/spec/models/messages_author_spec.rb +86 -0
  1607. data/spec/models/messages_case_spec.rb +146 -0
  1608. data/spec/models/messages_detection_spec.rb +62 -0
  1609. data/spec/models/messages_incident_spec.rb +62 -0
  1610. data/spec/models/mlscannerapi_meta_info_spec.rb +86 -0
  1611. data/spec/models/mlscannerapi_query_response_spec.rb +68 -0
  1612. data/spec/models/mlscannerapi_quota_spec.rb +68 -0
  1613. data/spec/models/mlscannerapi_samples_scan_parameters_spec.rb +56 -0
  1614. data/spec/models/mlscannerapi_samples_scan_result_spec.rb +80 -0
  1615. data/spec/models/mlscannerapi_scan_v1_response_spec.rb +68 -0
  1616. data/spec/models/mlscannerapi_scanned_sample_spec.rb +68 -0
  1617. data/spec/models/model_argument_spec.rb +140 -0
  1618. data/spec/models/model_file_spec.rb +104 -0
  1619. data/spec/models/model_session_log_spec.rb +98 -0
  1620. data/spec/models/models_access_health_details_spec.rb +68 -0
  1621. data/spec/models/models_application_library_spec.rb +92 -0
  1622. data/spec/models/models_application_package_info_type_spec.rb +62 -0
  1623. data/spec/models/models_aws_account_access_health_spec.rb +56 -0
  1624. data/spec/models/models_aws_account_request_v1_spec.rb +92 -0
  1625. data/spec/models/models_aws_account_v1_spec.rb +158 -0
  1626. data/spec/models/models_aws_accounts_v1_spec.rb +68 -0
  1627. data/spec/models/models_aws_customer_settings_request_v1_spec.rb +62 -0
  1628. data/spec/models/models_base_response_v1_spec.rb +62 -0
  1629. data/spec/models/models_create_aws_accounts_v1_spec.rb +56 -0
  1630. data/spec/models/models_customer_configurations_v1_spec.rb +68 -0
  1631. data/spec/models/models_modify_aws_customer_settings_v1_spec.rb +56 -0
  1632. data/spec/models/models_package_info_type_spec.rb +110 -0
  1633. data/spec/models/models_update_aws_accounts_v1_spec.rb +56 -0
  1634. data/spec/models/models_verify_access_response_v1_spec.rb +68 -0
  1635. data/spec/models/msa_affected_entity_spec.rb +62 -0
  1636. data/spec/models/msa_aggregate_query_request_spec.rb +158 -0
  1637. data/spec/models/msa_aggregates_response_spec.rb +68 -0
  1638. data/spec/models/msa_aggregation_result_item_spec.rb +110 -0
  1639. data/spec/models/msa_aggregation_result_spec.rb +68 -0
  1640. data/spec/models/msa_api_error_spec.rb +68 -0
  1641. data/spec/models/msa_base_entities_response_spec.rb +62 -0
  1642. data/spec/models/msa_date_range_spec_spec.rb +62 -0
  1643. data/spec/models/msa_entities_response_spec.rb +68 -0
  1644. data/spec/models/msa_entity_action_request_spec.rb +56 -0
  1645. data/spec/models/msa_entity_action_request_v2_spec.rb +62 -0
  1646. data/spec/models/msa_errors_only_spec.rb +62 -0
  1647. data/spec/models/msa_facet_spec.rb +80 -0
  1648. data/spec/models/msa_facets_response_spec.rb +68 -0
  1649. data/spec/models/msa_ids_request_spec.rb +56 -0
  1650. data/spec/models/msa_meta_info_spec.rb +80 -0
  1651. data/spec/models/msa_paging_spec.rb +68 -0
  1652. data/spec/models/msa_query_response_spec.rb +68 -0
  1653. data/spec/models/msa_range_spec_spec.rb +62 -0
  1654. data/spec/models/msa_reply_affected_entities_spec.rb +68 -0
  1655. data/spec/models/msa_reply_meta_only_spec.rb +62 -0
  1656. data/spec/models/msa_resources_spec.rb +56 -0
  1657. data/spec/models/msaspec_action_parameter_spec.rb +62 -0
  1658. data/spec/models/msaspec_error_spec.rb +68 -0
  1659. data/spec/models/msaspec_ids_request_spec.rb +56 -0
  1660. data/spec/models/msaspec_meta_info_spec.rb +80 -0
  1661. data/spec/models/msaspec_paging_spec.rb +68 -0
  1662. data/spec/models/msaspec_query_response_spec.rb +68 -0
  1663. data/spec/models/msaspec_response_fields_spec.rb +62 -0
  1664. data/spec/models/msaspec_writes_spec.rb +56 -0
  1665. data/spec/models/oauth2_access_token_request_spec.rb +68 -0
  1666. data/spec/models/patterndisposition_pattern_disposition_spec.rb +182 -0
  1667. data/spec/models/policy_sensor_update_schedule_spec.rb +68 -0
  1668. data/spec/models/policy_sensor_update_scheduler_spec.rb +68 -0
  1669. data/spec/models/prevention_category_resp_v1_spec.rb +62 -0
  1670. data/spec/models/prevention_create_policies_req_v1_spec.rb +56 -0
  1671. data/spec/models/prevention_create_policy_req_v1_spec.rb +84 -0
  1672. data/spec/models/prevention_policy_v1_spec.rb +132 -0
  1673. data/spec/models/prevention_resp_v1_spec.rb +68 -0
  1674. data/spec/models/prevention_setting_req_v1_spec.rb +62 -0
  1675. data/spec/models/prevention_setting_resp_v1_spec.rb +84 -0
  1676. data/spec/models/prevention_update_policies_req_v1_spec.rb +56 -0
  1677. data/spec/models/prevention_update_policy_req_v1_spec.rb +74 -0
  1678. data/spec/models/processesapi_msa_process_detail_response_spec.rb +68 -0
  1679. data/spec/models/processesapi_process_detail_spec.rb +104 -0
  1680. data/spec/models/public_acl_spec.rb +74 -0
  1681. data/spec/models/public_after_spec.rb +62 -0
  1682. data/spec/models/public_attribute_spec.rb +62 -0
  1683. data/spec/models/public_basic_spec.rb +68 -0
  1684. data/spec/models/public_before_spec.rb +62 -0
  1685. data/spec/models/public_change_spec.rb +230 -0
  1686. data/spec/models/public_dacl_entity_spec.rb +74 -0
  1687. data/spec/models/public_dacl_spec.rb +62 -0
  1688. data/spec/models/public_diff_hash_spec.rb +56 -0
  1689. data/spec/models/public_diff_spec.rb +56 -0
  1690. data/spec/models/public_diff_type_spec.rb +56 -0
  1691. data/spec/models/public_get_changes_response_spec.rb +68 -0
  1692. data/spec/models/public_group_spec.rb +62 -0
  1693. data/spec/models/public_host_group_spec.rb +56 -0
  1694. data/spec/models/public_host_spec.rb +92 -0
  1695. data/spec/models/public_owner_spec.rb +62 -0
  1696. data/spec/models/public_permissions_lin_spec.rb +86 -0
  1697. data/spec/models/public_permissions_spec.rb +74 -0
  1698. data/spec/models/public_policy_rule_group_spec.rb +62 -0
  1699. data/spec/models/public_policy_rule_spec.rb +56 -0
  1700. data/spec/models/public_policy_spec.rb +62 -0
  1701. data/spec/models/public_prevalence_spec.rb +74 -0
  1702. data/spec/models/public_tag_spec.rb +56 -0
  1703. data/spec/models/quarantine_quarantined_file_path_spec.rb +74 -0
  1704. data/spec/models/quarantine_quarantined_file_spec.rb +152 -0
  1705. data/spec/models/reconmsa_api_error_detail_spec.rb +68 -0
  1706. data/spec/models/reconmsa_api_error_spec.rb +80 -0
  1707. data/spec/models/registration_aws_account_console_url_spec.rb +62 -0
  1708. data/spec/models/registration_aws_account_create_request_d4_c_ext_v2_spec.rb +56 -0
  1709. data/spec/models/registration_aws_account_create_request_ext_v2_spec.rb +56 -0
  1710. data/spec/models/registration_aws_account_d4_c_ext_v2_spec.rb +86 -0
  1711. data/spec/models/registration_aws_account_ext_v2_spec.rb +104 -0
  1712. data/spec/models/registration_aws_account_patch_request_spec.rb +56 -0
  1713. data/spec/models/registration_aws_account_patch_spec.rb +92 -0
  1714. data/spec/models/registration_aws_account_response_v2_spec.rb +68 -0
  1715. data/spec/models/registration_aws_account_script_spec.rb +56 -0
  1716. data/spec/models/registration_aws_provision_get_account_script_response_v2_spec.rb +68 -0
  1717. data/spec/models/registration_azure_account_create_request_external_v1_spec.rb +56 -0
  1718. data/spec/models/registration_azure_account_external_v1_spec.rb +86 -0
  1719. data/spec/models/registration_azure_account_response_v1_spec.rb +68 -0
  1720. data/spec/models/registration_azure_account_v1_ext_spec.rb +176 -0
  1721. data/spec/models/registration_azure_download_certificate_response_v1_spec.rb +68 -0
  1722. data/spec/models/registration_azure_key_v1_spec.rb +86 -0
  1723. data/spec/models/registration_azure_provision_get_user_script_response_v1_spec.rb +68 -0
  1724. data/spec/models/registration_azure_tenant_configuration_response_v1_spec.rb +68 -0
  1725. data/spec/models/registration_azure_tenant_default_subscription_id_response_v1_spec.rb +68 -0
  1726. data/spec/models/registration_azure_tenant_ids_response_v1_resources_spec.rb +62 -0
  1727. data/spec/models/registration_azure_tenant_ids_response_v1_spec.rb +68 -0
  1728. data/spec/models/registration_azure_user_script_spec.rb +62 -0
  1729. data/spec/models/registration_external_ioa_event_response_spec.rb +68 -0
  1730. data/spec/models/registration_external_ioa_resources_spec.rb +68 -0
  1731. data/spec/models/registration_external_iom_event_response_spec.rb +68 -0
  1732. data/spec/models/registration_external_iom_event_response_v2_spec.rb +68 -0
  1733. data/spec/models/registration_gcp_account_create_request_ext_v1_spec.rb +56 -0
  1734. data/spec/models/registration_gcp_account_ext_v1_spec.rb +62 -0
  1735. data/spec/models/registration_gcp_account_response_v1_spec.rb +68 -0
  1736. data/spec/models/registration_gcp_provision_get_user_script_response_v1_spec.rb +68 -0
  1737. data/spec/models/registration_gcp_user_script_spec.rb +62 -0
  1738. data/spec/models/registration_ioa_event_spec.rb +278 -0
  1739. data/spec/models/registration_iom_event_ids_response_v2_spec.rb +68 -0
  1740. data/spec/models/registration_iom_event_spec.rb +176 -0
  1741. data/spec/models/registration_iom_event_v2_spec.rb +218 -0
  1742. data/spec/models/registration_iom_resources_spec.rb +56 -0
  1743. data/spec/models/registration_msa_meta_info_extension_spec.rb +62 -0
  1744. data/spec/models/registration_msa_paging_extension_spec.rb +62 -0
  1745. data/spec/models/registration_msa_spec_meta_info_extension_spec.rb +62 -0
  1746. data/spec/models/registration_policy_ext_v1_spec.rb +92 -0
  1747. data/spec/models/registration_policy_request_ext_v1_spec.rb +56 -0
  1748. data/spec/models/registration_policy_response_v1_spec.rb +68 -0
  1749. data/spec/models/registration_policy_settings_response_v1_spec.rb +68 -0
  1750. data/spec/models/registration_scan_schedule_response_v1_spec.rb +68 -0
  1751. data/spec/models/registration_scan_schedule_update_request_v1_spec.rb +56 -0
  1752. data/spec/models/registration_static_scripts_response_spec.rb +68 -0
  1753. data/spec/models/registryassessment_external_cred_payload_spec.rb +56 -0
  1754. data/spec/models/registryassessment_external_registry_patch_payload_spec.rb +68 -0
  1755. data/spec/models/registryassessment_external_registry_payload_spec.rb +80 -0
  1756. data/spec/models/remote_response_create_policies_v1_spec.rb +56 -0
  1757. data/spec/models/remote_response_create_policy_req_v1_spec.rb +84 -0
  1758. data/spec/models/remote_response_policy_v1_spec.rb +126 -0
  1759. data/spec/models/remote_response_resp_v1_spec.rb +68 -0
  1760. data/spec/models/remote_response_update_policies_req_v1_spec.rb +56 -0
  1761. data/spec/models/remote_response_update_policy_req_v1_spec.rb +74 -0
  1762. data/spec/models/resource_spec.rb +62 -0
  1763. data/spec/models/resources_spec.rb +68 -0
  1764. data/spec/models/sadomain_create_rule_request_v1_spec.rb +92 -0
  1765. data/spec/models/sadomain_customer_assets_spec.rb +62 -0
  1766. data/spec/models/sadomain_rule_spec.rb +152 -0
  1767. data/spec/models/sadomain_submit_for_blocking_info_spec.rb +68 -0
  1768. data/spec/models/sadomain_typosquatting_base_domain_spec.rb +86 -0
  1769. data/spec/models/sadomain_typosquatting_component_spec.rb +86 -0
  1770. data/spec/models/sadomain_typosquatting_parent_domain_spec.rb +68 -0
  1771. data/spec/models/sadomain_whois_record_spec.rb +92 -0
  1772. data/spec/models/sadomain_whois_registrant_spec.rb +68 -0
  1773. data/spec/models/sadomain_whois_registrar_spec.rb +62 -0
  1774. data/spec/models/schema_sensor_event_field_spec.rb +74 -0
  1775. data/spec/models/schema_sensor_event_response_v1_spec.rb +68 -0
  1776. data/spec/models/schema_sensor_event_spec.rb +92 -0
  1777. data/spec/models/schema_sensor_field_response_v1_spec.rb +68 -0
  1778. data/spec/models/schema_sensor_field_spec.rb +86 -0
  1779. data/spec/models/schema_sensor_field_value_spec.rb +68 -0
  1780. data/spec/models/sensor_update_build_req_v1_spec.rb +62 -0
  1781. data/spec/models/sensor_update_build_resp_v1_spec.rb +78 -0
  1782. data/spec/models/sensor_update_builds_resp_v1_spec.rb +68 -0
  1783. data/spec/models/sensor_update_create_policies_req_v1_spec.rb +56 -0
  1784. data/spec/models/sensor_update_create_policies_req_v2_spec.rb +56 -0
  1785. data/spec/models/sensor_update_create_policy_req_v1_spec.rb +78 -0
  1786. data/spec/models/sensor_update_create_policy_req_v2_spec.rb +78 -0
  1787. data/spec/models/sensor_update_kernel_resp_v1_spec.rb +128 -0
  1788. data/spec/models/sensor_update_kernels_resp_v1_spec.rb +68 -0
  1789. data/spec/models/sensor_update_policy_v1_spec.rb +126 -0
  1790. data/spec/models/sensor_update_policy_v2_spec.rb +126 -0
  1791. data/spec/models/sensor_update_resp_v1_spec.rb +68 -0
  1792. data/spec/models/sensor_update_resp_v2_spec.rb +68 -0
  1793. data/spec/models/sensor_update_settings_req_v1_spec.rb +56 -0
  1794. data/spec/models/sensor_update_settings_req_v2_spec.rb +84 -0
  1795. data/spec/models/sensor_update_settings_resp_v1_spec.rb +56 -0
  1796. data/spec/models/sensor_update_settings_resp_v2_spec.rb +100 -0
  1797. data/spec/models/sensor_update_update_policies_req_v1_spec.rb +56 -0
  1798. data/spec/models/sensor_update_update_policies_req_v2_spec.rb +56 -0
  1799. data/spec/models/sensor_update_update_policy_req_v1_spec.rb +74 -0
  1800. data/spec/models/sensor_update_update_policy_req_v2_spec.rb +74 -0
  1801. data/spec/models/state_online_state_resp_v1_spec.rb +68 -0
  1802. data/spec/models/state_online_state_result_v1_spec.rb +74 -0
  1803. data/spec/models/sv_exclusions_create_req_v1_spec.rb +68 -0
  1804. data/spec/models/sv_exclusions_resp_v1_spec.rb +68 -0
  1805. data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +110 -0
  1806. data/spec/models/sv_exclusions_update_req_v1_spec.rb +74 -0
  1807. data/spec/models/threatgraph_crawl_edges_request_spec.rb +86 -0
  1808. data/spec/models/uninstall_token_resp_v1_spec.rb +68 -0
  1809. data/spec/models/uninstall_token_reveal_uninstall_token_req_v1_spec.rb +62 -0
  1810. data/spec/models/uninstall_token_uninstall_token_v1_spec.rb +68 -0
  1811. data/spec/models/upload_sample_v2_request_spec.rb +74 -0
  1812. data/spec/spec_helper.rb +133 -0
  1813. metadata +2816 -0
@@ -0,0 +1,1848 @@
1
+ =begin
2
+ Crimson Falcon - Ruby Client SDK
3
+
4
+ Code auto-generated by OpenAPI Generator; DO NOT EDIT.
5
+
6
+ This is free and unencumbered software released into the public domain.
7
+
8
+ Anyone is free to copy, modify, publish, use, compile, sell, or
9
+ distribute this software, either in source code form or as a compiled
10
+ binary, for any purpose, commercial or non-commercial, and by any
11
+ means.
12
+
13
+ In jurisdictions that recognize copyright laws, the author or authors
14
+ of this software dedicate any and all copyright interest in the
15
+ software to the public domain. We make this dedication for the benefit
16
+ of the public at large and to the detriment of our heirs and
17
+ successors. We intend this dedication to be an overt act of
18
+ relinquishment in perpetuity of all present and future rights to this
19
+ software under copyright law.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
25
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
26
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27
+ OTHER DEALINGS IN THE SOFTWARE.
28
+
29
+ For more information, please refer to <https://unlicense.org>
30
+
31
+ CrowdStrike Swagger API Version: 2023-05-30T23:10:32Z
32
+
33
+ =end
34
+
35
+ require 'cgi'
36
+
37
+ module Falcon
38
+ class CspmRegistrationApi
39
+ attr_accessor :api_client
40
+
41
+ def initialize(api_client = ApiClient.default)
42
+ @api_client = api_client
43
+ end
44
+ # Returns JSON object(s) that contain the base64 encoded certificate for a service principal.
45
+ # @param tenant_id [Array<String>] Azure Tenant ID
46
+ # @param [Hash] opts the optional parameters
47
+ # @option opts [Boolean] :refresh Setting to true will invalidate the current certificate and generate a new certificate (default to false)
48
+ # @option opts [String] :years_valid Years the certificate should be valid (only used when refresh&#x3D;true)
49
+ # @return [RegistrationAzureDownloadCertificateResponseV1]
50
+ def azure_download_certificate(tenant_id, opts = {})
51
+ data, _status_code, _headers = azure_download_certificate_with_http_info(tenant_id, opts)
52
+ data
53
+ end
54
+
55
+ # Returns JSON object(s) that contain the base64 encoded certificate for a service principal.
56
+ # @param tenant_id [Array<String>] Azure Tenant ID
57
+ # @param [Hash] opts the optional parameters
58
+ # @option opts [Boolean] :refresh Setting to true will invalidate the current certificate and generate a new certificate (default to false)
59
+ # @option opts [String] :years_valid Years the certificate should be valid (only used when refresh&#x3D;true)
60
+ # @return [Array<(RegistrationAzureDownloadCertificateResponseV1, Integer, Hash)>] RegistrationAzureDownloadCertificateResponseV1 data, response status code and response headers
61
+ def azure_download_certificate_with_http_info(tenant_id, opts = {})
62
+ if @api_client.config.debugging
63
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.azure_download_certificate ...'
64
+ end
65
+ # verify the required parameter 'tenant_id' is set
66
+ if @api_client.config.client_side_validation && tenant_id.nil?
67
+ fail ArgumentError, "Missing the required parameter 'tenant_id' when calling CspmRegistrationApi.azure_download_certificate"
68
+ end
69
+ if @api_client.config.client_side_validation && !opts[:'years_valid'].nil? && opts[:'years_valid'].to_s.length > 2
70
+ fail ArgumentError, 'invalid value for "opts[:"years_valid"]" when calling CspmRegistrationApi.azure_download_certificate, the character length must be smaller than or equal to 2.'
71
+ end
72
+
73
+ if @api_client.config.client_side_validation && !opts[:'years_valid'].nil? && opts[:'years_valid'].to_s.length < 1
74
+ fail ArgumentError, 'invalid value for "opts[:"years_valid"]" when calling CspmRegistrationApi.azure_download_certificate, the character length must be great than or equal to 1.'
75
+ end
76
+
77
+ pattern = Regexp.new(/^[0-9]{1,2}$/)
78
+ if @api_client.config.client_side_validation && !opts[:'years_valid'].nil? && opts[:'years_valid'] !~ pattern
79
+ fail ArgumentError, "invalid value for 'opts[:\"years_valid\"]' when calling CspmRegistrationApi.azure_download_certificate, must conform to the pattern #{pattern}."
80
+ end
81
+
82
+ # resource path
83
+ local_var_path = '/cloud-connect-cspm-azure/entities/download-certificate/v1'
84
+
85
+ # query parameters
86
+ query_params = opts[:query_params] || {}
87
+ query_params[:'tenant_id'] = @api_client.build_collection_param(tenant_id, :multi)
88
+ query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
89
+ query_params[:'years_valid'] = opts[:'years_valid'] if !opts[:'years_valid'].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', 'application/octet-stream'])
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] || 'RegistrationAzureDownloadCertificateResponseV1'
104
+
105
+ # auth_names
106
+ auth_names = opts[:debug_auth_names] || ['oauth2']
107
+
108
+ new_options = opts.merge(
109
+ :operation => :"CspmRegistrationApi.azure_download_certificate",
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(:GET, local_var_path, new_options)
119
+ if @api_client.config.debugging
120
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#azure_download_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
+ end
122
+ return data, status_code, headers
123
+ end
124
+
125
+ # Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
126
+ # @param body [RegistrationAWSAccountCreateRequestExtV2]
127
+ # @param [Hash] opts the optional parameters
128
+ # @return [RegistrationAWSAccountResponseV2]
129
+ def create_cspm_aws_account(body, opts = {})
130
+ data, _status_code, _headers = create_cspm_aws_account_with_http_info(body, opts)
131
+ data
132
+ end
133
+
134
+ # Creates a new account in our system for a customer and generates a script for them to run in their AWS cloud environment to grant us access.
135
+ # @param body [RegistrationAWSAccountCreateRequestExtV2]
136
+ # @param [Hash] opts the optional parameters
137
+ # @return [Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>] RegistrationAWSAccountResponseV2 data, response status code and response headers
138
+ def create_cspm_aws_account_with_http_info(body, opts = {})
139
+ if @api_client.config.debugging
140
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.create_cspm_aws_account ...'
141
+ end
142
+ # verify the required parameter 'body' is set
143
+ if @api_client.config.client_side_validation && body.nil?
144
+ fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.create_cspm_aws_account"
145
+ end
146
+ # resource path
147
+ local_var_path = '/cloud-connect-cspm-aws/entities/account/v1'
148
+
149
+ # query parameters
150
+ query_params = opts[:query_params] || {}
151
+
152
+ # header parameters
153
+ header_params = opts[:header_params] || {}
154
+ # HTTP header 'Accept' (if needed)
155
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
156
+ # HTTP header 'Content-Type'
157
+ content_type = @api_client.select_header_content_type(['application/json'])
158
+ if !content_type.nil?
159
+ header_params['Content-Type'] = content_type
160
+ end
161
+
162
+ # form parameters
163
+ form_params = opts[:form_params] || {}
164
+
165
+ # http body (model)
166
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
167
+
168
+ # return_type
169
+ return_type = opts[:debug_return_type] || 'RegistrationAWSAccountResponseV2'
170
+
171
+ # auth_names
172
+ auth_names = opts[:debug_auth_names] || ['oauth2']
173
+
174
+ new_options = opts.merge(
175
+ :operation => :"CspmRegistrationApi.create_cspm_aws_account",
176
+ :header_params => header_params,
177
+ :query_params => query_params,
178
+ :form_params => form_params,
179
+ :body => post_body,
180
+ :auth_names => auth_names,
181
+ :return_type => return_type
182
+ )
183
+
184
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
185
+ if @api_client.config.debugging
186
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#create_cspm_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
187
+ end
188
+ return data, status_code, headers
189
+ end
190
+
191
+ # Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
192
+ # @param body [RegistrationAzureAccountCreateRequestExternalV1]
193
+ # @param [Hash] opts the optional parameters
194
+ # @return [RegistrationAzureAccountResponseV1]
195
+ def create_cspm_azure_account(body, opts = {})
196
+ data, _status_code, _headers = create_cspm_azure_account_with_http_info(body, opts)
197
+ data
198
+ end
199
+
200
+ # Creates a new account in our system for a customer and generates a script for them to run in their cloud environment to grant us access.
201
+ # @param body [RegistrationAzureAccountCreateRequestExternalV1]
202
+ # @param [Hash] opts the optional parameters
203
+ # @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
204
+ def create_cspm_azure_account_with_http_info(body, opts = {})
205
+ if @api_client.config.debugging
206
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.create_cspm_azure_account ...'
207
+ end
208
+ # verify the required parameter 'body' is set
209
+ if @api_client.config.client_side_validation && body.nil?
210
+ fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.create_cspm_azure_account"
211
+ end
212
+ # resource path
213
+ local_var_path = '/cloud-connect-cspm-azure/entities/account/v1'
214
+
215
+ # query parameters
216
+ query_params = opts[:query_params] || {}
217
+
218
+ # header parameters
219
+ header_params = opts[:header_params] || {}
220
+ # HTTP header 'Accept' (if needed)
221
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
222
+ # HTTP header 'Content-Type'
223
+ content_type = @api_client.select_header_content_type(['application/json'])
224
+ if !content_type.nil?
225
+ header_params['Content-Type'] = content_type
226
+ end
227
+
228
+ # form parameters
229
+ form_params = opts[:form_params] || {}
230
+
231
+ # http body (model)
232
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
233
+
234
+ # return_type
235
+ return_type = opts[:debug_return_type] || 'RegistrationAzureAccountResponseV1'
236
+
237
+ # auth_names
238
+ auth_names = opts[:debug_auth_names] || ['oauth2']
239
+
240
+ new_options = opts.merge(
241
+ :operation => :"CspmRegistrationApi.create_cspm_azure_account",
242
+ :header_params => header_params,
243
+ :query_params => query_params,
244
+ :form_params => form_params,
245
+ :body => post_body,
246
+ :auth_names => auth_names,
247
+ :return_type => return_type
248
+ )
249
+
250
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
251
+ if @api_client.config.debugging
252
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#create_cspm_azure_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
253
+ end
254
+ return data, status_code, headers
255
+ end
256
+
257
+ # Deletes an existing AWS account or organization in our system.
258
+ # @param [Hash] opts the optional parameters
259
+ # @option opts [Array<String>] :ids AWS account IDs to remove
260
+ # @option opts [Array<String>] :organization_ids AWS organization IDs to remove
261
+ # @return [MsaBaseEntitiesResponse]
262
+ def delete_cspm_aws_account(opts = {})
263
+ data, _status_code, _headers = delete_cspm_aws_account_with_http_info(opts)
264
+ data
265
+ end
266
+
267
+ # Deletes an existing AWS account or organization in our system.
268
+ # @param [Hash] opts the optional parameters
269
+ # @option opts [Array<String>] :ids AWS account IDs to remove
270
+ # @option opts [Array<String>] :organization_ids AWS organization IDs to remove
271
+ # @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
272
+ def delete_cspm_aws_account_with_http_info(opts = {})
273
+ if @api_client.config.debugging
274
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.delete_cspm_aws_account ...'
275
+ end
276
+ # resource path
277
+ local_var_path = '/cloud-connect-cspm-aws/entities/account/v1'
278
+
279
+ # query parameters
280
+ query_params = opts[:query_params] || {}
281
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
282
+ query_params[:'organization-ids'] = @api_client.build_collection_param(opts[:'organization_ids'], :multi) if !opts[:'organization_ids'].nil?
283
+
284
+ # header parameters
285
+ header_params = opts[:header_params] || {}
286
+ # HTTP header 'Accept' (if needed)
287
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
288
+
289
+ # form parameters
290
+ form_params = opts[:form_params] || {}
291
+
292
+ # http body (model)
293
+ post_body = opts[:debug_body]
294
+
295
+ # return_type
296
+ return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
297
+
298
+ # auth_names
299
+ auth_names = opts[:debug_auth_names] || ['oauth2']
300
+
301
+ new_options = opts.merge(
302
+ :operation => :"CspmRegistrationApi.delete_cspm_aws_account",
303
+ :header_params => header_params,
304
+ :query_params => query_params,
305
+ :form_params => form_params,
306
+ :body => post_body,
307
+ :auth_names => auth_names,
308
+ :return_type => return_type
309
+ )
310
+
311
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
312
+ if @api_client.config.debugging
313
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#delete_cspm_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
314
+ end
315
+ return data, status_code, headers
316
+ end
317
+
318
+ # Deletes an Azure subscription from the system.
319
+ # @param [Hash] opts the optional parameters
320
+ # @option opts [Array<String>] :ids Azure subscription IDs to remove
321
+ # @option opts [Array<String>] :tenant_ids Tenant ids to remove
322
+ # @option opts [String] :retain_tenant
323
+ # @return [MsaBaseEntitiesResponse]
324
+ def delete_cspm_azure_account(opts = {})
325
+ data, _status_code, _headers = delete_cspm_azure_account_with_http_info(opts)
326
+ data
327
+ end
328
+
329
+ # Deletes an Azure subscription from the system.
330
+ # @param [Hash] opts the optional parameters
331
+ # @option opts [Array<String>] :ids Azure subscription IDs to remove
332
+ # @option opts [Array<String>] :tenant_ids Tenant ids to remove
333
+ # @option opts [String] :retain_tenant
334
+ # @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
335
+ def delete_cspm_azure_account_with_http_info(opts = {})
336
+ if @api_client.config.debugging
337
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.delete_cspm_azure_account ...'
338
+ end
339
+ if @api_client.config.client_side_validation && !opts[:'retain_tenant'].nil? && opts[:'retain_tenant'].to_s.length > 5
340
+ fail ArgumentError, 'invalid value for "opts[:"retain_tenant"]" when calling CspmRegistrationApi.delete_cspm_azure_account, the character length must be smaller than or equal to 5.'
341
+ end
342
+
343
+ if @api_client.config.client_side_validation && !opts[:'retain_tenant'].nil? && opts[:'retain_tenant'].to_s.length < 4
344
+ fail ArgumentError, 'invalid value for "opts[:"retain_tenant"]" when calling CspmRegistrationApi.delete_cspm_azure_account, the character length must be great than or equal to 4.'
345
+ end
346
+
347
+ pattern = Regexp.new(/^(true|false)$/)
348
+ if @api_client.config.client_side_validation && !opts[:'retain_tenant'].nil? && opts[:'retain_tenant'] !~ pattern
349
+ fail ArgumentError, "invalid value for 'opts[:\"retain_tenant\"]' when calling CspmRegistrationApi.delete_cspm_azure_account, must conform to the pattern #{pattern}."
350
+ end
351
+
352
+ # resource path
353
+ local_var_path = '/cloud-connect-cspm-azure/entities/account/v1'
354
+
355
+ # query parameters
356
+ query_params = opts[:query_params] || {}
357
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
358
+ query_params[:'tenant_ids'] = @api_client.build_collection_param(opts[:'tenant_ids'], :multi) if !opts[:'tenant_ids'].nil?
359
+ query_params[:'retain_tenant'] = opts[:'retain_tenant'] if !opts[:'retain_tenant'].nil?
360
+
361
+ # header parameters
362
+ header_params = opts[:header_params] || {}
363
+ # HTTP header 'Accept' (if needed)
364
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
365
+
366
+ # form parameters
367
+ form_params = opts[:form_params] || {}
368
+
369
+ # http body (model)
370
+ post_body = opts[:debug_body]
371
+
372
+ # return_type
373
+ return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
374
+
375
+ # auth_names
376
+ auth_names = opts[:debug_auth_names] || ['oauth2']
377
+
378
+ new_options = opts.merge(
379
+ :operation => :"CspmRegistrationApi.delete_cspm_azure_account",
380
+ :header_params => header_params,
381
+ :query_params => query_params,
382
+ :form_params => form_params,
383
+ :body => post_body,
384
+ :auth_names => auth_names,
385
+ :return_type => return_type
386
+ )
387
+
388
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
389
+ if @api_client.config.debugging
390
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#delete_cspm_azure_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
391
+ end
392
+ return data, status_code, headers
393
+ end
394
+
395
+ # Get list of detected behaviors
396
+ # @param [Hash] opts the optional parameters
397
+ # @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure)
398
+ # @option opts [String] :service Cloud Service (e.g. EC2 | EBS | S3)
399
+ # @option opts [String] :account_id Cloud Account ID (e.g.: AWS accountID, Azure subscriptionID)
400
+ # @option opts [String] :aws_account_id AWS Account ID
401
+ # @option opts [String] :azure_subscription_id Azure Subscription ID
402
+ # @option opts [String] :azure_tenant_id Azure Tenant ID
403
+ # @option opts [String] :state State (e.g.: open | closed)
404
+ # @option opts [String] :date_time_since Filter to get all events after this date, in format RFC3339 : e.g. 2006-01-02T15:04:05Z07:00
405
+ # @option opts [String] :since Filter events using a duration string (e.g. 24h) (default to '24h')
406
+ # @option opts [String] :severity Policy Severity
407
+ # @option opts [String] :next_token String to get next page of results, is associated with a previous execution of GetBehaviorDetections. Must include all filters from previous execution.
408
+ # @option opts [Integer] :limit The maximum records to return. [1-500]
409
+ # @option opts [Array<String>] :resource_id Resource ID
410
+ # @option opts [Array<String>] :resource_uuid Resource UUID
411
+ # @return [RegistrationExternalIOAEventResponse]
412
+ def get_behavior_detections(opts = {})
413
+ data, _status_code, _headers = get_behavior_detections_with_http_info(opts)
414
+ data
415
+ end
416
+
417
+ # Get list of detected behaviors
418
+ # @param [Hash] opts the optional parameters
419
+ # @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure)
420
+ # @option opts [String] :service Cloud Service (e.g. EC2 | EBS | S3)
421
+ # @option opts [String] :account_id Cloud Account ID (e.g.: AWS accountID, Azure subscriptionID)
422
+ # @option opts [String] :aws_account_id AWS Account ID
423
+ # @option opts [String] :azure_subscription_id Azure Subscription ID
424
+ # @option opts [String] :azure_tenant_id Azure Tenant ID
425
+ # @option opts [String] :state State (e.g.: open | closed)
426
+ # @option opts [String] :date_time_since Filter to get all events after this date, in format RFC3339 : e.g. 2006-01-02T15:04:05Z07:00
427
+ # @option opts [String] :since Filter events using a duration string (e.g. 24h) (default to '24h')
428
+ # @option opts [String] :severity Policy Severity
429
+ # @option opts [String] :next_token String to get next page of results, is associated with a previous execution of GetBehaviorDetections. Must include all filters from previous execution.
430
+ # @option opts [Integer] :limit The maximum records to return. [1-500]
431
+ # @option opts [Array<String>] :resource_id Resource ID
432
+ # @option opts [Array<String>] :resource_uuid Resource UUID
433
+ # @return [Array<(RegistrationExternalIOAEventResponse, Integer, Hash)>] RegistrationExternalIOAEventResponse data, response status code and response headers
434
+ def get_behavior_detections_with_http_info(opts = {})
435
+ if @api_client.config.debugging
436
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_behavior_detections ...'
437
+ end
438
+ allowable_values = ["aws", "azure"]
439
+ if @api_client.config.client_side_validation && opts[:'cloud_provider'] && !allowable_values.include?(opts[:'cloud_provider'])
440
+ fail ArgumentError, "invalid value for \"cloud_provider\", must be one of #{allowable_values}"
441
+ end
442
+ pattern = Regexp.new(/^(aws|azure)$/)
443
+ if @api_client.config.client_side_validation && !opts[:'cloud_provider'].nil? && opts[:'cloud_provider'] !~ pattern
444
+ fail ArgumentError, "invalid value for 'opts[:\"cloud_provider\"]' when calling CspmRegistrationApi.get_behavior_detections, must conform to the pattern #{pattern}."
445
+ end
446
+
447
+ allowable_values = ["ACM", "ACR", "Any", "App Engine", "AppService", "BigQuery", "Cloud Load Balancing", "Cloud Logging", "Cloud SQL", "Cloud Storage", "CloudFormation", "CloudTrail", "CloudWatch Logs", "Cloudfront", "Compute Engine", "Config", "Disk", "DynamoDB", "EBS", "EC2", "ECR", "EFS", "EKS", "ELB", "EMR", "Elasticache", "GuardDuty", "IAM", "Identity", "KMS", "KeyVault", "Kinesis", "Kubernetes", "Lambda", "LoadBalancer", "Monitor", "NLB/ALB", "NetworkSecurityGroup", "PostgreSQL", "RDS", "Redshift", "S3", "SES", "SNS", "SQLDatabase", "SQLServer", "SQS", "SSM", "Serverless Application Repository", "StorageAccount", "Subscriptions", "VPC", "VirtualMachine", "VirtualNetwork"]
448
+ if @api_client.config.client_side_validation && opts[:'service'] && !allowable_values.include?(opts[:'service'])
449
+ fail ArgumentError, "invalid value for \"service\", must be one of #{allowable_values}"
450
+ end
451
+ allowable_values = ["closed", "open"]
452
+ if @api_client.config.client_side_validation && opts[:'state'] && !allowable_values.include?(opts[:'state'])
453
+ fail ArgumentError, "invalid value for \"state\", must be one of #{allowable_values}"
454
+ end
455
+ allowable_values = ["Critical", "High", "Informational", "Medium"]
456
+ if @api_client.config.client_side_validation && opts[:'severity'] && !allowable_values.include?(opts[:'severity'])
457
+ fail ArgumentError, "invalid value for \"severity\", must be one of #{allowable_values}"
458
+ end
459
+ pattern = Regexp.new(/^\d+$/)
460
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] !~ pattern
461
+ fail ArgumentError, "invalid value for 'opts[:\"limit\"]' when calling CspmRegistrationApi.get_behavior_detections, must conform to the pattern #{pattern}."
462
+ end
463
+
464
+ # resource path
465
+ local_var_path = '/detects/entities/ioa/v1'
466
+
467
+ # query parameters
468
+ query_params = opts[:query_params] || {}
469
+ query_params[:'cloud_provider'] = opts[:'cloud_provider'] if !opts[:'cloud_provider'].nil?
470
+ query_params[:'service'] = opts[:'service'] if !opts[:'service'].nil?
471
+ query_params[:'account_id'] = opts[:'account_id'] if !opts[:'account_id'].nil?
472
+ query_params[:'aws_account_id'] = opts[:'aws_account_id'] if !opts[:'aws_account_id'].nil?
473
+ query_params[:'azure_subscription_id'] = opts[:'azure_subscription_id'] if !opts[:'azure_subscription_id'].nil?
474
+ query_params[:'azure_tenant_id'] = opts[:'azure_tenant_id'] if !opts[:'azure_tenant_id'].nil?
475
+ query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
476
+ query_params[:'date_time_since'] = opts[:'date_time_since'] if !opts[:'date_time_since'].nil?
477
+ query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
478
+ query_params[:'severity'] = opts[:'severity'] if !opts[:'severity'].nil?
479
+ query_params[:'next_token'] = opts[:'next_token'] if !opts[:'next_token'].nil?
480
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
481
+ query_params[:'resource_id'] = @api_client.build_collection_param(opts[:'resource_id'], :multi) if !opts[:'resource_id'].nil?
482
+ query_params[:'resource_uuid'] = @api_client.build_collection_param(opts[:'resource_uuid'], :multi) if !opts[:'resource_uuid'].nil?
483
+
484
+ # header parameters
485
+ header_params = opts[:header_params] || {}
486
+ # HTTP header 'Accept' (if needed)
487
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
488
+
489
+ # form parameters
490
+ form_params = opts[:form_params] || {}
491
+
492
+ # http body (model)
493
+ post_body = opts[:debug_body]
494
+
495
+ # return_type
496
+ return_type = opts[:debug_return_type] || 'RegistrationExternalIOAEventResponse'
497
+
498
+ # auth_names
499
+ auth_names = opts[:debug_auth_names] || ['oauth2']
500
+
501
+ new_options = opts.merge(
502
+ :operation => :"CspmRegistrationApi.get_behavior_detections",
503
+ :header_params => header_params,
504
+ :query_params => query_params,
505
+ :form_params => form_params,
506
+ :body => post_body,
507
+ :auth_names => auth_names,
508
+ :return_type => return_type
509
+ )
510
+
511
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
512
+ if @api_client.config.debugging
513
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_behavior_detections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
514
+ end
515
+ return data, status_code, headers
516
+ end
517
+
518
+ # Get misconfigurations based on the ID - including custom policy detections in addition to default policy detections.
519
+ # @param ids [Array<String>] detection ids
520
+ # @param [Hash] opts the optional parameters
521
+ # @return [RegistrationExternalIOMEventResponseV2]
522
+ def get_configuration_detection_entities(ids, opts = {})
523
+ data, _status_code, _headers = get_configuration_detection_entities_with_http_info(ids, opts)
524
+ data
525
+ end
526
+
527
+ # Get misconfigurations based on the ID - including custom policy detections in addition to default policy detections.
528
+ # @param ids [Array<String>] detection ids
529
+ # @param [Hash] opts the optional parameters
530
+ # @return [Array<(RegistrationExternalIOMEventResponseV2, Integer, Hash)>] RegistrationExternalIOMEventResponseV2 data, response status code and response headers
531
+ def get_configuration_detection_entities_with_http_info(ids, opts = {})
532
+ if @api_client.config.debugging
533
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_configuration_detection_entities ...'
534
+ end
535
+ # verify the required parameter 'ids' is set
536
+ if @api_client.config.client_side_validation && ids.nil?
537
+ fail ArgumentError, "Missing the required parameter 'ids' when calling CspmRegistrationApi.get_configuration_detection_entities"
538
+ end
539
+ # resource path
540
+ local_var_path = '/detects/entities/iom/v2'
541
+
542
+ # query parameters
543
+ query_params = opts[:query_params] || {}
544
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
545
+
546
+ # header parameters
547
+ header_params = opts[:header_params] || {}
548
+ # HTTP header 'Accept' (if needed)
549
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
550
+
551
+ # form parameters
552
+ form_params = opts[:form_params] || {}
553
+
554
+ # http body (model)
555
+ post_body = opts[:debug_body]
556
+
557
+ # return_type
558
+ return_type = opts[:debug_return_type] || 'RegistrationExternalIOMEventResponseV2'
559
+
560
+ # auth_names
561
+ auth_names = opts[:debug_auth_names] || ['oauth2']
562
+
563
+ new_options = opts.merge(
564
+ :operation => :"CspmRegistrationApi.get_configuration_detection_entities",
565
+ :header_params => header_params,
566
+ :query_params => query_params,
567
+ :form_params => form_params,
568
+ :body => post_body,
569
+ :auth_names => auth_names,
570
+ :return_type => return_type
571
+ )
572
+
573
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
574
+ if @api_client.config.debugging
575
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_configuration_detection_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
576
+ end
577
+ return data, status_code, headers
578
+ end
579
+
580
+ # Get list of active misconfiguration ids - including custom policy detections in addition to default policy detections.
581
+ # @param [Hash] opts the optional parameters
582
+ # @option opts [String] :filter use_current_scan_ids - *use this to get records for latest scans* account_name account_id agent_id attack_types azure_subscription_id cloud_provider cloud_service_keyword custom_policy_id is_managed policy_id policy_type resource_id region status scan_time severity severity_string
583
+ # @option opts [String] :sort account_name account_id attack_types azure_subscription_id cloud_provider cloud_service_keyword status is_managed policy_id policy_type resource_id region scan_time severity severity_string timestamp (default to 'timestamp|desc')
584
+ # @option opts [Integer] :limit The max number of detections to return (default to 500)
585
+ # @option opts [Integer] :offset Offset returned detections
586
+ # @return [RegistrationIOMEventIDsResponseV2]
587
+ def get_configuration_detection_ids_v2(opts = {})
588
+ data, _status_code, _headers = get_configuration_detection_ids_v2_with_http_info(opts)
589
+ data
590
+ end
591
+
592
+ # Get list of active misconfiguration ids - including custom policy detections in addition to default policy detections.
593
+ # @param [Hash] opts the optional parameters
594
+ # @option opts [String] :filter use_current_scan_ids - *use this to get records for latest scans* account_name account_id agent_id attack_types azure_subscription_id cloud_provider cloud_service_keyword custom_policy_id is_managed policy_id policy_type resource_id region status scan_time severity severity_string
595
+ # @option opts [String] :sort account_name account_id attack_types azure_subscription_id cloud_provider cloud_service_keyword status is_managed policy_id policy_type resource_id region scan_time severity severity_string timestamp (default to 'timestamp|desc')
596
+ # @option opts [Integer] :limit The max number of detections to return (default to 500)
597
+ # @option opts [Integer] :offset Offset returned detections
598
+ # @return [Array<(RegistrationIOMEventIDsResponseV2, Integer, Hash)>] RegistrationIOMEventIDsResponseV2 data, response status code and response headers
599
+ def get_configuration_detection_ids_v2_with_http_info(opts = {})
600
+ if @api_client.config.debugging
601
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_configuration_detection_ids_v2 ...'
602
+ end
603
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
604
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CspmRegistrationApi.get_configuration_detection_ids_v2, must be smaller than or equal to 1000.'
605
+ end
606
+
607
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
608
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CspmRegistrationApi.get_configuration_detection_ids_v2, must be greater than or equal to 0.'
609
+ end
610
+
611
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
612
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling CspmRegistrationApi.get_configuration_detection_ids_v2, must be greater than or equal to 0.'
613
+ end
614
+
615
+ # resource path
616
+ local_var_path = '/detects/queries/iom/v2'
617
+
618
+ # query parameters
619
+ query_params = opts[:query_params] || {}
620
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
621
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
622
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
623
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
624
+
625
+ # header parameters
626
+ header_params = opts[:header_params] || {}
627
+ # HTTP header 'Accept' (if needed)
628
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
629
+
630
+ # form parameters
631
+ form_params = opts[:form_params] || {}
632
+
633
+ # http body (model)
634
+ post_body = opts[:debug_body]
635
+
636
+ # return_type
637
+ return_type = opts[:debug_return_type] || 'RegistrationIOMEventIDsResponseV2'
638
+
639
+ # auth_names
640
+ auth_names = opts[:debug_auth_names] || ['oauth2']
641
+
642
+ new_options = opts.merge(
643
+ :operation => :"CspmRegistrationApi.get_configuration_detection_ids_v2",
644
+ :header_params => header_params,
645
+ :query_params => query_params,
646
+ :form_params => form_params,
647
+ :body => post_body,
648
+ :auth_names => auth_names,
649
+ :return_type => return_type
650
+ )
651
+
652
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
653
+ if @api_client.config.debugging
654
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_configuration_detection_ids_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
655
+ end
656
+ return data, status_code, headers
657
+ end
658
+
659
+ # Get list of active misconfigurations
660
+ # @param [Hash] opts the optional parameters
661
+ # @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure|gcp)
662
+ # @option opts [String] :account_id AWS account ID or GCP Project Number or Azure subscription ID
663
+ # @option opts [String] :azure_subscription_id Azure Subscription ID
664
+ # @option opts [String] :azure_tenant_id Azure Tenant ID
665
+ # @option opts [String] :status Status (e.g.: new|reoccurring|all)
666
+ # @option opts [String] :region Cloud Provider Region
667
+ # @option opts [String] :severity Policy Severity
668
+ # @option opts [String] :service Cloud Service (e.g.: EBS|EC2|S3 etc.)
669
+ # @option opts [String] :next_token String to get next page of results, is associated with a previous execution of GetConfigurationDetections. Cannot be combined with any filter except limit.
670
+ # @option opts [Integer] :limit The maximum records to return. [1-500]
671
+ # @return [RegistrationExternalIOMEventResponse]
672
+ def get_configuration_detections(opts = {})
673
+ data, _status_code, _headers = get_configuration_detections_with_http_info(opts)
674
+ data
675
+ end
676
+
677
+ # Get list of active misconfigurations
678
+ # @param [Hash] opts the optional parameters
679
+ # @option opts [String] :cloud_provider Cloud Provider (e.g.: aws|azure|gcp)
680
+ # @option opts [String] :account_id AWS account ID or GCP Project Number or Azure subscription ID
681
+ # @option opts [String] :azure_subscription_id Azure Subscription ID
682
+ # @option opts [String] :azure_tenant_id Azure Tenant ID
683
+ # @option opts [String] :status Status (e.g.: new|reoccurring|all)
684
+ # @option opts [String] :region Cloud Provider Region
685
+ # @option opts [String] :severity Policy Severity
686
+ # @option opts [String] :service Cloud Service (e.g.: EBS|EC2|S3 etc.)
687
+ # @option opts [String] :next_token String to get next page of results, is associated with a previous execution of GetConfigurationDetections. Cannot be combined with any filter except limit.
688
+ # @option opts [Integer] :limit The maximum records to return. [1-500]
689
+ # @return [Array<(RegistrationExternalIOMEventResponse, Integer, Hash)>] RegistrationExternalIOMEventResponse data, response status code and response headers
690
+ def get_configuration_detections_with_http_info(opts = {})
691
+ if @api_client.config.debugging
692
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_configuration_detections ...'
693
+ end
694
+ allowable_values = ["aws", "azure", "gcp"]
695
+ if @api_client.config.client_side_validation && opts[:'cloud_provider'] && !allowable_values.include?(opts[:'cloud_provider'])
696
+ fail ArgumentError, "invalid value for \"cloud_provider\", must be one of #{allowable_values}"
697
+ end
698
+ allowable_values = ["all", "new", "reoccurring"]
699
+ if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
700
+ fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
701
+ end
702
+ pattern = Regexp.new(/^[0-9a-z\-_]{2,}$/)
703
+ if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern
704
+ fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling CspmRegistrationApi.get_configuration_detections, must conform to the pattern #{pattern}."
705
+ end
706
+
707
+ allowable_values = ["Critical", "High", "Informational", "Medium"]
708
+ if @api_client.config.client_side_validation && opts[:'severity'] && !allowable_values.include?(opts[:'severity'])
709
+ fail ArgumentError, "invalid value for \"severity\", must be one of #{allowable_values}"
710
+ end
711
+ allowable_values = ["ACM", "ACR", "Any", "App Engine", "AppService", "BigQuery", "Cloud Load Balancing", "Cloud Logging", "Cloud SQL", "Cloud Storage", "CloudFormation", "CloudTrail", "CloudWatch Logs", "Cloudfront", "Compute Engine", "Config", "Disk", "DynamoDB", "EBS", "EC2", "ECR", "EFS", "EKS", "ELB", "EMR", "Elasticache", "GuardDuty", "IAM", "Identity", "KMS", "KeyVault", "Kinesis", "Kubernetes", "Lambda", "LoadBalancer", "Monitor", "NLB/ALB", "NetworkSecurityGroup", "PostgreSQL", "RDS", "Redshift", "S3", "SES", "SNS", "SQLDatabase", "SQLServer", "SQS", "SSM", "Serverless Application Repository", "StorageAccount", "Subscriptions", "VPC", "VirtualMachine", "VirtualNetwork"]
712
+ if @api_client.config.client_side_validation && opts[:'service'] && !allowable_values.include?(opts[:'service'])
713
+ fail ArgumentError, "invalid value for \"service\", must be one of #{allowable_values}"
714
+ end
715
+ pattern = Regexp.new(/^\d+$/)
716
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] !~ pattern
717
+ fail ArgumentError, "invalid value for 'opts[:\"limit\"]' when calling CspmRegistrationApi.get_configuration_detections, must conform to the pattern #{pattern}."
718
+ end
719
+
720
+ # resource path
721
+ local_var_path = '/detects/entities/iom/v1'
722
+
723
+ # query parameters
724
+ query_params = opts[:query_params] || {}
725
+ query_params[:'cloud_provider'] = opts[:'cloud_provider'] if !opts[:'cloud_provider'].nil?
726
+ query_params[:'account_id'] = opts[:'account_id'] if !opts[:'account_id'].nil?
727
+ query_params[:'azure_subscription_id'] = opts[:'azure_subscription_id'] if !opts[:'azure_subscription_id'].nil?
728
+ query_params[:'azure_tenant_id'] = opts[:'azure_tenant_id'] if !opts[:'azure_tenant_id'].nil?
729
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
730
+ query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil?
731
+ query_params[:'severity'] = opts[:'severity'] if !opts[:'severity'].nil?
732
+ query_params[:'service'] = opts[:'service'] if !opts[:'service'].nil?
733
+ query_params[:'next_token'] = opts[:'next_token'] if !opts[:'next_token'].nil?
734
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
735
+
736
+ # header parameters
737
+ header_params = opts[:header_params] || {}
738
+ # HTTP header 'Accept' (if needed)
739
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
740
+
741
+ # form parameters
742
+ form_params = opts[:form_params] || {}
743
+
744
+ # http body (model)
745
+ post_body = opts[:debug_body]
746
+
747
+ # return_type
748
+ return_type = opts[:debug_return_type] || 'RegistrationExternalIOMEventResponse'
749
+
750
+ # auth_names
751
+ auth_names = opts[:debug_auth_names] || ['oauth2']
752
+
753
+ new_options = opts.merge(
754
+ :operation => :"CspmRegistrationApi.get_configuration_detections",
755
+ :header_params => header_params,
756
+ :query_params => query_params,
757
+ :form_params => form_params,
758
+ :body => post_body,
759
+ :auth_names => auth_names,
760
+ :return_type => return_type
761
+ )
762
+
763
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
764
+ if @api_client.config.debugging
765
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_configuration_detections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
766
+ end
767
+ return data, status_code, headers
768
+ end
769
+
770
+ # Returns information about the current status of an AWS account.
771
+ # @param [Hash] opts the optional parameters
772
+ # @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
773
+ # @option opts [Array<String>] :ids AWS account IDs
774
+ # @option opts [Array<String>] :iam_role_arns AWS IAM role ARNs
775
+ # @option opts [Array<String>] :organization_ids AWS organization IDs
776
+ # @option opts [String] :status Account status to filter results by.
777
+ # @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
778
+ # @option opts [String] :migrated Only return migrated d4c accounts
779
+ # @option opts [Integer] :offset The offset to start retrieving records from
780
+ # @option opts [String] :group_by Field to group by.
781
+ # @return [RegistrationAWSAccountResponseV2]
782
+ def get_cspm_aws_account(opts = {})
783
+ data, _status_code, _headers = get_cspm_aws_account_with_http_info(opts)
784
+ data
785
+ end
786
+
787
+ # Returns information about the current status of an AWS account.
788
+ # @param [Hash] opts the optional parameters
789
+ # @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
790
+ # @option opts [Array<String>] :ids AWS account IDs
791
+ # @option opts [Array<String>] :iam_role_arns AWS IAM role ARNs
792
+ # @option opts [Array<String>] :organization_ids AWS organization IDs
793
+ # @option opts [String] :status Account status to filter results by.
794
+ # @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
795
+ # @option opts [String] :migrated Only return migrated d4c accounts
796
+ # @option opts [Integer] :offset The offset to start retrieving records from
797
+ # @option opts [String] :group_by Field to group by.
798
+ # @return [Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>] RegistrationAWSAccountResponseV2 data, response status code and response headers
799
+ def get_cspm_aws_account_with_http_info(opts = {})
800
+ if @api_client.config.debugging
801
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_aws_account ...'
802
+ end
803
+ if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length > 4
804
+ fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling CspmRegistrationApi.get_cspm_aws_account, the character length must be smaller than or equal to 4.'
805
+ end
806
+
807
+ if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length < 3
808
+ fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling CspmRegistrationApi.get_cspm_aws_account, the character length must be great than or equal to 3.'
809
+ end
810
+
811
+ pattern = Regexp.new(/^(full|dry)$/)
812
+ if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'] !~ pattern
813
+ fail ArgumentError, "invalid value for 'opts[:\"scan_type\"]' when calling CspmRegistrationApi.get_cspm_aws_account, must conform to the pattern #{pattern}."
814
+ end
815
+
816
+ pattern = Regexp.new(/^(provisioned|operational)$/)
817
+ if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
818
+ fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling CspmRegistrationApi.get_cspm_aws_account, must conform to the pattern #{pattern}."
819
+ end
820
+
821
+ allowable_values = ["false", "true"]
822
+ if @api_client.config.client_side_validation && opts[:'migrated'] && !allowable_values.include?(opts[:'migrated'])
823
+ fail ArgumentError, "invalid value for \"migrated\", must be one of #{allowable_values}"
824
+ end
825
+ pattern = Regexp.new(/^(true|false)$/)
826
+ if @api_client.config.client_side_validation && !opts[:'migrated'].nil? && opts[:'migrated'] !~ pattern
827
+ fail ArgumentError, "invalid value for 'opts[:\"migrated\"]' when calling CspmRegistrationApi.get_cspm_aws_account, must conform to the pattern #{pattern}."
828
+ end
829
+
830
+ allowable_values = ["organization"]
831
+ if @api_client.config.client_side_validation && opts[:'group_by'] && !allowable_values.include?(opts[:'group_by'])
832
+ fail ArgumentError, "invalid value for \"group_by\", must be one of #{allowable_values}"
833
+ end
834
+ # resource path
835
+ local_var_path = '/cloud-connect-cspm-aws/entities/account/v1'
836
+
837
+ # query parameters
838
+ query_params = opts[:query_params] || {}
839
+ query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil?
840
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
841
+ query_params[:'iam_role_arns'] = @api_client.build_collection_param(opts[:'iam_role_arns'], :multi) if !opts[:'iam_role_arns'].nil?
842
+ query_params[:'organization-ids'] = @api_client.build_collection_param(opts[:'organization_ids'], :multi) if !opts[:'organization_ids'].nil?
843
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
844
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
845
+ query_params[:'migrated'] = opts[:'migrated'] if !opts[:'migrated'].nil?
846
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
847
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
848
+
849
+ # header parameters
850
+ header_params = opts[:header_params] || {}
851
+ # HTTP header 'Accept' (if needed)
852
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
853
+
854
+ # form parameters
855
+ form_params = opts[:form_params] || {}
856
+
857
+ # http body (model)
858
+ post_body = opts[:debug_body]
859
+
860
+ # return_type
861
+ return_type = opts[:debug_return_type] || 'RegistrationAWSAccountResponseV2'
862
+
863
+ # auth_names
864
+ auth_names = opts[:debug_auth_names] || ['oauth2']
865
+
866
+ new_options = opts.merge(
867
+ :operation => :"CspmRegistrationApi.get_cspm_aws_account",
868
+ :header_params => header_params,
869
+ :query_params => query_params,
870
+ :form_params => form_params,
871
+ :body => post_body,
872
+ :auth_names => auth_names,
873
+ :return_type => return_type
874
+ )
875
+
876
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
877
+ if @api_client.config.debugging
878
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
879
+ end
880
+ return data, status_code, headers
881
+ end
882
+
883
+ # Return a script for customer to run in their cloud environment to grant us access to their AWS environment as a downloadable attachment.
884
+ # @param [Hash] opts the optional parameters
885
+ # @option opts [Array<String>] :ids AWS account IDs
886
+ # @return [RegistrationAWSProvisionGetAccountScriptResponseV2]
887
+ def get_cspm_aws_account_scripts_attachment(opts = {})
888
+ data, _status_code, _headers = get_cspm_aws_account_scripts_attachment_with_http_info(opts)
889
+ data
890
+ end
891
+
892
+ # Return a script for customer to run in their cloud environment to grant us access to their AWS environment as a downloadable attachment.
893
+ # @param [Hash] opts the optional parameters
894
+ # @option opts [Array<String>] :ids AWS account IDs
895
+ # @return [Array<(RegistrationAWSProvisionGetAccountScriptResponseV2, Integer, Hash)>] RegistrationAWSProvisionGetAccountScriptResponseV2 data, response status code and response headers
896
+ def get_cspm_aws_account_scripts_attachment_with_http_info(opts = {})
897
+ if @api_client.config.debugging
898
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_aws_account_scripts_attachment ...'
899
+ end
900
+ # resource path
901
+ local_var_path = '/cloud-connect-cspm-aws/entities/user-scripts-download/v1'
902
+
903
+ # query parameters
904
+ query_params = opts[:query_params] || {}
905
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
906
+
907
+ # header parameters
908
+ header_params = opts[:header_params] || {}
909
+ # HTTP header 'Accept' (if needed)
910
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream'])
911
+
912
+ # form parameters
913
+ form_params = opts[:form_params] || {}
914
+
915
+ # http body (model)
916
+ post_body = opts[:debug_body]
917
+
918
+ # return_type
919
+ return_type = opts[:debug_return_type] || 'RegistrationAWSProvisionGetAccountScriptResponseV2'
920
+
921
+ # auth_names
922
+ auth_names = opts[:debug_auth_names] || ['oauth2']
923
+
924
+ new_options = opts.merge(
925
+ :operation => :"CspmRegistrationApi.get_cspm_aws_account_scripts_attachment",
926
+ :header_params => header_params,
927
+ :query_params => query_params,
928
+ :form_params => form_params,
929
+ :body => post_body,
930
+ :auth_names => auth_names,
931
+ :return_type => return_type
932
+ )
933
+
934
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
935
+ if @api_client.config.debugging
936
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_aws_account_scripts_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
937
+ end
938
+ return data, status_code, headers
939
+ end
940
+
941
+ # Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
942
+ # @param [Hash] opts the optional parameters
943
+ # @option opts [Array<String>] :ids AWS account IDs
944
+ # @option opts [String] :use_existing_cloudtrail
945
+ # @option opts [String] :region Region
946
+ # @return [RegistrationAWSAccountConsoleURL]
947
+ def get_cspm_aws_console_setup_urls(opts = {})
948
+ data, _status_code, _headers = get_cspm_aws_console_setup_urls_with_http_info(opts)
949
+ data
950
+ end
951
+
952
+ # Return a URL for customer to visit in their cloud environment to grant us access to their AWS environment.
953
+ # @param [Hash] opts the optional parameters
954
+ # @option opts [Array<String>] :ids AWS account IDs
955
+ # @option opts [String] :use_existing_cloudtrail
956
+ # @option opts [String] :region Region
957
+ # @return [Array<(RegistrationAWSAccountConsoleURL, Integer, Hash)>] RegistrationAWSAccountConsoleURL data, response status code and response headers
958
+ def get_cspm_aws_console_setup_urls_with_http_info(opts = {})
959
+ if @api_client.config.debugging
960
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_aws_console_setup_urls ...'
961
+ end
962
+ allowable_values = ["false", "true"]
963
+ if @api_client.config.client_side_validation && opts[:'use_existing_cloudtrail'] && !allowable_values.include?(opts[:'use_existing_cloudtrail'])
964
+ fail ArgumentError, "invalid value for \"use_existing_cloudtrail\", must be one of #{allowable_values}"
965
+ end
966
+ pattern = Regexp.new(/^(true|false)$/)
967
+ if @api_client.config.client_side_validation && !opts[:'use_existing_cloudtrail'].nil? && opts[:'use_existing_cloudtrail'] !~ pattern
968
+ fail ArgumentError, "invalid value for 'opts[:\"use_existing_cloudtrail\"]' when calling CspmRegistrationApi.get_cspm_aws_console_setup_urls, must conform to the pattern #{pattern}."
969
+ end
970
+
971
+ pattern = Regexp.new(/^[0-9a-z-]{2,}$/)
972
+ if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern
973
+ fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling CspmRegistrationApi.get_cspm_aws_console_setup_urls, must conform to the pattern #{pattern}."
974
+ end
975
+
976
+ # resource path
977
+ local_var_path = '/cloud-connect-cspm-aws/entities/console-setup-urls/v1'
978
+
979
+ # query parameters
980
+ query_params = opts[:query_params] || {}
981
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
982
+ query_params[:'use_existing_cloudtrail'] = opts[:'use_existing_cloudtrail'] if !opts[:'use_existing_cloudtrail'].nil?
983
+ query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil?
984
+
985
+ # header parameters
986
+ header_params = opts[:header_params] || {}
987
+ # HTTP header 'Accept' (if needed)
988
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
989
+
990
+ # form parameters
991
+ form_params = opts[:form_params] || {}
992
+
993
+ # http body (model)
994
+ post_body = opts[:debug_body]
995
+
996
+ # return_type
997
+ return_type = opts[:debug_return_type] || 'RegistrationAWSAccountConsoleURL'
998
+
999
+ # auth_names
1000
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1001
+
1002
+ new_options = opts.merge(
1003
+ :operation => :"CspmRegistrationApi.get_cspm_aws_console_setup_urls",
1004
+ :header_params => header_params,
1005
+ :query_params => query_params,
1006
+ :form_params => form_params,
1007
+ :body => post_body,
1008
+ :auth_names => auth_names,
1009
+ :return_type => return_type
1010
+ )
1011
+
1012
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1013
+ if @api_client.config.debugging
1014
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_aws_console_setup_urls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1015
+ end
1016
+ return data, status_code, headers
1017
+ end
1018
+
1019
+ # Return information about Azure account registration
1020
+ # @param [Hash] opts the optional parameters
1021
+ # @option opts [Array<String>] :ids SubscriptionIDs of accounts to select for this status operation. If this is empty then all accounts are returned.
1022
+ # @option opts [Array<String>] :tenant_ids Tenant ids to filter azure accounts
1023
+ # @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
1024
+ # @option opts [String] :status Account status to filter results by.
1025
+ # @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
1026
+ # @option opts [Integer] :offset The offset to start retrieving records from
1027
+ # @return [RegistrationAzureAccountResponseV1]
1028
+ def get_cspm_azure_account(opts = {})
1029
+ data, _status_code, _headers = get_cspm_azure_account_with_http_info(opts)
1030
+ data
1031
+ end
1032
+
1033
+ # Return information about Azure account registration
1034
+ # @param [Hash] opts the optional parameters
1035
+ # @option opts [Array<String>] :ids SubscriptionIDs of accounts to select for this status operation. If this is empty then all accounts are returned.
1036
+ # @option opts [Array<String>] :tenant_ids Tenant ids to filter azure accounts
1037
+ # @option opts [String] :scan_type Type of scan, dry or full, to perform on selected accounts
1038
+ # @option opts [String] :status Account status to filter results by.
1039
+ # @option opts [Integer] :limit The maximum records to return. Defaults to 100. (default to 100)
1040
+ # @option opts [Integer] :offset The offset to start retrieving records from
1041
+ # @return [Array<(RegistrationAzureAccountResponseV1, Integer, Hash)>] RegistrationAzureAccountResponseV1 data, response status code and response headers
1042
+ def get_cspm_azure_account_with_http_info(opts = {})
1043
+ if @api_client.config.debugging
1044
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_azure_account ...'
1045
+ end
1046
+ if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length > 4
1047
+ fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling CspmRegistrationApi.get_cspm_azure_account, the character length must be smaller than or equal to 4.'
1048
+ end
1049
+
1050
+ if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'].to_s.length < 3
1051
+ fail ArgumentError, 'invalid value for "opts[:"scan_type"]" when calling CspmRegistrationApi.get_cspm_azure_account, the character length must be great than or equal to 3.'
1052
+ end
1053
+
1054
+ pattern = Regexp.new(/^(full|dry)$/)
1055
+ if @api_client.config.client_side_validation && !opts[:'scan_type'].nil? && opts[:'scan_type'] !~ pattern
1056
+ fail ArgumentError, "invalid value for 'opts[:\"scan_type\"]' when calling CspmRegistrationApi.get_cspm_azure_account, must conform to the pattern #{pattern}."
1057
+ end
1058
+
1059
+ pattern = Regexp.new(/^(provisioned|operational)$/)
1060
+ if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
1061
+ fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling CspmRegistrationApi.get_cspm_azure_account, must conform to the pattern #{pattern}."
1062
+ end
1063
+
1064
+ # resource path
1065
+ local_var_path = '/cloud-connect-cspm-azure/entities/account/v1'
1066
+
1067
+ # query parameters
1068
+ query_params = opts[:query_params] || {}
1069
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
1070
+ query_params[:'tenant_ids'] = @api_client.build_collection_param(opts[:'tenant_ids'], :multi) if !opts[:'tenant_ids'].nil?
1071
+ query_params[:'scan-type'] = opts[:'scan_type'] if !opts[:'scan_type'].nil?
1072
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
1073
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1074
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1075
+
1076
+ # header parameters
1077
+ header_params = opts[:header_params] || {}
1078
+ # HTTP header 'Accept' (if needed)
1079
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1080
+
1081
+ # form parameters
1082
+ form_params = opts[:form_params] || {}
1083
+
1084
+ # http body (model)
1085
+ post_body = opts[:debug_body]
1086
+
1087
+ # return_type
1088
+ return_type = opts[:debug_return_type] || 'RegistrationAzureAccountResponseV1'
1089
+
1090
+ # auth_names
1091
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1092
+
1093
+ new_options = opts.merge(
1094
+ :operation => :"CspmRegistrationApi.get_cspm_azure_account",
1095
+ :header_params => header_params,
1096
+ :query_params => query_params,
1097
+ :form_params => form_params,
1098
+ :body => post_body,
1099
+ :auth_names => auth_names,
1100
+ :return_type => return_type
1101
+ )
1102
+
1103
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1104
+ if @api_client.config.debugging
1105
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_azure_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1106
+ end
1107
+ return data, status_code, headers
1108
+ end
1109
+
1110
+ # Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment
1111
+ # @param [Hash] opts the optional parameters
1112
+ # @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
1113
+ # @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
1114
+ # @option opts [String] :account_type
1115
+ # @option opts [String] :template Template to be rendered
1116
+ # @return [RegistrationAzureProvisionGetUserScriptResponseV1]
1117
+ def get_cspm_azure_user_scripts_attachment(opts = {})
1118
+ data, _status_code, _headers = get_cspm_azure_user_scripts_attachment_with_http_info(opts)
1119
+ data
1120
+ end
1121
+
1122
+ # Return a script for customer to run in their cloud environment to grant us access to their Azure environment as a downloadable attachment
1123
+ # @param [Hash] opts the optional parameters
1124
+ # @option opts [String] :tenant_id Tenant ID to generate script for. Defaults to most recently registered tenant.
1125
+ # @option opts [Array<String>] :subscription_ids Subscription IDs to generate script for. Defaults to all.
1126
+ # @option opts [String] :account_type
1127
+ # @option opts [String] :template Template to be rendered
1128
+ # @return [Array<(RegistrationAzureProvisionGetUserScriptResponseV1, Integer, Hash)>] RegistrationAzureProvisionGetUserScriptResponseV1 data, response status code and response headers
1129
+ def get_cspm_azure_user_scripts_attachment_with_http_info(opts = {})
1130
+ if @api_client.config.debugging
1131
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_azure_user_scripts_attachment ...'
1132
+ end
1133
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length > 36
1134
+ fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, the character length must be smaller than or equal to 36.'
1135
+ end
1136
+
1137
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length < 36
1138
+ fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, the character length must be great than or equal to 36.'
1139
+ end
1140
+
1141
+ pattern = Regexp.new(/^[0-9a-z-]{36}$/)
1142
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'] !~ pattern
1143
+ fail ArgumentError, "invalid value for 'opts[:\"tenant_id\"]' when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, must conform to the pattern #{pattern}."
1144
+ end
1145
+
1146
+ allowable_values = ["commercial", "gov"]
1147
+ if @api_client.config.client_side_validation && opts[:'account_type'] && !allowable_values.include?(opts[:'account_type'])
1148
+ fail ArgumentError, "invalid value for \"account_type\", must be one of #{allowable_values}"
1149
+ end
1150
+ pattern = Regexp.new(/^(commercial|gov)$/)
1151
+ if @api_client.config.client_side_validation && !opts[:'account_type'].nil? && opts[:'account_type'] !~ pattern
1152
+ fail ArgumentError, "invalid value for 'opts[:\"account_type\"]' when calling CspmRegistrationApi.get_cspm_azure_user_scripts_attachment, must conform to the pattern #{pattern}."
1153
+ end
1154
+
1155
+ # resource path
1156
+ local_var_path = '/cloud-connect-cspm-azure/entities/user-scripts-download/v1'
1157
+
1158
+ # query parameters
1159
+ query_params = opts[:query_params] || {}
1160
+ query_params[:'tenant-id'] = opts[:'tenant_id'] if !opts[:'tenant_id'].nil?
1161
+ query_params[:'subscription_ids'] = @api_client.build_collection_param(opts[:'subscription_ids'], :multi) if !opts[:'subscription_ids'].nil?
1162
+ query_params[:'account_type'] = opts[:'account_type'] if !opts[:'account_type'].nil?
1163
+ query_params[:'template'] = opts[:'template'] if !opts[:'template'].nil?
1164
+
1165
+ # header parameters
1166
+ header_params = opts[:header_params] || {}
1167
+ # HTTP header 'Accept' (if needed)
1168
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream'])
1169
+
1170
+ # form parameters
1171
+ form_params = opts[:form_params] || {}
1172
+
1173
+ # http body (model)
1174
+ post_body = opts[:debug_body]
1175
+
1176
+ # return_type
1177
+ return_type = opts[:debug_return_type] || 'RegistrationAzureProvisionGetUserScriptResponseV1'
1178
+
1179
+ # auth_names
1180
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1181
+
1182
+ new_options = opts.merge(
1183
+ :operation => :"CspmRegistrationApi.get_cspm_azure_user_scripts_attachment",
1184
+ :header_params => header_params,
1185
+ :query_params => query_params,
1186
+ :form_params => form_params,
1187
+ :body => post_body,
1188
+ :auth_names => auth_names,
1189
+ :return_type => return_type
1190
+ )
1191
+
1192
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1193
+ if @api_client.config.debugging
1194
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_azure_user_scripts_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1195
+ end
1196
+ return data, status_code, headers
1197
+ end
1198
+
1199
+ # Given an array of policy IDs, returns detailed policies information.
1200
+ # @param ids [Array<Integer>] Policy IDs
1201
+ # @param [Hash] opts the optional parameters
1202
+ # @return [RegistrationPolicyResponseV1]
1203
+ def get_cspm_policies_details(ids, opts = {})
1204
+ data, _status_code, _headers = get_cspm_policies_details_with_http_info(ids, opts)
1205
+ data
1206
+ end
1207
+
1208
+ # Given an array of policy IDs, returns detailed policies information.
1209
+ # @param ids [Array<Integer>] Policy IDs
1210
+ # @param [Hash] opts the optional parameters
1211
+ # @return [Array<(RegistrationPolicyResponseV1, Integer, Hash)>] RegistrationPolicyResponseV1 data, response status code and response headers
1212
+ def get_cspm_policies_details_with_http_info(ids, opts = {})
1213
+ if @api_client.config.debugging
1214
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_policies_details ...'
1215
+ end
1216
+ # verify the required parameter 'ids' is set
1217
+ if @api_client.config.client_side_validation && ids.nil?
1218
+ fail ArgumentError, "Missing the required parameter 'ids' when calling CspmRegistrationApi.get_cspm_policies_details"
1219
+ end
1220
+ # resource path
1221
+ local_var_path = '/settings/entities/policy-details/v2'
1222
+
1223
+ # query parameters
1224
+ query_params = opts[:query_params] || {}
1225
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :multi)
1226
+
1227
+ # header parameters
1228
+ header_params = opts[:header_params] || {}
1229
+ # HTTP header 'Accept' (if needed)
1230
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1231
+
1232
+ # form parameters
1233
+ form_params = opts[:form_params] || {}
1234
+
1235
+ # http body (model)
1236
+ post_body = opts[:debug_body]
1237
+
1238
+ # return_type
1239
+ return_type = opts[:debug_return_type] || 'RegistrationPolicyResponseV1'
1240
+
1241
+ # auth_names
1242
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1243
+
1244
+ new_options = opts.merge(
1245
+ :operation => :"CspmRegistrationApi.get_cspm_policies_details",
1246
+ :header_params => header_params,
1247
+ :query_params => query_params,
1248
+ :form_params => form_params,
1249
+ :body => post_body,
1250
+ :auth_names => auth_names,
1251
+ :return_type => return_type
1252
+ )
1253
+
1254
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1255
+ if @api_client.config.debugging
1256
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_policies_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1257
+ end
1258
+ return data, status_code, headers
1259
+ end
1260
+
1261
+ # Given a policy ID, returns detailed policy information.
1262
+ # @param ids [Integer] Policy ID
1263
+ # @param [Hash] opts the optional parameters
1264
+ # @return [RegistrationPolicyResponseV1]
1265
+ def get_cspm_policy(ids, opts = {})
1266
+ data, _status_code, _headers = get_cspm_policy_with_http_info(ids, opts)
1267
+ data
1268
+ end
1269
+
1270
+ # Given a policy ID, returns detailed policy information.
1271
+ # @param ids [Integer] Policy ID
1272
+ # @param [Hash] opts the optional parameters
1273
+ # @return [Array<(RegistrationPolicyResponseV1, Integer, Hash)>] RegistrationPolicyResponseV1 data, response status code and response headers
1274
+ def get_cspm_policy_with_http_info(ids, opts = {})
1275
+ if @api_client.config.debugging
1276
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_policy ...'
1277
+ end
1278
+ # verify the required parameter 'ids' is set
1279
+ if @api_client.config.client_side_validation && ids.nil?
1280
+ fail ArgumentError, "Missing the required parameter 'ids' when calling CspmRegistrationApi.get_cspm_policy"
1281
+ end
1282
+ pattern = Regexp.new(/^\d+$/)
1283
+ if @api_client.config.client_side_validation && ids !~ pattern
1284
+ fail ArgumentError, "invalid value for 'ids' when calling CspmRegistrationApi.get_cspm_policy, must conform to the pattern #{pattern}."
1285
+ end
1286
+
1287
+ # resource path
1288
+ local_var_path = '/settings/entities/policy-details/v1'
1289
+
1290
+ # query parameters
1291
+ query_params = opts[:query_params] || {}
1292
+ query_params[:'ids'] = ids
1293
+
1294
+ # header parameters
1295
+ header_params = opts[:header_params] || {}
1296
+ # HTTP header 'Accept' (if needed)
1297
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1298
+
1299
+ # form parameters
1300
+ form_params = opts[:form_params] || {}
1301
+
1302
+ # http body (model)
1303
+ post_body = opts[:debug_body]
1304
+
1305
+ # return_type
1306
+ return_type = opts[:debug_return_type] || 'RegistrationPolicyResponseV1'
1307
+
1308
+ # auth_names
1309
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1310
+
1311
+ new_options = opts.merge(
1312
+ :operation => :"CspmRegistrationApi.get_cspm_policy",
1313
+ :header_params => header_params,
1314
+ :query_params => query_params,
1315
+ :form_params => form_params,
1316
+ :body => post_body,
1317
+ :auth_names => auth_names,
1318
+ :return_type => return_type
1319
+ )
1320
+
1321
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1322
+ if @api_client.config.debugging
1323
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1324
+ end
1325
+ return data, status_code, headers
1326
+ end
1327
+
1328
+ # Returns information about current policy settings.
1329
+ # @param [Hash] opts the optional parameters
1330
+ # @option opts [String] :service Service type to filter policy settings by.
1331
+ # @option opts [String] :policy_id Policy ID
1332
+ # @option opts [String] :cloud_platform Cloud Platform (e.g.: aws|azure|gcp)
1333
+ # @return [RegistrationPolicySettingsResponseV1]
1334
+ def get_cspm_policy_settings(opts = {})
1335
+ data, _status_code, _headers = get_cspm_policy_settings_with_http_info(opts)
1336
+ data
1337
+ end
1338
+
1339
+ # Returns information about current policy settings.
1340
+ # @param [Hash] opts the optional parameters
1341
+ # @option opts [String] :service Service type to filter policy settings by.
1342
+ # @option opts [String] :policy_id Policy ID
1343
+ # @option opts [String] :cloud_platform Cloud Platform (e.g.: aws|azure|gcp)
1344
+ # @return [Array<(RegistrationPolicySettingsResponseV1, Integer, Hash)>] RegistrationPolicySettingsResponseV1 data, response status code and response headers
1345
+ def get_cspm_policy_settings_with_http_info(opts = {})
1346
+ if @api_client.config.debugging
1347
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_policy_settings ...'
1348
+ end
1349
+ allowable_values = ["ACM", "ACR", "Any", "App Engine", "AppService", "BigQuery", "Cloud Load Balancing", "Cloud Logging", "Cloud SQL", "Cloud Storage", "CloudFormation", "CloudTrail", "CloudWatch Logs", "Cloudfront", "Compute Engine", "Config", "Disk", "DynamoDB", "EBS", "EC2", "ECR", "EFS", "EKS", "ELB", "EMR", "Elasticache", "GuardDuty", "IAM", "Identity", "KMS", "KeyVault", "Kinesis", "Kubernetes", "Lambda", "LoadBalancer", "Monitor", "NLB/ALB", "NetworkSecurityGroup", "PostgreSQL", "RDS", "Redshift", "S3", "SES", "SNS", "SQLDatabase", "SQLServer", "SQS", "SSM", "Serverless Application Repository", "StorageAccount", "Subscriptions", "VPC", "VirtualMachine", "VirtualNetwork"]
1350
+ if @api_client.config.client_side_validation && opts[:'service'] && !allowable_values.include?(opts[:'service'])
1351
+ fail ArgumentError, "invalid value for \"service\", must be one of #{allowable_values}"
1352
+ end
1353
+ pattern = Regexp.new(/^\d+$/)
1354
+ if @api_client.config.client_side_validation && !opts[:'policy_id'].nil? && opts[:'policy_id'] !~ pattern
1355
+ fail ArgumentError, "invalid value for 'opts[:\"policy_id\"]' when calling CspmRegistrationApi.get_cspm_policy_settings, must conform to the pattern #{pattern}."
1356
+ end
1357
+
1358
+ allowable_values = ["aws", "azure", "gcp"]
1359
+ if @api_client.config.client_side_validation && opts[:'cloud_platform'] && !allowable_values.include?(opts[:'cloud_platform'])
1360
+ fail ArgumentError, "invalid value for \"cloud_platform\", must be one of #{allowable_values}"
1361
+ end
1362
+ pattern = Regexp.new(/^(aws|azure|gcp)$/)
1363
+ if @api_client.config.client_side_validation && !opts[:'cloud_platform'].nil? && opts[:'cloud_platform'] !~ pattern
1364
+ fail ArgumentError, "invalid value for 'opts[:\"cloud_platform\"]' when calling CspmRegistrationApi.get_cspm_policy_settings, must conform to the pattern #{pattern}."
1365
+ end
1366
+
1367
+ # resource path
1368
+ local_var_path = '/settings/entities/policy/v1'
1369
+
1370
+ # query parameters
1371
+ query_params = opts[:query_params] || {}
1372
+ query_params[:'service'] = opts[:'service'] if !opts[:'service'].nil?
1373
+ query_params[:'policy-id'] = opts[:'policy_id'] if !opts[:'policy_id'].nil?
1374
+ query_params[:'cloud-platform'] = opts[:'cloud_platform'] if !opts[:'cloud_platform'].nil?
1375
+
1376
+ # header parameters
1377
+ header_params = opts[:header_params] || {}
1378
+ # HTTP header 'Accept' (if needed)
1379
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1380
+
1381
+ # form parameters
1382
+ form_params = opts[:form_params] || {}
1383
+
1384
+ # http body (model)
1385
+ post_body = opts[:debug_body]
1386
+
1387
+ # return_type
1388
+ return_type = opts[:debug_return_type] || 'RegistrationPolicySettingsResponseV1'
1389
+
1390
+ # auth_names
1391
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1392
+
1393
+ new_options = opts.merge(
1394
+ :operation => :"CspmRegistrationApi.get_cspm_policy_settings",
1395
+ :header_params => header_params,
1396
+ :query_params => query_params,
1397
+ :form_params => form_params,
1398
+ :body => post_body,
1399
+ :auth_names => auth_names,
1400
+ :return_type => return_type
1401
+ )
1402
+
1403
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1404
+ if @api_client.config.debugging
1405
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_policy_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1406
+ end
1407
+ return data, status_code, headers
1408
+ end
1409
+
1410
+ # Returns scan schedule configuration for one or more cloud platforms.
1411
+ # @param [Hash] opts the optional parameters
1412
+ # @option opts [Array<String>] :cloud_platform Cloud Platform
1413
+ # @return [RegistrationScanScheduleResponseV1]
1414
+ def get_cspm_scan_schedule(opts = {})
1415
+ data, _status_code, _headers = get_cspm_scan_schedule_with_http_info(opts)
1416
+ data
1417
+ end
1418
+
1419
+ # Returns scan schedule configuration for one or more cloud platforms.
1420
+ # @param [Hash] opts the optional parameters
1421
+ # @option opts [Array<String>] :cloud_platform Cloud Platform
1422
+ # @return [Array<(RegistrationScanScheduleResponseV1, Integer, Hash)>] RegistrationScanScheduleResponseV1 data, response status code and response headers
1423
+ def get_cspm_scan_schedule_with_http_info(opts = {})
1424
+ if @api_client.config.debugging
1425
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.get_cspm_scan_schedule ...'
1426
+ end
1427
+ # resource path
1428
+ local_var_path = '/settings/scan-schedule/v1'
1429
+
1430
+ # query parameters
1431
+ query_params = opts[:query_params] || {}
1432
+ query_params[:'cloud-platform'] = @api_client.build_collection_param(opts[:'cloud_platform'], :multi) if !opts[:'cloud_platform'].nil?
1433
+
1434
+ # header parameters
1435
+ header_params = opts[:header_params] || {}
1436
+ # HTTP header 'Accept' (if needed)
1437
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1438
+
1439
+ # form parameters
1440
+ form_params = opts[:form_params] || {}
1441
+
1442
+ # http body (model)
1443
+ post_body = opts[:debug_body]
1444
+
1445
+ # return_type
1446
+ return_type = opts[:debug_return_type] || 'RegistrationScanScheduleResponseV1'
1447
+
1448
+ # auth_names
1449
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1450
+
1451
+ new_options = opts.merge(
1452
+ :operation => :"CspmRegistrationApi.get_cspm_scan_schedule",
1453
+ :header_params => header_params,
1454
+ :query_params => query_params,
1455
+ :form_params => form_params,
1456
+ :body => post_body,
1457
+ :auth_names => auth_names,
1458
+ :return_type => return_type
1459
+ )
1460
+
1461
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1462
+ if @api_client.config.debugging
1463
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#get_cspm_scan_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1464
+ end
1465
+ return data, status_code, headers
1466
+ end
1467
+
1468
+ # Patches a existing account in our system for a customer.
1469
+ # @param body [RegistrationAWSAccountPatchRequest]
1470
+ # @param [Hash] opts the optional parameters
1471
+ # @return [RegistrationAWSAccountResponseV2]
1472
+ def patch_cspm_aws_account(body, opts = {})
1473
+ data, _status_code, _headers = patch_cspm_aws_account_with_http_info(body, opts)
1474
+ data
1475
+ end
1476
+
1477
+ # Patches a existing account in our system for a customer.
1478
+ # @param body [RegistrationAWSAccountPatchRequest]
1479
+ # @param [Hash] opts the optional parameters
1480
+ # @return [Array<(RegistrationAWSAccountResponseV2, Integer, Hash)>] RegistrationAWSAccountResponseV2 data, response status code and response headers
1481
+ def patch_cspm_aws_account_with_http_info(body, opts = {})
1482
+ if @api_client.config.debugging
1483
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.patch_cspm_aws_account ...'
1484
+ end
1485
+ # verify the required parameter 'body' is set
1486
+ if @api_client.config.client_side_validation && body.nil?
1487
+ fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.patch_cspm_aws_account"
1488
+ end
1489
+ # resource path
1490
+ local_var_path = '/cloud-connect-cspm-aws/entities/account/v1'
1491
+
1492
+ # query parameters
1493
+ query_params = opts[:query_params] || {}
1494
+
1495
+ # header parameters
1496
+ header_params = opts[:header_params] || {}
1497
+ # HTTP header 'Accept' (if needed)
1498
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1499
+ # HTTP header 'Content-Type'
1500
+ content_type = @api_client.select_header_content_type(['application/json'])
1501
+ if !content_type.nil?
1502
+ header_params['Content-Type'] = content_type
1503
+ end
1504
+
1505
+ # form parameters
1506
+ form_params = opts[:form_params] || {}
1507
+
1508
+ # http body (model)
1509
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1510
+
1511
+ # return_type
1512
+ return_type = opts[:debug_return_type] || 'RegistrationAWSAccountResponseV2'
1513
+
1514
+ # auth_names
1515
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1516
+
1517
+ new_options = opts.merge(
1518
+ :operation => :"CspmRegistrationApi.patch_cspm_aws_account",
1519
+ :header_params => header_params,
1520
+ :query_params => query_params,
1521
+ :form_params => form_params,
1522
+ :body => post_body,
1523
+ :auth_names => auth_names,
1524
+ :return_type => return_type
1525
+ )
1526
+
1527
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1528
+ if @api_client.config.debugging
1529
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#patch_cspm_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1530
+ end
1531
+ return data, status_code, headers
1532
+ end
1533
+
1534
+ # Update an Azure service account in our system by with the user-created client_id created with the public key we've provided
1535
+ # @param id [String] ClientID to use for the Service Principal associated with the customer&#39;s Azure account
1536
+ # @param [Hash] opts the optional parameters
1537
+ # @option opts [String] :tenant_id Tenant ID to update client ID for. Required if multiple tenants are registered.
1538
+ # @return [RegistrationAzureTenantConfigurationResponseV1]
1539
+ def update_cspm_azure_account_client_id(id, opts = {})
1540
+ data, _status_code, _headers = update_cspm_azure_account_client_id_with_http_info(id, opts)
1541
+ data
1542
+ end
1543
+
1544
+ # Update an Azure service account in our system by with the user-created client_id created with the public key we&#39;ve provided
1545
+ # @param id [String] ClientID to use for the Service Principal associated with the customer&#39;s Azure account
1546
+ # @param [Hash] opts the optional parameters
1547
+ # @option opts [String] :tenant_id Tenant ID to update client ID for. Required if multiple tenants are registered.
1548
+ # @return [Array<(RegistrationAzureTenantConfigurationResponseV1, Integer, Hash)>] RegistrationAzureTenantConfigurationResponseV1 data, response status code and response headers
1549
+ def update_cspm_azure_account_client_id_with_http_info(id, opts = {})
1550
+ if @api_client.config.debugging
1551
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.update_cspm_azure_account_client_id ...'
1552
+ end
1553
+ # verify the required parameter 'id' is set
1554
+ if @api_client.config.client_side_validation && id.nil?
1555
+ fail ArgumentError, "Missing the required parameter 'id' when calling CspmRegistrationApi.update_cspm_azure_account_client_id"
1556
+ end
1557
+ if @api_client.config.client_side_validation && id.to_s.length > 36
1558
+ fail ArgumentError, 'invalid value for "id" when calling CspmRegistrationApi.update_cspm_azure_account_client_id, the character length must be smaller than or equal to 36.'
1559
+ end
1560
+
1561
+ if @api_client.config.client_side_validation && id.to_s.length < 36
1562
+ fail ArgumentError, 'invalid value for "id" when calling CspmRegistrationApi.update_cspm_azure_account_client_id, the character length must be great than or equal to 36.'
1563
+ end
1564
+
1565
+ pattern = Regexp.new(/^[0-9a-z-]{36}$/)
1566
+ if @api_client.config.client_side_validation && id !~ pattern
1567
+ fail ArgumentError, "invalid value for 'id' when calling CspmRegistrationApi.update_cspm_azure_account_client_id, must conform to the pattern #{pattern}."
1568
+ end
1569
+
1570
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length > 36
1571
+ fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.update_cspm_azure_account_client_id, the character length must be smaller than or equal to 36.'
1572
+ end
1573
+
1574
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length < 36
1575
+ fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.update_cspm_azure_account_client_id, the character length must be great than or equal to 36.'
1576
+ end
1577
+
1578
+ pattern = Regexp.new(/^[0-9a-z-]{36}$/)
1579
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'] !~ pattern
1580
+ fail ArgumentError, "invalid value for 'opts[:\"tenant_id\"]' when calling CspmRegistrationApi.update_cspm_azure_account_client_id, must conform to the pattern #{pattern}."
1581
+ end
1582
+
1583
+ # resource path
1584
+ local_var_path = '/cloud-connect-cspm-azure/entities/client-id/v1'
1585
+
1586
+ # query parameters
1587
+ query_params = opts[:query_params] || {}
1588
+ query_params[:'id'] = id
1589
+ query_params[:'tenant-id'] = opts[:'tenant_id'] if !opts[:'tenant_id'].nil?
1590
+
1591
+ # header parameters
1592
+ header_params = opts[:header_params] || {}
1593
+ # HTTP header 'Accept' (if needed)
1594
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1595
+
1596
+ # form parameters
1597
+ form_params = opts[:form_params] || {}
1598
+
1599
+ # http body (model)
1600
+ post_body = opts[:debug_body]
1601
+
1602
+ # return_type
1603
+ return_type = opts[:debug_return_type] || 'RegistrationAzureTenantConfigurationResponseV1'
1604
+
1605
+ # auth_names
1606
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1607
+
1608
+ new_options = opts.merge(
1609
+ :operation => :"CspmRegistrationApi.update_cspm_azure_account_client_id",
1610
+ :header_params => header_params,
1611
+ :query_params => query_params,
1612
+ :form_params => form_params,
1613
+ :body => post_body,
1614
+ :auth_names => auth_names,
1615
+ :return_type => return_type
1616
+ )
1617
+
1618
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1619
+ if @api_client.config.debugging
1620
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#update_cspm_azure_account_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1621
+ end
1622
+ return data, status_code, headers
1623
+ end
1624
+
1625
+ # Update an Azure default subscription_id in our system for given tenant_id
1626
+ # @param subscription_id [String] Default Subscription ID to patch for all subscriptions belonged to a tenant.
1627
+ # @param [Hash] opts the optional parameters
1628
+ # @option opts [String] :tenant_id Tenant ID to update client ID for. Required if multiple tenants are registered.
1629
+ # @return [RegistrationAzureTenantDefaultSubscriptionIDResponseV1]
1630
+ def update_cspm_azure_tenant_default_subscription_id(subscription_id, opts = {})
1631
+ data, _status_code, _headers = update_cspm_azure_tenant_default_subscription_id_with_http_info(subscription_id, opts)
1632
+ data
1633
+ end
1634
+
1635
+ # Update an Azure default subscription_id in our system for given tenant_id
1636
+ # @param subscription_id [String] Default Subscription ID to patch for all subscriptions belonged to a tenant.
1637
+ # @param [Hash] opts the optional parameters
1638
+ # @option opts [String] :tenant_id Tenant ID to update client ID for. Required if multiple tenants are registered.
1639
+ # @return [Array<(RegistrationAzureTenantDefaultSubscriptionIDResponseV1, Integer, Hash)>] RegistrationAzureTenantDefaultSubscriptionIDResponseV1 data, response status code and response headers
1640
+ def update_cspm_azure_tenant_default_subscription_id_with_http_info(subscription_id, opts = {})
1641
+ if @api_client.config.debugging
1642
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id ...'
1643
+ end
1644
+ # verify the required parameter 'subscription_id' is set
1645
+ if @api_client.config.client_side_validation && subscription_id.nil?
1646
+ fail ArgumentError, "Missing the required parameter 'subscription_id' when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id"
1647
+ end
1648
+ if @api_client.config.client_side_validation && subscription_id.to_s.length > 36
1649
+ fail ArgumentError, 'invalid value for "subscription_id" when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id, the character length must be smaller than or equal to 36.'
1650
+ end
1651
+
1652
+ if @api_client.config.client_side_validation && subscription_id.to_s.length < 36
1653
+ fail ArgumentError, 'invalid value for "subscription_id" when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id, the character length must be great than or equal to 36.'
1654
+ end
1655
+
1656
+ pattern = Regexp.new(/^[0-9a-z-]{36}$/)
1657
+ if @api_client.config.client_side_validation && subscription_id !~ pattern
1658
+ fail ArgumentError, "invalid value for 'subscription_id' when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id, must conform to the pattern #{pattern}."
1659
+ end
1660
+
1661
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length > 36
1662
+ fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id, the character length must be smaller than or equal to 36.'
1663
+ end
1664
+
1665
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'].to_s.length < 36
1666
+ fail ArgumentError, 'invalid value for "opts[:"tenant_id"]" when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id, the character length must be great than or equal to 36.'
1667
+ end
1668
+
1669
+ pattern = Regexp.new(/^[0-9a-z-]{36}$/)
1670
+ if @api_client.config.client_side_validation && !opts[:'tenant_id'].nil? && opts[:'tenant_id'] !~ pattern
1671
+ fail ArgumentError, "invalid value for 'opts[:\"tenant_id\"]' when calling CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id, must conform to the pattern #{pattern}."
1672
+ end
1673
+
1674
+ # resource path
1675
+ local_var_path = '/cloud-connect-cspm-azure/entities/default-subscription-id/v1'
1676
+
1677
+ # query parameters
1678
+ query_params = opts[:query_params] || {}
1679
+ query_params[:'subscription_id'] = subscription_id
1680
+ query_params[:'tenant-id'] = opts[:'tenant_id'] if !opts[:'tenant_id'].nil?
1681
+
1682
+ # header parameters
1683
+ header_params = opts[:header_params] || {}
1684
+ # HTTP header 'Accept' (if needed)
1685
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1686
+
1687
+ # form parameters
1688
+ form_params = opts[:form_params] || {}
1689
+
1690
+ # http body (model)
1691
+ post_body = opts[:debug_body]
1692
+
1693
+ # return_type
1694
+ return_type = opts[:debug_return_type] || 'RegistrationAzureTenantDefaultSubscriptionIDResponseV1'
1695
+
1696
+ # auth_names
1697
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1698
+
1699
+ new_options = opts.merge(
1700
+ :operation => :"CspmRegistrationApi.update_cspm_azure_tenant_default_subscription_id",
1701
+ :header_params => header_params,
1702
+ :query_params => query_params,
1703
+ :form_params => form_params,
1704
+ :body => post_body,
1705
+ :auth_names => auth_names,
1706
+ :return_type => return_type
1707
+ )
1708
+
1709
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1710
+ if @api_client.config.debugging
1711
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#update_cspm_azure_tenant_default_subscription_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1712
+ end
1713
+ return data, status_code, headers
1714
+ end
1715
+
1716
+ # Updates a policy setting - can be used to override policy severity or to disable a policy entirely.
1717
+ # @param body [RegistrationPolicyRequestExtV1]
1718
+ # @param [Hash] opts the optional parameters
1719
+ # @return [RegistrationPolicySettingsResponseV1]
1720
+ def update_cspm_policy_settings(body, opts = {})
1721
+ data, _status_code, _headers = update_cspm_policy_settings_with_http_info(body, opts)
1722
+ data
1723
+ end
1724
+
1725
+ # Updates a policy setting - can be used to override policy severity or to disable a policy entirely.
1726
+ # @param body [RegistrationPolicyRequestExtV1]
1727
+ # @param [Hash] opts the optional parameters
1728
+ # @return [Array<(RegistrationPolicySettingsResponseV1, Integer, Hash)>] RegistrationPolicySettingsResponseV1 data, response status code and response headers
1729
+ def update_cspm_policy_settings_with_http_info(body, opts = {})
1730
+ if @api_client.config.debugging
1731
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.update_cspm_policy_settings ...'
1732
+ end
1733
+ # verify the required parameter 'body' is set
1734
+ if @api_client.config.client_side_validation && body.nil?
1735
+ fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.update_cspm_policy_settings"
1736
+ end
1737
+ # resource path
1738
+ local_var_path = '/settings/entities/policy/v1'
1739
+
1740
+ # query parameters
1741
+ query_params = opts[:query_params] || {}
1742
+
1743
+ # header parameters
1744
+ header_params = opts[:header_params] || {}
1745
+ # HTTP header 'Accept' (if needed)
1746
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1747
+ # HTTP header 'Content-Type'
1748
+ content_type = @api_client.select_header_content_type(['application/json'])
1749
+ if !content_type.nil?
1750
+ header_params['Content-Type'] = content_type
1751
+ end
1752
+
1753
+ # form parameters
1754
+ form_params = opts[:form_params] || {}
1755
+
1756
+ # http body (model)
1757
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1758
+
1759
+ # return_type
1760
+ return_type = opts[:debug_return_type] || 'RegistrationPolicySettingsResponseV1'
1761
+
1762
+ # auth_names
1763
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1764
+
1765
+ new_options = opts.merge(
1766
+ :operation => :"CspmRegistrationApi.update_cspm_policy_settings",
1767
+ :header_params => header_params,
1768
+ :query_params => query_params,
1769
+ :form_params => form_params,
1770
+ :body => post_body,
1771
+ :auth_names => auth_names,
1772
+ :return_type => return_type
1773
+ )
1774
+
1775
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1776
+ if @api_client.config.debugging
1777
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#update_cspm_policy_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1778
+ end
1779
+ return data, status_code, headers
1780
+ end
1781
+
1782
+ # Updates scan schedule configuration for one or more cloud platforms.
1783
+ # @param body [RegistrationScanScheduleUpdateRequestV1]
1784
+ # @param [Hash] opts the optional parameters
1785
+ # @return [RegistrationScanScheduleResponseV1]
1786
+ def update_cspm_scan_schedule(body, opts = {})
1787
+ data, _status_code, _headers = update_cspm_scan_schedule_with_http_info(body, opts)
1788
+ data
1789
+ end
1790
+
1791
+ # Updates scan schedule configuration for one or more cloud platforms.
1792
+ # @param body [RegistrationScanScheduleUpdateRequestV1]
1793
+ # @param [Hash] opts the optional parameters
1794
+ # @return [Array<(RegistrationScanScheduleResponseV1, Integer, Hash)>] RegistrationScanScheduleResponseV1 data, response status code and response headers
1795
+ def update_cspm_scan_schedule_with_http_info(body, opts = {})
1796
+ if @api_client.config.debugging
1797
+ @api_client.config.logger.debug 'Calling API: CspmRegistrationApi.update_cspm_scan_schedule ...'
1798
+ end
1799
+ # verify the required parameter 'body' is set
1800
+ if @api_client.config.client_side_validation && body.nil?
1801
+ fail ArgumentError, "Missing the required parameter 'body' when calling CspmRegistrationApi.update_cspm_scan_schedule"
1802
+ end
1803
+ # resource path
1804
+ local_var_path = '/settings/scan-schedule/v1'
1805
+
1806
+ # query parameters
1807
+ query_params = opts[:query_params] || {}
1808
+
1809
+ # header parameters
1810
+ header_params = opts[:header_params] || {}
1811
+ # HTTP header 'Accept' (if needed)
1812
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1813
+ # HTTP header 'Content-Type'
1814
+ content_type = @api_client.select_header_content_type(['application/json'])
1815
+ if !content_type.nil?
1816
+ header_params['Content-Type'] = content_type
1817
+ end
1818
+
1819
+ # form parameters
1820
+ form_params = opts[:form_params] || {}
1821
+
1822
+ # http body (model)
1823
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1824
+
1825
+ # return_type
1826
+ return_type = opts[:debug_return_type] || 'RegistrationScanScheduleResponseV1'
1827
+
1828
+ # auth_names
1829
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1830
+
1831
+ new_options = opts.merge(
1832
+ :operation => :"CspmRegistrationApi.update_cspm_scan_schedule",
1833
+ :header_params => header_params,
1834
+ :query_params => query_params,
1835
+ :form_params => form_params,
1836
+ :body => post_body,
1837
+ :auth_names => auth_names,
1838
+ :return_type => return_type
1839
+ )
1840
+
1841
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1842
+ if @api_client.config.debugging
1843
+ @api_client.config.logger.debug "API called: CspmRegistrationApi#update_cspm_scan_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1844
+ end
1845
+ return data, status_code, headers
1846
+ end
1847
+ end
1848
+ end