crimson-falcon 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1645 -189
- data/lib/crimson-falcon/api/alerts_api.rb +307 -19
- data/lib/crimson-falcon/api/{inventories_api.rb → cloud_snapshots_api.rb} +16 -16
- data/lib/crimson-falcon/api/configuration_assessment_api.rb +62 -0
- data/lib/crimson-falcon/api/container_alerts_api.rb +222 -0
- data/lib/crimson-falcon/api/container_detections_api.rb +408 -0
- data/lib/crimson-falcon/api/container_images_api.rb +711 -0
- data/lib/crimson-falcon/api/container_packages_api.rb +365 -0
- data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +693 -0
- data/lib/crimson-falcon/api/cspm_registration_api.rb +719 -49
- data/lib/crimson-falcon/api/custom_ioa_api.rb +2 -2
- data/lib/crimson-falcon/api/custom_storage_api.rb +590 -0
- data/lib/crimson-falcon/api/d4c_registration_api.rb +263 -6
- data/lib/crimson-falcon/api/drift_indicators_api.rb +350 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +352 -21
- data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -67
- data/lib/crimson-falcon/api/falconx_sandbox_api.rb +2 -2
- data/lib/crimson-falcon/api/filevantage_api.rb +1730 -45
- data/lib/crimson-falcon/api/foundry_logscale_api.rb +959 -0
- data/lib/crimson-falcon/api/hosts_api.rb +68 -64
- data/lib/crimson-falcon/api/image_assessment_policies_api.rb +738 -0
- data/lib/crimson-falcon/api/installation_tokens_api.rb +12 -12
- data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +3 -3
- data/lib/crimson-falcon/api/intel_api.rb +4 -4
- data/lib/crimson-falcon/api/ioc_api.rb +226 -0
- data/lib/crimson-falcon/api/kubernetes_protection_api.rb +2498 -13
- data/lib/crimson-falcon/api/message_center_api.rb +11 -11
- data/lib/crimson-falcon/api/ods_api.rb +68 -6
- data/lib/crimson-falcon/api/real_time_response_admin_api.rb +149 -0
- data/lib/crimson-falcon/api/real_time_response_audit_api.rb +113 -0
- data/lib/crimson-falcon/api/recon_api.rb +6 -6
- data/lib/crimson-falcon/api/runtime_detections_api.rb +106 -0
- data/lib/crimson-falcon/api/{vulnerabilities_evaluation_logic_api.rb → spotlight_evaluation_logic_api.rb} +13 -13
- data/lib/crimson-falcon/api/{vulnerabilities_api.rb → spotlight_vulnerabilities_api.rb} +25 -25
- data/lib/crimson-falcon/api/unidentified_containers_api.rb +222 -0
- data/lib/crimson-falcon/api/workflows_api.rb +1037 -0
- data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +266 -0
- data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/api_detects_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/api_detects_query_paging.rb +257 -0
- data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_device_count_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{common_entities_response.rb → api_entities_response.rb} +3 -8
- data/lib/crimson-falcon/models/api_execution_results_response.rb +266 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_location_v1.rb +243 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_operating_system_v1.rb +339 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_bot_v1.rb +299 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_financial_v1.rb +3 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_location_v1.rb +6 -0
- data/lib/crimson-falcon/models/api_exposed_data_record_social_v1.rb +9 -0
- data/lib/crimson-falcon/models/api_meta_info.rb +274 -0
- data/lib/crimson-falcon/models/api_notification_exposed_data_record_v1.rb +30 -1
- data/lib/crimson-falcon/models/api_object_metadata.rb +290 -0
- data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +266 -0
- data/lib/crimson-falcon/models/{api_aggregates_response.rb → api_resource_ids_response.rb} +4 -4
- data/lib/crimson-falcon/models/api_response_pagination.rb +249 -0
- data/lib/crimson-falcon/models/apidomain_dynamic_execute_search_request_v1.rb +285 -0
- data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +293 -0
- data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_v1.rb +343 -0
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/apidomain_repository_v1.rb +295 -0
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +326 -0
- data/lib/crimson-falcon/models/apidomain_view_connection_v1.rb +253 -0
- data/lib/crimson-falcon/models/{public_acl.rb → changes_acl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_acl_change.rb → changes_acl_change.rb} +3 -3
- data/lib/crimson-falcon/models/{public_before.rb → changes_after.rb} +3 -3
- data/lib/crimson-falcon/models/{public_attribute.rb → changes_attribute.rb} +3 -3
- data/lib/crimson-falcon/models/{public_basic.rb → changes_basic.rb} +3 -3
- data/lib/crimson-falcon/models/{public_after.rb → changes_before.rb} +3 -3
- data/lib/crimson-falcon/models/{public_change.rb → changes_change.rb} +11 -11
- data/lib/crimson-falcon/models/{public_dacl.rb → changes_dacl.rb} +4 -4
- data/lib/crimson-falcon/models/{public_dacl_entity.rb → changes_dacl_entity.rb} +19 -5
- data/lib/crimson-falcon/models/{public_diff.rb → changes_diff.rb} +4 -4
- data/lib/crimson-falcon/models/{public_diff_hash.rb → changes_diff_hash.rb} +3 -3
- data/lib/crimson-falcon/models/{public_diff_type.rb → changes_diff_type.rb} +4 -4
- data/lib/crimson-falcon/models/changes_get_changes_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_owner.rb → changes_group.rb} +5 -5
- data/lib/crimson-falcon/models/changes_high_volume_query_meta.rb +271 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_paging.rb +267 -0
- data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +266 -0
- data/lib/crimson-falcon/models/{public_host.rb → changes_host.rb} +4 -4
- data/lib/crimson-falcon/models/{public_host_group.rb → changes_host_group.rb} +3 -3
- data/lib/crimson-falcon/models/{public_group.rb → changes_owner.rb} +5 -5
- data/lib/crimson-falcon/models/{public_permissions.rb → changes_permissions.rb} +6 -6
- data/lib/crimson-falcon/models/{public_permissions_lin.rb → changes_permissions_lin.rb} +8 -8
- data/lib/crimson-falcon/models/{public_policy.rb → changes_policy.rb} +4 -4
- data/lib/crimson-falcon/models/{public_policy_rule.rb → changes_policy_rule.rb} +3 -3
- data/lib/crimson-falcon/models/{public_policy_rule_group.rb → changes_policy_rule_group.rb} +4 -4
- data/lib/crimson-falcon/models/{public_prevalence.rb → changes_prevalence.rb} +3 -3
- data/lib/crimson-falcon/models/{public_tag.rb → changes_tag.rb} +3 -3
- data/lib/crimson-falcon/models/client_action_request.rb +242 -0
- data/lib/crimson-falcon/models/client_cost.rb +267 -0
- data/lib/crimson-falcon/models/client_costs.rb +281 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_v1.rb +253 -0
- data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/client_digest_flow.rb +267 -0
- data/lib/crimson-falcon/models/client_extra_in.rb +255 -0
- data/lib/crimson-falcon/models/client_extra_limit.rb +253 -0
- data/lib/crimson-falcon/models/{domain_msa_meta_info.rb → client_extra_rename.rb} +24 -19
- data/lib/crimson-falcon/models/client_extra_sort.rb +276 -0
- data/lib/crimson-falcon/models/client_field.rb +269 -0
- data/lib/crimson-falcon/models/{models_job_meta_data.rb → client_job_status.rb} +70 -69
- data/lib/crimson-falcon/models/client_query_response_schemas_v1.rb +243 -0
- data/lib/crimson-falcon/models/client_query_result_metadata.rb +495 -0
- data/lib/crimson-falcon/models/client_repository.rb +281 -0
- data/lib/crimson-falcon/models/client_spent.rb +281 -0
- data/lib/crimson-falcon/models/client_system_definition_create_response.rb +271 -0
- data/lib/crimson-falcon/models/client_system_definition_de_provision_request.rb +285 -0
- data/lib/crimson-falcon/models/client_system_definition_promote_request.rb +314 -0
- data/lib/crimson-falcon/models/client_system_definition_provision_request.rb +299 -0
- data/lib/crimson-falcon/models/client_top_value.rb +253 -0
- data/lib/crimson-falcon/models/common_count_as_resource.rb +253 -0
- data/lib/crimson-falcon/models/common_count_response.rb +266 -0
- data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +266 -0
- data/lib/crimson-falcon/models/custom_type1255839303.rb +271 -0
- data/lib/crimson-falcon/models/custom_type3191042536.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +271 -0
- data/lib/crimson-falcon/models/definitions_definition_ext.rb +299 -0
- data/lib/crimson-falcon/models/definitions_definition_external_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response.rb +266 -0
- data/lib/crimson-falcon/models/definitions_definition_import_response_entity.rb +288 -0
- data/lib/crimson-falcon/models/definitions_flight_control_request.rb +279 -0
- data/lib/crimson-falcon/models/definitions_parameter_property.rb +239 -0
- data/lib/crimson-falcon/models/definitions_playbook_parameter.rb +257 -0
- data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_combined_detections.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +266 -0
- data/lib/crimson-falcon/models/detections_api_detections_count.rb +266 -0
- data/lib/crimson-falcon/models/detects_alert.rb +110 -6
- data/lib/crimson-falcon/models/detectsapi_aggregate_alert_query_request.rb +491 -0
- data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_aggregation_result_item.rb +331 -0
- data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_patch_entities_alerts_v3_request.rb +252 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_request.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +1 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_request.rb +242 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/device_device.rb +19 -1
- data/lib/crimson-falcon/models/device_mapped_device_policies.rb +10 -1
- data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
- data/lib/crimson-falcon/models/domain_actor_document.rb +270 -4
- data/lib/crimson-falcon/models/domain_actor_entity.rb +257 -0
- data/lib/crimson-falcon/models/domain_actor_news_document.rb +285 -0
- data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +19 -1
- data/lib/crimson-falcon/models/domain_api_finding_with_rule_v1.rb +12 -1
- data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +434 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +17 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +1 -11
- data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_asset_criticality_info_v1.rb +254 -0
- data/lib/crimson-falcon/models/domain_attachment.rb +298 -0
- data/lib/crimson-falcon/models/domain_aws_account_input.rb +311 -0
- data/lib/crimson-falcon/models/domain_aws_account_v2.rb +11 -1
- data/lib/crimson-falcon/models/domain_aws_batch_cluster_region.rb +267 -0
- data/lib/crimson-falcon/models/domain_azure_management_group_role_assignment.rb +266 -0
- data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +4 -26
- data/lib/crimson-falcon/models/domain_breached_item_v1.rb +40 -1
- data/lib/crimson-falcon/models/domain_card.rb +288 -0
- data/lib/crimson-falcon/models/domain_cid_group.rb +19 -1
- data/lib/crimson-falcon/models/domain_cid_policy_assignments.rb +23 -1
- data/lib/crimson-falcon/models/domain_cloud_scope.rb +13 -4
- data/lib/crimson-falcon/models/domain_credentials.rb +31 -12
- data/lib/crimson-falcon/models/domain_detailed_notification_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_device.rb +10 -1
- data/lib/crimson-falcon/models/domain_device_policy.rb +239 -0
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +70 -6
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +75 -1
- data/lib/crimson-falcon/models/{registration_msa_spec_meta_info_extension.rb → domain_exposed_data_record_bot_location_v1.rb} +24 -19
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_operating_system_v1.rb +399 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_bot_v1.rb +334 -0
- data/lib/crimson-falcon/models/domain_exposed_data_record_social_v1.rb +18 -4
- data/lib/crimson-falcon/models/domain_file_count_v2.rb +295 -0
- data/lib/crimson-falcon/models/domain_fragment_info.rb +299 -0
- data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_host.rb +342 -0
- data/lib/crimson-falcon/models/domain_incident.rb +4 -13
- data/lib/crimson-falcon/models/domain_ioc.rb +621 -0
- data/lib/crimson-falcon/models/domain_item_details_v1.rb +527 -0
- data/lib/crimson-falcon/models/domain_launch_export_job_request_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_mapped_device_policies.rb +234 -0
- data/lib/crimson-falcon/models/domain_marketplace_product.rb +288 -0
- data/lib/crimson-falcon/models/domain_matched_breach_summary_v1.rb +28 -1
- data/lib/crimson-falcon/models/domain_meta_info.rb +54 -13
- data/lib/crimson-falcon/models/domain_news_document.rb +13 -1
- data/lib/crimson-falcon/models/domain_notification_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_policy_info.rb +23 -1
- data/lib/crimson-falcon/models/domain_query_response.rb +7 -2
- data/lib/crimson-falcon/models/domain_report_malware.rb +264 -0
- data/lib/crimson-falcon/models/domain_rule.rb +63 -69
- data/lib/crimson-falcon/models/domain_scan.rb +67 -4
- data/lib/crimson-falcon/models/domain_scan_profile.rb +13 -4
- data/lib/crimson-falcon/models/domain_scan_v2.rb +621 -0
- data/lib/crimson-falcon/models/domain_schedule.rb +19 -34
- data/lib/crimson-falcon/models/domain_session.rb +0 -25
- data/lib/crimson-falcon/models/domain_telegram_channel_info.rb +243 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_payload.rb → domain_telegram_info.rb} +25 -26
- data/lib/crimson-falcon/models/domain_telegram_recipient_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_telegram_sender_info.rb +279 -0
- data/lib/crimson-falcon/models/domain_threat_entity.rb +235 -0
- data/lib/crimson-falcon/models/domain_user.rb +9 -27
- data/lib/crimson-falcon/models/domain_user_grants.rb +0 -20
- data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +266 -0
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_falcon_script.rb +521 -0
- data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +266 -0
- data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +266 -0
- data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/executions_activity_execution_result.rb +377 -0
- data/lib/crimson-falcon/models/executions_ancestor_execution.rb +270 -0
- data/lib/crimson-falcon/models/executions_child_execution_result.rb +295 -0
- data/lib/crimson-falcon/models/executions_execution_result.rb +390 -0
- data/lib/crimson-falcon/models/executions_iterations.rb +315 -0
- data/lib/crimson-falcon/models/executions_loop_result.rb +356 -0
- data/lib/crimson-falcon/models/executions_reference_link.rb +255 -0
- data/lib/crimson-falcon/models/executions_trigger_result.rb +270 -0
- data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -15
- data/lib/crimson-falcon/models/falconx_submission_v1.rb +37 -1
- data/lib/crimson-falcon/models/flows.rb +269 -0
- data/lib/crimson-falcon/models/fwmgr_msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/graph_condition.rb +257 -0
- data/lib/crimson-falcon/models/graph_configured_activity.rb +308 -0
- data/lib/crimson-falcon/models/graph_configured_trigger.rb +307 -0
- data/lib/crimson-falcon/models/graph_definition_model.rb +315 -0
- data/lib/crimson-falcon/models/{models_scan_results.rb → graph_end.rb} +24 -23
- data/lib/crimson-falcon/models/graph_flow.rb +274 -0
- data/lib/crimson-falcon/models/graph_gateway.rb +268 -0
- data/lib/crimson-falcon/models/graph_multi.rb +285 -0
- data/lib/crimson-falcon/models/graph_sub_model.rb +301 -0
- data/lib/crimson-falcon/models/graph_timer_event_definition.rb +290 -0
- data/lib/crimson-falcon/models/graph_validation_error.rb +300 -0
- data/lib/crimson-falcon/models/images_api_combined_image_export.rb +266 -0
- data/lib/crimson-falcon/models/images_api_customer_and_image.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +266 -0
- data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +266 -0
- data/lib/crimson-falcon/models/internal_sensor_status.rb +75 -1
- data/lib/crimson-falcon/models/jsonschema_authorization.rb +278 -0
- data/lib/crimson-falcon/models/jsonschema_collection_index_field.rb +267 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_complex_permissions_or.rb +236 -0
- data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +270 -0
- data/lib/crimson-falcon/models/jsonschema_permission.rb +253 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +306 -0
- data/lib/crimson-falcon/models/jsonschema_reset_fields.rb +241 -0
- data/lib/crimson-falcon/models/jsonschema_schema.rb +250 -0
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +254 -0
- data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +782 -0
- data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +281 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +267 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_data.rb +241 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_container_info.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_data.rb +239 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_data.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_data.rb +269 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_entry.rb +253 -0
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +266 -0
- data/lib/crimson-falcon/models/model_user_input_read_response.rb +267 -0
- data/lib/crimson-falcon/models/model_user_input_update_request.rb +255 -0
- data/lib/crimson-falcon/models/model_user_input_view_model.rb +379 -0
- data/lib/crimson-falcon/models/models_account_entities_input.rb +241 -0
- data/lib/crimson-falcon/models/models_account_status_response.rb +266 -0
- data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +266 -0
- data/lib/crimson-falcon/models/models_api_assessment_detections.rb +477 -0
- data/lib/crimson-falcon/models/models_api_combined_detections.rb +395 -0
- data/lib/crimson-falcon/models/models_api_container_alert.rb +339 -0
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +458 -0
- data/lib/crimson-falcon/models/models_api_detection_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_detection_count_by_type.rb +253 -0
- data/lib/crimson-falcon/models/models_api_drift_indicators.rb +577 -0
- data/lib/crimson-falcon/models/models_api_filter_label.rb +253 -0
- data/lib/crimson-falcon/models/models_api_filter_response.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_assessment.rb +309 -0
- data/lib/crimson-falcon/models/models_api_image_assessment_history.rb +255 -0
- data/lib/crimson-falcon/models/models_api_image_by_vulnerability_count.rb +295 -0
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +505 -0
- data/lib/crimson-falcon/models/models_api_image_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_image_issues_summary.rb +359 -0
- data/lib/crimson-falcon/models/models_api_image_vulnerabilities_summary.rb +357 -0
- data/lib/crimson-falcon/models/models_api_kubernetes_iom.rb +796 -0
- data/lib/crimson-falcon/models/{domain_notification_details_v1.rb → models_api_package_combined.rb} +77 -85
- data/lib/crimson-falcon/models/models_api_package_vulnerability.rb +283 -0
- data/lib/crimson-falcon/models/models_api_packages_by_vuln_count.rb +309 -0
- data/lib/crimson-falcon/models/models_api_policy_count_by_action.rb +253 -0
- data/lib/crimson-falcon/models/models_api_policy_data.rb +257 -0
- data/lib/crimson-falcon/models/models_api_policy_entity.rb +332 -0
- data/lib/crimson-falcon/models/models_api_policy_exclusion.rb +301 -0
- data/lib/crimson-falcon/models/models_api_policy_group.rb +313 -0
- data/lib/crimson-falcon/models/models_api_policy_group_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_policy_rule.rb +248 -0
- data/lib/crimson-falcon/models/models_api_policy_rules_data.rb +241 -0
- data/lib/crimson-falcon/models/models_api_precedence_request.rb +241 -0
- data/lib/crimson-falcon/models/models_api_runtime_detection.rb +987 -0
- data/lib/crimson-falcon/models/models_api_unidentified_container.rb +525 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_image_count.rb +283 -0
- data/lib/crimson-falcon/models/models_api_vuln_by_publication_date.rb +309 -0
- data/lib/crimson-falcon/models/models_api_vuln_count.rb +239 -0
- data/lib/crimson-falcon/models/models_api_vuln_count_by_severity.rb +253 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +407 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_details.rb +365 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_info.rb +383 -0
- data/lib/crimson-falcon/models/models_cluster.rb +539 -0
- data/lib/crimson-falcon/models/models_cluster_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container.rb +831 -0
- data/lib/crimson-falcon/models/models_container_coverage.rb +253 -0
- data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +266 -0
- data/lib/crimson-falcon/models/models_container_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_container_image.rb +453 -0
- data/lib/crimson-falcon/models/models_container_information.rb +253 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot.rb +353 -0
- data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +266 -0
- data/lib/crimson-falcon/models/models_create_image_group_request.rb +271 -0
- data/lib/crimson-falcon/models/models_create_policy_request.rb +253 -0
- data/lib/crimson-falcon/models/models_definition_create_request_v2.rb +263 -0
- data/lib/crimson-falcon/models/models_definition_update_request_v2.rb +288 -0
- data/lib/crimson-falcon/models/{models_snapshot_inventory_application.rb → models_deployment.rb} +85 -85
- data/lib/crimson-falcon/models/models_deployment_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_exclusion_condition.rb +310 -0
- data/lib/crimson-falcon/models/models_exclusion_condition_request.rb +273 -0
- data/lib/crimson-falcon/models/models_image_information.rb +267 -0
- data/lib/crimson-falcon/models/models_image_summary_packages_info.rb +253 -0
- data/lib/crimson-falcon/models/models_issues_summary_container_info.rb +267 -0
- data/lib/crimson-falcon/models/models_light_weight_config.rb +347 -0
- data/lib/crimson-falcon/models/models_node.rb +723 -0
- data/lib/crimson-falcon/models/{public_get_changes_response.rb → models_node_entity_response.rb} +4 -4
- data/lib/crimson-falcon/models/models_package_name_version_type.rb +295 -0
- data/lib/crimson-falcon/models/models_patch_image_group_request.rb +262 -0
- data/lib/crimson-falcon/models/models_patch_policy_request.rb +276 -0
- data/lib/crimson-falcon/models/models_pod.rb +827 -0
- data/lib/crimson-falcon/models/models_pod_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_request_api_policy_data.rb +241 -0
- data/lib/crimson-falcon/models/models_snapshot_account_status.rb +341 -0
- data/lib/crimson-falcon/models/models_update_exclusions_request.rb +241 -0
- data/lib/crimson-falcon/models/msa_aggregation_result.rb +10 -1
- data/lib/crimson-falcon/models/packages_api_combined_package.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +259 -0
- data/lib/crimson-falcon/models/parameter_activity_config_provision_parameter.rb +255 -0
- data/lib/crimson-falcon/models/parameter_activity_provision_parameters.rb +249 -0
- data/lib/crimson-falcon/models/parameter_activity_selection_parameter.rb +270 -0
- data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +284 -0
- data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +269 -0
- data/lib/crimson-falcon/models/parameter_condition_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_template_provision_parameters.rb +255 -0
- data/lib/crimson-falcon/models/parameter_trigger_field_parameter.rb +259 -0
- data/lib/crimson-falcon/models/parameter_trigger_parameter.rb +257 -0
- data/lib/crimson-falcon/models/parameter_trigger_provision_parameter.rb +257 -0
- data/lib/crimson-falcon/models/policies_assigned_host_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_assigned_rule_group.rb +253 -0
- data/lib/crimson-falcon/models/policies_create_request.rb +257 -0
- data/lib/crimson-falcon/models/policies_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_policy.rb +362 -0
- data/lib/crimson-falcon/models/policies_precedence_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_response.rb +266 -0
- data/lib/crimson-falcon/models/policies_update_request.rb +266 -0
- data/lib/crimson-falcon/models/quarantine_quarantined_file.rb +12 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +10 -1
- data/lib/crimson-falcon/models/registration_azure_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_azure_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_account_v1_ext.rb +29 -1
- data/lib/crimson-falcon/models/registration_azure_management_group_create_request_external_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_external_v1.rb +249 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/registration_azure_management_group_v1_ext.rb +452 -0
- data/lib/crimson-falcon/models/registration_gcp_account_ext_request_v2.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +248 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +302 -0
- data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +271 -0
- data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +284 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +261 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +271 -0
- data/lib/crimson-falcon/models/registration_iom_event_id_response_meta.rb +281 -0
- data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +17 -1
- data/lib/crimson-falcon/models/registration_next_token_pagination.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_assigned_rule.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_create_request.rb +262 -0
- data/lib/crimson-falcon/models/rulegroups_delete_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_policy_assignment.rb +253 -0
- data/lib/crimson-falcon/models/rulegroups_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_rule.rb +579 -0
- data/lib/crimson-falcon/models/rulegroups_rule_group.rb +324 -0
- data/lib/crimson-falcon/models/rulegroups_rules_response.rb +266 -0
- data/lib/crimson-falcon/models/rulegroups_update_request.rb +262 -0
- data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/{sadomain_submit_for_blocking_info.rb → sadomain_submission_information.rb} +3 -3
- data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +11 -2
- data/lib/crimson-falcon/models/scheduledexclusions_create_request.rb +316 -0
- data/lib/crimson-falcon/models/scheduledexclusions_repeated.rb +292 -0
- data/lib/crimson-falcon/models/scheduledexclusions_response.rb +266 -0
- data/lib/crimson-falcon/models/scheduledexclusions_scheduled_exclusion.rb +348 -0
- data/lib/crimson-falcon/models/scheduledexclusions_update_request.rb +330 -0
- data/lib/crimson-falcon/models/sv_exclusions_create_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_sv_exclusion_v1.rb +10 -1
- data/lib/crimson-falcon/models/sv_exclusions_update_req_v1.rb +10 -1
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +266 -0
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +266 -0
- data/lib/crimson-falcon/models/v2_activity.rb +264 -0
- data/lib/crimson-falcon/models/v2_activity_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_activity_properties.rb +241 -0
- data/lib/crimson-falcon/models/v2_condition.rb +286 -0
- data/lib/crimson-falcon/models/v2_condition_parameters.rb +241 -0
- data/lib/crimson-falcon/models/v2_definition.rb +374 -0
- data/lib/crimson-falcon/models/v2_for_loop.rb +253 -0
- data/lib/crimson-falcon/models/v2_loop.rb +281 -0
- data/lib/crimson-falcon/models/v2_parameters.rb +264 -0
- data/lib/crimson-falcon/models/v2_trigger.rb +277 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +266 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +266 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +366 -37
- data/spec/api/alerts_api_spec.rb +60 -8
- data/spec/api/{inventories_api_spec.rb → cloud_snapshots_api_spec.rb} +10 -10
- data/spec/api/configuration_assessment_api_spec.rb +11 -0
- data/spec/api/container_alerts_api_spec.rb +88 -0
- data/spec/api/container_detections_api_spec.rb +125 -0
- data/spec/api/container_images_api_spec.rb +182 -0
- data/spec/api/container_packages_api_spec.rb +119 -0
- data/spec/api/container_vulnerabilities_api_spec.rb +184 -0
- data/spec/api/cspm_registration_api_spec.rb +123 -1
- data/spec/api/custom_ioa_api_spec.rb +1 -1
- data/spec/api/custom_storage_api_spec.rb +133 -0
- data/spec/api/d4c_registration_api_spec.rb +47 -0
- data/spec/api/drift_indicators_api_spec.rb +114 -0
- data/spec/api/falcon_complete_dashboard_api_spec.rb +65 -7
- data/spec/api/falcon_container_image_api_spec.rb +0 -14
- data/spec/api/falconx_sandbox_api_spec.rb +1 -1
- data/spec/api/filevantage_api_spec.rb +315 -8
- data/spec/api/foundry_logscale_api_spec.rb +226 -0
- data/spec/api/hosts_api_spec.rb +12 -12
- data/spec/api/image_assessment_policies_api_spec.rb +172 -0
- data/spec/api/installation_tokens_api_spec.rb +4 -4
- data/spec/api/installation_tokens_settings_api_spec.rb +1 -1
- data/spec/api/intel_api_spec.rb +2 -2
- data/spec/api/ioc_api_spec.rb +41 -0
- data/spec/api/kubernetes_protection_api_spec.rb +480 -0
- data/spec/api/message_center_api_spec.rb +3 -3
- data/spec/api/ods_api_spec.rb +13 -2
- data/spec/api/real_time_response_admin_api_spec.rb +25 -0
- data/spec/api/real_time_response_audit_api_spec.rb +67 -0
- data/spec/api/recon_api_spec.rb +3 -3
- data/spec/api/runtime_detections_api_spec.rb +66 -0
- data/spec/api/{vulnerabilities_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_api_spec.rb} +6 -6
- data/spec/api/{vulnerabilities_api_spec.rb → spotlight_vulnerabilities_api_spec.rb} +8 -8
- data/spec/api/unidentified_containers_api_spec.rb +88 -0
- data/spec/api/workflows_api_spec.rb +224 -0
- data/spec/models/alerts_container_alerts_count_value_spec.rb +63 -0
- data/spec/models/alerts_container_alerts_entity_response_spec.rb +63 -0
- data/spec/models/api_detects_query_meta_spec.rb +69 -0
- data/spec/models/api_detects_query_paging_spec.rb +63 -0
- data/spec/models/{api_aggregates_response_spec.rb → api_device_count_resp_v1_spec.rb} +6 -6
- data/spec/models/api_device_count_v1_spec.rb +69 -0
- data/spec/models/api_devices_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/api_entities_response_spec.rb +63 -0
- data/spec/models/api_execution_results_response_spec.rb +63 -0
- data/spec/models/api_exposed_data_record_bot_location_v1_spec.rb +57 -0
- data/spec/models/api_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/api_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/api_meta_info_spec.rb +69 -0
- data/spec/models/api_notification_exposed_data_record_v1_spec.rb +18 -0
- data/spec/models/api_object_metadata_spec.rb +75 -0
- data/spec/models/api_processes_ran_on_resp_v1_spec.rb +63 -0
- data/spec/models/{common_entities_response_spec.rb → api_resource_ids_response_spec.rb} +6 -6
- data/spec/models/api_response_pagination_spec.rb +57 -0
- data/spec/models/apidomain_dynamic_execute_search_request_v1_spec.rb +75 -0
- data/spec/models/apidomain_query_response_v1_spec.rb +81 -0
- data/spec/models/apidomain_query_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/{models_snapshot_inventory_application_spec.rb → apidomain_repo_view_list_item_v1_spec.rb} +15 -15
- data/spec/models/apidomain_repo_view_list_item_wrapper_v1_spec.rb +63 -0
- data/spec/models/apidomain_repository_v1_spec.rb +75 -0
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +111 -0
- data/spec/models/apidomain_view_connection_v1_spec.rb +57 -0
- data/spec/models/{public_acl_change_spec.rb → changes_acl_change_spec.rb} +6 -6
- data/spec/models/{public_acl_spec.rb → changes_acl_spec.rb} +6 -6
- data/spec/models/{public_before_spec.rb → changes_after_spec.rb} +6 -6
- data/spec/models/{public_attribute_spec.rb → changes_attribute_spec.rb} +6 -6
- data/spec/models/{public_basic_spec.rb → changes_basic_spec.rb} +6 -6
- data/spec/models/{public_after_spec.rb → changes_before_spec.rb} +6 -6
- data/spec/models/{public_change_spec.rb → changes_change_spec.rb} +6 -6
- data/spec/models/{public_dacl_entity_spec.rb → changes_dacl_entity_spec.rb} +12 -6
- data/spec/models/{public_dacl_spec.rb → changes_dacl_spec.rb} +6 -6
- data/spec/models/{public_diff_hash_spec.rb → changes_diff_hash_spec.rb} +6 -6
- data/spec/models/{public_diff_spec.rb → changes_diff_spec.rb} +6 -6
- data/spec/models/{public_diff_type_spec.rb → changes_diff_type_spec.rb} +6 -6
- data/spec/models/changes_get_changes_response_spec.rb +63 -0
- data/spec/models/{public_owner_spec.rb → changes_group_spec.rb} +6 -6
- data/spec/models/changes_high_volume_query_meta_spec.rb +69 -0
- data/spec/models/changes_high_volume_query_paging_spec.rb +63 -0
- data/spec/models/changes_high_volume_query_response_spec.rb +63 -0
- data/spec/models/{public_host_group_spec.rb → changes_host_group_spec.rb} +6 -6
- data/spec/models/{public_host_spec.rb → changes_host_spec.rb} +6 -6
- data/spec/models/{public_group_spec.rb → changes_owner_spec.rb} +6 -6
- data/spec/models/{public_permissions_lin_spec.rb → changes_permissions_lin_spec.rb} +6 -6
- data/spec/models/{public_permissions_spec.rb → changes_permissions_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_group_spec.rb → changes_policy_rule_group_spec.rb} +6 -6
- data/spec/models/{public_policy_rule_spec.rb → changes_policy_rule_spec.rb} +6 -6
- data/spec/models/{public_policy_spec.rb → changes_policy_spec.rb} +6 -6
- data/spec/models/{public_prevalence_spec.rb → changes_prevalence_spec.rb} +6 -6
- data/spec/models/{public_tag_spec.rb → changes_tag_spec.rb} +6 -6
- data/spec/models/client_action_request_spec.rb +51 -0
- data/spec/models/client_cost_spec.rb +63 -0
- data/spec/models/client_costs_spec.rb +69 -0
- data/spec/models/client_data_ingest_response_v1_spec.rb +57 -0
- data/spec/models/client_data_ingest_response_wrapper_v1_spec.rb +63 -0
- data/spec/models/client_digest_flow_spec.rb +63 -0
- data/spec/models/client_extra_in_spec.rb +57 -0
- data/spec/models/client_extra_limit_spec.rb +57 -0
- data/spec/models/client_extra_rename_spec.rb +57 -0
- data/spec/models/client_extra_sort_spec.rb +75 -0
- data/spec/models/client_field_spec.rb +63 -0
- data/spec/models/client_job_status_spec.rb +117 -0
- data/spec/models/client_query_response_schemas_v1_spec.rb +57 -0
- data/spec/models/client_query_result_metadata_spec.rb +159 -0
- data/spec/models/client_repository_spec.rb +69 -0
- data/spec/models/client_spent_spec.rb +69 -0
- data/spec/models/client_system_definition_create_response_spec.rb +63 -0
- data/spec/models/client_system_definition_de_provision_request_spec.rb +69 -0
- data/spec/models/client_system_definition_promote_request_spec.rb +81 -0
- data/spec/models/client_system_definition_provision_request_spec.rb +75 -0
- data/spec/models/client_top_value_spec.rb +57 -0
- data/spec/models/common_count_as_resource_spec.rb +57 -0
- data/spec/models/common_count_response_spec.rb +63 -0
- data/spec/models/common_generic_entity_response_string_spec.rb +63 -0
- data/spec/models/custom_type1255839303_spec.rb +63 -0
- data/spec/models/custom_type3191042536_spec.rb +63 -0
- data/spec/models/definitions_definition_entities_response_spec.rb +63 -0
- data/spec/models/definitions_definition_ext_spec.rb +75 -0
- data/spec/models/definitions_definition_external_response_spec.rb +63 -0
- data/spec/models/definitions_definition_import_response_entity_spec.rb +81 -0
- data/spec/models/definitions_definition_import_response_spec.rb +63 -0
- data/spec/models/definitions_flight_control_request_spec.rb +69 -0
- data/spec/models/definitions_parameter_property_spec.rb +51 -0
- data/spec/models/definitions_playbook_parameter_spec.rb +57 -0
- data/spec/models/detections_api_assessment_detections_spec.rb +63 -0
- data/spec/models/detections_api_combined_detections_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_severity_spec.rb +63 -0
- data/spec/models/detections_api_detections_by_type_spec.rb +63 -0
- data/spec/models/detections_api_detections_count_spec.rb +63 -0
- data/spec/models/detects_alert_spec.rb +42 -0
- data/spec/models/detectsapi_aggregate_alert_query_request_spec.rb +153 -0
- data/spec/models/detectsapi_aggregates_response_spec.rb +63 -0
- data/spec/models/detectsapi_aggregation_result_item_spec.rb +105 -0
- data/spec/models/detectsapi_aggregation_result_spec.rb +63 -0
- data/spec/models/detectsapi_alert_query_response_spec.rb +63 -0
- data/spec/models/detectsapi_patch_entities_alerts_v3_request_spec.rb +57 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_request_spec.rb +51 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +63 -0
- data/spec/models/detectsapi_response_fields_spec.rb +57 -0
- data/spec/models/device_device_spec.rb +12 -0
- data/spec/models/device_mapped_device_policies_spec.rb +6 -0
- data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
- data/spec/models/domain_actor_document_spec.rb +162 -0
- data/spec/models/domain_actor_entity_spec.rb +63 -0
- data/spec/models/domain_actor_news_document_spec.rb +69 -0
- data/spec/models/domain_api_finding_rule_v1_spec.rb +12 -0
- data/spec/models/domain_api_finding_with_rule_v1_spec.rb +6 -0
- data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
- data/spec/models/domain_api_rule_details_response_v1_spec.rb +63 -0
- data/spec/models/domain_api_rule_details_v1_spec.rb +135 -0
- data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +0 -6
- data/spec/models/domain_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_asset_criticality_info_v1_spec.rb +63 -0
- data/spec/models/domain_attachment_spec.rb +87 -0
- data/spec/models/domain_aws_account_input_spec.rb +81 -0
- data/spec/models/domain_aws_account_v2_spec.rb +6 -0
- data/spec/models/domain_aws_batch_cluster_region_spec.rb +63 -0
- data/spec/models/domain_azure_management_group_role_assignment_spec.rb +69 -0
- data/spec/models/domain_base_api_vulnerability_v2_spec.rb +0 -12
- data/spec/models/domain_breached_item_v1_spec.rb +18 -0
- data/spec/models/domain_card_spec.rb +87 -0
- data/spec/models/domain_cid_group_spec.rb +12 -0
- data/spec/models/domain_cid_policy_assignments_spec.rb +12 -0
- data/spec/models/domain_cloud_scope_spec.rb +6 -0
- data/spec/models/domain_credentials_spec.rb +13 -1
- data/spec/models/domain_device_policy_spec.rb +51 -0
- data/spec/models/domain_device_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +36 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +36 -0
- data/spec/models/{registration_msa_spec_meta_info_extension_spec.rb → domain_exposed_data_record_bot_location_v1_spec.rb} +8 -8
- data/spec/models/domain_exposed_data_record_bot_operating_system_v1_spec.rb +117 -0
- data/spec/models/domain_exposed_data_record_bot_v1_spec.rb +93 -0
- data/spec/models/domain_exposed_data_record_social_v1_spec.rb +6 -0
- data/spec/models/domain_file_count_v2_spec.rb +75 -0
- data/spec/models/domain_fragment_info_spec.rb +87 -0
- data/spec/models/domain_gcp_account_v1_spec.rb +6 -0
- data/spec/models/domain_host_spec.rb +123 -0
- data/spec/models/domain_incident_spec.rb +0 -6
- data/spec/models/domain_ioc_spec.rb +261 -0
- data/spec/models/domain_item_details_v1_spec.rb +207 -0
- data/spec/models/domain_mapped_device_policies_spec.rb +51 -0
- data/spec/models/domain_marketplace_product_spec.rb +87 -0
- data/spec/models/domain_matched_breach_summary_v1_spec.rb +12 -0
- data/spec/models/domain_meta_info_spec.rb +25 -1
- data/spec/models/domain_news_document_spec.rb +6 -0
- data/spec/models/domain_notification_v1_spec.rb +6 -0
- data/spec/models/domain_policy_info_spec.rb +12 -0
- data/spec/models/domain_report_malware_spec.rb +63 -0
- data/spec/models/domain_rule_spec.rb +7 -13
- data/spec/models/domain_scan_profile_spec.rb +6 -0
- data/spec/models/domain_scan_spec.rb +42 -0
- data/spec/models/domain_scan_v2_spec.rb +273 -0
- data/spec/models/domain_schedule_spec.rb +3 -3
- data/spec/models/domain_telegram_channel_info_spec.rb +57 -0
- data/spec/models/domain_telegram_info_spec.rb +63 -0
- data/spec/models/domain_telegram_recipient_info_spec.rb +81 -0
- data/spec/models/domain_telegram_sender_info_spec.rb +81 -0
- data/spec/models/domain_threat_entity_spec.rb +51 -0
- data/spec/models/domain_user_spec.rb +1 -13
- data/spec/models/driftindicators_drift_entity_response_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +63 -0
- data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +63 -0
- data/spec/models/empowerapi_falcon_script_spec.rb +177 -0
- data/spec/models/empowerapi_msa_falcon_script_response_spec.rb +63 -0
- data/spec/models/empowerapi_msa_id_list_response_spec.rb +63 -0
- data/spec/models/entities_ods_scan_response_v2_spec.rb +63 -0
- data/spec/models/executions_activity_execution_result_spec.rb +117 -0
- data/spec/models/executions_ancestor_execution_spec.rb +63 -0
- data/spec/models/executions_child_execution_result_spec.rb +75 -0
- data/spec/models/executions_execution_result_spec.rb +111 -0
- data/spec/models/executions_iterations_spec.rb +81 -0
- data/spec/models/executions_loop_result_spec.rb +105 -0
- data/spec/models/executions_reference_link_spec.rb +57 -0
- data/spec/models/executions_trigger_result_spec.rb +69 -0
- data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -6
- data/spec/models/falconx_submission_v1_spec.rb +24 -0
- data/spec/models/flows_spec.rb +63 -0
- data/spec/models/fwmgr_msa_aggregation_result_spec.rb +6 -0
- data/spec/models/graph_condition_spec.rb +63 -0
- data/spec/models/graph_configured_activity_spec.rb +81 -0
- data/spec/models/graph_configured_trigger_spec.rb +87 -0
- data/spec/models/graph_definition_model_spec.rb +87 -0
- data/spec/models/graph_end_spec.rb +57 -0
- data/spec/models/graph_flow_spec.rb +69 -0
- data/spec/models/graph_gateway_spec.rb +63 -0
- data/spec/models/graph_multi_spec.rb +69 -0
- data/spec/models/graph_sub_model_spec.rb +81 -0
- data/spec/models/graph_timer_event_definition_spec.rb +75 -0
- data/spec/models/graph_validation_error_spec.rb +87 -0
- data/spec/models/images_api_combined_image_export_spec.rb +63 -0
- data/spec/models/images_api_customer_and_image_spec.rb +63 -0
- data/spec/models/images_api_image_assessment_history_spec.rb +63 -0
- data/spec/models/images_api_image_by_vulnerability_count_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_base_os_spec.rb +63 -0
- data/spec/models/images_api_image_count_by_state_spec.rb +63 -0
- data/spec/models/images_api_image_count_spec.rb +63 -0
- data/spec/models/images_api_image_issues_summary_spec.rb +63 -0
- data/spec/models/images_api_image_vulnerabilities_summary_spec.rb +63 -0
- data/spec/models/internal_sensor_status_spec.rb +48 -0
- data/spec/models/jsonschema_authorization_spec.rb +69 -0
- data/spec/models/jsonschema_collection_index_field_spec.rb +63 -0
- data/spec/models/jsonschema_complex_permissions_or_spec.rb +51 -0
- data/spec/models/jsonschema_complex_permissions_spec.rb +51 -0
- data/spec/models/jsonschema_condition_group_fields_spec.rb +75 -0
- data/spec/models/jsonschema_permission_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +99 -0
- data/spec/models/jsonschema_reset_fields_spec.rb +51 -0
- data/spec/models/jsonschema_schema_spec.rb +57 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +63 -0
- data/spec/models/jsonschema_sub_schema_spec.rb +399 -0
- data/spec/models/jsonschema_workflow_extensions_spec.rb +81 -0
- data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_cluster_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_cluster_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_container_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_container_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_container_info_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_data_spec.rb +51 -0
- data/spec/models/k8sassets_deployment_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_deployment_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_node_enrichment_data_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_node_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_data_spec.rb +63 -0
- data/spec/models/k8sassets_pod_enrichment_entry_spec.rb +57 -0
- data/spec/models/k8sassets_pod_enrichment_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_entity_response_spec.rb +63 -0
- data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +63 -0
- data/spec/models/model_user_input_read_response_spec.rb +63 -0
- data/spec/models/model_user_input_update_request_spec.rb +57 -0
- data/spec/models/model_user_input_view_model_spec.rb +105 -0
- data/spec/models/models_account_entities_input_spec.rb +51 -0
- data/spec/models/models_account_status_response_spec.rb +63 -0
- data/spec/models/models_aggregate_values_by_field_response_spec.rb +63 -0
- data/spec/models/models_api_assessment_detections_spec.rb +153 -0
- data/spec/models/models_api_combined_detections_spec.rb +117 -0
- data/spec/models/models_api_container_alert_spec.rb +93 -0
- data/spec/models/models_api_customer_and_image_spec.rb +147 -0
- data/spec/models/models_api_detection_count_by_type_spec.rb +57 -0
- data/spec/models/models_api_detection_count_spec.rb +51 -0
- data/spec/models/models_api_drift_indicators_spec.rb +195 -0
- data/spec/models/{models_scan_results_spec.rb → models_api_filter_label_spec.rb} +8 -8
- data/spec/models/models_api_filter_response_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_history_spec.rb +57 -0
- data/spec/models/models_api_image_assessment_spec.rb +81 -0
- data/spec/models/models_api_image_by_vulnerability_count_spec.rb +75 -0
- data/spec/models/models_api_image_combined_export_spec.rb +165 -0
- data/spec/models/models_api_image_count_spec.rb +51 -0
- data/spec/models/models_api_image_issues_summary_spec.rb +99 -0
- data/spec/models/models_api_image_vulnerabilities_summary_spec.rb +99 -0
- data/spec/models/models_api_kubernetes_iom_spec.rb +339 -0
- data/spec/models/models_api_package_combined_spec.rb +93 -0
- data/spec/models/models_api_package_vulnerability_spec.rb +69 -0
- data/spec/models/models_api_packages_by_vuln_count_spec.rb +81 -0
- data/spec/models/models_api_policy_count_by_action_spec.rb +57 -0
- data/spec/models/{domain_msa_meta_info_spec.rb → models_api_policy_data_spec.rb} +8 -8
- data/spec/models/{models_job_meta_data_spec.rb → models_api_policy_entity_spec.rb} +14 -14
- data/spec/models/models_api_policy_exclusion_spec.rb +81 -0
- data/spec/models/models_api_policy_group_data_spec.rb +51 -0
- data/spec/models/models_api_policy_group_spec.rb +87 -0
- data/spec/models/models_api_policy_rule_spec.rb +57 -0
- data/spec/models/models_api_policy_rules_data_spec.rb +51 -0
- data/spec/models/models_api_precedence_request_spec.rb +51 -0
- data/spec/models/models_api_runtime_detection_spec.rb +369 -0
- data/spec/models/models_api_unidentified_container_spec.rb +171 -0
- data/spec/models/models_api_vuln_by_image_count_spec.rb +69 -0
- data/spec/models/models_api_vuln_by_publication_date_spec.rb +81 -0
- data/spec/models/models_api_vuln_count_by_severity_spec.rb +57 -0
- data/spec/models/models_api_vuln_count_spec.rb +51 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +123 -0
- data/spec/models/models_api_vulnerability_details_spec.rb +105 -0
- data/spec/models/models_api_vulnerability_info_spec.rb +111 -0
- data/spec/models/models_cluster_entity_response_spec.rb +63 -0
- data/spec/models/models_cluster_spec.rb +177 -0
- data/spec/models/models_container_coverage_response_entity_spec.rb +63 -0
- data/spec/models/models_container_coverage_spec.rb +57 -0
- data/spec/models/models_container_entity_response_spec.rb +63 -0
- data/spec/models/models_container_image_spec.rb +141 -0
- data/spec/models/models_container_information_spec.rb +57 -0
- data/spec/models/models_container_runtime_pivot_response_spec.rb +63 -0
- data/spec/models/models_container_runtime_pivot_spec.rb +99 -0
- data/spec/models/models_container_spec.rb +429 -0
- data/spec/models/models_create_image_group_request_spec.rb +69 -0
- data/spec/models/models_create_policy_request_spec.rb +57 -0
- data/spec/models/models_definition_create_request_v2_spec.rb +63 -0
- data/spec/models/models_definition_update_request_v2_spec.rb +75 -0
- data/spec/models/models_deployment_entity_response_spec.rb +63 -0
- data/spec/models/models_deployment_spec.rb +99 -0
- data/spec/models/models_exclusion_condition_request_spec.rb +69 -0
- data/spec/models/models_exclusion_condition_spec.rb +87 -0
- data/spec/models/models_image_information_spec.rb +63 -0
- data/spec/models/models_image_summary_packages_info_spec.rb +57 -0
- data/spec/models/models_issues_summary_container_info_spec.rb +63 -0
- data/spec/models/models_light_weight_config_spec.rb +93 -0
- data/spec/models/{public_get_changes_response_spec.rb → models_node_entity_response_spec.rb} +6 -6
- data/spec/models/models_node_spec.rb +255 -0
- data/spec/models/models_package_name_version_type_spec.rb +75 -0
- data/spec/models/models_patch_image_group_request_spec.rb +63 -0
- data/spec/models/models_patch_policy_request_spec.rb +69 -0
- data/spec/models/models_pod_entity_response_spec.rb +63 -0
- data/spec/models/models_pod_spec.rb +297 -0
- data/spec/models/models_policy_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_exclusion_entity_response_spec.rb +63 -0
- data/spec/models/models_policy_group_entity_response_spec.rb +63 -0
- data/spec/models/models_request_api_policy_data_spec.rb +51 -0
- data/spec/models/models_snapshot_account_status_spec.rb +93 -0
- data/spec/models/models_update_exclusions_request_spec.rb +51 -0
- data/spec/models/msa_aggregation_result_spec.rb +6 -0
- data/spec/models/packages_api_combined_package_export_spec.rb +63 -0
- data/spec/models/packages_api_combined_package_spec.rb +63 -0
- data/spec/models/packages_api_packages_by_vuln_count_spec.rb +63 -0
- data/spec/models/parameter_activity_config_parameter_value_spec.rb +63 -0
- data/spec/models/parameter_activity_config_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_activity_provision_parameters_spec.rb +57 -0
- data/spec/models/parameter_activity_selection_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_field_parameter_spec.rb +75 -0
- data/spec/models/parameter_condition_field_provision_parameter_spec.rb +63 -0
- data/spec/models/parameter_condition_provision_parameter_spec.rb +57 -0
- data/spec/models/parameter_template_provision_parameters_spec.rb +63 -0
- data/spec/models/parameter_trigger_field_parameter_spec.rb +63 -0
- data/spec/models/parameter_trigger_parameter_spec.rb +57 -0
- data/spec/models/parameter_trigger_provision_parameter_spec.rb +57 -0
- data/spec/models/policies_assigned_host_group_spec.rb +57 -0
- data/spec/models/policies_assigned_rule_group_spec.rb +57 -0
- data/spec/models/policies_create_request_spec.rb +63 -0
- data/spec/models/policies_delete_response_spec.rb +63 -0
- data/spec/models/policies_policy_spec.rb +117 -0
- data/spec/models/policies_precedence_response_spec.rb +63 -0
- data/spec/models/policies_response_spec.rb +63 -0
- data/spec/models/policies_update_request_spec.rb +69 -0
- data/spec/models/quarantine_quarantined_file_spec.rb +6 -0
- data/spec/models/registration_aws_account_patch_spec.rb +6 -0
- data/spec/models/registration_azure_account_patch_request_spec.rb +51 -0
- data/spec/models/{models_snapshot_inventory_payload_spec.rb → registration_azure_account_patch_spec.rb} +8 -8
- data/spec/models/registration_azure_account_v1_ext_spec.rb +18 -0
- data/spec/models/registration_azure_management_group_create_request_external_v1_spec.rb +51 -0
- data/spec/models/registration_azure_management_group_external_v1_spec.rb +57 -0
- data/spec/models/registration_azure_management_group_response_v1_spec.rb +63 -0
- data/spec/models/registration_azure_management_group_v1_ext_spec.rb +165 -0
- data/spec/models/registration_gcp_account_ext_request_v2_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_request_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_spec.rb +57 -0
- data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +93 -0
- data/spec/models/registration_gcp_account_response_ext_v2_spec.rb +63 -0
- data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +81 -0
- data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +69 -0
- data/spec/models/registration_gcp_service_account_response_ext_v1_spec.rb +63 -0
- data/spec/models/registration_iom_event_id_response_meta_spec.rb +69 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/registration_next_token_pagination_spec.rb +69 -0
- data/spec/models/rulegroups_assigned_rule_spec.rb +57 -0
- data/spec/models/rulegroups_create_request_spec.rb +63 -0
- data/spec/models/rulegroups_delete_response_spec.rb +63 -0
- data/spec/models/rulegroups_policy_assignment_spec.rb +57 -0
- data/spec/models/rulegroups_response_spec.rb +63 -0
- data/spec/models/{domain_notification_details_v1_spec.rb → rulegroups_rule_group_spec.rb} +16 -16
- data/spec/models/rulegroups_rule_spec.rb +255 -0
- data/spec/models/rulegroups_rules_response_spec.rb +63 -0
- data/spec/models/rulegroups_update_request_spec.rb +63 -0
- data/spec/models/runtimedetections_detections_entity_response_spec.rb +63 -0
- data/spec/models/{sadomain_submit_for_blocking_info_spec.rb → sadomain_submission_information_spec.rb} +6 -6
- data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
- data/spec/models/scheduledexclusions_create_request_spec.rb +99 -0
- data/spec/models/scheduledexclusions_repeated_spec.rb +87 -0
- data/spec/models/scheduledexclusions_response_spec.rb +63 -0
- data/spec/models/scheduledexclusions_scheduled_exclusion_spec.rb +117 -0
- data/spec/models/scheduledexclusions_update_request_spec.rb +105 -0
- data/spec/models/sv_exclusions_create_req_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_sv_exclusion_v1_spec.rb +6 -0
- data/spec/models/sv_exclusions_update_req_v1_spec.rb +6 -0
- data/spec/models/unidentifiedcontainers_unidentified_container_api_response_spec.rb +63 -0
- data/spec/models/unidentifiedcontainers_unidentified_containers_count_value_spec.rb +63 -0
- data/spec/models/v2_activity_parameters_spec.rb +51 -0
- data/spec/models/v2_activity_properties_spec.rb +51 -0
- data/spec/models/v2_activity_spec.rb +63 -0
- data/spec/models/v2_condition_parameters_spec.rb +51 -0
- data/spec/models/v2_condition_spec.rb +75 -0
- data/spec/models/v2_definition_spec.rb +123 -0
- data/spec/models/v2_for_loop_spec.rb +57 -0
- data/spec/models/v2_loop_spec.rb +75 -0
- data/spec/models/v2_parameters_spec.rb +69 -0
- data/spec/models/v2_trigger_spec.rb +75 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_details_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_info_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_combined_vulnerability_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_image_count_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_by_publication_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_actively_exploited_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_csp_rating_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_cvss_score_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_by_severity_spec.rb +63 -0
- data/spec/models/vulnerabilities_api_vuln_count_spec.rb +63 -0
- metadata +1934 -947
@@ -288,6 +288,128 @@ module Falcon
|
|
288
288
|
return data, status_code, headers
|
289
289
|
end
|
290
290
|
|
291
|
+
# Retrieve containers by container_runtime_version
|
292
|
+
# @param [Hash] opts the optional parameters
|
293
|
+
# @option opts [Integer] :limit The upper-bound on the number of container records to retrieve.
|
294
|
+
# @option opts [Integer] :offset It is used to get the offset
|
295
|
+
# @option opts [String] :sort Field to sort results by
|
296
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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
|
+
# Retrieve containers by container_runtime_version
|
304
|
+
# @param [Hash] opts the optional parameters
|
305
|
+
# @option opts [Integer] :limit The upper-bound on the number of container records to retrieve.
|
306
|
+
# @option opts [Integer] :offset It is used to get the offset
|
307
|
+
# @option opts [String] :sort Field to sort results by
|
308
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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
|
+
|
291
413
|
# Provides a list of AWS accounts.
|
292
414
|
# @param [Hash] opts the optional parameters
|
293
415
|
# @option opts [Array<String>] :ids AWS Account IDs
|
@@ -992,6 +1114,64 @@ module Falcon
|
|
992
1114
|
return data, status_code, headers
|
993
1115
|
end
|
994
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 filters: agent_id,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#group_containers_by_managed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1171
|
+
end
|
1172
|
+
return data, status_code, headers
|
1173
|
+
end
|
1174
|
+
|
995
1175
|
# Provides the azure subscriptions registered to Kubernetes Protection
|
996
1176
|
# @param [Hash] opts the optional parameters
|
997
1177
|
# @option opts [Array<String>] :ids Azure Tenant IDs
|
@@ -1190,26 +1370,38 @@ module Falcon
|
|
1190
1370
|
return data, status_code, headers
|
1191
1371
|
end
|
1192
1372
|
|
1193
|
-
#
|
1373
|
+
# Retrieve kubernetes clusters identified by the provided filter criteria
|
1194
1374
|
# @param [Hash] opts the optional parameters
|
1195
|
-
# @
|
1196
|
-
|
1197
|
-
|
1375
|
+
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1376
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1377
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
1378
|
+
# @option opts [String] :sort Field to sort results by
|
1379
|
+
# @return [ModelsClusterEntityResponse]
|
1380
|
+
def read_cluster_combined(opts = {})
|
1381
|
+
data, _status_code, _headers = read_cluster_combined_with_http_info(opts)
|
1198
1382
|
data
|
1199
1383
|
end
|
1200
1384
|
|
1201
|
-
#
|
1385
|
+
# Retrieve kubernetes clusters identified by the provided filter criteria
|
1202
1386
|
# @param [Hash] opts the optional parameters
|
1203
|
-
# @
|
1204
|
-
|
1387
|
+
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1388
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1389
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
1390
|
+
# @option opts [String] :sort Field to sort results by
|
1391
|
+
# @return [Array<(ModelsClusterEntityResponse, Integer, Hash)>] ModelsClusterEntityResponse data, response status code and response headers
|
1392
|
+
def read_cluster_combined_with_http_info(opts = {})
|
1205
1393
|
if @api_client.config.debugging
|
1206
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.
|
1394
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_cluster_combined ...'
|
1207
1395
|
end
|
1208
1396
|
# resource path
|
1209
|
-
local_var_path = '/
|
1397
|
+
local_var_path = '/container-security/combined/clusters/v1'
|
1210
1398
|
|
1211
1399
|
# query parameters
|
1212
1400
|
query_params = opts[:query_params] || {}
|
1401
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1402
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1403
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1404
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1213
1405
|
|
1214
1406
|
# header parameters
|
1215
1407
|
header_params = opts[:header_params] || {}
|
@@ -1223,13 +1415,13 @@ module Falcon
|
|
1223
1415
|
post_body = opts[:debug_body]
|
1224
1416
|
|
1225
1417
|
# return_type
|
1226
|
-
return_type = opts[:debug_return_type] || '
|
1418
|
+
return_type = opts[:debug_return_type] || 'ModelsClusterEntityResponse'
|
1227
1419
|
|
1228
1420
|
# auth_names
|
1229
1421
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1230
1422
|
|
1231
1423
|
new_options = opts.merge(
|
1232
|
-
:operation => :"KubernetesProtectionApi.
|
1424
|
+
:operation => :"KubernetesProtectionApi.read_cluster_combined",
|
1233
1425
|
:header_params => header_params,
|
1234
1426
|
:query_params => query_params,
|
1235
1427
|
:form_params => form_params,
|
@@ -1238,9 +1430,2302 @@ module Falcon
|
|
1238
1430
|
:return_type => return_type
|
1239
1431
|
)
|
1240
1432
|
|
1241
|
-
data, status_code, headers = @api_client.call_api(:
|
1433
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1242
1434
|
if @api_client.config.debugging
|
1243
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#
|
1435
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#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 filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
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 filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: last_seen
|
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 filters: last_seen
|
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: KubernetesProtectionApi.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 KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
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 filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
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 filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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
|
+
# Retrieve containers identified by the provided filter criteria
|
1735
|
+
# @param [Hash] opts the optional parameters
|
1736
|
+
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1737
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1738
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
1739
|
+
# @option opts [String] :sort Field to sort results by
|
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
|
+
# Retrieve containers identified by the provided filter criteria
|
1747
|
+
# @param [Hash] opts the optional parameters
|
1748
|
+
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1749
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1750
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
1751
|
+
# @option opts [String] :sort Field to sort results by
|
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: KubernetesProtectionApi.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[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1764
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1765
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#read_container_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1855
|
+
end
|
1856
|
+
return data, status_code, headers
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# Retrieve top container image registries
|
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
|
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
|
+
# Retrieve top container image registries
|
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
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: last_seen
|
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 filters: last_seen
|
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: KubernetesProtectionApi.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 KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: cid
|
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 filters: cid
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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
|
+
# Retrieve kubernetes deployments identified by the provided filter criteria
|
2334
|
+
# @param [Hash] opts the optional parameters
|
2335
|
+
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
2336
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2337
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
2338
|
+
# @option opts [String] :sort Field to sort results by
|
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
|
+
# Retrieve kubernetes deployments identified by the provided filter criteria
|
2346
|
+
# @param [Hash] opts the optional parameters
|
2347
|
+
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
2348
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2349
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
2350
|
+
# @option opts [String] :sort Field to sort results by
|
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: KubernetesProtectionApi.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[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2363
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2364
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
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 filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: last_seen
|
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 filters: last_seen
|
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: KubernetesProtectionApi.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 KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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 filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
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's for 7 days.
|
2646
|
+
# @param [Hash] opts the optional parameters
|
2647
|
+
# @option opts [String] :filter Filter images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
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 images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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: KubernetesProtectionApi.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 => :"KubernetesProtectionApi.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: KubernetesProtectionApi#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 kubernetes nodes identified by the provided filter criteria
|
2811
|
+
# @param [Hash] opts the optional parameters
|
2812
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2813
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2814
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
2815
|
+
# @option opts [String] :sort Field to sort results by
|
2816
|
+
# @return [ModelsNodeEntityResponse]
|
2817
|
+
def read_node_combined(opts = {})
|
2818
|
+
data, _status_code, _headers = read_node_combined_with_http_info(opts)
|
2819
|
+
data
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# Retrieve kubernetes nodes identified by the provided filter criteria
|
2823
|
+
# @param [Hash] opts the optional parameters
|
2824
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2825
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2826
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
2827
|
+
# @option opts [String] :sort Field to sort results by
|
2828
|
+
# @return [Array<(ModelsNodeEntityResponse, Integer, Hash)>] ModelsNodeEntityResponse data, response status code and response headers
|
2829
|
+
def read_node_combined_with_http_info(opts = {})
|
2830
|
+
if @api_client.config.debugging
|
2831
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_node_combined ...'
|
2832
|
+
end
|
2833
|
+
# resource path
|
2834
|
+
local_var_path = '/container-security/combined/nodes/v1'
|
2835
|
+
|
2836
|
+
# query parameters
|
2837
|
+
query_params = opts[:query_params] || {}
|
2838
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2839
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2840
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2841
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2842
|
+
|
2843
|
+
# header parameters
|
2844
|
+
header_params = opts[:header_params] || {}
|
2845
|
+
# HTTP header 'Accept' (if needed)
|
2846
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2847
|
+
|
2848
|
+
# form parameters
|
2849
|
+
form_params = opts[:form_params] || {}
|
2850
|
+
|
2851
|
+
# http body (model)
|
2852
|
+
post_body = opts[:debug_body]
|
2853
|
+
|
2854
|
+
# return_type
|
2855
|
+
return_type = opts[:debug_return_type] || 'ModelsNodeEntityResponse'
|
2856
|
+
|
2857
|
+
# auth_names
|
2858
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2859
|
+
|
2860
|
+
new_options = opts.merge(
|
2861
|
+
:operation => :"KubernetesProtectionApi.read_node_combined",
|
2862
|
+
:header_params => header_params,
|
2863
|
+
:query_params => query_params,
|
2864
|
+
:form_params => form_params,
|
2865
|
+
:body => post_body,
|
2866
|
+
:auth_names => auth_names,
|
2867
|
+
:return_type => return_type
|
2868
|
+
)
|
2869
|
+
|
2870
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2871
|
+
if @api_client.config.debugging
|
2872
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_node_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2873
|
+
end
|
2874
|
+
return data, status_code, headers
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# Retrieve node counts
|
2878
|
+
# @param [Hash] opts the optional parameters
|
2879
|
+
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2880
|
+
# @return [CommonCountResponse]
|
2881
|
+
def read_node_count(opts = {})
|
2882
|
+
data, _status_code, _headers = read_node_count_with_http_info(opts)
|
2883
|
+
data
|
2884
|
+
end
|
2885
|
+
|
2886
|
+
# Retrieve node counts
|
2887
|
+
# @param [Hash] opts the optional parameters
|
2888
|
+
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2889
|
+
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
2890
|
+
def read_node_count_with_http_info(opts = {})
|
2891
|
+
if @api_client.config.debugging
|
2892
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_node_count ...'
|
2893
|
+
end
|
2894
|
+
# resource path
|
2895
|
+
local_var_path = '/container-security/aggregates/nodes/count/v1'
|
2896
|
+
|
2897
|
+
# query parameters
|
2898
|
+
query_params = opts[:query_params] || {}
|
2899
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2900
|
+
|
2901
|
+
# header parameters
|
2902
|
+
header_params = opts[:header_params] || {}
|
2903
|
+
# HTTP header 'Accept' (if needed)
|
2904
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2905
|
+
|
2906
|
+
# form parameters
|
2907
|
+
form_params = opts[:form_params] || {}
|
2908
|
+
|
2909
|
+
# http body (model)
|
2910
|
+
post_body = opts[:debug_body]
|
2911
|
+
|
2912
|
+
# return_type
|
2913
|
+
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
2914
|
+
|
2915
|
+
# auth_names
|
2916
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2917
|
+
|
2918
|
+
new_options = opts.merge(
|
2919
|
+
:operation => :"KubernetesProtectionApi.read_node_count",
|
2920
|
+
:header_params => header_params,
|
2921
|
+
:query_params => query_params,
|
2922
|
+
:form_params => form_params,
|
2923
|
+
:body => post_body,
|
2924
|
+
:auth_names => auth_names,
|
2925
|
+
:return_type => return_type
|
2926
|
+
)
|
2927
|
+
|
2928
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2929
|
+
if @api_client.config.debugging
|
2930
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_node_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2931
|
+
end
|
2932
|
+
return data, status_code, headers
|
2933
|
+
end
|
2934
|
+
|
2935
|
+
# Retrieve node enrichment data
|
2936
|
+
# @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
|
2937
|
+
# @param [Hash] opts the optional parameters
|
2938
|
+
# @option opts [String] :filter Supported filters: last_seen
|
2939
|
+
# @return [K8sassetsNodeEnrichmentResponse]
|
2940
|
+
def read_node_enrichment(node_name, opts = {})
|
2941
|
+
data, _status_code, _headers = read_node_enrichment_with_http_info(node_name, opts)
|
2942
|
+
data
|
2943
|
+
end
|
2944
|
+
|
2945
|
+
# Retrieve node enrichment data
|
2946
|
+
# @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
|
2947
|
+
# @param [Hash] opts the optional parameters
|
2948
|
+
# @option opts [String] :filter Supported filters: last_seen
|
2949
|
+
# @return [Array<(K8sassetsNodeEnrichmentResponse, Integer, Hash)>] K8sassetsNodeEnrichmentResponse data, response status code and response headers
|
2950
|
+
def read_node_enrichment_with_http_info(node_name, opts = {})
|
2951
|
+
if @api_client.config.debugging
|
2952
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_node_enrichment ...'
|
2953
|
+
end
|
2954
|
+
# verify the required parameter 'node_name' is set
|
2955
|
+
if @api_client.config.client_side_validation && node_name.nil?
|
2956
|
+
fail ArgumentError, "Missing the required parameter 'node_name' when calling KubernetesProtectionApi.read_node_enrichment"
|
2957
|
+
end
|
2958
|
+
# resource path
|
2959
|
+
local_var_path = '/container-security/aggregates/enrichment/nodes/entities/v1'
|
2960
|
+
|
2961
|
+
# query parameters
|
2962
|
+
query_params = opts[:query_params] || {}
|
2963
|
+
query_params[:'node_name'] = @api_client.build_collection_param(node_name, :csv)
|
2964
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2965
|
+
|
2966
|
+
# header parameters
|
2967
|
+
header_params = opts[:header_params] || {}
|
2968
|
+
# HTTP header 'Accept' (if needed)
|
2969
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2970
|
+
|
2971
|
+
# form parameters
|
2972
|
+
form_params = opts[:form_params] || {}
|
2973
|
+
|
2974
|
+
# http body (model)
|
2975
|
+
post_body = opts[:debug_body]
|
2976
|
+
|
2977
|
+
# return_type
|
2978
|
+
return_type = opts[:debug_return_type] || 'K8sassetsNodeEnrichmentResponse'
|
2979
|
+
|
2980
|
+
# auth_names
|
2981
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2982
|
+
|
2983
|
+
new_options = opts.merge(
|
2984
|
+
:operation => :"KubernetesProtectionApi.read_node_enrichment",
|
2985
|
+
:header_params => header_params,
|
2986
|
+
:query_params => query_params,
|
2987
|
+
:form_params => form_params,
|
2988
|
+
:body => post_body,
|
2989
|
+
:auth_names => auth_names,
|
2990
|
+
:return_type => return_type
|
2991
|
+
)
|
2992
|
+
|
2993
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2994
|
+
if @api_client.config.debugging
|
2995
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_node_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2996
|
+
end
|
2997
|
+
return data, status_code, headers
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
# Bucket nodes by cloud providers
|
3001
|
+
# @param [Hash] opts the optional parameters
|
3002
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3003
|
+
# @return [ModelsAggregateValuesByFieldResponse]
|
3004
|
+
def read_nodes_by_cloud_count(opts = {})
|
3005
|
+
data, _status_code, _headers = read_nodes_by_cloud_count_with_http_info(opts)
|
3006
|
+
data
|
3007
|
+
end
|
3008
|
+
|
3009
|
+
# Bucket nodes by cloud providers
|
3010
|
+
# @param [Hash] opts the optional parameters
|
3011
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3012
|
+
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3013
|
+
def read_nodes_by_cloud_count_with_http_info(opts = {})
|
3014
|
+
if @api_client.config.debugging
|
3015
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_nodes_by_cloud_count ...'
|
3016
|
+
end
|
3017
|
+
# resource path
|
3018
|
+
local_var_path = '/container-security/aggregates/nodes/count-by-cloud/v1'
|
3019
|
+
|
3020
|
+
# query parameters
|
3021
|
+
query_params = opts[:query_params] || {}
|
3022
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3023
|
+
|
3024
|
+
# header parameters
|
3025
|
+
header_params = opts[:header_params] || {}
|
3026
|
+
# HTTP header 'Accept' (if needed)
|
3027
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3028
|
+
|
3029
|
+
# form parameters
|
3030
|
+
form_params = opts[:form_params] || {}
|
3031
|
+
|
3032
|
+
# http body (model)
|
3033
|
+
post_body = opts[:debug_body]
|
3034
|
+
|
3035
|
+
# return_type
|
3036
|
+
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3037
|
+
|
3038
|
+
# auth_names
|
3039
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3040
|
+
|
3041
|
+
new_options = opts.merge(
|
3042
|
+
:operation => :"KubernetesProtectionApi.read_nodes_by_cloud_count",
|
3043
|
+
:header_params => header_params,
|
3044
|
+
:query_params => query_params,
|
3045
|
+
:form_params => form_params,
|
3046
|
+
:body => post_body,
|
3047
|
+
:auth_names => auth_names,
|
3048
|
+
:return_type => return_type
|
3049
|
+
)
|
3050
|
+
|
3051
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3052
|
+
if @api_client.config.debugging
|
3053
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_nodes_by_cloud_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3054
|
+
end
|
3055
|
+
return data, status_code, headers
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
# Bucket nodes by their container engine version
|
3059
|
+
# @param [Hash] opts the optional parameters
|
3060
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3061
|
+
# @return [ModelsAggregateValuesByFieldResponse]
|
3062
|
+
def read_nodes_by_container_engine_version_count(opts = {})
|
3063
|
+
data, _status_code, _headers = read_nodes_by_container_engine_version_count_with_http_info(opts)
|
3064
|
+
data
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
# Bucket nodes by their container engine version
|
3068
|
+
# @param [Hash] opts the optional parameters
|
3069
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3070
|
+
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3071
|
+
def read_nodes_by_container_engine_version_count_with_http_info(opts = {})
|
3072
|
+
if @api_client.config.debugging
|
3073
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_nodes_by_container_engine_version_count ...'
|
3074
|
+
end
|
3075
|
+
# resource path
|
3076
|
+
local_var_path = '/container-security/aggregates/nodes/count-by-container-engine-version/v1'
|
3077
|
+
|
3078
|
+
# query parameters
|
3079
|
+
query_params = opts[:query_params] || {}
|
3080
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3081
|
+
|
3082
|
+
# header parameters
|
3083
|
+
header_params = opts[:header_params] || {}
|
3084
|
+
# HTTP header 'Accept' (if needed)
|
3085
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3086
|
+
|
3087
|
+
# form parameters
|
3088
|
+
form_params = opts[:form_params] || {}
|
3089
|
+
|
3090
|
+
# http body (model)
|
3091
|
+
post_body = opts[:debug_body]
|
3092
|
+
|
3093
|
+
# return_type
|
3094
|
+
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3095
|
+
|
3096
|
+
# auth_names
|
3097
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3098
|
+
|
3099
|
+
new_options = opts.merge(
|
3100
|
+
:operation => :"KubernetesProtectionApi.read_nodes_by_container_engine_version_count",
|
3101
|
+
:header_params => header_params,
|
3102
|
+
:query_params => query_params,
|
3103
|
+
:form_params => form_params,
|
3104
|
+
:body => post_body,
|
3105
|
+
:auth_names => auth_names,
|
3106
|
+
:return_type => return_type
|
3107
|
+
)
|
3108
|
+
|
3109
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3110
|
+
if @api_client.config.debugging
|
3111
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_nodes_by_container_engine_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3112
|
+
end
|
3113
|
+
return data, status_code, headers
|
3114
|
+
end
|
3115
|
+
|
3116
|
+
# Retrieve nodes by date range counts
|
3117
|
+
# @param [Hash] opts the optional parameters
|
3118
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3119
|
+
# @return [ModelsAggregateValuesByFieldResponse]
|
3120
|
+
def read_nodes_by_date_range_count(opts = {})
|
3121
|
+
data, _status_code, _headers = read_nodes_by_date_range_count_with_http_info(opts)
|
3122
|
+
data
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# Retrieve nodes by date range counts
|
3126
|
+
# @param [Hash] opts the optional parameters
|
3127
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3128
|
+
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3129
|
+
def read_nodes_by_date_range_count_with_http_info(opts = {})
|
3130
|
+
if @api_client.config.debugging
|
3131
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_nodes_by_date_range_count ...'
|
3132
|
+
end
|
3133
|
+
# resource path
|
3134
|
+
local_var_path = '/container-security/aggregates/nodes/count-by-date/v1'
|
3135
|
+
|
3136
|
+
# query parameters
|
3137
|
+
query_params = opts[:query_params] || {}
|
3138
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3139
|
+
|
3140
|
+
# header parameters
|
3141
|
+
header_params = opts[:header_params] || {}
|
3142
|
+
# HTTP header 'Accept' (if needed)
|
3143
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3144
|
+
|
3145
|
+
# form parameters
|
3146
|
+
form_params = opts[:form_params] || {}
|
3147
|
+
|
3148
|
+
# http body (model)
|
3149
|
+
post_body = opts[:debug_body]
|
3150
|
+
|
3151
|
+
# return_type
|
3152
|
+
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3153
|
+
|
3154
|
+
# auth_names
|
3155
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3156
|
+
|
3157
|
+
new_options = opts.merge(
|
3158
|
+
:operation => :"KubernetesProtectionApi.read_nodes_by_date_range_count",
|
3159
|
+
:header_params => header_params,
|
3160
|
+
:query_params => query_params,
|
3161
|
+
:form_params => form_params,
|
3162
|
+
:body => post_body,
|
3163
|
+
:auth_names => auth_names,
|
3164
|
+
:return_type => return_type
|
3165
|
+
)
|
3166
|
+
|
3167
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3168
|
+
if @api_client.config.debugging
|
3169
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_nodes_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3170
|
+
end
|
3171
|
+
return data, status_code, headers
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
# Retrieve kubernetes pods identified by the provided filter criteria
|
3175
|
+
# @param [Hash] opts the optional parameters
|
3176
|
+
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3177
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3178
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3179
|
+
# @option opts [String] :sort Field to sort results by
|
3180
|
+
# @return [ModelsPodEntityResponse]
|
3181
|
+
def read_pod_combined(opts = {})
|
3182
|
+
data, _status_code, _headers = read_pod_combined_with_http_info(opts)
|
3183
|
+
data
|
3184
|
+
end
|
3185
|
+
|
3186
|
+
# Retrieve kubernetes pods identified by the provided filter criteria
|
3187
|
+
# @param [Hash] opts the optional parameters
|
3188
|
+
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3189
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3190
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3191
|
+
# @option opts [String] :sort Field to sort results by
|
3192
|
+
# @return [Array<(ModelsPodEntityResponse, Integer, Hash)>] ModelsPodEntityResponse data, response status code and response headers
|
3193
|
+
def read_pod_combined_with_http_info(opts = {})
|
3194
|
+
if @api_client.config.debugging
|
3195
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pod_combined ...'
|
3196
|
+
end
|
3197
|
+
# resource path
|
3198
|
+
local_var_path = '/container-security/combined/pods/v1'
|
3199
|
+
|
3200
|
+
# query parameters
|
3201
|
+
query_params = opts[:query_params] || {}
|
3202
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3203
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3204
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3205
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3206
|
+
|
3207
|
+
# header parameters
|
3208
|
+
header_params = opts[:header_params] || {}
|
3209
|
+
# HTTP header 'Accept' (if needed)
|
3210
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3211
|
+
|
3212
|
+
# form parameters
|
3213
|
+
form_params = opts[:form_params] || {}
|
3214
|
+
|
3215
|
+
# http body (model)
|
3216
|
+
post_body = opts[:debug_body]
|
3217
|
+
|
3218
|
+
# return_type
|
3219
|
+
return_type = opts[:debug_return_type] || 'ModelsPodEntityResponse'
|
3220
|
+
|
3221
|
+
# auth_names
|
3222
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3223
|
+
|
3224
|
+
new_options = opts.merge(
|
3225
|
+
:operation => :"KubernetesProtectionApi.read_pod_combined",
|
3226
|
+
:header_params => header_params,
|
3227
|
+
:query_params => query_params,
|
3228
|
+
:form_params => form_params,
|
3229
|
+
:body => post_body,
|
3230
|
+
:auth_names => auth_names,
|
3231
|
+
:return_type => return_type
|
3232
|
+
)
|
3233
|
+
|
3234
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3235
|
+
if @api_client.config.debugging
|
3236
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pod_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3237
|
+
end
|
3238
|
+
return data, status_code, headers
|
3239
|
+
end
|
3240
|
+
|
3241
|
+
# Retrieve pod counts
|
3242
|
+
# @param [Hash] opts the optional parameters
|
3243
|
+
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3244
|
+
# @return [CommonCountResponse]
|
3245
|
+
def read_pod_count(opts = {})
|
3246
|
+
data, _status_code, _headers = read_pod_count_with_http_info(opts)
|
3247
|
+
data
|
3248
|
+
end
|
3249
|
+
|
3250
|
+
# Retrieve pod counts
|
3251
|
+
# @param [Hash] opts the optional parameters
|
3252
|
+
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3253
|
+
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
3254
|
+
def read_pod_count_with_http_info(opts = {})
|
3255
|
+
if @api_client.config.debugging
|
3256
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pod_count ...'
|
3257
|
+
end
|
3258
|
+
# resource path
|
3259
|
+
local_var_path = '/container-security/aggregates/pods/count/v1'
|
3260
|
+
|
3261
|
+
# query parameters
|
3262
|
+
query_params = opts[:query_params] || {}
|
3263
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3264
|
+
|
3265
|
+
# header parameters
|
3266
|
+
header_params = opts[:header_params] || {}
|
3267
|
+
# HTTP header 'Accept' (if needed)
|
3268
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3269
|
+
|
3270
|
+
# form parameters
|
3271
|
+
form_params = opts[:form_params] || {}
|
3272
|
+
|
3273
|
+
# http body (model)
|
3274
|
+
post_body = opts[:debug_body]
|
3275
|
+
|
3276
|
+
# return_type
|
3277
|
+
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
3278
|
+
|
3279
|
+
# auth_names
|
3280
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3281
|
+
|
3282
|
+
new_options = opts.merge(
|
3283
|
+
:operation => :"KubernetesProtectionApi.read_pod_count",
|
3284
|
+
:header_params => header_params,
|
3285
|
+
:query_params => query_params,
|
3286
|
+
:form_params => form_params,
|
3287
|
+
:body => post_body,
|
3288
|
+
:auth_names => auth_names,
|
3289
|
+
:return_type => return_type
|
3290
|
+
)
|
3291
|
+
|
3292
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3293
|
+
if @api_client.config.debugging
|
3294
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pod_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3295
|
+
end
|
3296
|
+
return data, status_code, headers
|
3297
|
+
end
|
3298
|
+
|
3299
|
+
# Retrieve pod enrichment data
|
3300
|
+
# @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
|
3301
|
+
# @param [Hash] opts the optional parameters
|
3302
|
+
# @option opts [String] :filter Supported filters: last_seen
|
3303
|
+
# @return [K8sassetsPodEnrichmentResponse]
|
3304
|
+
def read_pod_enrichment(pod_id, opts = {})
|
3305
|
+
data, _status_code, _headers = read_pod_enrichment_with_http_info(pod_id, opts)
|
3306
|
+
data
|
3307
|
+
end
|
3308
|
+
|
3309
|
+
# Retrieve pod enrichment data
|
3310
|
+
# @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
|
3311
|
+
# @param [Hash] opts the optional parameters
|
3312
|
+
# @option opts [String] :filter Supported filters: last_seen
|
3313
|
+
# @return [Array<(K8sassetsPodEnrichmentResponse, Integer, Hash)>] K8sassetsPodEnrichmentResponse data, response status code and response headers
|
3314
|
+
def read_pod_enrichment_with_http_info(pod_id, opts = {})
|
3315
|
+
if @api_client.config.debugging
|
3316
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pod_enrichment ...'
|
3317
|
+
end
|
3318
|
+
# verify the required parameter 'pod_id' is set
|
3319
|
+
if @api_client.config.client_side_validation && pod_id.nil?
|
3320
|
+
fail ArgumentError, "Missing the required parameter 'pod_id' when calling KubernetesProtectionApi.read_pod_enrichment"
|
3321
|
+
end
|
3322
|
+
# resource path
|
3323
|
+
local_var_path = '/container-security/aggregates/enrichment/pods/entities/v1'
|
3324
|
+
|
3325
|
+
# query parameters
|
3326
|
+
query_params = opts[:query_params] || {}
|
3327
|
+
query_params[:'pod_id'] = @api_client.build_collection_param(pod_id, :csv)
|
3328
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3329
|
+
|
3330
|
+
# header parameters
|
3331
|
+
header_params = opts[:header_params] || {}
|
3332
|
+
# HTTP header 'Accept' (if needed)
|
3333
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3334
|
+
|
3335
|
+
# form parameters
|
3336
|
+
form_params = opts[:form_params] || {}
|
3337
|
+
|
3338
|
+
# http body (model)
|
3339
|
+
post_body = opts[:debug_body]
|
3340
|
+
|
3341
|
+
# return_type
|
3342
|
+
return_type = opts[:debug_return_type] || 'K8sassetsPodEnrichmentResponse'
|
3343
|
+
|
3344
|
+
# auth_names
|
3345
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3346
|
+
|
3347
|
+
new_options = opts.merge(
|
3348
|
+
:operation => :"KubernetesProtectionApi.read_pod_enrichment",
|
3349
|
+
:header_params => header_params,
|
3350
|
+
:query_params => query_params,
|
3351
|
+
:form_params => form_params,
|
3352
|
+
:body => post_body,
|
3353
|
+
:auth_names => auth_names,
|
3354
|
+
:return_type => return_type
|
3355
|
+
)
|
3356
|
+
|
3357
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3358
|
+
if @api_client.config.debugging
|
3359
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pod_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3360
|
+
end
|
3361
|
+
return data, status_code, headers
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# Retrieve pods by date range counts
|
3365
|
+
# @param [Hash] opts the optional parameters
|
3366
|
+
# @return [ModelsAggregateValuesByFieldResponse]
|
3367
|
+
def read_pods_by_date_range_count(opts = {})
|
3368
|
+
data, _status_code, _headers = read_pods_by_date_range_count_with_http_info(opts)
|
3369
|
+
data
|
3370
|
+
end
|
3371
|
+
|
3372
|
+
# Retrieve pods by date range counts
|
3373
|
+
# @param [Hash] opts the optional parameters
|
3374
|
+
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3375
|
+
def read_pods_by_date_range_count_with_http_info(opts = {})
|
3376
|
+
if @api_client.config.debugging
|
3377
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pods_by_date_range_count ...'
|
3378
|
+
end
|
3379
|
+
# resource path
|
3380
|
+
local_var_path = '/container-security/aggregates/pods/count-by-date/v1'
|
3381
|
+
|
3382
|
+
# query parameters
|
3383
|
+
query_params = opts[:query_params] || {}
|
3384
|
+
|
3385
|
+
# header parameters
|
3386
|
+
header_params = opts[:header_params] || {}
|
3387
|
+
# HTTP header 'Accept' (if needed)
|
3388
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3389
|
+
|
3390
|
+
# form parameters
|
3391
|
+
form_params = opts[:form_params] || {}
|
3392
|
+
|
3393
|
+
# http body (model)
|
3394
|
+
post_body = opts[:debug_body]
|
3395
|
+
|
3396
|
+
# return_type
|
3397
|
+
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3398
|
+
|
3399
|
+
# auth_names
|
3400
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3401
|
+
|
3402
|
+
new_options = opts.merge(
|
3403
|
+
:operation => :"KubernetesProtectionApi.read_pods_by_date_range_count",
|
3404
|
+
:header_params => header_params,
|
3405
|
+
:query_params => query_params,
|
3406
|
+
:form_params => form_params,
|
3407
|
+
:body => post_body,
|
3408
|
+
:auth_names => auth_names,
|
3409
|
+
:return_type => return_type
|
3410
|
+
)
|
3411
|
+
|
3412
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3413
|
+
if @api_client.config.debugging
|
3414
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pods_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3415
|
+
end
|
3416
|
+
return data, status_code, headers
|
3417
|
+
end
|
3418
|
+
|
3419
|
+
# Retrieve images on running containers
|
3420
|
+
# @param [Hash] opts the optional parameters
|
3421
|
+
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filters: cid,hosts,image_digest,image_has_been_assessed,image_id,image_name,image_registry,image_repository,image_tag,last_seen,running_status
|
3422
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3423
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3424
|
+
# @option opts [String] :sort Field to sort results by
|
3425
|
+
# @return [ModelsContainerImage]
|
3426
|
+
def read_running_container_images(opts = {})
|
3427
|
+
data, _status_code, _headers = read_running_container_images_with_http_info(opts)
|
3428
|
+
data
|
3429
|
+
end
|
3430
|
+
|
3431
|
+
# Retrieve images on running containers
|
3432
|
+
# @param [Hash] opts the optional parameters
|
3433
|
+
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filters: cid,hosts,image_digest,image_has_been_assessed,image_id,image_name,image_registry,image_repository,image_tag,last_seen,running_status
|
3434
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3435
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3436
|
+
# @option opts [String] :sort Field to sort results by
|
3437
|
+
# @return [Array<(ModelsContainerImage, Integer, Hash)>] ModelsContainerImage data, response status code and response headers
|
3438
|
+
def read_running_container_images_with_http_info(opts = {})
|
3439
|
+
if @api_client.config.debugging
|
3440
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_running_container_images ...'
|
3441
|
+
end
|
3442
|
+
# resource path
|
3443
|
+
local_var_path = '/container-security/combined/container-images/v1'
|
3444
|
+
|
3445
|
+
# query parameters
|
3446
|
+
query_params = opts[:query_params] || {}
|
3447
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3448
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3449
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3450
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3451
|
+
|
3452
|
+
# header parameters
|
3453
|
+
header_params = opts[:header_params] || {}
|
3454
|
+
# HTTP header 'Accept' (if needed)
|
3455
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3456
|
+
|
3457
|
+
# form parameters
|
3458
|
+
form_params = opts[:form_params] || {}
|
3459
|
+
|
3460
|
+
# http body (model)
|
3461
|
+
post_body = opts[:debug_body]
|
3462
|
+
|
3463
|
+
# return_type
|
3464
|
+
return_type = opts[:debug_return_type] || 'ModelsContainerImage'
|
3465
|
+
|
3466
|
+
# auth_names
|
3467
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3468
|
+
|
3469
|
+
new_options = opts.merge(
|
3470
|
+
:operation => :"KubernetesProtectionApi.read_running_container_images",
|
3471
|
+
:header_params => header_params,
|
3472
|
+
:query_params => query_params,
|
3473
|
+
:form_params => form_params,
|
3474
|
+
:body => post_body,
|
3475
|
+
:auth_names => auth_names,
|
3476
|
+
:return_type => return_type
|
3477
|
+
)
|
3478
|
+
|
3479
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3480
|
+
if @api_client.config.debugging
|
3481
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_running_container_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3482
|
+
end
|
3483
|
+
return data, status_code, headers
|
3484
|
+
end
|
3485
|
+
|
3486
|
+
# Retrieve count of vulnerable images running on containers
|
3487
|
+
# @param [Hash] opts the optional parameters
|
3488
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
3489
|
+
# @return [ModelsAPIFilterResponse]
|
3490
|
+
def read_vulnerable_container_image_count(opts = {})
|
3491
|
+
data, _status_code, _headers = read_vulnerable_container_image_count_with_http_info(opts)
|
3492
|
+
data
|
3493
|
+
end
|
3494
|
+
|
3495
|
+
# Retrieve count of vulnerable images running on containers
|
3496
|
+
# @param [Hash] opts the optional parameters
|
3497
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
3498
|
+
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
3499
|
+
def read_vulnerable_container_image_count_with_http_info(opts = {})
|
3500
|
+
if @api_client.config.debugging
|
3501
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_vulnerable_container_image_count ...'
|
3502
|
+
end
|
3503
|
+
# resource path
|
3504
|
+
local_var_path = '/container-security/aggregates/containers/count-vulnerable-images/v1'
|
3505
|
+
|
3506
|
+
# query parameters
|
3507
|
+
query_params = opts[:query_params] || {}
|
3508
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3509
|
+
|
3510
|
+
# header parameters
|
3511
|
+
header_params = opts[:header_params] || {}
|
3512
|
+
# HTTP header 'Accept' (if needed)
|
3513
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3514
|
+
|
3515
|
+
# form parameters
|
3516
|
+
form_params = opts[:form_params] || {}
|
3517
|
+
|
3518
|
+
# http body (model)
|
3519
|
+
post_body = opts[:debug_body]
|
3520
|
+
|
3521
|
+
# return_type
|
3522
|
+
return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
|
3523
|
+
|
3524
|
+
# auth_names
|
3525
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3526
|
+
|
3527
|
+
new_options = opts.merge(
|
3528
|
+
:operation => :"KubernetesProtectionApi.read_vulnerable_container_image_count",
|
3529
|
+
:header_params => header_params,
|
3530
|
+
:query_params => query_params,
|
3531
|
+
:form_params => form_params,
|
3532
|
+
:body => post_body,
|
3533
|
+
:auth_names => auth_names,
|
3534
|
+
:return_type => return_type
|
3535
|
+
)
|
3536
|
+
|
3537
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3538
|
+
if @api_client.config.debugging
|
3539
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_vulnerable_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3540
|
+
end
|
3541
|
+
return data, status_code, headers
|
3542
|
+
end
|
3543
|
+
|
3544
|
+
# Regenerate API key for docker registry integrations
|
3545
|
+
# @param [Hash] opts the optional parameters
|
3546
|
+
# @return [K8sregRegenAPIKeyResp]
|
3547
|
+
def regenerate_api_key(opts = {})
|
3548
|
+
data, _status_code, _headers = regenerate_api_key_with_http_info(opts)
|
3549
|
+
data
|
3550
|
+
end
|
3551
|
+
|
3552
|
+
# Regenerate API key for docker registry integrations
|
3553
|
+
# @param [Hash] opts the optional parameters
|
3554
|
+
# @return [Array<(K8sregRegenAPIKeyResp, Integer, Hash)>] K8sregRegenAPIKeyResp data, response status code and response headers
|
3555
|
+
def regenerate_api_key_with_http_info(opts = {})
|
3556
|
+
if @api_client.config.debugging
|
3557
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.regenerate_api_key ...'
|
3558
|
+
end
|
3559
|
+
# resource path
|
3560
|
+
local_var_path = '/kubernetes-protection/entities/integration/api-key/v1'
|
3561
|
+
|
3562
|
+
# query parameters
|
3563
|
+
query_params = opts[:query_params] || {}
|
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] || 'K8sregRegenAPIKeyResp'
|
3578
|
+
|
3579
|
+
# auth_names
|
3580
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3581
|
+
|
3582
|
+
new_options = opts.merge(
|
3583
|
+
:operation => :"KubernetesProtectionApi.regenerate_api_key",
|
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(:POST, local_var_path, new_options)
|
3593
|
+
if @api_client.config.debugging
|
3594
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#regenerate_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3595
|
+
end
|
3596
|
+
return data, status_code, headers
|
3597
|
+
end
|
3598
|
+
|
3599
|
+
# Search Kubernetes IOM by the provided search criteria
|
3600
|
+
# @param [Hash] opts the optional parameters
|
3601
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3602
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3603
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3604
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3605
|
+
# @return [K8siomsKubernetesIOMEntityResponse]
|
3606
|
+
def search_and_read_kubernetes_iom_entities(opts = {})
|
3607
|
+
data, _status_code, _headers = search_and_read_kubernetes_iom_entities_with_http_info(opts)
|
3608
|
+
data
|
3609
|
+
end
|
3610
|
+
|
3611
|
+
# Search Kubernetes IOM by the provided search criteria
|
3612
|
+
# @param [Hash] opts the optional parameters
|
3613
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3614
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3615
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3616
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3617
|
+
# @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
|
3618
|
+
def search_and_read_kubernetes_iom_entities_with_http_info(opts = {})
|
3619
|
+
if @api_client.config.debugging
|
3620
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.search_and_read_kubernetes_iom_entities ...'
|
3621
|
+
end
|
3622
|
+
# resource path
|
3623
|
+
local_var_path = '/container-security/combined/kubernetes-ioms/v1'
|
3624
|
+
|
3625
|
+
# query parameters
|
3626
|
+
query_params = opts[:query_params] || {}
|
3627
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3628
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3629
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3630
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3631
|
+
|
3632
|
+
# header parameters
|
3633
|
+
header_params = opts[:header_params] || {}
|
3634
|
+
# HTTP header 'Accept' (if needed)
|
3635
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3636
|
+
|
3637
|
+
# form parameters
|
3638
|
+
form_params = opts[:form_params] || {}
|
3639
|
+
|
3640
|
+
# http body (model)
|
3641
|
+
post_body = opts[:debug_body]
|
3642
|
+
|
3643
|
+
# return_type
|
3644
|
+
return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMEntityResponse'
|
3645
|
+
|
3646
|
+
# auth_names
|
3647
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3648
|
+
|
3649
|
+
new_options = opts.merge(
|
3650
|
+
:operation => :"KubernetesProtectionApi.search_and_read_kubernetes_iom_entities",
|
3651
|
+
:header_params => header_params,
|
3652
|
+
:query_params => query_params,
|
3653
|
+
:form_params => form_params,
|
3654
|
+
:body => post_body,
|
3655
|
+
:auth_names => auth_names,
|
3656
|
+
:return_type => return_type
|
3657
|
+
)
|
3658
|
+
|
3659
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3660
|
+
if @api_client.config.debugging
|
3661
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#search_and_read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3662
|
+
end
|
3663
|
+
return data, status_code, headers
|
3664
|
+
end
|
3665
|
+
|
3666
|
+
# Search Kubernetes IOMs by the provided search criteria. this endpoint returns a list of Kubernetes IOM UUIDs matching the query
|
3667
|
+
# @param [Hash] opts the optional parameters
|
3668
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3669
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3670
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3671
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3672
|
+
# @return [CommonGenericEntityResponseString]
|
3673
|
+
def search_kubernetes_ioms(opts = {})
|
3674
|
+
data, _status_code, _headers = search_kubernetes_ioms_with_http_info(opts)
|
3675
|
+
data
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
# Search Kubernetes IOMs by the provided search criteria. this endpoint returns a list of Kubernetes IOM UUIDs matching the query
|
3679
|
+
# @param [Hash] opts the optional parameters
|
3680
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3681
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3682
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3683
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3684
|
+
# @return [Array<(CommonGenericEntityResponseString, Integer, Hash)>] CommonGenericEntityResponseString data, response status code and response headers
|
3685
|
+
def search_kubernetes_ioms_with_http_info(opts = {})
|
3686
|
+
if @api_client.config.debugging
|
3687
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.search_kubernetes_ioms ...'
|
3688
|
+
end
|
3689
|
+
# resource path
|
3690
|
+
local_var_path = '/container-security/queries/kubernetes-ioms/v1'
|
3691
|
+
|
3692
|
+
# query parameters
|
3693
|
+
query_params = opts[:query_params] || {}
|
3694
|
+
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3695
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3696
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3697
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3698
|
+
|
3699
|
+
# header parameters
|
3700
|
+
header_params = opts[:header_params] || {}
|
3701
|
+
# HTTP header 'Accept' (if needed)
|
3702
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3703
|
+
|
3704
|
+
# form parameters
|
3705
|
+
form_params = opts[:form_params] || {}
|
3706
|
+
|
3707
|
+
# http body (model)
|
3708
|
+
post_body = opts[:debug_body]
|
3709
|
+
|
3710
|
+
# return_type
|
3711
|
+
return_type = opts[:debug_return_type] || 'CommonGenericEntityResponseString'
|
3712
|
+
|
3713
|
+
# auth_names
|
3714
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3715
|
+
|
3716
|
+
new_options = opts.merge(
|
3717
|
+
:operation => :"KubernetesProtectionApi.search_kubernetes_ioms",
|
3718
|
+
:header_params => header_params,
|
3719
|
+
:query_params => query_params,
|
3720
|
+
:form_params => form_params,
|
3721
|
+
:body => post_body,
|
3722
|
+
:auth_names => auth_names,
|
3723
|
+
:return_type => return_type
|
3724
|
+
)
|
3725
|
+
|
3726
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3727
|
+
if @api_client.config.debugging
|
3728
|
+
@api_client.config.logger.debug "API called: KubernetesProtectionApi#search_kubernetes_ioms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1244
3729
|
end
|
1245
3730
|
return data, status_code, headers
|
1246
3731
|
end
|