crimson-falcon 0.4.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1941) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3032 -1586
  3. data/crimson-falcon.gemspec +1 -1
  4. data/lib/crimson-falcon/api/alerts.rb +669 -0
  5. data/lib/crimson-falcon/api/api_integrations.rb +239 -0
  6. data/lib/crimson-falcon/api/aspm.rb +1778 -0
  7. data/lib/crimson-falcon/api/certificate_based_exclusions.rb +435 -0
  8. data/lib/crimson-falcon/api/cloud_aws_registration.rb +475 -0
  9. data/lib/crimson-falcon/api/cloud_azure_registration.rb +105 -0
  10. data/lib/crimson-falcon/api/cloud_connect_aws.rb +623 -0
  11. data/lib/crimson-falcon/api/cloud_security_assets.rb +179 -0
  12. data/lib/crimson-falcon/api/cloud_snapshots.rb +413 -0
  13. data/lib/crimson-falcon/api/compliance_assessments.rb +683 -0
  14. data/lib/crimson-falcon/api/configuration_assessment.rb +183 -0
  15. data/lib/crimson-falcon/api/configuration_assessment_evaluation_logic.rb +101 -0
  16. data/lib/crimson-falcon/api/container_alerts.rb +222 -0
  17. data/lib/crimson-falcon/api/container_detections.rb +408 -0
  18. data/lib/crimson-falcon/api/container_images.rb +903 -0
  19. data/lib/crimson-falcon/api/container_packages.rb +435 -0
  20. data/lib/crimson-falcon/api/container_vulnerabilities.rb +693 -0
  21. data/lib/crimson-falcon/api/content_update_policies.rb +769 -0
  22. data/lib/crimson-falcon/api/correlation_rules.rb +505 -0
  23. data/lib/crimson-falcon/api/cspg_iac.rb +94 -0
  24. data/lib/crimson-falcon/api/cspm_registration.rb +2913 -0
  25. data/lib/crimson-falcon/api/custom_ioa.rb +1353 -0
  26. data/lib/crimson-falcon/api/custom_storage.rb +1218 -0
  27. data/lib/crimson-falcon/api/d4c_registration.rb +1538 -0
  28. data/lib/crimson-falcon/api/datascanner.rb +225 -0
  29. data/lib/crimson-falcon/api/delivery_settings.rb +160 -0
  30. data/lib/crimson-falcon/api/deployments.rb +115 -0
  31. data/lib/crimson-falcon/api/detects.rb +315 -0
  32. data/lib/crimson-falcon/api/device_content.rb +176 -0
  33. data/lib/crimson-falcon/api/device_control_policies.rb +890 -0
  34. data/lib/crimson-falcon/api/discover.rb +833 -0
  35. data/lib/crimson-falcon/api/discover_iot.rb +255 -0
  36. data/lib/crimson-falcon/api/downloads.rb +108 -0
  37. data/lib/crimson-falcon/api/downloads_api.rb +112 -0
  38. data/lib/crimson-falcon/api/drift_indicators.rb +350 -0
  39. data/lib/crimson-falcon/api/event_schema.rb +219 -0
  40. data/lib/crimson-falcon/api/event_streams.rb +179 -0
  41. data/lib/crimson-falcon/api/exposure_management.rb +722 -0
  42. data/lib/crimson-falcon/api/falcon_complete_dashboard.rb +1369 -0
  43. data/lib/crimson-falcon/api/falcon_container.rb +94 -0
  44. data/lib/crimson-falcon/api/falcon_container_cli.rb +105 -0
  45. data/lib/crimson-falcon/api/falcon_container_image.rb +614 -0
  46. data/lib/crimson-falcon/api/falconx_sandbox.rb +1035 -0
  47. data/lib/crimson-falcon/api/field_schema.rb +164 -0
  48. data/lib/crimson-falcon/api/filevantage.rb +2201 -0
  49. data/lib/crimson-falcon/api/firewall_management.rb +2259 -0
  50. data/lib/crimson-falcon/api/firewall_policies.rb +780 -0
  51. data/lib/crimson-falcon/api/foundry_logscale.rb +1150 -0
  52. data/lib/crimson-falcon/api/handle.rb +94 -0
  53. data/lib/crimson-falcon/api/host_group.rb +706 -0
  54. data/lib/crimson-falcon/api/host_migration.rb +759 -0
  55. data/lib/crimson-falcon/api/hosts.rb +859 -0
  56. data/lib/crimson-falcon/api/humio_auth_proxy.rb +514 -0
  57. data/lib/crimson-falcon/api/identity_entities.rb +238 -0
  58. data/lib/crimson-falcon/api/identity_protection.rb +399 -0
  59. data/lib/crimson-falcon/api/image_assessment_policies.rb +738 -0
  60. data/lib/crimson-falcon/api/incidents.rb +456 -0
  61. data/lib/crimson-falcon/api/installation_tokens.rb +545 -0
  62. data/lib/crimson-falcon/api/installation_tokens_settings.rb +105 -0
  63. data/lib/crimson-falcon/api/intel.rb +1628 -0
  64. data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +118 -0
  65. data/lib/crimson-falcon/api/ioa_exclusions.rb +375 -0
  66. data/lib/crimson-falcon/api/ioc.rb +1132 -0
  67. data/lib/crimson-falcon/api/iocs.rb +327 -0
  68. data/lib/crimson-falcon/api/kubernetes_protection.rb +3988 -0
  69. data/lib/crimson-falcon/api/lookup_files.rb +239 -0
  70. data/lib/crimson-falcon/api/malquery.rb +606 -0
  71. data/lib/crimson-falcon/api/message_center.rb +729 -0
  72. data/lib/crimson-falcon/api/ml_exclusions.rb +369 -0
  73. data/lib/crimson-falcon/api/mobile_enrollment.rb +191 -0
  74. data/lib/crimson-falcon/api/mssp.rb +2015 -0
  75. data/lib/crimson-falcon/api/oauth2.rb +186 -0
  76. data/lib/crimson-falcon/api/ods.rb +1094 -0
  77. data/lib/crimson-falcon/api/overwatch_dashboard.rb +357 -0
  78. data/lib/crimson-falcon/api/prevention_policies.rb +769 -0
  79. data/lib/crimson-falcon/api/quarantine.rb +435 -0
  80. data/lib/crimson-falcon/api/quick_scan.rb +300 -0
  81. data/lib/crimson-falcon/api/quick_scan_pro.rb +432 -0
  82. data/lib/crimson-falcon/api/real_time_response.rb +1617 -0
  83. data/lib/crimson-falcon/api/real_time_response_admin.rb +1173 -0
  84. data/lib/crimson-falcon/api/real_time_response_audit.rb +113 -0
  85. data/lib/crimson-falcon/api/recon.rb +1761 -0
  86. data/lib/crimson-falcon/api/release_notes.rb +287 -0
  87. data/lib/crimson-falcon/api/releases.rb +125 -0
  88. data/lib/crimson-falcon/api/report_executions.rb +299 -0
  89. data/lib/crimson-falcon/api/response_policies.rb +769 -0
  90. data/lib/crimson-falcon/api/runtime_detections.rb +106 -0
  91. data/lib/crimson-falcon/api/sample_uploads.rb +805 -0
  92. data/lib/crimson-falcon/api/scheduled_reports.rb +237 -0
  93. data/lib/crimson-falcon/api/sensor_download.rb +610 -0
  94. data/lib/crimson-falcon/api/sensor_update_policies.rb +1339 -0
  95. data/lib/crimson-falcon/api/sensor_usage.rb +97 -0
  96. data/lib/crimson-falcon/api/sensor_visibility_exclusions.rb +369 -0
  97. data/lib/crimson-falcon/api/spotlight_evaluation_logic.rb +243 -0
  98. data/lib/crimson-falcon/api/spotlight_vulnerabilities.rb +324 -0
  99. data/lib/crimson-falcon/api/threatgraph.rb +539 -0
  100. data/lib/crimson-falcon/api/unidentified_containers.rb +222 -0
  101. data/lib/crimson-falcon/api/user_management.rb +1505 -0
  102. data/lib/crimson-falcon/api/vulnerabilities.rb +106 -0
  103. data/lib/crimson-falcon/api/workflows.rb +1275 -0
  104. data/lib/crimson-falcon/api/zero_trust_assessment.rb +227 -0
  105. data/lib/crimson-falcon/api_client.rb +4 -2
  106. data/lib/crimson-falcon/models/actions_action.rb +348 -0
  107. data/lib/crimson-falcon/models/actions_action_response.rb +259 -0
  108. data/lib/crimson-falcon/models/actions_create_action_request.rb +264 -0
  109. data/lib/crimson-falcon/models/actions_get_action_response.rb +266 -0
  110. data/lib/crimson-falcon/models/activities_activity.rb +460 -0
  111. data/lib/crimson-falcon/models/activities_activity_ext_field.rb +315 -0
  112. data/lib/crimson-falcon/models/activities_activity_external_response.rb +271 -0
  113. data/lib/crimson-falcon/models/activity.rb +243 -0
  114. data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +21 -21
  115. data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +2 -2
  116. data/lib/crimson-falcon/models/api_action_resp_v1.rb +1 -1
  117. data/lib/crimson-falcon/models/api_audit_event_details_response_v1.rb +2 -2
  118. data/lib/crimson-falcon/models/api_cert_based_exclusion_create_req_v1.rb +342 -0
  119. data/lib/crimson-falcon/models/api_cert_based_exclusion_resp_v1.rb +261 -0
  120. data/lib/crimson-falcon/models/api_cert_based_exclusion_update_req_v1.rb +351 -0
  121. data/lib/crimson-falcon/models/api_cert_based_exclusion_v1.rb +365 -0
  122. data/lib/crimson-falcon/models/api_cert_based_exclusions_create_req_v1.rb +241 -0
  123. data/lib/crimson-falcon/models/api_cert_based_exclusions_update_req_v1.rb +241 -0
  124. data/lib/crimson-falcon/models/api_certificate_req_v1.rb +309 -0
  125. data/lib/crimson-falcon/models/api_certificate_v1.rb +309 -0
  126. data/lib/crimson-falcon/models/api_certificates_response_v1.rb +241 -0
  127. data/lib/crimson-falcon/models/api_create_migration_request_v1.rb +283 -0
  128. data/lib/crimson-falcon/models/api_create_migration_response_v1.rb +271 -0
  129. data/lib/crimson-falcon/models/api_create_rule_operation_v1.rb +257 -0
  130. data/lib/crimson-falcon/models/api_customer_settings_response_v1.rb +2 -2
  131. data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +2 -2
  132. data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +1 -1
  133. data/lib/crimson-falcon/models/api_entities_response.rb +2 -2
  134. data/lib/crimson-falcon/models/api_event.rb +277 -0
  135. data/lib/crimson-falcon/models/api_execution_results_response.rb +2 -2
  136. data/lib/crimson-falcon/models/api_get_entities_rules_response_v1.rb +266 -0
  137. data/lib/crimson-falcon/models/api_get_host_migration_response_v1.rb +271 -0
  138. data/lib/crimson-falcon/models/api_get_migration_destinations_request_body_v1.rb +255 -0
  139. data/lib/crimson-falcon/models/api_get_migration_destinations_response_v1.rb +266 -0
  140. data/lib/crimson-falcon/models/api_get_migrations_response_v1.rb +266 -0
  141. data/lib/crimson-falcon/models/api_host_migration.rb +426 -0
  142. data/lib/crimson-falcon/models/api_hourly_average_response.rb +266 -0
  143. data/lib/crimson-falcon/models/api_indicator_create_req_v1.rb +1 -0
  144. data/lib/crimson-falcon/models/api_indicator_query_resp_v1.rb +1 -1
  145. data/lib/crimson-falcon/models/api_indicator_resp_v1.rb +1 -1
  146. data/lib/crimson-falcon/models/api_message_center_activity_response.rb +2 -2
  147. data/lib/crimson-falcon/models/api_message_center_attachment_upload_response.rb +2 -2
  148. data/lib/crimson-falcon/models/api_message_center_cases_response.rb +2 -2
  149. data/lib/crimson-falcon/models/api_mfa_resource_ids_response.rb +275 -0
  150. data/lib/crimson-falcon/models/api_migrate_hosts_info.rb +267 -0
  151. data/lib/crimson-falcon/models/api_migration.rb +378 -0
  152. data/lib/crimson-falcon/models/api_notification_exposed_data_record_entities_response_v1.rb +1 -1
  153. data/lib/crimson-falcon/models/api_object_metadata.rb +10 -1
  154. data/lib/crimson-falcon/models/api_patch_rule_operation_v1.rb +257 -0
  155. data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +261 -0
  156. data/lib/crimson-falcon/models/api_patterns_response.rb +2 -2
  157. data/lib/crimson-falcon/models/api_platforms_response.rb +2 -2
  158. data/lib/crimson-falcon/models/api_post_enrollment_details_response.rb +2 -2
  159. data/lib/crimson-falcon/models/api_post_enrollment_details_v4.rb +269 -0
  160. data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +1 -1
  161. data/lib/crimson-falcon/models/api_resource_ids_response.rb +2 -2
  162. data/lib/crimson-falcon/models/api_resp_certificates_v1.rb +261 -0
  163. data/lib/crimson-falcon/models/api_response_pagination.rb +2 -1
  164. data/lib/crimson-falcon/models/api_rule_create_request_v1.rb +354 -0
  165. data/lib/crimson-falcon/models/api_rule_groups_response.rb +2 -2
  166. data/lib/crimson-falcon/models/api_rule_operation_v1.rb +266 -0
  167. data/lib/crimson-falcon/models/api_rule_patch_request_v1.rb +311 -0
  168. data/lib/crimson-falcon/models/api_rule_schedule_v1.rb +239 -0
  169. data/lib/crimson-falcon/models/api_rule_schedule_v1_patch.rb +239 -0
  170. data/lib/crimson-falcon/models/api_rule_search_v1.rb +276 -0
  171. data/lib/crimson-falcon/models/api_rule_types_response.rb +2 -2
  172. data/lib/crimson-falcon/models/api_rule_update_v2.rb +339 -0
  173. data/lib/crimson-falcon/models/api_rule_updates_request_v2.rb +283 -0
  174. data/lib/crimson-falcon/models/api_rule_v1.rb +132 -203
  175. data/lib/crimson-falcon/models/api_rules_response.rb +2 -2
  176. data/lib/crimson-falcon/models/api_sensor_details_response_swagger.rb +2 -2
  177. data/lib/crimson-falcon/models/api_token_details_response_v1.rb +2 -2
  178. data/lib/crimson-falcon/models/api_user_metadata_response.rb +2 -2
  179. data/lib/crimson-falcon/models/api_user_role_ids_response.rb +2 -2
  180. data/lib/crimson-falcon/models/api_user_role_response.rb +2 -2
  181. data/lib/crimson-falcon/models/api_validation_response_v1.rb +2 -2
  182. data/lib/crimson-falcon/models/api_weekly_average_response.rb +266 -0
  183. data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +15 -1
  184. data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +2 -2
  185. data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +2 -2
  186. data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +1 -10
  187. data/lib/crimson-falcon/models/assets_get_resource_ids_response.rb +261 -0
  188. data/lib/crimson-falcon/models/assets_get_resources_response.rb +266 -0
  189. data/lib/crimson-falcon/models/base_policy_members_resp_v1.rb +2 -2
  190. data/lib/crimson-falcon/models/base_set_content_update_policy_precedence_req_v1.rb +242 -0
  191. data/lib/crimson-falcon/models/binservapi_msa_put_file_response.rb +2 -2
  192. data/lib/crimson-falcon/models/changes_change.rb +29 -1
  193. data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +1 -1
  194. data/lib/crimson-falcon/models/changes_host.rb +15 -4
  195. data/lib/crimson-falcon/models/changes_permissions_mac.rb +283 -0
  196. data/lib/crimson-falcon/models/client_archive_create_response_v1.rb +2 -2
  197. data/lib/crimson-falcon/models/client_archive_list_files_response_v1.rb +2 -2
  198. data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +2 -2
  199. data/lib/crimson-falcon/models/client_extraction_create_response_v1.rb +2 -2
  200. data/lib/crimson-falcon/models/client_extraction_list_files_response_v1.rb +2 -2
  201. data/lib/crimson-falcon/models/client_job_status.rb +10 -1
  202. data/lib/crimson-falcon/models/client_sample_metadata_response_v2.rb +2 -2
  203. data/lib/crimson-falcon/models/client_system_definition_create_response.rb +2 -2
  204. data/lib/crimson-falcon/models/common_count_as_resource.rb +4 -18
  205. data/lib/crimson-falcon/models/common_count_response.rb +21 -21
  206. data/lib/crimson-falcon/models/common_credentials.rb +239 -0
  207. data/lib/crimson-falcon/models/common_entities_response.rb +269 -0
  208. data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +2 -2
  209. data/lib/crimson-falcon/models/common_registry_credentials_response.rb +269 -0
  210. data/lib/crimson-falcon/models/content_update_create_policies_req_v1.rb +241 -0
  211. data/lib/crimson-falcon/models/content_update_create_policy_req_v1.rb +259 -0
  212. data/lib/crimson-falcon/models/content_update_ring_assignment_settings_v1.rb +253 -0
  213. data/lib/crimson-falcon/models/content_update_settings_v1.rb +241 -0
  214. data/lib/crimson-falcon/models/content_update_update_policies_req_v1.rb +241 -0
  215. data/lib/crimson-falcon/models/content_update_update_policy_req_v1.rb +269 -0
  216. data/lib/crimson-falcon/models/contentchanges_change_contents_response.rb +264 -0
  217. data/lib/crimson-falcon/models/contentchanges_content.rb +253 -0
  218. data/lib/crimson-falcon/models/contentchanges_content_diff.rb +271 -0
  219. data/lib/crimson-falcon/models/core_entities_response.rb +2 -2
  220. data/lib/crimson-falcon/models/custom_storage_object_keys.rb +271 -0
  221. data/lib/crimson-falcon/models/custom_storage_response.rb +271 -0
  222. data/lib/crimson-falcon/models/dataclassifications_label.rb +267 -0
  223. data/lib/crimson-falcon/models/dataclassifications_response.rb +284 -0
  224. data/lib/crimson-falcon/models/dataclassifications_tag.rb +283 -0
  225. data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +2 -2
  226. data/lib/crimson-falcon/models/definitions_definition_ext.rb +203 -12
  227. data/lib/crimson-falcon/models/definitions_definition_external_response.rb +2 -2
  228. data/lib/crimson-falcon/models/definitions_definition_import_response.rb +2 -2
  229. data/lib/crimson-falcon/models/deployments_api_deployment_ring_view.rb +302 -0
  230. data/lib/crimson-falcon/models/deployments_api_deployment_view.rb +309 -0
  231. data/lib/crimson-falcon/models/deployments_api_deployment_view_wrapper.rb +271 -0
  232. data/lib/crimson-falcon/models/deployments_entity_response.rb +266 -0
  233. data/lib/crimson-falcon/models/destination.rb +243 -0
  234. data/lib/crimson-falcon/models/destinations_migration_destination.rb +253 -0
  235. data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +21 -21
  236. data/lib/crimson-falcon/models/detections_api_combined_detections.rb +21 -21
  237. data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +2 -2
  238. data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +2 -2
  239. data/lib/crimson-falcon/models/detections_api_detections_count.rb +21 -21
  240. data/lib/crimson-falcon/models/detects_external_alert.rb +803 -0
  241. data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +2 -2
  242. data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +2 -2
  243. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_meta.rb +271 -0
  244. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_paging.rb +262 -0
  245. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_request_swagger.rb +261 -0
  246. data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_response_swagger.rb +272 -0
  247. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response_swagger.rb +267 -0
  248. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response_swagger.rb +267 -0
  249. data/lib/crimson-falcon/models/detectsapi_response_fields.rb +2 -2
  250. data/lib/crimson-falcon/models/device_control_resp_v1.rb +2 -2
  251. data/lib/crimson-falcon/models/device_control_resp_v2.rb +2 -2
  252. data/lib/crimson-falcon/models/device_control_usb_class_exceptions_req_v1.rb +3 -3
  253. data/lib/crimson-falcon/models/device_control_usb_class_exceptions_response.rb +3 -3
  254. data/lib/crimson-falcon/models/device_device.rb +55 -1
  255. data/lib/crimson-falcon/models/device_mapped_device_policies.rb +37 -1
  256. data/lib/crimson-falcon/models/deviceapi_device_details_response_swagger.rb +2 -2
  257. data/lib/crimson-falcon/models/deviceapi_device_response.rb +1 -1
  258. data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
  259. data/lib/crimson-falcon/models/deviceapi_groups_response_v1.rb +2 -2
  260. data/lib/crimson-falcon/models/deviceapi_login_history_response_v1.rb +2 -2
  261. data/lib/crimson-falcon/models/deviceapi_network_address_history_response_v1.rb +2 -2
  262. data/lib/crimson-falcon/models/deviceapi_update_device_tags_swagger_v1.rb +2 -2
  263. data/lib/crimson-falcon/models/devicecontent_content_category.rb +234 -0
  264. data/lib/crimson-falcon/models/devicecontent_state.rb +345 -0
  265. data/lib/crimson-falcon/models/devicecontentapi_entities_response_v1.rb +271 -0
  266. data/lib/crimson-falcon/models/devicecontentapi_query_response_v1.rb +271 -0
  267. data/lib/crimson-falcon/models/domain_action_entities_response_v1.rb +1 -1
  268. data/lib/crimson-falcon/models/domain_actor_document.rb +11 -11
  269. data/lib/crimson-falcon/models/domain_actors_response.rb +2 -2
  270. data/lib/crimson-falcon/models/domain_aggregate_cluster_assessments_response.rb +266 -0
  271. data/lib/crimson-falcon/models/domain_aggregate_failed_asset_count_by_severity_response.rb +266 -0
  272. data/lib/crimson-falcon/models/domain_aggregate_failed_assets_by_rules_response.rb +266 -0
  273. data/lib/crimson-falcon/models/domain_aggregate_failed_rules_by_clusters_response.rb +266 -0
  274. data/lib/crimson-falcon/models/domain_aggregate_failed_rules_by_images_response.rb +266 -0
  275. data/lib/crimson-falcon/models/domain_aggregate_failed_rules_count_by_severity_response.rb +266 -0
  276. data/lib/crimson-falcon/models/domain_aggregate_image_assessments_response.rb +264 -0
  277. data/lib/crimson-falcon/models/domain_aggregate_rules_assessments_response.rb +266 -0
  278. data/lib/crimson-falcon/models/domain_aggregate_rules_by_status_response.rb +266 -0
  279. data/lib/crimson-falcon/models/domain_aggregates_response.rb +1 -1
  280. data/lib/crimson-falcon/models/domain_api_combined_findings_response_v1.rb +1 -1
  281. data/lib/crimson-falcon/models/domain_api_compliance_control_v1.rb +253 -0
  282. data/lib/crimson-falcon/models/domain_api_compliance_mapping_v1.rb +264 -0
  283. data/lib/crimson-falcon/models/domain_api_error.rb +25 -27
  284. data/lib/crimson-falcon/models/domain_api_evaluation_logic_entities_response_v1.rb +2 -2
  285. data/lib/crimson-falcon/models/domain_api_evaluation_logic_item_v1.rb +15 -10
  286. data/lib/crimson-falcon/models/domain_api_evaluation_logic_v1.rb +10 -36
  287. data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +12 -1
  288. data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
  289. data/lib/crimson-falcon/models/domain_api_remediation_info.rb +255 -0
  290. data/lib/crimson-falcon/models/domain_api_remediation_v2.rb +21 -1
  291. data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +2 -2
  292. data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +12 -1
  293. data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +19 -4
  294. data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
  295. data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +38 -4
  296. data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +33 -1
  297. data/lib/crimson-falcon/models/domain_api_vulnerability_service_v2.rb +255 -0
  298. data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +23 -1
  299. data/lib/crimson-falcon/models/domain_assessment_paging.rb +271 -0
  300. data/lib/crimson-falcon/models/domain_assessments_by_score_response.rb +1 -1
  301. data/lib/crimson-falcon/models/domain_assessments_response.rb +1 -1
  302. data/lib/crimson-falcon/models/domain_audit_response.rb +1 -1
  303. data/lib/crimson-falcon/models/domain_aws_account_resource_metadata.rb +358 -0
  304. data/lib/crimson-falcon/models/domain_aws_account_v2.rb +57 -1
  305. data/lib/crimson-falcon/models/domain_aws_inventory_filter_setting.rb +269 -0
  306. data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +23 -1
  307. data/lib/crimson-falcon/models/domain_batch_get_cmd_status_response.rb +2 -2
  308. data/lib/crimson-falcon/models/domain_batch_get_command_response.rb +2 -2
  309. data/lib/crimson-falcon/models/domain_batch_init_session_response.rb +2 -2
  310. data/lib/crimson-falcon/models/domain_batch_refresh_session_response.rb +2 -2
  311. data/lib/crimson-falcon/models/domain_behavior.rb +12 -1
  312. data/lib/crimson-falcon/models/domain_benchmark.rb +12 -1
  313. data/lib/crimson-falcon/models/domain_case_creation_request_v2.rb +29 -1
  314. data/lib/crimson-falcon/models/domain_cid_group_members_response_v1.rb +2 -2
  315. data/lib/crimson-falcon/models/domain_cid_groups_response_v1.rb +2 -2
  316. data/lib/crimson-falcon/models/domain_cipher.rb +252 -0
  317. data/lib/crimson-falcon/models/domain_cisa_known_exploited_vulnerabilities_info.rb +253 -0
  318. data/lib/crimson-falcon/models/domain_cloud_aws_account_v1.rb +507 -0
  319. data/lib/crimson-falcon/models/domain_cloud_condition.rb +322 -0
  320. data/lib/crimson-falcon/models/domain_command_execute_response_wrapper.rb +2 -2
  321. data/lib/crimson-falcon/models/domain_compliance.rb +280 -0
  322. data/lib/crimson-falcon/models/domain_compliance_findings_grouped_by_images_with_scroll.rb +255 -0
  323. data/lib/crimson-falcon/models/domain_condition.rb +29 -1
  324. data/lib/crimson-falcon/models/domain_config_v1.rb +299 -0
  325. data/lib/crimson-falcon/models/domain_configs_v1.rb +271 -0
  326. data/lib/crimson-falcon/models/domain_content_package.rb +239 -0
  327. data/lib/crimson-falcon/models/domain_content_update_policy_resp_v1.rb +474 -0
  328. data/lib/crimson-falcon/models/domain_content_update_settings_v1.rb +241 -0
  329. data/lib/crimson-falcon/models/domain_control.rb +281 -0
  330. data/lib/crimson-falcon/models/domain_control_benchmark.rb +243 -0
  331. data/lib/crimson-falcon/models/domain_cps_rating.rb +301 -0
  332. data/lib/crimson-falcon/models/domain_cps_rating_history_entry.rb +253 -0
  333. data/lib/crimson-falcon/models/domain_cps_rating_indicator.rb +267 -0
  334. data/lib/crimson-falcon/models/domain_create_submission_v1_error_response.rb +315 -0
  335. data/lib/crimson-falcon/models/domain_credentials.rb +12 -31
  336. data/lib/crimson-falcon/models/domain_cve.rb +543 -0
  337. data/lib/crimson-falcon/models/domain_cve_exploit.rb +283 -0
  338. data/lib/crimson-falcon/models/domain_cve_exploit_reference.rb +267 -0
  339. data/lib/crimson-falcon/models/domain_cve_exploit_source.rb +283 -0
  340. data/lib/crimson-falcon/models/domain_cvssv2.rb +280 -0
  341. data/lib/crimson-falcon/models/domain_cvssv3.rb +352 -0
  342. data/lib/crimson-falcon/models/domain_denormalized_adversary_reference.rb +257 -0
  343. data/lib/crimson-falcon/models/domain_denormalized_country.rb +253 -0
  344. data/lib/crimson-falcon/models/domain_denormalized_customer_target.rb +239 -0
  345. data/lib/crimson-falcon/models/domain_denormalized_report_reference.rb +257 -0
  346. data/lib/crimson-falcon/models/domain_denormalized_sector.rb +253 -0
  347. data/lib/crimson-falcon/models/domain_denormalized_threat_reference.rb +248 -0
  348. data/lib/crimson-falcon/models/domain_denormalized_threat_used_mitre.rb +292 -0
  349. data/lib/crimson-falcon/models/domain_device.rb +10 -10
  350. data/lib/crimson-falcon/models/domain_discover_api_account.rb +2 -2
  351. data/lib/crimson-falcon/models/domain_discover_api_account_entities_response.rb +2 -2
  352. data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +21 -1
  353. data/lib/crimson-falcon/models/domain_discover_api_application.rb +20 -1
  354. data/lib/crimson-falcon/models/domain_discover_api_application_browser_extension.rb +320 -0
  355. data/lib/crimson-falcon/models/domain_discover_api_application_browser_extension_installation.rb +320 -0
  356. data/lib/crimson-falcon/models/domain_discover_api_application_entities_response.rb +2 -2
  357. data/lib/crimson-falcon/models/domain_discover_api_application_host.rb +13 -1
  358. data/lib/crimson-falcon/models/domain_discover_api_combined_applications_response.rb +271 -0
  359. data/lib/crimson-falcon/models/domain_discover_api_combined_hosts_response.rb +271 -0
  360. data/lib/crimson-falcon/models/domain_discover_api_host.rb +302 -5
  361. data/lib/crimson-falcon/models/domain_discover_api_host_entities_response.rb +2 -2
  362. data/lib/crimson-falcon/models/domain_discover_api_login.rb +1 -1
  363. data/lib/crimson-falcon/models/domain_discover_api_login_entities_response.rb +2 -2
  364. data/lib/crimson-falcon/models/domain_discover_api_meta_info.rb +280 -0
  365. data/lib/crimson-falcon/models/domain_discover_api_paging.rb +267 -0
  366. data/lib/crimson-falcon/models/domain_discover_api_response.rb +271 -0
  367. data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +619 -126
  368. data/lib/crimson-falcon/models/domain_discover_apiio_t_host_entities_response.rb +2 -2
  369. data/lib/crimson-falcon/models/domain_discover_apiio_t_host_triage.rb +285 -0
  370. data/lib/crimson-falcon/models/domain_discover_params.rb +15 -1
  371. data/lib/crimson-falcon/models/domain_errors_only.rb +1 -1
  372. data/lib/crimson-falcon/models/domain_execute_command_request_v1.rb +242 -0
  373. data/lib/crimson-falcon/models/domain_execute_command_result_v1.rb +286 -0
  374. data/lib/crimson-falcon/models/domain_execute_command_results_v1.rb +271 -0
  375. data/lib/crimson-falcon/models/domain_execute_command_v1.rb +329 -0
  376. data/lib/crimson-falcon/models/domain_execution_metadata_summary.rb +15 -1
  377. data/lib/crimson-falcon/models/domain_execution_metadata_v1.rb +15 -1
  378. data/lib/crimson-falcon/models/domain_export_job_entities_response_v1.rb +1 -1
  379. data/lib/crimson-falcon/models/domain_export_job_id_response_v1.rb +1 -1
  380. data/lib/crimson-falcon/models/domain_external_asset_api_delete_request_v1.rb +235 -0
  381. data/lib/crimson-falcon/models/domain_external_asset_api_patch_request_v1.rb +243 -0
  382. data/lib/crimson-falcon/models/domain_external_asset_application.rb +270 -0
  383. data/lib/crimson-falcon/models/domain_external_asset_certificate.rb +317 -0
  384. data/lib/crimson-falcon/models/domain_external_asset_certificate_entity_identifiers.rb +369 -0
  385. data/lib/crimson-falcon/models/domain_external_asset_cloud_vm.rb +347 -0
  386. data/lib/crimson-falcon/models/domain_external_asset_discovery_attributes.rb +251 -0
  387. data/lib/crimson-falcon/models/domain_external_asset_discovery_path_attributes.rb +237 -0
  388. data/lib/crimson-falcon/models/domain_external_asset_discovery_step_attributes.rb +292 -0
  389. data/lib/crimson-falcon/models/domain_external_asset_geographical_location.rb +306 -0
  390. data/lib/crimson-falcon/models/domain_external_asset_http_attributes.rb +281 -0
  391. data/lib/crimson-falcon/models/domain_external_asset_redirect_step_attributes.rb +280 -0
  392. data/lib/crimson-falcon/models/domain_external_asset_service.rb +443 -0
  393. data/lib/crimson-falcon/models/domain_external_asset_service_blobs_links.rb +261 -0
  394. data/lib/crimson-falcon/models/domain_external_asset_ssl_record.rb +301 -0
  395. data/lib/crimson-falcon/models/domain_external_asset_subsidiary.rb +255 -0
  396. data/lib/crimson-falcon/models/domain_external_assets_api_patch.rb +280 -0
  397. data/lib/crimson-falcon/models/domain_external_assets_api_triage.rb +285 -0
  398. data/lib/crimson-falcon/models/domain_external_assets_api_triage_patch.rb +265 -0
  399. data/lib/crimson-falcon/models/domain_external_assets_api_type_v1.rb +266 -0
  400. data/lib/crimson-falcon/models/domain_external_assets_blob_api_type_v1.rb +266 -0
  401. data/lib/crimson-falcon/models/domain_external_export_job.rb +312 -0
  402. data/lib/crimson-falcon/models/domain_external_query_response.rb +2 -2
  403. data/lib/crimson-falcon/models/domain_external_registry_list_response.rb +2 -2
  404. data/lib/crimson-falcon/models/domain_external_registry_response.rb +2 -2
  405. data/lib/crimson-falcon/models/domain_feature_permission.rb +255 -0
  406. data/lib/crimson-falcon/models/domain_feature_status.rb +253 -0
  407. data/lib/crimson-falcon/models/domain_fem_dns_domain.rb +301 -0
  408. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_entities_response.rb +256 -0
  409. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_meta.rb +254 -0
  410. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_query_response.rb +256 -0
  411. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_response_fields.rb +251 -0
  412. data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiary.rb +344 -0
  413. data/lib/crimson-falcon/models/domain_fem_external_asset.rb +497 -0
  414. data/lib/crimson-falcon/models/domain_fem_external_ip.rb +327 -0
  415. data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +23 -1
  416. data/lib/crimson-falcon/models/domain_geo_point.rb +243 -0
  417. data/lib/crimson-falcon/models/domain_incident.rb +12 -1
  418. data/lib/crimson-falcon/models/domain_init_response.rb +19 -1
  419. data/lib/crimson-falcon/models/domain_init_response_wrapper.rb +2 -2
  420. data/lib/crimson-falcon/models/domain_item_details_v1.rb +30 -20
  421. data/lib/crimson-falcon/models/domain_kestrel_params.rb +239 -0
  422. data/lib/crimson-falcon/models/domain_launch_export_job_response_v1.rb +1 -1
  423. data/lib/crimson-falcon/models/domain_list_files_response_wrapper.rb +2 -2
  424. data/lib/crimson-falcon/models/domain_list_files_v2_response_wrapper.rb +2 -2
  425. data/lib/crimson-falcon/models/domain_list_sessions_response_msa.rb +2 -2
  426. data/lib/crimson-falcon/models/domain_lookup_file.rb +453 -0
  427. data/lib/crimson-falcon/models/domain_lookup_file_wrapper.rb +271 -0
  428. data/lib/crimson-falcon/models/domain_malware_document.rb +783 -0
  429. data/lib/crimson-falcon/models/domain_malware_environment_aggregates.rb +267 -0
  430. data/lib/crimson-falcon/models/domain_malware_response.rb +272 -0
  431. data/lib/crimson-falcon/models/domain_marketplace_credentials.rb +258 -0
  432. data/lib/crimson-falcon/models/domain_marketplace_product.rb +1 -1
  433. data/lib/crimson-falcon/models/domain_meta_info.rb +5 -23
  434. data/lib/crimson-falcon/models/domain_msa_detect_summaries_response.rb +2 -2
  435. data/lib/crimson-falcon/models/domain_msa_environment_score_response.rb +2 -2
  436. data/lib/crimson-falcon/models/domain_msa_external_behavior_response.rb +2 -2
  437. data/lib/crimson-falcon/models/domain_msa_external_incident_response.rb +2 -2
  438. data/lib/crimson-falcon/models/domain_msa_incident_perform_action_response.rb +2 -2
  439. data/lib/crimson-falcon/models/domain_msa_incident_query_response.rb +2 -2
  440. data/lib/crimson-falcon/models/domain_msa_meta_info.rb +248 -0
  441. data/lib/crimson-falcon/models/domain_msa_qf_response.rb +2 -2
  442. data/lib/crimson-falcon/models/domain_mssp_role_response_v1.rb +2 -2
  443. data/lib/crimson-falcon/models/domain_multi_command_execute_response_wrapper.rb +2 -2
  444. data/lib/crimson-falcon/models/domain_multi_pulse_sensor_response.rb +1 -1
  445. data/lib/crimson-falcon/models/domain_multi_status_sensor_response.rb +1 -1
  446. data/lib/crimson-falcon/models/domain_news_document.rb +19 -9
  447. data/lib/crimson-falcon/models/domain_news_response.rb +2 -2
  448. data/lib/crimson-falcon/models/domain_notification_details_response_v1.rb +1 -1
  449. data/lib/crimson-falcon/models/domain_notification_entities_response_v1.rb +1 -1
  450. data/lib/crimson-falcon/models/domain_notification_id_response.rb +1 -1
  451. data/lib/crimson-falcon/models/domain_notification_v1.rb +31 -1
  452. data/lib/crimson-falcon/models/domain_platform.rb +11 -11
  453. data/lib/crimson-falcon/models/domain_policy_info.rb +57 -1
  454. data/lib/crimson-falcon/models/domain_product_features.rb +255 -0
  455. data/lib/crimson-falcon/models/domain_product_features_status.rb +255 -0
  456. data/lib/crimson-falcon/models/domain_product_permission.rb +255 -0
  457. data/lib/crimson-falcon/models/domain_public_indicators_v3_response.rb +2 -2
  458. data/lib/crimson-falcon/models/domain_query_mitre_attacks_response.rb +2 -2
  459. data/lib/crimson-falcon/models/domain_query_response.rb +2 -7
  460. data/lib/crimson-falcon/models/domain_queued_session_response_wrapper.rb +2 -2
  461. data/lib/crimson-falcon/models/domain_reference.rb +255 -0
  462. data/lib/crimson-falcon/models/domain_registry_credentials_response.rb +2 -2
  463. data/lib/crimson-falcon/models/domain_report_execution_summary_v1.rb +15 -1
  464. data/lib/crimson-falcon/models/domain_report_execution_v1.rb +15 -1
  465. data/lib/crimson-falcon/models/domain_report_executions_response_v1.rb +2 -2
  466. data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -1
  467. data/lib/crimson-falcon/models/domain_report_params.rb +29 -4
  468. data/lib/crimson-falcon/models/domain_request.rb +239 -0
  469. data/lib/crimson-falcon/models/domain_ring_assignment_settings_v1.rb +267 -0
  470. data/lib/crimson-falcon/models/domain_rule_meta_info.rb +1 -1
  471. data/lib/crimson-falcon/models/domain_rules_response.rb +2 -2
  472. data/lib/crimson-falcon/models/domain_scan.rb +10 -10
  473. data/lib/crimson-falcon/models/domain_scan_metadata.rb +10 -1
  474. data/lib/crimson-falcon/models/domain_scan_v2.rb +1 -10
  475. data/lib/crimson-falcon/models/domain_schedule.rb +34 -19
  476. data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +24 -1
  477. data/lib/crimson-falcon/models/domain_scheduled_reports_result_v1.rb +2 -2
  478. data/lib/crimson-falcon/models/domain_sensor_installer_v2.rb +405 -0
  479. data/lib/crimson-falcon/models/domain_sensor_installers_v1.rb +2 -2
  480. data/lib/crimson-falcon/models/domain_sensor_installers_v2.rb +271 -0
  481. data/lib/crimson-falcon/models/domain_session_response_wrapper.rb +2 -2
  482. data/lib/crimson-falcon/models/domain_simple_actor.rb +1 -1
  483. data/lib/crimson-falcon/models/domain_spapi_combined_vulnerabilities_response.rb +1 -1
  484. data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_combined_response_v1.rb +1 -1
  485. data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_entities_response_v1.rb +1 -1
  486. data/lib/crimson-falcon/models/domain_spapi_query_response.rb +1 -1
  487. data/lib/crimson-falcon/models/domain_spapi_remediation_entities_response_v2.rb +2 -2
  488. data/lib/crimson-falcon/models/domain_spapi_vulnerabilities_entities_response_v2.rb +1 -1
  489. data/lib/crimson-falcon/models/domain_spotlight_params.rb +269 -0
  490. data/lib/crimson-falcon/models/domain_status_response_wrapper.rb +2 -2
  491. data/lib/crimson-falcon/models/domain_update_rule_request_v1.rb +33 -1
  492. data/lib/crimson-falcon/models/domain_user.rb +45 -9
  493. data/lib/crimson-falcon/models/domain_user_group_members_response_v1.rb +2 -2
  494. data/lib/crimson-falcon/models/domain_user_groups_response_v1.rb +2 -2
  495. data/lib/crimson-falcon/models/domain_user_metadata.rb +10 -1
  496. data/lib/crimson-falcon/models/domain_vuln.rb +240 -0
  497. data/lib/crimson-falcon/models/domain_vulnerability.rb +38 -137
  498. data/lib/crimson-falcon/models/domain_vulnerability_response.rb +2 -2
  499. data/lib/crimson-falcon/models/domain_xdr_params.rb +57 -1
  500. data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +2 -2
  501. data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +21 -21
  502. data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +21 -21
  503. data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +2 -2
  504. data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +2 -2
  505. data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v1.rb +2 -2
  506. data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v2.rb +2 -2
  507. data/lib/crimson-falcon/models/entities_ods_scan_host_response.rb +2 -2
  508. data/lib/crimson-falcon/models/entities_ods_scan_malicious_file_response.rb +2 -2
  509. data/lib/crimson-falcon/models/entities_ods_scan_request.rb +1 -15
  510. data/lib/crimson-falcon/models/entities_ods_scan_response.rb +2 -2
  511. data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +2 -2
  512. data/lib/crimson-falcon/models/entities_ods_schedule_scan_response.rb +2 -2
  513. data/lib/crimson-falcon/models/entities_rolling_average.rb +365 -0
  514. data/lib/crimson-falcon/models/exclusions_resp_v1.rb +2 -2
  515. data/lib/crimson-falcon/models/executions_execution_result.rb +21 -1
  516. data/lib/crimson-falcon/models/executions_loop_result.rb +13 -1
  517. data/lib/crimson-falcon/models/executions_trigger_result.rb +1 -1
  518. data/lib/crimson-falcon/models/exports_exports_response.rb +266 -0
  519. data/lib/crimson-falcon/models/exports_launch_export_request.rb +280 -0
  520. data/lib/crimson-falcon/models/exports_launch_export_response.rb +267 -0
  521. data/lib/crimson-falcon/models/falconx_errors_only.rb +2 -2
  522. data/lib/crimson-falcon/models/falconx_meta_info.rb +1 -1
  523. data/lib/crimson-falcon/models/falconx_query_response.rb +1 -1
  524. data/lib/crimson-falcon/models/falconx_report_v1.rb +19 -1
  525. data/lib/crimson-falcon/models/falconx_report_v1_response.rb +1 -1
  526. data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -1
  527. data/lib/crimson-falcon/models/falconx_sandbox_report_v1.rb +10 -1
  528. data/lib/crimson-falcon/models/falconx_submission_v1_response.rb +1 -1
  529. data/lib/crimson-falcon/models/falconx_summary_report_v1.rb +10 -1
  530. data/lib/crimson-falcon/models/falconx_summary_report_v1_response.rb +1 -1
  531. data/lib/crimson-falcon/models/fielddata_field_source.rb +278 -0
  532. data/lib/crimson-falcon/models/fielddata_field_source_option.rb +248 -0
  533. data/lib/crimson-falcon/models/figapi_adversary.rb +235 -0
  534. data/lib/crimson-falcon/models/figapi_country.rb +245 -0
  535. data/lib/crimson-falcon/models/figapi_domain.rb +345 -0
  536. data/lib/crimson-falcon/models/figapi_email_address.rb +252 -0
  537. data/lib/crimson-falcon/models/figapi_file.rb +299 -0
  538. data/lib/crimson-falcon/models/figapi_indicator.rb +458 -0
  539. data/lib/crimson-falcon/models/figapi_ipv4.rb +269 -0
  540. data/lib/crimson-falcon/models/figapi_ipv6.rb +269 -0
  541. data/lib/crimson-falcon/models/figapi_mx_record.rb +284 -0
  542. data/lib/crimson-falcon/models/figapi_name_server.rb +254 -0
  543. data/lib/crimson-falcon/models/figapi_report.rb +235 -0
  544. data/lib/crimson-falcon/models/figapi_sector.rb +245 -0
  545. data/lib/crimson-falcon/models/figapi_threat.rb +235 -0
  546. data/lib/crimson-falcon/models/figapi_url.rb +247 -0
  547. data/lib/crimson-falcon/models/figapi_vulnerability.rb +374 -0
  548. data/lib/crimson-falcon/models/figapi_who_is.rb +261 -0
  549. data/lib/crimson-falcon/models/figapi_whois_record.rb +306 -0
  550. data/lib/crimson-falcon/models/figapi_x509_certificate.rb +297 -0
  551. data/lib/crimson-falcon/models/firewall_resp_v1.rb +2 -2
  552. data/lib/crimson-falcon/models/flightcontrolapi_get_roles_response.rb +2 -2
  553. data/lib/crimson-falcon/models/flightcontrolapi_user_grant_response.rb +2 -2
  554. data/lib/crimson-falcon/models/flightcontrolapi_user_response.rb +2 -2
  555. data/lib/crimson-falcon/models/fwmgr_msa_aggregate_query_request.rb +10 -1
  556. data/lib/crimson-falcon/models/fwmgr_msa_extended_bounds_spec.rb +253 -0
  557. data/lib/crimson-falcon/models/graph_condition.rb +12 -12
  558. data/lib/crimson-falcon/models/graph_configured_activity.rb +11 -1
  559. data/lib/crimson-falcon/models/graph_end.rb +26 -4
  560. data/lib/crimson-falcon/models/graph_multi.rb +38 -4
  561. data/lib/crimson-falcon/models/graph_sub_model.rb +5 -15
  562. data/lib/crimson-falcon/models/graph_validation_error.rb +24 -4
  563. data/lib/crimson-falcon/models/help.rb +239 -0
  564. data/lib/crimson-falcon/models/host_groups_members_resp_v1.rb +2 -2
  565. data/lib/crimson-falcon/models/host_groups_resp_v1.rb +2 -2
  566. data/lib/crimson-falcon/models/host_groups_update_group_req_v1.rb +1 -0
  567. data/lib/crimson-falcon/models/images_api_combined_image_export.rb +2 -2
  568. data/lib/crimson-falcon/models/images_api_customer_and_image.rb +2 -2
  569. data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +2 -2
  570. data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +2 -2
  571. data/lib/crimson-falcon/models/images_api_image_count.rb +2 -2
  572. data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +2 -2
  573. data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +2 -2
  574. data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +2 -2
  575. data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +2 -2
  576. data/lib/crimson-falcon/models/images_ext_combined_images_response.rb +2 -2
  577. data/lib/crimson-falcon/models/ingestion_cve_exploit_reference.rb +267 -0
  578. data/lib/crimson-falcon/models/ingestion_cve_exploit_source.rb +283 -0
  579. data/lib/crimson-falcon/models/ingestion_ex_prt_rating_factors.rb +281 -0
  580. data/lib/crimson-falcon/models/ingestion_reference.rb +255 -0
  581. data/lib/crimson-falcon/models/internal_sensor_status.rb +10 -1
  582. data/lib/crimson-falcon/models/inventoryapi_surface_error.rb +260 -0
  583. data/lib/crimson-falcon/models/inventoryapi_user_external_asset.rb +255 -0
  584. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create.rb +257 -0
  585. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_request_v1.rb +242 -0
  586. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_response_v1.rb +266 -0
  587. data/lib/crimson-falcon/models/inventoryapi_user_external_asset_result.rb +322 -0
  588. data/lib/crimson-falcon/models/inventoryapidomain_subsidiary.rb +245 -0
  589. data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusions_resp_v1.rb +2 -2
  590. data/lib/crimson-falcon/models/iocapi_msa_reply_devices_ran_on.rb +1 -1
  591. data/lib/crimson-falcon/models/iocapi_msa_reply_ioc_devices_count.rb +1 -1
  592. data/lib/crimson-falcon/models/iocapi_msa_reply_processes_ran_on.rb +1 -1
  593. data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +10 -1
  594. data/lib/crimson-falcon/models/jsonschema_duration_option.rb +253 -0
  595. data/lib/crimson-falcon/models/jsonschema_pivot.rb +19 -1
  596. data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +22 -4
  597. data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +19 -1
  598. data/lib/crimson-falcon/models/jsonschema_ui_extensions.rb +315 -0
  599. data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +11 -1
  600. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +15 -1
  601. data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +2 -2
  602. data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +2 -2
  603. data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +2 -2
  604. data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +2 -2
  605. data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +2 -2
  606. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +21 -21
  607. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +2 -2
  608. data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +21 -21
  609. data/lib/crimson-falcon/models/k8sreg_create_aws_acc_resp.rb +2 -2
  610. data/lib/crimson-falcon/models/k8sreg_get_aws_accounts_resp.rb +2 -2
  611. data/lib/crimson-falcon/models/k8sreg_get_azure_bash_script_resp.rb +2 -2
  612. data/lib/crimson-falcon/models/k8sreg_get_azure_subscriptions_resp.rb +2 -2
  613. data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_config_resp.rb +2 -2
  614. data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_info_resp.rb +2 -2
  615. data/lib/crimson-falcon/models/k8sreg_get_clusters_resp.rb +2 -2
  616. data/lib/crimson-falcon/models/k8sreg_get_locations_resp.rb +2 -2
  617. data/lib/crimson-falcon/models/k8sreg_get_scripts_resp.rb +2 -2
  618. data/lib/crimson-falcon/models/k8sreg_list_cluster_cloud_resp.rb +2 -2
  619. data/lib/crimson-falcon/models/k8sreg_regen_api_key_resp.rb +2 -2
  620. data/lib/crimson-falcon/models/main_discovery_response_v2.rb +2 -2
  621. data/lib/crimson-falcon/models/malquery_fuzzy_search_meta_info.rb +1 -1
  622. data/lib/crimson-falcon/models/malquery_query_meta_info.rb +1 -1
  623. data/lib/crimson-falcon/models/malquery_rate_limits_response.rb +1 -1
  624. data/lib/crimson-falcon/models/malquery_request_meta_info.rb +1 -1
  625. data/lib/crimson-falcon/models/malquery_samples_metadata_meta_info.rb +1 -1
  626. data/lib/crimson-falcon/models/messages_case.rb +43 -1
  627. data/lib/crimson-falcon/models/mlscannerapi_meta_info.rb +1 -1
  628. data/lib/crimson-falcon/models/mlscannerapi_query_response.rb +1 -1
  629. data/lib/crimson-falcon/models/mlscannerapi_scan_v1_response.rb +1 -1
  630. data/lib/crimson-falcon/models/model_user_input_read_response.rb +2 -2
  631. data/lib/crimson-falcon/models/models_account_status_response.rb +2 -2
  632. data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +2 -2
  633. data/lib/crimson-falcon/models/models_api_customer_and_image.rb +83 -4
  634. data/lib/crimson-falcon/models/models_api_image_combined_export.rb +68 -1
  635. data/lib/crimson-falcon/models/models_api_package_combined.rb +15 -1
  636. data/lib/crimson-falcon/models/models_api_package_combined_v2.rb +381 -0
  637. data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +15 -1
  638. data/lib/crimson-falcon/models/models_application_library.rb +13 -4
  639. data/lib/crimson-falcon/models/models_application_package_info_type.rb +1 -1
  640. data/lib/crimson-falcon/models/models_aws_accounts_v1.rb +2 -2
  641. data/lib/crimson-falcon/models/models_base_image_request.rb +270 -0
  642. data/lib/crimson-falcon/models/models_base_response_v1.rb +2 -2
  643. data/lib/crimson-falcon/models/models_cluster.rb +43 -1
  644. data/lib/crimson-falcon/models/models_cluster_entity_response.rb +2 -2
  645. data/lib/crimson-falcon/models/models_cluster_info.rb +279 -0
  646. data/lib/crimson-falcon/models/models_cluster_with_failed_rules.rb +309 -0
  647. data/lib/crimson-falcon/models/models_compliance_by_rules.rb +269 -0
  648. data/lib/crimson-falcon/models/models_compliance_export_grouped_by_clusters_report.rb +435 -0
  649. data/lib/crimson-falcon/models/models_compliance_export_grouped_by_images_report.rb +379 -0
  650. data/lib/crimson-falcon/models/models_compliance_export_grouped_by_rules_report.rb +407 -0
  651. data/lib/crimson-falcon/models/models_container.rb +309 -221
  652. data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +2 -2
  653. data/lib/crimson-falcon/models/models_container_entity_response.rb +2 -2
  654. data/lib/crimson-falcon/models/models_container_image.rb +17 -1
  655. data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +2 -2
  656. data/lib/crimson-falcon/models/models_create_base_images_request.rb +241 -0
  657. data/lib/crimson-falcon/models/models_create_deployment_input.rb +241 -0
  658. data/lib/crimson-falcon/models/models_customer_configurations_v1.rb +2 -2
  659. data/lib/crimson-falcon/models/models_delivery_settings.rb +372 -0
  660. data/lib/crimson-falcon/models/models_delivery_settings_entity_response.rb +266 -0
  661. data/lib/crimson-falcon/models/models_delivery_settings_input.rb +253 -0
  662. data/lib/crimson-falcon/models/models_delivery_settings_request.rb +241 -0
  663. data/lib/crimson-falcon/models/models_deployment.rb +361 -81
  664. data/lib/crimson-falcon/models/models_deployment_entity_response.rb +2 -2
  665. data/lib/crimson-falcon/models/models_deployment_resource.rb +281 -0
  666. data/lib/crimson-falcon/models/models_detection.rb +365 -0
  667. data/lib/crimson-falcon/models/models_detection_engine_info_type.rb +267 -0
  668. data/lib/crimson-falcon/models/models_detection_info_type.rb +239 -0
  669. data/lib/crimson-falcon/models/models_elf_binary.rb +281 -0
  670. data/lib/crimson-falcon/models/models_ext_api_image_combined.rb +29 -1
  671. data/lib/crimson-falcon/models/models_image_details.rb +281 -0
  672. data/lib/crimson-falcon/models/models_image_with_rules_failed.rb +337 -0
  673. data/lib/crimson-falcon/models/models_images_with_rules_failed.rb +255 -0
  674. data/lib/crimson-falcon/models/models_job_meta_data.rb +337 -0
  675. data/lib/crimson-falcon/models/models_message.rb +239 -0
  676. data/lib/crimson-falcon/models/models_mock_execution_create_request_v1.rb +259 -0
  677. data/lib/crimson-falcon/models/models_node.rb +52 -1
  678. data/lib/crimson-falcon/models/models_node_entity_response.rb +2 -2
  679. data/lib/crimson-falcon/models/models_non_compliant_assets_by_severity.rb +295 -0
  680. data/lib/crimson-falcon/models/models_os_info_type.rb +253 -0
  681. data/lib/crimson-falcon/models/models_package_vulnerability_type.rb +239 -0
  682. data/lib/crimson-falcon/models/models_partial_fingerprints.rb +239 -0
  683. data/lib/crimson-falcon/models/models_pod.rb +52 -1
  684. data/lib/crimson-falcon/models/models_pod_entity_response.rb +2 -2
  685. data/lib/crimson-falcon/models/models_policy_entity_response.rb +21 -21
  686. data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +21 -21
  687. data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +21 -21
  688. data/lib/crimson-falcon/models/models_registry_credentials_response.rb +2 -2
  689. data/lib/crimson-falcon/models/models_result.rb +339 -0
  690. data/lib/crimson-falcon/models/models_result_location.rb +253 -0
  691. data/lib/crimson-falcon/models/models_result_location_properties.rb +253 -0
  692. data/lib/crimson-falcon/models/models_result_physical_location.rb +253 -0
  693. data/lib/crimson-falcon/models/models_result_physical_location_artifact_location.rb +239 -0
  694. data/lib/crimson-falcon/models/models_result_physical_location_region.rb +239 -0
  695. data/lib/crimson-falcon/models/models_result_properties.rb +365 -0
  696. data/lib/crimson-falcon/models/models_rule.rb +337 -0
  697. data/lib/crimson-falcon/models/models_rule_default_configuration.rb +239 -0
  698. data/lib/crimson-falcon/models/models_rule_properties.rb +669 -0
  699. data/lib/crimson-falcon/models/models_rule_status.rb +267 -0
  700. data/lib/crimson-falcon/models/models_rule_with_non_compliant_assets.rb +281 -0
  701. data/lib/crimson-falcon/models/models_rules_failed_by_severity.rb +281 -0
  702. data/lib/crimson-falcon/models/models_rules_with_non_compliant_assets.rb +255 -0
  703. data/lib/crimson-falcon/models/models_run.rb +255 -0
  704. data/lib/crimson-falcon/models/models_run_tool.rb +239 -0
  705. data/lib/crimson-falcon/models/models_run_tool_driver.rb +283 -0
  706. data/lib/crimson-falcon/models/models_scan_report_type.rb +333 -0
  707. data/lib/crimson-falcon/models/models_scan_results.rb +287 -0
  708. data/lib/crimson-falcon/models/models_snapshot_inventory_application.rb +351 -0
  709. data/lib/crimson-falcon/models/models_verify_access_response_v1.rb +2 -2
  710. data/lib/crimson-falcon/models/models_vulnerabilities_type.rb +241 -0
  711. data/lib/crimson-falcon/models/models_vulnerability_product.rb +344 -0
  712. data/lib/crimson-falcon/models/models_vulnerability_sarif.rb +269 -0
  713. data/lib/crimson-falcon/models/models_vulnerability_type.rb +317 -0
  714. data/lib/crimson-falcon/models/msa_aggregate_query_request.rb +10 -1
  715. data/lib/crimson-falcon/models/msa_aggregates_response.rb +2 -2
  716. data/lib/crimson-falcon/models/msa_base_entities_response.rb +2 -2
  717. data/lib/crimson-falcon/models/msa_entities_response.rb +2 -2
  718. data/lib/crimson-falcon/models/msa_entity_action_request_v3.rb +266 -0
  719. data/lib/crimson-falcon/models/msa_errors_only.rb +2 -2
  720. data/lib/crimson-falcon/models/msa_extended_bounds_spec.rb +253 -0
  721. data/lib/crimson-falcon/models/msa_facets_response.rb +2 -2
  722. data/lib/crimson-falcon/models/msa_query_response.rb +2 -2
  723. data/lib/crimson-falcon/models/msa_reply_affected_entities.rb +2 -2
  724. data/lib/crimson-falcon/models/msaspec_query_response.rb +2 -2
  725. data/lib/crimson-falcon/models/msaspec_response_fields.rb +2 -2
  726. data/lib/crimson-falcon/models/packages_api_combined_package.rb +2 -2
  727. data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +2 -2
  728. data/lib/crimson-falcon/models/packages_api_combined_package_v2.rb +266 -0
  729. data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +2 -2
  730. data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +11 -1
  731. data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +11 -1
  732. data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +16 -1
  733. data/lib/crimson-falcon/models/patterndisposition_pattern_disposition.rb +85 -1
  734. data/lib/crimson-falcon/models/policies_delete_response.rb +2 -2
  735. data/lib/crimson-falcon/models/policies_policy.rb +15 -1
  736. data/lib/crimson-falcon/models/policies_precedence_response.rb +2 -2
  737. data/lib/crimson-falcon/models/policies_response.rb +2 -2
  738. data/lib/crimson-falcon/models/policyframework_benchmark.rb +253 -0
  739. data/lib/crimson-falcon/models/policyframework_control.rb +290 -0
  740. data/lib/crimson-falcon/models/prevention_resp_v1.rb +2 -2
  741. data/lib/crimson-falcon/models/processesapi_msa_process_detail_response.rb +2 -2
  742. data/lib/crimson-falcon/models/public_get_changes_response.rb +266 -0
  743. data/lib/crimson-falcon/models/quickscanpro_delete_file_response.rb +266 -0
  744. data/lib/crimson-falcon/models/quickscanpro_file_result.rb +305 -0
  745. data/lib/crimson-falcon/models/quickscanpro_file_upload_resource.rb +248 -0
  746. data/lib/crimson-falcon/models/quickscanpro_file_upload_response.rb +275 -0
  747. data/lib/crimson-falcon/models/quickscanpro_get_scan_result_resource.rb +267 -0
  748. data/lib/crimson-falcon/models/quickscanpro_get_scan_result_response.rb +266 -0
  749. data/lib/crimson-falcon/models/quickscanpro_launch_scan_request.rb +241 -0
  750. data/lib/crimson-falcon/models/quickscanpro_launch_scan_request_resource.rb +239 -0
  751. data/lib/crimson-falcon/models/quickscanpro_launch_scan_resource.rb +267 -0
  752. data/lib/crimson-falcon/models/quickscanpro_launch_scan_response.rb +275 -0
  753. data/lib/crimson-falcon/models/quickscanpro_mitre_attack.rb +288 -0
  754. data/lib/crimson-falcon/models/quickscanpro_mitre_attack_parent.rb +252 -0
  755. data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +276 -0
  756. data/lib/crimson-falcon/models/quickscanpro_quota_resource.rb +262 -0
  757. data/lib/crimson-falcon/models/quickscanpro_scan_metadata.rb +281 -0
  758. data/lib/crimson-falcon/models/quickscanpro_scan_result.rb +345 -0
  759. data/lib/crimson-falcon/models/quickscanpro_url_result.rb +296 -0
  760. data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +48 -1
  761. data/lib/crimson-falcon/models/registration_aws_account_patch.rb +51 -4
  762. data/lib/crimson-falcon/models/registration_aws_account_response_v2.rb +2 -7
  763. data/lib/crimson-falcon/models/registration_aws_console_url_response_v2.rb +266 -0
  764. data/lib/crimson-falcon/models/registration_aws_provision_get_account_script_response_v2.rb +2 -2
  765. data/lib/crimson-falcon/models/registration_azure_account_response_v1.rb +2 -2
  766. data/lib/crimson-falcon/models/registration_azure_download_certificate_response_v1.rb +2 -7
  767. data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +2 -2
  768. data/lib/crimson-falcon/models/registration_azure_provision_get_user_script_response_v1.rb +2 -2
  769. data/lib/crimson-falcon/models/registration_azure_tenant_configuration_response_v1.rb +2 -2
  770. data/lib/crimson-falcon/models/registration_azure_tenant_default_subscription_id_response_v1.rb +2 -2
  771. data/lib/crimson-falcon/models/registration_azure_tenant_ids_response_v1.rb +2 -2
  772. data/lib/crimson-falcon/models/registration_external_ioa_event_response.rb +1 -1
  773. data/lib/crimson-falcon/models/registration_external_iom_event_response.rb +1 -1
  774. data/lib/crimson-falcon/models/registration_external_iom_event_response_v2.rb +2 -2
  775. data/lib/crimson-falcon/models/registration_gcp_account_patch_request_v1.rb +241 -0
  776. data/lib/crimson-falcon/models/registration_gcp_account_patch_v1.rb +262 -0
  777. data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +12 -1
  778. data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +2 -2
  779. data/lib/crimson-falcon/models/registration_gcp_account_response_v1.rb +2 -2
  780. data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +12 -1
  781. data/lib/crimson-falcon/models/registration_gcp_account_validated_v1.rb +299 -0
  782. data/lib/crimson-falcon/models/registration_gcp_account_validation_req_obj_v1.rb +239 -0
  783. data/lib/crimson-falcon/models/registration_gcp_account_validation_request_v1.rb +241 -0
  784. data/lib/crimson-falcon/models/registration_gcp_account_validation_response_v1.rb +266 -0
  785. data/lib/crimson-falcon/models/registration_gcp_provision_get_user_script_response_v1.rb +2 -2
  786. data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +12 -1
  787. data/lib/crimson-falcon/models/registration_gcp_service_account_patch_request_v1.rb +241 -0
  788. data/lib/crimson-falcon/models/registration_gcp_service_account_patch_v1.rb +290 -0
  789. data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +2 -2
  790. data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_obj_v1.rb +290 -0
  791. data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_v1.rb +241 -0
  792. data/lib/crimson-falcon/models/registration_gcp_service_account_validation_response_v1.rb +266 -0
  793. data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
  794. data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
  795. data/lib/crimson-falcon/models/registration_msa_meta_info_extension.rb +1 -1
  796. data/lib/crimson-falcon/models/registration_msa_paging_extension.rb +1 -1
  797. data/lib/crimson-falcon/models/registration_policy_response_v1.rb +2 -2
  798. data/lib/crimson-falcon/models/registration_policy_settings_response_v1.rb +2 -2
  799. data/lib/crimson-falcon/models/registration_scan_schedule_response_v1.rb +2 -2
  800. data/lib/crimson-falcon/models/registration_static_scripts_response.rb +2 -7
  801. data/lib/crimson-falcon/models/releasecontents_release_content.rb +327 -0
  802. data/lib/crimson-falcon/models/releasecontents_release_content_version.rb +267 -0
  803. data/lib/crimson-falcon/models/releasenotes_entities_get_request.rb +241 -0
  804. data/lib/crimson-falcon/models/releasenotes_entities_get_response_wrapper.rb +269 -0
  805. data/lib/crimson-falcon/models/releasenotes_note_detail.rb +270 -0
  806. data/lib/crimson-falcon/models/releasenotes_release_note_v1.rb +303 -0
  807. data/lib/crimson-falcon/models/releasenotes_release_note_wrapper_v1.rb +271 -0
  808. data/lib/crimson-falcon/models/releases_release.rb +328 -0
  809. data/lib/crimson-falcon/models/releases_release_wrapper.rb +271 -0
  810. data/lib/crimson-falcon/models/remote_response_resp_v1.rb +2 -2
  811. data/lib/crimson-falcon/models/resources_app.rb +243 -0
  812. data/lib/crimson-falcon/models/resources_asset_graph.rb +243 -0
  813. data/lib/crimson-falcon/models/resources_cloud_context.rb +378 -0
  814. data/lib/crimson-falcon/models/resources_cloud_resource.rb +604 -0
  815. data/lib/crimson-falcon/models/resources_compliance.rb +307 -0
  816. data/lib/crimson-falcon/models/resources_detections.rb +291 -0
  817. data/lib/crimson-falcon/models/resources_host.rb +390 -0
  818. data/lib/crimson-falcon/models/resources_relationship.rb +261 -0
  819. data/lib/crimson-falcon/models/resources_vulnerability.rb +262 -0
  820. data/lib/crimson-falcon/models/rest_account_product_upsert_request_ext_v1.rb +255 -0
  821. data/lib/crimson-falcon/models/rest_aws_account_create_request_extv1.rb +241 -0
  822. data/lib/crimson-falcon/models/rest_aws_account_create_response_ext_v1.rb +266 -0
  823. data/lib/crimson-falcon/models/rest_aws_account_validated.rb +284 -0
  824. data/lib/crimson-falcon/models/rest_aws_account_validation_response.rb +266 -0
  825. data/lib/crimson-falcon/models/rest_azure_download_script_request_data.rb +239 -0
  826. data/lib/crimson-falcon/models/rest_azure_download_script_request_v1.rb +241 -0
  827. data/lib/crimson-falcon/models/rest_azure_provision_get_account_script_response_v1.rb +266 -0
  828. data/lib/crimson-falcon/models/rest_azure_script.rb +276 -0
  829. data/lib/crimson-falcon/models/rest_cloud_aws_account_create_ext_v1.rb +286 -0
  830. data/lib/crimson-falcon/models/rest_cursor_and_limit_meta_info.rb +289 -0
  831. data/lib/crimson-falcon/models/rest_cursor_meta_info.rb +280 -0
  832. data/lib/crimson-falcon/models/rest_cursor_response_fields.rb +250 -0
  833. data/lib/crimson-falcon/models/rest_paging.rb +262 -0
  834. data/lib/crimson-falcon/models/restapi_indicator_response.rb +271 -0
  835. data/lib/crimson-falcon/models/restapi_indicators_query_request.rb +255 -0
  836. data/lib/crimson-falcon/models/restapi_indicators_query_sort_request.rb +267 -0
  837. data/lib/crimson-falcon/models/rulegroups_delete_response.rb +2 -2
  838. data/lib/crimson-falcon/models/rulegroups_response.rb +2 -2
  839. data/lib/crimson-falcon/models/rulegroups_rule.rb +19 -1
  840. data/lib/crimson-falcon/models/rulegroups_rules_response.rb +2 -2
  841. data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +2 -2
  842. data/lib/crimson-falcon/models/sadomain_create_rule_request_v1.rb +49 -2
  843. data/lib/crimson-falcon/models/sadomain_rule.rb +62 -1
  844. data/lib/crimson-falcon/models/sadomain_typosquatting_base_domain.rb +19 -1
  845. data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +10 -1
  846. data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +285 -0
  847. data/lib/crimson-falcon/models/scanreports_entities_response.rb +266 -0
  848. data/lib/crimson-falcon/models/scheduledexclusions_response.rb +2 -2
  849. data/lib/crimson-falcon/models/schema_sensor_event_response_v1.rb +2 -2
  850. data/lib/crimson-falcon/models/schema_sensor_field_response_v1.rb +2 -2
  851. data/lib/crimson-falcon/models/sensor_update_builds_resp_v1.rb +2 -2
  852. data/lib/crimson-falcon/models/sensor_update_kernels_resp_v1.rb +2 -2
  853. data/lib/crimson-falcon/models/sensor_update_resp_v1.rb +2 -2
  854. data/lib/crimson-falcon/models/sensor_update_resp_v2.rb +2 -2
  855. data/lib/crimson-falcon/models/source_endpoint.rb +243 -0
  856. data/lib/crimson-falcon/models/source_user.rb +243 -0
  857. data/lib/crimson-falcon/models/state_online_state_resp_v1.rb +2 -2
  858. data/lib/crimson-falcon/models/string_wrapper.rb +266 -0
  859. data/lib/crimson-falcon/models/sv_exclusions_resp_v1.rb +2 -2
  860. data/lib/crimson-falcon/models/threatgraph_meta.rb +271 -0
  861. data/lib/crimson-falcon/models/threatgraph_paging.rb +257 -0
  862. data/lib/crimson-falcon/models/threatgraph_vertex_details.rb +327 -0
  863. data/lib/crimson-falcon/models/threatgraph_vertex_details_response.rb +271 -0
  864. data/lib/crimson-falcon/models/triggers_trigger_ext.rb +322 -0
  865. data/lib/crimson-falcon/models/triggers_trigger_ext_field.rb +305 -0
  866. data/lib/crimson-falcon/models/triggers_trigger_external_response.rb +271 -0
  867. data/lib/crimson-falcon/models/types_action_run.rb +299 -0
  868. data/lib/crimson-falcon/models/types_action_run_event.rb +324 -0
  869. data/lib/crimson-falcon/models/types_action_run_event_data.rb +360 -0
  870. data/lib/crimson-falcon/models/types_action_run_metadata.rb +288 -0
  871. data/lib/crimson-falcon/models/types_artifact.rb +261 -0
  872. data/lib/crimson-falcon/models/types_aws_api_gateway_reason_tag.rb +261 -0
  873. data/lib/crimson-falcon/models/types_aws_elastic_ip_reason_tag.rb +252 -0
  874. data/lib/crimson-falcon/models/types_aws_lambda_api_gateway_reason_tag.rb +261 -0
  875. data/lib/crimson-falcon/models/types_aws_load_balancer_reason_tag.rb +243 -0
  876. data/lib/crimson-falcon/models/types_aws_metadata.rb +243 -0
  877. data/lib/crimson-falcon/models/types_azure_application_gateway_reason_tag.rb +272 -0
  878. data/lib/crimson-falcon/models/types_azure_load_balancer_reason_tag.rb +261 -0
  879. data/lib/crimson-falcon/models/types_azure_site_metadata.rb +279 -0
  880. data/lib/crimson-falcon/models/types_azure_vm_metadata.rb +270 -0
  881. data/lib/crimson-falcon/models/types_business_application.rb +243 -0
  882. data/lib/crimson-falcon/models/types_cloud_function_metadata.rb +234 -0
  883. data/lib/crimson-falcon/models/types_composed_schedule.rb +299 -0
  884. data/lib/crimson-falcon/models/types_configuration.rb +279 -0
  885. data/lib/crimson-falcon/models/types_create_integration_request.rb +234 -0
  886. data/lib/crimson-falcon/models/types_create_integration_task_request.rb +234 -0
  887. data/lib/crimson-falcon/models/types_crowd_strike_cloud_security_metadata.rb +288 -0
  888. data/lib/crimson-falcon/models/types_data_type_db_reason_tag.rb +256 -0
  889. data/lib/crimson-falcon/models/types_data_type_mq_reason_tag.rb +245 -0
  890. data/lib/crimson-falcon/models/types_dependency.rb +306 -0
  891. data/lib/crimson-falcon/models/types_deployment_unit_descriptor.rb +263 -0
  892. data/lib/crimson-falcon/models/types_deployment_unit_service.rb +252 -0
  893. data/lib/crimson-falcon/models/types_deployment_units_tuple_filters.rb +247 -0
  894. data/lib/crimson-falcon/models/types_ec2_metadata.rb +243 -0
  895. data/lib/crimson-falcon/models/types_ecs_metadata.rb +270 -0
  896. data/lib/crimson-falcon/models/types_edit_tag_request.rb +255 -0
  897. data/lib/crimson-falcon/models/types_edit_unique_tag_request.rb +241 -0
  898. data/lib/crimson-falcon/models/types_error_message.rb +253 -0
  899. data/lib/crimson-falcon/models/types_executor_node.rb +342 -0
  900. data/lib/crimson-falcon/models/types_framework.rb +272 -0
  901. data/lib/crimson-falcon/models/types_gcp_metadata.rb +243 -0
  902. data/lib/crimson-falcon/models/types_generic_user_facing_request.rb +252 -0
  903. data/lib/crimson-falcon/models/types_get_executor_nodes_metadata_response.rb +278 -0
  904. data/lib/crimson-falcon/models/types_get_integration_tasks_metadata_response.rb +267 -0
  905. data/lib/crimson-falcon/models/types_get_services_related_entity.rb +261 -0
  906. data/lib/crimson-falcon/models/types_get_services_related_entity_filters.rb +252 -0
  907. data/lib/crimson-falcon/models/types_get_services_related_entity_group_by_fields.rb +236 -0
  908. data/lib/crimson-falcon/models/types_get_services_request.rb +321 -0
  909. data/lib/crimson-falcon/models/types_get_violation_types_response.rb +247 -0
  910. data/lib/crimson-falcon/models/types_host_metadata.rb +234 -0
  911. data/lib/crimson-falcon/models/types_integration.rb +297 -0
  912. data/lib/crimson-falcon/models/types_integration_response.rb +243 -0
  913. data/lib/crimson-falcon/models/types_integration_task.rb +369 -0
  914. data/lib/crimson-falcon/models/types_integration_task_response.rb +243 -0
  915. data/lib/crimson-falcon/models/types_integration_task_test_connection_response.rb +234 -0
  916. data/lib/crimson-falcon/models/types_integration_task_type.rb +281 -0
  917. data/lib/crimson-falcon/models/types_integration_type.rb +270 -0
  918. data/lib/crimson-falcon/models/types_interface.rb +548 -0
  919. data/lib/crimson-falcon/models/types_interface_service.rb +263 -0
  920. data/lib/crimson-falcon/models/types_k8_s_load_balancer_reason_tag.rb +263 -0
  921. data/lib/crimson-falcon/models/types_k8_s_metadata.rb +252 -0
  922. data/lib/crimson-falcon/models/types_k8_s_pod_settings.rb +256 -0
  923. data/lib/crimson-falcon/models/types_key_value.rb +243 -0
  924. data/lib/crimson-falcon/models/types_lambda_metadata.rb +243 -0
  925. data/lib/crimson-falcon/models/types_library.rb +290 -0
  926. data/lib/crimson-falcon/models/types_list_executor_nodes_response.rb +236 -0
  927. data/lib/crimson-falcon/models/types_list_integration_tasks_response.rb +236 -0
  928. data/lib/crimson-falcon/models/types_list_integration_types_response.rb +236 -0
  929. data/lib/crimson-falcon/models/types_list_integrations_response.rb +236 -0
  930. data/lib/crimson-falcon/models/types_order_by.rb +243 -0
  931. data/lib/crimson-falcon/models/types_paginate.rb +263 -0
  932. data/lib/crimson-falcon/models/types_pagination.rb +263 -0
  933. data/lib/crimson-falcon/models/types_policy_rules_condition.rb +247 -0
  934. data/lib/crimson-falcon/models/types_policy_rules_create_body.rb +331 -0
  935. data/lib/crimson-falcon/models/types_query_request.rb +266 -0
  936. data/lib/crimson-falcon/models/types_query_request_select_fields.rb +256 -0
  937. data/lib/crimson-falcon/models/types_query_result.rb +243 -0
  938. data/lib/crimson-falcon/models/types_reason_tag.rb +315 -0
  939. data/lib/crimson-falcon/models/types_remediation.rb +243 -0
  940. data/lib/crimson-falcon/models/types_results_filter.rb +243 -0
  941. data/lib/crimson-falcon/models/types_run_integration_task_request.rb +279 -0
  942. data/lib/crimson-falcon/models/types_service_now_deployment.rb +253 -0
  943. data/lib/crimson-falcon/models/types_service_now_deployments_response.rb +269 -0
  944. data/lib/crimson-falcon/models/types_service_now_service.rb +549 -0
  945. data/lib/crimson-falcon/models/types_service_now_service_data.rb +355 -0
  946. data/lib/crimson-falcon/models/types_service_now_service_deployments.rb +255 -0
  947. data/lib/crimson-falcon/models/types_service_now_services_response.rb +269 -0
  948. data/lib/crimson-falcon/models/types_service_service_artifact.rb +245 -0
  949. data/lib/crimson-falcon/models/types_service_service_business_application.rb +245 -0
  950. data/lib/crimson-falcon/models/types_service_service_configuration.rb +245 -0
  951. data/lib/crimson-falcon/models/types_service_service_dependency.rb +245 -0
  952. data/lib/crimson-falcon/models/types_service_service_framework.rb +245 -0
  953. data/lib/crimson-falcon/models/types_service_service_interface.rb +245 -0
  954. data/lib/crimson-falcon/models/types_service_service_library.rb +245 -0
  955. data/lib/crimson-falcon/models/types_service_service_tag.rb +245 -0
  956. data/lib/crimson-falcon/models/types_service_service_traits.rb +245 -0
  957. data/lib/crimson-falcon/models/types_snyk_metadata.rb +252 -0
  958. data/lib/crimson-falcon/models/types_sonatype_metadata.rb +261 -0
  959. data/lib/crimson-falcon/models/types_struct.rb +241 -0
  960. data/lib/crimson-falcon/models/types_tag.rb +310 -0
  961. data/lib/crimson-falcon/models/types_tag_data.rb +274 -0
  962. data/lib/crimson-falcon/models/types_tag_entry.rb +257 -0
  963. data/lib/crimson-falcon/models/types_tags_data_response.rb +245 -0
  964. data/lib/crimson-falcon/models/types_timestamp.rb +253 -0
  965. data/lib/crimson-falcon/models/types_trait.rb +252 -0
  966. data/lib/crimson-falcon/models/types_tuple_to_string.rb +243 -0
  967. data/lib/crimson-falcon/models/types_unique_tag_entry.rb +261 -0
  968. data/lib/crimson-falcon/models/types_update_integration_request.rb +245 -0
  969. data/lib/crimson-falcon/models/types_update_integration_task_request.rb +234 -0
  970. data/lib/crimson-falcon/models/types_upsert_business_application_request.rb +255 -0
  971. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +2 -2
  972. data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +2 -2
  973. data/lib/crimson-falcon/models/uninstall_token_resp_v1.rb +2 -2
  974. data/lib/crimson-falcon/models/v2_activity.rb +10 -1
  975. data/lib/crimson-falcon/models/v2_condition.rb +10 -6
  976. data/lib/crimson-falcon/models/v2_condition_groups.rb +257 -0
  977. data/lib/crimson-falcon/models/v2_definition.rb +60 -4
  978. data/lib/crimson-falcon/models/v2_for_loop.rb +60 -4
  979. data/lib/crimson-falcon/models/v2_loop.rb +10 -1
  980. data/lib/crimson-falcon/models/v2_model.rb +338 -0
  981. data/lib/crimson-falcon/models/v2_parameters.rb +1 -1
  982. data/lib/crimson-falcon/models/vulncheck_epss.rb +253 -0
  983. data/lib/crimson-falcon/models/vulncheck_exploit_botnets.rb +269 -0
  984. data/lib/crimson-falcon/models/vulncheck_exploit_counts.rb +267 -0
  985. data/lib/crimson-falcon/models/vulncheck_exploit_cve_reference.rb +269 -0
  986. data/lib/crimson-falcon/models/vulncheck_exploit_details.rb +404 -0
  987. data/lib/crimson-falcon/models/vulncheck_exploit_ransomware.rb +257 -0
  988. data/lib/crimson-falcon/models/vulncheck_exploit_ransomware_data.rb +253 -0
  989. data/lib/crimson-falcon/models/vulncheck_exploit_record.rb +297 -0
  990. data/lib/crimson-falcon/models/vulncheck_exploit_threat_actor.rb +305 -0
  991. data/lib/crimson-falcon/models/vulncheck_exploit_timeline.rb +342 -0
  992. data/lib/crimson-falcon/models/vulncheck_exploit_trending.rb +239 -0
  993. data/lib/crimson-falcon/models/vulncheck_threat_actor_vendor_name.rb +252 -0
  994. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +2 -2
  995. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +2 -2
  996. data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +2 -2
  997. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +2 -2
  998. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +2 -2
  999. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +2 -2
  1000. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +2 -2
  1001. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +2 -2
  1002. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +2 -2
  1003. data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +2 -2
  1004. data/lib/crimson-falcon/models/vulnerabilities_vulnerability_entity_sarif_response.rb +266 -0
  1005. data/lib/crimson-falcon/models/workflow_request.rb +241 -0
  1006. data/lib/crimson-falcon/models/workflow_response.rb +261 -0
  1007. data/lib/crimson-falcon/version.rb +2 -2
  1008. data/lib/crimson-falcon.rb +587 -105
  1009. data/spec/api/alerts_spec.rb +163 -0
  1010. data/spec/api/api_integrations_spec.rb +88 -0
  1011. data/spec/api/aspm_spec.rb +364 -0
  1012. data/spec/api/certificate_based_exclusions_spec.rb +122 -0
  1013. data/spec/api/cloud_aws_registration_spec.rb +128 -0
  1014. data/spec/api/cloud_azure_registration_spec.rb +63 -0
  1015. data/spec/api/cloud_connect_aws_spec.rb +157 -0
  1016. data/spec/api/cloud_security_assets_spec.rb +78 -0
  1017. data/spec/api/cloud_snapshots_spec.rb +120 -0
  1018. data/spec/api/compliance_assessments_spec.rb +175 -0
  1019. data/spec/api/configuration_assessment_evaluation_logic_spec.rb +63 -0
  1020. data/spec/api/configuration_assessment_spec.rb +78 -0
  1021. data/spec/api/container_alerts_spec.rb +88 -0
  1022. data/spec/api/container_detections_spec.rb +125 -0
  1023. data/spec/api/container_images_spec.rb +217 -0
  1024. data/spec/api/container_packages_spec.rb +134 -0
  1025. data/spec/api/container_vulnerabilities_spec.rb +184 -0
  1026. data/spec/api/content_update_policies_spec.rb +177 -0
  1027. data/spec/api/correlation_rules_spec.rb +137 -0
  1028. data/spec/api/cspg_iac_spec.rb +62 -0
  1029. data/spec/api/cspm_registration_spec.rb +547 -0
  1030. data/spec/api/custom_ioa_spec.rb +290 -0
  1031. data/spec/api/custom_storage_spec.rb +219 -0
  1032. data/spec/api/d4c_registration_spec.rb +309 -0
  1033. data/spec/api/datascanner_spec.rb +85 -0
  1034. data/spec/api/delivery_settings_spec.rb +73 -0
  1035. data/spec/api/deployments_spec.rb +65 -0
  1036. data/spec/api/detects_spec.rb +100 -0
  1037. data/spec/api/device_content_spec.rb +77 -0
  1038. data/spec/api/device_control_policies_spec.rb +198 -0
  1039. data/spec/api/discover_iot_spec.rb +91 -0
  1040. data/spec/api/discover_spec.rb +193 -0
  1041. data/spec/api/downloads_spec.rb +68 -0
  1042. data/spec/api/drift_indicators_spec.rb +114 -0
  1043. data/spec/api/event_schema_spec.rb +87 -0
  1044. data/spec/api/event_streams_spec.rb +77 -0
  1045. data/spec/api/exposure_management_spec.rb +180 -0
  1046. data/spec/api/falcon_complete_dashboard_spec.rb +297 -0
  1047. data/spec/api/falcon_container_cli_spec.rb +63 -0
  1048. data/spec/api/falcon_container_image_spec.rb +154 -0
  1049. data/spec/api/falcon_container_spec.rb +62 -0
  1050. data/spec/api/falconx_sandbox_spec.rb +236 -0
  1051. data/spec/api/field_schema_spec.rb +77 -0
  1052. data/spec/api/filevantage_spec.rb +450 -0
  1053. data/spec/api/firewall_management_spec.rb +462 -0
  1054. data/spec/api/firewall_policies_spec.rb +178 -0
  1055. data/spec/api/foundry_logscale_spec.rb +265 -0
  1056. data/spec/api/handle_spec.rb +62 -0
  1057. data/spec/api/host_group_spec.rb +167 -0
  1058. data/spec/api/host_migration_spec.rb +180 -0
  1059. data/spec/api/hosts_spec.rb +197 -0
  1060. data/spec/api/humio_auth_proxy_spec.rb +137 -0
  1061. data/spec/api/identity_entities_spec.rb +88 -0
  1062. data/spec/api/identity_protection_spec.rb +113 -0
  1063. data/spec/api/image_assessment_policies_spec.rb +172 -0
  1064. data/spec/api/incidents_spec.rb +129 -0
  1065. data/spec/api/installation_tokens_settings_spec.rb +63 -0
  1066. data/spec/api/installation_tokens_spec.rb +146 -0
  1067. data/spec/api/intel_spec.rb +366 -0
  1068. data/spec/api/intelligence_indicator_graph_spec.rb +66 -0
  1069. data/spec/api/ioa_exclusions_spec.rb +113 -0
  1070. data/spec/api/ioc_spec.rb +259 -0
  1071. data/spec/api/iocs_spec.rb +104 -0
  1072. data/spec/api/kubernetes_protection_spec.rb +778 -0
  1073. data/spec/api/lookup_files_spec.rb +80 -0
  1074. data/spec/api/malquery_spec.rb +150 -0
  1075. data/spec/api/message_center_spec.rb +172 -0
  1076. data/spec/api/ml_exclusions_spec.rb +111 -0
  1077. data/spec/api/mobile_enrollment_spec.rb +78 -0
  1078. data/spec/api/mssp_spec.rb +402 -0
  1079. data/spec/api/oauth2_spec.rb +77 -0
  1080. data/spec/api/ods_spec.rb +241 -0
  1081. data/spec/api/overwatch_dashboard_spec.rb +107 -0
  1082. data/spec/api/prevention_policies_spec.rb +177 -0
  1083. data/spec/api/quarantine_spec.rb +122 -0
  1084. data/spec/api/quick_scan_pro_spec.rb +122 -0
  1085. data/spec/api/quick_scan_spec.rb +99 -0
  1086. data/spec/api/real_time_response_admin_spec.rb +257 -0
  1087. data/spec/api/real_time_response_audit_spec.rb +67 -0
  1088. data/spec/api/real_time_response_spec.rb +333 -0
  1089. data/spec/api/recon_spec.rb +358 -0
  1090. data/spec/api/release_notes_spec.rb +97 -0
  1091. data/spec/api/releases_spec.rb +68 -0
  1092. data/spec/api/report_executions_spec.rb +100 -0
  1093. data/spec/api/response_policies_spec.rb +177 -0
  1094. data/spec/api/runtime_detections_spec.rb +66 -0
  1095. data/spec/api/sample_uploads_spec.rb +191 -0
  1096. data/spec/api/scheduled_reports_spec.rb +89 -0
  1097. data/spec/api/sensor_download_spec.rb +162 -0
  1098. data/spec/api/sensor_update_policies_spec.rb +274 -0
  1099. data/spec/api/sensor_usage_spec.rb +63 -0
  1100. data/spec/api/sensor_visibility_exclusions_spec.rb +111 -0
  1101. data/spec/api/spotlight_evaluation_logic_spec.rb +91 -0
  1102. data/spec/api/spotlight_vulnerabilities_spec.rb +103 -0
  1103. data/spec/api/threatgraph_spec.rb +136 -0
  1104. data/spec/api/unidentified_containers_spec.rb +88 -0
  1105. data/spec/api/user_management_spec.rb +308 -0
  1106. data/spec/api/vulnerabilities_spec.rb +66 -0
  1107. data/spec/api/workflows_spec.rb +274 -0
  1108. data/spec/api/zero_trust_assessment_spec.rb +87 -0
  1109. data/spec/models/actions_action_response_spec.rb +63 -0
  1110. data/spec/models/actions_action_spec.rb +99 -0
  1111. data/spec/models/actions_create_action_request_spec.rb +63 -0
  1112. data/spec/models/actions_get_action_response_spec.rb +63 -0
  1113. data/spec/models/activities_activity_ext_field_spec.rb +93 -0
  1114. data/spec/models/activities_activity_external_response_spec.rb +63 -0
  1115. data/spec/models/activities_activity_spec.rb +165 -0
  1116. data/spec/models/activity_spec.rb +57 -0
  1117. data/spec/models/alerts_container_alerts_count_value_spec.rb +3 -3
  1118. data/spec/models/api_cert_based_exclusion_create_req_v1_spec.rb +117 -0
  1119. data/spec/models/api_cert_based_exclusion_resp_v1_spec.rb +63 -0
  1120. data/spec/models/api_cert_based_exclusion_update_req_v1_spec.rb +123 -0
  1121. data/spec/models/api_cert_based_exclusion_v1_spec.rb +129 -0
  1122. data/spec/models/api_cert_based_exclusions_create_req_v1_spec.rb +51 -0
  1123. data/spec/models/api_cert_based_exclusions_update_req_v1_spec.rb +51 -0
  1124. data/spec/models/api_certificate_req_v1_spec.rb +81 -0
  1125. data/spec/models/api_certificate_v1_spec.rb +81 -0
  1126. data/spec/models/api_certificates_response_v1_spec.rb +51 -0
  1127. data/spec/models/api_create_migration_request_v1_spec.rb +69 -0
  1128. data/spec/models/api_create_migration_response_v1_spec.rb +63 -0
  1129. data/spec/models/api_create_rule_operation_v1_spec.rb +63 -0
  1130. data/spec/models/api_event_spec.rb +75 -0
  1131. data/spec/models/api_get_entities_rules_response_v1_spec.rb +63 -0
  1132. data/spec/models/api_get_host_migration_response_v1_spec.rb +63 -0
  1133. data/spec/models/api_get_migration_destinations_request_body_v1_spec.rb +57 -0
  1134. data/spec/models/api_get_migration_destinations_response_v1_spec.rb +63 -0
  1135. data/spec/models/api_get_migrations_response_v1_spec.rb +63 -0
  1136. data/spec/models/api_host_migration_spec.rb +129 -0
  1137. data/spec/models/api_hourly_average_response_spec.rb +63 -0
  1138. data/spec/models/api_mfa_resource_ids_response_spec.rb +69 -0
  1139. data/spec/models/api_migrate_hosts_info_spec.rb +63 -0
  1140. data/spec/models/api_migration_spec.rb +117 -0
  1141. data/spec/models/api_object_metadata_spec.rb +6 -0
  1142. data/spec/models/api_patch_rule_operation_v1_spec.rb +63 -0
  1143. data/spec/models/api_patch_rule_search_v1_spec.rb +69 -0
  1144. data/spec/models/api_post_enrollment_details_v4_spec.rb +63 -0
  1145. data/spec/models/api_resp_certificates_v1_spec.rb +63 -0
  1146. data/spec/models/api_rule_create_request_v1_spec.rb +111 -0
  1147. data/spec/models/api_rule_operation_v1_spec.rb +69 -0
  1148. data/spec/models/api_rule_patch_request_v1_spec.rb +99 -0
  1149. data/spec/models/api_rule_schedule_v1_patch_spec.rb +51 -0
  1150. data/spec/models/api_rule_schedule_v1_spec.rb +51 -0
  1151. data/spec/models/api_rule_search_v1_spec.rb +69 -0
  1152. data/spec/models/api_rule_update_v2_spec.rb +93 -0
  1153. data/spec/models/api_rule_updates_request_v2_spec.rb +69 -0
  1154. data/spec/models/api_rule_v1_spec.rb +16 -34
  1155. data/spec/models/api_weekly_average_response_spec.rb +63 -0
  1156. data/spec/models/apidomain_query_response_v1_spec.rb +6 -0
  1157. data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +0 -6
  1158. data/spec/models/assets_get_resource_ids_response_spec.rb +63 -0
  1159. data/spec/models/assets_get_resources_response_spec.rb +63 -0
  1160. data/spec/models/base_set_content_update_policy_precedence_req_v1_spec.rb +51 -0
  1161. data/spec/models/changes_change_spec.rb +12 -0
  1162. data/spec/models/changes_host_spec.rb +6 -0
  1163. data/spec/models/changes_permissions_mac_spec.rb +81 -0
  1164. data/spec/models/client_job_status_spec.rb +6 -0
  1165. data/spec/models/common_count_as_resource_spec.rb +0 -6
  1166. data/spec/models/common_count_response_spec.rb +3 -3
  1167. data/spec/models/common_credentials_spec.rb +51 -0
  1168. data/spec/models/common_entities_response_spec.rb +63 -0
  1169. data/spec/models/common_registry_credentials_response_spec.rb +63 -0
  1170. data/spec/models/content_update_create_policies_req_v1_spec.rb +51 -0
  1171. data/spec/models/content_update_create_policy_req_v1_spec.rb +63 -0
  1172. data/spec/models/content_update_ring_assignment_settings_v1_spec.rb +57 -0
  1173. data/spec/models/content_update_settings_v1_spec.rb +51 -0
  1174. data/spec/models/content_update_update_policies_req_v1_spec.rb +51 -0
  1175. data/spec/models/content_update_update_policy_req_v1_spec.rb +69 -0
  1176. data/spec/models/contentchanges_change_contents_response_spec.rb +63 -0
  1177. data/spec/models/contentchanges_content_diff_spec.rb +69 -0
  1178. data/spec/models/contentchanges_content_spec.rb +57 -0
  1179. data/spec/models/custom_storage_object_keys_spec.rb +63 -0
  1180. data/spec/models/custom_storage_response_spec.rb +63 -0
  1181. data/spec/models/dataclassifications_label_spec.rb +63 -0
  1182. data/spec/models/dataclassifications_response_spec.rb +75 -0
  1183. data/spec/models/dataclassifications_tag_spec.rb +69 -0
  1184. data/spec/models/definitions_definition_ext_spec.rb +103 -1
  1185. data/spec/models/deployments_api_deployment_ring_view_spec.rb +87 -0
  1186. data/spec/models/deployments_api_deployment_view_spec.rb +93 -0
  1187. data/spec/models/deployments_api_deployment_view_wrapper_spec.rb +63 -0
  1188. data/spec/models/deployments_entity_response_spec.rb +63 -0
  1189. data/spec/models/destination_spec.rb +57 -0
  1190. data/spec/models/destinations_migration_destination_spec.rb +57 -0
  1191. data/spec/models/detections_api_assessment_detections_spec.rb +3 -3
  1192. data/spec/models/detections_api_combined_detections_spec.rb +3 -3
  1193. data/spec/models/detections_api_detections_count_spec.rb +3 -3
  1194. data/spec/models/detects_external_alert_spec.rb +273 -0
  1195. data/spec/models/detectsapi_post_combined_alerts_v1_meta_spec.rb +69 -0
  1196. data/spec/models/detectsapi_post_combined_alerts_v1_paging_spec.rb +63 -0
  1197. data/spec/models/detectsapi_post_combined_alerts_v1_request_swagger_spec.rb +69 -0
  1198. data/spec/models/detectsapi_post_combined_alerts_v1_response_swagger_spec.rb +63 -0
  1199. data/spec/models/detectsapi_post_entities_alerts_v1_response_swagger_spec.rb +63 -0
  1200. data/spec/models/detectsapi_post_entities_alerts_v2_response_swagger_spec.rb +63 -0
  1201. data/spec/models/device_control_usb_class_exceptions_req_v1_spec.rb +1 -1
  1202. data/spec/models/device_control_usb_class_exceptions_response_spec.rb +1 -1
  1203. data/spec/models/device_device_spec.rb +36 -0
  1204. data/spec/models/device_mapped_device_policies_spec.rb +24 -0
  1205. data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
  1206. data/spec/models/devicecontent_content_category_spec.rb +51 -0
  1207. data/spec/models/devicecontent_state_spec.rb +117 -0
  1208. data/spec/models/devicecontentapi_entities_response_v1_spec.rb +63 -0
  1209. data/spec/models/devicecontentapi_query_response_v1_spec.rb +63 -0
  1210. data/spec/models/domain_aggregate_cluster_assessments_response_spec.rb +63 -0
  1211. data/spec/models/domain_aggregate_failed_asset_count_by_severity_response_spec.rb +63 -0
  1212. data/spec/models/domain_aggregate_failed_assets_by_rules_response_spec.rb +63 -0
  1213. data/spec/models/domain_aggregate_failed_rules_by_clusters_response_spec.rb +63 -0
  1214. data/spec/models/domain_aggregate_failed_rules_by_images_response_spec.rb +63 -0
  1215. data/spec/models/domain_aggregate_failed_rules_count_by_severity_response_spec.rb +63 -0
  1216. data/spec/models/domain_aggregate_image_assessments_response_spec.rb +63 -0
  1217. data/spec/models/domain_aggregate_rules_assessments_response_spec.rb +63 -0
  1218. data/spec/models/domain_aggregate_rules_by_status_response_spec.rb +63 -0
  1219. data/spec/models/domain_api_compliance_control_v1_spec.rb +57 -0
  1220. data/spec/models/domain_api_compliance_mapping_v1_spec.rb +63 -0
  1221. data/spec/models/domain_api_error_spec.rb +3 -3
  1222. data/spec/models/domain_api_evaluation_logic_item_v1_spec.rb +6 -6
  1223. data/spec/models/domain_api_evaluation_logic_v1_spec.rb +2 -14
  1224. data/spec/models/domain_api_finding_rule_v1_spec.rb +6 -0
  1225. data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
  1226. data/spec/models/domain_api_remediation_info_spec.rb +63 -0
  1227. data/spec/models/domain_api_remediation_v2_spec.rb +12 -0
  1228. data/spec/models/domain_api_rule_details_v1_spec.rb +6 -0
  1229. data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
  1230. data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
  1231. data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +18 -0
  1232. data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +18 -0
  1233. data/spec/models/domain_api_vulnerability_service_v2_spec.rb +63 -0
  1234. data/spec/models/domain_api_vulnerability_v2_spec.rb +12 -0
  1235. data/spec/models/domain_assessment_paging_spec.rb +69 -0
  1236. data/spec/models/domain_aws_account_resource_metadata_spec.rb +117 -0
  1237. data/spec/models/domain_aws_account_v2_spec.rb +30 -0
  1238. data/spec/models/domain_aws_inventory_filter_setting_spec.rb +63 -0
  1239. data/spec/models/domain_base_api_vulnerability_v2_spec.rb +12 -0
  1240. data/spec/models/domain_behavior_spec.rb +6 -0
  1241. data/spec/models/domain_benchmark_spec.rb +6 -0
  1242. data/spec/models/domain_case_creation_request_v2_spec.rb +12 -0
  1243. data/spec/models/domain_cipher_spec.rb +63 -0
  1244. data/spec/models/domain_cisa_known_exploited_vulnerabilities_info_spec.rb +57 -0
  1245. data/spec/models/domain_cloud_aws_account_v1_spec.rb +189 -0
  1246. data/spec/models/domain_cloud_condition_spec.rb +93 -0
  1247. data/spec/models/domain_compliance_findings_grouped_by_images_with_scroll_spec.rb +57 -0
  1248. data/spec/models/domain_compliance_spec.rb +75 -0
  1249. data/spec/models/domain_condition_spec.rb +12 -0
  1250. data/spec/models/domain_config_v1_spec.rb +75 -0
  1251. data/spec/models/domain_configs_v1_spec.rb +63 -0
  1252. data/spec/models/domain_content_package_spec.rb +51 -0
  1253. data/spec/models/domain_content_update_policy_resp_v1_spec.rb +153 -0
  1254. data/spec/models/domain_content_update_settings_v1_spec.rb +51 -0
  1255. data/spec/models/domain_control_benchmark_spec.rb +57 -0
  1256. data/spec/models/domain_control_spec.rb +81 -0
  1257. data/spec/models/domain_cps_rating_history_entry_spec.rb +57 -0
  1258. data/spec/models/domain_cps_rating_indicator_spec.rb +63 -0
  1259. data/spec/models/domain_cps_rating_spec.rb +75 -0
  1260. data/spec/models/domain_create_submission_v1_error_response_spec.rb +71 -0
  1261. data/spec/models/domain_credentials_spec.rb +1 -13
  1262. data/spec/models/domain_cve_exploit_reference_spec.rb +63 -0
  1263. data/spec/models/domain_cve_exploit_source_spec.rb +69 -0
  1264. data/spec/models/domain_cve_exploit_spec.rb +69 -0
  1265. data/spec/models/domain_cve_spec.rb +195 -0
  1266. data/spec/models/domain_cvssv2_spec.rb +75 -0
  1267. data/spec/models/domain_cvssv3_spec.rb +123 -0
  1268. data/spec/models/domain_denormalized_adversary_reference_spec.rb +63 -0
  1269. data/spec/models/domain_denormalized_country_spec.rb +57 -0
  1270. data/spec/models/domain_denormalized_customer_target_spec.rb +51 -0
  1271. data/spec/models/domain_denormalized_report_reference_spec.rb +63 -0
  1272. data/spec/models/domain_denormalized_sector_spec.rb +57 -0
  1273. data/spec/models/domain_denormalized_threat_reference_spec.rb +57 -0
  1274. data/spec/models/domain_denormalized_threat_used_mitre_spec.rb +87 -0
  1275. data/spec/models/domain_device_spec.rb +1 -1
  1276. data/spec/models/domain_discover_api_active_discovery_host_spec.rb +12 -0
  1277. data/spec/models/domain_discover_api_application_browser_extension_installation_spec.rb +99 -0
  1278. data/spec/models/domain_discover_api_application_browser_extension_spec.rb +93 -0
  1279. data/spec/models/domain_discover_api_application_host_spec.rb +6 -0
  1280. data/spec/models/domain_discover_api_application_spec.rb +12 -0
  1281. data/spec/models/domain_discover_api_combined_applications_response_spec.rb +63 -0
  1282. data/spec/models/domain_discover_api_combined_hosts_response_spec.rb +63 -0
  1283. data/spec/models/domain_discover_api_host_spec.rb +168 -0
  1284. data/spec/models/domain_discover_api_meta_info_spec.rb +75 -0
  1285. data/spec/models/domain_discover_api_paging_spec.rb +63 -0
  1286. data/spec/models/domain_discover_api_response_spec.rb +63 -0
  1287. data/spec/models/domain_discover_apiio_t_host_spec.rb +308 -20
  1288. data/spec/models/domain_discover_apiio_t_host_triage_spec.rb +81 -0
  1289. data/spec/models/domain_discover_params_spec.rb +6 -0
  1290. data/spec/models/domain_execute_command_request_v1_spec.rb +51 -0
  1291. data/spec/models/domain_execute_command_result_v1_spec.rb +75 -0
  1292. data/spec/models/domain_execute_command_results_v1_spec.rb +63 -0
  1293. data/spec/models/domain_execute_command_v1_spec.rb +87 -0
  1294. data/spec/models/domain_execution_metadata_summary_spec.rb +6 -0
  1295. data/spec/models/domain_execution_metadata_v1_spec.rb +6 -0
  1296. data/spec/models/domain_external_asset_api_delete_request_v1_spec.rb +51 -0
  1297. data/spec/models/domain_external_asset_api_patch_request_v1_spec.rb +51 -0
  1298. data/spec/models/domain_external_asset_application_spec.rb +75 -0
  1299. data/spec/models/domain_external_asset_certificate_entity_identifiers_spec.rb +141 -0
  1300. data/spec/models/domain_external_asset_certificate_spec.rb +105 -0
  1301. data/spec/models/domain_external_asset_cloud_vm_spec.rb +117 -0
  1302. data/spec/models/domain_external_asset_discovery_attributes_spec.rb +57 -0
  1303. data/spec/models/domain_external_asset_discovery_path_attributes_spec.rb +51 -0
  1304. data/spec/models/domain_external_asset_discovery_step_attributes_spec.rb +75 -0
  1305. data/spec/models/domain_external_asset_geographical_location_spec.rb +99 -0
  1306. data/spec/models/domain_external_asset_http_attributes_spec.rb +75 -0
  1307. data/spec/models/domain_external_asset_redirect_step_attributes_spec.rb +69 -0
  1308. data/spec/models/domain_external_asset_service_blobs_links_spec.rb +69 -0
  1309. data/spec/models/domain_external_asset_service_spec.rb +153 -0
  1310. data/spec/models/domain_external_asset_ssl_record_spec.rb +93 -0
  1311. data/spec/models/domain_external_asset_subsidiary_spec.rb +57 -0
  1312. data/spec/models/domain_external_assets_api_patch_spec.rb +75 -0
  1313. data/spec/models/domain_external_assets_api_triage_patch_spec.rb +69 -0
  1314. data/spec/models/domain_external_assets_api_triage_spec.rb +81 -0
  1315. data/spec/models/domain_external_assets_api_type_v1_spec.rb +63 -0
  1316. data/spec/models/domain_external_assets_blob_api_type_v1_spec.rb +63 -0
  1317. data/spec/models/domain_external_export_job_spec.rb +81 -0
  1318. data/spec/models/domain_feature_permission_spec.rb +57 -0
  1319. data/spec/models/domain_feature_status_spec.rb +57 -0
  1320. data/spec/models/domain_fem_dns_domain_spec.rb +81 -0
  1321. data/spec/models/domain_fem_ecosystem_subsidiaries_entities_response_spec.rb +57 -0
  1322. data/spec/models/domain_fem_ecosystem_subsidiaries_meta_spec.rb +57 -0
  1323. data/spec/models/domain_fem_ecosystem_subsidiaries_query_response_spec.rb +57 -0
  1324. data/spec/models/domain_fem_ecosystem_subsidiaries_response_fields_spec.rb +57 -0
  1325. data/spec/models/domain_fem_ecosystem_subsidiary_spec.rb +99 -0
  1326. data/spec/models/domain_fem_external_asset_spec.rb +183 -0
  1327. data/spec/models/domain_fem_external_ip_spec.rb +105 -0
  1328. data/spec/models/domain_gcp_account_v1_spec.rb +12 -0
  1329. data/spec/models/domain_geo_point_spec.rb +57 -0
  1330. data/spec/models/domain_incident_spec.rb +6 -0
  1331. data/spec/models/domain_init_response_spec.rb +12 -0
  1332. data/spec/models/domain_item_details_v1_spec.rb +6 -0
  1333. data/spec/models/domain_kestrel_params_spec.rb +51 -0
  1334. data/spec/models/domain_lookup_file_spec.rb +147 -0
  1335. data/spec/models/domain_lookup_file_wrapper_spec.rb +63 -0
  1336. data/spec/models/domain_malware_document_spec.rb +351 -0
  1337. data/spec/models/domain_malware_environment_aggregates_spec.rb +63 -0
  1338. data/spec/models/domain_malware_response_spec.rb +63 -0
  1339. data/spec/models/domain_marketplace_credentials_spec.rb +63 -0
  1340. data/spec/models/domain_meta_info_spec.rb +0 -12
  1341. data/spec/models/domain_msa_meta_info_spec.rb +57 -0
  1342. data/spec/models/domain_news_document_spec.rb +6 -0
  1343. data/spec/models/domain_notification_v1_spec.rb +18 -0
  1344. data/spec/models/domain_platform_spec.rb +1 -1
  1345. data/spec/models/domain_policy_info_spec.rb +36 -0
  1346. data/spec/models/domain_product_features_spec.rb +57 -0
  1347. data/spec/models/domain_product_features_status_spec.rb +57 -0
  1348. data/spec/models/domain_product_permission_spec.rb +57 -0
  1349. data/spec/models/domain_reference_spec.rb +57 -0
  1350. data/spec/models/domain_report_execution_summary_v1_spec.rb +6 -0
  1351. data/spec/models/domain_report_execution_v1_spec.rb +6 -0
  1352. data/spec/models/domain_report_metadata_spec.rb +6 -0
  1353. data/spec/models/domain_report_params_spec.rb +12 -0
  1354. data/spec/models/domain_request_spec.rb +51 -0
  1355. data/spec/models/domain_ring_assignment_settings_v1_spec.rb +63 -0
  1356. data/spec/models/domain_scan_metadata_spec.rb +6 -0
  1357. data/spec/models/domain_scan_spec.rb +6 -6
  1358. data/spec/models/domain_scan_v2_spec.rb +0 -6
  1359. data/spec/models/domain_schedule_spec.rb +3 -3
  1360. data/spec/models/domain_scheduled_report_v1_spec.rb +12 -0
  1361. data/spec/models/domain_sensor_installer_v2_spec.rb +123 -0
  1362. data/spec/models/domain_sensor_installers_v2_spec.rb +63 -0
  1363. data/spec/models/domain_spotlight_params_spec.rb +63 -0
  1364. data/spec/models/domain_update_rule_request_v1_spec.rb +12 -0
  1365. data/spec/models/domain_user_metadata_spec.rb +6 -0
  1366. data/spec/models/domain_user_spec.rb +25 -1
  1367. data/spec/models/domain_vuln_spec.rb +51 -0
  1368. data/spec/models/domain_vulnerability_spec.rb +3 -63
  1369. data/spec/models/domain_xdr_params_spec.rb +24 -0
  1370. data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +3 -3
  1371. data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +3 -3
  1372. data/spec/models/entities_ods_scan_request_spec.rb +0 -6
  1373. data/spec/models/entities_rolling_average_spec.rb +105 -0
  1374. data/spec/models/executions_execution_result_spec.rb +12 -0
  1375. data/spec/models/executions_loop_result_spec.rb +6 -0
  1376. data/spec/models/exports_exports_response_spec.rb +63 -0
  1377. data/spec/models/exports_launch_export_request_spec.rb +69 -0
  1378. data/spec/models/exports_launch_export_response_spec.rb +63 -0
  1379. data/spec/models/falconx_report_v1_spec.rb +12 -0
  1380. data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -0
  1381. data/spec/models/falconx_sandbox_report_v1_spec.rb +6 -0
  1382. data/spec/models/falconx_summary_report_v1_spec.rb +6 -0
  1383. data/spec/models/fielddata_field_source_option_spec.rb +57 -0
  1384. data/spec/models/fielddata_field_source_spec.rb +75 -0
  1385. data/spec/models/figapi_adversary_spec.rb +51 -0
  1386. data/spec/models/figapi_country_spec.rb +57 -0
  1387. data/spec/models/figapi_domain_spec.rb +117 -0
  1388. data/spec/models/figapi_email_address_spec.rb +63 -0
  1389. data/spec/models/figapi_file_spec.rb +87 -0
  1390. data/spec/models/figapi_indicator_spec.rb +183 -0
  1391. data/spec/models/figapi_ipv4_spec.rb +69 -0
  1392. data/spec/models/figapi_ipv6_spec.rb +69 -0
  1393. data/spec/models/figapi_mx_record_spec.rb +75 -0
  1394. data/spec/models/figapi_name_server_spec.rb +63 -0
  1395. data/spec/models/figapi_report_spec.rb +51 -0
  1396. data/spec/models/figapi_sector_spec.rb +57 -0
  1397. data/spec/models/figapi_threat_spec.rb +51 -0
  1398. data/spec/models/figapi_url_spec.rb +57 -0
  1399. data/spec/models/figapi_vulnerability_spec.rb +141 -0
  1400. data/spec/models/figapi_who_is_spec.rb +69 -0
  1401. data/spec/models/figapi_whois_record_spec.rb +99 -0
  1402. data/spec/models/figapi_x509_certificate_spec.rb +93 -0
  1403. data/spec/models/fwmgr_msa_aggregate_query_request_spec.rb +6 -0
  1404. data/spec/models/fwmgr_msa_extended_bounds_spec_spec.rb +57 -0
  1405. data/spec/models/graph_condition_spec.rb +2 -2
  1406. data/spec/models/graph_configured_activity_spec.rb +6 -0
  1407. data/spec/models/graph_end_spec.rb +12 -0
  1408. data/spec/models/graph_multi_spec.rb +18 -0
  1409. data/spec/models/graph_sub_model_spec.rb +0 -6
  1410. data/spec/models/graph_validation_error_spec.rb +12 -0
  1411. data/spec/models/help_spec.rb +51 -0
  1412. data/spec/models/ingestion_cve_exploit_reference_spec.rb +63 -0
  1413. data/spec/models/ingestion_cve_exploit_source_spec.rb +69 -0
  1414. data/spec/models/ingestion_ex_prt_rating_factors_spec.rb +69 -0
  1415. data/spec/models/ingestion_reference_spec.rb +57 -0
  1416. data/spec/models/internal_sensor_status_spec.rb +6 -0
  1417. data/spec/models/inventoryapi_surface_error_spec.rb +63 -0
  1418. data/spec/models/inventoryapi_user_external_asset_create_request_v1_spec.rb +51 -0
  1419. data/spec/models/inventoryapi_user_external_asset_create_response_v1_spec.rb +63 -0
  1420. data/spec/models/inventoryapi_user_external_asset_create_spec.rb +57 -0
  1421. data/spec/models/inventoryapi_user_external_asset_result_spec.rb +93 -0
  1422. data/spec/models/inventoryapi_user_external_asset_spec.rb +57 -0
  1423. data/spec/models/inventoryapidomain_subsidiary_spec.rb +57 -0
  1424. data/spec/models/jsonschema_condition_group_fields_spec.rb +6 -0
  1425. data/spec/models/jsonschema_duration_option_spec.rb +57 -0
  1426. data/spec/models/jsonschema_pivot_spec.rb +12 -0
  1427. data/spec/models/jsonschema_signals_extensions_spec.rb +12 -0
  1428. data/spec/models/jsonschema_sub_schema_spec.rb +12 -0
  1429. data/spec/models/jsonschema_ui_extensions_spec.rb +99 -0
  1430. data/spec/models/jsonschema_workflow_extensions_spec.rb +6 -0
  1431. data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +6 -0
  1432. data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +3 -3
  1433. data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +3 -3
  1434. data/spec/models/messages_case_spec.rb +18 -0
  1435. data/spec/models/models_api_customer_and_image_spec.rb +36 -0
  1436. data/spec/models/models_api_image_combined_export_spec.rb +30 -0
  1437. data/spec/models/models_api_package_combined_spec.rb +6 -0
  1438. data/spec/models/models_api_package_combined_v2_spec.rb +111 -0
  1439. data/spec/models/models_api_vulnerability_combined_spec.rb +6 -0
  1440. data/spec/models/models_application_library_spec.rb +6 -0
  1441. data/spec/models/models_base_image_request_spec.rb +75 -0
  1442. data/spec/models/models_cluster_info_spec.rb +81 -0
  1443. data/spec/models/models_cluster_spec.rb +18 -0
  1444. data/spec/models/models_cluster_with_failed_rules_spec.rb +81 -0
  1445. data/spec/models/models_compliance_by_rules_spec.rb +63 -0
  1446. data/spec/models/models_compliance_export_grouped_by_clusters_report_spec.rb +135 -0
  1447. data/spec/models/models_compliance_export_grouped_by_images_report_spec.rb +111 -0
  1448. data/spec/models/models_compliance_export_grouped_by_rules_report_spec.rb +123 -0
  1449. data/spec/models/models_container_image_spec.rb +6 -0
  1450. data/spec/models/models_container_spec.rb +16 -106
  1451. data/spec/models/models_create_base_images_request_spec.rb +51 -0
  1452. data/spec/models/models_create_deployment_input_spec.rb +51 -0
  1453. data/spec/models/models_delivery_settings_entity_response_spec.rb +63 -0
  1454. data/spec/models/models_delivery_settings_input_spec.rb +57 -0
  1455. data/spec/models/models_delivery_settings_request_spec.rb +51 -0
  1456. data/spec/models/models_delivery_settings_spec.rb +123 -0
  1457. data/spec/models/models_deployment_resource_spec.rb +69 -0
  1458. data/spec/models/models_deployment_spec.rb +129 -9
  1459. data/spec/models/models_detection_engine_info_type_spec.rb +63 -0
  1460. data/spec/models/models_detection_info_type_spec.rb +51 -0
  1461. data/spec/models/models_detection_spec.rb +105 -0
  1462. data/spec/models/models_elf_binary_spec.rb +69 -0
  1463. data/spec/models/models_ext_api_image_combined_spec.rb +12 -0
  1464. data/spec/models/models_image_details_spec.rb +69 -0
  1465. data/spec/models/models_image_with_rules_failed_spec.rb +93 -0
  1466. data/spec/models/models_images_with_rules_failed_spec.rb +57 -0
  1467. data/spec/models/models_job_meta_data_spec.rb +93 -0
  1468. data/spec/models/models_message_spec.rb +51 -0
  1469. data/spec/models/models_mock_execution_create_request_v1_spec.rb +63 -0
  1470. data/spec/models/models_node_spec.rb +24 -0
  1471. data/spec/models/models_non_compliant_assets_by_severity_spec.rb +75 -0
  1472. data/spec/models/models_os_info_type_spec.rb +57 -0
  1473. data/spec/models/models_package_vulnerability_type_spec.rb +51 -0
  1474. data/spec/models/models_partial_fingerprints_spec.rb +51 -0
  1475. data/spec/models/models_pod_spec.rb +24 -0
  1476. data/spec/models/models_policy_entity_response_spec.rb +3 -3
  1477. data/spec/models/models_policy_exclusion_entity_response_spec.rb +3 -3
  1478. data/spec/models/models_policy_group_entity_response_spec.rb +3 -3
  1479. data/spec/models/models_result_location_properties_spec.rb +57 -0
  1480. data/spec/models/models_result_location_spec.rb +57 -0
  1481. data/spec/models/models_result_physical_location_artifact_location_spec.rb +51 -0
  1482. data/spec/models/models_result_physical_location_region_spec.rb +51 -0
  1483. data/spec/models/models_result_physical_location_spec.rb +57 -0
  1484. data/spec/models/models_result_properties_spec.rb +105 -0
  1485. data/spec/models/models_result_spec.rb +93 -0
  1486. data/spec/models/models_rule_default_configuration_spec.rb +51 -0
  1487. data/spec/models/models_rule_properties_spec.rb +231 -0
  1488. data/spec/models/models_rule_spec.rb +93 -0
  1489. data/spec/models/models_rule_status_spec.rb +63 -0
  1490. data/spec/models/models_rule_with_non_compliant_assets_spec.rb +69 -0
  1491. data/spec/models/models_rules_failed_by_severity_spec.rb +69 -0
  1492. data/spec/models/models_rules_with_non_compliant_assets_spec.rb +57 -0
  1493. data/spec/models/models_run_spec.rb +57 -0
  1494. data/spec/models/models_run_tool_driver_spec.rb +69 -0
  1495. data/spec/models/models_run_tool_spec.rb +51 -0
  1496. data/spec/models/models_scan_report_type_spec.rb +93 -0
  1497. data/spec/models/models_scan_results_spec.rb +69 -0
  1498. data/spec/models/models_snapshot_inventory_application_spec.rb +99 -0
  1499. data/spec/models/models_vulnerabilities_type_spec.rb +51 -0
  1500. data/spec/models/models_vulnerability_product_spec.rb +111 -0
  1501. data/spec/models/models_vulnerability_sarif_spec.rb +63 -0
  1502. data/spec/models/models_vulnerability_type_spec.rb +87 -0
  1503. data/spec/models/msa_aggregate_query_request_spec.rb +6 -0
  1504. data/spec/models/msa_entity_action_request_v3_spec.rb +63 -0
  1505. data/spec/models/msa_extended_bounds_spec_spec.rb +57 -0
  1506. data/spec/models/packages_api_combined_package_v2_spec.rb +63 -0
  1507. data/spec/models/parameter_activity_config_parameter_value_spec.rb +6 -0
  1508. data/spec/models/parameter_condition_field_parameter_spec.rb +6 -0
  1509. data/spec/models/parameter_condition_field_provision_parameter_spec.rb +6 -0
  1510. data/spec/models/patterndisposition_pattern_disposition_spec.rb +36 -0
  1511. data/spec/models/policies_policy_spec.rb +6 -0
  1512. data/spec/models/policyframework_benchmark_spec.rb +57 -0
  1513. data/spec/models/policyframework_control_spec.rb +87 -0
  1514. data/spec/models/public_get_changes_response_spec.rb +63 -0
  1515. data/spec/models/quickscanpro_delete_file_response_spec.rb +63 -0
  1516. data/spec/models/quickscanpro_file_result_spec.rb +73 -0
  1517. data/spec/models/quickscanpro_file_upload_resource_spec.rb +57 -0
  1518. data/spec/models/quickscanpro_file_upload_response_spec.rb +69 -0
  1519. data/spec/models/quickscanpro_get_scan_result_resource_spec.rb +63 -0
  1520. data/spec/models/quickscanpro_get_scan_result_response_spec.rb +63 -0
  1521. data/spec/models/quickscanpro_launch_scan_request_resource_spec.rb +51 -0
  1522. data/spec/models/quickscanpro_launch_scan_request_spec.rb +51 -0
  1523. data/spec/models/quickscanpro_launch_scan_resource_spec.rb +63 -0
  1524. data/spec/models/quickscanpro_launch_scan_response_spec.rb +69 -0
  1525. data/spec/models/quickscanpro_mitre_attack_parent_spec.rb +63 -0
  1526. data/spec/models/quickscanpro_mitre_attack_spec.rb +87 -0
  1527. data/spec/models/quickscanpro_query_scan_results_response_spec.rb +69 -0
  1528. data/spec/models/quickscanpro_quota_resource_spec.rb +63 -0
  1529. data/spec/models/quickscanpro_scan_metadata_spec.rb +69 -0
  1530. data/spec/models/quickscanpro_scan_result_spec.rb +91 -0
  1531. data/spec/models/quickscanpro_url_result_spec.rb +67 -0
  1532. data/spec/models/registration_aws_account_ext_v2_spec.rb +30 -0
  1533. data/spec/models/registration_aws_account_patch_spec.rb +30 -0
  1534. data/spec/models/registration_aws_console_url_response_v2_spec.rb +63 -0
  1535. data/spec/models/registration_gcp_account_patch_request_v1_spec.rb +51 -0
  1536. data/spec/models/registration_gcp_account_patch_v1_spec.rb +63 -0
  1537. data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +6 -0
  1538. data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +6 -0
  1539. data/spec/models/registration_gcp_account_validated_v1_spec.rb +81 -0
  1540. data/spec/models/registration_gcp_account_validation_req_obj_v1_spec.rb +51 -0
  1541. data/spec/models/registration_gcp_account_validation_request_v1_spec.rb +51 -0
  1542. data/spec/models/registration_gcp_account_validation_response_v1_spec.rb +63 -0
  1543. data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +6 -0
  1544. data/spec/models/registration_gcp_service_account_patch_request_v1_spec.rb +51 -0
  1545. data/spec/models/registration_gcp_service_account_patch_v1_spec.rb +87 -0
  1546. data/spec/models/registration_gcp_service_account_validation_request_obj_v1_spec.rb +87 -0
  1547. data/spec/models/registration_gcp_service_account_validation_request_v1_spec.rb +51 -0
  1548. data/spec/models/registration_gcp_service_account_validation_response_v1_spec.rb +63 -0
  1549. data/spec/models/registration_iom_event_v2_spec.rb +6 -0
  1550. data/spec/models/releasecontents_release_content_spec.rb +93 -0
  1551. data/spec/models/releasecontents_release_content_version_spec.rb +63 -0
  1552. data/spec/models/releasenotes_entities_get_request_spec.rb +51 -0
  1553. data/spec/models/releasenotes_entities_get_response_wrapper_spec.rb +63 -0
  1554. data/spec/models/releasenotes_note_detail_spec.rb +69 -0
  1555. data/spec/models/releasenotes_release_note_v1_spec.rb +81 -0
  1556. data/spec/models/releasenotes_release_note_wrapper_v1_spec.rb +63 -0
  1557. data/spec/models/releases_release_spec.rb +99 -0
  1558. data/spec/models/releases_release_wrapper_spec.rb +63 -0
  1559. data/spec/models/resources_app_spec.rb +57 -0
  1560. data/spec/models/resources_asset_graph_spec.rb +57 -0
  1561. data/spec/models/resources_cloud_context_spec.rb +147 -0
  1562. data/spec/models/resources_cloud_resource_spec.rb +291 -0
  1563. data/spec/models/resources_compliance_spec.rb +87 -0
  1564. data/spec/models/resources_detections_spec.rb +81 -0
  1565. data/spec/models/resources_host_spec.rb +147 -0
  1566. data/spec/models/resources_relationship_spec.rb +69 -0
  1567. data/spec/models/resources_vulnerability_spec.rb +63 -0
  1568. data/spec/models/rest_account_product_upsert_request_ext_v1_spec.rb +57 -0
  1569. data/spec/models/rest_aws_account_create_request_extv1_spec.rb +51 -0
  1570. data/spec/models/rest_aws_account_create_response_ext_v1_spec.rb +63 -0
  1571. data/spec/models/rest_aws_account_validated_spec.rb +69 -0
  1572. data/spec/models/rest_aws_account_validation_response_spec.rb +63 -0
  1573. data/spec/models/rest_azure_download_script_request_data_spec.rb +51 -0
  1574. data/spec/models/rest_azure_download_script_request_v1_spec.rb +51 -0
  1575. data/spec/models/rest_azure_provision_get_account_script_response_v1_spec.rb +63 -0
  1576. data/spec/models/rest_azure_script_spec.rb +69 -0
  1577. data/spec/models/rest_cloud_aws_account_create_ext_v1_spec.rb +81 -0
  1578. data/spec/models/rest_cursor_and_limit_meta_info_spec.rb +81 -0
  1579. data/spec/models/rest_cursor_meta_info_spec.rb +75 -0
  1580. data/spec/models/rest_cursor_response_fields_spec.rb +57 -0
  1581. data/spec/models/rest_paging_spec.rb +63 -0
  1582. data/spec/models/restapi_indicator_response_spec.rb +63 -0
  1583. data/spec/models/restapi_indicators_query_request_spec.rb +57 -0
  1584. data/spec/models/restapi_indicators_query_sort_request_spec.rb +63 -0
  1585. data/spec/models/rulegroups_rule_spec.rb +12 -0
  1586. data/spec/models/sadomain_create_rule_request_v1_spec.rb +18 -0
  1587. data/spec/models/sadomain_rule_spec.rb +30 -0
  1588. data/spec/models/sadomain_typosquatting_base_domain_spec.rb +12 -0
  1589. data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
  1590. data/spec/models/sadomain_typosquatting_subdomain_spec.rb +75 -0
  1591. data/spec/models/scanreports_entities_response_spec.rb +63 -0
  1592. data/spec/models/source_endpoint_spec.rb +57 -0
  1593. data/spec/models/source_user_spec.rb +57 -0
  1594. data/spec/models/string_wrapper_spec.rb +63 -0
  1595. data/spec/models/threatgraph_meta_spec.rb +69 -0
  1596. data/spec/models/threatgraph_paging_spec.rb +63 -0
  1597. data/spec/models/threatgraph_vertex_details_response_spec.rb +63 -0
  1598. data/spec/models/threatgraph_vertex_details_spec.rb +93 -0
  1599. data/spec/models/triggers_trigger_ext_field_spec.rb +87 -0
  1600. data/spec/models/triggers_trigger_ext_spec.rb +87 -0
  1601. data/spec/models/triggers_trigger_external_response_spec.rb +63 -0
  1602. data/spec/models/types_action_run_event_data_spec.rb +135 -0
  1603. data/spec/models/types_action_run_event_spec.rb +105 -0
  1604. data/spec/models/types_action_run_metadata_spec.rb +87 -0
  1605. data/spec/models/types_action_run_spec.rb +93 -0
  1606. data/spec/models/types_artifact_spec.rb +69 -0
  1607. data/spec/models/types_aws_api_gateway_reason_tag_spec.rb +69 -0
  1608. data/spec/models/types_aws_elastic_ip_reason_tag_spec.rb +63 -0
  1609. data/spec/models/types_aws_lambda_api_gateway_reason_tag_spec.rb +69 -0
  1610. data/spec/models/types_aws_load_balancer_reason_tag_spec.rb +57 -0
  1611. data/spec/models/types_aws_metadata_spec.rb +57 -0
  1612. data/spec/models/types_azure_application_gateway_reason_tag_spec.rb +75 -0
  1613. data/spec/models/types_azure_load_balancer_reason_tag_spec.rb +69 -0
  1614. data/spec/models/types_azure_site_metadata_spec.rb +81 -0
  1615. data/spec/models/types_azure_vm_metadata_spec.rb +75 -0
  1616. data/spec/models/types_business_application_spec.rb +57 -0
  1617. data/spec/models/types_cloud_function_metadata_spec.rb +51 -0
  1618. data/spec/models/types_composed_schedule_spec.rb +93 -0
  1619. data/spec/models/types_configuration_spec.rb +81 -0
  1620. data/spec/models/types_create_integration_request_spec.rb +51 -0
  1621. data/spec/models/types_create_integration_task_request_spec.rb +51 -0
  1622. data/spec/models/types_crowd_strike_cloud_security_metadata_spec.rb +87 -0
  1623. data/spec/models/types_data_type_db_reason_tag_spec.rb +63 -0
  1624. data/spec/models/types_data_type_mq_reason_tag_spec.rb +57 -0
  1625. data/spec/models/types_dependency_spec.rb +99 -0
  1626. data/spec/models/types_deployment_unit_descriptor_spec.rb +69 -0
  1627. data/spec/models/types_deployment_unit_service_spec.rb +63 -0
  1628. data/spec/models/types_deployment_units_tuple_filters_spec.rb +57 -0
  1629. data/spec/models/types_ec2_metadata_spec.rb +57 -0
  1630. data/spec/models/types_ecs_metadata_spec.rb +75 -0
  1631. data/spec/models/types_edit_tag_request_spec.rb +57 -0
  1632. data/spec/models/types_edit_unique_tag_request_spec.rb +51 -0
  1633. data/spec/models/types_error_message_spec.rb +57 -0
  1634. data/spec/models/types_executor_node_spec.rb +123 -0
  1635. data/spec/models/types_framework_spec.rb +75 -0
  1636. data/spec/models/types_gcp_metadata_spec.rb +57 -0
  1637. data/spec/models/types_generic_user_facing_request_spec.rb +63 -0
  1638. data/spec/models/types_get_executor_nodes_metadata_response_spec.rb +75 -0
  1639. data/spec/models/types_get_integration_tasks_metadata_response_spec.rb +69 -0
  1640. data/spec/models/types_get_services_related_entity_filters_spec.rb +63 -0
  1641. data/spec/models/types_get_services_related_entity_group_by_fields_spec.rb +51 -0
  1642. data/spec/models/types_get_services_related_entity_spec.rb +69 -0
  1643. data/spec/models/types_get_services_request_spec.rb +105 -0
  1644. data/spec/models/types_get_violation_types_response_spec.rb +57 -0
  1645. data/spec/models/types_host_metadata_spec.rb +51 -0
  1646. data/spec/models/types_integration_response_spec.rb +57 -0
  1647. data/spec/models/types_integration_spec.rb +93 -0
  1648. data/spec/models/types_integration_task_response_spec.rb +57 -0
  1649. data/spec/models/types_integration_task_spec.rb +141 -0
  1650. data/spec/models/types_integration_task_test_connection_response_spec.rb +51 -0
  1651. data/spec/models/types_integration_task_type_spec.rb +81 -0
  1652. data/spec/models/types_integration_type_spec.rb +75 -0
  1653. data/spec/models/types_interface_service_spec.rb +69 -0
  1654. data/spec/models/types_interface_spec.rb +249 -0
  1655. data/spec/models/types_k8_s_load_balancer_reason_tag_spec.rb +69 -0
  1656. data/spec/models/types_k8_s_metadata_spec.rb +63 -0
  1657. data/spec/models/types_k8_s_pod_settings_spec.rb +63 -0
  1658. data/spec/models/types_key_value_spec.rb +57 -0
  1659. data/spec/models/types_lambda_metadata_spec.rb +57 -0
  1660. data/spec/models/types_library_spec.rb +87 -0
  1661. data/spec/models/types_list_executor_nodes_response_spec.rb +51 -0
  1662. data/spec/models/types_list_integration_tasks_response_spec.rb +51 -0
  1663. data/spec/models/types_list_integration_types_response_spec.rb +51 -0
  1664. data/spec/models/types_list_integrations_response_spec.rb +51 -0
  1665. data/spec/models/types_order_by_spec.rb +57 -0
  1666. data/spec/models/types_paginate_spec.rb +69 -0
  1667. data/spec/models/types_pagination_spec.rb +69 -0
  1668. data/spec/models/types_policy_rules_condition_spec.rb +57 -0
  1669. data/spec/models/types_policy_rules_create_body_spec.rb +99 -0
  1670. data/spec/models/types_query_request_select_fields_spec.rb +63 -0
  1671. data/spec/models/types_query_request_spec.rb +69 -0
  1672. data/spec/models/types_query_result_spec.rb +57 -0
  1673. data/spec/models/types_reason_tag_spec.rb +105 -0
  1674. data/spec/models/types_remediation_spec.rb +57 -0
  1675. data/spec/models/types_results_filter_spec.rb +57 -0
  1676. data/spec/models/types_run_integration_task_request_spec.rb +81 -0
  1677. data/spec/models/types_service_now_deployment_spec.rb +57 -0
  1678. data/spec/models/types_service_now_deployments_response_spec.rb +63 -0
  1679. data/spec/models/types_service_now_service_data_spec.rb +99 -0
  1680. data/spec/models/types_service_now_service_deployments_spec.rb +57 -0
  1681. data/spec/models/types_service_now_service_spec.rb +183 -0
  1682. data/spec/models/types_service_now_services_response_spec.rb +63 -0
  1683. data/spec/models/types_service_service_artifact_spec.rb +57 -0
  1684. data/spec/models/types_service_service_business_application_spec.rb +57 -0
  1685. data/spec/models/types_service_service_configuration_spec.rb +57 -0
  1686. data/spec/models/types_service_service_dependency_spec.rb +57 -0
  1687. data/spec/models/types_service_service_framework_spec.rb +57 -0
  1688. data/spec/models/types_service_service_interface_spec.rb +57 -0
  1689. data/spec/models/types_service_service_library_spec.rb +57 -0
  1690. data/spec/models/types_service_service_tag_spec.rb +57 -0
  1691. data/spec/models/types_service_service_traits_spec.rb +57 -0
  1692. data/spec/models/types_snyk_metadata_spec.rb +63 -0
  1693. data/spec/models/types_sonatype_metadata_spec.rb +69 -0
  1694. data/spec/models/types_struct_spec.rb +51 -0
  1695. data/spec/models/types_tag_data_spec.rb +75 -0
  1696. data/spec/models/types_tag_entry_spec.rb +63 -0
  1697. data/spec/models/types_tag_spec.rb +99 -0
  1698. data/spec/models/types_tags_data_response_spec.rb +57 -0
  1699. data/spec/models/types_timestamp_spec.rb +57 -0
  1700. data/spec/models/types_trait_spec.rb +63 -0
  1701. data/spec/models/types_tuple_to_string_spec.rb +57 -0
  1702. data/spec/models/types_unique_tag_entry_spec.rb +69 -0
  1703. data/spec/models/types_update_integration_request_spec.rb +57 -0
  1704. data/spec/models/types_update_integration_task_request_spec.rb +51 -0
  1705. data/spec/models/types_upsert_business_application_request_spec.rb +57 -0
  1706. data/spec/models/v2_activity_spec.rb +6 -0
  1707. data/spec/models/v2_condition_groups_spec.rb +57 -0
  1708. data/spec/models/v2_condition_spec.rb +6 -0
  1709. data/spec/models/v2_definition_spec.rb +30 -0
  1710. data/spec/models/v2_for_loop_spec.rb +36 -0
  1711. data/spec/models/v2_loop_spec.rb +6 -0
  1712. data/spec/models/v2_model_spec.rb +99 -0
  1713. data/spec/models/vulncheck_epss_spec.rb +57 -0
  1714. data/spec/models/vulncheck_exploit_botnets_spec.rb +63 -0
  1715. data/spec/models/vulncheck_exploit_counts_spec.rb +63 -0
  1716. data/spec/models/vulncheck_exploit_cve_reference_spec.rb +63 -0
  1717. data/spec/models/vulncheck_exploit_details_spec.rb +129 -0
  1718. data/spec/models/vulncheck_exploit_ransomware_data_spec.rb +57 -0
  1719. data/spec/models/vulncheck_exploit_ransomware_spec.rb +57 -0
  1720. data/spec/models/vulncheck_exploit_record_spec.rb +93 -0
  1721. data/spec/models/vulncheck_exploit_threat_actor_spec.rb +93 -0
  1722. data/spec/models/vulncheck_exploit_timeline_spec.rb +123 -0
  1723. data/spec/models/vulncheck_exploit_trending_spec.rb +51 -0
  1724. data/spec/models/vulncheck_threat_actor_vendor_name_spec.rb +63 -0
  1725. data/spec/models/vulnerabilities_vulnerability_entity_sarif_response_spec.rb +63 -0
  1726. data/spec/models/workflow_request_spec.rb +51 -0
  1727. data/spec/models/workflow_response_spec.rb +63 -0
  1728. data/spec/spec_helper.rb +8 -0
  1729. metadata +2858 -1418
  1730. data/lib/crimson-falcon/api/alerts_api.rb +0 -603
  1731. data/lib/crimson-falcon/api/cloud_connect_aws_api.rb +0 -623
  1732. data/lib/crimson-falcon/api/cloud_snapshots_api.rb +0 -105
  1733. data/lib/crimson-falcon/api/configuration_assessment_api.rb +0 -183
  1734. data/lib/crimson-falcon/api/configuration_assessment_evaluation_logic_api.rb +0 -101
  1735. data/lib/crimson-falcon/api/container_alerts_api.rb +0 -222
  1736. data/lib/crimson-falcon/api/container_detections_api.rb +0 -408
  1737. data/lib/crimson-falcon/api/container_images_api.rb +0 -711
  1738. data/lib/crimson-falcon/api/container_packages_api.rb +0 -365
  1739. data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +0 -693
  1740. data/lib/crimson-falcon/api/cspm_registration_api.rb +0 -2516
  1741. data/lib/crimson-falcon/api/custom_ioa_api.rb +0 -1287
  1742. data/lib/crimson-falcon/api/custom_storage_api.rb +0 -590
  1743. data/lib/crimson-falcon/api/d4c_registration_api.rb +0 -1485
  1744. data/lib/crimson-falcon/api/detects_api.rb +0 -315
  1745. data/lib/crimson-falcon/api/device_control_policies_api.rb +0 -890
  1746. data/lib/crimson-falcon/api/discover_api.rb +0 -603
  1747. data/lib/crimson-falcon/api/discover_iot_api.rb +0 -180
  1748. data/lib/crimson-falcon/api/drift_indicators_api.rb +0 -350
  1749. data/lib/crimson-falcon/api/event_schema_api.rb +0 -219
  1750. data/lib/crimson-falcon/api/event_streams_api.rb +0 -179
  1751. data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +0 -1303
  1752. data/lib/crimson-falcon/api/falcon_container_api.rb +0 -94
  1753. data/lib/crimson-falcon/api/falcon_container_cli_api.rb +0 -105
  1754. data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -366
  1755. data/lib/crimson-falcon/api/falconx_sandbox_api.rb +0 -1032
  1756. data/lib/crimson-falcon/api/field_schema_api.rb +0 -164
  1757. data/lib/crimson-falcon/api/filevantage_api.rb +0 -1861
  1758. data/lib/crimson-falcon/api/firewall_management_api.rb +0 -2259
  1759. data/lib/crimson-falcon/api/firewall_policies_api.rb +0 -780
  1760. data/lib/crimson-falcon/api/foundry_logscale_api.rb +0 -959
  1761. data/lib/crimson-falcon/api/host_group_api.rb +0 -706
  1762. data/lib/crimson-falcon/api/hosts_api.rb +0 -859
  1763. data/lib/crimson-falcon/api/identity_entities_api.rb +0 -238
  1764. data/lib/crimson-falcon/api/identity_protection_api.rb +0 -101
  1765. data/lib/crimson-falcon/api/image_assessment_policies_api.rb +0 -738
  1766. data/lib/crimson-falcon/api/incidents_api.rb +0 -456
  1767. data/lib/crimson-falcon/api/installation_tokens_api.rb +0 -545
  1768. data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +0 -105
  1769. data/lib/crimson-falcon/api/intel_api.rb +0 -1359
  1770. data/lib/crimson-falcon/api/ioa_exclusions_api.rb +0 -369
  1771. data/lib/crimson-falcon/api/ioc_api.rb +0 -1132
  1772. data/lib/crimson-falcon/api/iocs_api.rb +0 -327
  1773. data/lib/crimson-falcon/api/kubernetes_protection_api.rb +0 -3875
  1774. data/lib/crimson-falcon/api/malquery_api.rb +0 -606
  1775. data/lib/crimson-falcon/api/message_center_api.rb +0 -729
  1776. data/lib/crimson-falcon/api/ml_exclusions_api.rb +0 -369
  1777. data/lib/crimson-falcon/api/mobile_enrollment_api.rb +0 -115
  1778. data/lib/crimson-falcon/api/mssp_api.rb +0 -2015
  1779. data/lib/crimson-falcon/api/oauth2_api.rb +0 -186
  1780. data/lib/crimson-falcon/api/ods_api.rb +0 -1094
  1781. data/lib/crimson-falcon/api/overwatch_dashboard_api.rb +0 -357
  1782. data/lib/crimson-falcon/api/prevention_policies_api.rb +0 -769
  1783. data/lib/crimson-falcon/api/provision_api.rb +0 -94
  1784. data/lib/crimson-falcon/api/quarantine_api.rb +0 -435
  1785. data/lib/crimson-falcon/api/quick_scan_api.rb +0 -300
  1786. data/lib/crimson-falcon/api/real_time_response_admin_api.rb +0 -1173
  1787. data/lib/crimson-falcon/api/real_time_response_api.rb +0 -1617
  1788. data/lib/crimson-falcon/api/real_time_response_audit_api.rb +0 -113
  1789. data/lib/crimson-falcon/api/recon_api.rb +0 -1754
  1790. data/lib/crimson-falcon/api/report_executions_api.rb +0 -299
  1791. data/lib/crimson-falcon/api/response_policies_api.rb +0 -769
  1792. data/lib/crimson-falcon/api/runtime_detections_api.rb +0 -106
  1793. data/lib/crimson-falcon/api/sample_uploads_api.rb +0 -805
  1794. data/lib/crimson-falcon/api/scheduled_reports_api.rb +0 -237
  1795. data/lib/crimson-falcon/api/sensor_download_api.rb +0 -352
  1796. data/lib/crimson-falcon/api/sensor_update_policies_api.rb +0 -1339
  1797. data/lib/crimson-falcon/api/sensor_visibility_exclusions_api.rb +0 -369
  1798. data/lib/crimson-falcon/api/spotlight_evaluation_logic_api.rb +0 -243
  1799. data/lib/crimson-falcon/api/spotlight_vulnerabilities_api.rb +0 -324
  1800. data/lib/crimson-falcon/api/tailored_intelligence_api.rb +0 -373
  1801. data/lib/crimson-falcon/api/unidentified_containers_api.rb +0 -222
  1802. data/lib/crimson-falcon/api/user_management_api.rb +0 -1505
  1803. data/lib/crimson-falcon/api/workflows_api.rb +0 -1037
  1804. data/lib/crimson-falcon/api/zero_trust_assessment_api.rb +0 -227
  1805. data/lib/crimson-falcon/models/changes_get_changes_response.rb +0 -266
  1806. data/lib/crimson-falcon/models/custom_type1255839303.rb +0 -271
  1807. data/lib/crimson-falcon/models/custom_type3191042536.rb +0 -271
  1808. data/lib/crimson-falcon/models/detects_alert.rb +0 -651
  1809. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +0 -267
  1810. data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +0 -267
  1811. data/lib/crimson-falcon/models/domain_api_entity_matched_v1.rb +0 -252
  1812. data/lib/crimson-falcon/models/domain_api_evaluation_logic_host_info_v1.rb +0 -242
  1813. data/lib/crimson-falcon/models/domain_botnet_config_source.rb +0 -351
  1814. data/lib/crimson-falcon/models/domain_botnet_inject.rb +0 -255
  1815. data/lib/crimson-falcon/models/domain_ddos_attack_source.rb +0 -423
  1816. data/lib/crimson-falcon/models/domain_ddos_target_details.rb +0 -376
  1817. data/lib/crimson-falcon/models/domain_entity.rb +0 -270
  1818. data/lib/crimson-falcon/models/domain_event.rb +0 -400
  1819. data/lib/crimson-falcon/models/domain_event_entities_response.rb +0 -266
  1820. data/lib/crimson-falcon/models/domain_key_value_pair.rb +0 -253
  1821. data/lib/crimson-falcon/models/domain_matched_rule.rb +0 -255
  1822. data/lib/crimson-falcon/models/domain_pastebin_text_source.rb +0 -294
  1823. data/lib/crimson-falcon/models/domain_rule_entities_response.rb +0 -266
  1824. data/lib/crimson-falcon/models/domain_tweet_source.rb +0 -294
  1825. data/lib/crimson-falcon/models/domain_vulnerability_actor.rb +0 -245
  1826. data/lib/crimson-falcon/models/domain_vulnerability_affected_product.rb +0 -245
  1827. data/lib/crimson-falcon/models/domain_vulnerability_related_threat.rb +0 -247
  1828. data/lib/crimson-falcon/models/domain_vulnerability_report.rb +0 -245
  1829. data/lib/crimson-falcon/models/msaspec_error.rb +0 -262
  1830. data/lib/crimson-falcon/models/msaspec_meta_info.rb +0 -280
  1831. data/lib/crimson-falcon/models/msaspec_paging.rb +0 -267
  1832. data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +0 -248
  1833. data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +0 -241
  1834. data/lib/crimson-falcon/models/v2_condition_parameters.rb +0 -241
  1835. data/spec/api/alerts_api_spec.rb +0 -152
  1836. data/spec/api/cloud_connect_aws_api_spec.rb +0 -157
  1837. data/spec/api/cloud_snapshots_api_spec.rb +0 -63
  1838. data/spec/api/configuration_assessment_api_spec.rb +0 -78
  1839. data/spec/api/configuration_assessment_evaluation_logic_api_spec.rb +0 -63
  1840. data/spec/api/container_alerts_api_spec.rb +0 -88
  1841. data/spec/api/container_detections_api_spec.rb +0 -125
  1842. data/spec/api/container_images_api_spec.rb +0 -182
  1843. data/spec/api/container_packages_api_spec.rb +0 -119
  1844. data/spec/api/container_vulnerabilities_api_spec.rb +0 -184
  1845. data/spec/api/cspm_registration_api_spec.rb +0 -480
  1846. data/spec/api/custom_ioa_api_spec.rb +0 -279
  1847. data/spec/api/custom_storage_api_spec.rb +0 -133
  1848. data/spec/api/d4c_registration_api_spec.rb +0 -300
  1849. data/spec/api/detects_api_spec.rb +0 -100
  1850. data/spec/api/device_control_policies_api_spec.rb +0 -198
  1851. data/spec/api/discover_api_spec.rb +0 -152
  1852. data/spec/api/discover_iot_api_spec.rb +0 -77
  1853. data/spec/api/drift_indicators_api_spec.rb +0 -114
  1854. data/spec/api/event_schema_api_spec.rb +0 -87
  1855. data/spec/api/event_streams_api_spec.rb +0 -77
  1856. data/spec/api/falcon_complete_dashboard_api_spec.rb +0 -286
  1857. data/spec/api/falcon_container_api_spec.rb +0 -62
  1858. data/spec/api/falcon_container_cli_api_spec.rb +0 -63
  1859. data/spec/api/falcon_container_image_api_spec.rb +0 -110
  1860. data/spec/api/falconx_sandbox_api_spec.rb +0 -235
  1861. data/spec/api/field_schema_api_spec.rb +0 -77
  1862. data/spec/api/filevantage_api_spec.rb +0 -386
  1863. data/spec/api/firewall_management_api_spec.rb +0 -462
  1864. data/spec/api/firewall_policies_api_spec.rb +0 -178
  1865. data/spec/api/foundry_logscale_api_spec.rb +0 -226
  1866. data/spec/api/host_group_api_spec.rb +0 -167
  1867. data/spec/api/hosts_api_spec.rb +0 -197
  1868. data/spec/api/identity_entities_api_spec.rb +0 -88
  1869. data/spec/api/identity_protection_api_spec.rb +0 -63
  1870. data/spec/api/image_assessment_policies_api_spec.rb +0 -172
  1871. data/spec/api/incidents_api_spec.rb +0 -129
  1872. data/spec/api/installation_tokens_api_spec.rb +0 -146
  1873. data/spec/api/installation_tokens_settings_api_spec.rb +0 -63
  1874. data/spec/api/intel_api_spec.rb +0 -315
  1875. data/spec/api/ioa_exclusions_api_spec.rb +0 -111
  1876. data/spec/api/ioc_api_spec.rb +0 -259
  1877. data/spec/api/iocs_api_spec.rb +0 -104
  1878. data/spec/api/kubernetes_protection_api_spec.rb +0 -757
  1879. data/spec/api/malquery_api_spec.rb +0 -150
  1880. data/spec/api/message_center_api_spec.rb +0 -172
  1881. data/spec/api/ml_exclusions_api_spec.rb +0 -111
  1882. data/spec/api/mobile_enrollment_api_spec.rb +0 -65
  1883. data/spec/api/mssp_api_spec.rb +0 -402
  1884. data/spec/api/oauth2_api_spec.rb +0 -77
  1885. data/spec/api/ods_api_spec.rb +0 -241
  1886. data/spec/api/overwatch_dashboard_api_spec.rb +0 -107
  1887. data/spec/api/prevention_policies_api_spec.rb +0 -177
  1888. data/spec/api/provision_api_spec.rb +0 -62
  1889. data/spec/api/quarantine_api_spec.rb +0 -122
  1890. data/spec/api/quick_scan_api_spec.rb +0 -99
  1891. data/spec/api/real_time_response_admin_api_spec.rb +0 -257
  1892. data/spec/api/real_time_response_api_spec.rb +0 -333
  1893. data/spec/api/real_time_response_audit_api_spec.rb +0 -67
  1894. data/spec/api/recon_api_spec.rb +0 -355
  1895. data/spec/api/report_executions_api_spec.rb +0 -100
  1896. data/spec/api/response_policies_api_spec.rb +0 -177
  1897. data/spec/api/runtime_detections_api_spec.rb +0 -66
  1898. data/spec/api/sample_uploads_api_spec.rb +0 -191
  1899. data/spec/api/scheduled_reports_api_spec.rb +0 -89
  1900. data/spec/api/sensor_download_api_spec.rb +0 -112
  1901. data/spec/api/sensor_update_policies_api_spec.rb +0 -274
  1902. data/spec/api/sensor_visibility_exclusions_api_spec.rb +0 -111
  1903. data/spec/api/spotlight_evaluation_logic_api_spec.rb +0 -91
  1904. data/spec/api/spotlight_vulnerabilities_api_spec.rb +0 -103
  1905. data/spec/api/tailored_intelligence_api_spec.rb +0 -115
  1906. data/spec/api/unidentified_containers_api_spec.rb +0 -88
  1907. data/spec/api/user_management_api_spec.rb +0 -308
  1908. data/spec/api/workflows_api_spec.rb +0 -224
  1909. data/spec/api/zero_trust_assessment_api_spec.rb +0 -87
  1910. data/spec/api_client_spec.rb +0 -245
  1911. data/spec/configuration_spec.rb +0 -59
  1912. data/spec/models/changes_get_changes_response_spec.rb +0 -63
  1913. data/spec/models/custom_type1255839303_spec.rb +0 -63
  1914. data/spec/models/custom_type3191042536_spec.rb +0 -63
  1915. data/spec/models/detects_alert_spec.rb +0 -291
  1916. data/spec/models/detectsapi_post_entities_alerts_v1_response_spec.rb +0 -63
  1917. data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +0 -63
  1918. data/spec/models/domain_api_entity_matched_v1_spec.rb +0 -63
  1919. data/spec/models/domain_api_evaluation_logic_host_info_v1_spec.rb +0 -51
  1920. data/spec/models/domain_botnet_config_source_spec.rb +0 -93
  1921. data/spec/models/domain_botnet_inject_spec.rb +0 -57
  1922. data/spec/models/domain_ddos_attack_source_spec.rb +0 -123
  1923. data/spec/models/domain_ddos_target_details_spec.rb +0 -105
  1924. data/spec/models/domain_entity_spec.rb +0 -69
  1925. data/spec/models/domain_event_entities_response_spec.rb +0 -63
  1926. data/spec/models/domain_event_spec.rb +0 -129
  1927. data/spec/models/domain_key_value_pair_spec.rb +0 -57
  1928. data/spec/models/domain_matched_rule_spec.rb +0 -63
  1929. data/spec/models/domain_pastebin_text_source_spec.rb +0 -75
  1930. data/spec/models/domain_rule_entities_response_spec.rb +0 -63
  1931. data/spec/models/domain_tweet_source_spec.rb +0 -75
  1932. data/spec/models/domain_vulnerability_actor_spec.rb +0 -57
  1933. data/spec/models/domain_vulnerability_affected_product_spec.rb +0 -57
  1934. data/spec/models/domain_vulnerability_related_threat_spec.rb +0 -57
  1935. data/spec/models/domain_vulnerability_report_spec.rb +0 -57
  1936. data/spec/models/msaspec_error_spec.rb +0 -63
  1937. data/spec/models/msaspec_meta_info_spec.rb +0 -75
  1938. data/spec/models/msaspec_paging_spec.rb +0 -63
  1939. data/spec/models/registration_gcp_account_patch_request_spec.rb +0 -51
  1940. data/spec/models/registration_gcp_account_patch_spec.rb +0 -57
  1941. data/spec/models/v2_condition_parameters_spec.rb +0 -51
