crimson-falcon 0.5.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2151 -1857
- data/lib/crimson-falcon/api/{alerts_api.rb → alerts.rb} +105 -39
- data/lib/crimson-falcon/api/{api_integrations_api.rb → api_integrations.rb} +12 -12
- data/lib/crimson-falcon/api/{aspm_api.rb → aspm.rb} +295 -96
- data/lib/crimson-falcon/api/{certificate_based_exclusions_api.rb → certificate_based_exclusions.rb} +25 -25
- data/lib/crimson-falcon/api/{default_api.rb → cloud_aws_registration.rb} +29 -29
- data/lib/crimson-falcon/api/cloud_azure_registration.rb +105 -0
- data/lib/crimson-falcon/api/{cloud_connect_aws_api.rb → cloud_connect_aws.rb} +35 -35
- data/lib/crimson-falcon/api/cloud_security_assets.rb +179 -0
- data/lib/crimson-falcon/api/{cloud_snapshots_api.rb → cloud_snapshots.rb} +22 -22
- data/lib/crimson-falcon/api/{compliance_assessments_api.rb → compliance_assessments.rb} +34 -34
- data/lib/crimson-falcon/api/{configuration_assessment_api.rb → configuration_assessment.rb} +11 -11
- data/lib/crimson-falcon/api/{configuration_assessment_evaluation_logic_api.rb → configuration_assessment_evaluation_logic.rb} +5 -5
- data/lib/crimson-falcon/api/{container_alerts_api.rb → container_alerts.rb} +20 -20
- data/lib/crimson-falcon/api/{container_detections_api.rb → container_detections.rb} +46 -46
- data/lib/crimson-falcon/api/{container_images_api.rb → container_images.rb} +116 -116
- data/lib/crimson-falcon/api/{container_packages_api.rb → container_packages.rb} +122 -52
- data/lib/crimson-falcon/api/{container_vulnerabilities_api.rb → container_vulnerabilities.rb} +93 -93
- data/lib/crimson-falcon/api/content_update_policies.rb +769 -0
- data/lib/crimson-falcon/api/correlation_rules.rb +505 -0
- data/lib/crimson-falcon/api/{cspg_iacapi_api.rb → cspg_iac.rb} +4 -4
- data/lib/crimson-falcon/api/{cspm_registration_api.rb → cspm_registration.rb} +473 -414
- data/lib/crimson-falcon/api/{custom_ioa_api.rb → custom_ioa.rb} +82 -82
- data/lib/crimson-falcon/api/{custom_storage_api.rb → custom_storage.rb} +136 -136
- data/lib/crimson-falcon/api/{d4c_registration_api.rb → d4c_registration.rb} +97 -178
- data/lib/crimson-falcon/api/{datascanner_api.rb → datascanner.rb} +13 -13
- data/lib/crimson-falcon/api/{delivery_settings_api.rb → delivery_settings.rb} +8 -8
- data/lib/crimson-falcon/api/deployments.rb +115 -0
- data/lib/crimson-falcon/api/{detects_api.rb → detects.rb} +18 -18
- data/lib/crimson-falcon/api/device_content.rb +176 -0
- data/lib/crimson-falcon/api/{device_control_policies_api.rb → device_control_policies.rb} +57 -57
- data/lib/crimson-falcon/api/{discover_api.rb → discover.rb} +119 -53
- data/lib/crimson-falcon/api/{discover_iot_api.rb → discover_iot.rb} +16 -16
- data/lib/crimson-falcon/api/downloads.rb +108 -0
- data/lib/crimson-falcon/api/{downloads_api_api.rb → downloads_api.rb} +4 -73
- data/lib/crimson-falcon/api/{drift_indicators_api.rb → drift_indicators.rb} +38 -38
- data/lib/crimson-falcon/api/{event_schema_api.rb → event_schema.rb} +10 -10
- data/lib/crimson-falcon/api/{event_streams_api.rb → event_streams.rb} +11 -11
- data/lib/crimson-falcon/api/{exposure_management_api.rb → exposure_management.rb} +47 -41
- data/lib/crimson-falcon/api/{falcon_complete_dashboard_api.rb → falcon_complete_dashboard.rb} +73 -73
- data/lib/crimson-falcon/api/{falcon_container_api.rb → falcon_container.rb} +4 -4
- data/lib/crimson-falcon/api/{falcon_container_cli_api.rb → falcon_container_cli.rb} +5 -5
- data/lib/crimson-falcon/api/{falcon_container_image_api.rb → falcon_container_image.rb} +46 -46
- data/lib/crimson-falcon/api/{falconx_sandbox_api.rb → falconx_sandbox.rb} +62 -62
- data/lib/crimson-falcon/api/{field_schema_api.rb → field_schema.rb} +7 -7
- data/lib/crimson-falcon/api/{filevantage_api.rb → filevantage.rb} +149 -149
- data/lib/crimson-falcon/api/{firewall_management_api.rb → firewall_management.rb} +138 -138
- data/lib/crimson-falcon/api/{firewall_policies_api.rb → firewall_policies.rb} +52 -52
- data/lib/crimson-falcon/api/{foundry_logscale_api.rb → foundry_logscale.rb} +65 -65
- data/lib/crimson-falcon/api/{handle_api.rb → handle.rb} +4 -4
- data/lib/crimson-falcon/api/{host_group_api.rb → host_group.rb} +46 -46
- data/lib/crimson-falcon/api/{host_migration_api.rb → host_migration.rb} +49 -49
- data/lib/crimson-falcon/api/{hosts_api.rb → hosts.rb} +50 -50
- data/lib/crimson-falcon/api/{humio_auth_proxy_api.rb → humio_auth_proxy.rb} +37 -37
- data/lib/crimson-falcon/api/{identity_entities_api.rb → identity_entities.rb} +12 -12
- data/lib/crimson-falcon/api/{identity_protection_api.rb → identity_protection.rb} +28 -28
- data/lib/crimson-falcon/api/{image_assessment_policies_api.rb → image_assessment_policies.rb} +44 -44
- data/lib/crimson-falcon/api/{incidents_api.rb → incidents.rb} +22 -22
- data/lib/crimson-falcon/api/{installation_tokens_api.rb → installation_tokens.rb} +29 -29
- data/lib/crimson-falcon/api/{installation_tokens_settings_api.rb → installation_tokens_settings.rb} +5 -5
- data/lib/crimson-falcon/api/{intel_api.rb → intel.rb} +85 -85
- data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +118 -0
- data/lib/crimson-falcon/api/{ioa_exclusions_api.rb → ioa_exclusions.rb} +20 -20
- data/lib/crimson-falcon/api/{ioc_api.rb → ioc.rb} +61 -61
- data/lib/crimson-falcon/api/{iocs_api.rb → iocs.rb} +21 -21
- data/lib/crimson-falcon/api/{kubernetes_protection_api.rb → kubernetes_protection.rb} +370 -370
- data/lib/crimson-falcon/api/lookup_files.rb +239 -0
- data/lib/crimson-falcon/api/{malquery_api.rb → malquery.rb} +36 -36
- data/lib/crimson-falcon/api/{message_center_api.rb → message_center.rb} +42 -42
- data/lib/crimson-falcon/api/{ml_exclusions_api.rb → ml_exclusions.rb} +20 -20
- data/lib/crimson-falcon/api/{mobile_enrollment_api.rb → mobile_enrollment.rb} +9 -9
- data/lib/crimson-falcon/api/{mssp_api.rb → mssp.rb} +117 -117
- data/lib/crimson-falcon/api/{oauth2_api.rb → oauth2.rb} +10 -10
- data/lib/crimson-falcon/api/{ods_api.rb → ods.rb} +61 -61
- data/lib/crimson-falcon/api/{overwatch_dashboard_api.rb → overwatch_dashboard.rb} +21 -21
- data/lib/crimson-falcon/api/{prevention_policies_api.rb → prevention_policies.rb} +50 -50
- data/lib/crimson-falcon/api/{quarantine_api.rb → quarantine.rb} +24 -24
- data/lib/crimson-falcon/api/{quick_scan_api.rb → quick_scan.rb} +16 -16
- data/lib/crimson-falcon/api/{quick_scan_pro_api.rb → quick_scan_pro.rb} +25 -25
- data/lib/crimson-falcon/api/{real_time_response_api.rb → real_time_response.rb} +98 -98
- data/lib/crimson-falcon/api/{real_time_response_admin_api.rb → real_time_response_admin.rb} +72 -72
- data/lib/crimson-falcon/api/{real_time_response_audit_api.rb → real_time_response_audit.rb} +4 -4
- data/lib/crimson-falcon/api/{recon_api.rb → recon.rb} +109 -109
- data/lib/crimson-falcon/api/release_notes.rb +287 -0
- data/lib/crimson-falcon/api/releases.rb +125 -0
- data/lib/crimson-falcon/api/{report_executions_api.rb → report_executions.rb} +16 -16
- data/lib/crimson-falcon/api/{response_policies_api.rb → response_policies.rb} +50 -50
- data/lib/crimson-falcon/api/{runtime_detections_api.rb → runtime_detections.rb} +13 -13
- data/lib/crimson-falcon/api/{sample_uploads_api.rb → sample_uploads.rb} +49 -49
- data/lib/crimson-falcon/api/{scheduled_reports_api.rb → scheduled_reports.rb} +12 -12
- data/lib/crimson-falcon/api/{sensor_download_api.rb → sensor_download.rb} +32 -32
- data/lib/crimson-falcon/api/{sensor_update_policies_api.rb → sensor_update_policies.rb} +88 -88
- data/lib/crimson-falcon/api/{sensor_usage_api_api.rb → sensor_usage.rb} +4 -4
- data/lib/crimson-falcon/api/{sensor_visibility_exclusions_api.rb → sensor_visibility_exclusions.rb} +20 -20
- data/lib/crimson-falcon/api/{spotlight_evaluation_logic_api.rb → spotlight_evaluation_logic.rb} +13 -13
- data/lib/crimson-falcon/api/{spotlight_vulnerabilities_api.rb → spotlight_vulnerabilities.rb} +27 -27
- data/lib/crimson-falcon/api/{threatgraph_api.rb → threatgraph.rb} +42 -42
- data/lib/crimson-falcon/api/{unidentified_containers_api.rb → unidentified_containers.rb} +23 -23
- data/lib/crimson-falcon/api/{user_management_api.rb → user_management.rb} +94 -94
- data/lib/crimson-falcon/api/vulnerabilities.rb +106 -0
- data/lib/crimson-falcon/api/{workflows_api.rb → workflows.rb} +76 -76
- data/lib/crimson-falcon/api/{zero_trust_assessment_api.rb → zero_trust_assessment.rb} +12 -12
- data/lib/crimson-falcon/models/api_create_rule_operation_v1.rb +257 -0
- data/lib/crimson-falcon/models/api_get_entities_rules_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_patch_rule_operation_v1.rb +257 -0
- data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_rule_create_request_v1.rb +354 -0
- data/lib/crimson-falcon/models/api_rule_operation_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_rule_patch_request_v1.rb +311 -0
- data/lib/crimson-falcon/models/api_rule_schedule_v1.rb +239 -0
- data/lib/crimson-falcon/models/api_rule_schedule_v1_patch.rb +239 -0
- data/lib/crimson-falcon/models/api_rule_search_v1.rb +276 -0
- data/lib/crimson-falcon/models/api_rule_v1.rb +132 -203
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +1 -89
- data/lib/crimson-falcon/models/assets_get_resource_ids_response.rb +261 -0
- data/lib/crimson-falcon/models/assets_get_resources_response.rb +266 -0
- data/lib/crimson-falcon/models/base_set_content_update_policy_precedence_req_v1.rb +242 -0
- data/lib/crimson-falcon/models/content_update_create_policies_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_create_policy_req_v1.rb +259 -0
- data/lib/crimson-falcon/models/content_update_ring_assignment_settings_v1.rb +253 -0
- data/lib/crimson-falcon/models/content_update_settings_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_update_policies_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_update_policy_req_v1.rb +269 -0
- data/lib/crimson-falcon/models/dataclassifications_label.rb +267 -0
- data/lib/crimson-falcon/models/dataclassifications_response.rb +284 -0
- data/lib/crimson-falcon/models/dataclassifications_tag.rb +283 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_ring_view.rb +302 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_view.rb +309 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_view_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_meta.rb +271 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_paging.rb +262 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_request_swagger.rb +261 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_response_swagger.rb +272 -0
- data/lib/crimson-falcon/models/device_control_usb_class_exceptions_req_v1.rb +3 -3
- data/lib/crimson-falcon/models/device_control_usb_class_exceptions_response.rb +3 -3
- data/lib/crimson-falcon/models/devicecontent_content_category.rb +234 -0
- data/lib/crimson-falcon/models/devicecontent_state.rb +345 -0
- data/lib/crimson-falcon/models/devicecontentapi_entities_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/devicecontentapi_query_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/domain_aws_account_resource_metadata.rb +66 -1
- data/lib/crimson-falcon/models/domain_benchmark.rb +12 -1
- data/lib/crimson-falcon/models/domain_content_update_policy_resp_v1.rb +474 -0
- data/lib/crimson-falcon/models/domain_content_update_settings_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +21 -1
- data/lib/crimson-falcon/models/domain_discover_api_application_host.rb +13 -1
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +33 -1
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +33 -1
- data/lib/crimson-falcon/models/domain_kestrel_params.rb +239 -0
- data/lib/crimson-falcon/models/domain_lookup_file.rb +453 -0
- data/lib/crimson-falcon/models/domain_lookup_file_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -1
- data/lib/crimson-falcon/models/domain_ring_assignment_settings_v1.rb +267 -0
- data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_update_rule_request_v1.rb +18 -1
- data/lib/crimson-falcon/models/figapi_adversary.rb +235 -0
- data/lib/crimson-falcon/models/figapi_country.rb +245 -0
- data/lib/crimson-falcon/models/figapi_domain.rb +345 -0
- data/lib/crimson-falcon/models/figapi_email_address.rb +252 -0
- data/lib/crimson-falcon/models/figapi_file.rb +299 -0
- data/lib/crimson-falcon/models/figapi_indicator.rb +458 -0
- data/lib/crimson-falcon/models/figapi_ipv4.rb +269 -0
- data/lib/crimson-falcon/models/figapi_ipv6.rb +269 -0
- data/lib/crimson-falcon/models/figapi_mx_record.rb +284 -0
- data/lib/crimson-falcon/models/figapi_name_server.rb +254 -0
- data/lib/crimson-falcon/models/figapi_report.rb +235 -0
- data/lib/crimson-falcon/models/figapi_sector.rb +245 -0
- data/lib/crimson-falcon/models/figapi_threat.rb +235 -0
- data/lib/crimson-falcon/models/figapi_url.rb +247 -0
- data/lib/crimson-falcon/models/figapi_vulnerability.rb +374 -0
- data/lib/crimson-falcon/models/figapi_who_is.rb +261 -0
- data/lib/crimson-falcon/models/figapi_whois_record.rb +306 -0
- data/lib/crimson-falcon/models/figapi_x509_certificate.rb +297 -0
- data/lib/crimson-falcon/models/graph_condition.rb +2 -12
- data/lib/crimson-falcon/models/help.rb +239 -0
- data/lib/crimson-falcon/models/ingestion_cve_exploit_reference.rb +267 -0
- data/lib/crimson-falcon/models/ingestion_cve_exploit_source.rb +283 -0
- data/lib/crimson-falcon/models/ingestion_ex_prt_rating_factors.rb +281 -0
- data/lib/crimson-falcon/models/ingestion_reference.rb +255 -0
- data/lib/crimson-falcon/models/inventoryapi_surface_error.rb +260 -0
- data/lib/crimson-falcon/models/{client_fql_statement.rb → inventoryapi_user_external_asset.rb} +16 -28
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create.rb +257 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_request_v1.rb +242 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_result.rb +322 -0
- data/lib/crimson-falcon/models/inventoryapidomain_subsidiary.rb +245 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +19 -1
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +22 -4
- data/lib/crimson-falcon/models/jsonschema_ui_extensions.rb +34 -4
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +15 -1
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +26 -1
- data/lib/crimson-falcon/models/models_api_package_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_api_package_combined_v2.rb +381 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_application_library.rb +13 -4
- data/lib/crimson-falcon/models/models_container.rb +15 -1
- data/lib/crimson-falcon/models/models_ext_api_image_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_message.rb +239 -0
- data/lib/crimson-falcon/models/models_partial_fingerprints.rb +239 -0
- data/lib/crimson-falcon/models/models_result.rb +339 -0
- data/lib/crimson-falcon/models/models_result_location.rb +253 -0
- data/lib/crimson-falcon/models/models_result_location_properties.rb +253 -0
- data/lib/crimson-falcon/models/models_result_physical_location.rb +253 -0
- data/lib/crimson-falcon/models/models_result_physical_location_artifact_location.rb +239 -0
- data/lib/crimson-falcon/models/models_result_physical_location_region.rb +239 -0
- data/lib/crimson-falcon/models/models_result_properties.rb +365 -0
- data/lib/crimson-falcon/models/models_rule.rb +337 -0
- data/lib/crimson-falcon/models/models_rule_default_configuration.rb +239 -0
- data/lib/crimson-falcon/models/models_rule_properties.rb +669 -0
- data/lib/crimson-falcon/models/models_run.rb +255 -0
- data/lib/crimson-falcon/models/models_run_tool.rb +239 -0
- data/lib/crimson-falcon/models/models_run_tool_driver.rb +283 -0
- data/lib/crimson-falcon/models/models_vulnerability_sarif.rb +269 -0
- data/lib/crimson-falcon/models/packages_api_combined_package_v2.rb +266 -0
- data/lib/crimson-falcon/models/policyframework_benchmark.rb +253 -0
- data/lib/crimson-falcon/models/policyframework_control.rb +290 -0
- data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +10 -1
- data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +19 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +19 -1
- data/lib/crimson-falcon/models/registration_aws_account_response_v2.rb +0 -5
- data/lib/crimson-falcon/models/registration_azure_download_certificate_response_v1.rb +0 -5
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
- data/lib/crimson-falcon/models/releasecontents_release_content.rb +327 -0
- data/lib/crimson-falcon/models/releasecontents_release_content_version.rb +267 -0
- data/lib/crimson-falcon/models/releasenotes_entities_get_request.rb +241 -0
- data/lib/crimson-falcon/models/releasenotes_entities_get_response_wrapper.rb +269 -0
- data/lib/crimson-falcon/models/releasenotes_note_detail.rb +270 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_v1.rb +303 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/releases_release.rb +328 -0
- data/lib/crimson-falcon/models/releases_release_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/resources_app.rb +243 -0
- data/lib/crimson-falcon/models/resources_asset_graph.rb +243 -0
- data/lib/crimson-falcon/models/resources_cloud_context.rb +378 -0
- data/lib/crimson-falcon/models/resources_cloud_resource.rb +604 -0
- data/lib/crimson-falcon/models/resources_compliance.rb +307 -0
- data/lib/crimson-falcon/models/resources_detections.rb +291 -0
- data/lib/crimson-falcon/models/resources_host.rb +390 -0
- data/lib/crimson-falcon/models/resources_relationship.rb +261 -0
- data/lib/crimson-falcon/models/resources_vulnerability.rb +262 -0
- data/lib/crimson-falcon/models/rest_azure_download_script_request_data.rb +239 -0
- data/lib/crimson-falcon/models/rest_azure_download_script_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/rest_azure_provision_get_account_script_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/rest_azure_script.rb +276 -0
- data/lib/crimson-falcon/models/rest_cursor_and_limit_meta_info.rb +289 -0
- data/lib/crimson-falcon/models/rest_cursor_meta_info.rb +280 -0
- data/lib/crimson-falcon/models/rest_cursor_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/rest_paging.rb +262 -0
- data/lib/crimson-falcon/models/restapi_indicator_response.rb +271 -0
- data/lib/crimson-falcon/models/restapi_indicators_query_request.rb +255 -0
- data/lib/crimson-falcon/models/restapi_indicators_query_sort_request.rb +267 -0
- data/lib/crimson-falcon/models/sadomain_typosquatting_base_domain.rb +19 -1
- data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +1 -15
- data/lib/crimson-falcon/models/string_wrapper.rb +266 -0
- data/lib/crimson-falcon/models/types_get_executor_nodes_metadata_response.rb +278 -0
- data/lib/crimson-falcon/models/types_get_integration_tasks_metadata_response.rb +267 -0
- data/lib/crimson-falcon/models/v2_for_loop.rb +10 -1
- data/lib/crimson-falcon/models/vulnerabilities_vulnerability_entity_sarif_response.rb +266 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +223 -90
- data/spec/api/{alerts_api_spec.rb → alerts_spec.rb} +21 -10
- data/spec/api/{api_integrations_api_spec.rb → api_integrations_spec.rb} +8 -8
- data/spec/api/{aspm_api_spec.rb → aspm_spec.rb} +51 -8
- data/spec/api/{certificate_based_exclusions_api_spec.rb → certificate_based_exclusions_spec.rb} +8 -8
- data/spec/api/{default_api_spec.rb → cloud_aws_registration_spec.rb} +8 -8
- data/spec/api/cloud_azure_registration_spec.rb +63 -0
- data/spec/api/{cloud_connect_aws_api_spec.rb → cloud_connect_aws_spec.rb} +8 -8
- data/spec/api/cloud_security_assets_spec.rb +78 -0
- data/spec/api/{cloud_snapshots_api_spec.rb → cloud_snapshots_spec.rb} +8 -8
- data/spec/api/{compliance_assessments_api_spec.rb → compliance_assessments_spec.rb} +8 -8
- data/spec/api/{configuration_assessment_evaluation_logic_api_spec.rb → configuration_assessment_evaluation_logic_spec.rb} +8 -8
- data/spec/api/{configuration_assessment_api_spec.rb → configuration_assessment_spec.rb} +8 -8
- data/spec/api/{container_alerts_api_spec.rb → container_alerts_spec.rb} +12 -12
- data/spec/api/{container_detections_api_spec.rb → container_detections_spec.rb} +18 -18
- data/spec/api/{container_images_api_spec.rb → container_images_spec.rb} +38 -38
- data/spec/api/{container_packages_api_spec.rb → container_packages_spec.rb} +36 -21
- data/spec/api/{container_vulnerabilities_api_spec.rb → container_vulnerabilities_spec.rb} +28 -28
- data/spec/api/content_update_policies_spec.rb +177 -0
- data/spec/api/correlation_rules_spec.rb +137 -0
- data/spec/api/{cspg_iacapi_api_spec.rb → cspg_iac_spec.rb} +8 -8
- data/spec/api/{cspm_registration_api_spec.rb → cspm_registration_spec.rb} +94 -84
- data/spec/api/{custom_ioa_api_spec.rb → custom_ioa_spec.rb} +12 -12
- data/spec/api/{custom_storage_api_spec.rb → custom_storage_spec.rb} +8 -8
- data/spec/api/{d4c_registration_api_spec.rb → d4c_registration_spec.rb} +9 -22
- data/spec/api/{datascanner_api_spec.rb → datascanner_spec.rb} +8 -8
- data/spec/api/{delivery_settings_api_spec.rb → delivery_settings_spec.rb} +8 -8
- data/spec/api/deployments_spec.rb +65 -0
- data/spec/api/{detects_api_spec.rb → detects_spec.rb} +8 -8
- data/spec/api/device_content_spec.rb +77 -0
- data/spec/api/{device_control_policies_api_spec.rb → device_control_policies_spec.rb} +8 -8
- data/spec/api/{discover_iot_api_spec.rb → discover_iot_spec.rb} +8 -8
- data/spec/api/{discover_api_spec.rb → discover_spec.rb} +19 -8
- data/spec/api/{downloads_api_api_spec.rb → downloads_spec.rb} +8 -20
- data/spec/api/{drift_indicators_api_spec.rb → drift_indicators_spec.rb} +16 -16
- data/spec/api/{event_schema_api_spec.rb → event_schema_spec.rb} +8 -8
- data/spec/api/{event_streams_api_spec.rb → event_streams_spec.rb} +8 -8
- data/spec/api/{exposure_management_api_spec.rb → exposure_management_spec.rb} +10 -8
- data/spec/api/{falcon_complete_dashboard_api_spec.rb → falcon_complete_dashboard_spec.rb} +8 -8
- data/spec/api/{falcon_container_cli_api_spec.rb → falcon_container_cli_spec.rb} +8 -8
- data/spec/api/{falcon_container_image_api_spec.rb → falcon_container_image_spec.rb} +13 -13
- data/spec/api/{falcon_container_api_spec.rb → falcon_container_spec.rb} +8 -8
- data/spec/api/{falconx_sandbox_api_spec.rb → falconx_sandbox_spec.rb} +8 -8
- data/spec/api/{field_schema_api_spec.rb → field_schema_spec.rb} +8 -8
- data/spec/api/{filevantage_api_spec.rb → filevantage_spec.rb} +14 -14
- data/spec/api/{firewall_management_api_spec.rb → firewall_management_spec.rb} +16 -16
- data/spec/api/{firewall_policies_api_spec.rb → firewall_policies_spec.rb} +8 -8
- data/spec/api/{foundry_logscale_api_spec.rb → foundry_logscale_spec.rb} +8 -8
- data/spec/api/{handle_api_spec.rb → handle_spec.rb} +8 -8
- data/spec/api/{host_group_api_spec.rb → host_group_spec.rb} +8 -8
- data/spec/api/{host_migration_api_spec.rb → host_migration_spec.rb} +10 -10
- data/spec/api/{hosts_api_spec.rb → hosts_spec.rb} +8 -8
- data/spec/api/{humio_auth_proxy_api_spec.rb → humio_auth_proxy_spec.rb} +8 -8
- data/spec/api/{identity_entities_api_spec.rb → identity_entities_spec.rb} +8 -8
- data/spec/api/{identity_protection_api_spec.rb → identity_protection_spec.rb} +8 -8
- data/spec/api/{image_assessment_policies_api_spec.rb → image_assessment_policies_spec.rb} +8 -8
- data/spec/api/{incidents_api_spec.rb → incidents_spec.rb} +8 -8
- data/spec/api/{installation_tokens_settings_api_spec.rb → installation_tokens_settings_spec.rb} +8 -8
- data/spec/api/{installation_tokens_api_spec.rb → installation_tokens_spec.rb} +8 -8
- data/spec/api/{intel_api_spec.rb → intel_spec.rb} +8 -8
- data/spec/api/intelligence_indicator_graph_spec.rb +66 -0
- data/spec/api/{ioa_exclusions_api_spec.rb → ioa_exclusions_spec.rb} +8 -8
- data/spec/api/{ioc_api_spec.rb → ioc_spec.rb} +8 -8
- data/spec/api/{iocs_api_spec.rb → iocs_spec.rb} +8 -8
- data/spec/api/{kubernetes_protection_api_spec.rb → kubernetes_protection_spec.rb} +66 -66
- data/spec/api/lookup_files_spec.rb +80 -0
- data/spec/api/{malquery_api_spec.rb → malquery_spec.rb} +8 -8
- data/spec/api/{message_center_api_spec.rb → message_center_spec.rb} +8 -8
- data/spec/api/{ml_exclusions_api_spec.rb → ml_exclusions_spec.rb} +8 -8
- data/spec/api/{mobile_enrollment_api_spec.rb → mobile_enrollment_spec.rb} +8 -8
- data/spec/api/{mssp_api_spec.rb → mssp_spec.rb} +8 -8
- data/spec/api/{oauth2_api_spec.rb → oauth2_spec.rb} +8 -8
- data/spec/api/{ods_api_spec.rb → ods_spec.rb} +8 -8
- data/spec/api/{overwatch_dashboard_api_spec.rb → overwatch_dashboard_spec.rb} +8 -8
- data/spec/api/{prevention_policies_api_spec.rb → prevention_policies_spec.rb} +8 -8
- data/spec/api/{quarantine_api_spec.rb → quarantine_spec.rb} +8 -8
- data/spec/api/{quick_scan_pro_api_spec.rb → quick_scan_pro_spec.rb} +8 -8
- data/spec/api/{quick_scan_api_spec.rb → quick_scan_spec.rb} +8 -8
- data/spec/api/{real_time_response_admin_api_spec.rb → real_time_response_admin_spec.rb} +8 -8
- data/spec/api/{real_time_response_audit_api_spec.rb → real_time_response_audit_spec.rb} +8 -8
- data/spec/api/{real_time_response_api_spec.rb → real_time_response_spec.rb} +8 -8
- data/spec/api/{recon_api_spec.rb → recon_spec.rb} +8 -8
- data/spec/api/release_notes_spec.rb +97 -0
- data/spec/api/releases_spec.rb +68 -0
- data/spec/api/{report_executions_api_spec.rb → report_executions_spec.rb} +8 -8
- data/spec/api/{response_policies_api_spec.rb → response_policies_spec.rb} +8 -8
- data/spec/api/{runtime_detections_api_spec.rb → runtime_detections_spec.rb} +11 -11
- data/spec/api/{sample_uploads_api_spec.rb → sample_uploads_spec.rb} +8 -8
- data/spec/api/{scheduled_reports_api_spec.rb → scheduled_reports_spec.rb} +8 -8
- data/spec/api/{sensor_download_api_spec.rb → sensor_download_spec.rb} +8 -8
- data/spec/api/{sensor_update_policies_api_spec.rb → sensor_update_policies_spec.rb} +8 -8
- data/spec/api/{sensor_usage_api_api_spec.rb → sensor_usage_spec.rb} +8 -8
- data/spec/api/{sensor_visibility_exclusions_api_spec.rb → sensor_visibility_exclusions_spec.rb} +8 -8
- data/spec/api/{spotlight_evaluation_logic_api_spec.rb → spotlight_evaluation_logic_spec.rb} +8 -8
- data/spec/api/{spotlight_vulnerabilities_api_spec.rb → spotlight_vulnerabilities_spec.rb} +12 -12
- data/spec/api/{threatgraph_api_spec.rb → threatgraph_spec.rb} +8 -8
- data/spec/api/{unidentified_containers_api_spec.rb → unidentified_containers_spec.rb} +13 -13
- data/spec/api/{user_management_api_spec.rb → user_management_spec.rb} +8 -8
- data/spec/api/vulnerabilities_spec.rb +66 -0
- data/spec/api/{workflows_api_spec.rb → workflows_spec.rb} +8 -8
- data/spec/api/{zero_trust_assessment_api_spec.rb → zero_trust_assessment_spec.rb} +8 -8
- data/spec/models/api_create_rule_operation_v1_spec.rb +63 -0
- data/spec/models/api_get_entities_rules_response_v1_spec.rb +63 -0
- data/spec/models/api_patch_rule_operation_v1_spec.rb +63 -0
- data/spec/models/api_patch_rule_search_v1_spec.rb +69 -0
- data/spec/models/api_rule_create_request_v1_spec.rb +111 -0
- data/spec/models/api_rule_operation_v1_spec.rb +69 -0
- data/spec/models/api_rule_patch_request_v1_spec.rb +99 -0
- data/spec/models/api_rule_schedule_v1_patch_spec.rb +51 -0
- data/spec/models/api_rule_schedule_v1_spec.rb +51 -0
- data/spec/models/api_rule_search_v1_spec.rb +69 -0
- data/spec/models/api_rule_v1_spec.rb +16 -34
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +0 -36
- data/spec/models/assets_get_resource_ids_response_spec.rb +63 -0
- data/spec/models/assets_get_resources_response_spec.rb +63 -0
- data/spec/models/base_set_content_update_policy_precedence_req_v1_spec.rb +51 -0
- data/spec/models/content_update_create_policies_req_v1_spec.rb +51 -0
- data/spec/models/content_update_create_policy_req_v1_spec.rb +63 -0
- data/spec/models/content_update_ring_assignment_settings_v1_spec.rb +57 -0
- data/spec/models/content_update_settings_v1_spec.rb +51 -0
- data/spec/models/content_update_update_policies_req_v1_spec.rb +51 -0
- data/spec/models/content_update_update_policy_req_v1_spec.rb +69 -0
- data/spec/models/dataclassifications_label_spec.rb +63 -0
- data/spec/models/dataclassifications_response_spec.rb +75 -0
- data/spec/models/dataclassifications_tag_spec.rb +69 -0
- data/spec/models/deployments_api_deployment_ring_view_spec.rb +87 -0
- data/spec/models/deployments_api_deployment_view_spec.rb +93 -0
- data/spec/models/deployments_api_deployment_view_wrapper_spec.rb +63 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_meta_spec.rb +69 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_paging_spec.rb +63 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_request_swagger_spec.rb +69 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_response_swagger_spec.rb +63 -0
- data/spec/models/device_control_usb_class_exceptions_req_v1_spec.rb +1 -1
- data/spec/models/device_control_usb_class_exceptions_response_spec.rb +1 -1
- data/spec/models/devicecontent_content_category_spec.rb +51 -0
- data/spec/models/devicecontent_state_spec.rb +117 -0
- data/spec/models/devicecontentapi_entities_response_v1_spec.rb +63 -0
- data/spec/models/devicecontentapi_query_response_v1_spec.rb +63 -0
- data/spec/models/domain_aws_account_resource_metadata_spec.rb +30 -0
- data/spec/models/domain_benchmark_spec.rb +6 -0
- data/spec/models/domain_content_update_policy_resp_v1_spec.rb +153 -0
- data/spec/models/domain_content_update_settings_v1_spec.rb +51 -0
- data/spec/models/domain_discover_api_active_discovery_host_spec.rb +12 -0
- data/spec/models/domain_discover_api_application_host_spec.rb +6 -0
- data/spec/models/domain_discover_api_host_spec.rb +18 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +18 -0
- data/spec/models/domain_kestrel_params_spec.rb +51 -0
- data/spec/models/domain_lookup_file_spec.rb +147 -0
- data/spec/models/domain_lookup_file_wrapper_spec.rb +63 -0
- data/spec/models/domain_report_metadata_spec.rb +6 -0
- data/spec/models/domain_ring_assignment_settings_v1_spec.rb +63 -0
- data/spec/models/domain_scheduled_report_v1_spec.rb +6 -0
- data/spec/models/domain_update_rule_request_v1_spec.rb +6 -0
- data/spec/models/figapi_adversary_spec.rb +51 -0
- data/spec/models/figapi_country_spec.rb +57 -0
- data/spec/models/figapi_domain_spec.rb +117 -0
- data/spec/models/figapi_email_address_spec.rb +63 -0
- data/spec/models/figapi_file_spec.rb +87 -0
- data/spec/models/figapi_indicator_spec.rb +183 -0
- data/spec/models/figapi_ipv4_spec.rb +69 -0
- data/spec/models/figapi_ipv6_spec.rb +69 -0
- data/spec/models/figapi_mx_record_spec.rb +75 -0
- data/spec/models/figapi_name_server_spec.rb +63 -0
- data/spec/models/figapi_report_spec.rb +51 -0
- data/spec/models/figapi_sector_spec.rb +57 -0
- data/spec/models/figapi_threat_spec.rb +51 -0
- data/spec/models/figapi_url_spec.rb +57 -0
- data/spec/models/figapi_vulnerability_spec.rb +141 -0
- data/spec/models/figapi_who_is_spec.rb +69 -0
- data/spec/models/figapi_whois_record_spec.rb +99 -0
- data/spec/models/figapi_x509_certificate_spec.rb +93 -0
- data/spec/models/graph_condition_spec.rb +0 -6
- data/spec/models/help_spec.rb +51 -0
- data/spec/models/ingestion_cve_exploit_reference_spec.rb +63 -0
- data/spec/models/ingestion_cve_exploit_source_spec.rb +69 -0
- data/spec/models/ingestion_ex_prt_rating_factors_spec.rb +69 -0
- data/spec/models/ingestion_reference_spec.rb +57 -0
- data/spec/models/inventoryapi_surface_error_spec.rb +63 -0
- data/spec/models/inventoryapi_user_external_asset_create_request_v1_spec.rb +51 -0
- data/spec/models/inventoryapi_user_external_asset_create_response_v1_spec.rb +63 -0
- data/spec/models/inventoryapi_user_external_asset_create_spec.rb +57 -0
- data/spec/models/inventoryapi_user_external_asset_result_spec.rb +93 -0
- data/spec/models/inventoryapi_user_external_asset_spec.rb +57 -0
- data/spec/models/inventoryapidomain_subsidiary_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +12 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +12 -0
- data/spec/models/jsonschema_ui_extensions_spec.rb +18 -0
- data/spec/models/models_api_customer_and_image_spec.rb +6 -0
- data/spec/models/models_api_image_combined_export_spec.rb +12 -0
- data/spec/models/models_api_package_combined_spec.rb +6 -0
- data/spec/models/models_api_package_combined_v2_spec.rb +111 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +6 -0
- data/spec/models/models_application_library_spec.rb +6 -0
- data/spec/models/models_container_spec.rb +6 -0
- data/spec/models/models_ext_api_image_combined_spec.rb +6 -0
- data/spec/models/models_message_spec.rb +51 -0
- data/spec/models/models_partial_fingerprints_spec.rb +51 -0
- data/spec/models/models_result_location_properties_spec.rb +57 -0
- data/spec/models/models_result_location_spec.rb +57 -0
- data/spec/models/models_result_physical_location_artifact_location_spec.rb +51 -0
- data/spec/models/models_result_physical_location_region_spec.rb +51 -0
- data/spec/models/models_result_physical_location_spec.rb +57 -0
- data/spec/models/models_result_properties_spec.rb +105 -0
- data/spec/models/models_result_spec.rb +93 -0
- data/spec/models/models_rule_default_configuration_spec.rb +51 -0
- data/spec/models/models_rule_properties_spec.rb +231 -0
- data/spec/models/models_rule_spec.rb +93 -0
- data/spec/models/models_run_spec.rb +57 -0
- data/spec/models/models_run_tool_driver_spec.rb +69 -0
- data/spec/models/models_run_tool_spec.rb +51 -0
- data/spec/models/models_vulnerability_sarif_spec.rb +63 -0
- data/spec/models/packages_api_combined_package_v2_spec.rb +63 -0
- data/spec/models/policyframework_benchmark_spec.rb +57 -0
- data/spec/models/policyframework_control_spec.rb +87 -0
- data/spec/models/quickscanpro_query_scan_results_response_spec.rb +6 -0
- data/spec/models/registration_aws_account_ext_v2_spec.rb +12 -0
- data/spec/models/registration_aws_account_patch_spec.rb +12 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/releasecontents_release_content_spec.rb +93 -0
- data/spec/models/releasecontents_release_content_version_spec.rb +63 -0
- data/spec/models/releasenotes_entities_get_request_spec.rb +51 -0
- data/spec/models/releasenotes_entities_get_response_wrapper_spec.rb +63 -0
- data/spec/models/releasenotes_note_detail_spec.rb +69 -0
- data/spec/models/releasenotes_release_note_v1_spec.rb +81 -0
- data/spec/models/releasenotes_release_note_wrapper_v1_spec.rb +63 -0
- data/spec/models/releases_release_spec.rb +99 -0
- data/spec/models/releases_release_wrapper_spec.rb +63 -0
- data/spec/models/resources_app_spec.rb +57 -0
- data/spec/models/resources_asset_graph_spec.rb +57 -0
- data/spec/models/resources_cloud_context_spec.rb +147 -0
- data/spec/models/resources_cloud_resource_spec.rb +291 -0
- data/spec/models/resources_compliance_spec.rb +87 -0
- data/spec/models/resources_detections_spec.rb +81 -0
- data/spec/models/resources_host_spec.rb +147 -0
- data/spec/models/resources_relationship_spec.rb +69 -0
- data/spec/models/resources_vulnerability_spec.rb +63 -0
- data/spec/models/rest_azure_download_script_request_data_spec.rb +51 -0
- data/spec/models/rest_azure_download_script_request_v1_spec.rb +51 -0
- data/spec/models/rest_azure_provision_get_account_script_response_v1_spec.rb +63 -0
- data/spec/models/rest_azure_script_spec.rb +69 -0
- data/spec/models/rest_cursor_and_limit_meta_info_spec.rb +81 -0
- data/spec/models/rest_cursor_meta_info_spec.rb +75 -0
- data/spec/models/rest_cursor_response_fields_spec.rb +57 -0
- data/spec/models/{client_fql_statement_spec.rb → rest_paging_spec.rb} +9 -9
- data/spec/models/restapi_indicator_response_spec.rb +63 -0
- data/spec/models/restapi_indicators_query_request_spec.rb +57 -0
- data/spec/models/restapi_indicators_query_sort_request_spec.rb +63 -0
- data/spec/models/sadomain_typosquatting_base_domain_spec.rb +12 -0
- data/spec/models/sadomain_typosquatting_subdomain_spec.rb +0 -6
- data/spec/models/string_wrapper_spec.rb +63 -0
- data/spec/models/types_get_executor_nodes_metadata_response_spec.rb +75 -0
- data/spec/models/types_get_integration_tasks_metadata_response_spec.rb +69 -0
- data/spec/models/v2_for_loop_spec.rb +6 -0
- data/spec/models/vulnerabilities_vulnerability_entity_sarif_response_spec.rb +63 -0
- data/spec/spec_helper.rb +8 -0
- metadata +2129 -1732
@@ -30,7 +30,7 @@ SOFTWARE.
|
|
30
30
|
require 'cgi'
|
31
31
|
|
32
32
|
module Falcon
|
33
|
-
class
|
33
|
+
class KubernetesProtection
|
34
34
|
attr_accessor :api_client
|
35
35
|
|
36
36
|
def initialize(api_client = ApiClient.default)
|
@@ -51,11 +51,11 @@ module Falcon
|
|
51
51
|
# @return [Array<(K8sregCreateAWSAccResp, Integer, Hash)>] K8sregCreateAWSAccResp data, response status code and response headers
|
52
52
|
def create_aws_account_with_http_info(body, opts = {})
|
53
53
|
if @api_client.config.debugging
|
54
|
-
@api_client.config.logger.debug 'Calling API:
|
54
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.create_aws_account ...'
|
55
55
|
end
|
56
56
|
# verify the required parameter 'body' is set
|
57
57
|
if @api_client.config.client_side_validation && body.nil?
|
58
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
58
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KubernetesProtection.create_aws_account"
|
59
59
|
end
|
60
60
|
# resource path
|
61
61
|
local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
|
@@ -86,7 +86,7 @@ module Falcon
|
|
86
86
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
87
87
|
|
88
88
|
new_options = opts.merge(
|
89
|
-
:operation => :"
|
89
|
+
:operation => :"KubernetesProtection.create_aws_account",
|
90
90
|
:header_params => header_params,
|
91
91
|
:query_params => query_params,
|
92
92
|
:form_params => form_params,
|
@@ -97,7 +97,7 @@ module Falcon
|
|
97
97
|
|
98
98
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
99
99
|
if @api_client.config.debugging
|
100
|
-
@api_client.config.logger.debug "API called:
|
100
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#create_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
101
101
|
end
|
102
102
|
return data, status_code, headers
|
103
103
|
end
|
@@ -117,11 +117,11 @@ module Falcon
|
|
117
117
|
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
118
118
|
def create_azure_subscription_with_http_info(body, opts = {})
|
119
119
|
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug 'Calling API:
|
120
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.create_azure_subscription ...'
|
121
121
|
end
|
122
122
|
# verify the required parameter 'body' is set
|
123
123
|
if @api_client.config.client_side_validation && body.nil?
|
124
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
124
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling KubernetesProtection.create_azure_subscription"
|
125
125
|
end
|
126
126
|
# resource path
|
127
127
|
local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
|
@@ -152,7 +152,7 @@ module Falcon
|
|
152
152
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
153
153
|
|
154
154
|
new_options = opts.merge(
|
155
|
-
:operation => :"
|
155
|
+
:operation => :"KubernetesProtection.create_azure_subscription",
|
156
156
|
:header_params => header_params,
|
157
157
|
:query_params => query_params,
|
158
158
|
:form_params => form_params,
|
@@ -163,7 +163,7 @@ module Falcon
|
|
163
163
|
|
164
164
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
165
165
|
if @api_client.config.debugging
|
166
|
-
@api_client.config.logger.debug "API called:
|
166
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#create_azure_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
167
167
|
end
|
168
168
|
return data, status_code, headers
|
169
169
|
end
|
@@ -183,11 +183,11 @@ module Falcon
|
|
183
183
|
# @return [Array<(MsaMetaInfo, Integer, Hash)>] MsaMetaInfo data, response status code and response headers
|
184
184
|
def delete_aws_accounts_mixin0_with_http_info(ids, opts = {})
|
185
185
|
if @api_client.config.debugging
|
186
|
-
@api_client.config.logger.debug 'Calling API:
|
186
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.delete_aws_accounts_mixin0 ...'
|
187
187
|
end
|
188
188
|
# verify the required parameter 'ids' is set
|
189
189
|
if @api_client.config.client_side_validation && ids.nil?
|
190
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling
|
190
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesProtection.delete_aws_accounts_mixin0"
|
191
191
|
end
|
192
192
|
# resource path
|
193
193
|
local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
|
@@ -214,7 +214,7 @@ module Falcon
|
|
214
214
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
215
215
|
|
216
216
|
new_options = opts.merge(
|
217
|
-
:operation => :"
|
217
|
+
:operation => :"KubernetesProtection.delete_aws_accounts_mixin0",
|
218
218
|
:header_params => header_params,
|
219
219
|
:query_params => query_params,
|
220
220
|
:form_params => form_params,
|
@@ -225,7 +225,7 @@ module Falcon
|
|
225
225
|
|
226
226
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
227
227
|
if @api_client.config.debugging
|
228
|
-
@api_client.config.logger.debug "API called:
|
228
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#delete_aws_accounts_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
229
229
|
end
|
230
230
|
return data, status_code, headers
|
231
231
|
end
|
@@ -245,7 +245,7 @@ module Falcon
|
|
245
245
|
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
246
246
|
def delete_azure_subscription_with_http_info(opts = {})
|
247
247
|
if @api_client.config.debugging
|
248
|
-
@api_client.config.logger.debug 'Calling API:
|
248
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.delete_azure_subscription ...'
|
249
249
|
end
|
250
250
|
# resource path
|
251
251
|
local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
|
@@ -272,7 +272,7 @@ module Falcon
|
|
272
272
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
273
273
|
|
274
274
|
new_options = opts.merge(
|
275
|
-
:operation => :"
|
275
|
+
:operation => :"KubernetesProtection.delete_azure_subscription",
|
276
276
|
:header_params => header_params,
|
277
277
|
:query_params => query_params,
|
278
278
|
:form_params => form_params,
|
@@ -283,33 +283,33 @@ module Falcon
|
|
283
283
|
|
284
284
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
285
285
|
if @api_client.config.debugging
|
286
|
-
@api_client.config.logger.debug "API called:
|
286
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#delete_azure_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
287
287
|
end
|
288
288
|
return data, status_code, headers
|
289
289
|
end
|
290
290
|
|
291
|
-
#
|
291
|
+
# Maximum offset = 10000 - limit
|
292
292
|
# @param [Hash] opts the optional parameters
|
293
|
-
# @option opts [Integer] :limit The upper-bound on the number of
|
294
|
-
# @option opts [Integer] :offset
|
295
|
-
# @option opts [String] :sort
|
296
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported
|
293
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
294
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
295
|
+
# @option opts [String] :sort The fields to sort the records on.
|
296
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
297
|
# @return [ModelsContainerRuntimePivotResponse]
|
298
298
|
def find_containers_by_container_run_time_version(opts = {})
|
299
299
|
data, _status_code, _headers = find_containers_by_container_run_time_version_with_http_info(opts)
|
300
300
|
data
|
301
301
|
end
|
302
302
|
|
303
|
-
#
|
303
|
+
# Maximum offset = 10000 - limit
|
304
304
|
# @param [Hash] opts the optional parameters
|
305
|
-
# @option opts [Integer] :limit The upper-bound on the number of
|
306
|
-
# @option opts [Integer] :offset
|
307
|
-
# @option opts [String] :sort
|
308
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported
|
305
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
306
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
307
|
+
# @option opts [String] :sort The fields to sort the records on.
|
308
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
309
|
# @return [Array<(ModelsContainerRuntimePivotResponse, Integer, Hash)>] ModelsContainerRuntimePivotResponse data, response status code and response headers
|
310
310
|
def find_containers_by_container_run_time_version_with_http_info(opts = {})
|
311
311
|
if @api_client.config.debugging
|
312
|
-
@api_client.config.logger.debug 'Calling API:
|
312
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.find_containers_by_container_run_time_version ...'
|
313
313
|
end
|
314
314
|
# resource path
|
315
315
|
local_var_path = '/container-security/aggregates/containers/find-by-runtimeversion/v1'
|
@@ -339,7 +339,7 @@ module Falcon
|
|
339
339
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
340
340
|
|
341
341
|
new_options = opts.merge(
|
342
|
-
:operation => :"
|
342
|
+
:operation => :"KubernetesProtection.find_containers_by_container_run_time_version",
|
343
343
|
:header_params => header_params,
|
344
344
|
:query_params => query_params,
|
345
345
|
:form_params => form_params,
|
@@ -350,7 +350,7 @@ module Falcon
|
|
350
350
|
|
351
351
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
352
352
|
if @api_client.config.debugging
|
353
|
-
@api_client.config.logger.debug "API called:
|
353
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#find_containers_by_container_run_time_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
354
354
|
end
|
355
355
|
return data, status_code, headers
|
356
356
|
end
|
@@ -368,7 +368,7 @@ module Falcon
|
|
368
368
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
369
369
|
def find_containers_count_affected_by_zero_day_vulnerabilities_with_http_info(opts = {})
|
370
370
|
if @api_client.config.debugging
|
371
|
-
@api_client.config.logger.debug 'Calling API:
|
371
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.find_containers_count_affected_by_zero_day_vulnerabilities ...'
|
372
372
|
end
|
373
373
|
# resource path
|
374
374
|
local_var_path = '/container-security/aggregates/containers/count-by-zero-day/v1'
|
@@ -394,7 +394,7 @@ module Falcon
|
|
394
394
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
395
395
|
|
396
396
|
new_options = opts.merge(
|
397
|
-
:operation => :"
|
397
|
+
:operation => :"KubernetesProtection.find_containers_count_affected_by_zero_day_vulnerabilities",
|
398
398
|
:header_params => header_params,
|
399
399
|
:query_params => query_params,
|
400
400
|
:form_params => form_params,
|
@@ -405,7 +405,7 @@ module Falcon
|
|
405
405
|
|
406
406
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
407
407
|
if @api_client.config.debugging
|
408
|
-
@api_client.config.logger.debug "API called:
|
408
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#find_containers_count_affected_by_zero_day_vulnerabilities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
409
409
|
end
|
410
410
|
return data, status_code, headers
|
411
411
|
end
|
@@ -433,7 +433,7 @@ module Falcon
|
|
433
433
|
# @return [Array<(K8sregGetAWSAccountsResp, Integer, Hash)>] K8sregGetAWSAccountsResp data, response status code and response headers
|
434
434
|
def get_aws_accounts_mixin0_with_http_info(opts = {})
|
435
435
|
if @api_client.config.debugging
|
436
|
-
@api_client.config.logger.debug 'Calling API:
|
436
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_aws_accounts_mixin0 ...'
|
437
437
|
end
|
438
438
|
allowable_values = ["false", "true"]
|
439
439
|
if @api_client.config.client_side_validation && opts[:'is_horizon_acct'] && !allowable_values.include?(opts[:'is_horizon_acct'])
|
@@ -441,7 +441,7 @@ module Falcon
|
|
441
441
|
end
|
442
442
|
pattern = Regexp.new(/^(true|false)$/)
|
443
443
|
if @api_client.config.client_side_validation && !opts[:'is_horizon_acct'].nil? && opts[:'is_horizon_acct'] !~ pattern
|
444
|
-
fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling
|
444
|
+
fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling KubernetesProtection.get_aws_accounts_mixin0, must conform to the pattern #{pattern}."
|
445
445
|
end
|
446
446
|
|
447
447
|
allowable_values = ["operational", "provisioned"]
|
@@ -450,19 +450,19 @@ module Falcon
|
|
450
450
|
end
|
451
451
|
pattern = Regexp.new(/^(provisioned|operational)$/)
|
452
452
|
if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
|
453
|
-
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling
|
453
|
+
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling KubernetesProtection.get_aws_accounts_mixin0, must conform to the pattern #{pattern}."
|
454
454
|
end
|
455
455
|
|
456
456
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
457
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
457
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_aws_accounts_mixin0, must be smaller than or equal to 1000.'
|
458
458
|
end
|
459
459
|
|
460
460
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
461
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
461
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_aws_accounts_mixin0, must be greater than or equal to 0.'
|
462
462
|
end
|
463
463
|
|
464
464
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
465
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
465
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_aws_accounts_mixin0, must be greater than or equal to 0.'
|
466
466
|
end
|
467
467
|
|
468
468
|
# resource path
|
@@ -494,7 +494,7 @@ module Falcon
|
|
494
494
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
495
495
|
|
496
496
|
new_options = opts.merge(
|
497
|
-
:operation => :"
|
497
|
+
:operation => :"KubernetesProtection.get_aws_accounts_mixin0",
|
498
498
|
:header_params => header_params,
|
499
499
|
:query_params => query_params,
|
500
500
|
:form_params => form_params,
|
@@ -505,7 +505,7 @@ module Falcon
|
|
505
505
|
|
506
506
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
507
507
|
if @api_client.config.debugging
|
508
|
-
@api_client.config.logger.debug "API called:
|
508
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_aws_accounts_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
509
509
|
end
|
510
510
|
return data, status_code, headers
|
511
511
|
end
|
@@ -527,19 +527,19 @@ module Falcon
|
|
527
527
|
# @return [Array<(K8sregGetAzureBashScriptResp, Integer, Hash)>] K8sregGetAzureBashScriptResp data, response status code and response headers
|
528
528
|
def get_azure_install_script_with_http_info(opts = {})
|
529
529
|
if @api_client.config.debugging
|
530
|
-
@api_client.config.logger.debug 'Calling API:
|
530
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_azure_install_script ...'
|
531
531
|
end
|
532
532
|
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'].to_s.length > 36
|
533
|
-
fail ArgumentError, 'invalid value for "opts[:"id"]" when calling
|
533
|
+
fail ArgumentError, 'invalid value for "opts[:"id"]" when calling KubernetesProtection.get_azure_install_script, the character length must be smaller than or equal to 36.'
|
534
534
|
end
|
535
535
|
|
536
536
|
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'].to_s.length < 36
|
537
|
-
fail ArgumentError, 'invalid value for "opts[:"id"]" when calling
|
537
|
+
fail ArgumentError, 'invalid value for "opts[:"id"]" when calling KubernetesProtection.get_azure_install_script, the character length must be great than or equal to 36.'
|
538
538
|
end
|
539
539
|
|
540
540
|
pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
|
541
541
|
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'] !~ pattern
|
542
|
-
fail ArgumentError, "invalid value for 'opts[:\"id\"]' when calling
|
542
|
+
fail ArgumentError, "invalid value for 'opts[:\"id\"]' when calling KubernetesProtection.get_azure_install_script, must conform to the pattern #{pattern}."
|
543
543
|
end
|
544
544
|
|
545
545
|
# resource path
|
@@ -568,7 +568,7 @@ module Falcon
|
|
568
568
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
569
569
|
|
570
570
|
new_options = opts.merge(
|
571
|
-
:operation => :"
|
571
|
+
:operation => :"KubernetesProtection.get_azure_install_script",
|
572
572
|
:header_params => header_params,
|
573
573
|
:query_params => query_params,
|
574
574
|
:form_params => form_params,
|
@@ -579,7 +579,7 @@ module Falcon
|
|
579
579
|
|
580
580
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
581
581
|
if @api_client.config.debugging
|
582
|
-
@api_client.config.logger.debug "API called:
|
582
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_azure_install_script\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
583
583
|
end
|
584
584
|
return data, status_code, headers
|
585
585
|
end
|
@@ -603,18 +603,18 @@ module Falcon
|
|
603
603
|
# @return [Array<(K8sregGetAzureTenantConfigResp, Integer, Hash)>] K8sregGetAzureTenantConfigResp data, response status code and response headers
|
604
604
|
def get_azure_tenant_config_with_http_info(opts = {})
|
605
605
|
if @api_client.config.debugging
|
606
|
-
@api_client.config.logger.debug 'Calling API:
|
606
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_azure_tenant_config ...'
|
607
607
|
end
|
608
608
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
609
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
609
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_config, must be smaller than or equal to 1000.'
|
610
610
|
end
|
611
611
|
|
612
612
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
613
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
613
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_config, must be greater than or equal to 0.'
|
614
614
|
end
|
615
615
|
|
616
616
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
617
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
617
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_azure_tenant_config, must be greater than or equal to 0.'
|
618
618
|
end
|
619
619
|
|
620
620
|
# resource path
|
@@ -644,7 +644,7 @@ module Falcon
|
|
644
644
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
645
645
|
|
646
646
|
new_options = opts.merge(
|
647
|
-
:operation => :"
|
647
|
+
:operation => :"KubernetesProtection.get_azure_tenant_config",
|
648
648
|
:header_params => header_params,
|
649
649
|
:query_params => query_params,
|
650
650
|
:form_params => form_params,
|
@@ -655,7 +655,7 @@ module Falcon
|
|
655
655
|
|
656
656
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
657
657
|
if @api_client.config.debugging
|
658
|
-
@api_client.config.logger.debug "API called:
|
658
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_azure_tenant_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
659
659
|
end
|
660
660
|
return data, status_code, headers
|
661
661
|
end
|
@@ -681,22 +681,22 @@ module Falcon
|
|
681
681
|
# @return [Array<(K8sregGetAzureTenantInfoResp, Integer, Hash)>] K8sregGetAzureTenantInfoResp data, response status code and response headers
|
682
682
|
def get_azure_tenant_ids_with_http_info(opts = {})
|
683
683
|
if @api_client.config.debugging
|
684
|
-
@api_client.config.logger.debug 'Calling API:
|
684
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_azure_tenant_ids ...'
|
685
685
|
end
|
686
686
|
allowable_values = ["Not Installed", "Running", "Stopped"]
|
687
687
|
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
688
688
|
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
689
689
|
end
|
690
690
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
691
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
691
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_ids, must be smaller than or equal to 1000.'
|
692
692
|
end
|
693
693
|
|
694
694
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
695
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
695
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_azure_tenant_ids, must be greater than or equal to 0.'
|
696
696
|
end
|
697
697
|
|
698
698
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
699
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
699
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_azure_tenant_ids, must be greater than or equal to 0.'
|
700
700
|
end
|
701
701
|
|
702
702
|
# resource path
|
@@ -727,7 +727,7 @@ module Falcon
|
|
727
727
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
728
728
|
|
729
729
|
new_options = opts.merge(
|
730
|
-
:operation => :"
|
730
|
+
:operation => :"KubernetesProtection.get_azure_tenant_ids",
|
731
731
|
:header_params => header_params,
|
732
732
|
:query_params => query_params,
|
733
733
|
:form_params => form_params,
|
@@ -738,7 +738,7 @@ module Falcon
|
|
738
738
|
|
739
739
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
740
740
|
if @api_client.config.debugging
|
741
|
-
@api_client.config.logger.debug "API called:
|
741
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_azure_tenant_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
742
742
|
end
|
743
743
|
return data, status_code, headers
|
744
744
|
end
|
@@ -770,7 +770,7 @@ module Falcon
|
|
770
770
|
# @return [Array<(K8sregGetClustersResp, Integer, Hash)>] K8sregGetClustersResp data, response status code and response headers
|
771
771
|
def get_clusters_with_http_info(opts = {})
|
772
772
|
if @api_client.config.debugging
|
773
|
-
@api_client.config.logger.debug 'Calling API:
|
773
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_clusters ...'
|
774
774
|
end
|
775
775
|
allowable_values = []
|
776
776
|
if @api_client.config.client_side_validation && opts[:'status'] && !opts[:'status'].all? { |item| allowable_values.include?(item) }
|
@@ -781,15 +781,15 @@ module Falcon
|
|
781
781
|
fail ArgumentError, "invalid value for \"cluster_service\", must be one of #{allowable_values}"
|
782
782
|
end
|
783
783
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
784
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
784
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_clusters, must be smaller than or equal to 1000.'
|
785
785
|
end
|
786
786
|
|
787
787
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
788
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
788
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_clusters, must be greater than or equal to 0.'
|
789
789
|
end
|
790
790
|
|
791
791
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
792
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
792
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_clusters, must be greater than or equal to 0.'
|
793
793
|
end
|
794
794
|
|
795
795
|
# resource path
|
@@ -823,7 +823,7 @@ module Falcon
|
|
823
823
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
824
824
|
|
825
825
|
new_options = opts.merge(
|
826
|
-
:operation => :"
|
826
|
+
:operation => :"KubernetesProtection.get_clusters",
|
827
827
|
:header_params => header_params,
|
828
828
|
:query_params => query_params,
|
829
829
|
:form_params => form_params,
|
@@ -834,7 +834,7 @@ module Falcon
|
|
834
834
|
|
835
835
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
836
836
|
if @api_client.config.debugging
|
837
|
-
@api_client.config.logger.debug "API called:
|
837
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_clusters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
838
838
|
end
|
839
839
|
return data, status_code, headers
|
840
840
|
end
|
@@ -864,7 +864,7 @@ module Falcon
|
|
864
864
|
# @return [Array<(K8sregListClusterCloudResp, Integer, Hash)>] K8sregListClusterCloudResp data, response status code and response headers
|
865
865
|
def get_combined_cloud_clusters_with_http_info(opts = {})
|
866
866
|
if @api_client.config.debugging
|
867
|
-
@api_client.config.logger.debug 'Calling API:
|
867
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_combined_cloud_clusters ...'
|
868
868
|
end
|
869
869
|
allowable_values = []
|
870
870
|
if @api_client.config.client_side_validation && opts[:'cluster_service'] && !opts[:'cluster_service'].all? { |item| allowable_values.include?(item) }
|
@@ -875,15 +875,15 @@ module Falcon
|
|
875
875
|
fail ArgumentError, "invalid value for \"cluster_status\", must include one of #{allowable_values}"
|
876
876
|
end
|
877
877
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
878
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
878
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_combined_cloud_clusters, must be smaller than or equal to 1000.'
|
879
879
|
end
|
880
880
|
|
881
881
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
882
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
882
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.get_combined_cloud_clusters, must be greater than or equal to 0.'
|
883
883
|
end
|
884
884
|
|
885
885
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
886
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
886
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.get_combined_cloud_clusters, must be greater than or equal to 0.'
|
887
887
|
end
|
888
888
|
|
889
889
|
# resource path
|
@@ -916,7 +916,7 @@ module Falcon
|
|
916
916
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
917
917
|
|
918
918
|
new_options = opts.merge(
|
919
|
-
:operation => :"
|
919
|
+
:operation => :"KubernetesProtection.get_combined_cloud_clusters",
|
920
920
|
:header_params => header_params,
|
921
921
|
:query_params => query_params,
|
922
922
|
:form_params => form_params,
|
@@ -927,7 +927,7 @@ module Falcon
|
|
927
927
|
|
928
928
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
929
929
|
if @api_client.config.debugging
|
930
|
-
@api_client.config.logger.debug "API called:
|
930
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_combined_cloud_clusters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
931
931
|
end
|
932
932
|
return data, status_code, headers
|
933
933
|
end
|
@@ -949,11 +949,11 @@ module Falcon
|
|
949
949
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
950
950
|
def get_helm_values_yaml_with_http_info(cluster_name, opts = {})
|
951
951
|
if @api_client.config.debugging
|
952
|
-
@api_client.config.logger.debug 'Calling API:
|
952
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_helm_values_yaml ...'
|
953
953
|
end
|
954
954
|
# verify the required parameter 'cluster_name' is set
|
955
955
|
if @api_client.config.client_side_validation && cluster_name.nil?
|
956
|
-
fail ArgumentError, "Missing the required parameter 'cluster_name' when calling
|
956
|
+
fail ArgumentError, "Missing the required parameter 'cluster_name' when calling KubernetesProtection.get_helm_values_yaml"
|
957
957
|
end
|
958
958
|
# resource path
|
959
959
|
local_var_path = '/kubernetes-protection/entities/integration/agent/v1'
|
@@ -981,7 +981,7 @@ module Falcon
|
|
981
981
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
982
982
|
|
983
983
|
new_options = opts.merge(
|
984
|
-
:operation => :"
|
984
|
+
:operation => :"KubernetesProtection.get_helm_values_yaml",
|
985
985
|
:header_params => header_params,
|
986
986
|
:query_params => query_params,
|
987
987
|
:form_params => form_params,
|
@@ -992,7 +992,7 @@ module Falcon
|
|
992
992
|
|
993
993
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
994
994
|
if @api_client.config.debugging
|
995
|
-
@api_client.config.logger.debug "API called:
|
995
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_helm_values_yaml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
996
996
|
end
|
997
997
|
return data, status_code, headers
|
998
998
|
end
|
@@ -1012,7 +1012,7 @@ module Falcon
|
|
1012
1012
|
# @return [Array<(K8sregGetLocationsResp, Integer, Hash)>] K8sregGetLocationsResp data, response status code and response headers
|
1013
1013
|
def get_locations_with_http_info(opts = {})
|
1014
1014
|
if @api_client.config.debugging
|
1015
|
-
@api_client.config.logger.debug 'Calling API:
|
1015
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_locations ...'
|
1016
1016
|
end
|
1017
1017
|
allowable_values = []
|
1018
1018
|
if @api_client.config.client_side_validation && opts[:'clouds'] && !opts[:'clouds'].all? { |item| allowable_values.include?(item) }
|
@@ -1043,7 +1043,7 @@ module Falcon
|
|
1043
1043
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1044
1044
|
|
1045
1045
|
new_options = opts.merge(
|
1046
|
-
:operation => :"
|
1046
|
+
:operation => :"KubernetesProtection.get_locations",
|
1047
1047
|
:header_params => header_params,
|
1048
1048
|
:query_params => query_params,
|
1049
1049
|
:form_params => form_params,
|
@@ -1054,7 +1054,7 @@ module Falcon
|
|
1054
1054
|
|
1055
1055
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1056
1056
|
if @api_client.config.debugging
|
1057
|
-
@api_client.config.logger.debug "API called:
|
1057
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_locations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1058
1058
|
end
|
1059
1059
|
return data, status_code, headers
|
1060
1060
|
end
|
@@ -1072,7 +1072,7 @@ module Falcon
|
|
1072
1072
|
# @return [Array<(K8sregGetScriptsResp, Integer, Hash)>] K8sregGetScriptsResp data, response status code and response headers
|
1073
1073
|
def get_static_scripts_with_http_info(opts = {})
|
1074
1074
|
if @api_client.config.debugging
|
1075
|
-
@api_client.config.logger.debug 'Calling API:
|
1075
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.get_static_scripts ...'
|
1076
1076
|
end
|
1077
1077
|
# resource path
|
1078
1078
|
local_var_path = '/kubernetes-protection/entities/gen/scripts/v1'
|
@@ -1098,7 +1098,7 @@ module Falcon
|
|
1098
1098
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1099
1099
|
|
1100
1100
|
new_options = opts.merge(
|
1101
|
-
:operation => :"
|
1101
|
+
:operation => :"KubernetesProtection.get_static_scripts",
|
1102
1102
|
:header_params => header_params,
|
1103
1103
|
:query_params => query_params,
|
1104
1104
|
:form_params => form_params,
|
@@ -1109,14 +1109,14 @@ module Falcon
|
|
1109
1109
|
|
1110
1110
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1111
1111
|
if @api_client.config.debugging
|
1112
|
-
@api_client.config.logger.debug "API called:
|
1112
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#get_static_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1113
1113
|
end
|
1114
1114
|
return data, status_code, headers
|
1115
1115
|
end
|
1116
1116
|
|
1117
1117
|
# Group the containers by Managed
|
1118
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
|
1119
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
1120
|
# @return [ModelsContainerCoverageResponseEntity]
|
1121
1121
|
def group_containers_by_managed(opts = {})
|
1122
1122
|
data, _status_code, _headers = group_containers_by_managed_with_http_info(opts)
|
@@ -1125,11 +1125,11 @@ module Falcon
|
|
1125
1125
|
|
1126
1126
|
# Group the containers by Managed
|
1127
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
|
1128
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
1129
|
# @return [Array<(ModelsContainerCoverageResponseEntity, Integer, Hash)>] ModelsContainerCoverageResponseEntity data, response status code and response headers
|
1130
1130
|
def group_containers_by_managed_with_http_info(opts = {})
|
1131
1131
|
if @api_client.config.debugging
|
1132
|
-
@api_client.config.logger.debug 'Calling API:
|
1132
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.group_containers_by_managed ...'
|
1133
1133
|
end
|
1134
1134
|
# resource path
|
1135
1135
|
local_var_path = '/container-security/aggregates/containers/group-by-managed/v1'
|
@@ -1156,7 +1156,7 @@ module Falcon
|
|
1156
1156
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1157
1157
|
|
1158
1158
|
new_options = opts.merge(
|
1159
|
-
:operation => :"
|
1159
|
+
:operation => :"KubernetesProtection.group_containers_by_managed",
|
1160
1160
|
:header_params => header_params,
|
1161
1161
|
:query_params => query_params,
|
1162
1162
|
:form_params => form_params,
|
@@ -1167,7 +1167,7 @@ module Falcon
|
|
1167
1167
|
|
1168
1168
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1169
1169
|
if @api_client.config.debugging
|
1170
|
-
@api_client.config.logger.debug "API called:
|
1170
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#group_containers_by_managed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1171
1171
|
end
|
1172
1172
|
return data, status_code, headers
|
1173
1173
|
end
|
@@ -1197,7 +1197,7 @@ module Falcon
|
|
1197
1197
|
# @return [Array<(K8sregGetAzureSubscriptionsResp, Integer, Hash)>] K8sregGetAzureSubscriptionsResp data, response status code and response headers
|
1198
1198
|
def list_azure_accounts_with_http_info(opts = {})
|
1199
1199
|
if @api_client.config.debugging
|
1200
|
-
@api_client.config.logger.debug 'Calling API:
|
1200
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.list_azure_accounts ...'
|
1201
1201
|
end
|
1202
1202
|
allowable_values = ["operational", "provisioned"]
|
1203
1203
|
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
@@ -1205,7 +1205,7 @@ module Falcon
|
|
1205
1205
|
end
|
1206
1206
|
pattern = Regexp.new(/^(provisioned|operational)$/)
|
1207
1207
|
if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
|
1208
|
-
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling
|
1208
|
+
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling KubernetesProtection.list_azure_accounts, must conform to the pattern #{pattern}."
|
1209
1209
|
end
|
1210
1210
|
|
1211
1211
|
allowable_values = ["false", "true"]
|
@@ -1214,19 +1214,19 @@ module Falcon
|
|
1214
1214
|
end
|
1215
1215
|
pattern = Regexp.new(/^(true|false)$/)
|
1216
1216
|
if @api_client.config.client_side_validation && !opts[:'is_horizon_acct'].nil? && opts[:'is_horizon_acct'] !~ pattern
|
1217
|
-
fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling
|
1217
|
+
fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling KubernetesProtection.list_azure_accounts, must conform to the pattern #{pattern}."
|
1218
1218
|
end
|
1219
1219
|
|
1220
1220
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
1221
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
1221
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.list_azure_accounts, must be smaller than or equal to 1000.'
|
1222
1222
|
end
|
1223
1223
|
|
1224
1224
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
1225
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
1225
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtection.list_azure_accounts, must be greater than or equal to 0.'
|
1226
1226
|
end
|
1227
1227
|
|
1228
1228
|
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
1229
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling
|
1229
|
+
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtection.list_azure_accounts, must be greater than or equal to 0.'
|
1230
1230
|
end
|
1231
1231
|
|
1232
1232
|
# resource path
|
@@ -1259,7 +1259,7 @@ module Falcon
|
|
1259
1259
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1260
1260
|
|
1261
1261
|
new_options = opts.merge(
|
1262
|
-
:operation => :"
|
1262
|
+
:operation => :"KubernetesProtection.list_azure_accounts",
|
1263
1263
|
:header_params => header_params,
|
1264
1264
|
:query_params => query_params,
|
1265
1265
|
:form_params => form_params,
|
@@ -1270,7 +1270,7 @@ module Falcon
|
|
1270
1270
|
|
1271
1271
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1272
1272
|
if @api_client.config.debugging
|
1273
|
-
@api_client.config.logger.debug "API called:
|
1273
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#list_azure_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1274
1274
|
end
|
1275
1275
|
return data, status_code, headers
|
1276
1276
|
end
|
@@ -1292,40 +1292,40 @@ module Falcon
|
|
1292
1292
|
# @return [Array<(K8sregGetAzureTenantConfigResp, Integer, Hash)>] K8sregGetAzureTenantConfigResp data, response status code and response headers
|
1293
1293
|
def patch_azure_service_principal_with_http_info(id, client_id, opts = {})
|
1294
1294
|
if @api_client.config.debugging
|
1295
|
-
@api_client.config.logger.debug 'Calling API:
|
1295
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.patch_azure_service_principal ...'
|
1296
1296
|
end
|
1297
1297
|
# verify the required parameter 'id' is set
|
1298
1298
|
if @api_client.config.client_side_validation && id.nil?
|
1299
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling
|
1299
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling KubernetesProtection.patch_azure_service_principal"
|
1300
1300
|
end
|
1301
1301
|
if @api_client.config.client_side_validation && id.to_s.length > 36
|
1302
|
-
fail ArgumentError, 'invalid value for "id" when calling
|
1302
|
+
fail ArgumentError, 'invalid value for "id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be smaller than or equal to 36.'
|
1303
1303
|
end
|
1304
1304
|
|
1305
1305
|
if @api_client.config.client_side_validation && id.to_s.length < 36
|
1306
|
-
fail ArgumentError, 'invalid value for "id" when calling
|
1306
|
+
fail ArgumentError, 'invalid value for "id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be great than or equal to 36.'
|
1307
1307
|
end
|
1308
1308
|
|
1309
1309
|
pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
|
1310
1310
|
if @api_client.config.client_side_validation && id !~ pattern
|
1311
|
-
fail ArgumentError, "invalid value for 'id' when calling
|
1311
|
+
fail ArgumentError, "invalid value for 'id' when calling KubernetesProtection.patch_azure_service_principal, must conform to the pattern #{pattern}."
|
1312
1312
|
end
|
1313
1313
|
|
1314
1314
|
# verify the required parameter 'client_id' is set
|
1315
1315
|
if @api_client.config.client_side_validation && client_id.nil?
|
1316
|
-
fail ArgumentError, "Missing the required parameter 'client_id' when calling
|
1316
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling KubernetesProtection.patch_azure_service_principal"
|
1317
1317
|
end
|
1318
1318
|
if @api_client.config.client_side_validation && client_id.to_s.length > 36
|
1319
|
-
fail ArgumentError, 'invalid value for "client_id" when calling
|
1319
|
+
fail ArgumentError, 'invalid value for "client_id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be smaller than or equal to 36.'
|
1320
1320
|
end
|
1321
1321
|
|
1322
1322
|
if @api_client.config.client_side_validation && client_id.to_s.length < 36
|
1323
|
-
fail ArgumentError, 'invalid value for "client_id" when calling
|
1323
|
+
fail ArgumentError, 'invalid value for "client_id" when calling KubernetesProtection.patch_azure_service_principal, the character length must be great than or equal to 36.'
|
1324
1324
|
end
|
1325
1325
|
|
1326
1326
|
pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
|
1327
1327
|
if @api_client.config.client_side_validation && client_id !~ pattern
|
1328
|
-
fail ArgumentError, "invalid value for 'client_id' when calling
|
1328
|
+
fail ArgumentError, "invalid value for 'client_id' when calling KubernetesProtection.patch_azure_service_principal, must conform to the pattern #{pattern}."
|
1329
1329
|
end
|
1330
1330
|
|
1331
1331
|
# resource path
|
@@ -1354,7 +1354,7 @@ module Falcon
|
|
1354
1354
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1355
1355
|
|
1356
1356
|
new_options = opts.merge(
|
1357
|
-
:operation => :"
|
1357
|
+
:operation => :"KubernetesProtection.patch_azure_service_principal",
|
1358
1358
|
:header_params => header_params,
|
1359
1359
|
:query_params => query_params,
|
1360
1360
|
:form_params => form_params,
|
@@ -1365,33 +1365,33 @@ module Falcon
|
|
1365
1365
|
|
1366
1366
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1367
1367
|
if @api_client.config.debugging
|
1368
|
-
@api_client.config.logger.debug "API called:
|
1368
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#patch_azure_service_principal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1369
1369
|
end
|
1370
1370
|
return data, status_code, headers
|
1371
1371
|
end
|
1372
1372
|
|
1373
|
-
#
|
1373
|
+
# Maximum offset = 10000 - limit
|
1374
1374
|
# @param [Hash] opts the optional parameters
|
1375
|
-
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported
|
1376
|
-
# @option opts [
|
1375
|
+
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1376
|
+
# @option opts [String] :sort The fields to sort the records on.
|
1377
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
1377
1378
|
# @option opts [Integer] :offset The offset from where to begin.
|
1378
|
-
# @option opts [String] :sort Field to sort results by
|
1379
1379
|
# @return [ModelsClusterEntityResponse]
|
1380
1380
|
def read_cluster_combined(opts = {})
|
1381
1381
|
data, _status_code, _headers = read_cluster_combined_with_http_info(opts)
|
1382
1382
|
data
|
1383
1383
|
end
|
1384
1384
|
|
1385
|
-
#
|
1385
|
+
# Maximum offset = 10000 - limit
|
1386
1386
|
# @param [Hash] opts the optional parameters
|
1387
|
-
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported
|
1388
|
-
# @option opts [
|
1387
|
+
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1388
|
+
# @option opts [String] :sort The fields to sort the records on.
|
1389
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
1389
1390
|
# @option opts [Integer] :offset The offset from where to begin.
|
1390
|
-
# @option opts [String] :sort Field to sort results by
|
1391
1391
|
# @return [Array<(ModelsClusterEntityResponse, Integer, Hash)>] ModelsClusterEntityResponse data, response status code and response headers
|
1392
1392
|
def read_cluster_combined_with_http_info(opts = {})
|
1393
1393
|
if @api_client.config.debugging
|
1394
|
-
@api_client.config.logger.debug 'Calling API:
|
1394
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_cluster_combined ...'
|
1395
1395
|
end
|
1396
1396
|
# resource path
|
1397
1397
|
local_var_path = '/container-security/combined/clusters/v1'
|
@@ -1399,9 +1399,9 @@ module Falcon
|
|
1399
1399
|
# query parameters
|
1400
1400
|
query_params = opts[:query_params] || {}
|
1401
1401
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1402
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1402
1403
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1403
1404
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1404
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1405
1405
|
|
1406
1406
|
# header parameters
|
1407
1407
|
header_params = opts[:header_params] || {}
|
@@ -1421,7 +1421,7 @@ module Falcon
|
|
1421
1421
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1422
1422
|
|
1423
1423
|
new_options = opts.merge(
|
1424
|
-
:operation => :"
|
1424
|
+
:operation => :"KubernetesProtection.read_cluster_combined",
|
1425
1425
|
:header_params => header_params,
|
1426
1426
|
:query_params => query_params,
|
1427
1427
|
:form_params => form_params,
|
@@ -1432,14 +1432,14 @@ module Falcon
|
|
1432
1432
|
|
1433
1433
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1434
1434
|
if @api_client.config.debugging
|
1435
|
-
@api_client.config.logger.debug "API called:
|
1435
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_cluster_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1436
1436
|
end
|
1437
1437
|
return data, status_code, headers
|
1438
1438
|
end
|
1439
1439
|
|
1440
1440
|
# Retrieve cluster counts
|
1441
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
|
1442
|
+
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1443
1443
|
# @return [CommonCountResponse]
|
1444
1444
|
def read_cluster_count(opts = {})
|
1445
1445
|
data, _status_code, _headers = read_cluster_count_with_http_info(opts)
|
@@ -1448,11 +1448,11 @@ module Falcon
|
|
1448
1448
|
|
1449
1449
|
# Retrieve cluster counts
|
1450
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
|
1451
|
+
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1452
1452
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
1453
1453
|
def read_cluster_count_with_http_info(opts = {})
|
1454
1454
|
if @api_client.config.debugging
|
1455
|
-
@api_client.config.logger.debug 'Calling API:
|
1455
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_cluster_count ...'
|
1456
1456
|
end
|
1457
1457
|
# resource path
|
1458
1458
|
local_var_path = '/container-security/aggregates/clusters/count/v1'
|
@@ -1479,7 +1479,7 @@ module Falcon
|
|
1479
1479
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1480
1480
|
|
1481
1481
|
new_options = opts.merge(
|
1482
|
-
:operation => :"
|
1482
|
+
:operation => :"KubernetesProtection.read_cluster_count",
|
1483
1483
|
:header_params => header_params,
|
1484
1484
|
:query_params => query_params,
|
1485
1485
|
:form_params => form_params,
|
@@ -1490,7 +1490,7 @@ module Falcon
|
|
1490
1490
|
|
1491
1491
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1492
1492
|
if @api_client.config.debugging
|
1493
|
-
@api_client.config.logger.debug "API called:
|
1493
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_cluster_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1494
1494
|
end
|
1495
1495
|
return data, status_code, headers
|
1496
1496
|
end
|
@@ -1498,7 +1498,7 @@ module Falcon
|
|
1498
1498
|
# Retrieve cluster enrichment data
|
1499
1499
|
# @param cluster_id [Array<String>] One or more cluster ids for which to retrieve enrichment info
|
1500
1500
|
# @param [Hash] opts the optional parameters
|
1501
|
-
# @option opts [String] :filter Supported
|
1501
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
1502
1502
|
# @return [K8sassetsClusterEnrichmentResponse]
|
1503
1503
|
def read_cluster_enrichment(cluster_id, opts = {})
|
1504
1504
|
data, _status_code, _headers = read_cluster_enrichment_with_http_info(cluster_id, opts)
|
@@ -1508,15 +1508,15 @@ module Falcon
|
|
1508
1508
|
# Retrieve cluster enrichment data
|
1509
1509
|
# @param cluster_id [Array<String>] One or more cluster ids for which to retrieve enrichment info
|
1510
1510
|
# @param [Hash] opts the optional parameters
|
1511
|
-
# @option opts [String] :filter Supported
|
1511
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
1512
1512
|
# @return [Array<(K8sassetsClusterEnrichmentResponse, Integer, Hash)>] K8sassetsClusterEnrichmentResponse data, response status code and response headers
|
1513
1513
|
def read_cluster_enrichment_with_http_info(cluster_id, opts = {})
|
1514
1514
|
if @api_client.config.debugging
|
1515
|
-
@api_client.config.logger.debug 'Calling API:
|
1515
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_cluster_enrichment ...'
|
1516
1516
|
end
|
1517
1517
|
# verify the required parameter 'cluster_id' is set
|
1518
1518
|
if @api_client.config.client_side_validation && cluster_id.nil?
|
1519
|
-
fail ArgumentError, "Missing the required parameter 'cluster_id' when calling
|
1519
|
+
fail ArgumentError, "Missing the required parameter 'cluster_id' when calling KubernetesProtection.read_cluster_enrichment"
|
1520
1520
|
end
|
1521
1521
|
# resource path
|
1522
1522
|
local_var_path = '/container-security/aggregates/enrichment/clusters/entities/v1'
|
@@ -1544,7 +1544,7 @@ module Falcon
|
|
1544
1544
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1545
1545
|
|
1546
1546
|
new_options = opts.merge(
|
1547
|
-
:operation => :"
|
1547
|
+
:operation => :"KubernetesProtection.read_cluster_enrichment",
|
1548
1548
|
:header_params => header_params,
|
1549
1549
|
:query_params => query_params,
|
1550
1550
|
:form_params => form_params,
|
@@ -1555,7 +1555,7 @@ module Falcon
|
|
1555
1555
|
|
1556
1556
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1557
1557
|
if @api_client.config.debugging
|
1558
|
-
@api_client.config.logger.debug "API called:
|
1558
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_cluster_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1559
1559
|
end
|
1560
1560
|
return data, status_code, headers
|
1561
1561
|
end
|
@@ -1573,7 +1573,7 @@ module Falcon
|
|
1573
1573
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
1574
1574
|
def read_clusters_by_date_range_count_with_http_info(opts = {})
|
1575
1575
|
if @api_client.config.debugging
|
1576
|
-
@api_client.config.logger.debug 'Calling API:
|
1576
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_clusters_by_date_range_count ...'
|
1577
1577
|
end
|
1578
1578
|
# resource path
|
1579
1579
|
local_var_path = '/container-security/aggregates/clusters/count-by-date/v1'
|
@@ -1599,7 +1599,7 @@ module Falcon
|
|
1599
1599
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1600
1600
|
|
1601
1601
|
new_options = opts.merge(
|
1602
|
-
:operation => :"
|
1602
|
+
:operation => :"KubernetesProtection.read_clusters_by_date_range_count",
|
1603
1603
|
:header_params => header_params,
|
1604
1604
|
:query_params => query_params,
|
1605
1605
|
:form_params => form_params,
|
@@ -1610,14 +1610,14 @@ module Falcon
|
|
1610
1610
|
|
1611
1611
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1612
1612
|
if @api_client.config.debugging
|
1613
|
-
@api_client.config.logger.debug "API called:
|
1613
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_clusters_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1614
1614
|
end
|
1615
1615
|
return data, status_code, headers
|
1616
1616
|
end
|
1617
1617
|
|
1618
1618
|
# Bucket clusters by kubernetes version
|
1619
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
|
1620
|
+
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1621
1621
|
# @return [ModelsAggregateValuesByFieldResponse]
|
1622
1622
|
def read_clusters_by_kubernetes_version_count(opts = {})
|
1623
1623
|
data, _status_code, _headers = read_clusters_by_kubernetes_version_count_with_http_info(opts)
|
@@ -1626,11 +1626,11 @@ module Falcon
|
|
1626
1626
|
|
1627
1627
|
# Bucket clusters by kubernetes version
|
1628
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
|
1629
|
+
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1630
1630
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
1631
1631
|
def read_clusters_by_kubernetes_version_count_with_http_info(opts = {})
|
1632
1632
|
if @api_client.config.debugging
|
1633
|
-
@api_client.config.logger.debug 'Calling API:
|
1633
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_clusters_by_kubernetes_version_count ...'
|
1634
1634
|
end
|
1635
1635
|
# resource path
|
1636
1636
|
local_var_path = '/container-security/aggregates/clusters/count-by-kubernetes-version/v1'
|
@@ -1657,7 +1657,7 @@ module Falcon
|
|
1657
1657
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1658
1658
|
|
1659
1659
|
new_options = opts.merge(
|
1660
|
-
:operation => :"
|
1660
|
+
:operation => :"KubernetesProtection.read_clusters_by_kubernetes_version_count",
|
1661
1661
|
:header_params => header_params,
|
1662
1662
|
:query_params => query_params,
|
1663
1663
|
:form_params => form_params,
|
@@ -1668,14 +1668,14 @@ module Falcon
|
|
1668
1668
|
|
1669
1669
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1670
1670
|
if @api_client.config.debugging
|
1671
|
-
@api_client.config.logger.debug "API called:
|
1671
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_clusters_by_kubernetes_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1672
1672
|
end
|
1673
1673
|
return data, status_code, headers
|
1674
1674
|
end
|
1675
1675
|
|
1676
1676
|
# Bucket clusters by status
|
1677
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
|
1678
|
+
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1679
1679
|
# @return [ModelsAggregateValuesByFieldResponse]
|
1680
1680
|
def read_clusters_by_status_count(opts = {})
|
1681
1681
|
data, _status_code, _headers = read_clusters_by_status_count_with_http_info(opts)
|
@@ -1684,11 +1684,11 @@ module Falcon
|
|
1684
1684
|
|
1685
1685
|
# Bucket clusters by status
|
1686
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
|
1687
|
+
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filter fields: - `access` - `agent_id` - `agent_status` - `agent_type` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `cluster_status` - `container_count` - `iar_coverage` - `kac_agent_id` - `kubernetes_version` - `last_seen` - `management_status` - `node_count` - `pod_count` - `tags`
|
1688
1688
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
1689
1689
|
def read_clusters_by_status_count_with_http_info(opts = {})
|
1690
1690
|
if @api_client.config.debugging
|
1691
|
-
@api_client.config.logger.debug 'Calling API:
|
1691
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_clusters_by_status_count ...'
|
1692
1692
|
end
|
1693
1693
|
# resource path
|
1694
1694
|
local_var_path = '/container-security/aggregates/clusters/count-by-status/v1'
|
@@ -1715,7 +1715,7 @@ module Falcon
|
|
1715
1715
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1716
1716
|
|
1717
1717
|
new_options = opts.merge(
|
1718
|
-
:operation => :"
|
1718
|
+
:operation => :"KubernetesProtection.read_clusters_by_status_count",
|
1719
1719
|
:header_params => header_params,
|
1720
1720
|
:query_params => query_params,
|
1721
1721
|
:form_params => form_params,
|
@@ -1726,33 +1726,33 @@ module Falcon
|
|
1726
1726
|
|
1727
1727
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1728
1728
|
if @api_client.config.debugging
|
1729
|
-
@api_client.config.logger.debug "API called:
|
1729
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_clusters_by_status_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1730
1730
|
end
|
1731
1731
|
return data, status_code, headers
|
1732
1732
|
end
|
1733
1733
|
|
1734
|
-
#
|
1734
|
+
# Maximum offset = 10000 - limit
|
1735
1735
|
# @param [Hash] opts the optional parameters
|
1736
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported
|
1737
|
-
# @option opts [
|
1736
|
+
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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 [String] :sort The fields to sort the records on.
|
1738
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
1738
1739
|
# @option opts [Integer] :offset The offset from where to begin.
|
1739
|
-
# @option opts [String] :sort Field to sort results by
|
1740
1740
|
# @return [ModelsContainerEntityResponse]
|
1741
1741
|
def read_container_combined(opts = {})
|
1742
1742
|
data, _status_code, _headers = read_container_combined_with_http_info(opts)
|
1743
1743
|
data
|
1744
1744
|
end
|
1745
1745
|
|
1746
|
-
#
|
1746
|
+
# Maximum offset = 10000 - limit
|
1747
1747
|
# @param [Hash] opts the optional parameters
|
1748
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported
|
1749
|
-
# @option opts [
|
1748
|
+
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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 [String] :sort The fields to sort the records on.
|
1750
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
1750
1751
|
# @option opts [Integer] :offset The offset from where to begin.
|
1751
|
-
# @option opts [String] :sort Field to sort results by
|
1752
1752
|
# @return [Array<(ModelsContainerEntityResponse, Integer, Hash)>] ModelsContainerEntityResponse data, response status code and response headers
|
1753
1753
|
def read_container_combined_with_http_info(opts = {})
|
1754
1754
|
if @api_client.config.debugging
|
1755
|
-
@api_client.config.logger.debug 'Calling API:
|
1755
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_combined ...'
|
1756
1756
|
end
|
1757
1757
|
# resource path
|
1758
1758
|
local_var_path = '/container-security/combined/containers/v1'
|
@@ -1760,9 +1760,9 @@ module Falcon
|
|
1760
1760
|
# query parameters
|
1761
1761
|
query_params = opts[:query_params] || {}
|
1762
1762
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1763
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1763
1764
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1764
1765
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1765
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1766
1766
|
|
1767
1767
|
# header parameters
|
1768
1768
|
header_params = opts[:header_params] || {}
|
@@ -1782,7 +1782,7 @@ module Falcon
|
|
1782
1782
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1783
1783
|
|
1784
1784
|
new_options = opts.merge(
|
1785
|
-
:operation => :"
|
1785
|
+
:operation => :"KubernetesProtection.read_container_combined",
|
1786
1786
|
:header_params => header_params,
|
1787
1787
|
:query_params => query_params,
|
1788
1788
|
:form_params => form_params,
|
@@ -1793,14 +1793,14 @@ module Falcon
|
|
1793
1793
|
|
1794
1794
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1795
1795
|
if @api_client.config.debugging
|
1796
|
-
@api_client.config.logger.debug "API called:
|
1796
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1797
1797
|
end
|
1798
1798
|
return data, status_code, headers
|
1799
1799
|
end
|
1800
1800
|
|
1801
1801
|
# Retrieve container counts
|
1802
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
|
1803
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
1804
|
# @return [CommonCountResponse]
|
1805
1805
|
def read_container_count(opts = {})
|
1806
1806
|
data, _status_code, _headers = read_container_count_with_http_info(opts)
|
@@ -1809,11 +1809,11 @@ module Falcon
|
|
1809
1809
|
|
1810
1810
|
# Retrieve container counts
|
1811
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
|
1812
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
1813
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
1814
1814
|
def read_container_count_with_http_info(opts = {})
|
1815
1815
|
if @api_client.config.debugging
|
1816
|
-
@api_client.config.logger.debug 'Calling API:
|
1816
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_count ...'
|
1817
1817
|
end
|
1818
1818
|
# resource path
|
1819
1819
|
local_var_path = '/container-security/aggregates/containers/count/v1'
|
@@ -1840,7 +1840,7 @@ module Falcon
|
|
1840
1840
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1841
1841
|
|
1842
1842
|
new_options = opts.merge(
|
1843
|
-
:operation => :"
|
1843
|
+
:operation => :"KubernetesProtection.read_container_count",
|
1844
1844
|
:header_params => header_params,
|
1845
1845
|
:query_params => query_params,
|
1846
1846
|
:form_params => form_params,
|
@@ -1851,14 +1851,14 @@ module Falcon
|
|
1851
1851
|
|
1852
1852
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1853
1853
|
if @api_client.config.debugging
|
1854
|
-
@api_client.config.logger.debug "API called:
|
1854
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1855
1855
|
end
|
1856
1856
|
return data, status_code, headers
|
1857
1857
|
end
|
1858
1858
|
|
1859
|
-
#
|
1859
|
+
# Retrieves a list with the top container image registries. Maximum page size: 200
|
1860
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
|
1861
|
+
# @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered (default to false)
|
1862
1862
|
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1863
1863
|
# @return [ModelsAPIFilterResponse]
|
1864
1864
|
def read_container_count_by_registry(opts = {})
|
@@ -1866,14 +1866,14 @@ module Falcon
|
|
1866
1866
|
data
|
1867
1867
|
end
|
1868
1868
|
|
1869
|
-
#
|
1869
|
+
# Retrieves a list with the top container image registries. Maximum page size: 200
|
1870
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
|
1871
|
+
# @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered (default to false)
|
1872
1872
|
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1873
1873
|
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
1874
1874
|
def read_container_count_by_registry_with_http_info(opts = {})
|
1875
1875
|
if @api_client.config.debugging
|
1876
|
-
@api_client.config.logger.debug 'Calling API:
|
1876
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_count_by_registry ...'
|
1877
1877
|
end
|
1878
1878
|
# resource path
|
1879
1879
|
local_var_path = '/container-security/aggregates/containers/count-by-registry/v1'
|
@@ -1901,7 +1901,7 @@ module Falcon
|
|
1901
1901
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1902
1902
|
|
1903
1903
|
new_options = opts.merge(
|
1904
|
-
:operation => :"
|
1904
|
+
:operation => :"KubernetesProtection.read_container_count_by_registry",
|
1905
1905
|
:header_params => header_params,
|
1906
1906
|
:query_params => query_params,
|
1907
1907
|
:form_params => form_params,
|
@@ -1912,7 +1912,7 @@ module Falcon
|
|
1912
1912
|
|
1913
1913
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1914
1914
|
if @api_client.config.debugging
|
1915
|
-
@api_client.config.logger.debug "API called:
|
1915
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_count_by_registry\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1916
1916
|
end
|
1917
1917
|
return data, status_code, headers
|
1918
1918
|
end
|
@@ -1920,7 +1920,7 @@ module Falcon
|
|
1920
1920
|
# Retrieve container enrichment data
|
1921
1921
|
# @param container_id [Array<String>] One or more container ids for which to retrieve enrichment info
|
1922
1922
|
# @param [Hash] opts the optional parameters
|
1923
|
-
# @option opts [String] :filter Supported
|
1923
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
1924
1924
|
# @return [K8sassetsContainerEnrichmentResponse]
|
1925
1925
|
def read_container_enrichment(container_id, opts = {})
|
1926
1926
|
data, _status_code, _headers = read_container_enrichment_with_http_info(container_id, opts)
|
@@ -1930,15 +1930,15 @@ module Falcon
|
|
1930
1930
|
# Retrieve container enrichment data
|
1931
1931
|
# @param container_id [Array<String>] One or more container ids for which to retrieve enrichment info
|
1932
1932
|
# @param [Hash] opts the optional parameters
|
1933
|
-
# @option opts [String] :filter Supported
|
1933
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
1934
1934
|
# @return [Array<(K8sassetsContainerEnrichmentResponse, Integer, Hash)>] K8sassetsContainerEnrichmentResponse data, response status code and response headers
|
1935
1935
|
def read_container_enrichment_with_http_info(container_id, opts = {})
|
1936
1936
|
if @api_client.config.debugging
|
1937
|
-
@api_client.config.logger.debug 'Calling API:
|
1937
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_enrichment ...'
|
1938
1938
|
end
|
1939
1939
|
# verify the required parameter 'container_id' is set
|
1940
1940
|
if @api_client.config.client_side_validation && container_id.nil?
|
1941
|
-
fail ArgumentError, "Missing the required parameter 'container_id' when calling
|
1941
|
+
fail ArgumentError, "Missing the required parameter 'container_id' when calling KubernetesProtection.read_container_enrichment"
|
1942
1942
|
end
|
1943
1943
|
# resource path
|
1944
1944
|
local_var_path = '/container-security/aggregates/enrichment/containers/entities/v1'
|
@@ -1966,7 +1966,7 @@ module Falcon
|
|
1966
1966
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1967
1967
|
|
1968
1968
|
new_options = opts.merge(
|
1969
|
-
:operation => :"
|
1969
|
+
:operation => :"KubernetesProtection.read_container_enrichment",
|
1970
1970
|
:header_params => header_params,
|
1971
1971
|
:query_params => query_params,
|
1972
1972
|
:form_params => form_params,
|
@@ -1977,14 +1977,14 @@ module Falcon
|
|
1977
1977
|
|
1978
1978
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1979
1979
|
if @api_client.config.debugging
|
1980
|
-
@api_client.config.logger.debug "API called:
|
1980
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1981
1981
|
end
|
1982
1982
|
return data, status_code, headers
|
1983
1983
|
end
|
1984
1984
|
|
1985
1985
|
# Retrieve count of image assessment detections on running containers over a period of time
|
1986
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
|
1987
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
1988
|
# @return [ModelsAPIFilterResponse]
|
1989
1989
|
def read_container_image_detections_count_by_date(opts = {})
|
1990
1990
|
data, _status_code, _headers = read_container_image_detections_count_by_date_with_http_info(opts)
|
@@ -1993,11 +1993,11 @@ module Falcon
|
|
1993
1993
|
|
1994
1994
|
# Retrieve count of image assessment detections on running containers over a period of time
|
1995
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
|
1996
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
1997
|
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
1998
1998
|
def read_container_image_detections_count_by_date_with_http_info(opts = {})
|
1999
1999
|
if @api_client.config.debugging
|
2000
|
-
@api_client.config.logger.debug 'Calling API:
|
2000
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_image_detections_count_by_date ...'
|
2001
2001
|
end
|
2002
2002
|
# resource path
|
2003
2003
|
local_var_path = '/container-security/aggregates/containers/image-detections-count-by-date/v1'
|
@@ -2024,7 +2024,7 @@ module Falcon
|
|
2024
2024
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2025
2025
|
|
2026
2026
|
new_options = opts.merge(
|
2027
|
-
:operation => :"
|
2027
|
+
:operation => :"KubernetesProtection.read_container_image_detections_count_by_date",
|
2028
2028
|
:header_params => header_params,
|
2029
2029
|
:query_params => query_params,
|
2030
2030
|
:form_params => form_params,
|
@@ -2035,14 +2035,14 @@ module Falcon
|
|
2035
2035
|
|
2036
2036
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2037
2037
|
if @api_client.config.debugging
|
2038
|
-
@api_client.config.logger.debug "API called:
|
2038
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_image_detections_count_by_date\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2039
2039
|
end
|
2040
2040
|
return data, status_code, headers
|
2041
2041
|
end
|
2042
2042
|
|
2043
2043
|
# Bucket container by image-digest
|
2044
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
|
2045
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2046
|
# @return [ModelsAggregateValuesByFieldResponse]
|
2047
2047
|
def read_container_images_by_most_used(opts = {})
|
2048
2048
|
data, _status_code, _headers = read_container_images_by_most_used_with_http_info(opts)
|
@@ -2051,11 +2051,11 @@ module Falcon
|
|
2051
2051
|
|
2052
2052
|
# Bucket container by image-digest
|
2053
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
|
2054
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2055
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2056
2056
|
def read_container_images_by_most_used_with_http_info(opts = {})
|
2057
2057
|
if @api_client.config.debugging
|
2058
|
-
@api_client.config.logger.debug 'Calling API:
|
2058
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_images_by_most_used ...'
|
2059
2059
|
end
|
2060
2060
|
# resource path
|
2061
2061
|
local_var_path = '/container-security/aggregates/images/most-used/v1'
|
@@ -2082,7 +2082,7 @@ module Falcon
|
|
2082
2082
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2083
2083
|
|
2084
2084
|
new_options = opts.merge(
|
2085
|
-
:operation => :"
|
2085
|
+
:operation => :"KubernetesProtection.read_container_images_by_most_used",
|
2086
2086
|
:header_params => header_params,
|
2087
2087
|
:query_params => query_params,
|
2088
2088
|
:form_params => form_params,
|
@@ -2093,14 +2093,14 @@ module Falcon
|
|
2093
2093
|
|
2094
2094
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2095
2095
|
if @api_client.config.debugging
|
2096
|
-
@api_client.config.logger.debug "API called:
|
2096
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_images_by_most_used\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2097
2097
|
end
|
2098
2098
|
return data, status_code, headers
|
2099
2099
|
end
|
2100
2100
|
|
2101
2101
|
# Retrieve count of image states running on containers
|
2102
2102
|
# @param [Hash] opts the optional parameters
|
2103
|
-
# @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported
|
2103
|
+
# @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported filter fields: - `cid`
|
2104
2104
|
# @return [ModelsAPIFilterResponse]
|
2105
2105
|
def read_container_images_by_state(opts = {})
|
2106
2106
|
data, _status_code, _headers = read_container_images_by_state_with_http_info(opts)
|
@@ -2109,11 +2109,11 @@ module Falcon
|
|
2109
2109
|
|
2110
2110
|
# Retrieve count of image states running on containers
|
2111
2111
|
# @param [Hash] opts the optional parameters
|
2112
|
-
# @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported
|
2112
|
+
# @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported filter fields: - `cid`
|
2113
2113
|
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
2114
2114
|
def read_container_images_by_state_with_http_info(opts = {})
|
2115
2115
|
if @api_client.config.debugging
|
2116
|
-
@api_client.config.logger.debug 'Calling API:
|
2116
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_images_by_state ...'
|
2117
2117
|
end
|
2118
2118
|
# resource path
|
2119
2119
|
local_var_path = '/container-security/aggregates/containers/images-by-state/v1'
|
@@ -2140,7 +2140,7 @@ module Falcon
|
|
2140
2140
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2141
2141
|
|
2142
2142
|
new_options = opts.merge(
|
2143
|
-
:operation => :"
|
2143
|
+
:operation => :"KubernetesProtection.read_container_images_by_state",
|
2144
2144
|
:header_params => header_params,
|
2145
2145
|
:query_params => query_params,
|
2146
2146
|
:form_params => form_params,
|
@@ -2151,14 +2151,14 @@ module Falcon
|
|
2151
2151
|
|
2152
2152
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2153
2153
|
if @api_client.config.debugging
|
2154
|
-
@api_client.config.logger.debug "API called:
|
2154
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_images_by_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2155
2155
|
end
|
2156
2156
|
return data, status_code, headers
|
2157
2157
|
end
|
2158
2158
|
|
2159
2159
|
# Retrieve container vulnerabilities by severity counts
|
2160
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
|
2161
|
+
# @option opts [String] :filter Get vulnerabilities count by severity for container using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2162
|
# @return [ModelsAggregateValuesByFieldResponse]
|
2163
2163
|
def read_container_vulnerabilities_by_severity_count(opts = {})
|
2164
2164
|
data, _status_code, _headers = read_container_vulnerabilities_by_severity_count_with_http_info(opts)
|
@@ -2167,11 +2167,11 @@ module Falcon
|
|
2167
2167
|
|
2168
2168
|
# Retrieve container vulnerabilities by severity counts
|
2169
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
|
2170
|
+
# @option opts [String] :filter Get vulnerabilities count by severity for container using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2171
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2172
2172
|
def read_container_vulnerabilities_by_severity_count_with_http_info(opts = {})
|
2173
2173
|
if @api_client.config.debugging
|
2174
|
-
@api_client.config.logger.debug 'Calling API:
|
2174
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_container_vulnerabilities_by_severity_count ...'
|
2175
2175
|
end
|
2176
2176
|
# resource path
|
2177
2177
|
local_var_path = '/container-security/aggregates/containers/vulnerability-count-by-severity/v1'
|
@@ -2198,7 +2198,7 @@ module Falcon
|
|
2198
2198
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2199
2199
|
|
2200
2200
|
new_options = opts.merge(
|
2201
|
-
:operation => :"
|
2201
|
+
:operation => :"KubernetesProtection.read_container_vulnerabilities_by_severity_count",
|
2202
2202
|
:header_params => header_params,
|
2203
2203
|
:query_params => query_params,
|
2204
2204
|
:form_params => form_params,
|
@@ -2209,14 +2209,14 @@ module Falcon
|
|
2209
2209
|
|
2210
2210
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2211
2211
|
if @api_client.config.debugging
|
2212
|
-
@api_client.config.logger.debug "API called:
|
2212
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_container_vulnerabilities_by_severity_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2213
2213
|
end
|
2214
2214
|
return data, status_code, headers
|
2215
2215
|
end
|
2216
2216
|
|
2217
2217
|
# Retrieve containers by date range counts
|
2218
2218
|
# @param [Hash] opts the optional parameters
|
2219
|
-
# @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported
|
2219
|
+
# @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2220
|
# @return [ModelsAggregateValuesByFieldResponse]
|
2221
2221
|
def read_containers_by_date_range_count(opts = {})
|
2222
2222
|
data, _status_code, _headers = read_containers_by_date_range_count_with_http_info(opts)
|
@@ -2225,11 +2225,11 @@ module Falcon
|
|
2225
2225
|
|
2226
2226
|
# Retrieve containers by date range counts
|
2227
2227
|
# @param [Hash] opts the optional parameters
|
2228
|
-
# @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported
|
2228
|
+
# @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2229
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2230
2230
|
def read_containers_by_date_range_count_with_http_info(opts = {})
|
2231
2231
|
if @api_client.config.debugging
|
2232
|
-
@api_client.config.logger.debug 'Calling API:
|
2232
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_containers_by_date_range_count ...'
|
2233
2233
|
end
|
2234
2234
|
# resource path
|
2235
2235
|
local_var_path = '/container-security/aggregates/containers/count-by-date/v1'
|
@@ -2256,7 +2256,7 @@ module Falcon
|
|
2256
2256
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2257
2257
|
|
2258
2258
|
new_options = opts.merge(
|
2259
|
-
:operation => :"
|
2259
|
+
:operation => :"KubernetesProtection.read_containers_by_date_range_count",
|
2260
2260
|
:header_params => header_params,
|
2261
2261
|
:query_params => query_params,
|
2262
2262
|
:form_params => form_params,
|
@@ -2267,14 +2267,14 @@ module Falcon
|
|
2267
2267
|
|
2268
2268
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2269
2269
|
if @api_client.config.debugging
|
2270
|
-
@api_client.config.logger.debug "API called:
|
2270
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_containers_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2271
2271
|
end
|
2272
2272
|
return data, status_code, headers
|
2273
2273
|
end
|
2274
2274
|
|
2275
2275
|
# Bucket containers by agent type and calculate sensor coverage
|
2276
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
|
2277
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2278
|
# @return [ModelsAggregateValuesByFieldResponse]
|
2279
2279
|
def read_containers_sensor_coverage(opts = {})
|
2280
2280
|
data, _status_code, _headers = read_containers_sensor_coverage_with_http_info(opts)
|
@@ -2283,11 +2283,11 @@ module Falcon
|
|
2283
2283
|
|
2284
2284
|
# Bucket containers by agent type and calculate sensor coverage
|
2285
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
|
2286
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2287
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2288
2288
|
def read_containers_sensor_coverage_with_http_info(opts = {})
|
2289
2289
|
if @api_client.config.debugging
|
2290
|
-
@api_client.config.logger.debug 'Calling API:
|
2290
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_containers_sensor_coverage ...'
|
2291
2291
|
end
|
2292
2292
|
# resource path
|
2293
2293
|
local_var_path = '/container-security/aggregates/containers/sensor-coverage/v1'
|
@@ -2314,7 +2314,7 @@ module Falcon
|
|
2314
2314
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2315
2315
|
|
2316
2316
|
new_options = opts.merge(
|
2317
|
-
:operation => :"
|
2317
|
+
:operation => :"KubernetesProtection.read_containers_sensor_coverage",
|
2318
2318
|
:header_params => header_params,
|
2319
2319
|
:query_params => query_params,
|
2320
2320
|
:form_params => form_params,
|
@@ -2325,33 +2325,33 @@ module Falcon
|
|
2325
2325
|
|
2326
2326
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2327
2327
|
if @api_client.config.debugging
|
2328
|
-
@api_client.config.logger.debug "API called:
|
2328
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_containers_sensor_coverage\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2329
2329
|
end
|
2330
2330
|
return data, status_code, headers
|
2331
2331
|
end
|
2332
2332
|
|
2333
|
-
#
|
2333
|
+
# Maximum offset = 10000 - limit
|
2334
2334
|
# @param [Hash] opts the optional parameters
|
2335
|
-
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported
|
2336
|
-
# @option opts [
|
2335
|
+
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `deployment_id` - `deployment_name` - `deployment_status` - `first_seen` - `kac_agent_id` - `last_seen` - `namespace` - `pod_count` - `resource_status`
|
2336
|
+
# @option opts [String] :sort The fields to sort the records on.
|
2337
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
2337
2338
|
# @option opts [Integer] :offset The offset from where to begin.
|
2338
|
-
# @option opts [String] :sort Field to sort results by
|
2339
2339
|
# @return [ModelsDeploymentEntityResponse]
|
2340
2340
|
def read_deployment_combined(opts = {})
|
2341
2341
|
data, _status_code, _headers = read_deployment_combined_with_http_info(opts)
|
2342
2342
|
data
|
2343
2343
|
end
|
2344
2344
|
|
2345
|
-
#
|
2345
|
+
# Maximum offset = 10000 - limit
|
2346
2346
|
# @param [Hash] opts the optional parameters
|
2347
|
-
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported
|
2348
|
-
# @option opts [
|
2347
|
+
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `deployment_id` - `deployment_name` - `deployment_status` - `first_seen` - `kac_agent_id` - `last_seen` - `namespace` - `pod_count` - `resource_status`
|
2348
|
+
# @option opts [String] :sort The fields to sort the records on.
|
2349
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
2349
2350
|
# @option opts [Integer] :offset The offset from where to begin.
|
2350
|
-
# @option opts [String] :sort Field to sort results by
|
2351
2351
|
# @return [Array<(ModelsDeploymentEntityResponse, Integer, Hash)>] ModelsDeploymentEntityResponse data, response status code and response headers
|
2352
2352
|
def read_deployment_combined_with_http_info(opts = {})
|
2353
2353
|
if @api_client.config.debugging
|
2354
|
-
@api_client.config.logger.debug 'Calling API:
|
2354
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployment_combined ...'
|
2355
2355
|
end
|
2356
2356
|
# resource path
|
2357
2357
|
local_var_path = '/container-security/combined/deployments/v1'
|
@@ -2359,9 +2359,9 @@ module Falcon
|
|
2359
2359
|
# query parameters
|
2360
2360
|
query_params = opts[:query_params] || {}
|
2361
2361
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2362
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2362
2363
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2363
2364
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2364
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2365
2365
|
|
2366
2366
|
# header parameters
|
2367
2367
|
header_params = opts[:header_params] || {}
|
@@ -2381,7 +2381,7 @@ module Falcon
|
|
2381
2381
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2382
2382
|
|
2383
2383
|
new_options = opts.merge(
|
2384
|
-
:operation => :"
|
2384
|
+
:operation => :"KubernetesProtection.read_deployment_combined",
|
2385
2385
|
:header_params => header_params,
|
2386
2386
|
:query_params => query_params,
|
2387
2387
|
:form_params => form_params,
|
@@ -2392,14 +2392,14 @@ module Falcon
|
|
2392
2392
|
|
2393
2393
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2394
2394
|
if @api_client.config.debugging
|
2395
|
-
@api_client.config.logger.debug "API called:
|
2395
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_deployment_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2396
2396
|
end
|
2397
2397
|
return data, status_code, headers
|
2398
2398
|
end
|
2399
2399
|
|
2400
2400
|
# Retrieve deployment counts
|
2401
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
|
2402
|
+
# @option opts [String] :filter Retrieve count of Kubernetes deployments that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `deployment_id` - `deployment_name` - `deployment_status` - `first_seen` - `kac_agent_id` - `last_seen` - `namespace` - `pod_count` - `resource_status`
|
2403
2403
|
# @return [CommonCountResponse]
|
2404
2404
|
def read_deployment_count(opts = {})
|
2405
2405
|
data, _status_code, _headers = read_deployment_count_with_http_info(opts)
|
@@ -2408,11 +2408,11 @@ module Falcon
|
|
2408
2408
|
|
2409
2409
|
# Retrieve deployment counts
|
2410
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
|
2411
|
+
# @option opts [String] :filter Retrieve count of Kubernetes deployments that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `deployment_id` - `deployment_name` - `deployment_status` - `first_seen` - `kac_agent_id` - `last_seen` - `namespace` - `pod_count` - `resource_status`
|
2412
2412
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
2413
2413
|
def read_deployment_count_with_http_info(opts = {})
|
2414
2414
|
if @api_client.config.debugging
|
2415
|
-
@api_client.config.logger.debug 'Calling API:
|
2415
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployment_count ...'
|
2416
2416
|
end
|
2417
2417
|
# resource path
|
2418
2418
|
local_var_path = '/container-security/aggregates/deployments/count/v1'
|
@@ -2439,7 +2439,7 @@ module Falcon
|
|
2439
2439
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2440
2440
|
|
2441
2441
|
new_options = opts.merge(
|
2442
|
-
:operation => :"
|
2442
|
+
:operation => :"KubernetesProtection.read_deployment_count",
|
2443
2443
|
:header_params => header_params,
|
2444
2444
|
:query_params => query_params,
|
2445
2445
|
:form_params => form_params,
|
@@ -2450,7 +2450,7 @@ module Falcon
|
|
2450
2450
|
|
2451
2451
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2452
2452
|
if @api_client.config.debugging
|
2453
|
-
@api_client.config.logger.debug "API called:
|
2453
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_deployment_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2454
2454
|
end
|
2455
2455
|
return data, status_code, headers
|
2456
2456
|
end
|
@@ -2458,7 +2458,7 @@ module Falcon
|
|
2458
2458
|
# Retrieve deployment enrichment data
|
2459
2459
|
# @param deployment_id [Array<String>] One or more deployment ids for which to retrieve enrichment info
|
2460
2460
|
# @param [Hash] opts the optional parameters
|
2461
|
-
# @option opts [String] :filter Supported
|
2461
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
2462
2462
|
# @return [K8sassetsDeploymentEnrichmentResponse]
|
2463
2463
|
def read_deployment_enrichment(deployment_id, opts = {})
|
2464
2464
|
data, _status_code, _headers = read_deployment_enrichment_with_http_info(deployment_id, opts)
|
@@ -2468,15 +2468,15 @@ module Falcon
|
|
2468
2468
|
# Retrieve deployment enrichment data
|
2469
2469
|
# @param deployment_id [Array<String>] One or more deployment ids for which to retrieve enrichment info
|
2470
2470
|
# @param [Hash] opts the optional parameters
|
2471
|
-
# @option opts [String] :filter Supported
|
2471
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
2472
2472
|
# @return [Array<(K8sassetsDeploymentEnrichmentResponse, Integer, Hash)>] K8sassetsDeploymentEnrichmentResponse data, response status code and response headers
|
2473
2473
|
def read_deployment_enrichment_with_http_info(deployment_id, opts = {})
|
2474
2474
|
if @api_client.config.debugging
|
2475
|
-
@api_client.config.logger.debug 'Calling API:
|
2475
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployment_enrichment ...'
|
2476
2476
|
end
|
2477
2477
|
# verify the required parameter 'deployment_id' is set
|
2478
2478
|
if @api_client.config.client_side_validation && deployment_id.nil?
|
2479
|
-
fail ArgumentError, "Missing the required parameter 'deployment_id' when calling
|
2479
|
+
fail ArgumentError, "Missing the required parameter 'deployment_id' when calling KubernetesProtection.read_deployment_enrichment"
|
2480
2480
|
end
|
2481
2481
|
# resource path
|
2482
2482
|
local_var_path = '/container-security/aggregates/enrichment/deployments/entities/v1'
|
@@ -2504,7 +2504,7 @@ module Falcon
|
|
2504
2504
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2505
2505
|
|
2506
2506
|
new_options = opts.merge(
|
2507
|
-
:operation => :"
|
2507
|
+
:operation => :"KubernetesProtection.read_deployment_enrichment",
|
2508
2508
|
:header_params => header_params,
|
2509
2509
|
:query_params => query_params,
|
2510
2510
|
:form_params => form_params,
|
@@ -2515,7 +2515,7 @@ module Falcon
|
|
2515
2515
|
|
2516
2516
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2517
2517
|
if @api_client.config.debugging
|
2518
|
-
@api_client.config.logger.debug "API called:
|
2518
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_deployment_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2519
2519
|
end
|
2520
2520
|
return data, status_code, headers
|
2521
2521
|
end
|
@@ -2533,7 +2533,7 @@ module Falcon
|
|
2533
2533
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2534
2534
|
def read_deployments_by_date_range_count_with_http_info(opts = {})
|
2535
2535
|
if @api_client.config.debugging
|
2536
|
-
@api_client.config.logger.debug 'Calling API:
|
2536
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_deployments_by_date_range_count ...'
|
2537
2537
|
end
|
2538
2538
|
# resource path
|
2539
2539
|
local_var_path = '/container-security/aggregates/deployments/count-by-date/v1'
|
@@ -2559,7 +2559,7 @@ module Falcon
|
|
2559
2559
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2560
2560
|
|
2561
2561
|
new_options = opts.merge(
|
2562
|
-
:operation => :"
|
2562
|
+
:operation => :"KubernetesProtection.read_deployments_by_date_range_count",
|
2563
2563
|
:header_params => header_params,
|
2564
2564
|
:query_params => query_params,
|
2565
2565
|
:form_params => form_params,
|
@@ -2570,14 +2570,14 @@ module Falcon
|
|
2570
2570
|
|
2571
2571
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2572
2572
|
if @api_client.config.debugging
|
2573
|
-
@api_client.config.logger.debug "API called:
|
2573
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_deployments_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2574
2574
|
end
|
2575
2575
|
return data, status_code, headers
|
2576
2576
|
end
|
2577
2577
|
|
2578
2578
|
# Retrieve count of distinct images running on containers
|
2579
2579
|
# @param [Hash] opts the optional parameters
|
2580
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported
|
2580
|
+
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2581
|
# @return [ModelsAPIFilterResponse]
|
2582
2582
|
def read_distinct_container_image_count(opts = {})
|
2583
2583
|
data, _status_code, _headers = read_distinct_container_image_count_with_http_info(opts)
|
@@ -2586,11 +2586,11 @@ module Falcon
|
|
2586
2586
|
|
2587
2587
|
# Retrieve count of distinct images running on containers
|
2588
2588
|
# @param [Hash] opts the optional parameters
|
2589
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported
|
2589
|
+
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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
2590
|
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
2591
2591
|
def read_distinct_container_image_count_with_http_info(opts = {})
|
2592
2592
|
if @api_client.config.debugging
|
2593
|
-
@api_client.config.logger.debug 'Calling API:
|
2593
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_distinct_container_image_count ...'
|
2594
2594
|
end
|
2595
2595
|
# resource path
|
2596
2596
|
local_var_path = '/container-security/aggregates/images/count-by-distinct/v1'
|
@@ -2617,7 +2617,7 @@ module Falcon
|
|
2617
2617
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2618
2618
|
|
2619
2619
|
new_options = opts.merge(
|
2620
|
-
:operation => :"
|
2620
|
+
:operation => :"KubernetesProtection.read_distinct_container_image_count",
|
2621
2621
|
:header_params => header_params,
|
2622
2622
|
:query_params => query_params,
|
2623
2623
|
:form_params => form_params,
|
@@ -2628,14 +2628,14 @@ module Falcon
|
|
2628
2628
|
|
2629
2629
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2630
2630
|
if @api_client.config.debugging
|
2631
|
-
@api_client.config.logger.debug "API called:
|
2631
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_distinct_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2632
2632
|
end
|
2633
2633
|
return data, status_code, headers
|
2634
2634
|
end
|
2635
2635
|
|
2636
2636
|
# Returns the count of Kubernetes IOMs by the date. by default it's for 7 days.
|
2637
2637
|
# @param [Hash] opts the optional parameters
|
2638
|
-
# @option opts [String] :filter Filter
|
2638
|
+
# @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `created_timestamp` - `detect_timestamp` - `prevented` - `severity`
|
2639
2639
|
# @return [K8siomsKubernetesIOMFieldValue]
|
2640
2640
|
def read_kubernetes_iom_by_date_range(opts = {})
|
2641
2641
|
data, _status_code, _headers = read_kubernetes_iom_by_date_range_with_http_info(opts)
|
@@ -2644,11 +2644,11 @@ module Falcon
|
|
2644
2644
|
|
2645
2645
|
# Returns the count of Kubernetes IOMs by the date. by default it's for 7 days.
|
2646
2646
|
# @param [Hash] opts the optional parameters
|
2647
|
-
# @option opts [String] :filter Filter
|
2647
|
+
# @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `created_timestamp` - `detect_timestamp` - `prevented` - `severity`
|
2648
2648
|
# @return [Array<(K8siomsKubernetesIOMFieldValue, Integer, Hash)>] K8siomsKubernetesIOMFieldValue data, response status code and response headers
|
2649
2649
|
def read_kubernetes_iom_by_date_range_with_http_info(opts = {})
|
2650
2650
|
if @api_client.config.debugging
|
2651
|
-
@api_client.config.logger.debug 'Calling API:
|
2651
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_kubernetes_iom_by_date_range ...'
|
2652
2652
|
end
|
2653
2653
|
# resource path
|
2654
2654
|
local_var_path = '/container-security/aggregates/kubernetes-ioms/count-by-date/v1'
|
@@ -2675,7 +2675,7 @@ module Falcon
|
|
2675
2675
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2676
2676
|
|
2677
2677
|
new_options = opts.merge(
|
2678
|
-
:operation => :"
|
2678
|
+
:operation => :"KubernetesProtection.read_kubernetes_iom_by_date_range",
|
2679
2679
|
:header_params => header_params,
|
2680
2680
|
:query_params => query_params,
|
2681
2681
|
:form_params => form_params,
|
@@ -2686,14 +2686,14 @@ module Falcon
|
|
2686
2686
|
|
2687
2687
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2688
2688
|
if @api_client.config.debugging
|
2689
|
-
@api_client.config.logger.debug "API called:
|
2689
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_kubernetes_iom_by_date_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2690
2690
|
end
|
2691
2691
|
return data, status_code, headers
|
2692
2692
|
end
|
2693
2693
|
|
2694
2694
|
# Returns the total count of Kubernetes IOMs over the past seven days
|
2695
2695
|
# @param [Hash] opts the optional parameters
|
2696
|
-
# @option opts [String] :filter Filter
|
2696
|
+
# @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `created_timestamp` - `detect_timestamp` - `prevented` - `severity`
|
2697
2697
|
# @return [K8siomsKubernetesIOMCountValue]
|
2698
2698
|
def read_kubernetes_iom_count(opts = {})
|
2699
2699
|
data, _status_code, _headers = read_kubernetes_iom_count_with_http_info(opts)
|
@@ -2702,11 +2702,11 @@ module Falcon
|
|
2702
2702
|
|
2703
2703
|
# Returns the total count of Kubernetes IOMs over the past seven days
|
2704
2704
|
# @param [Hash] opts the optional parameters
|
2705
|
-
# @option opts [String] :filter Filter
|
2705
|
+
# @option opts [String] :filter Filter Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `created_timestamp` - `detect_timestamp` - `prevented` - `severity`
|
2706
2706
|
# @return [Array<(K8siomsKubernetesIOMCountValue, Integer, Hash)>] K8siomsKubernetesIOMCountValue data, response status code and response headers
|
2707
2707
|
def read_kubernetes_iom_count_with_http_info(opts = {})
|
2708
2708
|
if @api_client.config.debugging
|
2709
|
-
@api_client.config.logger.debug 'Calling API:
|
2709
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_kubernetes_iom_count ...'
|
2710
2710
|
end
|
2711
2711
|
# resource path
|
2712
2712
|
local_var_path = '/container-security/aggregates/kubernetes-ioms/count/v1'
|
@@ -2733,7 +2733,7 @@ module Falcon
|
|
2733
2733
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2734
2734
|
|
2735
2735
|
new_options = opts.merge(
|
2736
|
-
:operation => :"
|
2736
|
+
:operation => :"KubernetesProtection.read_kubernetes_iom_count",
|
2737
2737
|
:header_params => header_params,
|
2738
2738
|
:query_params => query_params,
|
2739
2739
|
:form_params => form_params,
|
@@ -2744,7 +2744,7 @@ module Falcon
|
|
2744
2744
|
|
2745
2745
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2746
2746
|
if @api_client.config.debugging
|
2747
|
-
@api_client.config.logger.debug "API called:
|
2747
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_kubernetes_iom_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2748
2748
|
end
|
2749
2749
|
return data, status_code, headers
|
2750
2750
|
end
|
@@ -2764,7 +2764,7 @@ module Falcon
|
|
2764
2764
|
# @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
|
2765
2765
|
def read_kubernetes_iom_entities_with_http_info(opts = {})
|
2766
2766
|
if @api_client.config.debugging
|
2767
|
-
@api_client.config.logger.debug 'Calling API:
|
2767
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_kubernetes_iom_entities ...'
|
2768
2768
|
end
|
2769
2769
|
# resource path
|
2770
2770
|
local_var_path = '/container-security/entities/kubernetes-ioms/v1'
|
@@ -2791,7 +2791,7 @@ module Falcon
|
|
2791
2791
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2792
2792
|
|
2793
2793
|
new_options = opts.merge(
|
2794
|
-
:operation => :"
|
2794
|
+
:operation => :"KubernetesProtection.read_kubernetes_iom_entities",
|
2795
2795
|
:header_params => header_params,
|
2796
2796
|
:query_params => query_params,
|
2797
2797
|
:form_params => form_params,
|
@@ -2802,14 +2802,14 @@ module Falcon
|
|
2802
2802
|
|
2803
2803
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2804
2804
|
if @api_client.config.debugging
|
2805
|
-
@api_client.config.logger.debug "API called:
|
2805
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2806
2806
|
end
|
2807
2807
|
return data, status_code, headers
|
2808
2808
|
end
|
2809
2809
|
|
2810
2810
|
# Retrieve namespace counts
|
2811
2811
|
# @param [Hash] opts the optional parameters
|
2812
|
-
# @option opts [String] :filter Retrieve count of Kubernetes namespaces that match a query in Falcon Query Language (FQL). Supported
|
2812
|
+
# @option opts [String] :filter Retrieve count of Kubernetes namespaces that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `first_seen` - `kac_agent_id` - `last_seen` - `namespace_id` - `namespace_name` - `resource_status`
|
2813
2813
|
# @return [CommonCountResponse]
|
2814
2814
|
def read_namespace_count(opts = {})
|
2815
2815
|
data, _status_code, _headers = read_namespace_count_with_http_info(opts)
|
@@ -2818,11 +2818,11 @@ module Falcon
|
|
2818
2818
|
|
2819
2819
|
# Retrieve namespace counts
|
2820
2820
|
# @param [Hash] opts the optional parameters
|
2821
|
-
# @option opts [String] :filter Retrieve count of Kubernetes namespaces that match a query in Falcon Query Language (FQL). Supported
|
2821
|
+
# @option opts [String] :filter Retrieve count of Kubernetes namespaces that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `first_seen` - `kac_agent_id` - `last_seen` - `namespace_id` - `namespace_name` - `resource_status`
|
2822
2822
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
2823
2823
|
def read_namespace_count_with_http_info(opts = {})
|
2824
2824
|
if @api_client.config.debugging
|
2825
|
-
@api_client.config.logger.debug 'Calling API:
|
2825
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_namespace_count ...'
|
2826
2826
|
end
|
2827
2827
|
# resource path
|
2828
2828
|
local_var_path = '/container-security/aggregates/namespaces/count/v1'
|
@@ -2849,7 +2849,7 @@ module Falcon
|
|
2849
2849
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2850
2850
|
|
2851
2851
|
new_options = opts.merge(
|
2852
|
-
:operation => :"
|
2852
|
+
:operation => :"KubernetesProtection.read_namespace_count",
|
2853
2853
|
:header_params => header_params,
|
2854
2854
|
:query_params => query_params,
|
2855
2855
|
:form_params => form_params,
|
@@ -2860,7 +2860,7 @@ module Falcon
|
|
2860
2860
|
|
2861
2861
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2862
2862
|
if @api_client.config.debugging
|
2863
|
-
@api_client.config.logger.debug "API called:
|
2863
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_namespace_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2864
2864
|
end
|
2865
2865
|
return data, status_code, headers
|
2866
2866
|
end
|
@@ -2878,7 +2878,7 @@ module Falcon
|
|
2878
2878
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2879
2879
|
def read_namespaces_by_date_range_count_with_http_info(opts = {})
|
2880
2880
|
if @api_client.config.debugging
|
2881
|
-
@api_client.config.logger.debug 'Calling API:
|
2881
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_namespaces_by_date_range_count ...'
|
2882
2882
|
end
|
2883
2883
|
# resource path
|
2884
2884
|
local_var_path = '/container-security/aggregates/namespaces/count-by-date/v1'
|
@@ -2904,7 +2904,7 @@ module Falcon
|
|
2904
2904
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2905
2905
|
|
2906
2906
|
new_options = opts.merge(
|
2907
|
-
:operation => :"
|
2907
|
+
:operation => :"KubernetesProtection.read_namespaces_by_date_range_count",
|
2908
2908
|
:header_params => header_params,
|
2909
2909
|
:query_params => query_params,
|
2910
2910
|
:form_params => form_params,
|
@@ -2915,33 +2915,33 @@ module Falcon
|
|
2915
2915
|
|
2916
2916
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2917
2917
|
if @api_client.config.debugging
|
2918
|
-
@api_client.config.logger.debug "API called:
|
2918
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_namespaces_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2919
2919
|
end
|
2920
2920
|
return data, status_code, headers
|
2921
2921
|
end
|
2922
2922
|
|
2923
|
-
#
|
2923
|
+
# Maximum offset = 10000 - limit
|
2924
2924
|
# @param [Hash] opts the optional parameters
|
2925
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
2926
|
-
# @option opts [
|
2925
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
2926
|
+
# @option opts [String] :sort The fields to sort the records on.
|
2927
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
2927
2928
|
# @option opts [Integer] :offset The offset from where to begin.
|
2928
|
-
# @option opts [String] :sort Field to sort results by
|
2929
2929
|
# @return [ModelsNodeEntityResponse]
|
2930
2930
|
def read_node_combined(opts = {})
|
2931
2931
|
data, _status_code, _headers = read_node_combined_with_http_info(opts)
|
2932
2932
|
data
|
2933
2933
|
end
|
2934
2934
|
|
2935
|
-
#
|
2935
|
+
# Maximum offset = 10000 - limit
|
2936
2936
|
# @param [Hash] opts the optional parameters
|
2937
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
2938
|
-
# @option opts [
|
2937
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
2938
|
+
# @option opts [String] :sort The fields to sort the records on.
|
2939
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
2939
2940
|
# @option opts [Integer] :offset The offset from where to begin.
|
2940
|
-
# @option opts [String] :sort Field to sort results by
|
2941
2941
|
# @return [Array<(ModelsNodeEntityResponse, Integer, Hash)>] ModelsNodeEntityResponse data, response status code and response headers
|
2942
2942
|
def read_node_combined_with_http_info(opts = {})
|
2943
2943
|
if @api_client.config.debugging
|
2944
|
-
@api_client.config.logger.debug 'Calling API:
|
2944
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_node_combined ...'
|
2945
2945
|
end
|
2946
2946
|
# resource path
|
2947
2947
|
local_var_path = '/container-security/combined/nodes/v1'
|
@@ -2949,9 +2949,9 @@ module Falcon
|
|
2949
2949
|
# query parameters
|
2950
2950
|
query_params = opts[:query_params] || {}
|
2951
2951
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2952
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2952
2953
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2953
2954
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2954
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2955
2955
|
|
2956
2956
|
# header parameters
|
2957
2957
|
header_params = opts[:header_params] || {}
|
@@ -2971,7 +2971,7 @@ module Falcon
|
|
2971
2971
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2972
2972
|
|
2973
2973
|
new_options = opts.merge(
|
2974
|
-
:operation => :"
|
2974
|
+
:operation => :"KubernetesProtection.read_node_combined",
|
2975
2975
|
:header_params => header_params,
|
2976
2976
|
:query_params => query_params,
|
2977
2977
|
:form_params => form_params,
|
@@ -2982,14 +2982,14 @@ module Falcon
|
|
2982
2982
|
|
2983
2983
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2984
2984
|
if @api_client.config.debugging
|
2985
|
-
@api_client.config.logger.debug "API called:
|
2985
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_node_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2986
2986
|
end
|
2987
2987
|
return data, status_code, headers
|
2988
2988
|
end
|
2989
2989
|
|
2990
2990
|
# Retrieve node counts
|
2991
2991
|
# @param [Hash] opts the optional parameters
|
2992
|
-
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported
|
2992
|
+
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
2993
2993
|
# @return [CommonCountResponse]
|
2994
2994
|
def read_node_count(opts = {})
|
2995
2995
|
data, _status_code, _headers = read_node_count_with_http_info(opts)
|
@@ -2998,11 +2998,11 @@ module Falcon
|
|
2998
2998
|
|
2999
2999
|
# Retrieve node counts
|
3000
3000
|
# @param [Hash] opts the optional parameters
|
3001
|
-
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported
|
3001
|
+
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3002
3002
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
3003
3003
|
def read_node_count_with_http_info(opts = {})
|
3004
3004
|
if @api_client.config.debugging
|
3005
|
-
@api_client.config.logger.debug 'Calling API:
|
3005
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_node_count ...'
|
3006
3006
|
end
|
3007
3007
|
# resource path
|
3008
3008
|
local_var_path = '/container-security/aggregates/nodes/count/v1'
|
@@ -3029,7 +3029,7 @@ module Falcon
|
|
3029
3029
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3030
3030
|
|
3031
3031
|
new_options = opts.merge(
|
3032
|
-
:operation => :"
|
3032
|
+
:operation => :"KubernetesProtection.read_node_count",
|
3033
3033
|
:header_params => header_params,
|
3034
3034
|
:query_params => query_params,
|
3035
3035
|
:form_params => form_params,
|
@@ -3040,7 +3040,7 @@ module Falcon
|
|
3040
3040
|
|
3041
3041
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3042
3042
|
if @api_client.config.debugging
|
3043
|
-
@api_client.config.logger.debug "API called:
|
3043
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_node_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3044
3044
|
end
|
3045
3045
|
return data, status_code, headers
|
3046
3046
|
end
|
@@ -3048,7 +3048,7 @@ module Falcon
|
|
3048
3048
|
# Retrieve node enrichment data
|
3049
3049
|
# @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
|
3050
3050
|
# @param [Hash] opts the optional parameters
|
3051
|
-
# @option opts [String] :filter Supported
|
3051
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
3052
3052
|
# @return [K8sassetsNodeEnrichmentResponse]
|
3053
3053
|
def read_node_enrichment(node_name, opts = {})
|
3054
3054
|
data, _status_code, _headers = read_node_enrichment_with_http_info(node_name, opts)
|
@@ -3058,15 +3058,15 @@ module Falcon
|
|
3058
3058
|
# Retrieve node enrichment data
|
3059
3059
|
# @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
|
3060
3060
|
# @param [Hash] opts the optional parameters
|
3061
|
-
# @option opts [String] :filter Supported
|
3061
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
3062
3062
|
# @return [Array<(K8sassetsNodeEnrichmentResponse, Integer, Hash)>] K8sassetsNodeEnrichmentResponse data, response status code and response headers
|
3063
3063
|
def read_node_enrichment_with_http_info(node_name, opts = {})
|
3064
3064
|
if @api_client.config.debugging
|
3065
|
-
@api_client.config.logger.debug 'Calling API:
|
3065
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_node_enrichment ...'
|
3066
3066
|
end
|
3067
3067
|
# verify the required parameter 'node_name' is set
|
3068
3068
|
if @api_client.config.client_side_validation && node_name.nil?
|
3069
|
-
fail ArgumentError, "Missing the required parameter 'node_name' when calling
|
3069
|
+
fail ArgumentError, "Missing the required parameter 'node_name' when calling KubernetesProtection.read_node_enrichment"
|
3070
3070
|
end
|
3071
3071
|
# resource path
|
3072
3072
|
local_var_path = '/container-security/aggregates/enrichment/nodes/entities/v1'
|
@@ -3094,7 +3094,7 @@ module Falcon
|
|
3094
3094
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3095
3095
|
|
3096
3096
|
new_options = opts.merge(
|
3097
|
-
:operation => :"
|
3097
|
+
:operation => :"KubernetesProtection.read_node_enrichment",
|
3098
3098
|
:header_params => header_params,
|
3099
3099
|
:query_params => query_params,
|
3100
3100
|
:form_params => form_params,
|
@@ -3105,14 +3105,14 @@ module Falcon
|
|
3105
3105
|
|
3106
3106
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3107
3107
|
if @api_client.config.debugging
|
3108
|
-
@api_client.config.logger.debug "API called:
|
3108
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_node_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3109
3109
|
end
|
3110
3110
|
return data, status_code, headers
|
3111
3111
|
end
|
3112
3112
|
|
3113
3113
|
# Bucket nodes by cloud providers
|
3114
3114
|
# @param [Hash] opts the optional parameters
|
3115
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
3115
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3116
3116
|
# @return [ModelsAggregateValuesByFieldResponse]
|
3117
3117
|
def read_nodes_by_cloud_count(opts = {})
|
3118
3118
|
data, _status_code, _headers = read_nodes_by_cloud_count_with_http_info(opts)
|
@@ -3121,11 +3121,11 @@ module Falcon
|
|
3121
3121
|
|
3122
3122
|
# Bucket nodes by cloud providers
|
3123
3123
|
# @param [Hash] opts the optional parameters
|
3124
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
3124
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3125
3125
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3126
3126
|
def read_nodes_by_cloud_count_with_http_info(opts = {})
|
3127
3127
|
if @api_client.config.debugging
|
3128
|
-
@api_client.config.logger.debug 'Calling API:
|
3128
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_nodes_by_cloud_count ...'
|
3129
3129
|
end
|
3130
3130
|
# resource path
|
3131
3131
|
local_var_path = '/container-security/aggregates/nodes/count-by-cloud/v1'
|
@@ -3152,7 +3152,7 @@ module Falcon
|
|
3152
3152
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3153
3153
|
|
3154
3154
|
new_options = opts.merge(
|
3155
|
-
:operation => :"
|
3155
|
+
:operation => :"KubernetesProtection.read_nodes_by_cloud_count",
|
3156
3156
|
:header_params => header_params,
|
3157
3157
|
:query_params => query_params,
|
3158
3158
|
:form_params => form_params,
|
@@ -3163,14 +3163,14 @@ module Falcon
|
|
3163
3163
|
|
3164
3164
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3165
3165
|
if @api_client.config.debugging
|
3166
|
-
@api_client.config.logger.debug "API called:
|
3166
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_nodes_by_cloud_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3167
3167
|
end
|
3168
3168
|
return data, status_code, headers
|
3169
3169
|
end
|
3170
3170
|
|
3171
3171
|
# Bucket nodes by their container engine version
|
3172
3172
|
# @param [Hash] opts the optional parameters
|
3173
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
3173
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3174
3174
|
# @return [ModelsAggregateValuesByFieldResponse]
|
3175
3175
|
def read_nodes_by_container_engine_version_count(opts = {})
|
3176
3176
|
data, _status_code, _headers = read_nodes_by_container_engine_version_count_with_http_info(opts)
|
@@ -3179,11 +3179,11 @@ module Falcon
|
|
3179
3179
|
|
3180
3180
|
# Bucket nodes by their container engine version
|
3181
3181
|
# @param [Hash] opts the optional parameters
|
3182
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
3182
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3183
3183
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3184
3184
|
def read_nodes_by_container_engine_version_count_with_http_info(opts = {})
|
3185
3185
|
if @api_client.config.debugging
|
3186
|
-
@api_client.config.logger.debug 'Calling API:
|
3186
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_nodes_by_container_engine_version_count ...'
|
3187
3187
|
end
|
3188
3188
|
# resource path
|
3189
3189
|
local_var_path = '/container-security/aggregates/nodes/count-by-container-engine-version/v1'
|
@@ -3210,7 +3210,7 @@ module Falcon
|
|
3210
3210
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3211
3211
|
|
3212
3212
|
new_options = opts.merge(
|
3213
|
-
:operation => :"
|
3213
|
+
:operation => :"KubernetesProtection.read_nodes_by_container_engine_version_count",
|
3214
3214
|
:header_params => header_params,
|
3215
3215
|
:query_params => query_params,
|
3216
3216
|
:form_params => form_params,
|
@@ -3221,14 +3221,14 @@ module Falcon
|
|
3221
3221
|
|
3222
3222
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3223
3223
|
if @api_client.config.debugging
|
3224
|
-
@api_client.config.logger.debug "API called:
|
3224
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_nodes_by_container_engine_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3225
3225
|
end
|
3226
3226
|
return data, status_code, headers
|
3227
3227
|
end
|
3228
3228
|
|
3229
3229
|
# Retrieve nodes by date range counts
|
3230
3230
|
# @param [Hash] opts the optional parameters
|
3231
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
3231
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3232
3232
|
# @return [ModelsAggregateValuesByFieldResponse]
|
3233
3233
|
def read_nodes_by_date_range_count(opts = {})
|
3234
3234
|
data, _status_code, _headers = read_nodes_by_date_range_count_with_http_info(opts)
|
@@ -3237,11 +3237,11 @@ module Falcon
|
|
3237
3237
|
|
3238
3238
|
# Retrieve nodes by date range counts
|
3239
3239
|
# @param [Hash] opts the optional parameters
|
3240
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported
|
3240
|
+
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `container_runtime_version` - `first_seen` - `image_digest` - `ipv4` - `kac_agent_id` - `last_seen` - `linux_sensor_coverage` - `node_name` - `pod_count` - `resource_status`
|
3241
3241
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3242
3242
|
def read_nodes_by_date_range_count_with_http_info(opts = {})
|
3243
3243
|
if @api_client.config.debugging
|
3244
|
-
@api_client.config.logger.debug 'Calling API:
|
3244
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_nodes_by_date_range_count ...'
|
3245
3245
|
end
|
3246
3246
|
# resource path
|
3247
3247
|
local_var_path = '/container-security/aggregates/nodes/count-by-date/v1'
|
@@ -3268,7 +3268,7 @@ module Falcon
|
|
3268
3268
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3269
3269
|
|
3270
3270
|
new_options = opts.merge(
|
3271
|
-
:operation => :"
|
3271
|
+
:operation => :"KubernetesProtection.read_nodes_by_date_range_count",
|
3272
3272
|
:header_params => header_params,
|
3273
3273
|
:query_params => query_params,
|
3274
3274
|
:form_params => form_params,
|
@@ -3279,33 +3279,33 @@ module Falcon
|
|
3279
3279
|
|
3280
3280
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3281
3281
|
if @api_client.config.debugging
|
3282
|
-
@api_client.config.logger.debug "API called:
|
3282
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_nodes_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3283
3283
|
end
|
3284
3284
|
return data, status_code, headers
|
3285
3285
|
end
|
3286
3286
|
|
3287
|
-
#
|
3287
|
+
# Maximum offset = 10000 - limit
|
3288
3288
|
# @param [Hash] opts the optional parameters
|
3289
|
-
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported
|
3290
|
-
# @option opts [
|
3289
|
+
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `first_seen` - `ipv4` - `ipv6` - `kac_agent_id` - `labels` - `last_seen` - `namespace` - `node_name` - `node_uid` - `owner_id` - `owner_type` - `pod_external_id` - `pod_id` - `pod_name` - `port` - `privileged` - `resource_status` - `root_write_access` - `run_as_root_group` - `run_as_root_user`
|
3290
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3291
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
3291
3292
|
# @option opts [Integer] :offset The offset from where to begin.
|
3292
|
-
# @option opts [String] :sort Field to sort results by
|
3293
3293
|
# @return [ModelsPodEntityResponse]
|
3294
3294
|
def read_pod_combined(opts = {})
|
3295
3295
|
data, _status_code, _headers = read_pod_combined_with_http_info(opts)
|
3296
3296
|
data
|
3297
3297
|
end
|
3298
3298
|
|
3299
|
-
#
|
3299
|
+
# Maximum offset = 10000 - limit
|
3300
3300
|
# @param [Hash] opts the optional parameters
|
3301
|
-
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported
|
3302
|
-
# @option opts [
|
3301
|
+
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `first_seen` - `ipv4` - `ipv6` - `kac_agent_id` - `labels` - `last_seen` - `namespace` - `node_name` - `node_uid` - `owner_id` - `owner_type` - `pod_external_id` - `pod_id` - `pod_name` - `port` - `privileged` - `resource_status` - `root_write_access` - `run_as_root_group` - `run_as_root_user`
|
3302
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3303
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
3303
3304
|
# @option opts [Integer] :offset The offset from where to begin.
|
3304
|
-
# @option opts [String] :sort Field to sort results by
|
3305
3305
|
# @return [Array<(ModelsPodEntityResponse, Integer, Hash)>] ModelsPodEntityResponse data, response status code and response headers
|
3306
3306
|
def read_pod_combined_with_http_info(opts = {})
|
3307
3307
|
if @api_client.config.debugging
|
3308
|
-
@api_client.config.logger.debug 'Calling API:
|
3308
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pod_combined ...'
|
3309
3309
|
end
|
3310
3310
|
# resource path
|
3311
3311
|
local_var_path = '/container-security/combined/pods/v1'
|
@@ -3313,9 +3313,9 @@ module Falcon
|
|
3313
3313
|
# query parameters
|
3314
3314
|
query_params = opts[:query_params] || {}
|
3315
3315
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3316
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3316
3317
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3317
3318
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3318
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3319
3319
|
|
3320
3320
|
# header parameters
|
3321
3321
|
header_params = opts[:header_params] || {}
|
@@ -3335,7 +3335,7 @@ module Falcon
|
|
3335
3335
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3336
3336
|
|
3337
3337
|
new_options = opts.merge(
|
3338
|
-
:operation => :"
|
3338
|
+
:operation => :"KubernetesProtection.read_pod_combined",
|
3339
3339
|
:header_params => header_params,
|
3340
3340
|
:query_params => query_params,
|
3341
3341
|
:form_params => form_params,
|
@@ -3346,14 +3346,14 @@ module Falcon
|
|
3346
3346
|
|
3347
3347
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3348
3348
|
if @api_client.config.debugging
|
3349
|
-
@api_client.config.logger.debug "API called:
|
3349
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_pod_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3350
3350
|
end
|
3351
3351
|
return data, status_code, headers
|
3352
3352
|
end
|
3353
3353
|
|
3354
3354
|
# Retrieve pod counts
|
3355
3355
|
# @param [Hash] opts the optional parameters
|
3356
|
-
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported
|
3356
|
+
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `first_seen` - `ipv4` - `ipv6` - `kac_agent_id` - `labels` - `last_seen` - `namespace` - `node_name` - `node_uid` - `owner_id` - `owner_type` - `pod_external_id` - `pod_id` - `pod_name` - `port` - `privileged` - `resource_status` - `root_write_access` - `run_as_root_group` - `run_as_root_user`
|
3357
3357
|
# @return [CommonCountResponse]
|
3358
3358
|
def read_pod_count(opts = {})
|
3359
3359
|
data, _status_code, _headers = read_pod_count_with_http_info(opts)
|
@@ -3362,11 +3362,11 @@ module Falcon
|
|
3362
3362
|
|
3363
3363
|
# Retrieve pod counts
|
3364
3364
|
# @param [Hash] opts the optional parameters
|
3365
|
-
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported
|
3365
|
+
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `annotations_list` - `cid` - `cloud_account_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_count` - `first_seen` - `ipv4` - `ipv6` - `kac_agent_id` - `labels` - `last_seen` - `namespace` - `node_name` - `node_uid` - `owner_id` - `owner_type` - `pod_external_id` - `pod_id` - `pod_name` - `port` - `privileged` - `resource_status` - `root_write_access` - `run_as_root_group` - `run_as_root_user`
|
3366
3366
|
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
3367
3367
|
def read_pod_count_with_http_info(opts = {})
|
3368
3368
|
if @api_client.config.debugging
|
3369
|
-
@api_client.config.logger.debug 'Calling API:
|
3369
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pod_count ...'
|
3370
3370
|
end
|
3371
3371
|
# resource path
|
3372
3372
|
local_var_path = '/container-security/aggregates/pods/count/v1'
|
@@ -3393,7 +3393,7 @@ module Falcon
|
|
3393
3393
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3394
3394
|
|
3395
3395
|
new_options = opts.merge(
|
3396
|
-
:operation => :"
|
3396
|
+
:operation => :"KubernetesProtection.read_pod_count",
|
3397
3397
|
:header_params => header_params,
|
3398
3398
|
:query_params => query_params,
|
3399
3399
|
:form_params => form_params,
|
@@ -3404,7 +3404,7 @@ module Falcon
|
|
3404
3404
|
|
3405
3405
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3406
3406
|
if @api_client.config.debugging
|
3407
|
-
@api_client.config.logger.debug "API called:
|
3407
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_pod_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3408
3408
|
end
|
3409
3409
|
return data, status_code, headers
|
3410
3410
|
end
|
@@ -3412,7 +3412,7 @@ module Falcon
|
|
3412
3412
|
# Retrieve pod enrichment data
|
3413
3413
|
# @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
|
3414
3414
|
# @param [Hash] opts the optional parameters
|
3415
|
-
# @option opts [String] :filter Supported
|
3415
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
3416
3416
|
# @return [K8sassetsPodEnrichmentResponse]
|
3417
3417
|
def read_pod_enrichment(pod_id, opts = {})
|
3418
3418
|
data, _status_code, _headers = read_pod_enrichment_with_http_info(pod_id, opts)
|
@@ -3422,15 +3422,15 @@ module Falcon
|
|
3422
3422
|
# Retrieve pod enrichment data
|
3423
3423
|
# @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
|
3424
3424
|
# @param [Hash] opts the optional parameters
|
3425
|
-
# @option opts [String] :filter Supported
|
3425
|
+
# @option opts [String] :filter Supported filter fields: - `last_seen`
|
3426
3426
|
# @return [Array<(K8sassetsPodEnrichmentResponse, Integer, Hash)>] K8sassetsPodEnrichmentResponse data, response status code and response headers
|
3427
3427
|
def read_pod_enrichment_with_http_info(pod_id, opts = {})
|
3428
3428
|
if @api_client.config.debugging
|
3429
|
-
@api_client.config.logger.debug 'Calling API:
|
3429
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pod_enrichment ...'
|
3430
3430
|
end
|
3431
3431
|
# verify the required parameter 'pod_id' is set
|
3432
3432
|
if @api_client.config.client_side_validation && pod_id.nil?
|
3433
|
-
fail ArgumentError, "Missing the required parameter 'pod_id' when calling
|
3433
|
+
fail ArgumentError, "Missing the required parameter 'pod_id' when calling KubernetesProtection.read_pod_enrichment"
|
3434
3434
|
end
|
3435
3435
|
# resource path
|
3436
3436
|
local_var_path = '/container-security/aggregates/enrichment/pods/entities/v1'
|
@@ -3458,7 +3458,7 @@ module Falcon
|
|
3458
3458
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3459
3459
|
|
3460
3460
|
new_options = opts.merge(
|
3461
|
-
:operation => :"
|
3461
|
+
:operation => :"KubernetesProtection.read_pod_enrichment",
|
3462
3462
|
:header_params => header_params,
|
3463
3463
|
:query_params => query_params,
|
3464
3464
|
:form_params => form_params,
|
@@ -3469,7 +3469,7 @@ module Falcon
|
|
3469
3469
|
|
3470
3470
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3471
3471
|
if @api_client.config.debugging
|
3472
|
-
@api_client.config.logger.debug "API called:
|
3472
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_pod_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3473
3473
|
end
|
3474
3474
|
return data, status_code, headers
|
3475
3475
|
end
|
@@ -3487,7 +3487,7 @@ module Falcon
|
|
3487
3487
|
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3488
3488
|
def read_pods_by_date_range_count_with_http_info(opts = {})
|
3489
3489
|
if @api_client.config.debugging
|
3490
|
-
@api_client.config.logger.debug 'Calling API:
|
3490
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_pods_by_date_range_count ...'
|
3491
3491
|
end
|
3492
3492
|
# resource path
|
3493
3493
|
local_var_path = '/container-security/aggregates/pods/count-by-date/v1'
|
@@ -3513,7 +3513,7 @@ module Falcon
|
|
3513
3513
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3514
3514
|
|
3515
3515
|
new_options = opts.merge(
|
3516
|
-
:operation => :"
|
3516
|
+
:operation => :"KubernetesProtection.read_pods_by_date_range_count",
|
3517
3517
|
:header_params => header_params,
|
3518
3518
|
:query_params => query_params,
|
3519
3519
|
:form_params => form_params,
|
@@ -3524,33 +3524,33 @@ module Falcon
|
|
3524
3524
|
|
3525
3525
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3526
3526
|
if @api_client.config.debugging
|
3527
|
-
@api_client.config.logger.debug "API called:
|
3527
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_pods_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3528
3528
|
end
|
3529
3529
|
return data, status_code, headers
|
3530
3530
|
end
|
3531
3531
|
|
3532
|
-
#
|
3532
|
+
# Maximum offset = 10000 - limit
|
3533
3533
|
# @param [Hash] opts the optional parameters
|
3534
|
-
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported
|
3535
|
-
# @option opts [
|
3534
|
+
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `cluster_id` - `cluster_name` - `hosts` - `image_digest` - `image_has_been_assessed` - `image_id` - `image_name` - `image_registry` - `image_repository` - `image_tag` - `last_seen` - `running_status`
|
3535
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3536
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
3536
3537
|
# @option opts [Integer] :offset The offset from where to begin.
|
3537
|
-
# @option opts [String] :sort Field to sort results by
|
3538
3538
|
# @return [ModelsContainerImage]
|
3539
3539
|
def read_running_container_images(opts = {})
|
3540
3540
|
data, _status_code, _headers = read_running_container_images_with_http_info(opts)
|
3541
3541
|
data
|
3542
3542
|
end
|
3543
3543
|
|
3544
|
-
#
|
3544
|
+
# Maximum offset = 10000 - limit
|
3545
3545
|
# @param [Hash] opts the optional parameters
|
3546
|
-
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported
|
3547
|
-
# @option opts [
|
3546
|
+
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `cluster_id` - `cluster_name` - `hosts` - `image_digest` - `image_has_been_assessed` - `image_id` - `image_name` - `image_registry` - `image_repository` - `image_tag` - `last_seen` - `running_status`
|
3547
|
+
# @option opts [String] :sort The fields to sort the records on.
|
3548
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 200)
|
3548
3549
|
# @option opts [Integer] :offset The offset from where to begin.
|
3549
|
-
# @option opts [String] :sort Field to sort results by
|
3550
3550
|
# @return [Array<(ModelsContainerImage, Integer, Hash)>] ModelsContainerImage data, response status code and response headers
|
3551
3551
|
def read_running_container_images_with_http_info(opts = {})
|
3552
3552
|
if @api_client.config.debugging
|
3553
|
-
@api_client.config.logger.debug 'Calling API:
|
3553
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_running_container_images ...'
|
3554
3554
|
end
|
3555
3555
|
# resource path
|
3556
3556
|
local_var_path = '/container-security/combined/container-images/v1'
|
@@ -3558,9 +3558,9 @@ module Falcon
|
|
3558
3558
|
# query parameters
|
3559
3559
|
query_params = opts[:query_params] || {}
|
3560
3560
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3561
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3561
3562
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3562
3563
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3563
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3564
3564
|
|
3565
3565
|
# header parameters
|
3566
3566
|
header_params = opts[:header_params] || {}
|
@@ -3580,7 +3580,7 @@ module Falcon
|
|
3580
3580
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3581
3581
|
|
3582
3582
|
new_options = opts.merge(
|
3583
|
-
:operation => :"
|
3583
|
+
:operation => :"KubernetesProtection.read_running_container_images",
|
3584
3584
|
:header_params => header_params,
|
3585
3585
|
:query_params => query_params,
|
3586
3586
|
:form_params => form_params,
|
@@ -3591,14 +3591,14 @@ module Falcon
|
|
3591
3591
|
|
3592
3592
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3593
3593
|
if @api_client.config.debugging
|
3594
|
-
@api_client.config.logger.debug "API called:
|
3594
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_running_container_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3595
3595
|
end
|
3596
3596
|
return data, status_code, headers
|
3597
3597
|
end
|
3598
3598
|
|
3599
3599
|
# Retrieve count of vulnerable images running on containers
|
3600
3600
|
# @param [Hash] opts the optional parameters
|
3601
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported
|
3601
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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`
|
3602
3602
|
# @return [ModelsAPIFilterResponse]
|
3603
3603
|
def read_vulnerable_container_image_count(opts = {})
|
3604
3604
|
data, _status_code, _headers = read_vulnerable_container_image_count_with_http_info(opts)
|
@@ -3607,11 +3607,11 @@ module Falcon
|
|
3607
3607
|
|
3608
3608
|
# Retrieve count of vulnerable images running on containers
|
3609
3609
|
# @param [Hash] opts the optional parameters
|
3610
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported
|
3610
|
+
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filter fields: - `agent_id` - `agent_type` - `allow_privilege_escalation` - `cid` - `cloud_account_id` - `cloud_instance_id` - `cloud_name` - `cloud_region` - `cloud_service` - `cluster_id` - `cluster_name` - `container_id` - `container_image_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` - `kac_agent_id` - `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`
|
3611
3611
|
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
3612
3612
|
def read_vulnerable_container_image_count_with_http_info(opts = {})
|
3613
3613
|
if @api_client.config.debugging
|
3614
|
-
@api_client.config.logger.debug 'Calling API:
|
3614
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.read_vulnerable_container_image_count ...'
|
3615
3615
|
end
|
3616
3616
|
# resource path
|
3617
3617
|
local_var_path = '/container-security/aggregates/containers/count-vulnerable-images/v1'
|
@@ -3638,7 +3638,7 @@ module Falcon
|
|
3638
3638
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3639
3639
|
|
3640
3640
|
new_options = opts.merge(
|
3641
|
-
:operation => :"
|
3641
|
+
:operation => :"KubernetesProtection.read_vulnerable_container_image_count",
|
3642
3642
|
:header_params => header_params,
|
3643
3643
|
:query_params => query_params,
|
3644
3644
|
:form_params => form_params,
|
@@ -3649,7 +3649,7 @@ module Falcon
|
|
3649
3649
|
|
3650
3650
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3651
3651
|
if @api_client.config.debugging
|
3652
|
-
@api_client.config.logger.debug "API called:
|
3652
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#read_vulnerable_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3653
3653
|
end
|
3654
3654
|
return data, status_code, headers
|
3655
3655
|
end
|
@@ -3667,7 +3667,7 @@ module Falcon
|
|
3667
3667
|
# @return [Array<(K8sregRegenAPIKeyResp, Integer, Hash)>] K8sregRegenAPIKeyResp data, response status code and response headers
|
3668
3668
|
def regenerate_api_key_with_http_info(opts = {})
|
3669
3669
|
if @api_client.config.debugging
|
3670
|
-
@api_client.config.logger.debug 'Calling API:
|
3670
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.regenerate_api_key ...'
|
3671
3671
|
end
|
3672
3672
|
# resource path
|
3673
3673
|
local_var_path = '/kubernetes-protection/entities/integration/api-key/v1'
|
@@ -3693,7 +3693,7 @@ module Falcon
|
|
3693
3693
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3694
3694
|
|
3695
3695
|
new_options = opts.merge(
|
3696
|
-
:operation => :"
|
3696
|
+
:operation => :"KubernetesProtection.regenerate_api_key",
|
3697
3697
|
:header_params => header_params,
|
3698
3698
|
:query_params => query_params,
|
3699
3699
|
:form_params => form_params,
|
@@ -3704,33 +3704,33 @@ module Falcon
|
|
3704
3704
|
|
3705
3705
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3706
3706
|
if @api_client.config.debugging
|
3707
|
-
@api_client.config.logger.debug "API called:
|
3707
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#regenerate_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3708
3708
|
end
|
3709
3709
|
return data, status_code, headers
|
3710
3710
|
end
|
3711
3711
|
|
3712
|
-
#
|
3712
|
+
# Maximum offset = 10000 - limit
|
3713
3713
|
# @param [Hash] opts the optional parameters
|
3714
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported
|
3715
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3716
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3714
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `cis_id` - `cluster_id` - `cluster_name` - `containers_impacted_count` - `containers_impacted_ids` - `detection_type` - `name` - `namespace` - `prevented` - `resource_id` - `resource_name` - `resource_type` - `severity`
|
3717
3715
|
# @option opts [String] :sort The fields to sort the records on.
|
3716
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
|
3717
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3718
3718
|
# @return [K8siomsKubernetesIOMEntityResponse]
|
3719
3719
|
def search_and_read_kubernetes_iom_entities(opts = {})
|
3720
3720
|
data, _status_code, _headers = search_and_read_kubernetes_iom_entities_with_http_info(opts)
|
3721
3721
|
data
|
3722
3722
|
end
|
3723
3723
|
|
3724
|
-
#
|
3724
|
+
# Maximum offset = 10000 - limit
|
3725
3725
|
# @param [Hash] opts the optional parameters
|
3726
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported
|
3727
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3728
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3726
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `cis_id` - `cluster_id` - `cluster_name` - `containers_impacted_count` - `containers_impacted_ids` - `detection_type` - `name` - `namespace` - `prevented` - `resource_id` - `resource_name` - `resource_type` - `severity`
|
3729
3727
|
# @option opts [String] :sort The fields to sort the records on.
|
3728
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
|
3729
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3730
3730
|
# @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
|
3731
3731
|
def search_and_read_kubernetes_iom_entities_with_http_info(opts = {})
|
3732
3732
|
if @api_client.config.debugging
|
3733
|
-
@api_client.config.logger.debug 'Calling API:
|
3733
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.search_and_read_kubernetes_iom_entities ...'
|
3734
3734
|
end
|
3735
3735
|
# resource path
|
3736
3736
|
local_var_path = '/container-security/combined/kubernetes-ioms/v1'
|
@@ -3738,9 +3738,9 @@ module Falcon
|
|
3738
3738
|
# query parameters
|
3739
3739
|
query_params = opts[:query_params] || {}
|
3740
3740
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3741
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3741
3742
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3742
3743
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3743
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3744
3744
|
|
3745
3745
|
# header parameters
|
3746
3746
|
header_params = opts[:header_params] || {}
|
@@ -3760,7 +3760,7 @@ module Falcon
|
|
3760
3760
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3761
3761
|
|
3762
3762
|
new_options = opts.merge(
|
3763
|
-
:operation => :"
|
3763
|
+
:operation => :"KubernetesProtection.search_and_read_kubernetes_iom_entities",
|
3764
3764
|
:header_params => header_params,
|
3765
3765
|
:query_params => query_params,
|
3766
3766
|
:form_params => form_params,
|
@@ -3771,33 +3771,33 @@ module Falcon
|
|
3771
3771
|
|
3772
3772
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3773
3773
|
if @api_client.config.debugging
|
3774
|
-
@api_client.config.logger.debug "API called:
|
3774
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#search_and_read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3775
3775
|
end
|
3776
3776
|
return data, status_code, headers
|
3777
3777
|
end
|
3778
3778
|
|
3779
|
-
#
|
3779
|
+
# Maximum offset = 10000 - limit
|
3780
3780
|
# @param [Hash] opts the optional parameters
|
3781
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported
|
3782
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3783
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3781
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `cis_id` - `cluster_id` - `cluster_name` - `containers_impacted_count` - `containers_impacted_ids` - `detection_type` - `name` - `namespace` - `prevented` - `resource_id` - `resource_name` - `resource_type` - `severity`
|
3784
3782
|
# @option opts [String] :sort The fields to sort the records on.
|
3783
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
|
3784
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3785
3785
|
# @return [CommonGenericEntityResponseString]
|
3786
3786
|
def search_kubernetes_ioms(opts = {})
|
3787
3787
|
data, _status_code, _headers = search_kubernetes_ioms_with_http_info(opts)
|
3788
3788
|
data
|
3789
3789
|
end
|
3790
3790
|
|
3791
|
-
#
|
3791
|
+
# Maximum offset = 10000 - limit
|
3792
3792
|
# @param [Hash] opts the optional parameters
|
3793
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported
|
3794
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3795
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3793
|
+
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filter fields: - `cid` - `cis_id` - `cluster_id` - `cluster_name` - `containers_impacted_count` - `containers_impacted_ids` - `detection_type` - `name` - `namespace` - `prevented` - `resource_id` - `resource_name` - `resource_type` - `severity`
|
3796
3794
|
# @option opts [String] :sort The fields to sort the records on.
|
3795
|
+
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve. (default to 100)
|
3796
|
+
# @option opts [Integer] :offset The offset from where to begin.
|
3797
3797
|
# @return [Array<(CommonGenericEntityResponseString, Integer, Hash)>] CommonGenericEntityResponseString data, response status code and response headers
|
3798
3798
|
def search_kubernetes_ioms_with_http_info(opts = {})
|
3799
3799
|
if @api_client.config.debugging
|
3800
|
-
@api_client.config.logger.debug 'Calling API:
|
3800
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.search_kubernetes_ioms ...'
|
3801
3801
|
end
|
3802
3802
|
# resource path
|
3803
3803
|
local_var_path = '/container-security/queries/kubernetes-ioms/v1'
|
@@ -3805,9 +3805,9 @@ module Falcon
|
|
3805
3805
|
# query parameters
|
3806
3806
|
query_params = opts[:query_params] || {}
|
3807
3807
|
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3808
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3808
3809
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3809
3810
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3810
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3811
3811
|
|
3812
3812
|
# header parameters
|
3813
3813
|
header_params = opts[:header_params] || {}
|
@@ -3827,7 +3827,7 @@ module Falcon
|
|
3827
3827
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3828
3828
|
|
3829
3829
|
new_options = opts.merge(
|
3830
|
-
:operation => :"
|
3830
|
+
:operation => :"KubernetesProtection.search_kubernetes_ioms",
|
3831
3831
|
:header_params => header_params,
|
3832
3832
|
:query_params => query_params,
|
3833
3833
|
:form_params => form_params,
|
@@ -3838,7 +3838,7 @@ module Falcon
|
|
3838
3838
|
|
3839
3839
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3840
3840
|
if @api_client.config.debugging
|
3841
|
-
@api_client.config.logger.debug "API called:
|
3841
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#search_kubernetes_ioms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3842
3842
|
end
|
3843
3843
|
return data, status_code, headers
|
3844
3844
|
end
|
@@ -3858,11 +3858,11 @@ module Falcon
|
|
3858
3858
|
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
3859
3859
|
def trigger_scan_with_http_info(scan_type, opts = {})
|
3860
3860
|
if @api_client.config.debugging
|
3861
|
-
@api_client.config.logger.debug 'Calling API:
|
3861
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.trigger_scan ...'
|
3862
3862
|
end
|
3863
3863
|
# verify the required parameter 'scan_type' is set
|
3864
3864
|
if @api_client.config.client_side_validation && scan_type.nil?
|
3865
|
-
fail ArgumentError, "Missing the required parameter 'scan_type' when calling
|
3865
|
+
fail ArgumentError, "Missing the required parameter 'scan_type' when calling KubernetesProtection.trigger_scan"
|
3866
3866
|
end
|
3867
3867
|
# verify enum value
|
3868
3868
|
allowable_values = ["cluster-refresh", "dry-run", "full"]
|
@@ -3871,7 +3871,7 @@ module Falcon
|
|
3871
3871
|
end
|
3872
3872
|
pattern = Regexp.new(/^(dry-run|full|cluster-refresh)$/)
|
3873
3873
|
if @api_client.config.client_side_validation && scan_type !~ pattern
|
3874
|
-
fail ArgumentError, "invalid value for 'scan_type' when calling
|
3874
|
+
fail ArgumentError, "invalid value for 'scan_type' when calling KubernetesProtection.trigger_scan, must conform to the pattern #{pattern}."
|
3875
3875
|
end
|
3876
3876
|
|
3877
3877
|
# resource path
|
@@ -3899,7 +3899,7 @@ module Falcon
|
|
3899
3899
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3900
3900
|
|
3901
3901
|
new_options = opts.merge(
|
3902
|
-
:operation => :"
|
3902
|
+
:operation => :"KubernetesProtection.trigger_scan",
|
3903
3903
|
:header_params => header_params,
|
3904
3904
|
:query_params => query_params,
|
3905
3905
|
:form_params => form_params,
|
@@ -3910,7 +3910,7 @@ module Falcon
|
|
3910
3910
|
|
3911
3911
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3912
3912
|
if @api_client.config.debugging
|
3913
|
-
@api_client.config.logger.debug "API called:
|
3913
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#trigger_scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3914
3914
|
end
|
3915
3915
|
return data, status_code, headers
|
3916
3916
|
end
|
@@ -3932,15 +3932,15 @@ module Falcon
|
|
3932
3932
|
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
3933
3933
|
def update_aws_account_with_http_info(ids, opts = {})
|
3934
3934
|
if @api_client.config.debugging
|
3935
|
-
@api_client.config.logger.debug 'Calling API:
|
3935
|
+
@api_client.config.logger.debug 'Calling API: KubernetesProtection.update_aws_account ...'
|
3936
3936
|
end
|
3937
3937
|
# verify the required parameter 'ids' is set
|
3938
3938
|
if @api_client.config.client_side_validation && ids.nil?
|
3939
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling
|
3939
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesProtection.update_aws_account"
|
3940
3940
|
end
|
3941
3941
|
pattern = Regexp.new(/^[a-z\d-]+$/)
|
3942
3942
|
if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern
|
3943
|
-
fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling
|
3943
|
+
fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling KubernetesProtection.update_aws_account, must conform to the pattern #{pattern}."
|
3944
3944
|
end
|
3945
3945
|
|
3946
3946
|
# resource path
|
@@ -3969,7 +3969,7 @@ module Falcon
|
|
3969
3969
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3970
3970
|
|
3971
3971
|
new_options = opts.merge(
|
3972
|
-
:operation => :"
|
3972
|
+
:operation => :"KubernetesProtection.update_aws_account",
|
3973
3973
|
:header_params => header_params,
|
3974
3974
|
:query_params => query_params,
|
3975
3975
|
:form_params => form_params,
|
@@ -3980,7 +3980,7 @@ module Falcon
|
|
3980
3980
|
|
3981
3981
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
3982
3982
|
if @api_client.config.debugging
|
3983
|
-
@api_client.config.logger.debug "API called:
|
3983
|
+
@api_client.config.logger.debug "API called: KubernetesProtection#update_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3984
3984
|
end
|
3985
3985
|
return data, status_code, headers
|
3986
3986
|
end
|