@@ -0,0 +1,3988 @@
1
+ =begin
2
+ Crimson Falcon - Ruby Client SDK
3
+
4
+ Code auto-generated by OpenAPI Generator; DO NOT EDIT.
5
+
6
+ MIT License
7
+
8
+ Copyright (c) 2023 Crowdstrike
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ =end
29
+
30
+ require 'cgi'
31
+
32
+ module Falcon
33
+ class KubernetesProtection
34
+ attr_accessor :api_client
35
+
36
+ def initialize(api_client = ApiClient.default)
37
+ @api_client = api_client
38
+ end
39
+ # Creates a new AWS account in our system for a customer and generates the installation script
40
+ # @param body [K8sregCreateAWSAccReq]
41
+ # @param [Hash] opts the optional parameters
42
+ # @return [K8sregCreateAWSAccResp]
43
+ def create_aws_account(body, opts = {})
44
+ data, _status_code, _headers = create_aws_account_with_http_info(body, opts)
45
+ data
46
+ end
47
+
48
+ # Creates a new AWS account in our system for a customer and generates the installation script
49
+ # @param body [K8sregCreateAWSAccReq]
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [Array<(K8sregCreateAWSAccResp, Integer, Hash)>] K8sregCreateAWSAccResp data, response status code and response headers
52
+ def create_aws_account_with_http_info(body, opts = {})
53
+ if @api_client.config.debugging
54
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.create_aws_account ...'
55
+ end
56
+ # verify the required parameter 'body' is set
57
+ if @api_client.config.client_side_validation && body.nil?
58
+ fail ArgumentError, "Missing the required parameter 'body' when calling KubernetesProtection.create_aws_account"
59
+ end
60
+ # resource path
61
+ local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
62
+
63
+ # query parameters
64
+ query_params = opts[:query_params] || {}
65
+
66
+ # header parameters
67
+ header_params = opts[:header_params] || {}
68
+ # HTTP header 'Accept' (if needed)
69
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
70
+ # HTTP header 'Content-Type'
71
+ content_type = @api_client.select_header_content_type(['application/json'])
72
+ if !content_type.nil?
73
+ header_params['Content-Type'] = content_type
74
+ end
75
+
76
+ # form parameters
77
+ form_params = opts[:form_params] || {}
78
+
79
+ # http body (model)
80
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
81
+
82
+ # return_type
83
+ return_type = opts[:debug_return_type] || 'K8sregCreateAWSAccResp'
84
+
85
+ # auth_names
86
+ auth_names = opts[:debug_auth_names] || ['oauth2']
87
+
88
+ new_options = opts.merge(
89
+ :operation => :"KubernetesProtection.create_aws_account",
90
+ :header_params => header_params,
91
+ :query_params => query_params,
92
+ :form_params => form_params,
93
+ :body => post_body,
94
+ :auth_names => auth_names,
95
+ :return_type => return_type
96
+ )
97
+
98
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
99
+ if @api_client.config.debugging
100
+ @api_client.config.logger.debug "API called: KubernetesProtection#create_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
101
+ end
102
+ return data, status_code, headers
103
+ end
104
+
105
+ # Creates a new Azure Subscription in our system
106
+ # @param body [K8sregCreateAzureSubReq]
107
+ # @param [Hash] opts the optional parameters
108
+ # @return [MsaBaseEntitiesResponse]
109
+ def create_azure_subscription(body, opts = {})
110
+ data, _status_code, _headers = create_azure_subscription_with_http_info(body, opts)
111
+ data
112
+ end
113
+
114
+ # Creates a new Azure Subscription in our system
115
+ # @param body [K8sregCreateAzureSubReq]
116
+ # @param [Hash] opts the optional parameters
117
+ # @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
118
+ def create_azure_subscription_with_http_info(body, opts = {})
119
+ if @api_client.config.debugging
120
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.create_azure_subscription ...'
121
+ end
122
+ # verify the required parameter 'body' is set
123
+ if @api_client.config.client_side_validation && body.nil?
124
+ fail ArgumentError, "Missing the required parameter 'body' when calling KubernetesProtection.create_azure_subscription"
125
+ end
126
+ # resource path
127
+ local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
128
+
129
+ # query parameters
130
+ query_params = opts[:query_params] || {}
131
+
132
+ # header parameters
133
+ header_params = opts[:header_params] || {}
134
+ # HTTP header 'Accept' (if needed)
135
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
136
+ # HTTP header 'Content-Type'
137
+ content_type = @api_client.select_header_content_type(['application/json'])
138
+ if !content_type.nil?
139
+ header_params['Content-Type'] = content_type
140
+ end
141
+
142
+ # form parameters
143
+ form_params = opts[:form_params] || {}
144
+
145
+ # http body (model)
146
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
147
+
148
+ # return_type
149
+ return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
150
+
151
+ # auth_names
152
+ auth_names = opts[:debug_auth_names] || ['oauth2']
153
+
154
+ new_options = opts.merge(
155
+ :operation => :"KubernetesProtection.create_azure_subscription",
156
+ :header_params => header_params,
157
+ :query_params => query_params,
158
+ :form_params => form_params,
159
+ :body => post_body,
160
+ :auth_names => auth_names,
161
+ :return_type => return_type
162
+ )
163
+
164
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
165
+ if @api_client.config.debugging
166
+ @api_client.config.logger.debug "API called: KubernetesProtection#create_azure_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
167
+ end
168
+ return data, status_code, headers
169
+ end
170
+
171
+ # Delete AWS accounts.
172
+ # @param ids [Array<String>] AWS Account IDs
173
+ # @param [Hash] opts the optional parameters
174
+ # @return [MsaMetaInfo]
175
+ def delete_aws_accounts_mixin0(ids, opts = {})
176
+ data, _status_code, _headers = delete_aws_accounts_mixin0_with_http_info(ids, opts)
177
+ data
178
+ end
179
+
180
+ # Delete AWS accounts.
181
+ # @param ids [Array<String>] AWS Account IDs
182
+ # @param [Hash] opts the optional parameters
183
+ # @return [Array<(MsaMetaInfo, Integer, Hash)>] MsaMetaInfo data, response status code and response headers
184
+ def delete_aws_accounts_mixin0_with_http_info(ids, opts = {})
185
+ if @api_client.config.debugging
186
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.delete_aws_accounts_mixin0 ...'
187
+ end
188
+ # verify the required parameter 'ids' is set
189
+ if @api_client.config.client_side_validation && ids.nil?
190
+ fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesProtection.delete_aws_accounts_mixin0"
191
+ end
192
+ # resource path
193
+ local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
194
+
195
+ # query parameters
196
+ query_params = opts[:query_params] || {}
197
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :csv)
198
+
199
+ # header parameters
200
+ header_params = opts[:header_params] || {}
201
+ # HTTP header 'Accept' (if needed)
202
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
203
+
204
+ # form parameters
205
+ form_params = opts[:form_params] || {}
206
+
207
+ # http body (model)
208
+ post_body = opts[:debug_body]
209
+
210
+ # return_type
211
+ return_type = opts[:debug_return_type] || 'MsaMetaInfo'
212
+
213
+ # auth_names
214
+ auth_names = opts[:debug_auth_names] || ['oauth2']
215
+
216
+ new_options = opts.merge(
217
+ :operation => :"KubernetesProtection.delete_aws_accounts_mixin0",
218
+ :header_params => header_params,
219
+ :query_params => query_params,
220
+ :form_params => form_params,
221
+ :body => post_body,
222
+ :auth_names => auth_names,
223
+ :return_type => return_type
224
+ )
225
+
226
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
227
+ if @api_client.config.debugging
228
+ @api_client.config.logger.debug "API called: KubernetesProtection#delete_aws_accounts_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
229
+ end
230
+ return data, status_code, headers
231
+ end
232
+
233
+ # Deletes a new Azure Subscription in our system
234
+ # @param [Hash] opts the optional parameters
235
+ # @option opts [Array<String>] :ids Azure Subscription IDs
236
+ # @return [MsaBaseEntitiesResponse]
237
+ def delete_azure_subscription(opts = {})
238
+ data, _status_code, _headers = delete_azure_subscription_with_http_info(opts)
239
+ data
240
+ end
241
+
242
+ # Deletes a new Azure Subscription in our system
243
+ # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :ids Azure Subscription IDs
245
+ # @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
246
+ def delete_azure_subscription_with_http_info(opts = {})
247
+ if @api_client.config.debugging
248
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.delete_azure_subscription ...'
249
+ end
250
+ # resource path
251
+ local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
252
+
253
+ # query parameters
254
+ query_params = opts[:query_params] || {}
255
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
256
+
257
+ # header parameters
258
+ header_params = opts[:header_params] || {}
259
+ # HTTP header 'Accept' (if needed)
260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
261
+
262
+ # form parameters
263
+ form_params = opts[:form_params] || {}
264
+
265
+ # http body (model)
266
+ post_body = opts[:debug_body]
267
+
268
+ # return_type
269
+ return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
270
+
271
+ # auth_names
272
+ auth_names = opts[:debug_auth_names] || ['oauth2']
273
+
274
+ new_options = opts.merge(
275
+ :operation => :"KubernetesProtection.delete_azure_subscription",
276
+ :header_params => header_params,
277
+ :query_params => query_params,
278
+ :form_params => form_params,
279
+ :body => post_body,
280
+ :auth_names => auth_names,
281
+ :return_type => return_type
282
+ )
283
+
284
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
285
+ if @api_client.config.debugging
286
+ @api_client.config.logger.debug "API called: KubernetesProtection#delete_azure_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
287
+ end
288
+ return data, status_code, headers
289
+ end
290
+
291
+ # Maximum offset = 10000 - limit
292
+ # @param [Hash] opts the optional parameters
293
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
294
+ # @option opts [Integer] :offset The offset from where to begin.
295
+ # @option opts [String] :sort The fields to sort the records on.
296
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
297
+ # @return [ModelsContainerRuntimePivotResponse]
298
+ def find_containers_by_container_run_time_version(opts = {})
299
+ data, _status_code, _headers = find_containers_by_container_run_time_version_with_http_info(opts)
300
+ data
301
+ end
302
+
303
+ # Maximum offset &#x3D; 10000 - limit
304
+ # @param [Hash] opts the optional parameters
305
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
306
+ # @option opts [Integer] :offset The offset from where to begin.
307
+ # @option opts [String] :sort The fields to sort the records on.
308
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
309
+ # @return [Array<(ModelsContainerRuntimePivotResponse, Integer, Hash)>] ModelsContainerRuntimePivotResponse data, response status code and response headers
310
+ def find_containers_by_container_run_time_version_with_http_info(opts = {})
311
+ if @api_client.config.debugging
312
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.find_containers_by_container_run_time_version ...'
313
+ end
314
+ # resource path
315
+ local_var_path = '/container-security/aggregates/containers/find-by-runtimeversion/v1'
316
+
317
+ # query parameters
318
+ query_params = opts[:query_params] || {}
319
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
320
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
321
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
322
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
323
+
324
+ # header parameters
325
+ header_params = opts[:header_params] || {}
326
+ # HTTP header 'Accept' (if needed)
327
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
328
+
329
+ # form parameters
330
+ form_params = opts[:form_params] || {}
331
+
332
+ # http body (model)
333
+ post_body = opts[:debug_body]
334
+
335
+ # return_type
336
+ return_type = opts[:debug_return_type] || 'ModelsContainerRuntimePivotResponse'
337
+
338
+ # auth_names
339
+ auth_names = opts[:debug_auth_names] || ['oauth2']
340
+
341
+ new_options = opts.merge(
342
+ :operation => :"KubernetesProtection.find_containers_by_container_run_time_version",
343
+ :header_params => header_params,
344
+ :query_params => query_params,
345
+ :form_params => form_params,
346
+ :body => post_body,
347
+ :auth_names => auth_names,
348
+ :return_type => return_type
349
+ )
350
+
351
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
352
+ if @api_client.config.debugging
353
+ @api_client.config.logger.debug "API called: KubernetesProtection#find_containers_by_container_run_time_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
354
+ end
355
+ return data, status_code, headers
356
+ end
357
+
358
+ # Retrieve containers count affected by zero day vulnerabilities
359
+ # @param [Hash] opts the optional parameters
360
+ # @return [CommonCountResponse]
361
+ def find_containers_count_affected_by_zero_day_vulnerabilities(opts = {})
362
+ data, _status_code, _headers = find_containers_count_affected_by_zero_day_vulnerabilities_with_http_info(opts)
363
+ data
364
+ end
365
+
366
+ # Retrieve containers count affected by zero day vulnerabilities
367
+ # @param [Hash] opts the optional parameters
368
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
369
+ def find_containers_count_affected_by_zero_day_vulnerabilities_with_http_info(opts = {})
370
+ if @api_client.config.debugging
371
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.find_containers_count_affected_by_zero_day_vulnerabilities ...'
372
+ end
373
+ # resource path
374
+ local_var_path = '/container-security/aggregates/containers/count-by-zero-day/v1'
375
+
376
+ # query parameters
377
+ query_params = opts[:query_params] || {}
378
+
379
+ # header parameters
380
+ header_params = opts[:header_params] || {}
381
+ # HTTP header 'Accept' (if needed)
382
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
383
+
384
+ # form parameters
385
+ form_params = opts[:form_params] || {}
386
+
387
+ # http body (model)
388
+ post_body = opts[:debug_body]
389
+
390
+ # return_type
391
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
392
+
393
+ # auth_names
394
+ auth_names = opts[:debug_auth_names] || ['oauth2']
395
+
396
+ new_options = opts.merge(
397
+ :operation => :"KubernetesProtection.find_containers_count_affected_by_zero_day_vulnerabilities",
398
+ :header_params => header_params,
399
+ :query_params => query_params,
400
+ :form_params => form_params,
401
+ :body => post_body,
402
+ :auth_names => auth_names,
403
+ :return_type => return_type
404
+ )
405
+
406
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
407
+ if @api_client.config.debugging
408
+ @api_client.config.logger.debug "API called: KubernetesProtection#find_containers_count_affected_by_zero_day_vulnerabilities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
409
+ end
410
+ return data, status_code, headers
411
+ end
412
+
413
+ # Provides a list of AWS accounts.
414
+ # @param [Hash] opts the optional parameters
415
+ # @option opts [Array<String>] :ids AWS Account IDs
416
+ # @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
417
+ # @option opts [String] :status Filter by account status
418
+ # @option opts [Integer] :limit Limit returned accounts
419
+ # @option opts [Integer] :offset Offset returned accounts
420
+ # @return [K8sregGetAWSAccountsResp]
421
+ def get_aws_accounts_mixin0(opts = {})
422
+ data, _status_code, _headers = get_aws_accounts_mixin0_with_http_info(opts)
423
+ data
424
+ end
425
+
426
+ # Provides a list of AWS accounts.
427
+ # @param [Hash] opts the optional parameters
428
+ # @option opts [Array<String>] :ids AWS Account IDs
429
+ # @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
430
+ # @option opts [String] :status Filter by account status
431
+ # @option opts [Integer] :limit Limit returned accounts
432
+ # @option opts [Integer] :offset Offset returned accounts
433
+ # @return [Array<(K8sregGetAWSAccountsResp, Integer, Hash)>] K8sregGetAWSAccountsResp data, response status code and response headers
434
+ def get_aws_accounts_mixin0_with_http_info(opts = {})
435
+ if @api_client.config.debugging
436
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_aws_accounts_mixin0 ...'
437
+ end
438
+ allowable_values = ["false", "true"]
439
+ if @api_client.config.client_side_validation && opts[:'is_horizon_acct'] && !allowable_values.include?(opts[:'is_horizon_acct'])
440
+ fail ArgumentError, "invalid value for \"is_horizon_acct\", must be one of #{allowable_values}"
441
+ end
442
+ pattern = Regexp.new(/^(true|false)$/)
443
+ if @api_client.config.client_side_validation && !opts[:'is_horizon_acct'].nil? && opts[:'is_horizon_acct'] !~ pattern
444
+ fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling KubernetesProtection.get_aws_accounts_mixin0, must conform to the pattern #{pattern}."
445
+ end
446
+
447
+ allowable_values = ["operational", "provisioned"]
448
+ if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
449
+ fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
450
+ end
451
+ pattern = Regexp.new(/^(provisioned|operational)$/)
452
+ if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
453
+ fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling KubernetesProtection.get_aws_accounts_mixin0, must conform to the pattern #{pattern}."
454
+ end
455
+
456
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
457
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_aws_accounts_mixin0, must be smaller than or equal to 1000.'
458
+ end
459
+
460
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
461
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_aws_accounts_mixin0, must be greater than or equal to 0.'
462
+ end
463
+
464
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
465
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_aws_accounts_mixin0, must be greater than or equal to 0.'
466
+ end
467
+
468
+ # resource path
469
+ local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
470
+
471
+ # query parameters
472
+ query_params = opts[:query_params] || {}
473
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
474
+ query_params[:'is_horizon_acct'] = opts[:'is_horizon_acct'] if !opts[:'is_horizon_acct'].nil?
475
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
476
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
477
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
478
+
479
+ # header parameters
480
+ header_params = opts[:header_params] || {}
481
+ # HTTP header 'Accept' (if needed)
482
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
483
+
484
+ # form parameters
485
+ form_params = opts[:form_params] || {}
486
+
487
+ # http body (model)
488
+ post_body = opts[:debug_body]
489
+
490
+ # return_type
491
+ return_type = opts[:debug_return_type] || 'K8sregGetAWSAccountsResp'
492
+
493
+ # auth_names
494
+ auth_names = opts[:debug_auth_names] || ['oauth2']
495
+
496
+ new_options = opts.merge(
497
+ :operation => :"KubernetesProtection.get_aws_accounts_mixin0",
498
+ :header_params => header_params,
499
+ :query_params => query_params,
500
+ :form_params => form_params,
501
+ :body => post_body,
502
+ :auth_names => auth_names,
503
+ :return_type => return_type
504
+ )
505
+
506
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
507
+ if @api_client.config.debugging
508
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_aws_accounts_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
509
+ end
510
+ return data, status_code, headers
511
+ end
512
+
513
+ # Provides the script to run for a given tenant id and subscription IDs
514
+ # @param [Hash] opts the optional parameters
515
+ # @option opts [String] :id Azure Tenant ID
516
+ # @option opts [Array<String>] :subscription_id Azure Subscription IDs
517
+ # @return [K8sregGetAzureBashScriptResp]
518
+ def get_azure_install_script(opts = {})
519
+ data, _status_code, _headers = get_azure_install_script_with_http_info(opts)
520
+ data
521
+ end
522
+
523
+ # Provides the script to run for a given tenant id and subscription IDs
524
+ # @param [Hash] opts the optional parameters
525
+ # @option opts [String] :id Azure Tenant ID
526
+ # @option opts [Array<String>] :subscription_id Azure Subscription IDs
527
+ # @return [Array<(K8sregGetAzureBashScriptResp, Integer, Hash)>] K8sregGetAzureBashScriptResp data, response status code and response headers
528
+ def get_azure_install_script_with_http_info(opts = {})
529
+ if @api_client.config.debugging
530
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_azure_install_script ...'
531
+ end
532
+ if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'].to_s.length > 36
533
+ fail ArgumentError, 'invalid value for "opts[:"id"]" when calling KubernetesProtection.get_azure_install_script, the character length must be smaller than or equal to 36.'
534
+ end
535
+
536
+ if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'].to_s.length < 36
537
+ fail ArgumentError, 'invalid value for "opts[:"id"]" when calling KubernetesProtection.get_azure_install_script, the character length must be great than or equal to 36.'
538
+ end
539
+
540
+ pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
541
+ if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'] !~ pattern
542
+ fail ArgumentError, "invalid value for 'opts[:\"id\"]' when calling KubernetesProtection.get_azure_install_script, must conform to the pattern #{pattern}."
543
+ end
544
+
545
+ # resource path
546
+ local_var_path = '/kubernetes-protection/entities/user-script/azure/v1'
547
+
548
+ # query parameters
549
+ query_params = opts[:query_params] || {}
550
+ query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
551
+ query_params[:'subscription_id'] = @api_client.build_collection_param(opts[:'subscription_id'], :csv) if !opts[:'subscription_id'].nil?
552
+
553
+ # header parameters
554
+ header_params = opts[:header_params] || {}
555
+ # HTTP header 'Accept' (if needed)
556
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
557
+
558
+ # form parameters
559
+ form_params = opts[:form_params] || {}
560
+
561
+ # http body (model)
562
+ post_body = opts[:debug_body]
563
+
564
+ # return_type
565
+ return_type = opts[:debug_return_type] || 'K8sregGetAzureBashScriptResp'
566
+
567
+ # auth_names
568
+ auth_names = opts[:debug_auth_names] || ['oauth2']
569
+
570
+ new_options = opts.merge(
571
+ :operation => :"KubernetesProtection.get_azure_install_script",
572
+ :header_params => header_params,
573
+ :query_params => query_params,
574
+ :form_params => form_params,
575
+ :body => post_body,
576
+ :auth_names => auth_names,
577
+ :return_type => return_type
578
+ )
579
+
580
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
581
+ if @api_client.config.debugging
582
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_azure_install_script\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
583
+ end
584
+ return data, status_code, headers
585
+ end
586
+
587
+ # Gets the Azure tenant Config
588
+ # @param [Hash] opts the optional parameters
589
+ # @option opts [Array<String>] :ids Azure Tenant IDs
590
+ # @option opts [Integer] :limit Limit returned accounts
591
+ # @option opts [Integer] :offset Offset returned accounts
592
+ # @return [K8sregGetAzureTenantConfigResp]
593
+ def get_azure_tenant_config(opts = {})
594
+ data, _status_code, _headers = get_azure_tenant_config_with_http_info(opts)
595
+ data
596
+ end
597
+
598
+ # Gets the Azure tenant Config
599
+ # @param [Hash] opts the optional parameters
600
+ # @option opts [Array<String>] :ids Azure Tenant IDs
601
+ # @option opts [Integer] :limit Limit returned accounts
602
+ # @option opts [Integer] :offset Offset returned accounts
603
+ # @return [Array<(K8sregGetAzureTenantConfigResp, Integer, Hash)>] K8sregGetAzureTenantConfigResp data, response status code and response headers
604
+ def get_azure_tenant_config_with_http_info(opts = {})
605
+ if @api_client.config.debugging
606
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_azure_tenant_config ...'
607
+ end
608
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
609
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_config, must be smaller than or equal to 1000.'
610
+ end
611
+
612
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
613
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_config, must be greater than or equal to 0.'
614
+ end
615
+
616
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
617
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_azure_tenant_config, must be greater than or equal to 0.'
618
+ end
619
+
620
+ # resource path
621
+ local_var_path = '/kubernetes-protection/entities/config/azure/v1'
622
+
623
+ # query parameters
624
+ query_params = opts[:query_params] || {}
625
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
626
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
627
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
628
+
629
+ # header parameters
630
+ header_params = opts[:header_params] || {}
631
+ # HTTP header 'Accept' (if needed)
632
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
633
+
634
+ # form parameters
635
+ form_params = opts[:form_params] || {}
636
+
637
+ # http body (model)
638
+ post_body = opts[:debug_body]
639
+
640
+ # return_type
641
+ return_type = opts[:debug_return_type] || 'K8sregGetAzureTenantConfigResp'
642
+
643
+ # auth_names
644
+ auth_names = opts[:debug_auth_names] || ['oauth2']
645
+
646
+ new_options = opts.merge(
647
+ :operation => :"KubernetesProtection.get_azure_tenant_config",
648
+ :header_params => header_params,
649
+ :query_params => query_params,
650
+ :form_params => form_params,
651
+ :body => post_body,
652
+ :auth_names => auth_names,
653
+ :return_type => return_type
654
+ )
655
+
656
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
657
+ if @api_client.config.debugging
658
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_azure_tenant_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
659
+ end
660
+ return data, status_code, headers
661
+ end
662
+
663
+ # Provides all the azure subscriptions and tenants
664
+ # @param [Hash] opts the optional parameters
665
+ # @option opts [Array<String>] :ids Azure Tenant IDs
666
+ # @option opts [String] :status Cluster Status
667
+ # @option opts [Integer] :limit Limit returned accounts
668
+ # @option opts [Integer] :offset Offset returned accounts
669
+ # @return [K8sregGetAzureTenantInfoResp]
670
+ def get_azure_tenant_ids(opts = {})
671
+ data, _status_code, _headers = get_azure_tenant_ids_with_http_info(opts)
672
+ data
673
+ end
674
+
675
+ # Provides all the azure subscriptions and tenants
676
+ # @param [Hash] opts the optional parameters
677
+ # @option opts [Array<String>] :ids Azure Tenant IDs
678
+ # @option opts [String] :status Cluster Status
679
+ # @option opts [Integer] :limit Limit returned accounts
680
+ # @option opts [Integer] :offset Offset returned accounts
681
+ # @return [Array<(K8sregGetAzureTenantInfoResp, Integer, Hash)>] K8sregGetAzureTenantInfoResp data, response status code and response headers
682
+ def get_azure_tenant_ids_with_http_info(opts = {})
683
+ if @api_client.config.debugging
684
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_azure_tenant_ids ...'
685
+ end
686
+ allowable_values = ["Not Installed", "Running", "Stopped"]
687
+ if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
688
+ fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
689
+ end
690
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
691
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_ids, must be smaller than or equal to 1000.'
692
+ end
693
+
694
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
695
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_ids, must be greater than or equal to 0.'
696
+ end
697
+
698
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
699
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_azure_tenant_ids, must be greater than or equal to 0.'
700
+ end
701
+
702
+ # resource path
703
+ local_var_path = '/kubernetes-protection/entities/tenants/azure/v1'
704
+
705
+ # query parameters
706
+ query_params = opts[:query_params] || {}
707
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
708
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
709
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
710
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
711
+
712
+ # header parameters
713
+ header_params = opts[:header_params] || {}
714
+ # HTTP header 'Accept' (if needed)
715
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
716
+
717
+ # form parameters
718
+ form_params = opts[:form_params] || {}
719
+
720
+ # http body (model)
721
+ post_body = opts[:debug_body]
722
+
723
+ # return_type
724
+ return_type = opts[:debug_return_type] || 'K8sregGetAzureTenantInfoResp'
725
+
726
+ # auth_names
727
+ auth_names = opts[:debug_auth_names] || ['oauth2']
728
+
729
+ new_options = opts.merge(
730
+ :operation => :"KubernetesProtection.get_azure_tenant_ids",
731
+ :header_params => header_params,
732
+ :query_params => query_params,
733
+ :form_params => form_params,
734
+ :body => post_body,
735
+ :auth_names => auth_names,
736
+ :return_type => return_type
737
+ )
738
+
739
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
740
+ if @api_client.config.debugging
741
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_azure_tenant_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
742
+ end
743
+ return data, status_code, headers
744
+ end
745
+
746
+ # Provides the clusters acknowledged by the Kubernetes Protection service
747
+ # @param [Hash] opts the optional parameters
748
+ # @option opts [Array<String>] :cluster_names Cluster name. For EKS it will be cluster ARN.
749
+ # @option opts [Array<String>] :status Cluster Status
750
+ # @option opts [Array<String>] :account_ids Cluster Account id. For EKS it will be AWS account ID.
751
+ # @option opts [Array<String>] :locations Cloud location
752
+ # @option opts [String] :cluster_service Cluster Service
753
+ # @option opts [Integer] :limit Limit returned accounts
754
+ # @option opts [Integer] :offset Offset returned accounts
755
+ # @return [K8sregGetClustersResp]
756
+ def get_clusters(opts = {})
757
+ data, _status_code, _headers = get_clusters_with_http_info(opts)
758
+ data
759
+ end
760
+
761
+ # Provides the clusters acknowledged by the Kubernetes Protection service
762
+ # @param [Hash] opts the optional parameters
763
+ # @option opts [Array<String>] :cluster_names Cluster name. For EKS it will be cluster ARN.
764
+ # @option opts [Array<String>] :status Cluster Status
765
+ # @option opts [Array<String>] :account_ids Cluster Account id. For EKS it will be AWS account ID.
766
+ # @option opts [Array<String>] :locations Cloud location
767
+ # @option opts [String] :cluster_service Cluster Service
768
+ # @option opts [Integer] :limit Limit returned accounts
769
+ # @option opts [Integer] :offset Offset returned accounts
770
+ # @return [Array<(K8sregGetClustersResp, Integer, Hash)>] K8sregGetClustersResp data, response status code and response headers
771
+ def get_clusters_with_http_info(opts = {})
772
+ if @api_client.config.debugging
773
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_clusters ...'
774
+ end
775
+ allowable_values = []
776
+ if @api_client.config.client_side_validation && opts[:'status'] && !opts[:'status'].all? { |item| allowable_values.include?(item) }
777
+ fail ArgumentError, "invalid value for \"status\", must include one of #{allowable_values}"
778
+ end
779
+ allowable_values = ["aks", "eks"]
780
+ if @api_client.config.client_side_validation && opts[:'cluster_service'] && !allowable_values.include?(opts[:'cluster_service'])
781
+ fail ArgumentError, "invalid value for \"cluster_service\", must be one of #{allowable_values}"
782
+ end
783
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
784
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_clusters, must be smaller than or equal to 1000.'
785
+ end
786
+
787
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
788
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_clusters, must be greater than or equal to 0.'
789
+ end
790
+
791
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
792
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_clusters, must be greater than or equal to 0.'
793
+ end
794
+
795
+ # resource path
796
+ local_var_path = '/kubernetes-protection/entities/kubernetes/clusters/v1'
797
+
798
+ # query parameters
799
+ query_params = opts[:query_params] || {}
800
+ query_params[:'cluster_names'] = @api_client.build_collection_param(opts[:'cluster_names'], :csv) if !opts[:'cluster_names'].nil?
801
+ query_params[:'status'] = @api_client.build_collection_param(opts[:'status'], :csv) if !opts[:'status'].nil?
802
+ query_params[:'account_ids'] = @api_client.build_collection_param(opts[:'account_ids'], :csv) if !opts[:'account_ids'].nil?
803
+ query_params[:'locations'] = @api_client.build_collection_param(opts[:'locations'], :csv) if !opts[:'locations'].nil?
804
+ query_params[:'cluster_service'] = opts[:'cluster_service'] if !opts[:'cluster_service'].nil?
805
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
806
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
807
+
808
+ # header parameters
809
+ header_params = opts[:header_params] || {}
810
+ # HTTP header 'Accept' (if needed)
811
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
812
+
813
+ # form parameters
814
+ form_params = opts[:form_params] || {}
815
+
816
+ # http body (model)
817
+ post_body = opts[:debug_body]
818
+
819
+ # return_type
820
+ return_type = opts[:debug_return_type] || 'K8sregGetClustersResp'
821
+
822
+ # auth_names
823
+ auth_names = opts[:debug_auth_names] || ['oauth2']
824
+
825
+ new_options = opts.merge(
826
+ :operation => :"KubernetesProtection.get_clusters",
827
+ :header_params => header_params,
828
+ :query_params => query_params,
829
+ :form_params => form_params,
830
+ :body => post_body,
831
+ :auth_names => auth_names,
832
+ :return_type => return_type
833
+ )
834
+
835
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
836
+ if @api_client.config.debugging
837
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_clusters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
838
+ end
839
+ return data, status_code, headers
840
+ end
841
+
842
+ # Returns a combined list of provisioned cloud accounts and known kubernetes clusters
843
+ # @param [Hash] opts the optional parameters
844
+ # @option opts [Array<String>] :locations Cloud location
845
+ # @option opts [Array<String>] :ids Cloud Account IDs
846
+ # @option opts [Array<String>] :cluster_service Cluster Service
847
+ # @option opts [Array<String>] :cluster_status Cluster Status
848
+ # @option opts [Integer] :limit Limit returned accounts
849
+ # @option opts [Integer] :offset Offset returned accounts
850
+ # @return [K8sregListClusterCloudResp]
851
+ def get_combined_cloud_clusters(opts = {})
852
+ data, _status_code, _headers = get_combined_cloud_clusters_with_http_info(opts)
853
+ data
854
+ end
855
+
856
+ # Returns a combined list of provisioned cloud accounts and known kubernetes clusters
857
+ # @param [Hash] opts the optional parameters
858
+ # @option opts [Array<String>] :locations Cloud location
859
+ # @option opts [Array<String>] :ids Cloud Account IDs
860
+ # @option opts [Array<String>] :cluster_service Cluster Service
861
+ # @option opts [Array<String>] :cluster_status Cluster Status
862
+ # @option opts [Integer] :limit Limit returned accounts
863
+ # @option opts [Integer] :offset Offset returned accounts
864
+ # @return [Array<(K8sregListClusterCloudResp, Integer, Hash)>] K8sregListClusterCloudResp data, response status code and response headers
865
+ def get_combined_cloud_clusters_with_http_info(opts = {})
866
+ if @api_client.config.debugging
867
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_combined_cloud_clusters ...'
868
+ end
869
+ allowable_values = []
870
+ if @api_client.config.client_side_validation && opts[:'cluster_service'] && !opts[:'cluster_service'].all? { |item| allowable_values.include?(item) }
871
+ fail ArgumentError, "invalid value for \"cluster_service\", must include one of #{allowable_values}"
872
+ end
873
+ allowable_values = []
874
+ if @api_client.config.client_side_validation && opts[:'cluster_status'] && !opts[:'cluster_status'].all? { |item| allowable_values.include?(item) }
875
+ fail ArgumentError, "invalid value for \"cluster_status\", must include one of #{allowable_values}"
876
+ end
877
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
878
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_combined_cloud_clusters, must be smaller than or equal to 1000.'
879
+ end
880
+
881
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
882
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_combined_cloud_clusters, must be greater than or equal to 0.'
883
+ end
884
+
885
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
886
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_combined_cloud_clusters, must be greater than or equal to 0.'
887
+ end
888
+
889
+ # resource path
890
+ local_var_path = '/kubernetes-protection/entities/cloud_cluster/v1'
891
+
892
+ # query parameters
893
+ query_params = opts[:query_params] || {}
894
+ query_params[:'locations'] = @api_client.build_collection_param(opts[:'locations'], :csv) if !opts[:'locations'].nil?
895
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
896
+ query_params[:'cluster_service'] = @api_client.build_collection_param(opts[:'cluster_service'], :csv) if !opts[:'cluster_service'].nil?
897
+ query_params[:'cluster_status'] = @api_client.build_collection_param(opts[:'cluster_status'], :csv) if !opts[:'cluster_status'].nil?
898
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
899
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
900
+
901
+ # header parameters
902
+ header_params = opts[:header_params] || {}
903
+ # HTTP header 'Accept' (if needed)
904
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
905
+
906
+ # form parameters
907
+ form_params = opts[:form_params] || {}
908
+
909
+ # http body (model)
910
+ post_body = opts[:debug_body]
911
+
912
+ # return_type
913
+ return_type = opts[:debug_return_type] || 'K8sregListClusterCloudResp'
914
+
915
+ # auth_names
916
+ auth_names = opts[:debug_auth_names] || ['oauth2']
917
+
918
+ new_options = opts.merge(
919
+ :operation => :"KubernetesProtection.get_combined_cloud_clusters",
920
+ :header_params => header_params,
921
+ :query_params => query_params,
922
+ :form_params => form_params,
923
+ :body => post_body,
924
+ :auth_names => auth_names,
925
+ :return_type => return_type
926
+ )
927
+
928
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
929
+ if @api_client.config.debugging
930
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_combined_cloud_clusters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
931
+ end
932
+ return data, status_code, headers
933
+ end
934
+
935
+ # Provides a sample Helm values.yaml file for a customer to install alongside the agent Helm chart
936
+ # @param cluster_name [String] Cluster name. For EKS it will be cluster ARN.
937
+ # @param [Hash] opts the optional parameters
938
+ # @option opts [Boolean] :is_self_managed_cluster Set to true if the cluster is not managed by a cloud provider, false if it is.
939
+ # @return [Object]
940
+ def get_helm_values_yaml(cluster_name, opts = {})
941
+ data, _status_code, _headers = get_helm_values_yaml_with_http_info(cluster_name, opts)
942
+ data
943
+ end
944
+
945
+ # Provides a sample Helm values.yaml file for a customer to install alongside the agent Helm chart
946
+ # @param cluster_name [String] Cluster name. For EKS it will be cluster ARN.
947
+ # @param [Hash] opts the optional parameters
948
+ # @option opts [Boolean] :is_self_managed_cluster Set to true if the cluster is not managed by a cloud provider, false if it is.
949
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
950
+ def get_helm_values_yaml_with_http_info(cluster_name, opts = {})
951
+ if @api_client.config.debugging
952
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_helm_values_yaml ...'
953
+ end
954
+ # verify the required parameter 'cluster_name' is set
955
+ if @api_client.config.client_side_validation && cluster_name.nil?
956
+ fail ArgumentError, "Missing the required parameter 'cluster_name' when calling KubernetesProtection.get_helm_values_yaml"
957
+ end
958
+ # resource path
959
+ local_var_path = '/kubernetes-protection/entities/integration/agent/v1'
960
+
961
+ # query parameters
962
+ query_params = opts[:query_params] || {}
963
+ query_params[:'cluster_name'] = cluster_name
964
+ query_params[:'is_self_managed_cluster'] = opts[:'is_self_managed_cluster'] if !opts[:'is_self_managed_cluster'].nil?
965
+
966
+ # header parameters
967
+ header_params = opts[:header_params] || {}
968
+ # HTTP header 'Accept' (if needed)
969
+ header_params['Accept'] = @api_client.select_header_accept(['application/yaml', 'application/json'])
970
+
971
+ # form parameters
972
+ form_params = opts[:form_params] || {}
973
+
974
+ # http body (model)
975
+ post_body = opts[:debug_body]
976
+
977
+ # return_type
978
+ return_type = opts[:debug_return_type] || 'Object'
979
+
980
+ # auth_names
981
+ auth_names = opts[:debug_auth_names] || ['oauth2']
982
+
983
+ new_options = opts.merge(
984
+ :operation => :"KubernetesProtection.get_helm_values_yaml",
985
+ :header_params => header_params,
986
+ :query_params => query_params,
987
+ :form_params => form_params,
988
+ :body => post_body,
989
+ :auth_names => auth_names,
990
+ :return_type => return_type
991
+ )
992
+
993
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
994
+ if @api_client.config.debugging
995
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_helm_values_yaml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
996
+ end
997
+ return data, status_code, headers
998
+ end
999
+
1000
+ # Provides the cloud locations acknowledged by the Kubernetes Protection service
1001
+ # @param [Hash] opts the optional parameters
1002
+ # @option opts [Array<String>] :clouds Cloud Provider
1003
+ # @return [K8sregGetLocationsResp]
1004
+ def get_locations(opts = {})
1005
+ data, _status_code, _headers = get_locations_with_http_info(opts)
1006
+ data
1007
+ end
1008
+
1009
+ # Provides the cloud locations acknowledged by the Kubernetes Protection service
1010
+ # @param [Hash] opts the optional parameters
1011
+ # @option opts [Array<String>] :clouds Cloud Provider
1012
+ # @return [Array<(K8sregGetLocationsResp, Integer, Hash)>] K8sregGetLocationsResp data, response status code and response headers
1013
+ def get_locations_with_http_info(opts = {})
1014
+ if @api_client.config.debugging
1015
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_locations ...'
1016
+ end
1017
+ allowable_values = []
1018
+ if @api_client.config.client_side_validation && opts[:'clouds'] && !opts[:'clouds'].all? { |item| allowable_values.include?(item) }
1019
+ fail ArgumentError, "invalid value for \"clouds\", must include one of #{allowable_values}"
1020
+ end
1021
+ # resource path
1022
+ local_var_path = '/kubernetes-protection/entities/cloud-locations/v1'
1023
+
1024
+ # query parameters
1025
+ query_params = opts[:query_params] || {}
1026
+ query_params[:'clouds'] = @api_client.build_collection_param(opts[:'clouds'], :csv) if !opts[:'clouds'].nil?
1027
+
1028
+ # header parameters
1029
+ header_params = opts[:header_params] || {}
1030
+ # HTTP header 'Accept' (if needed)
1031
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1032
+
1033
+ # form parameters
1034
+ form_params = opts[:form_params] || {}
1035
+
1036
+ # http body (model)
1037
+ post_body = opts[:debug_body]
1038
+
1039
+ # return_type
1040
+ return_type = opts[:debug_return_type] || 'K8sregGetLocationsResp'
1041
+
1042
+ # auth_names
1043
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1044
+
1045
+ new_options = opts.merge(
1046
+ :operation => :"KubernetesProtection.get_locations",
1047
+ :header_params => header_params,
1048
+ :query_params => query_params,
1049
+ :form_params => form_params,
1050
+ :body => post_body,
1051
+ :auth_names => auth_names,
1052
+ :return_type => return_type
1053
+ )
1054
+
1055
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1056
+ if @api_client.config.debugging
1057
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_locations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1058
+ end
1059
+ return data, status_code, headers
1060
+ end
1061
+
1062
+ # Gets static bash scripts that are used during registration
1063
+ # @param [Hash] opts the optional parameters
1064
+ # @return [K8sregGetScriptsResp]
1065
+ def get_static_scripts(opts = {})
1066
+ data, _status_code, _headers = get_static_scripts_with_http_info(opts)
1067
+ data
1068
+ end
1069
+
1070
+ # Gets static bash scripts that are used during registration
1071
+ # @param [Hash] opts the optional parameters
1072
+ # @return [Array<(K8sregGetScriptsResp, Integer, Hash)>] K8sregGetScriptsResp data, response status code and response headers
1073
+ def get_static_scripts_with_http_info(opts = {})
1074
+ if @api_client.config.debugging
1075
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.get_static_scripts ...'
1076
+ end
1077
+ # resource path
1078
+ local_var_path = '/kubernetes-protection/entities/gen/scripts/v1'
1079
+
1080
+ # query parameters
1081
+ query_params = opts[:query_params] || {}
1082
+
1083
+ # header parameters
1084
+ header_params = opts[:header_params] || {}
1085
+ # HTTP header 'Accept' (if needed)
1086
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1087
+
1088
+ # form parameters
1089
+ form_params = opts[:form_params] || {}
1090
+
1091
+ # http body (model)
1092
+ post_body = opts[:debug_body]
1093
+
1094
+ # return_type
1095
+ return_type = opts[:debug_return_type] || 'K8sregGetScriptsResp'
1096
+
1097
+ # auth_names
1098
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1099
+
1100
+ new_options = opts.merge(
1101
+ :operation => :"KubernetesProtection.get_static_scripts",
1102
+ :header_params => header_params,
1103
+ :query_params => query_params,
1104
+ :form_params => form_params,
1105
+ :body => post_body,
1106
+ :auth_names => auth_names,
1107
+ :return_type => return_type
1108
+ )
1109
+
1110
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1111
+ if @api_client.config.debugging
1112
+ @api_client.config.logger.debug "API called: KubernetesProtection#get_static_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1113
+ end
1114
+ return data, status_code, headers
1115
+ end
1116
+
1117
+ # Group the containers by Managed
1118
+ # @param [Hash] opts the optional parameters
1119
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1120
+ # @return [ModelsContainerCoverageResponseEntity]
1121
+ def group_containers_by_managed(opts = {})
1122
+ data, _status_code, _headers = group_containers_by_managed_with_http_info(opts)
1123
+ data
1124
+ end
1125
+
1126
+ # Group the containers by Managed
1127
+ # @param [Hash] opts the optional parameters
1128
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1129
+ # @return [Array<(ModelsContainerCoverageResponseEntity, Integer, Hash)>] ModelsContainerCoverageResponseEntity data, response status code and response headers
1130
+ def group_containers_by_managed_with_http_info(opts = {})
1131
+ if @api_client.config.debugging
1132
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.group_containers_by_managed ...'
1133
+ end
1134
+ # resource path
1135
+ local_var_path = '/container-security/aggregates/containers/group-by-managed/v1'
1136
+
1137
+ # query parameters
1138
+ query_params = opts[:query_params] || {}
1139
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1140
+
1141
+ # header parameters
1142
+ header_params = opts[:header_params] || {}
1143
+ # HTTP header 'Accept' (if needed)
1144
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1145
+
1146
+ # form parameters
1147
+ form_params = opts[:form_params] || {}
1148
+
1149
+ # http body (model)
1150
+ post_body = opts[:debug_body]
1151
+
1152
+ # return_type
1153
+ return_type = opts[:debug_return_type] || 'ModelsContainerCoverageResponseEntity'
1154
+
1155
+ # auth_names
1156
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1157
+
1158
+ new_options = opts.merge(
1159
+ :operation => :"KubernetesProtection.group_containers_by_managed",
1160
+ :header_params => header_params,
1161
+ :query_params => query_params,
1162
+ :form_params => form_params,
1163
+ :body => post_body,
1164
+ :auth_names => auth_names,
1165
+ :return_type => return_type
1166
+ )
1167
+
1168
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1169
+ if @api_client.config.debugging
1170
+ @api_client.config.logger.debug "API called: KubernetesProtection#group_containers_by_managed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1171
+ end
1172
+ return data, status_code, headers
1173
+ end
1174
+
1175
+ # Provides the azure subscriptions registered to Kubernetes Protection
1176
+ # @param [Hash] opts the optional parameters
1177
+ # @option opts [Array<String>] :ids Azure Tenant IDs
1178
+ # @option opts [Array<String>] :subscription_id Azure Subscription IDs
1179
+ # @option opts [String] :status Filter by account status
1180
+ # @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
1181
+ # @option opts [Integer] :limit Limit returned accounts
1182
+ # @option opts [Integer] :offset Offset returned accounts
1183
+ # @return [K8sregGetAzureSubscriptionsResp]
1184
+ def list_azure_accounts(opts = {})
1185
+ data, _status_code, _headers = list_azure_accounts_with_http_info(opts)
1186
+ data
1187
+ end
1188
+
1189
+ # Provides the azure subscriptions registered to Kubernetes Protection
1190
+ # @param [Hash] opts the optional parameters
1191
+ # @option opts [Array<String>] :ids Azure Tenant IDs
1192
+ # @option opts [Array<String>] :subscription_id Azure Subscription IDs
1193
+ # @option opts [String] :status Filter by account status
1194
+ # @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
1195
+ # @option opts [Integer] :limit Limit returned accounts
1196
+ # @option opts [Integer] :offset Offset returned accounts
1197
+ # @return [Array<(K8sregGetAzureSubscriptionsResp, Integer, Hash)>] K8sregGetAzureSubscriptionsResp data, response status code and response headers
1198
+ def list_azure_accounts_with_http_info(opts = {})
1199
+ if @api_client.config.debugging
1200
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.list_azure_accounts ...'
1201
+ end
1202
+ allowable_values = ["operational", "provisioned"]
1203
+ if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
1204
+ fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
1205
+ end
1206
+ pattern = Regexp.new(/^(provisioned|operational)$/)
1207
+ if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
1208
+ fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling KubernetesProtection.list_azure_accounts, must conform to the pattern #{pattern}."
1209
+ end
1210
+
1211
+ allowable_values = ["false", "true"]
1212
+ if @api_client.config.client_side_validation && opts[:'is_horizon_acct'] && !allowable_values.include?(opts[:'is_horizon_acct'])
1213
+ fail ArgumentError, "invalid value for \"is_horizon_acct\", must be one of #{allowable_values}"
1214
+ end
1215
+ pattern = Regexp.new(/^(true|false)$/)
1216
+ if @api_client.config.client_side_validation && !opts[:'is_horizon_acct'].nil? && opts[:'is_horizon_acct'] !~ pattern
1217
+ fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling KubernetesProtection.list_azure_accounts, must conform to the pattern #{pattern}."
1218
+ end
1219
+
1220
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
1221
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.list_azure_accounts, must be smaller than or equal to 1000.'
1222
+ end
1223
+
1224
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
1225
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.list_azure_accounts, must be greater than or equal to 0.'
1226
+ end
1227
+
1228
+ if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
1229
+ fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.list_azure_accounts, must be greater than or equal to 0.'
1230
+ end
1231
+
1232
+ # resource path
1233
+ local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
1234
+
1235
+ # query parameters
1236
+ query_params = opts[:query_params] || {}
1237
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
1238
+ query_params[:'subscription_id'] = @api_client.build_collection_param(opts[:'subscription_id'], :csv) if !opts[:'subscription_id'].nil?
1239
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
1240
+ query_params[:'is_horizon_acct'] = opts[:'is_horizon_acct'] if !opts[:'is_horizon_acct'].nil?
1241
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1242
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1243
+
1244
+ # header parameters
1245
+ header_params = opts[:header_params] || {}
1246
+ # HTTP header 'Accept' (if needed)
1247
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1248
+
1249
+ # form parameters
1250
+ form_params = opts[:form_params] || {}
1251
+
1252
+ # http body (model)
1253
+ post_body = opts[:debug_body]
1254
+
1255
+ # return_type
1256
+ return_type = opts[:debug_return_type] || 'K8sregGetAzureSubscriptionsResp'
1257
+
1258
+ # auth_names
1259
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1260
+
1261
+ new_options = opts.merge(
1262
+ :operation => :"KubernetesProtection.list_azure_accounts",
1263
+ :header_params => header_params,
1264
+ :query_params => query_params,
1265
+ :form_params => form_params,
1266
+ :body => post_body,
1267
+ :auth_names => auth_names,
1268
+ :return_type => return_type
1269
+ )
1270
+
1271
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1272
+ if @api_client.config.debugging
1273
+ @api_client.config.logger.debug "API called: KubernetesProtection#list_azure_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1274
+ end
1275
+ return data, status_code, headers
1276
+ end
1277
+
1278
+ # Adds the client ID for the given tenant ID to our system
1279
+ # @param id [String] Azure Tenant ID
1280
+ # @param client_id [String] Azure Client ID
1281
+ # @param [Hash] opts the optional parameters
1282
+ # @return [K8sregGetAzureTenantConfigResp]
1283
+ def patch_azure_service_principal(id, client_id, opts = {})
1284
+ data, _status_code, _headers = patch_azure_service_principal_with_http_info(id, client_id, opts)
1285
+ data
1286
+ end
1287
+
1288
+ # Adds the client ID for the given tenant ID to our system
1289
+ # @param id [String] Azure Tenant ID
1290
+ # @param client_id [String] Azure Client ID
1291
+ # @param [Hash] opts the optional parameters
1292
+ # @return [Array<(K8sregGetAzureTenantConfigResp, Integer, Hash)>] K8sregGetAzureTenantConfigResp data, response status code and response headers
1293
+ def patch_azure_service_principal_with_http_info(id, client_id, opts = {})
1294
+ if @api_client.config.debugging
1295
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.patch_azure_service_principal ...'
1296
+ end
1297
+ # verify the required parameter 'id' is set
1298
+ if @api_client.config.client_side_validation && id.nil?
1299
+ fail ArgumentError, "Missing the required parameter 'id' when calling KubernetesProtection.patch_azure_service_principal"
1300
+ end
1301
+ if @api_client.config.client_side_validation && id.to_s.length > 36
1302
+ fail ArgumentError, 'invalid value for "id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be smaller than or equal to 36.'
1303
+ end
1304
+
1305
+ if @api_client.config.client_side_validation && id.to_s.length < 36
1306
+ fail ArgumentError, 'invalid value for "id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be great than or equal to 36.'
1307
+ end
1308
+
1309
+ pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
1310
+ if @api_client.config.client_side_validation && id !~ pattern
1311
+ fail ArgumentError, "invalid value for 'id' when calling KubernetesProtection.patch_azure_service_principal, must conform to the pattern #{pattern}."
1312
+ end
1313
+
1314
+ # verify the required parameter 'client_id' is set
1315
+ if @api_client.config.client_side_validation && client_id.nil?
1316
+ fail ArgumentError, "Missing the required parameter 'client_id' when calling KubernetesProtection.patch_azure_service_principal"
1317
+ end
1318
+ if @api_client.config.client_side_validation && client_id.to_s.length > 36
1319
+ fail ArgumentError, 'invalid value for "client_id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be smaller than or equal to 36.'
1320
+ end
1321
+
1322
+ if @api_client.config.client_side_validation && client_id.to_s.length < 36
1323
+ fail ArgumentError, 'invalid value for "client_id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be great than or equal to 36.'
1324
+ end
1325
+
1326
+ pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
1327
+ if @api_client.config.client_side_validation && client_id !~ pattern
1328
+ fail ArgumentError, "invalid value for 'client_id' when calling KubernetesProtection.patch_azure_service_principal, must conform to the pattern #{pattern}."
1329
+ end
1330
+
1331
+ # resource path
1332
+ local_var_path = '/kubernetes-protection/entities/service-principal/azure/v1'
1333
+
1334
+ # query parameters
1335
+ query_params = opts[:query_params] || {}
1336
+ query_params[:'id'] = id
1337
+ query_params[:'client_id'] = client_id
1338
+
1339
+ # header parameters
1340
+ header_params = opts[:header_params] || {}
1341
+ # HTTP header 'Accept' (if needed)
1342
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1343
+
1344
+ # form parameters
1345
+ form_params = opts[:form_params] || {}
1346
+
1347
+ # http body (model)
1348
+ post_body = opts[:debug_body]
1349
+
1350
+ # return_type
1351
+ return_type = opts[:debug_return_type] || 'K8sregGetAzureTenantConfigResp'
1352
+
1353
+ # auth_names
1354
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1355
+
1356
+ new_options = opts.merge(
1357
+ :operation => :"KubernetesProtection.patch_azure_service_principal",
1358
+ :header_params => header_params,
1359
+ :query_params => query_params,
1360
+ :form_params => form_params,
1361
+ :body => post_body,
1362
+ :auth_names => auth_names,
1363
+ :return_type => return_type
1364
+ )
1365
+
1366
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1367
+ if @api_client.config.debugging
1368
+ @api_client.config.logger.debug "API called: KubernetesProtection#patch_azure_service_principal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1369
+ end
1370
+ return data, status_code, headers
1371
+ end
1372
+
1373
+ # Maximum offset = 10000 - limit
1374
+ # @param [Hash] opts the optional parameters
1375
+ # @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1376
+ # @option opts [String] :sort The fields to sort the records on.
1377
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
1378
+ # @option opts [Integer] :offset The offset from where to begin.
1379
+ # @return [ModelsClusterEntityResponse]
1380
+ def read_cluster_combined(opts = {})
1381
+ data, _status_code, _headers = read_cluster_combined_with_http_info(opts)
1382
+ data
1383
+ end
1384
+
1385
+ # Maximum offset &#x3D; 10000 - limit
1386
+ # @param [Hash] opts the optional parameters
1387
+ # @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1388
+ # @option opts [String] :sort The fields to sort the records on.
1389
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
1390
+ # @option opts [Integer] :offset The offset from where to begin.
1391
+ # @return [Array<(ModelsClusterEntityResponse, Integer, Hash)>] ModelsClusterEntityResponse data, response status code and response headers
1392
+ def read_cluster_combined_with_http_info(opts = {})
1393
+ if @api_client.config.debugging
1394
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_cluster_combined ...'
1395
+ end
1396
+ # resource path
1397
+ local_var_path = '/container-security/combined/clusters/v1'
1398
+
1399
+ # query parameters
1400
+ query_params = opts[:query_params] || {}
1401
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1402
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1403
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1404
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1405
+
1406
+ # header parameters
1407
+ header_params = opts[:header_params] || {}
1408
+ # HTTP header 'Accept' (if needed)
1409
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1410
+
1411
+ # form parameters
1412
+ form_params = opts[:form_params] || {}
1413
+
1414
+ # http body (model)
1415
+ post_body = opts[:debug_body]
1416
+
1417
+ # return_type
1418
+ return_type = opts[:debug_return_type] || 'ModelsClusterEntityResponse'
1419
+
1420
+ # auth_names
1421
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1422
+
1423
+ new_options = opts.merge(
1424
+ :operation => :"KubernetesProtection.read_cluster_combined",
1425
+ :header_params => header_params,
1426
+ :query_params => query_params,
1427
+ :form_params => form_params,
1428
+ :body => post_body,
1429
+ :auth_names => auth_names,
1430
+ :return_type => return_type
1431
+ )
1432
+
1433
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1434
+ if @api_client.config.debugging
1435
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_cluster_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1436
+ end
1437
+ return data, status_code, headers
1438
+ end
1439
+
1440
+ # Retrieve cluster counts
1441
+ # @param [Hash] opts the optional parameters
1442
+ # @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1443
+ # @return [CommonCountResponse]
1444
+ def read_cluster_count(opts = {})
1445
+ data, _status_code, _headers = read_cluster_count_with_http_info(opts)
1446
+ data
1447
+ end
1448
+
1449
+ # Retrieve cluster counts
1450
+ # @param [Hash] opts the optional parameters
1451
+ # @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1452
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
1453
+ def read_cluster_count_with_http_info(opts = {})
1454
+ if @api_client.config.debugging
1455
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_cluster_count ...'
1456
+ end
1457
+ # resource path
1458
+ local_var_path = '/container-security/aggregates/clusters/count/v1'
1459
+
1460
+ # query parameters
1461
+ query_params = opts[:query_params] || {}
1462
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1463
+
1464
+ # header parameters
1465
+ header_params = opts[:header_params] || {}
1466
+ # HTTP header 'Accept' (if needed)
1467
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1468
+
1469
+ # form parameters
1470
+ form_params = opts[:form_params] || {}
1471
+
1472
+ # http body (model)
1473
+ post_body = opts[:debug_body]
1474
+
1475
+ # return_type
1476
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
1477
+
1478
+ # auth_names
1479
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1480
+
1481
+ new_options = opts.merge(
1482
+ :operation => :"KubernetesProtection.read_cluster_count",
1483
+ :header_params => header_params,
1484
+ :query_params => query_params,
1485
+ :form_params => form_params,
1486
+ :body => post_body,
1487
+ :auth_names => auth_names,
1488
+ :return_type => return_type
1489
+ )
1490
+
1491
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1492
+ if @api_client.config.debugging
1493
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_cluster_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1494
+ end
1495
+ return data, status_code, headers
1496
+ end
1497
+
1498
+ # Retrieve cluster enrichment data
1499
+ # @param cluster_id [Array<String>] One or more cluster ids for which to retrieve enrichment info
1500
+ # @param [Hash] opts the optional parameters
1501
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
1502
+ # @return [K8sassetsClusterEnrichmentResponse]
1503
+ def read_cluster_enrichment(cluster_id, opts = {})
1504
+ data, _status_code, _headers = read_cluster_enrichment_with_http_info(cluster_id, opts)
1505
+ data
1506
+ end
1507
+
1508
+ # Retrieve cluster enrichment data
1509
+ # @param cluster_id [Array<String>] One or more cluster ids for which to retrieve enrichment info
1510
+ # @param [Hash] opts the optional parameters
1511
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
1512
+ # @return [Array<(K8sassetsClusterEnrichmentResponse, Integer, Hash)>] K8sassetsClusterEnrichmentResponse data, response status code and response headers
1513
+ def read_cluster_enrichment_with_http_info(cluster_id, opts = {})
1514
+ if @api_client.config.debugging
1515
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_cluster_enrichment ...'
1516
+ end
1517
+ # verify the required parameter 'cluster_id' is set
1518
+ if @api_client.config.client_side_validation && cluster_id.nil?
1519
+ fail ArgumentError, "Missing the required parameter 'cluster_id' when calling KubernetesProtection.read_cluster_enrichment"
1520
+ end
1521
+ # resource path
1522
+ local_var_path = '/container-security/aggregates/enrichment/clusters/entities/v1'
1523
+
1524
+ # query parameters
1525
+ query_params = opts[:query_params] || {}
1526
+ query_params[:'cluster_id'] = @api_client.build_collection_param(cluster_id, :csv)
1527
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1528
+
1529
+ # header parameters
1530
+ header_params = opts[:header_params] || {}
1531
+ # HTTP header 'Accept' (if needed)
1532
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1533
+
1534
+ # form parameters
1535
+ form_params = opts[:form_params] || {}
1536
+
1537
+ # http body (model)
1538
+ post_body = opts[:debug_body]
1539
+
1540
+ # return_type
1541
+ return_type = opts[:debug_return_type] || 'K8sassetsClusterEnrichmentResponse'
1542
+
1543
+ # auth_names
1544
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1545
+
1546
+ new_options = opts.merge(
1547
+ :operation => :"KubernetesProtection.read_cluster_enrichment",
1548
+ :header_params => header_params,
1549
+ :query_params => query_params,
1550
+ :form_params => form_params,
1551
+ :body => post_body,
1552
+ :auth_names => auth_names,
1553
+ :return_type => return_type
1554
+ )
1555
+
1556
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1557
+ if @api_client.config.debugging
1558
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_cluster_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1559
+ end
1560
+ return data, status_code, headers
1561
+ end
1562
+
1563
+ # Retrieve clusters by date range counts
1564
+ # @param [Hash] opts the optional parameters
1565
+ # @return [ModelsAggregateValuesByFieldResponse]
1566
+ def read_clusters_by_date_range_count(opts = {})
1567
+ data, _status_code, _headers = read_clusters_by_date_range_count_with_http_info(opts)
1568
+ data
1569
+ end
1570
+
1571
+ # Retrieve clusters by date range counts
1572
+ # @param [Hash] opts the optional parameters
1573
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
1574
+ def read_clusters_by_date_range_count_with_http_info(opts = {})
1575
+ if @api_client.config.debugging
1576
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_clusters_by_date_range_count ...'
1577
+ end
1578
+ # resource path
1579
+ local_var_path = '/container-security/aggregates/clusters/count-by-date/v1'
1580
+
1581
+ # query parameters
1582
+ query_params = opts[:query_params] || {}
1583
+
1584
+ # header parameters
1585
+ header_params = opts[:header_params] || {}
1586
+ # HTTP header 'Accept' (if needed)
1587
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1588
+
1589
+ # form parameters
1590
+ form_params = opts[:form_params] || {}
1591
+
1592
+ # http body (model)
1593
+ post_body = opts[:debug_body]
1594
+
1595
+ # return_type
1596
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
1597
+
1598
+ # auth_names
1599
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1600
+
1601
+ new_options = opts.merge(
1602
+ :operation => :"KubernetesProtection.read_clusters_by_date_range_count",
1603
+ :header_params => header_params,
1604
+ :query_params => query_params,
1605
+ :form_params => form_params,
1606
+ :body => post_body,
1607
+ :auth_names => auth_names,
1608
+ :return_type => return_type
1609
+ )
1610
+
1611
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1612
+ if @api_client.config.debugging
1613
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_clusters_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1614
+ end
1615
+ return data, status_code, headers
1616
+ end
1617
+
1618
+ # Bucket clusters by kubernetes version
1619
+ # @param [Hash] opts the optional parameters
1620
+ # @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1621
+ # @return [ModelsAggregateValuesByFieldResponse]
1622
+ def read_clusters_by_kubernetes_version_count(opts = {})
1623
+ data, _status_code, _headers = read_clusters_by_kubernetes_version_count_with_http_info(opts)
1624
+ data
1625
+ end
1626
+
1627
+ # Bucket clusters by kubernetes version
1628
+ # @param [Hash] opts the optional parameters
1629
+ # @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1630
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
1631
+ def read_clusters_by_kubernetes_version_count_with_http_info(opts = {})
1632
+ if @api_client.config.debugging
1633
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_clusters_by_kubernetes_version_count ...'
1634
+ end
1635
+ # resource path
1636
+ local_var_path = '/container-security/aggregates/clusters/count-by-kubernetes-version/v1'
1637
+
1638
+ # query parameters
1639
+ query_params = opts[:query_params] || {}
1640
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1641
+
1642
+ # header parameters
1643
+ header_params = opts[:header_params] || {}
1644
+ # HTTP header 'Accept' (if needed)
1645
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1646
+
1647
+ # form parameters
1648
+ form_params = opts[:form_params] || {}
1649
+
1650
+ # http body (model)
1651
+ post_body = opts[:debug_body]
1652
+
1653
+ # return_type
1654
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
1655
+
1656
+ # auth_names
1657
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1658
+
1659
+ new_options = opts.merge(
1660
+ :operation => :"KubernetesProtection.read_clusters_by_kubernetes_version_count",
1661
+ :header_params => header_params,
1662
+ :query_params => query_params,
1663
+ :form_params => form_params,
1664
+ :body => post_body,
1665
+ :auth_names => auth_names,
1666
+ :return_type => return_type
1667
+ )
1668
+
1669
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1670
+ if @api_client.config.debugging
1671
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_clusters_by_kubernetes_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1672
+ end
1673
+ return data, status_code, headers
1674
+ end
1675
+
1676
+ # Bucket clusters by status
1677
+ # @param [Hash] opts the optional parameters
1678
+ # @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1679
+ # @return [ModelsAggregateValuesByFieldResponse]
1680
+ def read_clusters_by_status_count(opts = {})
1681
+ data, _status_code, _headers = read_clusters_by_status_count_with_http_info(opts)
1682
+ data
1683
+ end
1684
+
1685
+ # Bucket clusters by status
1686
+ # @param [Hash] opts the optional parameters
1687
+ # @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;access&#x60; - &#x60;agent_id&#x60; - &#x60;agent_status&#x60; - &#x60;agent_type&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;cluster_status&#x60; - &#x60;container_count&#x60; - &#x60;iar_coverage&#x60; - &#x60;kac_agent_id&#x60; - &#x60;kubernetes_version&#x60; - &#x60;last_seen&#x60; - &#x60;management_status&#x60; - &#x60;node_count&#x60; - &#x60;pod_count&#x60; - &#x60;tags&#x60;
1688
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
1689
+ def read_clusters_by_status_count_with_http_info(opts = {})
1690
+ if @api_client.config.debugging
1691
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_clusters_by_status_count ...'
1692
+ end
1693
+ # resource path
1694
+ local_var_path = '/container-security/aggregates/clusters/count-by-status/v1'
1695
+
1696
+ # query parameters
1697
+ query_params = opts[:query_params] || {}
1698
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1699
+
1700
+ # header parameters
1701
+ header_params = opts[:header_params] || {}
1702
+ # HTTP header 'Accept' (if needed)
1703
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1704
+
1705
+ # form parameters
1706
+ form_params = opts[:form_params] || {}
1707
+
1708
+ # http body (model)
1709
+ post_body = opts[:debug_body]
1710
+
1711
+ # return_type
1712
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
1713
+
1714
+ # auth_names
1715
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1716
+
1717
+ new_options = opts.merge(
1718
+ :operation => :"KubernetesProtection.read_clusters_by_status_count",
1719
+ :header_params => header_params,
1720
+ :query_params => query_params,
1721
+ :form_params => form_params,
1722
+ :body => post_body,
1723
+ :auth_names => auth_names,
1724
+ :return_type => return_type
1725
+ )
1726
+
1727
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1728
+ if @api_client.config.debugging
1729
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_clusters_by_status_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1730
+ end
1731
+ return data, status_code, headers
1732
+ end
1733
+
1734
+ # Maximum offset = 10000 - limit
1735
+ # @param [Hash] opts the optional parameters
1736
+ # @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1737
+ # @option opts [String] :sort The fields to sort the records on.
1738
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
1739
+ # @option opts [Integer] :offset The offset from where to begin.
1740
+ # @return [ModelsContainerEntityResponse]
1741
+ def read_container_combined(opts = {})
1742
+ data, _status_code, _headers = read_container_combined_with_http_info(opts)
1743
+ data
1744
+ end
1745
+
1746
+ # Maximum offset &#x3D; 10000 - limit
1747
+ # @param [Hash] opts the optional parameters
1748
+ # @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1749
+ # @option opts [String] :sort The fields to sort the records on.
1750
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
1751
+ # @option opts [Integer] :offset The offset from where to begin.
1752
+ # @return [Array<(ModelsContainerEntityResponse, Integer, Hash)>] ModelsContainerEntityResponse data, response status code and response headers
1753
+ def read_container_combined_with_http_info(opts = {})
1754
+ if @api_client.config.debugging
1755
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_combined ...'
1756
+ end
1757
+ # resource path
1758
+ local_var_path = '/container-security/combined/containers/v1'
1759
+
1760
+ # query parameters
1761
+ query_params = opts[:query_params] || {}
1762
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1763
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1764
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1765
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1766
+
1767
+ # header parameters
1768
+ header_params = opts[:header_params] || {}
1769
+ # HTTP header 'Accept' (if needed)
1770
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1771
+
1772
+ # form parameters
1773
+ form_params = opts[:form_params] || {}
1774
+
1775
+ # http body (model)
1776
+ post_body = opts[:debug_body]
1777
+
1778
+ # return_type
1779
+ return_type = opts[:debug_return_type] || 'ModelsContainerEntityResponse'
1780
+
1781
+ # auth_names
1782
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1783
+
1784
+ new_options = opts.merge(
1785
+ :operation => :"KubernetesProtection.read_container_combined",
1786
+ :header_params => header_params,
1787
+ :query_params => query_params,
1788
+ :form_params => form_params,
1789
+ :body => post_body,
1790
+ :auth_names => auth_names,
1791
+ :return_type => return_type
1792
+ )
1793
+
1794
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1795
+ if @api_client.config.debugging
1796
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1797
+ end
1798
+ return data, status_code, headers
1799
+ end
1800
+
1801
+ # Retrieve container counts
1802
+ # @param [Hash] opts the optional parameters
1803
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1804
+ # @return [CommonCountResponse]
1805
+ def read_container_count(opts = {})
1806
+ data, _status_code, _headers = read_container_count_with_http_info(opts)
1807
+ data
1808
+ end
1809
+
1810
+ # Retrieve container counts
1811
+ # @param [Hash] opts the optional parameters
1812
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1813
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
1814
+ def read_container_count_with_http_info(opts = {})
1815
+ if @api_client.config.debugging
1816
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_count ...'
1817
+ end
1818
+ # resource path
1819
+ local_var_path = '/container-security/aggregates/containers/count/v1'
1820
+
1821
+ # query parameters
1822
+ query_params = opts[:query_params] || {}
1823
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1824
+
1825
+ # header parameters
1826
+ header_params = opts[:header_params] || {}
1827
+ # HTTP header 'Accept' (if needed)
1828
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1829
+
1830
+ # form parameters
1831
+ form_params = opts[:form_params] || {}
1832
+
1833
+ # http body (model)
1834
+ post_body = opts[:debug_body]
1835
+
1836
+ # return_type
1837
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
1838
+
1839
+ # auth_names
1840
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1841
+
1842
+ new_options = opts.merge(
1843
+ :operation => :"KubernetesProtection.read_container_count",
1844
+ :header_params => header_params,
1845
+ :query_params => query_params,
1846
+ :form_params => form_params,
1847
+ :body => post_body,
1848
+ :auth_names => auth_names,
1849
+ :return_type => return_type
1850
+ )
1851
+
1852
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1853
+ if @api_client.config.debugging
1854
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1855
+ end
1856
+ return data, status_code, headers
1857
+ end
1858
+
1859
+ # Retrieves a list with the top container image registries. Maximum page size: 200
1860
+ # @param [Hash] opts the optional parameters
1861
+ # @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered (default to false)
1862
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
1863
+ # @return [ModelsAPIFilterResponse]
1864
+ def read_container_count_by_registry(opts = {})
1865
+ data, _status_code, _headers = read_container_count_by_registry_with_http_info(opts)
1866
+ data
1867
+ end
1868
+
1869
+ # Retrieves a list with the top container image registries. Maximum page size: 200
1870
+ # @param [Hash] opts the optional parameters
1871
+ # @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered (default to false)
1872
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
1873
+ # @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
1874
+ def read_container_count_by_registry_with_http_info(opts = {})
1875
+ if @api_client.config.debugging
1876
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_count_by_registry ...'
1877
+ end
1878
+ # resource path
1879
+ local_var_path = '/container-security/aggregates/containers/count-by-registry/v1'
1880
+
1881
+ # query parameters
1882
+ query_params = opts[:query_params] || {}
1883
+ query_params[:'under_assessment'] = opts[:'under_assessment'] if !opts[:'under_assessment'].nil?
1884
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1885
+
1886
+ # header parameters
1887
+ header_params = opts[:header_params] || {}
1888
+ # HTTP header 'Accept' (if needed)
1889
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1890
+
1891
+ # form parameters
1892
+ form_params = opts[:form_params] || {}
1893
+
1894
+ # http body (model)
1895
+ post_body = opts[:debug_body]
1896
+
1897
+ # return_type
1898
+ return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
1899
+
1900
+ # auth_names
1901
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1902
+
1903
+ new_options = opts.merge(
1904
+ :operation => :"KubernetesProtection.read_container_count_by_registry",
1905
+ :header_params => header_params,
1906
+ :query_params => query_params,
1907
+ :form_params => form_params,
1908
+ :body => post_body,
1909
+ :auth_names => auth_names,
1910
+ :return_type => return_type
1911
+ )
1912
+
1913
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1914
+ if @api_client.config.debugging
1915
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_count_by_registry\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1916
+ end
1917
+ return data, status_code, headers
1918
+ end
1919
+
1920
+ # Retrieve container enrichment data
1921
+ # @param container_id [Array<String>] One or more container ids for which to retrieve enrichment info
1922
+ # @param [Hash] opts the optional parameters
1923
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
1924
+ # @return [K8sassetsContainerEnrichmentResponse]
1925
+ def read_container_enrichment(container_id, opts = {})
1926
+ data, _status_code, _headers = read_container_enrichment_with_http_info(container_id, opts)
1927
+ data
1928
+ end
1929
+
1930
+ # Retrieve container enrichment data
1931
+ # @param container_id [Array<String>] One or more container ids for which to retrieve enrichment info
1932
+ # @param [Hash] opts the optional parameters
1933
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
1934
+ # @return [Array<(K8sassetsContainerEnrichmentResponse, Integer, Hash)>] K8sassetsContainerEnrichmentResponse data, response status code and response headers
1935
+ def read_container_enrichment_with_http_info(container_id, opts = {})
1936
+ if @api_client.config.debugging
1937
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_enrichment ...'
1938
+ end
1939
+ # verify the required parameter 'container_id' is set
1940
+ if @api_client.config.client_side_validation && container_id.nil?
1941
+ fail ArgumentError, "Missing the required parameter 'container_id' when calling KubernetesProtection.read_container_enrichment"
1942
+ end
1943
+ # resource path
1944
+ local_var_path = '/container-security/aggregates/enrichment/containers/entities/v1'
1945
+
1946
+ # query parameters
1947
+ query_params = opts[:query_params] || {}
1948
+ query_params[:'container_id'] = @api_client.build_collection_param(container_id, :csv)
1949
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1950
+
1951
+ # header parameters
1952
+ header_params = opts[:header_params] || {}
1953
+ # HTTP header 'Accept' (if needed)
1954
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1955
+
1956
+ # form parameters
1957
+ form_params = opts[:form_params] || {}
1958
+
1959
+ # http body (model)
1960
+ post_body = opts[:debug_body]
1961
+
1962
+ # return_type
1963
+ return_type = opts[:debug_return_type] || 'K8sassetsContainerEnrichmentResponse'
1964
+
1965
+ # auth_names
1966
+ auth_names = opts[:debug_auth_names] || ['oauth2']
1967
+
1968
+ new_options = opts.merge(
1969
+ :operation => :"KubernetesProtection.read_container_enrichment",
1970
+ :header_params => header_params,
1971
+ :query_params => query_params,
1972
+ :form_params => form_params,
1973
+ :body => post_body,
1974
+ :auth_names => auth_names,
1975
+ :return_type => return_type
1976
+ )
1977
+
1978
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1979
+ if @api_client.config.debugging
1980
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1981
+ end
1982
+ return data, status_code, headers
1983
+ end
1984
+
1985
+ # Retrieve count of image assessment detections on running containers over a period of time
1986
+ # @param [Hash] opts the optional parameters
1987
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1988
+ # @return [ModelsAPIFilterResponse]
1989
+ def read_container_image_detections_count_by_date(opts = {})
1990
+ data, _status_code, _headers = read_container_image_detections_count_by_date_with_http_info(opts)
1991
+ data
1992
+ end
1993
+
1994
+ # Retrieve count of image assessment detections on running containers over a period of time
1995
+ # @param [Hash] opts the optional parameters
1996
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
1997
+ # @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
1998
+ def read_container_image_detections_count_by_date_with_http_info(opts = {})
1999
+ if @api_client.config.debugging
2000
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_image_detections_count_by_date ...'
2001
+ end
2002
+ # resource path
2003
+ local_var_path = '/container-security/aggregates/containers/image-detections-count-by-date/v1'
2004
+
2005
+ # query parameters
2006
+ query_params = opts[:query_params] || {}
2007
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2008
+
2009
+ # header parameters
2010
+ header_params = opts[:header_params] || {}
2011
+ # HTTP header 'Accept' (if needed)
2012
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2013
+
2014
+ # form parameters
2015
+ form_params = opts[:form_params] || {}
2016
+
2017
+ # http body (model)
2018
+ post_body = opts[:debug_body]
2019
+
2020
+ # return_type
2021
+ return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
2022
+
2023
+ # auth_names
2024
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2025
+
2026
+ new_options = opts.merge(
2027
+ :operation => :"KubernetesProtection.read_container_image_detections_count_by_date",
2028
+ :header_params => header_params,
2029
+ :query_params => query_params,
2030
+ :form_params => form_params,
2031
+ :body => post_body,
2032
+ :auth_names => auth_names,
2033
+ :return_type => return_type
2034
+ )
2035
+
2036
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2037
+ if @api_client.config.debugging
2038
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_image_detections_count_by_date\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2039
+ end
2040
+ return data, status_code, headers
2041
+ end
2042
+
2043
+ # Bucket container by image-digest
2044
+ # @param [Hash] opts the optional parameters
2045
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2046
+ # @return [ModelsAggregateValuesByFieldResponse]
2047
+ def read_container_images_by_most_used(opts = {})
2048
+ data, _status_code, _headers = read_container_images_by_most_used_with_http_info(opts)
2049
+ data
2050
+ end
2051
+
2052
+ # Bucket container by image-digest
2053
+ # @param [Hash] opts the optional parameters
2054
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2055
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
2056
+ def read_container_images_by_most_used_with_http_info(opts = {})
2057
+ if @api_client.config.debugging
2058
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_images_by_most_used ...'
2059
+ end
2060
+ # resource path
2061
+ local_var_path = '/container-security/aggregates/images/most-used/v1'
2062
+
2063
+ # query parameters
2064
+ query_params = opts[:query_params] || {}
2065
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2066
+
2067
+ # header parameters
2068
+ header_params = opts[:header_params] || {}
2069
+ # HTTP header 'Accept' (if needed)
2070
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2071
+
2072
+ # form parameters
2073
+ form_params = opts[:form_params] || {}
2074
+
2075
+ # http body (model)
2076
+ post_body = opts[:debug_body]
2077
+
2078
+ # return_type
2079
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
2080
+
2081
+ # auth_names
2082
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2083
+
2084
+ new_options = opts.merge(
2085
+ :operation => :"KubernetesProtection.read_container_images_by_most_used",
2086
+ :header_params => header_params,
2087
+ :query_params => query_params,
2088
+ :form_params => form_params,
2089
+ :body => post_body,
2090
+ :auth_names => auth_names,
2091
+ :return_type => return_type
2092
+ )
2093
+
2094
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2095
+ if @api_client.config.debugging
2096
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_images_by_most_used\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2097
+ end
2098
+ return data, status_code, headers
2099
+ end
2100
+
2101
+ # Retrieve count of image states running on containers
2102
+ # @param [Hash] opts the optional parameters
2103
+ # @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60;
2104
+ # @return [ModelsAPIFilterResponse]
2105
+ def read_container_images_by_state(opts = {})
2106
+ data, _status_code, _headers = read_container_images_by_state_with_http_info(opts)
2107
+ data
2108
+ end
2109
+
2110
+ # Retrieve count of image states running on containers
2111
+ # @param [Hash] opts the optional parameters
2112
+ # @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60;
2113
+ # @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
2114
+ def read_container_images_by_state_with_http_info(opts = {})
2115
+ if @api_client.config.debugging
2116
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_images_by_state ...'
2117
+ end
2118
+ # resource path
2119
+ local_var_path = '/container-security/aggregates/containers/images-by-state/v1'
2120
+
2121
+ # query parameters
2122
+ query_params = opts[:query_params] || {}
2123
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2124
+
2125
+ # header parameters
2126
+ header_params = opts[:header_params] || {}
2127
+ # HTTP header 'Accept' (if needed)
2128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2129
+
2130
+ # form parameters
2131
+ form_params = opts[:form_params] || {}
2132
+
2133
+ # http body (model)
2134
+ post_body = opts[:debug_body]
2135
+
2136
+ # return_type
2137
+ return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
2138
+
2139
+ # auth_names
2140
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2141
+
2142
+ new_options = opts.merge(
2143
+ :operation => :"KubernetesProtection.read_container_images_by_state",
2144
+ :header_params => header_params,
2145
+ :query_params => query_params,
2146
+ :form_params => form_params,
2147
+ :body => post_body,
2148
+ :auth_names => auth_names,
2149
+ :return_type => return_type
2150
+ )
2151
+
2152
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2153
+ if @api_client.config.debugging
2154
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_images_by_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2155
+ end
2156
+ return data, status_code, headers
2157
+ end
2158
+
2159
+ # Retrieve container vulnerabilities by severity counts
2160
+ # @param [Hash] opts the optional parameters
2161
+ # @option opts [String] :filter Get vulnerabilities count by severity for container using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2162
+ # @return [ModelsAggregateValuesByFieldResponse]
2163
+ def read_container_vulnerabilities_by_severity_count(opts = {})
2164
+ data, _status_code, _headers = read_container_vulnerabilities_by_severity_count_with_http_info(opts)
2165
+ data
2166
+ end
2167
+
2168
+ # Retrieve container vulnerabilities by severity counts
2169
+ # @param [Hash] opts the optional parameters
2170
+ # @option opts [String] :filter Get vulnerabilities count by severity for container using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2171
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
2172
+ def read_container_vulnerabilities_by_severity_count_with_http_info(opts = {})
2173
+ if @api_client.config.debugging
2174
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_vulnerabilities_by_severity_count ...'
2175
+ end
2176
+ # resource path
2177
+ local_var_path = '/container-security/aggregates/containers/vulnerability-count-by-severity/v1'
2178
+
2179
+ # query parameters
2180
+ query_params = opts[:query_params] || {}
2181
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2182
+
2183
+ # header parameters
2184
+ header_params = opts[:header_params] || {}
2185
+ # HTTP header 'Accept' (if needed)
2186
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2187
+
2188
+ # form parameters
2189
+ form_params = opts[:form_params] || {}
2190
+
2191
+ # http body (model)
2192
+ post_body = opts[:debug_body]
2193
+
2194
+ # return_type
2195
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
2196
+
2197
+ # auth_names
2198
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2199
+
2200
+ new_options = opts.merge(
2201
+ :operation => :"KubernetesProtection.read_container_vulnerabilities_by_severity_count",
2202
+ :header_params => header_params,
2203
+ :query_params => query_params,
2204
+ :form_params => form_params,
2205
+ :body => post_body,
2206
+ :auth_names => auth_names,
2207
+ :return_type => return_type
2208
+ )
2209
+
2210
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2211
+ if @api_client.config.debugging
2212
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_container_vulnerabilities_by_severity_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2213
+ end
2214
+ return data, status_code, headers
2215
+ end
2216
+
2217
+ # Retrieve containers by date range counts
2218
+ # @param [Hash] opts the optional parameters
2219
+ # @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2220
+ # @return [ModelsAggregateValuesByFieldResponse]
2221
+ def read_containers_by_date_range_count(opts = {})
2222
+ data, _status_code, _headers = read_containers_by_date_range_count_with_http_info(opts)
2223
+ data
2224
+ end
2225
+
2226
+ # Retrieve containers by date range counts
2227
+ # @param [Hash] opts the optional parameters
2228
+ # @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2229
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
2230
+ def read_containers_by_date_range_count_with_http_info(opts = {})
2231
+ if @api_client.config.debugging
2232
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_containers_by_date_range_count ...'
2233
+ end
2234
+ # resource path
2235
+ local_var_path = '/container-security/aggregates/containers/count-by-date/v1'
2236
+
2237
+ # query parameters
2238
+ query_params = opts[:query_params] || {}
2239
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2240
+
2241
+ # header parameters
2242
+ header_params = opts[:header_params] || {}
2243
+ # HTTP header 'Accept' (if needed)
2244
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2245
+
2246
+ # form parameters
2247
+ form_params = opts[:form_params] || {}
2248
+
2249
+ # http body (model)
2250
+ post_body = opts[:debug_body]
2251
+
2252
+ # return_type
2253
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
2254
+
2255
+ # auth_names
2256
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2257
+
2258
+ new_options = opts.merge(
2259
+ :operation => :"KubernetesProtection.read_containers_by_date_range_count",
2260
+ :header_params => header_params,
2261
+ :query_params => query_params,
2262
+ :form_params => form_params,
2263
+ :body => post_body,
2264
+ :auth_names => auth_names,
2265
+ :return_type => return_type
2266
+ )
2267
+
2268
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2269
+ if @api_client.config.debugging
2270
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_containers_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2271
+ end
2272
+ return data, status_code, headers
2273
+ end
2274
+
2275
+ # Bucket containers by agent type and calculate sensor coverage
2276
+ # @param [Hash] opts the optional parameters
2277
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2278
+ # @return [ModelsAggregateValuesByFieldResponse]
2279
+ def read_containers_sensor_coverage(opts = {})
2280
+ data, _status_code, _headers = read_containers_sensor_coverage_with_http_info(opts)
2281
+ data
2282
+ end
2283
+
2284
+ # Bucket containers by agent type and calculate sensor coverage
2285
+ # @param [Hash] opts the optional parameters
2286
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2287
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
2288
+ def read_containers_sensor_coverage_with_http_info(opts = {})
2289
+ if @api_client.config.debugging
2290
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_containers_sensor_coverage ...'
2291
+ end
2292
+ # resource path
2293
+ local_var_path = '/container-security/aggregates/containers/sensor-coverage/v1'
2294
+
2295
+ # query parameters
2296
+ query_params = opts[:query_params] || {}
2297
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2298
+
2299
+ # header parameters
2300
+ header_params = opts[:header_params] || {}
2301
+ # HTTP header 'Accept' (if needed)
2302
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2303
+
2304
+ # form parameters
2305
+ form_params = opts[:form_params] || {}
2306
+
2307
+ # http body (model)
2308
+ post_body = opts[:debug_body]
2309
+
2310
+ # return_type
2311
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
2312
+
2313
+ # auth_names
2314
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2315
+
2316
+ new_options = opts.merge(
2317
+ :operation => :"KubernetesProtection.read_containers_sensor_coverage",
2318
+ :header_params => header_params,
2319
+ :query_params => query_params,
2320
+ :form_params => form_params,
2321
+ :body => post_body,
2322
+ :auth_names => auth_names,
2323
+ :return_type => return_type
2324
+ )
2325
+
2326
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2327
+ if @api_client.config.debugging
2328
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_containers_sensor_coverage\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2329
+ end
2330
+ return data, status_code, headers
2331
+ end
2332
+
2333
+ # Maximum offset = 10000 - limit
2334
+ # @param [Hash] opts the optional parameters
2335
+ # @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;deployment_id&#x60; - &#x60;deployment_name&#x60; - &#x60;deployment_status&#x60; - &#x60;first_seen&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2336
+ # @option opts [String] :sort The fields to sort the records on.
2337
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
2338
+ # @option opts [Integer] :offset The offset from where to begin.
2339
+ # @return [ModelsDeploymentEntityResponse]
2340
+ def read_deployment_combined(opts = {})
2341
+ data, _status_code, _headers = read_deployment_combined_with_http_info(opts)
2342
+ data
2343
+ end
2344
+
2345
+ # Maximum offset &#x3D; 10000 - limit
2346
+ # @param [Hash] opts the optional parameters
2347
+ # @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;deployment_id&#x60; - &#x60;deployment_name&#x60; - &#x60;deployment_status&#x60; - &#x60;first_seen&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2348
+ # @option opts [String] :sort The fields to sort the records on.
2349
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
2350
+ # @option opts [Integer] :offset The offset from where to begin.
2351
+ # @return [Array<(ModelsDeploymentEntityResponse, Integer, Hash)>] ModelsDeploymentEntityResponse data, response status code and response headers
2352
+ def read_deployment_combined_with_http_info(opts = {})
2353
+ if @api_client.config.debugging
2354
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployment_combined ...'
2355
+ end
2356
+ # resource path
2357
+ local_var_path = '/container-security/combined/deployments/v1'
2358
+
2359
+ # query parameters
2360
+ query_params = opts[:query_params] || {}
2361
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2362
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
2363
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
2364
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
2365
+
2366
+ # header parameters
2367
+ header_params = opts[:header_params] || {}
2368
+ # HTTP header 'Accept' (if needed)
2369
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2370
+
2371
+ # form parameters
2372
+ form_params = opts[:form_params] || {}
2373
+
2374
+ # http body (model)
2375
+ post_body = opts[:debug_body]
2376
+
2377
+ # return_type
2378
+ return_type = opts[:debug_return_type] || 'ModelsDeploymentEntityResponse'
2379
+
2380
+ # auth_names
2381
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2382
+
2383
+ new_options = opts.merge(
2384
+ :operation => :"KubernetesProtection.read_deployment_combined",
2385
+ :header_params => header_params,
2386
+ :query_params => query_params,
2387
+ :form_params => form_params,
2388
+ :body => post_body,
2389
+ :auth_names => auth_names,
2390
+ :return_type => return_type
2391
+ )
2392
+
2393
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2394
+ if @api_client.config.debugging
2395
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_deployment_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2396
+ end
2397
+ return data, status_code, headers
2398
+ end
2399
+
2400
+ # Retrieve deployment counts
2401
+ # @param [Hash] opts the optional parameters
2402
+ # @option opts [String] :filter Retrieve count of Kubernetes deployments that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;deployment_id&#x60; - &#x60;deployment_name&#x60; - &#x60;deployment_status&#x60; - &#x60;first_seen&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2403
+ # @return [CommonCountResponse]
2404
+ def read_deployment_count(opts = {})
2405
+ data, _status_code, _headers = read_deployment_count_with_http_info(opts)
2406
+ data
2407
+ end
2408
+
2409
+ # Retrieve deployment counts
2410
+ # @param [Hash] opts the optional parameters
2411
+ # @option opts [String] :filter Retrieve count of Kubernetes deployments that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;deployment_id&#x60; - &#x60;deployment_name&#x60; - &#x60;deployment_status&#x60; - &#x60;first_seen&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2412
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
2413
+ def read_deployment_count_with_http_info(opts = {})
2414
+ if @api_client.config.debugging
2415
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployment_count ...'
2416
+ end
2417
+ # resource path
2418
+ local_var_path = '/container-security/aggregates/deployments/count/v1'
2419
+
2420
+ # query parameters
2421
+ query_params = opts[:query_params] || {}
2422
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2423
+
2424
+ # header parameters
2425
+ header_params = opts[:header_params] || {}
2426
+ # HTTP header 'Accept' (if needed)
2427
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2428
+
2429
+ # form parameters
2430
+ form_params = opts[:form_params] || {}
2431
+
2432
+ # http body (model)
2433
+ post_body = opts[:debug_body]
2434
+
2435
+ # return_type
2436
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
2437
+
2438
+ # auth_names
2439
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2440
+
2441
+ new_options = opts.merge(
2442
+ :operation => :"KubernetesProtection.read_deployment_count",
2443
+ :header_params => header_params,
2444
+ :query_params => query_params,
2445
+ :form_params => form_params,
2446
+ :body => post_body,
2447
+ :auth_names => auth_names,
2448
+ :return_type => return_type
2449
+ )
2450
+
2451
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2452
+ if @api_client.config.debugging
2453
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_deployment_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2454
+ end
2455
+ return data, status_code, headers
2456
+ end
2457
+
2458
+ # Retrieve deployment enrichment data
2459
+ # @param deployment_id [Array<String>] One or more deployment ids for which to retrieve enrichment info
2460
+ # @param [Hash] opts the optional parameters
2461
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
2462
+ # @return [K8sassetsDeploymentEnrichmentResponse]
2463
+ def read_deployment_enrichment(deployment_id, opts = {})
2464
+ data, _status_code, _headers = read_deployment_enrichment_with_http_info(deployment_id, opts)
2465
+ data
2466
+ end
2467
+
2468
+ # Retrieve deployment enrichment data
2469
+ # @param deployment_id [Array<String>] One or more deployment ids for which to retrieve enrichment info
2470
+ # @param [Hash] opts the optional parameters
2471
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
2472
+ # @return [Array<(K8sassetsDeploymentEnrichmentResponse, Integer, Hash)>] K8sassetsDeploymentEnrichmentResponse data, response status code and response headers
2473
+ def read_deployment_enrichment_with_http_info(deployment_id, opts = {})
2474
+ if @api_client.config.debugging
2475
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployment_enrichment ...'
2476
+ end
2477
+ # verify the required parameter 'deployment_id' is set
2478
+ if @api_client.config.client_side_validation && deployment_id.nil?
2479
+ fail ArgumentError, "Missing the required parameter 'deployment_id' when calling KubernetesProtection.read_deployment_enrichment"
2480
+ end
2481
+ # resource path
2482
+ local_var_path = '/container-security/aggregates/enrichment/deployments/entities/v1'
2483
+
2484
+ # query parameters
2485
+ query_params = opts[:query_params] || {}
2486
+ query_params[:'deployment_id'] = @api_client.build_collection_param(deployment_id, :csv)
2487
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2488
+
2489
+ # header parameters
2490
+ header_params = opts[:header_params] || {}
2491
+ # HTTP header 'Accept' (if needed)
2492
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2493
+
2494
+ # form parameters
2495
+ form_params = opts[:form_params] || {}
2496
+
2497
+ # http body (model)
2498
+ post_body = opts[:debug_body]
2499
+
2500
+ # return_type
2501
+ return_type = opts[:debug_return_type] || 'K8sassetsDeploymentEnrichmentResponse'
2502
+
2503
+ # auth_names
2504
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2505
+
2506
+ new_options = opts.merge(
2507
+ :operation => :"KubernetesProtection.read_deployment_enrichment",
2508
+ :header_params => header_params,
2509
+ :query_params => query_params,
2510
+ :form_params => form_params,
2511
+ :body => post_body,
2512
+ :auth_names => auth_names,
2513
+ :return_type => return_type
2514
+ )
2515
+
2516
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2517
+ if @api_client.config.debugging
2518
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_deployment_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2519
+ end
2520
+ return data, status_code, headers
2521
+ end
2522
+
2523
+ # Retrieve deployments by date range counts
2524
+ # @param [Hash] opts the optional parameters
2525
+ # @return [ModelsAggregateValuesByFieldResponse]
2526
+ def read_deployments_by_date_range_count(opts = {})
2527
+ data, _status_code, _headers = read_deployments_by_date_range_count_with_http_info(opts)
2528
+ data
2529
+ end
2530
+
2531
+ # Retrieve deployments by date range counts
2532
+ # @param [Hash] opts the optional parameters
2533
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
2534
+ def read_deployments_by_date_range_count_with_http_info(opts = {})
2535
+ if @api_client.config.debugging
2536
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployments_by_date_range_count ...'
2537
+ end
2538
+ # resource path
2539
+ local_var_path = '/container-security/aggregates/deployments/count-by-date/v1'
2540
+
2541
+ # query parameters
2542
+ query_params = opts[:query_params] || {}
2543
+
2544
+ # header parameters
2545
+ header_params = opts[:header_params] || {}
2546
+ # HTTP header 'Accept' (if needed)
2547
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2548
+
2549
+ # form parameters
2550
+ form_params = opts[:form_params] || {}
2551
+
2552
+ # http body (model)
2553
+ post_body = opts[:debug_body]
2554
+
2555
+ # return_type
2556
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
2557
+
2558
+ # auth_names
2559
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2560
+
2561
+ new_options = opts.merge(
2562
+ :operation => :"KubernetesProtection.read_deployments_by_date_range_count",
2563
+ :header_params => header_params,
2564
+ :query_params => query_params,
2565
+ :form_params => form_params,
2566
+ :body => post_body,
2567
+ :auth_names => auth_names,
2568
+ :return_type => return_type
2569
+ )
2570
+
2571
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2572
+ if @api_client.config.debugging
2573
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_deployments_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2574
+ end
2575
+ return data, status_code, headers
2576
+ end
2577
+
2578
+ # Retrieve count of distinct images running on containers
2579
+ # @param [Hash] opts the optional parameters
2580
+ # @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2581
+ # @return [ModelsAPIFilterResponse]
2582
+ def read_distinct_container_image_count(opts = {})
2583
+ data, _status_code, _headers = read_distinct_container_image_count_with_http_info(opts)
2584
+ data
2585
+ end
2586
+
2587
+ # Retrieve count of distinct images running on containers
2588
+ # @param [Hash] opts the optional parameters
2589
+ # @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
2590
+ # @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
2591
+ def read_distinct_container_image_count_with_http_info(opts = {})
2592
+ if @api_client.config.debugging
2593
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_distinct_container_image_count ...'
2594
+ end
2595
+ # resource path
2596
+ local_var_path = '/container-security/aggregates/images/count-by-distinct/v1'
2597
+
2598
+ # query parameters
2599
+ query_params = opts[:query_params] || {}
2600
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2601
+
2602
+ # header parameters
2603
+ header_params = opts[:header_params] || {}
2604
+ # HTTP header 'Accept' (if needed)
2605
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2606
+
2607
+ # form parameters
2608
+ form_params = opts[:form_params] || {}
2609
+
2610
+ # http body (model)
2611
+ post_body = opts[:debug_body]
2612
+
2613
+ # return_type
2614
+ return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
2615
+
2616
+ # auth_names
2617
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2618
+
2619
+ new_options = opts.merge(
2620
+ :operation => :"KubernetesProtection.read_distinct_container_image_count",
2621
+ :header_params => header_params,
2622
+ :query_params => query_params,
2623
+ :form_params => form_params,
2624
+ :body => post_body,
2625
+ :auth_names => auth_names,
2626
+ :return_type => return_type
2627
+ )
2628
+
2629
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2630
+ if @api_client.config.debugging
2631
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_distinct_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2632
+ end
2633
+ return data, status_code, headers
2634
+ end
2635
+
2636
+ # Returns the count of Kubernetes IOMs by the date. by default it's for 7 days.
2637
+ # @param [Hash] opts the optional parameters
2638
+ # @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;created_timestamp&#x60; - &#x60;detect_timestamp&#x60; - &#x60;prevented&#x60; - &#x60;severity&#x60;
2639
+ # @return [K8siomsKubernetesIOMFieldValue]
2640
+ def read_kubernetes_iom_by_date_range(opts = {})
2641
+ data, _status_code, _headers = read_kubernetes_iom_by_date_range_with_http_info(opts)
2642
+ data
2643
+ end
2644
+
2645
+ # Returns the count of Kubernetes IOMs by the date. by default it&#39;s for 7 days.
2646
+ # @param [Hash] opts the optional parameters
2647
+ # @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;created_timestamp&#x60; - &#x60;detect_timestamp&#x60; - &#x60;prevented&#x60; - &#x60;severity&#x60;
2648
+ # @return [Array<(K8siomsKubernetesIOMFieldValue, Integer, Hash)>] K8siomsKubernetesIOMFieldValue data, response status code and response headers
2649
+ def read_kubernetes_iom_by_date_range_with_http_info(opts = {})
2650
+ if @api_client.config.debugging
2651
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_kubernetes_iom_by_date_range ...'
2652
+ end
2653
+ # resource path
2654
+ local_var_path = '/container-security/aggregates/kubernetes-ioms/count-by-date/v1'
2655
+
2656
+ # query parameters
2657
+ query_params = opts[:query_params] || {}
2658
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2659
+
2660
+ # header parameters
2661
+ header_params = opts[:header_params] || {}
2662
+ # HTTP header 'Accept' (if needed)
2663
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2664
+
2665
+ # form parameters
2666
+ form_params = opts[:form_params] || {}
2667
+
2668
+ # http body (model)
2669
+ post_body = opts[:debug_body]
2670
+
2671
+ # return_type
2672
+ return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMFieldValue'
2673
+
2674
+ # auth_names
2675
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2676
+
2677
+ new_options = opts.merge(
2678
+ :operation => :"KubernetesProtection.read_kubernetes_iom_by_date_range",
2679
+ :header_params => header_params,
2680
+ :query_params => query_params,
2681
+ :form_params => form_params,
2682
+ :body => post_body,
2683
+ :auth_names => auth_names,
2684
+ :return_type => return_type
2685
+ )
2686
+
2687
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2688
+ if @api_client.config.debugging
2689
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_kubernetes_iom_by_date_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2690
+ end
2691
+ return data, status_code, headers
2692
+ end
2693
+
2694
+ # Returns the total count of Kubernetes IOMs over the past seven days
2695
+ # @param [Hash] opts the optional parameters
2696
+ # @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;created_timestamp&#x60; - &#x60;detect_timestamp&#x60; - &#x60;prevented&#x60; - &#x60;severity&#x60;
2697
+ # @return [K8siomsKubernetesIOMCountValue]
2698
+ def read_kubernetes_iom_count(opts = {})
2699
+ data, _status_code, _headers = read_kubernetes_iom_count_with_http_info(opts)
2700
+ data
2701
+ end
2702
+
2703
+ # Returns the total count of Kubernetes IOMs over the past seven days
2704
+ # @param [Hash] opts the optional parameters
2705
+ # @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;created_timestamp&#x60; - &#x60;detect_timestamp&#x60; - &#x60;prevented&#x60; - &#x60;severity&#x60;
2706
+ # @return [Array<(K8siomsKubernetesIOMCountValue, Integer, Hash)>] K8siomsKubernetesIOMCountValue data, response status code and response headers
2707
+ def read_kubernetes_iom_count_with_http_info(opts = {})
2708
+ if @api_client.config.debugging
2709
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_kubernetes_iom_count ...'
2710
+ end
2711
+ # resource path
2712
+ local_var_path = '/container-security/aggregates/kubernetes-ioms/count/v1'
2713
+
2714
+ # query parameters
2715
+ query_params = opts[:query_params] || {}
2716
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2717
+
2718
+ # header parameters
2719
+ header_params = opts[:header_params] || {}
2720
+ # HTTP header 'Accept' (if needed)
2721
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2722
+
2723
+ # form parameters
2724
+ form_params = opts[:form_params] || {}
2725
+
2726
+ # http body (model)
2727
+ post_body = opts[:debug_body]
2728
+
2729
+ # return_type
2730
+ return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMCountValue'
2731
+
2732
+ # auth_names
2733
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2734
+
2735
+ new_options = opts.merge(
2736
+ :operation => :"KubernetesProtection.read_kubernetes_iom_count",
2737
+ :header_params => header_params,
2738
+ :query_params => query_params,
2739
+ :form_params => form_params,
2740
+ :body => post_body,
2741
+ :auth_names => auth_names,
2742
+ :return_type => return_type
2743
+ )
2744
+
2745
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2746
+ if @api_client.config.debugging
2747
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_kubernetes_iom_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2748
+ end
2749
+ return data, status_code, headers
2750
+ end
2751
+
2752
+ # Retrieve Kubernetes IOM entities identified by the provided IDs
2753
+ # @param [Hash] opts the optional parameters
2754
+ # @option opts [Array<String>] :ids Search Kubernetes IOMs by ids - The maximum amount is 100 IDs
2755
+ # @return [K8siomsKubernetesIOMEntityResponse]
2756
+ def read_kubernetes_iom_entities(opts = {})
2757
+ data, _status_code, _headers = read_kubernetes_iom_entities_with_http_info(opts)
2758
+ data
2759
+ end
2760
+
2761
+ # Retrieve Kubernetes IOM entities identified by the provided IDs
2762
+ # @param [Hash] opts the optional parameters
2763
+ # @option opts [Array<String>] :ids Search Kubernetes IOMs by ids - The maximum amount is 100 IDs
2764
+ # @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
2765
+ def read_kubernetes_iom_entities_with_http_info(opts = {})
2766
+ if @api_client.config.debugging
2767
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_kubernetes_iom_entities ...'
2768
+ end
2769
+ # resource path
2770
+ local_var_path = '/container-security/entities/kubernetes-ioms/v1'
2771
+
2772
+ # query parameters
2773
+ query_params = opts[:query_params] || {}
2774
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
2775
+
2776
+ # header parameters
2777
+ header_params = opts[:header_params] || {}
2778
+ # HTTP header 'Accept' (if needed)
2779
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2780
+
2781
+ # form parameters
2782
+ form_params = opts[:form_params] || {}
2783
+
2784
+ # http body (model)
2785
+ post_body = opts[:debug_body]
2786
+
2787
+ # return_type
2788
+ return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMEntityResponse'
2789
+
2790
+ # auth_names
2791
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2792
+
2793
+ new_options = opts.merge(
2794
+ :operation => :"KubernetesProtection.read_kubernetes_iom_entities",
2795
+ :header_params => header_params,
2796
+ :query_params => query_params,
2797
+ :form_params => form_params,
2798
+ :body => post_body,
2799
+ :auth_names => auth_names,
2800
+ :return_type => return_type
2801
+ )
2802
+
2803
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2804
+ if @api_client.config.debugging
2805
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2806
+ end
2807
+ return data, status_code, headers
2808
+ end
2809
+
2810
+ # Retrieve namespace counts
2811
+ # @param [Hash] opts the optional parameters
2812
+ # @option opts [String] :filter Retrieve count of Kubernetes namespaces that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;first_seen&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;namespace_id&#x60; - &#x60;namespace_name&#x60; - &#x60;resource_status&#x60;
2813
+ # @return [CommonCountResponse]
2814
+ def read_namespace_count(opts = {})
2815
+ data, _status_code, _headers = read_namespace_count_with_http_info(opts)
2816
+ data
2817
+ end
2818
+
2819
+ # Retrieve namespace counts
2820
+ # @param [Hash] opts the optional parameters
2821
+ # @option opts [String] :filter Retrieve count of Kubernetes namespaces that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;first_seen&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;namespace_id&#x60; - &#x60;namespace_name&#x60; - &#x60;resource_status&#x60;
2822
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
2823
+ def read_namespace_count_with_http_info(opts = {})
2824
+ if @api_client.config.debugging
2825
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_namespace_count ...'
2826
+ end
2827
+ # resource path
2828
+ local_var_path = '/container-security/aggregates/namespaces/count/v1'
2829
+
2830
+ # query parameters
2831
+ query_params = opts[:query_params] || {}
2832
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2833
+
2834
+ # header parameters
2835
+ header_params = opts[:header_params] || {}
2836
+ # HTTP header 'Accept' (if needed)
2837
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2838
+
2839
+ # form parameters
2840
+ form_params = opts[:form_params] || {}
2841
+
2842
+ # http body (model)
2843
+ post_body = opts[:debug_body]
2844
+
2845
+ # return_type
2846
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
2847
+
2848
+ # auth_names
2849
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2850
+
2851
+ new_options = opts.merge(
2852
+ :operation => :"KubernetesProtection.read_namespace_count",
2853
+ :header_params => header_params,
2854
+ :query_params => query_params,
2855
+ :form_params => form_params,
2856
+ :body => post_body,
2857
+ :auth_names => auth_names,
2858
+ :return_type => return_type
2859
+ )
2860
+
2861
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2862
+ if @api_client.config.debugging
2863
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_namespace_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2864
+ end
2865
+ return data, status_code, headers
2866
+ end
2867
+
2868
+ # Retrieve namespaces by date range counts
2869
+ # @param [Hash] opts the optional parameters
2870
+ # @return [ModelsAggregateValuesByFieldResponse]
2871
+ def read_namespaces_by_date_range_count(opts = {})
2872
+ data, _status_code, _headers = read_namespaces_by_date_range_count_with_http_info(opts)
2873
+ data
2874
+ end
2875
+
2876
+ # Retrieve namespaces by date range counts
2877
+ # @param [Hash] opts the optional parameters
2878
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
2879
+ def read_namespaces_by_date_range_count_with_http_info(opts = {})
2880
+ if @api_client.config.debugging
2881
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_namespaces_by_date_range_count ...'
2882
+ end
2883
+ # resource path
2884
+ local_var_path = '/container-security/aggregates/namespaces/count-by-date/v1'
2885
+
2886
+ # query parameters
2887
+ query_params = opts[:query_params] || {}
2888
+
2889
+ # header parameters
2890
+ header_params = opts[:header_params] || {}
2891
+ # HTTP header 'Accept' (if needed)
2892
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2893
+
2894
+ # form parameters
2895
+ form_params = opts[:form_params] || {}
2896
+
2897
+ # http body (model)
2898
+ post_body = opts[:debug_body]
2899
+
2900
+ # return_type
2901
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
2902
+
2903
+ # auth_names
2904
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2905
+
2906
+ new_options = opts.merge(
2907
+ :operation => :"KubernetesProtection.read_namespaces_by_date_range_count",
2908
+ :header_params => header_params,
2909
+ :query_params => query_params,
2910
+ :form_params => form_params,
2911
+ :body => post_body,
2912
+ :auth_names => auth_names,
2913
+ :return_type => return_type
2914
+ )
2915
+
2916
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2917
+ if @api_client.config.debugging
2918
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_namespaces_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2919
+ end
2920
+ return data, status_code, headers
2921
+ end
2922
+
2923
+ # Maximum offset = 10000 - limit
2924
+ # @param [Hash] opts the optional parameters
2925
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2926
+ # @option opts [String] :sort The fields to sort the records on.
2927
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
2928
+ # @option opts [Integer] :offset The offset from where to begin.
2929
+ # @return [ModelsNodeEntityResponse]
2930
+ def read_node_combined(opts = {})
2931
+ data, _status_code, _headers = read_node_combined_with_http_info(opts)
2932
+ data
2933
+ end
2934
+
2935
+ # Maximum offset &#x3D; 10000 - limit
2936
+ # @param [Hash] opts the optional parameters
2937
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2938
+ # @option opts [String] :sort The fields to sort the records on.
2939
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
2940
+ # @option opts [Integer] :offset The offset from where to begin.
2941
+ # @return [Array<(ModelsNodeEntityResponse, Integer, Hash)>] ModelsNodeEntityResponse data, response status code and response headers
2942
+ def read_node_combined_with_http_info(opts = {})
2943
+ if @api_client.config.debugging
2944
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_node_combined ...'
2945
+ end
2946
+ # resource path
2947
+ local_var_path = '/container-security/combined/nodes/v1'
2948
+
2949
+ # query parameters
2950
+ query_params = opts[:query_params] || {}
2951
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
2952
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
2953
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
2954
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
2955
+
2956
+ # header parameters
2957
+ header_params = opts[:header_params] || {}
2958
+ # HTTP header 'Accept' (if needed)
2959
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2960
+
2961
+ # form parameters
2962
+ form_params = opts[:form_params] || {}
2963
+
2964
+ # http body (model)
2965
+ post_body = opts[:debug_body]
2966
+
2967
+ # return_type
2968
+ return_type = opts[:debug_return_type] || 'ModelsNodeEntityResponse'
2969
+
2970
+ # auth_names
2971
+ auth_names = opts[:debug_auth_names] || ['oauth2']
2972
+
2973
+ new_options = opts.merge(
2974
+ :operation => :"KubernetesProtection.read_node_combined",
2975
+ :header_params => header_params,
2976
+ :query_params => query_params,
2977
+ :form_params => form_params,
2978
+ :body => post_body,
2979
+ :auth_names => auth_names,
2980
+ :return_type => return_type
2981
+ )
2982
+
2983
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2984
+ if @api_client.config.debugging
2985
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_node_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2986
+ end
2987
+ return data, status_code, headers
2988
+ end
2989
+
2990
+ # Retrieve node counts
2991
+ # @param [Hash] opts the optional parameters
2992
+ # @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
2993
+ # @return [CommonCountResponse]
2994
+ def read_node_count(opts = {})
2995
+ data, _status_code, _headers = read_node_count_with_http_info(opts)
2996
+ data
2997
+ end
2998
+
2999
+ # Retrieve node counts
3000
+ # @param [Hash] opts the optional parameters
3001
+ # @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3002
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
3003
+ def read_node_count_with_http_info(opts = {})
3004
+ if @api_client.config.debugging
3005
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_node_count ...'
3006
+ end
3007
+ # resource path
3008
+ local_var_path = '/container-security/aggregates/nodes/count/v1'
3009
+
3010
+ # query parameters
3011
+ query_params = opts[:query_params] || {}
3012
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3013
+
3014
+ # header parameters
3015
+ header_params = opts[:header_params] || {}
3016
+ # HTTP header 'Accept' (if needed)
3017
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3018
+
3019
+ # form parameters
3020
+ form_params = opts[:form_params] || {}
3021
+
3022
+ # http body (model)
3023
+ post_body = opts[:debug_body]
3024
+
3025
+ # return_type
3026
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
3027
+
3028
+ # auth_names
3029
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3030
+
3031
+ new_options = opts.merge(
3032
+ :operation => :"KubernetesProtection.read_node_count",
3033
+ :header_params => header_params,
3034
+ :query_params => query_params,
3035
+ :form_params => form_params,
3036
+ :body => post_body,
3037
+ :auth_names => auth_names,
3038
+ :return_type => return_type
3039
+ )
3040
+
3041
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3042
+ if @api_client.config.debugging
3043
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_node_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3044
+ end
3045
+ return data, status_code, headers
3046
+ end
3047
+
3048
+ # Retrieve node enrichment data
3049
+ # @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
3050
+ # @param [Hash] opts the optional parameters
3051
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
3052
+ # @return [K8sassetsNodeEnrichmentResponse]
3053
+ def read_node_enrichment(node_name, opts = {})
3054
+ data, _status_code, _headers = read_node_enrichment_with_http_info(node_name, opts)
3055
+ data
3056
+ end
3057
+
3058
+ # Retrieve node enrichment data
3059
+ # @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
3060
+ # @param [Hash] opts the optional parameters
3061
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
3062
+ # @return [Array<(K8sassetsNodeEnrichmentResponse, Integer, Hash)>] K8sassetsNodeEnrichmentResponse data, response status code and response headers
3063
+ def read_node_enrichment_with_http_info(node_name, opts = {})
3064
+ if @api_client.config.debugging
3065
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_node_enrichment ...'
3066
+ end
3067
+ # verify the required parameter 'node_name' is set
3068
+ if @api_client.config.client_side_validation && node_name.nil?
3069
+ fail ArgumentError, "Missing the required parameter 'node_name' when calling KubernetesProtection.read_node_enrichment"
3070
+ end
3071
+ # resource path
3072
+ local_var_path = '/container-security/aggregates/enrichment/nodes/entities/v1'
3073
+
3074
+ # query parameters
3075
+ query_params = opts[:query_params] || {}
3076
+ query_params[:'node_name'] = @api_client.build_collection_param(node_name, :csv)
3077
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3078
+
3079
+ # header parameters
3080
+ header_params = opts[:header_params] || {}
3081
+ # HTTP header 'Accept' (if needed)
3082
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3083
+
3084
+ # form parameters
3085
+ form_params = opts[:form_params] || {}
3086
+
3087
+ # http body (model)
3088
+ post_body = opts[:debug_body]
3089
+
3090
+ # return_type
3091
+ return_type = opts[:debug_return_type] || 'K8sassetsNodeEnrichmentResponse'
3092
+
3093
+ # auth_names
3094
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3095
+
3096
+ new_options = opts.merge(
3097
+ :operation => :"KubernetesProtection.read_node_enrichment",
3098
+ :header_params => header_params,
3099
+ :query_params => query_params,
3100
+ :form_params => form_params,
3101
+ :body => post_body,
3102
+ :auth_names => auth_names,
3103
+ :return_type => return_type
3104
+ )
3105
+
3106
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3107
+ if @api_client.config.debugging
3108
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_node_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3109
+ end
3110
+ return data, status_code, headers
3111
+ end
3112
+
3113
+ # Bucket nodes by cloud providers
3114
+ # @param [Hash] opts the optional parameters
3115
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3116
+ # @return [ModelsAggregateValuesByFieldResponse]
3117
+ def read_nodes_by_cloud_count(opts = {})
3118
+ data, _status_code, _headers = read_nodes_by_cloud_count_with_http_info(opts)
3119
+ data
3120
+ end
3121
+
3122
+ # Bucket nodes by cloud providers
3123
+ # @param [Hash] opts the optional parameters
3124
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3125
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
3126
+ def read_nodes_by_cloud_count_with_http_info(opts = {})
3127
+ if @api_client.config.debugging
3128
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_nodes_by_cloud_count ...'
3129
+ end
3130
+ # resource path
3131
+ local_var_path = '/container-security/aggregates/nodes/count-by-cloud/v1'
3132
+
3133
+ # query parameters
3134
+ query_params = opts[:query_params] || {}
3135
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3136
+
3137
+ # header parameters
3138
+ header_params = opts[:header_params] || {}
3139
+ # HTTP header 'Accept' (if needed)
3140
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3141
+
3142
+ # form parameters
3143
+ form_params = opts[:form_params] || {}
3144
+
3145
+ # http body (model)
3146
+ post_body = opts[:debug_body]
3147
+
3148
+ # return_type
3149
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
3150
+
3151
+ # auth_names
3152
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3153
+
3154
+ new_options = opts.merge(
3155
+ :operation => :"KubernetesProtection.read_nodes_by_cloud_count",
3156
+ :header_params => header_params,
3157
+ :query_params => query_params,
3158
+ :form_params => form_params,
3159
+ :body => post_body,
3160
+ :auth_names => auth_names,
3161
+ :return_type => return_type
3162
+ )
3163
+
3164
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3165
+ if @api_client.config.debugging
3166
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_nodes_by_cloud_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3167
+ end
3168
+ return data, status_code, headers
3169
+ end
3170
+
3171
+ # Bucket nodes by their container engine version
3172
+ # @param [Hash] opts the optional parameters
3173
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3174
+ # @return [ModelsAggregateValuesByFieldResponse]
3175
+ def read_nodes_by_container_engine_version_count(opts = {})
3176
+ data, _status_code, _headers = read_nodes_by_container_engine_version_count_with_http_info(opts)
3177
+ data
3178
+ end
3179
+
3180
+ # Bucket nodes by their container engine version
3181
+ # @param [Hash] opts the optional parameters
3182
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3183
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
3184
+ def read_nodes_by_container_engine_version_count_with_http_info(opts = {})
3185
+ if @api_client.config.debugging
3186
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_nodes_by_container_engine_version_count ...'
3187
+ end
3188
+ # resource path
3189
+ local_var_path = '/container-security/aggregates/nodes/count-by-container-engine-version/v1'
3190
+
3191
+ # query parameters
3192
+ query_params = opts[:query_params] || {}
3193
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3194
+
3195
+ # header parameters
3196
+ header_params = opts[:header_params] || {}
3197
+ # HTTP header 'Accept' (if needed)
3198
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3199
+
3200
+ # form parameters
3201
+ form_params = opts[:form_params] || {}
3202
+
3203
+ # http body (model)
3204
+ post_body = opts[:debug_body]
3205
+
3206
+ # return_type
3207
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
3208
+
3209
+ # auth_names
3210
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3211
+
3212
+ new_options = opts.merge(
3213
+ :operation => :"KubernetesProtection.read_nodes_by_container_engine_version_count",
3214
+ :header_params => header_params,
3215
+ :query_params => query_params,
3216
+ :form_params => form_params,
3217
+ :body => post_body,
3218
+ :auth_names => auth_names,
3219
+ :return_type => return_type
3220
+ )
3221
+
3222
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3223
+ if @api_client.config.debugging
3224
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_nodes_by_container_engine_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3225
+ end
3226
+ return data, status_code, headers
3227
+ end
3228
+
3229
+ # Retrieve nodes by date range counts
3230
+ # @param [Hash] opts the optional parameters
3231
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3232
+ # @return [ModelsAggregateValuesByFieldResponse]
3233
+ def read_nodes_by_date_range_count(opts = {})
3234
+ data, _status_code, _headers = read_nodes_by_date_range_count_with_http_info(opts)
3235
+ data
3236
+ end
3237
+
3238
+ # Retrieve nodes by date range counts
3239
+ # @param [Hash] opts the optional parameters
3240
+ # @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;container_runtime_version&#x60; - &#x60;first_seen&#x60; - &#x60;image_digest&#x60; - &#x60;ipv4&#x60; - &#x60;kac_agent_id&#x60; - &#x60;last_seen&#x60; - &#x60;linux_sensor_coverage&#x60; - &#x60;node_name&#x60; - &#x60;pod_count&#x60; - &#x60;resource_status&#x60;
3241
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
3242
+ def read_nodes_by_date_range_count_with_http_info(opts = {})
3243
+ if @api_client.config.debugging
3244
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_nodes_by_date_range_count ...'
3245
+ end
3246
+ # resource path
3247
+ local_var_path = '/container-security/aggregates/nodes/count-by-date/v1'
3248
+
3249
+ # query parameters
3250
+ query_params = opts[:query_params] || {}
3251
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3252
+
3253
+ # header parameters
3254
+ header_params = opts[:header_params] || {}
3255
+ # HTTP header 'Accept' (if needed)
3256
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3257
+
3258
+ # form parameters
3259
+ form_params = opts[:form_params] || {}
3260
+
3261
+ # http body (model)
3262
+ post_body = opts[:debug_body]
3263
+
3264
+ # return_type
3265
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
3266
+
3267
+ # auth_names
3268
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3269
+
3270
+ new_options = opts.merge(
3271
+ :operation => :"KubernetesProtection.read_nodes_by_date_range_count",
3272
+ :header_params => header_params,
3273
+ :query_params => query_params,
3274
+ :form_params => form_params,
3275
+ :body => post_body,
3276
+ :auth_names => auth_names,
3277
+ :return_type => return_type
3278
+ )
3279
+
3280
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3281
+ if @api_client.config.debugging
3282
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_nodes_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3283
+ end
3284
+ return data, status_code, headers
3285
+ end
3286
+
3287
+ # Maximum offset = 10000 - limit
3288
+ # @param [Hash] opts the optional parameters
3289
+ # @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;first_seen&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;owner_id&#x60; - &#x60;owner_type&#x60; - &#x60;pod_external_id&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;resource_status&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60;
3290
+ # @option opts [String] :sort The fields to sort the records on.
3291
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
3292
+ # @option opts [Integer] :offset The offset from where to begin.
3293
+ # @return [ModelsPodEntityResponse]
3294
+ def read_pod_combined(opts = {})
3295
+ data, _status_code, _headers = read_pod_combined_with_http_info(opts)
3296
+ data
3297
+ end
3298
+
3299
+ # Maximum offset &#x3D; 10000 - limit
3300
+ # @param [Hash] opts the optional parameters
3301
+ # @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;first_seen&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;owner_id&#x60; - &#x60;owner_type&#x60; - &#x60;pod_external_id&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;resource_status&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60;
3302
+ # @option opts [String] :sort The fields to sort the records on.
3303
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
3304
+ # @option opts [Integer] :offset The offset from where to begin.
3305
+ # @return [Array<(ModelsPodEntityResponse, Integer, Hash)>] ModelsPodEntityResponse data, response status code and response headers
3306
+ def read_pod_combined_with_http_info(opts = {})
3307
+ if @api_client.config.debugging
3308
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pod_combined ...'
3309
+ end
3310
+ # resource path
3311
+ local_var_path = '/container-security/combined/pods/v1'
3312
+
3313
+ # query parameters
3314
+ query_params = opts[:query_params] || {}
3315
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3316
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
3317
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
3318
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
3319
+
3320
+ # header parameters
3321
+ header_params = opts[:header_params] || {}
3322
+ # HTTP header 'Accept' (if needed)
3323
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3324
+
3325
+ # form parameters
3326
+ form_params = opts[:form_params] || {}
3327
+
3328
+ # http body (model)
3329
+ post_body = opts[:debug_body]
3330
+
3331
+ # return_type
3332
+ return_type = opts[:debug_return_type] || 'ModelsPodEntityResponse'
3333
+
3334
+ # auth_names
3335
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3336
+
3337
+ new_options = opts.merge(
3338
+ :operation => :"KubernetesProtection.read_pod_combined",
3339
+ :header_params => header_params,
3340
+ :query_params => query_params,
3341
+ :form_params => form_params,
3342
+ :body => post_body,
3343
+ :auth_names => auth_names,
3344
+ :return_type => return_type
3345
+ )
3346
+
3347
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3348
+ if @api_client.config.debugging
3349
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_pod_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3350
+ end
3351
+ return data, status_code, headers
3352
+ end
3353
+
3354
+ # Retrieve pod counts
3355
+ # @param [Hash] opts the optional parameters
3356
+ # @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;first_seen&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;owner_id&#x60; - &#x60;owner_type&#x60; - &#x60;pod_external_id&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;resource_status&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60;
3357
+ # @return [CommonCountResponse]
3358
+ def read_pod_count(opts = {})
3359
+ data, _status_code, _headers = read_pod_count_with_http_info(opts)
3360
+ data
3361
+ end
3362
+
3363
+ # Retrieve pod counts
3364
+ # @param [Hash] opts the optional parameters
3365
+ # @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;annotations_list&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_count&#x60; - &#x60;first_seen&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;owner_id&#x60; - &#x60;owner_type&#x60; - &#x60;pod_external_id&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;resource_status&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60;
3366
+ # @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
3367
+ def read_pod_count_with_http_info(opts = {})
3368
+ if @api_client.config.debugging
3369
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pod_count ...'
3370
+ end
3371
+ # resource path
3372
+ local_var_path = '/container-security/aggregates/pods/count/v1'
3373
+
3374
+ # query parameters
3375
+ query_params = opts[:query_params] || {}
3376
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3377
+
3378
+ # header parameters
3379
+ header_params = opts[:header_params] || {}
3380
+ # HTTP header 'Accept' (if needed)
3381
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3382
+
3383
+ # form parameters
3384
+ form_params = opts[:form_params] || {}
3385
+
3386
+ # http body (model)
3387
+ post_body = opts[:debug_body]
3388
+
3389
+ # return_type
3390
+ return_type = opts[:debug_return_type] || 'CommonCountResponse'
3391
+
3392
+ # auth_names
3393
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3394
+
3395
+ new_options = opts.merge(
3396
+ :operation => :"KubernetesProtection.read_pod_count",
3397
+ :header_params => header_params,
3398
+ :query_params => query_params,
3399
+ :form_params => form_params,
3400
+ :body => post_body,
3401
+ :auth_names => auth_names,
3402
+ :return_type => return_type
3403
+ )
3404
+
3405
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3406
+ if @api_client.config.debugging
3407
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_pod_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3408
+ end
3409
+ return data, status_code, headers
3410
+ end
3411
+
3412
+ # Retrieve pod enrichment data
3413
+ # @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
3414
+ # @param [Hash] opts the optional parameters
3415
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
3416
+ # @return [K8sassetsPodEnrichmentResponse]
3417
+ def read_pod_enrichment(pod_id, opts = {})
3418
+ data, _status_code, _headers = read_pod_enrichment_with_http_info(pod_id, opts)
3419
+ data
3420
+ end
3421
+
3422
+ # Retrieve pod enrichment data
3423
+ # @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
3424
+ # @param [Hash] opts the optional parameters
3425
+ # @option opts [String] :filter Supported filter fields: - &#x60;last_seen&#x60;
3426
+ # @return [Array<(K8sassetsPodEnrichmentResponse, Integer, Hash)>] K8sassetsPodEnrichmentResponse data, response status code and response headers
3427
+ def read_pod_enrichment_with_http_info(pod_id, opts = {})
3428
+ if @api_client.config.debugging
3429
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pod_enrichment ...'
3430
+ end
3431
+ # verify the required parameter 'pod_id' is set
3432
+ if @api_client.config.client_side_validation && pod_id.nil?
3433
+ fail ArgumentError, "Missing the required parameter 'pod_id' when calling KubernetesProtection.read_pod_enrichment"
3434
+ end
3435
+ # resource path
3436
+ local_var_path = '/container-security/aggregates/enrichment/pods/entities/v1'
3437
+
3438
+ # query parameters
3439
+ query_params = opts[:query_params] || {}
3440
+ query_params[:'pod_id'] = @api_client.build_collection_param(pod_id, :csv)
3441
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3442
+
3443
+ # header parameters
3444
+ header_params = opts[:header_params] || {}
3445
+ # HTTP header 'Accept' (if needed)
3446
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3447
+
3448
+ # form parameters
3449
+ form_params = opts[:form_params] || {}
3450
+
3451
+ # http body (model)
3452
+ post_body = opts[:debug_body]
3453
+
3454
+ # return_type
3455
+ return_type = opts[:debug_return_type] || 'K8sassetsPodEnrichmentResponse'
3456
+
3457
+ # auth_names
3458
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3459
+
3460
+ new_options = opts.merge(
3461
+ :operation => :"KubernetesProtection.read_pod_enrichment",
3462
+ :header_params => header_params,
3463
+ :query_params => query_params,
3464
+ :form_params => form_params,
3465
+ :body => post_body,
3466
+ :auth_names => auth_names,
3467
+ :return_type => return_type
3468
+ )
3469
+
3470
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3471
+ if @api_client.config.debugging
3472
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_pod_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3473
+ end
3474
+ return data, status_code, headers
3475
+ end
3476
+
3477
+ # Retrieve pods by date range counts
3478
+ # @param [Hash] opts the optional parameters
3479
+ # @return [ModelsAggregateValuesByFieldResponse]
3480
+ def read_pods_by_date_range_count(opts = {})
3481
+ data, _status_code, _headers = read_pods_by_date_range_count_with_http_info(opts)
3482
+ data
3483
+ end
3484
+
3485
+ # Retrieve pods by date range counts
3486
+ # @param [Hash] opts the optional parameters
3487
+ # @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
3488
+ def read_pods_by_date_range_count_with_http_info(opts = {})
3489
+ if @api_client.config.debugging
3490
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pods_by_date_range_count ...'
3491
+ end
3492
+ # resource path
3493
+ local_var_path = '/container-security/aggregates/pods/count-by-date/v1'
3494
+
3495
+ # query parameters
3496
+ query_params = opts[:query_params] || {}
3497
+
3498
+ # header parameters
3499
+ header_params = opts[:header_params] || {}
3500
+ # HTTP header 'Accept' (if needed)
3501
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3502
+
3503
+ # form parameters
3504
+ form_params = opts[:form_params] || {}
3505
+
3506
+ # http body (model)
3507
+ post_body = opts[:debug_body]
3508
+
3509
+ # return_type
3510
+ return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
3511
+
3512
+ # auth_names
3513
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3514
+
3515
+ new_options = opts.merge(
3516
+ :operation => :"KubernetesProtection.read_pods_by_date_range_count",
3517
+ :header_params => header_params,
3518
+ :query_params => query_params,
3519
+ :form_params => form_params,
3520
+ :body => post_body,
3521
+ :auth_names => auth_names,
3522
+ :return_type => return_type
3523
+ )
3524
+
3525
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3526
+ if @api_client.config.debugging
3527
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_pods_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3528
+ end
3529
+ return data, status_code, headers
3530
+ end
3531
+
3532
+ # Maximum offset = 10000 - limit
3533
+ # @param [Hash] opts the optional parameters
3534
+ # @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;hosts&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_name&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;last_seen&#x60; - &#x60;running_status&#x60;
3535
+ # @option opts [String] :sort The fields to sort the records on.
3536
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
3537
+ # @option opts [Integer] :offset The offset from where to begin.
3538
+ # @return [ModelsContainerImage]
3539
+ def read_running_container_images(opts = {})
3540
+ data, _status_code, _headers = read_running_container_images_with_http_info(opts)
3541
+ data
3542
+ end
3543
+
3544
+ # Maximum offset &#x3D; 10000 - limit
3545
+ # @param [Hash] opts the optional parameters
3546
+ # @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;hosts&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_name&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;last_seen&#x60; - &#x60;running_status&#x60;
3547
+ # @option opts [String] :sort The fields to sort the records on.
3548
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
3549
+ # @option opts [Integer] :offset The offset from where to begin.
3550
+ # @return [Array<(ModelsContainerImage, Integer, Hash)>] ModelsContainerImage data, response status code and response headers
3551
+ def read_running_container_images_with_http_info(opts = {})
3552
+ if @api_client.config.debugging
3553
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_running_container_images ...'
3554
+ end
3555
+ # resource path
3556
+ local_var_path = '/container-security/combined/container-images/v1'
3557
+
3558
+ # query parameters
3559
+ query_params = opts[:query_params] || {}
3560
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3561
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
3562
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
3563
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
3564
+
3565
+ # header parameters
3566
+ header_params = opts[:header_params] || {}
3567
+ # HTTP header 'Accept' (if needed)
3568
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3569
+
3570
+ # form parameters
3571
+ form_params = opts[:form_params] || {}
3572
+
3573
+ # http body (model)
3574
+ post_body = opts[:debug_body]
3575
+
3576
+ # return_type
3577
+ return_type = opts[:debug_return_type] || 'ModelsContainerImage'
3578
+
3579
+ # auth_names
3580
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3581
+
3582
+ new_options = opts.merge(
3583
+ :operation => :"KubernetesProtection.read_running_container_images",
3584
+ :header_params => header_params,
3585
+ :query_params => query_params,
3586
+ :form_params => form_params,
3587
+ :body => post_body,
3588
+ :auth_names => auth_names,
3589
+ :return_type => return_type
3590
+ )
3591
+
3592
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3593
+ if @api_client.config.debugging
3594
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_running_container_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3595
+ end
3596
+ return data, status_code, headers
3597
+ end
3598
+
3599
+ # Retrieve count of vulnerable images running on containers
3600
+ # @param [Hash] opts the optional parameters
3601
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
3602
+ # @return [ModelsAPIFilterResponse]
3603
+ def read_vulnerable_container_image_count(opts = {})
3604
+ data, _status_code, _headers = read_vulnerable_container_image_count_with_http_info(opts)
3605
+ data
3606
+ end
3607
+
3608
+ # Retrieve count of vulnerable images running on containers
3609
+ # @param [Hash] opts the optional parameters
3610
+ # @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;agent_id&#x60; - &#x60;agent_type&#x60; - &#x60;allow_privilege_escalation&#x60; - &#x60;cid&#x60; - &#x60;cloud_account_id&#x60; - &#x60;cloud_instance_id&#x60; - &#x60;cloud_name&#x60; - &#x60;cloud_region&#x60; - &#x60;cloud_service&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;container_id&#x60; - &#x60;container_image_id&#x60; - &#x60;container_name&#x60; - &#x60;cve_id&#x60; - &#x60;detection_name&#x60; - &#x60;first_seen&#x60; - &#x60;image_detection_count&#x60; - &#x60;image_digest&#x60; - &#x60;image_has_been_assessed&#x60; - &#x60;image_id&#x60; - &#x60;image_registry&#x60; - &#x60;image_repository&#x60; - &#x60;image_tag&#x60; - &#x60;image_vulnerability_count&#x60; - &#x60;insecure_mount_source&#x60; - &#x60;insecure_mount_type&#x60; - &#x60;insecure_propagation_mode&#x60; - &#x60;interactive_mode&#x60; - &#x60;ipv4&#x60; - &#x60;ipv6&#x60; - &#x60;kac_agent_id&#x60; - &#x60;labels&#x60; - &#x60;last_seen&#x60; - &#x60;namespace&#x60; - &#x60;node_name&#x60; - &#x60;node_uid&#x60; - &#x60;package_name_version&#x60; - &#x60;pod_id&#x60; - &#x60;pod_name&#x60; - &#x60;port&#x60; - &#x60;privileged&#x60; - &#x60;root_write_access&#x60; - &#x60;run_as_root_group&#x60; - &#x60;run_as_root_user&#x60; - &#x60;running_status&#x60;
3611
+ # @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
3612
+ def read_vulnerable_container_image_count_with_http_info(opts = {})
3613
+ if @api_client.config.debugging
3614
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.read_vulnerable_container_image_count ...'
3615
+ end
3616
+ # resource path
3617
+ local_var_path = '/container-security/aggregates/containers/count-vulnerable-images/v1'
3618
+
3619
+ # query parameters
3620
+ query_params = opts[:query_params] || {}
3621
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3622
+
3623
+ # header parameters
3624
+ header_params = opts[:header_params] || {}
3625
+ # HTTP header 'Accept' (if needed)
3626
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3627
+
3628
+ # form parameters
3629
+ form_params = opts[:form_params] || {}
3630
+
3631
+ # http body (model)
3632
+ post_body = opts[:debug_body]
3633
+
3634
+ # return_type
3635
+ return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
3636
+
3637
+ # auth_names
3638
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3639
+
3640
+ new_options = opts.merge(
3641
+ :operation => :"KubernetesProtection.read_vulnerable_container_image_count",
3642
+ :header_params => header_params,
3643
+ :query_params => query_params,
3644
+ :form_params => form_params,
3645
+ :body => post_body,
3646
+ :auth_names => auth_names,
3647
+ :return_type => return_type
3648
+ )
3649
+
3650
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3651
+ if @api_client.config.debugging
3652
+ @api_client.config.logger.debug "API called: KubernetesProtection#read_vulnerable_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3653
+ end
3654
+ return data, status_code, headers
3655
+ end
3656
+
3657
+ # Regenerate API key for docker registry integrations
3658
+ # @param [Hash] opts the optional parameters
3659
+ # @return [K8sregRegenAPIKeyResp]
3660
+ def regenerate_api_key(opts = {})
3661
+ data, _status_code, _headers = regenerate_api_key_with_http_info(opts)
3662
+ data
3663
+ end
3664
+
3665
+ # Regenerate API key for docker registry integrations
3666
+ # @param [Hash] opts the optional parameters
3667
+ # @return [Array<(K8sregRegenAPIKeyResp, Integer, Hash)>] K8sregRegenAPIKeyResp data, response status code and response headers
3668
+ def regenerate_api_key_with_http_info(opts = {})
3669
+ if @api_client.config.debugging
3670
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.regenerate_api_key ...'
3671
+ end
3672
+ # resource path
3673
+ local_var_path = '/kubernetes-protection/entities/integration/api-key/v1'
3674
+
3675
+ # query parameters
3676
+ query_params = opts[:query_params] || {}
3677
+
3678
+ # header parameters
3679
+ header_params = opts[:header_params] || {}
3680
+ # HTTP header 'Accept' (if needed)
3681
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3682
+
3683
+ # form parameters
3684
+ form_params = opts[:form_params] || {}
3685
+
3686
+ # http body (model)
3687
+ post_body = opts[:debug_body]
3688
+
3689
+ # return_type
3690
+ return_type = opts[:debug_return_type] || 'K8sregRegenAPIKeyResp'
3691
+
3692
+ # auth_names
3693
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3694
+
3695
+ new_options = opts.merge(
3696
+ :operation => :"KubernetesProtection.regenerate_api_key",
3697
+ :header_params => header_params,
3698
+ :query_params => query_params,
3699
+ :form_params => form_params,
3700
+ :body => post_body,
3701
+ :auth_names => auth_names,
3702
+ :return_type => return_type
3703
+ )
3704
+
3705
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
3706
+ if @api_client.config.debugging
3707
+ @api_client.config.logger.debug "API called: KubernetesProtection#regenerate_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3708
+ end
3709
+ return data, status_code, headers
3710
+ end
3711
+
3712
+ # Maximum offset = 10000 - limit
3713
+ # @param [Hash] opts the optional parameters
3714
+ # @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;cis_id&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;containers_impacted_count&#x60; - &#x60;containers_impacted_ids&#x60; - &#x60;detection_type&#x60; - &#x60;name&#x60; - &#x60;namespace&#x60; - &#x60;prevented&#x60; - &#x60;resource_id&#x60; - &#x60;resource_name&#x60; - &#x60;resource_type&#x60; - &#x60;severity&#x60;
3715
+ # @option opts [String] :sort The fields to sort the records on.
3716
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
3717
+ # @option opts [Integer] :offset The offset from where to begin.
3718
+ # @return [K8siomsKubernetesIOMEntityResponse]
3719
+ def search_and_read_kubernetes_iom_entities(opts = {})
3720
+ data, _status_code, _headers = search_and_read_kubernetes_iom_entities_with_http_info(opts)
3721
+ data
3722
+ end
3723
+
3724
+ # Maximum offset &#x3D; 10000 - limit
3725
+ # @param [Hash] opts the optional parameters
3726
+ # @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;cis_id&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;containers_impacted_count&#x60; - &#x60;containers_impacted_ids&#x60; - &#x60;detection_type&#x60; - &#x60;name&#x60; - &#x60;namespace&#x60; - &#x60;prevented&#x60; - &#x60;resource_id&#x60; - &#x60;resource_name&#x60; - &#x60;resource_type&#x60; - &#x60;severity&#x60;
3727
+ # @option opts [String] :sort The fields to sort the records on.
3728
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
3729
+ # @option opts [Integer] :offset The offset from where to begin.
3730
+ # @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
3731
+ def search_and_read_kubernetes_iom_entities_with_http_info(opts = {})
3732
+ if @api_client.config.debugging
3733
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.search_and_read_kubernetes_iom_entities ...'
3734
+ end
3735
+ # resource path
3736
+ local_var_path = '/container-security/combined/kubernetes-ioms/v1'
3737
+
3738
+ # query parameters
3739
+ query_params = opts[:query_params] || {}
3740
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3741
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
3742
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
3743
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
3744
+
3745
+ # header parameters
3746
+ header_params = opts[:header_params] || {}
3747
+ # HTTP header 'Accept' (if needed)
3748
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3749
+
3750
+ # form parameters
3751
+ form_params = opts[:form_params] || {}
3752
+
3753
+ # http body (model)
3754
+ post_body = opts[:debug_body]
3755
+
3756
+ # return_type
3757
+ return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMEntityResponse'
3758
+
3759
+ # auth_names
3760
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3761
+
3762
+ new_options = opts.merge(
3763
+ :operation => :"KubernetesProtection.search_and_read_kubernetes_iom_entities",
3764
+ :header_params => header_params,
3765
+ :query_params => query_params,
3766
+ :form_params => form_params,
3767
+ :body => post_body,
3768
+ :auth_names => auth_names,
3769
+ :return_type => return_type
3770
+ )
3771
+
3772
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3773
+ if @api_client.config.debugging
3774
+ @api_client.config.logger.debug "API called: KubernetesProtection#search_and_read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3775
+ end
3776
+ return data, status_code, headers
3777
+ end
3778
+
3779
+ # Maximum offset = 10000 - limit
3780
+ # @param [Hash] opts the optional parameters
3781
+ # @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;cis_id&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;containers_impacted_count&#x60; - &#x60;containers_impacted_ids&#x60; - &#x60;detection_type&#x60; - &#x60;name&#x60; - &#x60;namespace&#x60; - &#x60;prevented&#x60; - &#x60;resource_id&#x60; - &#x60;resource_name&#x60; - &#x60;resource_type&#x60; - &#x60;severity&#x60;
3782
+ # @option opts [String] :sort The fields to sort the records on.
3783
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
3784
+ # @option opts [Integer] :offset The offset from where to begin.
3785
+ # @return [CommonGenericEntityResponseString]
3786
+ def search_kubernetes_ioms(opts = {})
3787
+ data, _status_code, _headers = search_kubernetes_ioms_with_http_info(opts)
3788
+ data
3789
+ end
3790
+
3791
+ # Maximum offset &#x3D; 10000 - limit
3792
+ # @param [Hash] opts the optional parameters
3793
+ # @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - &#x60;cid&#x60; - &#x60;cis_id&#x60; - &#x60;cluster_id&#x60; - &#x60;cluster_name&#x60; - &#x60;containers_impacted_count&#x60; - &#x60;containers_impacted_ids&#x60; - &#x60;detection_type&#x60; - &#x60;name&#x60; - &#x60;namespace&#x60; - &#x60;prevented&#x60; - &#x60;resource_id&#x60; - &#x60;resource_name&#x60; - &#x60;resource_type&#x60; - &#x60;severity&#x60;
3794
+ # @option opts [String] :sort The fields to sort the records on.
3795
+ # @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
3796
+ # @option opts [Integer] :offset The offset from where to begin.
3797
+ # @return [Array<(CommonGenericEntityResponseString, Integer, Hash)>] CommonGenericEntityResponseString data, response status code and response headers
3798
+ def search_kubernetes_ioms_with_http_info(opts = {})
3799
+ if @api_client.config.debugging
3800
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.search_kubernetes_ioms ...'
3801
+ end
3802
+ # resource path
3803
+ local_var_path = '/container-security/queries/kubernetes-ioms/v1'
3804
+
3805
+ # query parameters
3806
+ query_params = opts[:query_params] || {}
3807
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
3808
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
3809
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
3810
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
3811
+
3812
+ # header parameters
3813
+ header_params = opts[:header_params] || {}
3814
+ # HTTP header 'Accept' (if needed)
3815
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3816
+
3817
+ # form parameters
3818
+ form_params = opts[:form_params] || {}
3819
+
3820
+ # http body (model)
3821
+ post_body = opts[:debug_body]
3822
+
3823
+ # return_type
3824
+ return_type = opts[:debug_return_type] || 'CommonGenericEntityResponseString'
3825
+
3826
+ # auth_names
3827
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3828
+
3829
+ new_options = opts.merge(
3830
+ :operation => :"KubernetesProtection.search_kubernetes_ioms",
3831
+ :header_params => header_params,
3832
+ :query_params => query_params,
3833
+ :form_params => form_params,
3834
+ :body => post_body,
3835
+ :auth_names => auth_names,
3836
+ :return_type => return_type
3837
+ )
3838
+
3839
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3840
+ if @api_client.config.debugging
3841
+ @api_client.config.logger.debug "API called: KubernetesProtection#search_kubernetes_ioms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3842
+ end
3843
+ return data, status_code, headers
3844
+ end
3845
+
3846
+ # Triggers a dry run or a full scan of a customer's kubernetes footprint
3847
+ # @param scan_type [String] Scan Type to do
3848
+ # @param [Hash] opts the optional parameters
3849
+ # @return [MsaBaseEntitiesResponse]
3850
+ def trigger_scan(scan_type, opts = {})
3851
+ data, _status_code, _headers = trigger_scan_with_http_info(scan_type, opts)
3852
+ data
3853
+ end
3854
+
3855
+ # Triggers a dry run or a full scan of a customer&#39;s kubernetes footprint
3856
+ # @param scan_type [String] Scan Type to do
3857
+ # @param [Hash] opts the optional parameters
3858
+ # @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
3859
+ def trigger_scan_with_http_info(scan_type, opts = {})
3860
+ if @api_client.config.debugging
3861
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.trigger_scan ...'
3862
+ end
3863
+ # verify the required parameter 'scan_type' is set
3864
+ if @api_client.config.client_side_validation && scan_type.nil?
3865
+ fail ArgumentError, "Missing the required parameter 'scan_type' when calling KubernetesProtection.trigger_scan"
3866
+ end
3867
+ # verify enum value
3868
+ allowable_values = ["cluster-refresh", "dry-run", "full"]
3869
+ if @api_client.config.client_side_validation && !allowable_values.include?(scan_type)
3870
+ fail ArgumentError, "invalid value for \"scan_type\", must be one of #{allowable_values}"
3871
+ end
3872
+ pattern = Regexp.new(/^(dry-run|full|cluster-refresh)$/)
3873
+ if @api_client.config.client_side_validation && scan_type !~ pattern
3874
+ fail ArgumentError, "invalid value for 'scan_type' when calling KubernetesProtection.trigger_scan, must conform to the pattern #{pattern}."
3875
+ end
3876
+
3877
+ # resource path
3878
+ local_var_path = '/kubernetes-protection/entities/scan/trigger/v1'
3879
+
3880
+ # query parameters
3881
+ query_params = opts[:query_params] || {}
3882
+ query_params[:'scan_type'] = scan_type
3883
+
3884
+ # header parameters
3885
+ header_params = opts[:header_params] || {}
3886
+ # HTTP header 'Accept' (if needed)
3887
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3888
+
3889
+ # form parameters
3890
+ form_params = opts[:form_params] || {}
3891
+
3892
+ # http body (model)
3893
+ post_body = opts[:debug_body]
3894
+
3895
+ # return_type
3896
+ return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
3897
+
3898
+ # auth_names
3899
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3900
+
3901
+ new_options = opts.merge(
3902
+ :operation => :"KubernetesProtection.trigger_scan",
3903
+ :header_params => header_params,
3904
+ :query_params => query_params,
3905
+ :form_params => form_params,
3906
+ :body => post_body,
3907
+ :auth_names => auth_names,
3908
+ :return_type => return_type
3909
+ )
3910
+
3911
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
3912
+ if @api_client.config.debugging
3913
+ @api_client.config.logger.debug "API called: KubernetesProtection#trigger_scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3914
+ end
3915
+ return data, status_code, headers
3916
+ end
3917
+
3918
+ # Updates the AWS account per the query parameters provided
3919
+ # @param ids [Array<String>] AWS Account ID
3920
+ # @param [Hash] opts the optional parameters
3921
+ # @option opts [String] :region Default Region for Account Automation
3922
+ # @return [MsaBaseEntitiesResponse]
3923
+ def update_aws_account(ids, opts = {})
3924
+ data, _status_code, _headers = update_aws_account_with_http_info(ids, opts)
3925
+ data
3926
+ end
3927
+
3928
+ # Updates the AWS account per the query parameters provided
3929
+ # @param ids [Array<String>] AWS Account ID
3930
+ # @param [Hash] opts the optional parameters
3931
+ # @option opts [String] :region Default Region for Account Automation
3932
+ # @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
3933
+ def update_aws_account_with_http_info(ids, opts = {})
3934
+ if @api_client.config.debugging
3935
+ @api_client.config.logger.debug 'Calling API: KubernetesProtection.update_aws_account ...'
3936
+ end
3937
+ # verify the required parameter 'ids' is set
3938
+ if @api_client.config.client_side_validation && ids.nil?
3939
+ fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesProtection.update_aws_account"
3940
+ end
3941
+ pattern = Regexp.new(/^[a-z\d-]+$/)
3942
+ if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern
3943
+ fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling KubernetesProtection.update_aws_account, must conform to the pattern #{pattern}."
3944
+ end
3945
+
3946
+ # resource path
3947
+ local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
3948
+
3949
+ # query parameters
3950
+ query_params = opts[:query_params] || {}
3951
+ query_params[:'ids'] = @api_client.build_collection_param(ids, :csv)
3952
+ query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil?
3953
+
3954
+ # header parameters
3955
+ header_params = opts[:header_params] || {}
3956
+ # HTTP header 'Accept' (if needed)
3957
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3958
+
3959
+ # form parameters
3960
+ form_params = opts[:form_params] || {}
3961
+
3962
+ # http body (model)
3963
+ post_body = opts[:debug_body]
3964
+
3965
+ # return_type
3966
+ return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
3967
+
3968
+ # auth_names
3969
+ auth_names = opts[:debug_auth_names] || ['oauth2']
3970
+
3971
+ new_options = opts.merge(
3972
+ :operation => :"KubernetesProtection.update_aws_account",
3973
+ :header_params => header_params,
3974
+ :query_params => query_params,
3975
+ :form_params => form_params,
3976
+ :body => post_body,
3977
+ :auth_names => auth_names,
3978
+ :return_type => return_type
3979
+ )
3980
+
3981
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
3982
+ if @api_client.config.debugging
3983
+ @api_client.config.logger.debug "API called: KubernetesProtection#update_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3984
+ end
3985
+ return data, status_code, headers
3986
+ end
3987
+ end
3988
+ end